]> 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
6923d0a9 1553#include <wx/display.h>
d55e5bfc
RD
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; }
6923d0a9
RD
1557
1558// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1559#if !wxUSE_DISPLAY
1560#include <wx/dynarray.h>
1561#include <wx/vidmode.h>
1562
1563WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
1564#include "wx/arrimpl.cpp"
1565WX_DEFINE_OBJARRAY(wxArrayVideoModes);
1566const wxVideoMode wxDefaultVideoMode;
1567
1568class wxDisplay
1569{
1570public:
1571 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
1572 ~wxDisplay() {}
1573
1574 static size_t GetCount()
1575 { wxPyRaiseNotImplemented(); return 0; }
1576
1577 static int GetFromPoint(const wxPoint& pt)
1578 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1579 static int GetFromWindow(wxWindow *window)
1580 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1581
1582 virtual bool IsOk() const { return false; }
1583 virtual wxRect GetGeometry() const { wxRect r; return r; }
1584 virtual wxString GetName() const { return wxEmptyString; }
1585 bool IsPrimary() const { return false; }
1586
1587 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
1588 { wxArrayVideoModes a; return a; }
1589
1590 virtual wxVideoMode GetCurrentMode() const
1591 { return wxDefaultVideoMode; }
1592
1593 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
1594 { return false; }
1595
1596 void ResetMode() {}
1597};
1598#endif
1599
d55e5bfc
RD
1600PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1601 PyObject* pyList = NULL;
1602 wxArrayVideoModes arr = self->GetModes(mode);
1603 bool blocked = wxPyBeginBlockThreads();
1604 pyList = PyList_New(0);
1605 for (int i=0; i < arr.GetCount(); i++) {
1606 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1607 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1608 PyList_Append(pyList, pyObj);
a07a67e6 1609 Py_DECREF(pyObj);
d55e5bfc
RD
1610 }
1611 wxPyEndBlockThreads(blocked);
1612 return pyList;
1613 }
1614#ifdef __cplusplus
1615extern "C" {
1616#endif
1617static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 int arg1 ;
1620 wxColour result;
1621 PyObject * obj0 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "index", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1627 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 {
0439c23b 1630 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1631 PyThreadState* __tstate = wxPyBeginAllowThreads();
1632 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1633
1634 wxPyEndAllowThreads(__tstate);
0439c23b 1635 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1636 }
1637 {
1638 wxColour * resultptr;
1639 resultptr = new wxColour((wxColour &) result);
1640 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1641 }
1642 return resultobj;
1643 fail:
1644 return NULL;
1645}
1646
1647
1648static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1649 PyObject *resultobj;
1650 int arg1 ;
1651 wxFont result;
1652 PyObject * obj0 = 0 ;
1653 char *kwnames[] = {
1654 (char *) "index", NULL
1655 };
1656
1657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1658 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 {
0439c23b 1661 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1662 PyThreadState* __tstate = wxPyBeginAllowThreads();
1663 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1664
1665 wxPyEndAllowThreads(__tstate);
0439c23b 1666 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1667 }
1668 {
1669 wxFont * resultptr;
1670 resultptr = new wxFont((wxFont &) result);
1671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1672 }
1673 return resultobj;
1674 fail:
1675 return NULL;
1676}
1677
1678
1679static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1680 PyObject *resultobj;
1681 int arg1 ;
1682 int result;
1683 PyObject * obj0 = 0 ;
1684 char *kwnames[] = {
1685 (char *) "index", NULL
1686 };
1687
1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1689 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1690 if (PyErr_Occurred()) SWIG_fail;
1691 {
0439c23b 1692 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1695
1696 wxPyEndAllowThreads(__tstate);
0439c23b 1697 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1698 }
1699 resultobj = SWIG_FromInt((int)result);
1700 return resultobj;
1701 fail:
1702 return NULL;
1703}
1704
1705
1706static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1707 PyObject *resultobj;
1708 int arg1 ;
1709 bool result;
1710 PyObject * obj0 = 0 ;
1711 char *kwnames[] = {
1712 (char *) "index", NULL
1713 };
1714
1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1716 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1717 if (PyErr_Occurred()) SWIG_fail;
1718 {
0439c23b 1719 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
1721 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1722
1723 wxPyEndAllowThreads(__tstate);
0439c23b 1724 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1725 }
1726 {
1727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1728 }
1729 return resultobj;
1730 fail:
1731 return NULL;
1732}
1733
1734
1735static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1736 PyObject *resultobj;
1737 int result;
1738 char *kwnames[] = {
1739 NULL
1740 };
1741
1742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1743 {
0439c23b 1744 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1745 PyThreadState* __tstate = wxPyBeginAllowThreads();
1746 result = (int)wxSystemSettings::GetScreenType();
1747
1748 wxPyEndAllowThreads(__tstate);
0439c23b 1749 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1750 }
1751 resultobj = SWIG_FromInt((int)result);
1752 return resultobj;
1753 fail:
1754 return NULL;
1755}
1756
1757
1758static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1759 PyObject *resultobj;
1760 int arg1 ;
1761 PyObject * obj0 = 0 ;
1762 char *kwnames[] = {
1763 (char *) "screen", NULL
1764 };
1765
1766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1767 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1768 if (PyErr_Occurred()) SWIG_fail;
1769 {
0439c23b 1770 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1771 PyThreadState* __tstate = wxPyBeginAllowThreads();
1772 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1773
1774 wxPyEndAllowThreads(__tstate);
0439c23b 1775 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1776 }
1777 Py_INCREF(Py_None); resultobj = Py_None;
1778 return resultobj;
1779 fail:
1780 return NULL;
1781}
1782
1783
1784static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1785 PyObject *obj;
1786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1787 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1788 Py_INCREF(obj);
1789 return Py_BuildValue((char *)"");
1790}
1791static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1792 PyObject *resultobj;
1793 wxSystemOptions *result;
1794 char *kwnames[] = {
1795 NULL
1796 };
1797
1798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 result = (wxSystemOptions *)new wxSystemOptions();
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
1806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1807 return resultobj;
1808 fail:
1809 return NULL;
1810}
1811
1812
1813static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxString *arg1 = 0 ;
1816 wxString *arg2 = 0 ;
1817 bool temp1 = False ;
1818 bool temp2 = False ;
1819 PyObject * obj0 = 0 ;
1820 PyObject * obj1 = 0 ;
1821 char *kwnames[] = {
1822 (char *) "name",(char *) "value", NULL
1823 };
1824
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1826 {
1827 arg1 = wxString_in_helper(obj0);
1828 if (arg1 == NULL) SWIG_fail;
1829 temp1 = True;
1830 }
1831 {
1832 arg2 = wxString_in_helper(obj1);
1833 if (arg2 == NULL) SWIG_fail;
1834 temp2 = True;
1835 }
1836 {
1837 PyThreadState* __tstate = wxPyBeginAllowThreads();
1838 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1839
1840 wxPyEndAllowThreads(__tstate);
1841 if (PyErr_Occurred()) SWIG_fail;
1842 }
1843 Py_INCREF(Py_None); resultobj = Py_None;
1844 {
1845 if (temp1)
1846 delete arg1;
1847 }
1848 {
1849 if (temp2)
1850 delete arg2;
1851 }
1852 return resultobj;
1853 fail:
1854 {
1855 if (temp1)
1856 delete arg1;
1857 }
1858 {
1859 if (temp2)
1860 delete arg2;
1861 }
1862 return NULL;
1863}
1864
1865
1866static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1867 PyObject *resultobj;
1868 wxString *arg1 = 0 ;
1869 int arg2 ;
1870 bool temp1 = False ;
1871 PyObject * obj0 = 0 ;
1872 PyObject * obj1 = 0 ;
1873 char *kwnames[] = {
1874 (char *) "name",(char *) "value", NULL
1875 };
1876
1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1878 {
1879 arg1 = wxString_in_helper(obj0);
1880 if (arg1 == NULL) SWIG_fail;
1881 temp1 = True;
1882 }
1883 arg2 = (int) SWIG_AsInt(obj1);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 {
1886 PyThreadState* __tstate = wxPyBeginAllowThreads();
1887 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1888
1889 wxPyEndAllowThreads(__tstate);
1890 if (PyErr_Occurred()) SWIG_fail;
1891 }
1892 Py_INCREF(Py_None); resultobj = Py_None;
1893 {
1894 if (temp1)
1895 delete arg1;
1896 }
1897 return resultobj;
1898 fail:
1899 {
1900 if (temp1)
1901 delete arg1;
1902 }
1903 return NULL;
1904}
1905
1906
1907static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1908 PyObject *resultobj;
1909 wxString *arg1 = 0 ;
1910 wxString result;
1911 bool temp1 = False ;
1912 PyObject * obj0 = 0 ;
1913 char *kwnames[] = {
1914 (char *) "name", NULL
1915 };
1916
1917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1918 {
1919 arg1 = wxString_in_helper(obj0);
1920 if (arg1 == NULL) SWIG_fail;
1921 temp1 = True;
1922 }
1923 {
1924 PyThreadState* __tstate = wxPyBeginAllowThreads();
1925 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1926
1927 wxPyEndAllowThreads(__tstate);
1928 if (PyErr_Occurred()) SWIG_fail;
1929 }
1930 {
1931#if wxUSE_UNICODE
1932 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1933#else
1934 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1935#endif
1936 }
1937 {
1938 if (temp1)
1939 delete arg1;
1940 }
1941 return resultobj;
1942 fail:
1943 {
1944 if (temp1)
1945 delete arg1;
1946 }
1947 return NULL;
1948}
1949
1950
1951static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1952 PyObject *resultobj;
1953 wxString *arg1 = 0 ;
1954 int result;
1955 bool temp1 = False ;
1956 PyObject * obj0 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "name", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1962 {
1963 arg1 = wxString_in_helper(obj0);
1964 if (arg1 == NULL) SWIG_fail;
1965 temp1 = True;
1966 }
1967 {
1968 PyThreadState* __tstate = wxPyBeginAllowThreads();
1969 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1970
1971 wxPyEndAllowThreads(__tstate);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 }
1974 resultobj = SWIG_FromInt((int)result);
1975 {
1976 if (temp1)
1977 delete arg1;
1978 }
1979 return resultobj;
1980 fail:
1981 {
1982 if (temp1)
1983 delete arg1;
1984 }
1985 return NULL;
1986}
1987
1988
1989static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 wxString *arg1 = 0 ;
1992 bool result;
1993 bool temp1 = False ;
1994 PyObject * obj0 = 0 ;
1995 char *kwnames[] = {
1996 (char *) "name", NULL
1997 };
1998
1999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
2000 {
2001 arg1 = wxString_in_helper(obj0);
2002 if (arg1 == NULL) SWIG_fail;
2003 temp1 = True;
2004 }
2005 {
2006 PyThreadState* __tstate = wxPyBeginAllowThreads();
2007 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
2008
2009 wxPyEndAllowThreads(__tstate);
2010 if (PyErr_Occurred()) SWIG_fail;
2011 }
2012 {
2013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2014 }
2015 {
2016 if (temp1)
2017 delete arg1;
2018 }
2019 return resultobj;
2020 fail:
2021 {
2022 if (temp1)
2023 delete arg1;
2024 }
2025 return NULL;
2026}
2027
2028
2029static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
2030 PyObject *obj;
2031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2032 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
2033 Py_INCREF(obj);
2034 return Py_BuildValue((char *)"");
2035}
2036static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
2037 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
2038 return 1;
2039}
2040
2041
2042static PyObject *_wrap_FileSelectorPromptStr_get() {
2043 PyObject *pyobj;
2044
2045 {
2046#if wxUSE_UNICODE
2047 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2048#else
2049 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2050#endif
2051 }
2052 return pyobj;
2053}
2054
2055
2056static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
2057 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
2058 return 1;
2059}
2060
2061
2062static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
2063 PyObject *pyobj;
2064
2065 {
2066#if wxUSE_UNICODE
2067 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2068#else
2069 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2070#endif
2071 }
2072 return pyobj;
2073}
2074
2075
2076static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
2077 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
2078 return 1;
2079}
2080
2081
2082static PyObject *_wrap_DirSelectorPromptStr_get() {
2083 PyObject *pyobj;
2084
2085 {
2086#if wxUSE_UNICODE
2087 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2088#else
2089 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2090#endif
2091 }
2092 return pyobj;
2093}
2094
2095
2096static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
2097 PyObject *resultobj;
2098 long result;
2099 char *kwnames[] = {
2100 NULL
2101 };
2102
2103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
2104 {
2105 PyThreadState* __tstate = wxPyBeginAllowThreads();
2106 result = (long)wxNewId();
2107
2108 wxPyEndAllowThreads(__tstate);
2109 if (PyErr_Occurred()) SWIG_fail;
2110 }
2111 resultobj = SWIG_FromLong((long)result);
2112 return resultobj;
2113 fail:
2114 return NULL;
2115}
2116
2117
2118static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
2119 PyObject *resultobj;
2120 long arg1 ;
2121 PyObject * obj0 = 0 ;
2122 char *kwnames[] = {
2123 (char *) "id", NULL
2124 };
2125
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
2127 arg1 = (long) SWIG_AsLong(obj0);
2128 if (PyErr_Occurred()) SWIG_fail;
2129 {
2130 PyThreadState* __tstate = wxPyBeginAllowThreads();
2131 wxRegisterId(arg1);
2132
2133 wxPyEndAllowThreads(__tstate);
2134 if (PyErr_Occurred()) SWIG_fail;
2135 }
2136 Py_INCREF(Py_None); resultobj = Py_None;
2137 return resultobj;
2138 fail:
2139 return NULL;
2140}
2141
2142
2143static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
2144 PyObject *resultobj;
2145 long result;
2146 char *kwnames[] = {
2147 NULL
2148 };
2149
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
2151 {
2152 PyThreadState* __tstate = wxPyBeginAllowThreads();
2153 result = (long)wxGetCurrentId();
2154
2155 wxPyEndAllowThreads(__tstate);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
2158 resultobj = SWIG_FromLong((long)result);
2159 return resultobj;
2160 fail:
2161 return NULL;
2162}
2163
2164
2165static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
2166 PyObject *resultobj;
2167 char *kwnames[] = {
2168 NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
2172 {
0439c23b 2173 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2174 PyThreadState* __tstate = wxPyBeginAllowThreads();
2175 wxBell();
2176
2177 wxPyEndAllowThreads(__tstate);
0439c23b 2178 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2179 }
2180 Py_INCREF(Py_None); resultobj = Py_None;
2181 return resultobj;
2182 fail:
2183 return NULL;
2184}
2185
2186
2187static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2188 PyObject *resultobj;
2189 char *kwnames[] = {
2190 NULL
2191 };
2192
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2194 {
0439c23b 2195 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 wxEndBusyCursor();
2198
2199 wxPyEndAllowThreads(__tstate);
0439c23b 2200 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2201 }
2202 Py_INCREF(Py_None); resultobj = Py_None;
2203 return resultobj;
2204 fail:
2205 return NULL;
2206}
2207
2208
2209static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 bool arg1 = (bool) True ;
2212 long result;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "resetTimer", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2219 if (obj0) {
2220 arg1 = (bool) SWIG_AsBool(obj0);
2221 if (PyErr_Occurred()) SWIG_fail;
2222 }
2223 {
2224 PyThreadState* __tstate = wxPyBeginAllowThreads();
2225 result = (long)wxGetElapsedTime(arg1);
2226
2227 wxPyEndAllowThreads(__tstate);
2228 if (PyErr_Occurred()) SWIG_fail;
2229 }
2230 resultobj = SWIG_FromLong((long)result);
2231 return resultobj;
2232 fail:
2233 return NULL;
2234}
2235
2236
2237static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2238 PyObject *resultobj;
2239 int *arg1 = (int *) 0 ;
2240 int *arg2 = (int *) 0 ;
2241 int temp1 ;
2242 int temp2 ;
2243 char *kwnames[] = {
2244 NULL
2245 };
2246
2247 arg1 = &temp1;
2248 arg2 = &temp2;
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2250 {
0439c23b 2251 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2252 PyThreadState* __tstate = wxPyBeginAllowThreads();
2253 wxGetMousePosition(arg1,arg2);
2254
2255 wxPyEndAllowThreads(__tstate);
0439c23b 2256 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2257 }
2258 Py_INCREF(Py_None); resultobj = Py_None;
2259 {
2260 PyObject *o = PyInt_FromLong((long) (*arg1));
2261 resultobj = t_output_helper(resultobj,o);
2262 }
2263 {
2264 PyObject *o = PyInt_FromLong((long) (*arg2));
2265 resultobj = t_output_helper(resultobj,o);
2266 }
2267 return resultobj;
2268 fail:
2269 return NULL;
2270}
2271
2272
2273static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
2274 PyObject *resultobj;
2275 bool result;
2276 char *kwnames[] = {
2277 NULL
2278 };
2279
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2281 {
2282 PyThreadState* __tstate = wxPyBeginAllowThreads();
2283 result = (bool)wxIsBusy();
2284
2285 wxPyEndAllowThreads(__tstate);
2286 if (PyErr_Occurred()) SWIG_fail;
2287 }
2288 {
2289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2290 }
2291 return resultobj;
2292 fail:
2293 return NULL;
2294}
2295
2296
2297static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
2298 PyObject *resultobj;
2299 wxString result;
2300 char *kwnames[] = {
2301 NULL
2302 };
2303
2304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 result = wxNow();
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 {
2313#if wxUSE_UNICODE
2314 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2315#else
2316 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2317#endif
2318 }
2319 return resultobj;
2320 fail:
2321 return NULL;
2322}
2323
2324
2325static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
2326 PyObject *resultobj;
2327 wxString const &arg1_defvalue = wxPyEmptyString ;
2328 wxString *arg1 = (wxString *) &arg1_defvalue ;
2329 bool result;
2330 bool temp1 = False ;
2331 PyObject * obj0 = 0 ;
2332 char *kwnames[] = {
2333 (char *) "command", NULL
2334 };
2335
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2337 if (obj0) {
2338 {
2339 arg1 = wxString_in_helper(obj0);
2340 if (arg1 == NULL) SWIG_fail;
2341 temp1 = True;
2342 }
2343 }
2344 {
2345 PyThreadState* __tstate = wxPyBeginAllowThreads();
2346 result = (bool)wxShell((wxString const &)*arg1);
2347
2348 wxPyEndAllowThreads(__tstate);
2349 if (PyErr_Occurred()) SWIG_fail;
2350 }
2351 {
2352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2353 }
2354 {
2355 if (temp1)
2356 delete arg1;
2357 }
2358 return resultobj;
2359 fail:
2360 {
2361 if (temp1)
2362 delete arg1;
2363 }
2364 return NULL;
2365}
2366
2367
2368static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2369 PyObject *resultobj;
2370 char *kwnames[] = {
2371 NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2375 {
2376 PyThreadState* __tstate = wxPyBeginAllowThreads();
2377 wxStartTimer();
2378
2379 wxPyEndAllowThreads(__tstate);
2380 if (PyErr_Occurred()) SWIG_fail;
2381 }
2382 Py_INCREF(Py_None); resultobj = Py_None;
2383 return resultobj;
2384 fail:
2385 return NULL;
2386}
2387
2388
2389static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2390 PyObject *resultobj;
2391 int *arg1 = (int *) 0 ;
2392 int *arg2 = (int *) 0 ;
2393 int result;
2394 int temp1 ;
2395 int temp2 ;
2396 char *kwnames[] = {
2397 NULL
2398 };
2399
2400 arg1 = &temp1;
2401 arg2 = &temp2;
2402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2403 {
2404 PyThreadState* __tstate = wxPyBeginAllowThreads();
2405 result = (int)wxGetOsVersion(arg1,arg2);
2406
2407 wxPyEndAllowThreads(__tstate);
2408 if (PyErr_Occurred()) SWIG_fail;
2409 }
2410 resultobj = SWIG_FromInt((int)result);
2411 {
2412 PyObject *o = PyInt_FromLong((long) (*arg1));
2413 resultobj = t_output_helper(resultobj,o);
2414 }
2415 {
2416 PyObject *o = PyInt_FromLong((long) (*arg2));
2417 resultobj = t_output_helper(resultobj,o);
2418 }
2419 return resultobj;
2420 fail:
2421 return NULL;
2422}
2423
2424
2425static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2426 PyObject *resultobj;
2427 wxString result;
2428 char *kwnames[] = {
2429 NULL
2430 };
2431
2432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2433 {
2434 PyThreadState* __tstate = wxPyBeginAllowThreads();
2435 result = wxGetOsDescription();
2436
2437 wxPyEndAllowThreads(__tstate);
2438 if (PyErr_Occurred()) SWIG_fail;
2439 }
2440 {
2441#if wxUSE_UNICODE
2442 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2443#else
2444 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2445#endif
2446 }
2447 return resultobj;
2448 fail:
2449 return NULL;
2450}
2451
2452
2453static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2454 PyObject *resultobj;
2455 long result;
2456 char *kwnames[] = {
2457 NULL
2458 };
2459
2460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2461 {
2462 PyThreadState* __tstate = wxPyBeginAllowThreads();
2463 result = (long)wxGetFreeMemory();
2464
2465 wxPyEndAllowThreads(__tstate);
2466 if (PyErr_Occurred()) SWIG_fail;
2467 }
2468 resultobj = SWIG_FromLong((long)result);
2469 return resultobj;
2470 fail:
2471 return NULL;
2472}
2473
2474
2475static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2476 PyObject *resultobj;
2477 int arg1 ;
2478 bool result;
2479 PyObject * obj0 = 0 ;
2480 char *kwnames[] = {
2481 (char *) "wFlags", NULL
2482 };
2483
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2485 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 {
0439c23b 2488 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2489 PyThreadState* __tstate = wxPyBeginAllowThreads();
2490 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2491
2492 wxPyEndAllowThreads(__tstate);
0439c23b 2493 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2494 }
2495 {
2496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2497 }
2498 return resultobj;
2499 fail:
2500 return NULL;
2501}
2502
2503
2504static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2505 PyObject *resultobj;
2506 int arg1 ;
2507 PyObject * obj0 = 0 ;
2508 char *kwnames[] = {
2509 (char *) "secs", NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2513 arg1 = (int) SWIG_AsInt(obj0);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 {
2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
2517 wxSleep(arg1);
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 Py_INCREF(Py_None); resultobj = Py_None;
2523 return resultobj;
2524 fail:
2525 return NULL;
2526}
2527
2528
2529static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2530 PyObject *resultobj;
2531 unsigned long arg1 ;
2532 PyObject * obj0 = 0 ;
2533 char *kwnames[] = {
2534 (char *) "milliseconds", NULL
2535 };
2536
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2538 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2539 if (PyErr_Occurred()) SWIG_fail;
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 wxUsleep(arg1);
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 Py_INCREF(Py_None); resultobj = Py_None;
2548 return resultobj;
2549 fail:
2550 return NULL;
2551}
2552
2553
2554static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject *resultobj;
2556 bool arg1 ;
2557 PyObject * obj0 = 0 ;
2558 char *kwnames[] = {
2559 (char *) "enable", NULL
2560 };
2561
2562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2563 arg1 = (bool) SWIG_AsBool(obj0);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 {
2566 PyThreadState* __tstate = wxPyBeginAllowThreads();
2567 wxEnableTopLevelWindows(arg1);
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 Py_INCREF(Py_None); resultobj = Py_None;
2573 return resultobj;
2574 fail:
2575 return NULL;
2576}
2577
2578
2579static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2580 PyObject *resultobj;
2581 wxString *arg1 = 0 ;
2582 wxString result;
2583 bool temp1 = False ;
2584 PyObject * obj0 = 0 ;
2585 char *kwnames[] = {
2586 (char *) "in", NULL
2587 };
2588
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2590 {
2591 arg1 = wxString_in_helper(obj0);
2592 if (arg1 == NULL) SWIG_fail;
2593 temp1 = True;
2594 }
2595 {
2596 PyThreadState* __tstate = wxPyBeginAllowThreads();
2597 result = wxStripMenuCodes((wxString const &)*arg1);
2598
2599 wxPyEndAllowThreads(__tstate);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 }
2602 {
2603#if wxUSE_UNICODE
2604 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2605#else
2606 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2607#endif
2608 }
2609 {
2610 if (temp1)
2611 delete arg1;
2612 }
2613 return resultobj;
2614 fail:
2615 {
2616 if (temp1)
2617 delete arg1;
2618 }
2619 return NULL;
2620}
2621
2622
2623static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2624 PyObject *resultobj;
2625 wxString result;
2626 char *kwnames[] = {
2627 NULL
2628 };
2629
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2631 {
2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
2633 result = wxGetEmailAddress();
2634
2635 wxPyEndAllowThreads(__tstate);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 }
2638 {
2639#if wxUSE_UNICODE
2640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2641#else
2642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2643#endif
2644 }
2645 return resultobj;
2646 fail:
2647 return NULL;
2648}
2649
2650
2651static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2652 PyObject *resultobj;
2653 wxString result;
2654 char *kwnames[] = {
2655 NULL
2656 };
2657
2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2659 {
2660 PyThreadState* __tstate = wxPyBeginAllowThreads();
2661 result = wxGetHostName();
2662
2663 wxPyEndAllowThreads(__tstate);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 }
2666 {
2667#if wxUSE_UNICODE
2668 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2669#else
2670 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2671#endif
2672 }
2673 return resultobj;
2674 fail:
2675 return NULL;
2676}
2677
2678
2679static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2680 PyObject *resultobj;
2681 wxString result;
2682 char *kwnames[] = {
2683 NULL
2684 };
2685
2686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2687 {
2688 PyThreadState* __tstate = wxPyBeginAllowThreads();
2689 result = wxGetFullHostName();
2690
2691 wxPyEndAllowThreads(__tstate);
2692 if (PyErr_Occurred()) SWIG_fail;
2693 }
2694 {
2695#if wxUSE_UNICODE
2696 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2697#else
2698 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2699#endif
2700 }
2701 return resultobj;
2702 fail:
2703 return NULL;
2704}
2705
2706
2707static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2708 PyObject *resultobj;
2709 wxString result;
2710 char *kwnames[] = {
2711 NULL
2712 };
2713
2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2715 {
2716 PyThreadState* __tstate = wxPyBeginAllowThreads();
2717 result = wxGetUserId();
2718
2719 wxPyEndAllowThreads(__tstate);
2720 if (PyErr_Occurred()) SWIG_fail;
2721 }
2722 {
2723#if wxUSE_UNICODE
2724 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2725#else
2726 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2727#endif
2728 }
2729 return resultobj;
2730 fail:
2731 return NULL;
2732}
2733
2734
2735static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject *resultobj;
2737 wxString result;
2738 char *kwnames[] = {
2739 NULL
2740 };
2741
2742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2743 {
2744 PyThreadState* __tstate = wxPyBeginAllowThreads();
2745 result = wxGetUserName();
2746
2747 wxPyEndAllowThreads(__tstate);
2748 if (PyErr_Occurred()) SWIG_fail;
2749 }
2750 {
2751#if wxUSE_UNICODE
2752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2753#else
2754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2755#endif
2756 }
2757 return resultobj;
2758 fail:
2759 return NULL;
2760}
2761
2762
2763static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2764 PyObject *resultobj;
2765 wxString result;
2766 char *kwnames[] = {
2767 NULL
2768 };
2769
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 result = wxGetHomeDir();
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 {
2779#if wxUSE_UNICODE
2780 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2781#else
2782 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2783#endif
2784 }
2785 return resultobj;
2786 fail:
2787 return NULL;
2788}
2789
2790
2791static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2792 PyObject *resultobj;
2793 wxString const &arg1_defvalue = wxPyEmptyString ;
2794 wxString *arg1 = (wxString *) &arg1_defvalue ;
2795 wxString result;
2796 bool temp1 = False ;
2797 PyObject * obj0 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "user", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2803 if (obj0) {
2804 {
2805 arg1 = wxString_in_helper(obj0);
2806 if (arg1 == NULL) SWIG_fail;
2807 temp1 = True;
2808 }
2809 }
2810 {
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 result = wxGetUserHome((wxString const &)*arg1);
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
2817 {
2818#if wxUSE_UNICODE
2819 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2820#else
2821 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2822#endif
2823 }
2824 {
2825 if (temp1)
2826 delete arg1;
2827 }
2828 return resultobj;
2829 fail:
2830 {
2831 if (temp1)
2832 delete arg1;
2833 }
2834 return NULL;
2835}
2836
2837
2838static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2839 PyObject *resultobj;
2840 unsigned long result;
2841 char *kwnames[] = {
2842 NULL
2843 };
2844
2845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2846 {
2847 PyThreadState* __tstate = wxPyBeginAllowThreads();
2848 result = (unsigned long)wxGetProcessId();
2849
2850 wxPyEndAllowThreads(__tstate);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
2854 return resultobj;
2855 fail:
2856 return NULL;
2857}
2858
2859
2860static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2861 PyObject *resultobj;
2862 char *kwnames[] = {
2863 NULL
2864 };
2865
2866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 wxTrap();
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 Py_INCREF(Py_None); resultobj = Py_None;
2875 return resultobj;
2876 fail:
2877 return NULL;
2878}
2879
2880
2881static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2882 PyObject *resultobj;
2883 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2884 wxString *arg1 = (wxString *) &arg1_defvalue ;
2885 wxString const &arg2_defvalue = wxPyEmptyString ;
2886 wxString *arg2 = (wxString *) &arg2_defvalue ;
2887 wxString const &arg3_defvalue = wxPyEmptyString ;
2888 wxString *arg3 = (wxString *) &arg3_defvalue ;
2889 wxString const &arg4_defvalue = wxPyEmptyString ;
2890 wxString *arg4 = (wxString *) &arg4_defvalue ;
2891 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2892 wxString *arg5 = (wxString *) &arg5_defvalue ;
2893 int arg6 = (int) 0 ;
2894 wxWindow *arg7 = (wxWindow *) NULL ;
2895 int arg8 = (int) -1 ;
2896 int arg9 = (int) -1 ;
2897 wxString result;
2898 bool temp1 = False ;
2899 bool temp2 = False ;
2900 bool temp3 = False ;
2901 bool temp4 = False ;
2902 bool temp5 = False ;
2903 PyObject * obj0 = 0 ;
2904 PyObject * obj1 = 0 ;
2905 PyObject * obj2 = 0 ;
2906 PyObject * obj3 = 0 ;
2907 PyObject * obj4 = 0 ;
2908 PyObject * obj5 = 0 ;
2909 PyObject * obj6 = 0 ;
2910 PyObject * obj7 = 0 ;
2911 PyObject * obj8 = 0 ;
2912 char *kwnames[] = {
2913 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2914 };
2915
2916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2917 if (obj0) {
2918 {
2919 arg1 = wxString_in_helper(obj0);
2920 if (arg1 == NULL) SWIG_fail;
2921 temp1 = True;
2922 }
2923 }
2924 if (obj1) {
2925 {
2926 arg2 = wxString_in_helper(obj1);
2927 if (arg2 == NULL) SWIG_fail;
2928 temp2 = True;
2929 }
2930 }
2931 if (obj2) {
2932 {
2933 arg3 = wxString_in_helper(obj2);
2934 if (arg3 == NULL) SWIG_fail;
2935 temp3 = True;
2936 }
2937 }
2938 if (obj3) {
2939 {
2940 arg4 = wxString_in_helper(obj3);
2941 if (arg4 == NULL) SWIG_fail;
2942 temp4 = True;
2943 }
2944 }
2945 if (obj4) {
2946 {
2947 arg5 = wxString_in_helper(obj4);
2948 if (arg5 == NULL) SWIG_fail;
2949 temp5 = True;
2950 }
2951 }
2952 if (obj5) {
2953 arg6 = (int) SWIG_AsInt(obj5);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 if (obj6) {
2957 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2959 }
2960 if (obj7) {
2961 arg8 = (int) SWIG_AsInt(obj7);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 if (obj8) {
2965 arg9 = (int) SWIG_AsInt(obj8);
2966 if (PyErr_Occurred()) SWIG_fail;
2967 }
2968 {
0439c23b 2969 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2970 PyThreadState* __tstate = wxPyBeginAllowThreads();
2971 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2972
2973 wxPyEndAllowThreads(__tstate);
0439c23b 2974 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2975 }
2976 {
2977#if wxUSE_UNICODE
2978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2979#else
2980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2981#endif
2982 }
2983 {
2984 if (temp1)
2985 delete arg1;
2986 }
2987 {
2988 if (temp2)
2989 delete arg2;
2990 }
2991 {
2992 if (temp3)
2993 delete arg3;
2994 }
2995 {
2996 if (temp4)
2997 delete arg4;
2998 }
2999 {
3000 if (temp5)
3001 delete arg5;
3002 }
3003 return resultobj;
3004 fail:
3005 {
3006 if (temp1)
3007 delete arg1;
3008 }
3009 {
3010 if (temp2)
3011 delete arg2;
3012 }
3013 {
3014 if (temp3)
3015 delete arg3;
3016 }
3017 {
3018 if (temp4)
3019 delete arg4;
3020 }
3021 {
3022 if (temp5)
3023 delete arg5;
3024 }
3025 return NULL;
3026}
3027
3028
3029static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3030 PyObject *resultobj;
3031 wxString *arg1 = 0 ;
3032 wxString *arg2 = 0 ;
3033 wxString const &arg3_defvalue = wxPyEmptyString ;
3034 wxString *arg3 = (wxString *) &arg3_defvalue ;
3035 wxWindow *arg4 = (wxWindow *) NULL ;
3036 wxString result;
3037 bool temp1 = False ;
3038 bool temp2 = False ;
3039 bool temp3 = False ;
3040 PyObject * obj0 = 0 ;
3041 PyObject * obj1 = 0 ;
3042 PyObject * obj2 = 0 ;
3043 PyObject * obj3 = 0 ;
3044 char *kwnames[] = {
3045 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3046 };
3047
3048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3049 {
3050 arg1 = wxString_in_helper(obj0);
3051 if (arg1 == NULL) SWIG_fail;
3052 temp1 = True;
3053 }
3054 {
3055 arg2 = wxString_in_helper(obj1);
3056 if (arg2 == NULL) SWIG_fail;
3057 temp2 = True;
3058 }
3059 if (obj2) {
3060 {
3061 arg3 = wxString_in_helper(obj2);
3062 if (arg3 == NULL) SWIG_fail;
3063 temp3 = True;
3064 }
3065 }
3066 if (obj3) {
3067 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3069 }
3070 {
0439c23b 3071 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3074
3075 wxPyEndAllowThreads(__tstate);
0439c23b 3076 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3077 }
3078 {
3079#if wxUSE_UNICODE
3080 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3081#else
3082 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3083#endif
3084 }
3085 {
3086 if (temp1)
3087 delete arg1;
3088 }
3089 {
3090 if (temp2)
3091 delete arg2;
3092 }
3093 {
3094 if (temp3)
3095 delete arg3;
3096 }
3097 return resultobj;
3098 fail:
3099 {
3100 if (temp1)
3101 delete arg1;
3102 }
3103 {
3104 if (temp2)
3105 delete arg2;
3106 }
3107 {
3108 if (temp3)
3109 delete arg3;
3110 }
3111 return NULL;
3112}
3113
3114
3115static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3116 PyObject *resultobj;
3117 wxString *arg1 = 0 ;
3118 wxString *arg2 = 0 ;
3119 wxString const &arg3_defvalue = wxPyEmptyString ;
3120 wxString *arg3 = (wxString *) &arg3_defvalue ;
3121 wxWindow *arg4 = (wxWindow *) NULL ;
3122 wxString result;
3123 bool temp1 = False ;
3124 bool temp2 = False ;
3125 bool temp3 = False ;
3126 PyObject * obj0 = 0 ;
3127 PyObject * obj1 = 0 ;
3128 PyObject * obj2 = 0 ;
3129 PyObject * obj3 = 0 ;
3130 char *kwnames[] = {
3131 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3132 };
3133
3134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3135 {
3136 arg1 = wxString_in_helper(obj0);
3137 if (arg1 == NULL) SWIG_fail;
3138 temp1 = True;
3139 }
3140 {
3141 arg2 = wxString_in_helper(obj1);
3142 if (arg2 == NULL) SWIG_fail;
3143 temp2 = True;
3144 }
3145 if (obj2) {
3146 {
3147 arg3 = wxString_in_helper(obj2);
3148 if (arg3 == NULL) SWIG_fail;
3149 temp3 = True;
3150 }
3151 }
3152 if (obj3) {
3153 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3155 }
3156 {
0439c23b 3157 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3160
3161 wxPyEndAllowThreads(__tstate);
0439c23b 3162 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3163 }
3164 {
3165#if wxUSE_UNICODE
3166 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3167#else
3168 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3169#endif
3170 }
3171 {
3172 if (temp1)
3173 delete arg1;
3174 }
3175 {
3176 if (temp2)
3177 delete arg2;
3178 }
3179 {
3180 if (temp3)
3181 delete arg3;
3182 }
3183 return resultobj;
3184 fail:
3185 {
3186 if (temp1)
3187 delete arg1;
3188 }
3189 {
3190 if (temp2)
3191 delete arg2;
3192 }
3193 {
3194 if (temp3)
3195 delete arg3;
3196 }
3197 return NULL;
3198}
3199
3200
3201static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3202 PyObject *resultobj;
3203 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3204 wxString *arg1 = (wxString *) &arg1_defvalue ;
3205 wxString const &arg2_defvalue = wxPyEmptyString ;
3206 wxString *arg2 = (wxString *) &arg2_defvalue ;
3207 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3208 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3209 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3210 wxWindow *arg5 = (wxWindow *) NULL ;
3211 wxString result;
3212 bool temp1 = False ;
3213 bool temp2 = False ;
3214 wxPoint temp4 ;
3215 PyObject * obj0 = 0 ;
3216 PyObject * obj1 = 0 ;
3217 PyObject * obj2 = 0 ;
3218 PyObject * obj3 = 0 ;
3219 PyObject * obj4 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3225 if (obj0) {
3226 {
3227 arg1 = wxString_in_helper(obj0);
3228 if (arg1 == NULL) SWIG_fail;
3229 temp1 = True;
3230 }
3231 }
3232 if (obj1) {
3233 {
3234 arg2 = wxString_in_helper(obj1);
3235 if (arg2 == NULL) SWIG_fail;
3236 temp2 = True;
3237 }
3238 }
3239 if (obj2) {
3240 arg3 = (long) SWIG_AsLong(obj2);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 if (obj3) {
3244 {
3245 arg4 = &temp4;
3246 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3247 }
3248 }
3249 if (obj4) {
3250 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3252 }
3253 {
0439c23b 3254 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3257
3258 wxPyEndAllowThreads(__tstate);
0439c23b 3259 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3260 }
3261 {
3262#if wxUSE_UNICODE
3263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3264#else
3265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3266#endif
3267 }
3268 {
3269 if (temp1)
3270 delete arg1;
3271 }
3272 {
3273 if (temp2)
3274 delete arg2;
3275 }
3276 return resultobj;
3277 fail:
3278 {
3279 if (temp1)
3280 delete arg1;
3281 }
3282 {
3283 if (temp2)
3284 delete arg2;
3285 }
3286 return NULL;
3287}
3288
3289
3290static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj;
3292 wxString *arg1 = 0 ;
3293 wxString const &arg2_defvalue = wxPyEmptyString ;
3294 wxString *arg2 = (wxString *) &arg2_defvalue ;
3295 wxString const &arg3_defvalue = wxPyEmptyString ;
3296 wxString *arg3 = (wxString *) &arg3_defvalue ;
3297 wxWindow *arg4 = (wxWindow *) NULL ;
3298 int arg5 = (int) -1 ;
3299 int arg6 = (int) -1 ;
3300 bool arg7 = (bool) True ;
3301 wxString result;
3302 bool temp1 = False ;
3303 bool temp2 = False ;
3304 bool temp3 = False ;
3305 PyObject * obj0 = 0 ;
3306 PyObject * obj1 = 0 ;
3307 PyObject * obj2 = 0 ;
3308 PyObject * obj3 = 0 ;
3309 PyObject * obj4 = 0 ;
3310 PyObject * obj5 = 0 ;
3311 PyObject * obj6 = 0 ;
3312 char *kwnames[] = {
3313 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3314 };
3315
3316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3317 {
3318 arg1 = wxString_in_helper(obj0);
3319 if (arg1 == NULL) SWIG_fail;
3320 temp1 = True;
3321 }
3322 if (obj1) {
3323 {
3324 arg2 = wxString_in_helper(obj1);
3325 if (arg2 == NULL) SWIG_fail;
3326 temp2 = True;
3327 }
3328 }
3329 if (obj2) {
3330 {
3331 arg3 = wxString_in_helper(obj2);
3332 if (arg3 == NULL) SWIG_fail;
3333 temp3 = True;
3334 }
3335 }
3336 if (obj3) {
3337 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3339 }
3340 if (obj4) {
3341 arg5 = (int) SWIG_AsInt(obj4);
3342 if (PyErr_Occurred()) SWIG_fail;
3343 }
3344 if (obj5) {
3345 arg6 = (int) SWIG_AsInt(obj5);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 if (obj6) {
3349 arg7 = (bool) SWIG_AsBool(obj6);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 {
0439c23b 3353 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3354 PyThreadState* __tstate = wxPyBeginAllowThreads();
3355 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3356
3357 wxPyEndAllowThreads(__tstate);
0439c23b 3358 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3359 }
3360 {
3361#if wxUSE_UNICODE
3362 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3363#else
3364 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3365#endif
3366 }
3367 {
3368 if (temp1)
3369 delete arg1;
3370 }
3371 {
3372 if (temp2)
3373 delete arg2;
3374 }
3375 {
3376 if (temp3)
3377 delete arg3;
3378 }
3379 return resultobj;
3380 fail:
3381 {
3382 if (temp1)
3383 delete arg1;
3384 }
3385 {
3386 if (temp2)
3387 delete arg2;
3388 }
3389 {
3390 if (temp3)
3391 delete arg3;
3392 }
3393 return NULL;
3394}
3395
3396
3397static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3398 PyObject *resultobj;
3399 wxString *arg1 = 0 ;
3400 wxString const &arg2_defvalue = wxPyEmptyString ;
3401 wxString *arg2 = (wxString *) &arg2_defvalue ;
3402 wxString const &arg3_defvalue = wxPyEmptyString ;
3403 wxString *arg3 = (wxString *) &arg3_defvalue ;
3404 wxWindow *arg4 = (wxWindow *) NULL ;
3405 wxString result;
3406 bool temp1 = False ;
3407 bool temp2 = False ;
3408 bool temp3 = False ;
3409 PyObject * obj0 = 0 ;
3410 PyObject * obj1 = 0 ;
3411 PyObject * obj2 = 0 ;
3412 PyObject * obj3 = 0 ;
3413 char *kwnames[] = {
3414 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3415 };
3416
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3418 {
3419 arg1 = wxString_in_helper(obj0);
3420 if (arg1 == NULL) SWIG_fail;
3421 temp1 = True;
3422 }
3423 if (obj1) {
3424 {
3425 arg2 = wxString_in_helper(obj1);
3426 if (arg2 == NULL) SWIG_fail;
3427 temp2 = True;
3428 }
3429 }
3430 if (obj2) {
3431 {
3432 arg3 = wxString_in_helper(obj2);
3433 if (arg3 == NULL) SWIG_fail;
3434 temp3 = True;
3435 }
3436 }
3437 if (obj3) {
3438 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3440 }
3441 {
0439c23b 3442 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3445
3446 wxPyEndAllowThreads(__tstate);
0439c23b 3447 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3448 }
3449 {
3450#if wxUSE_UNICODE
3451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3452#else
3453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3454#endif
3455 }
3456 {
3457 if (temp1)
3458 delete arg1;
3459 }
3460 {
3461 if (temp2)
3462 delete arg2;
3463 }
3464 {
3465 if (temp3)
3466 delete arg3;
3467 }
3468 return resultobj;
3469 fail:
3470 {
3471 if (temp1)
3472 delete arg1;
3473 }
3474 {
3475 if (temp2)
3476 delete arg2;
3477 }
3478 {
3479 if (temp3)
3480 delete arg3;
3481 }
3482 return NULL;
3483}
3484
3485
3486static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3487 PyObject *resultobj;
3488 wxString *arg1 = 0 ;
3489 wxString *arg2 = 0 ;
3490 int arg3 ;
3491 wxString *arg4 = (wxString *) 0 ;
3492 wxWindow *arg5 = (wxWindow *) NULL ;
3493 int arg6 = (int) -1 ;
3494 int arg7 = (int) -1 ;
3495 bool arg8 = (bool) True ;
3496 int arg9 = (int) 150 ;
3497 int arg10 = (int) 200 ;
3498 wxString result;
3499 bool temp1 = False ;
3500 bool temp2 = False ;
3501 PyObject * obj0 = 0 ;
3502 PyObject * obj1 = 0 ;
3503 PyObject * obj2 = 0 ;
3504 PyObject * obj3 = 0 ;
3505 PyObject * obj4 = 0 ;
3506 PyObject * obj5 = 0 ;
3507 PyObject * obj6 = 0 ;
3508 PyObject * obj7 = 0 ;
3509 PyObject * obj8 = 0 ;
3510 char *kwnames[] = {
3511 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3512 };
3513
3514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3515 {
3516 arg1 = wxString_in_helper(obj0);
3517 if (arg1 == NULL) SWIG_fail;
3518 temp1 = True;
3519 }
3520 {
3521 arg2 = wxString_in_helper(obj1);
3522 if (arg2 == NULL) SWIG_fail;
3523 temp2 = True;
3524 }
3525 {
3526 arg3 = PyList_Size(obj2);
3527 arg4 = wxString_LIST_helper(obj2);
3528 if (arg4 == NULL) SWIG_fail;
3529 }
3530 if (obj3) {
3531 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3533 }
3534 if (obj4) {
3535 arg6 = (int) SWIG_AsInt(obj4);
3536 if (PyErr_Occurred()) SWIG_fail;
3537 }
3538 if (obj5) {
3539 arg7 = (int) SWIG_AsInt(obj5);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 if (obj6) {
3543 arg8 = (bool) SWIG_AsBool(obj6);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 if (obj7) {
3547 arg9 = (int) SWIG_AsInt(obj7);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 if (obj8) {
3551 arg10 = (int) SWIG_AsInt(obj8);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 {
0439c23b 3555 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3558
3559 wxPyEndAllowThreads(__tstate);
0439c23b 3560 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3561 }
3562 {
3563#if wxUSE_UNICODE
3564 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3565#else
3566 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3567#endif
3568 }
3569 {
3570 if (temp1)
3571 delete arg1;
3572 }
3573 {
3574 if (temp2)
3575 delete arg2;
3576 }
3577 {
3578 if (arg4) delete [] arg4;
3579 }
3580 return resultobj;
3581 fail:
3582 {
3583 if (temp1)
3584 delete arg1;
3585 }
3586 {
3587 if (temp2)
3588 delete arg2;
3589 }
3590 {
3591 if (arg4) delete [] arg4;
3592 }
3593 return NULL;
3594}
3595
3596
3597static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj;
3599 wxString *arg1 = 0 ;
3600 wxString *arg2 = 0 ;
3601 int arg3 ;
3602 wxString *arg4 = (wxString *) 0 ;
3603 wxWindow *arg5 = (wxWindow *) NULL ;
3604 int arg6 = (int) -1 ;
3605 int arg7 = (int) -1 ;
3606 bool arg8 = (bool) True ;
3607 int arg9 = (int) 150 ;
3608 int arg10 = (int) 200 ;
3609 int result;
3610 bool temp1 = False ;
3611 bool temp2 = False ;
3612 PyObject * obj0 = 0 ;
3613 PyObject * obj1 = 0 ;
3614 PyObject * obj2 = 0 ;
3615 PyObject * obj3 = 0 ;
3616 PyObject * obj4 = 0 ;
3617 PyObject * obj5 = 0 ;
3618 PyObject * obj6 = 0 ;
3619 PyObject * obj7 = 0 ;
3620 PyObject * obj8 = 0 ;
3621 char *kwnames[] = {
3622 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3623 };
3624
3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3626 {
3627 arg1 = wxString_in_helper(obj0);
3628 if (arg1 == NULL) SWIG_fail;
3629 temp1 = True;
3630 }
3631 {
3632 arg2 = wxString_in_helper(obj1);
3633 if (arg2 == NULL) SWIG_fail;
3634 temp2 = True;
3635 }
3636 {
3637 arg3 = PyList_Size(obj2);
3638 arg4 = wxString_LIST_helper(obj2);
3639 if (arg4 == NULL) SWIG_fail;
3640 }
3641 if (obj3) {
3642 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3644 }
3645 if (obj4) {
3646 arg6 = (int) SWIG_AsInt(obj4);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 if (obj5) {
3650 arg7 = (int) SWIG_AsInt(obj5);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 if (obj6) {
3654 arg8 = (bool) SWIG_AsBool(obj6);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 }
3657 if (obj7) {
3658 arg9 = (int) SWIG_AsInt(obj7);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 }
3661 if (obj8) {
3662 arg10 = (int) SWIG_AsInt(obj8);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
3665 {
0439c23b 3666 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3667 PyThreadState* __tstate = wxPyBeginAllowThreads();
3668 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3669
3670 wxPyEndAllowThreads(__tstate);
0439c23b 3671 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3672 }
3673 resultobj = SWIG_FromInt((int)result);
3674 {
3675 if (temp1)
3676 delete arg1;
3677 }
3678 {
3679 if (temp2)
3680 delete arg2;
3681 }
3682 {
3683 if (arg4) delete [] arg4;
3684 }
3685 return resultobj;
3686 fail:
3687 {
3688 if (temp1)
3689 delete arg1;
3690 }
3691 {
3692 if (temp2)
3693 delete arg2;
3694 }
3695 {
3696 if (arg4) delete [] arg4;
3697 }
3698 return NULL;
3699}
3700
3701
3702static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3703 PyObject *resultobj;
3704 wxString *arg1 = 0 ;
3705 wxString const &arg2_defvalue = wxPyEmptyString ;
3706 wxString *arg2 = (wxString *) &arg2_defvalue ;
3707 int arg3 = (int) wxOK|wxCENTRE ;
3708 wxWindow *arg4 = (wxWindow *) NULL ;
3709 int arg5 = (int) -1 ;
3710 int arg6 = (int) -1 ;
3711 int result;
3712 bool temp1 = False ;
3713 bool temp2 = False ;
3714 PyObject * obj0 = 0 ;
3715 PyObject * obj1 = 0 ;
3716 PyObject * obj2 = 0 ;
3717 PyObject * obj3 = 0 ;
3718 PyObject * obj4 = 0 ;
3719 PyObject * obj5 = 0 ;
3720 char *kwnames[] = {
3721 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3722 };
3723
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3725 {
3726 arg1 = wxString_in_helper(obj0);
3727 if (arg1 == NULL) SWIG_fail;
3728 temp1 = True;
3729 }
3730 if (obj1) {
3731 {
3732 arg2 = wxString_in_helper(obj1);
3733 if (arg2 == NULL) SWIG_fail;
3734 temp2 = True;
3735 }
3736 }
3737 if (obj2) {
3738 arg3 = (int) SWIG_AsInt(obj2);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
3741 if (obj3) {
3742 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3744 }
3745 if (obj4) {
3746 arg5 = (int) SWIG_AsInt(obj4);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 }
3749 if (obj5) {
3750 arg6 = (int) SWIG_AsInt(obj5);
3751 if (PyErr_Occurred()) SWIG_fail;
3752 }
3753 {
0439c23b 3754 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
3756 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3757
3758 wxPyEndAllowThreads(__tstate);
0439c23b 3759 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3760 }
3761 resultobj = SWIG_FromInt((int)result);
3762 {
3763 if (temp1)
3764 delete arg1;
3765 }
3766 {
3767 if (temp2)
3768 delete arg2;
3769 }
3770 return resultobj;
3771 fail:
3772 {
3773 if (temp1)
3774 delete arg1;
3775 }
3776 {
3777 if (temp2)
3778 delete arg2;
3779 }
3780 return NULL;
3781}
3782
3783
3784static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3785 PyObject *resultobj;
3786 wxString *arg1 = 0 ;
3787 wxString *arg2 = 0 ;
3788 wxString *arg3 = 0 ;
3789 long arg4 ;
3790 long arg5 = (long) 0 ;
3791 long arg6 = (long) 100 ;
3792 wxWindow *arg7 = (wxWindow *) NULL ;
3793 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3794 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3795 long result;
3796 bool temp1 = False ;
3797 bool temp2 = False ;
3798 bool temp3 = False ;
3799 wxPoint temp8 ;
3800 PyObject * obj0 = 0 ;
3801 PyObject * obj1 = 0 ;
3802 PyObject * obj2 = 0 ;
3803 PyObject * obj3 = 0 ;
3804 PyObject * obj4 = 0 ;
3805 PyObject * obj5 = 0 ;
3806 PyObject * obj6 = 0 ;
3807 PyObject * obj7 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3813 {
3814 arg1 = wxString_in_helper(obj0);
3815 if (arg1 == NULL) SWIG_fail;
3816 temp1 = True;
3817 }
3818 {
3819 arg2 = wxString_in_helper(obj1);
3820 if (arg2 == NULL) SWIG_fail;
3821 temp2 = True;
3822 }
3823 {
3824 arg3 = wxString_in_helper(obj2);
3825 if (arg3 == NULL) SWIG_fail;
3826 temp3 = True;
3827 }
3828 arg4 = (long) SWIG_AsLong(obj3);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 if (obj4) {
3831 arg5 = (long) SWIG_AsLong(obj4);
3832 if (PyErr_Occurred()) SWIG_fail;
3833 }
3834 if (obj5) {
3835 arg6 = (long) SWIG_AsLong(obj5);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 }
3838 if (obj6) {
3839 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3841 }
3842 if (obj7) {
3843 {
3844 arg8 = &temp8;
3845 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3846 }
3847 }
3848 {
0439c23b 3849 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3852
3853 wxPyEndAllowThreads(__tstate);
0439c23b 3854 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3855 }
3856 resultobj = SWIG_FromLong((long)result);
3857 {
3858 if (temp1)
3859 delete arg1;
3860 }
3861 {
3862 if (temp2)
3863 delete arg2;
3864 }
3865 {
3866 if (temp3)
3867 delete arg3;
3868 }
3869 return resultobj;
3870 fail:
3871 {
3872 if (temp1)
3873 delete arg1;
3874 }
3875 {
3876 if (temp2)
3877 delete arg2;
3878 }
3879 {
3880 if (temp3)
3881 delete arg3;
3882 }
3883 return NULL;
3884}
3885
3886
3887static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3888 PyObject *resultobj;
3889 bool result;
3890 char *kwnames[] = {
3891 NULL
3892 };
3893
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3895 {
0439c23b 3896 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 result = (bool)wxColourDisplay();
3899
3900 wxPyEndAllowThreads(__tstate);
0439c23b 3901 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3902 }
3903 {
3904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3905 }
3906 return resultobj;
3907 fail:
3908 return NULL;
3909}
3910
3911
3912static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject *resultobj;
3914 int result;
3915 char *kwnames[] = {
3916 NULL
3917 };
3918
3919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3920 {
0439c23b 3921 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3922 PyThreadState* __tstate = wxPyBeginAllowThreads();
3923 result = (int)wxDisplayDepth();
3924
3925 wxPyEndAllowThreads(__tstate);
0439c23b 3926 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3927 }
3928 resultobj = SWIG_FromInt((int)result);
3929 return resultobj;
3930 fail:
3931 return NULL;
3932}
3933
3934
3935static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3936 PyObject *resultobj;
3937 int result;
3938 char *kwnames[] = {
3939 NULL
3940 };
3941
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3943 {
0439c23b 3944 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 result = (int)wxGetDisplayDepth();
3947
3948 wxPyEndAllowThreads(__tstate);
0439c23b 3949 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3950 }
3951 resultobj = SWIG_FromInt((int)result);
3952 return resultobj;
3953 fail:
3954 return NULL;
3955}
3956
3957
3958static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject *resultobj;
3960 int *arg1 = (int *) 0 ;
3961 int *arg2 = (int *) 0 ;
3962 int temp1 ;
3963 int temp2 ;
3964 char *kwnames[] = {
3965 NULL
3966 };
3967
3968 arg1 = &temp1;
3969 arg2 = &temp2;
3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3971 {
0439c23b 3972 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 wxDisplaySize(arg1,arg2);
3975
3976 wxPyEndAllowThreads(__tstate);
0439c23b 3977 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3978 }
3979 Py_INCREF(Py_None); resultobj = Py_None;
3980 {
3981 PyObject *o = PyInt_FromLong((long) (*arg1));
3982 resultobj = t_output_helper(resultobj,o);
3983 }
3984 {
3985 PyObject *o = PyInt_FromLong((long) (*arg2));
3986 resultobj = t_output_helper(resultobj,o);
3987 }
3988 return resultobj;
3989 fail:
3990 return NULL;
3991}
3992
3993
3994static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3995 PyObject *resultobj;
3996 wxSize result;
3997 char *kwnames[] = {
3998 NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
4002 {
0439c23b 4003 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4004 PyThreadState* __tstate = wxPyBeginAllowThreads();
4005 result = wxGetDisplaySize();
4006
4007 wxPyEndAllowThreads(__tstate);
0439c23b 4008 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4009 }
4010 {
4011 wxSize * resultptr;
4012 resultptr = new wxSize((wxSize &) result);
4013 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4014 }
4015 return resultobj;
4016 fail:
4017 return NULL;
4018}
4019
4020
4021static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 int *arg1 = (int *) 0 ;
4024 int *arg2 = (int *) 0 ;
4025 int temp1 ;
4026 int temp2 ;
4027 char *kwnames[] = {
4028 NULL
4029 };
4030
4031 arg1 = &temp1;
4032 arg2 = &temp2;
4033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
4034 {
0439c23b 4035 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4036 PyThreadState* __tstate = wxPyBeginAllowThreads();
4037 wxDisplaySizeMM(arg1,arg2);
4038
4039 wxPyEndAllowThreads(__tstate);
0439c23b 4040 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4041 }
4042 Py_INCREF(Py_None); resultobj = Py_None;
4043 {
4044 PyObject *o = PyInt_FromLong((long) (*arg1));
4045 resultobj = t_output_helper(resultobj,o);
4046 }
4047 {
4048 PyObject *o = PyInt_FromLong((long) (*arg2));
4049 resultobj = t_output_helper(resultobj,o);
4050 }
4051 return resultobj;
4052 fail:
4053 return NULL;
4054}
4055
4056
4057static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4058 PyObject *resultobj;
4059 wxSize result;
4060 char *kwnames[] = {
4061 NULL
4062 };
4063
4064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
4065 {
0439c23b 4066 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4067 PyThreadState* __tstate = wxPyBeginAllowThreads();
4068 result = wxGetDisplaySizeMM();
4069
4070 wxPyEndAllowThreads(__tstate);
0439c23b 4071 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4072 }
4073 {
4074 wxSize * resultptr;
4075 resultptr = new wxSize((wxSize &) result);
4076 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4077 }
4078 return resultobj;
4079 fail:
4080 return NULL;
4081}
4082
4083
4084static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4085 PyObject *resultobj;
4086 int *arg1 = (int *) 0 ;
4087 int *arg2 = (int *) 0 ;
4088 int *arg3 = (int *) 0 ;
4089 int *arg4 = (int *) 0 ;
4090 int temp1 ;
4091 int temp2 ;
4092 int temp3 ;
4093 int temp4 ;
4094 char *kwnames[] = {
4095 NULL
4096 };
4097
4098 arg1 = &temp1;
4099 arg2 = &temp2;
4100 arg3 = &temp3;
4101 arg4 = &temp4;
4102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
4103 {
0439c23b 4104 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 wxClientDisplayRect(arg1,arg2,arg3,arg4);
4107
4108 wxPyEndAllowThreads(__tstate);
0439c23b 4109 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4110 }
4111 Py_INCREF(Py_None); resultobj = Py_None;
4112 {
4113 PyObject *o = PyInt_FromLong((long) (*arg1));
4114 resultobj = t_output_helper(resultobj,o);
4115 }
4116 {
4117 PyObject *o = PyInt_FromLong((long) (*arg2));
4118 resultobj = t_output_helper(resultobj,o);
4119 }
4120 {
4121 PyObject *o = PyInt_FromLong((long) (*arg3));
4122 resultobj = t_output_helper(resultobj,o);
4123 }
4124 {
4125 PyObject *o = PyInt_FromLong((long) (*arg4));
4126 resultobj = t_output_helper(resultobj,o);
4127 }
4128 return resultobj;
4129 fail:
4130 return NULL;
4131}
4132
4133
4134static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj;
4136 wxRect result;
4137 char *kwnames[] = {
4138 NULL
4139 };
4140
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
4142 {
0439c23b 4143 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = wxGetClientDisplayRect();
4146
4147 wxPyEndAllowThreads(__tstate);
0439c23b 4148 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4149 }
4150 {
4151 wxRect * resultptr;
4152 resultptr = new wxRect((wxRect &) result);
4153 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4154 }
4155 return resultobj;
4156 fail:
4157 return NULL;
4158}
4159
4160
4161static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj;
4163 wxCursor *arg1 = 0 ;
4164 PyObject * obj0 = 0 ;
4165 char *kwnames[] = {
4166 (char *) "cursor", NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
4170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4171 SWIG_POINTER_EXCEPTION | 0)) == -1)
4172 SWIG_fail;
4173 if (arg1 == NULL) {
4174 PyErr_SetString(PyExc_TypeError,"null reference");
4175 SWIG_fail;
4176 }
4177 {
0439c23b 4178 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 wxSetCursor(*arg1);
4181
4182 wxPyEndAllowThreads(__tstate);
0439c23b 4183 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4184 }
4185 Py_INCREF(Py_None); resultobj = Py_None;
4186 return resultobj;
4187 fail:
4188 return NULL;
4189}
4190
4191
4192static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4193 PyObject *resultobj;
4194 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4195 PyObject * obj0 = 0 ;
4196 char *kwnames[] = {
4197 (char *) "cursor", NULL
4198 };
4199
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4201 if (obj0) {
4202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4204 }
4205 {
0439c23b 4206 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
4208 wxBeginBusyCursor(arg1);
4209
4210 wxPyEndAllowThreads(__tstate);
0439c23b 4211 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4212 }
4213 Py_INCREF(Py_None); resultobj = Py_None;
4214 return resultobj;
4215 fail:
4216 return NULL;
4217}
4218
4219
4220static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4221 PyObject *resultobj;
4222 wxWindow *result;
4223 char *kwnames[] = {
4224 NULL
4225 };
4226
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4228 {
0439c23b 4229 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4230 PyThreadState* __tstate = wxPyBeginAllowThreads();
4231 result = (wxWindow *)wxGetActiveWindow();
4232
4233 wxPyEndAllowThreads(__tstate);
0439c23b 4234 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4235 }
4236 {
4237 resultobj = wxPyMake_wxObject(result);
4238 }
4239 return resultobj;
4240 fail:
4241 return NULL;
4242}
4243
4244
4245static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj;
4247 wxPoint *arg1 = 0 ;
4248 wxWindow *result;
4249 wxPoint temp1 ;
4250 PyObject * obj0 = 0 ;
4251 char *kwnames[] = {
4252 (char *) "pt", NULL
4253 };
4254
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4256 {
4257 arg1 = &temp1;
4258 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4259 }
4260 {
0439c23b 4261 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4264
4265 wxPyEndAllowThreads(__tstate);
0439c23b 4266 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4267 }
4268 {
4269 resultobj = wxPyMake_wxObject(result);
4270 }
4271 return resultobj;
4272 fail:
4273 return NULL;
4274}
4275
4276
4277static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxPoint *arg1 = 0 ;
4280 wxWindow *result;
4281 wxPoint temp1 ;
4282 PyObject * obj0 = 0 ;
4283 char *kwnames[] = {
4284 (char *) "pt", NULL
4285 };
4286
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4288 {
4289 arg1 = &temp1;
4290 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4291 }
4292 {
0439c23b 4293 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4296
4297 wxPyEndAllowThreads(__tstate);
0439c23b 4298 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4299 }
4300 {
4301 resultobj = wxPyMake_wxObject(result);
4302 }
4303 return resultobj;
4304 fail:
4305 return NULL;
4306}
4307
4308
4309static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4310 PyObject *resultobj;
4311 wxWindow *arg1 = (wxWindow *) 0 ;
4312 wxWindow *result;
4313 PyObject * obj0 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "win", NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4321 {
0439c23b 4322 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 result = (wxWindow *)wxGetTopLevelParent(arg1);
4325
4326 wxPyEndAllowThreads(__tstate);
0439c23b 4327 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4328 }
4329 {
4330 resultobj = wxPyMake_wxObject(result);
4331 }
4332 return resultobj;
4333 fail:
4334 return NULL;
4335}
4336
4337
4338static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
4339 PyObject *resultobj;
4340 int arg1 ;
4341 bool result;
4342 PyObject * obj0 = 0 ;
4343 char *kwnames[] = {
4344 (char *) "key", NULL
4345 };
4346
4347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4348 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 {
0439c23b 4351 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4354
4355 wxPyEndAllowThreads(__tstate);
0439c23b 4356 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4357 }
4358 {
4359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4360 }
4361 return resultobj;
4362 fail:
4363 return NULL;
4364}
4365
4366
4367static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4368 PyObject *resultobj;
4369 char *kwnames[] = {
4370 NULL
4371 };
4372
4373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4374 {
0439c23b 4375 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 wxWakeUpMainThread();
4378
4379 wxPyEndAllowThreads(__tstate);
0439c23b 4380 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4381 }
4382 Py_INCREF(Py_None); resultobj = Py_None;
4383 return resultobj;
4384 fail:
4385 return NULL;
4386}
4387
4388
4389static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject *resultobj;
4391 char *kwnames[] = {
4392 NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4396 {
0439c23b 4397 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 wxMutexGuiEnter();
4400
4401 wxPyEndAllowThreads(__tstate);
0439c23b 4402 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4403 }
4404 Py_INCREF(Py_None); resultobj = Py_None;
4405 return resultobj;
4406 fail:
4407 return NULL;
4408}
4409
4410
4411static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4412 PyObject *resultobj;
4413 char *kwnames[] = {
4414 NULL
4415 };
4416
4417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4418 {
0439c23b 4419 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 wxMutexGuiLeave();
4422
4423 wxPyEndAllowThreads(__tstate);
0439c23b 4424 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4425 }
4426 Py_INCREF(Py_None); resultobj = Py_None;
4427 return resultobj;
4428 fail:
4429 return NULL;
4430}
4431
4432
4433static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj;
4435 wxMutexGuiLocker *result;
4436 char *kwnames[] = {
4437 NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4441 {
0439c23b 4442 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4443 PyThreadState* __tstate = wxPyBeginAllowThreads();
4444 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4445
4446 wxPyEndAllowThreads(__tstate);
0439c23b 4447 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4448 }
4449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4450 return resultobj;
4451 fail:
4452 return NULL;
4453}
4454
4455
4456static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4457 PyObject *resultobj;
4458 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4459 PyObject * obj0 = 0 ;
4460 char *kwnames[] = {
4461 (char *) "self", NULL
4462 };
4463
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 delete arg1;
4470
4471 wxPyEndAllowThreads(__tstate);
4472 if (PyErr_Occurred()) SWIG_fail;
4473 }
4474 Py_INCREF(Py_None); resultobj = Py_None;
4475 return resultobj;
4476 fail:
4477 return NULL;
4478}
4479
4480
4481static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4482 PyObject *obj;
4483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4484 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4485 Py_INCREF(obj);
4486 return Py_BuildValue((char *)"");
4487}
4488static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 bool result;
4491 char *kwnames[] = {
4492 NULL
4493 };
4494
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4496 {
4497 PyThreadState* __tstate = wxPyBeginAllowThreads();
4498 result = (bool)wxThread_IsMain();
4499
4500 wxPyEndAllowThreads(__tstate);
4501 if (PyErr_Occurred()) SWIG_fail;
4502 }
4503 {
4504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4505 }
4506 return resultobj;
4507 fail:
4508 return NULL;
4509}
4510
4511
4512static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4513 PyObject *resultobj;
4514 wxString *arg1 = 0 ;
4515 wxToolTip *result;
4516 bool temp1 = False ;
4517 PyObject * obj0 = 0 ;
4518 char *kwnames[] = {
4519 (char *) "tip", NULL
4520 };
4521
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4523 {
4524 arg1 = wxString_in_helper(obj0);
4525 if (arg1 == NULL) SWIG_fail;
4526 temp1 = True;
4527 }
4528 {
0439c23b 4529 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4532
4533 wxPyEndAllowThreads(__tstate);
0439c23b 4534 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4535 }
4536 {
4537 resultobj = wxPyMake_wxObject(result);
4538 }
4539 {
4540 if (temp1)
4541 delete arg1;
4542 }
4543 return resultobj;
4544 fail:
4545 {
4546 if (temp1)
4547 delete arg1;
4548 }
4549 return NULL;
4550}
4551
4552
4553static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj;
4555 wxToolTip *arg1 = (wxToolTip *) 0 ;
4556 wxString *arg2 = 0 ;
4557 bool temp2 = False ;
4558 PyObject * obj0 = 0 ;
4559 PyObject * obj1 = 0 ;
4560 char *kwnames[] = {
4561 (char *) "self",(char *) "tip", NULL
4562 };
4563
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4567 {
4568 arg2 = wxString_in_helper(obj1);
4569 if (arg2 == NULL) SWIG_fail;
4570 temp2 = True;
4571 }
4572 {
4573 PyThreadState* __tstate = wxPyBeginAllowThreads();
4574 (arg1)->SetTip((wxString const &)*arg2);
4575
4576 wxPyEndAllowThreads(__tstate);
4577 if (PyErr_Occurred()) SWIG_fail;
4578 }
4579 Py_INCREF(Py_None); resultobj = Py_None;
4580 {
4581 if (temp2)
4582 delete arg2;
4583 }
4584 return resultobj;
4585 fail:
4586 {
4587 if (temp2)
4588 delete arg2;
4589 }
4590 return NULL;
4591}
4592
4593
4594static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4595 PyObject *resultobj;
4596 wxToolTip *arg1 = (wxToolTip *) 0 ;
4597 wxString result;
4598 PyObject * obj0 = 0 ;
4599 char *kwnames[] = {
4600 (char *) "self", NULL
4601 };
4602
4603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 result = (arg1)->GetTip();
4609
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 {
4614#if wxUSE_UNICODE
4615 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4616#else
4617 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4618#endif
4619 }
4620 return resultobj;
4621 fail:
4622 return NULL;
4623}
4624
4625
4626static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4627 PyObject *resultobj;
4628 wxToolTip *arg1 = (wxToolTip *) 0 ;
4629 wxWindow *result;
4630 PyObject * obj0 = 0 ;
4631 char *kwnames[] = {
4632 (char *) "self", NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4638 {
4639 PyThreadState* __tstate = wxPyBeginAllowThreads();
4640 result = (wxWindow *)(arg1)->GetWindow();
4641
4642 wxPyEndAllowThreads(__tstate);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 {
4646 resultobj = wxPyMake_wxObject(result);
4647 }
4648 return resultobj;
4649 fail:
4650 return NULL;
4651}
4652
4653
4654static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4655 PyObject *resultobj;
4656 bool arg1 ;
4657 PyObject * obj0 = 0 ;
4658 char *kwnames[] = {
4659 (char *) "flag", NULL
4660 };
4661
4662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4663 arg1 = (bool) SWIG_AsBool(obj0);
4664 if (PyErr_Occurred()) SWIG_fail;
4665 {
4666 PyThreadState* __tstate = wxPyBeginAllowThreads();
4667 wxToolTip::Enable(arg1);
4668
4669 wxPyEndAllowThreads(__tstate);
4670 if (PyErr_Occurred()) SWIG_fail;
4671 }
4672 Py_INCREF(Py_None); resultobj = Py_None;
4673 return resultobj;
4674 fail:
4675 return NULL;
4676}
4677
4678
4679static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4680 PyObject *resultobj;
4681 long arg1 ;
4682 PyObject * obj0 = 0 ;
4683 char *kwnames[] = {
4684 (char *) "milliseconds", NULL
4685 };
4686
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4688 arg1 = (long) SWIG_AsLong(obj0);
4689 if (PyErr_Occurred()) SWIG_fail;
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 wxToolTip::SetDelay(arg1);
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 Py_INCREF(Py_None); resultobj = Py_None;
4698 return resultobj;
4699 fail:
4700 return NULL;
4701}
4702
4703
4704static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4705 PyObject *obj;
4706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4707 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4708 Py_INCREF(obj);
4709 return Py_BuildValue((char *)"");
4710}
4711static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4712 PyObject *resultobj;
4713 wxWindow *arg1 = (wxWindow *) 0 ;
4714 wxSize *arg2 = 0 ;
4715 wxCaret *result;
4716 wxSize temp2 ;
4717 PyObject * obj0 = 0 ;
4718 PyObject * obj1 = 0 ;
4719 char *kwnames[] = {
4720 (char *) "window",(char *) "size", NULL
4721 };
4722
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4726 {
4727 arg2 = &temp2;
4728 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4729 }
4730 {
0439c23b 4731 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4734
4735 wxPyEndAllowThreads(__tstate);
0439c23b 4736 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4737 }
4738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
4739 return resultobj;
4740 fail:
4741 return NULL;
4742}
4743
4744
4745static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj;
4747 wxCaret *arg1 = (wxCaret *) 0 ;
4748 PyObject * obj0 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 delete arg1;
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 Py_INCREF(Py_None); resultobj = Py_None;
4764 return resultobj;
4765 fail:
4766 return NULL;
4767}
4768
4769
4770static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxCaret *arg1 = (wxCaret *) 0 ;
4773 bool result;
4774 PyObject * obj0 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = (bool)(arg1)->IsOk();
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 {
4790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4791 }
4792 return resultobj;
4793 fail:
4794 return NULL;
4795}
4796
4797
4798static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4799 PyObject *resultobj;
4800 wxCaret *arg1 = (wxCaret *) 0 ;
4801 bool result;
4802 PyObject * obj0 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 result = (bool)(arg1)->IsVisible();
4813
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 {
4818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4819 }
4820 return resultobj;
4821 fail:
4822 return NULL;
4823}
4824
4825
4826static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4827 PyObject *resultobj;
4828 wxCaret *arg1 = (wxCaret *) 0 ;
4829 wxPoint result;
4830 PyObject * obj0 = 0 ;
4831 char *kwnames[] = {
4832 (char *) "self", NULL
4833 };
4834
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 result = (arg1)->GetPosition();
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 {
4846 wxPoint * resultptr;
4847 resultptr = new wxPoint((wxPoint &) result);
4848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4849 }
4850 return resultobj;
4851 fail:
4852 return NULL;
4853}
4854
4855
4856static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4857 PyObject *resultobj;
4858 wxCaret *arg1 = (wxCaret *) 0 ;
4859 int *arg2 = (int *) 0 ;
4860 int *arg3 = (int *) 0 ;
4861 int temp2 ;
4862 int temp3 ;
4863 PyObject * obj0 = 0 ;
4864 char *kwnames[] = {
4865 (char *) "self", NULL
4866 };
4867
4868 arg2 = &temp2;
4869 arg3 = &temp3;
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 (arg1)->GetPosition(arg2,arg3);
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 Py_INCREF(Py_None); resultobj = Py_None;
4881 {
4882 PyObject *o = PyInt_FromLong((long) (*arg2));
4883 resultobj = t_output_helper(resultobj,o);
4884 }
4885 {
4886 PyObject *o = PyInt_FromLong((long) (*arg3));
4887 resultobj = t_output_helper(resultobj,o);
4888 }
4889 return resultobj;
4890 fail:
4891 return NULL;
4892}
4893
4894
4895static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 wxCaret *arg1 = (wxCaret *) 0 ;
4898 wxSize result;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 result = (arg1)->GetSize();
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 {
4915 wxSize * resultptr;
4916 resultptr = new wxSize((wxSize &) result);
4917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4918 }
4919 return resultobj;
4920 fail:
4921 return NULL;
4922}
4923
4924
4925static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4926 PyObject *resultobj;
4927 wxCaret *arg1 = (wxCaret *) 0 ;
4928 int *arg2 = (int *) 0 ;
4929 int *arg3 = (int *) 0 ;
4930 int temp2 ;
4931 int temp3 ;
4932 PyObject * obj0 = 0 ;
4933 char *kwnames[] = {
4934 (char *) "self", NULL
4935 };
4936
4937 arg2 = &temp2;
4938 arg3 = &temp3;
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 (arg1)->GetSize(arg2,arg3);
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 Py_INCREF(Py_None); resultobj = Py_None;
4950 {
4951 PyObject *o = PyInt_FromLong((long) (*arg2));
4952 resultobj = t_output_helper(resultobj,o);
4953 }
4954 {
4955 PyObject *o = PyInt_FromLong((long) (*arg3));
4956 resultobj = t_output_helper(resultobj,o);
4957 }
4958 return resultobj;
4959 fail:
4960 return NULL;
4961}
4962
4963
4964static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj;
4966 wxCaret *arg1 = (wxCaret *) 0 ;
4967 wxWindow *result;
4968 PyObject * obj0 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 result = (wxWindow *)(arg1)->GetWindow();
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 {
4984 resultobj = wxPyMake_wxObject(result);
4985 }
4986 return resultobj;
4987 fail:
4988 return NULL;
4989}
4990
4991
4992static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4993 PyObject *resultobj;
4994 wxCaret *arg1 = (wxCaret *) 0 ;
4995 int arg2 ;
4996 int arg3 ;
4997 PyObject * obj0 = 0 ;
4998 PyObject * obj1 = 0 ;
4999 PyObject * obj2 = 0 ;
5000 char *kwnames[] = {
5001 (char *) "self",(char *) "x",(char *) "y", NULL
5002 };
5003
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
5005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5007 arg2 = (int) SWIG_AsInt(obj1);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 arg3 = (int) SWIG_AsInt(obj2);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 (arg1)->Move(arg2,arg3);
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 Py_INCREF(Py_None); resultobj = Py_None;
5019 return resultobj;
5020 fail:
5021 return NULL;
5022}
5023
5024
5025static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxCaret *arg1 = (wxCaret *) 0 ;
5028 wxPoint *arg2 = 0 ;
5029 wxPoint temp2 ;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 char *kwnames[] = {
5033 (char *) "self",(char *) "pt", NULL
5034 };
5035
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
5037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5039 {
5040 arg2 = &temp2;
5041 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5042 }
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 (arg1)->Move((wxPoint const &)*arg2);
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 Py_INCREF(Py_None); resultobj = Py_None;
5051 return resultobj;
5052 fail:
5053 return NULL;
5054}
5055
5056
5057static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
5058 PyObject *resultobj;
5059 wxCaret *arg1 = (wxCaret *) 0 ;
5060 int arg2 ;
5061 int arg3 ;
5062 PyObject * obj0 = 0 ;
5063 PyObject * obj1 = 0 ;
5064 PyObject * obj2 = 0 ;
5065 char *kwnames[] = {
5066 (char *) "self",(char *) "width",(char *) "height", NULL
5067 };
5068
5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
5070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5072 arg2 = (int) SWIG_AsInt(obj1);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 arg3 = (int) SWIG_AsInt(obj2);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 (arg1)->SetSize(arg2,arg3);
5079
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 Py_INCREF(Py_None); resultobj = Py_None;
5084 return resultobj;
5085 fail:
5086 return NULL;
5087}
5088
5089
5090static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5091 PyObject *resultobj;
5092 wxCaret *arg1 = (wxCaret *) 0 ;
5093 wxSize *arg2 = 0 ;
5094 wxSize temp2 ;
5095 PyObject * obj0 = 0 ;
5096 PyObject * obj1 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self",(char *) "size", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
5102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5104 {
5105 arg2 = &temp2;
5106 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5107 }
5108 {
5109 PyThreadState* __tstate = wxPyBeginAllowThreads();
5110 (arg1)->SetSize((wxSize const &)*arg2);
5111
5112 wxPyEndAllowThreads(__tstate);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 }
5115 Py_INCREF(Py_None); resultobj = Py_None;
5116 return resultobj;
5117 fail:
5118 return NULL;
5119}
5120
5121
5122static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxCaret *arg1 = (wxCaret *) 0 ;
5125 int arg2 = (int) True ;
5126 PyObject * obj0 = 0 ;
5127 PyObject * obj1 = 0 ;
5128 char *kwnames[] = {
5129 (char *) "self",(char *) "show", NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
5133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5135 if (obj1) {
5136 arg2 = (int) SWIG_AsInt(obj1);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 (arg1)->Show(arg2);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 Py_INCREF(Py_None); resultobj = Py_None;
5147 return resultobj;
5148 fail:
5149 return NULL;
5150}
5151
5152
5153static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
5154 PyObject *resultobj;
5155 wxCaret *arg1 = (wxCaret *) 0 ;
5156 PyObject * obj0 = 0 ;
5157 char *kwnames[] = {
5158 (char *) "self", NULL
5159 };
5160
5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
5162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5164 {
5165 PyThreadState* __tstate = wxPyBeginAllowThreads();
5166 (arg1)->Hide();
5167
5168 wxPyEndAllowThreads(__tstate);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
5171 Py_INCREF(Py_None); resultobj = Py_None;
5172 return resultobj;
5173 fail:
5174 return NULL;
5175}
5176
5177
5178static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
5179 PyObject *obj;
5180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5181 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
5182 Py_INCREF(obj);
5183 return Py_BuildValue((char *)"");
5184}
5185static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 int result;
5188 char *kwnames[] = {
5189 NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 result = (int)wxCaret_GetBlinkTime();
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
5200 resultobj = SWIG_FromInt((int)result);
5201 return resultobj;
5202 fail:
5203 return NULL;
5204}
5205
5206
5207static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 int arg1 ;
5210 PyObject * obj0 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "milliseconds", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
5216 arg1 = (int) SWIG_AsInt(obj0);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 wxCaret_SetBlinkTime(arg1);
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
5225 Py_INCREF(Py_None); resultobj = Py_None;
5226 return resultobj;
5227 fail:
5228 return NULL;
5229}
5230
5231
5232static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5233 PyObject *resultobj;
5234 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5235 wxBusyCursor *result;
5236 PyObject * obj0 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "cursor", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5242 if (obj0) {
5243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5245 }
5246 {
0439c23b 5247 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5250
5251 wxPyEndAllowThreads(__tstate);
0439c23b 5252 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5253 }
5254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5255 return resultobj;
5256 fail:
5257 return NULL;
5258}
5259
5260
5261static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5262 PyObject *resultobj;
5263 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5264 PyObject * obj0 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5272 {
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 delete arg1;
5275
5276 wxPyEndAllowThreads(__tstate);
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 Py_INCREF(Py_None); resultobj = Py_None;
5280 return resultobj;
5281 fail:
5282 return NULL;
5283}
5284
5285
5286static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
5287 PyObject *obj;
5288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5289 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5290 Py_INCREF(obj);
5291 return Py_BuildValue((char *)"");
5292}
5293static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5294 PyObject *resultobj;
5295 wxWindow *arg1 = (wxWindow *) NULL ;
5296 wxWindowDisabler *result;
5297 PyObject * obj0 = 0 ;
5298 char *kwnames[] = {
5299 (char *) "winToSkip", NULL
5300 };
5301
5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5303 if (obj0) {
5304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5306 }
5307 {
0439c23b 5308 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5309 PyThreadState* __tstate = wxPyBeginAllowThreads();
5310 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5311
5312 wxPyEndAllowThreads(__tstate);
0439c23b 5313 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5314 }
5315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5316 return resultobj;
5317 fail:
5318 return NULL;
5319}
5320
5321
5322static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5323 PyObject *resultobj;
5324 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5325 PyObject * obj0 = 0 ;
5326 char *kwnames[] = {
5327 (char *) "self", NULL
5328 };
5329
5330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5333 {
5334 PyThreadState* __tstate = wxPyBeginAllowThreads();
5335 delete arg1;
5336
5337 wxPyEndAllowThreads(__tstate);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 }
5340 Py_INCREF(Py_None); resultobj = Py_None;
5341 return resultobj;
5342 fail:
5343 return NULL;
5344}
5345
5346
5347static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
5348 PyObject *obj;
5349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5350 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5351 Py_INCREF(obj);
5352 return Py_BuildValue((char *)"");
5353}
5354static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5355 PyObject *resultobj;
5356 wxString *arg1 = 0 ;
5357 wxBusyInfo *result;
5358 bool temp1 = False ;
5359 PyObject * obj0 = 0 ;
5360 char *kwnames[] = {
5361 (char *) "message", NULL
5362 };
5363
5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5365 {
5366 arg1 = wxString_in_helper(obj0);
5367 if (arg1 == NULL) SWIG_fail;
5368 temp1 = True;
5369 }
5370 {
0439c23b 5371 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5372 PyThreadState* __tstate = wxPyBeginAllowThreads();
5373 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5374
5375 wxPyEndAllowThreads(__tstate);
0439c23b 5376 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5377 }
5378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5379 {
5380 if (temp1)
5381 delete arg1;
5382 }
5383 return resultobj;
5384 fail:
5385 {
5386 if (temp1)
5387 delete arg1;
5388 }
5389 return NULL;
5390}
5391
5392
5393static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5396 PyObject * obj0 = 0 ;
5397 char *kwnames[] = {
5398 (char *) "self", NULL
5399 };
5400
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 delete arg1;
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 Py_INCREF(Py_None); resultobj = Py_None;
5412 return resultobj;
5413 fail:
5414 return NULL;
5415}
5416
5417
5418static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5419 PyObject *obj;
5420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5421 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5422 Py_INCREF(obj);
5423 return Py_BuildValue((char *)"");
5424}
5425static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxStopWatch *result;
5428 char *kwnames[] = {
5429 NULL
5430 };
5431
5432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 result = (wxStopWatch *)new wxStopWatch();
5436
5437 wxPyEndAllowThreads(__tstate);
5438 if (PyErr_Occurred()) SWIG_fail;
5439 }
5440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5441 return resultobj;
5442 fail:
5443 return NULL;
5444}
5445
5446
5447static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5448 PyObject *resultobj;
5449 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5450 long arg2 = (long) 0 ;
5451 PyObject * obj0 = 0 ;
5452 PyObject * obj1 = 0 ;
5453 char *kwnames[] = {
5454 (char *) "self",(char *) "t0", NULL
5455 };
5456
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5460 if (obj1) {
5461 arg2 = (long) SWIG_AsLong(obj1);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 (arg1)->Start(arg2);
5467
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 Py_INCREF(Py_None); resultobj = Py_None;
5472 return resultobj;
5473 fail:
5474 return NULL;
5475}
5476
5477
5478static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5479 PyObject *resultobj;
5480 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5481 PyObject * obj0 = 0 ;
5482 char *kwnames[] = {
5483 (char *) "self", NULL
5484 };
5485
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 (arg1)->Pause();
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 Py_INCREF(Py_None); resultobj = Py_None;
5497 return resultobj;
5498 fail:
5499 return NULL;
5500}
5501
5502
5503static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj;
5505 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5506 PyObject * obj0 = 0 ;
5507 char *kwnames[] = {
5508 (char *) "self", NULL
5509 };
5510
5511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 (arg1)->Resume();
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 Py_INCREF(Py_None); resultobj = Py_None;
5522 return resultobj;
5523 fail:
5524 return NULL;
5525}
5526
5527
5528static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5529 PyObject *resultobj;
5530 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5531 long result;
5532 PyObject * obj0 = 0 ;
5533 char *kwnames[] = {
5534 (char *) "self", NULL
5535 };
5536
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 result = (long)((wxStopWatch const *)arg1)->Time();
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 resultobj = SWIG_FromLong((long)result);
5548 return resultobj;
5549 fail:
5550 return NULL;
5551}
5552
5553
5554static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5555 PyObject *obj;
5556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5557 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5558 Py_INCREF(obj);
5559 return Py_BuildValue((char *)"");
5560}
5561static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5562 PyObject *resultobj;
5563 int arg1 = (int) 9 ;
5564 wxFileHistory *result;
5565 PyObject * obj0 = 0 ;
5566 char *kwnames[] = {
5567 (char *) "maxFiles", NULL
5568 };
5569
5570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5571 if (obj0) {
5572 arg1 = (int) SWIG_AsInt(obj0);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 {
5576 PyThreadState* __tstate = wxPyBeginAllowThreads();
5577 result = (wxFileHistory *)new wxFileHistory(arg1);
5578
5579 wxPyEndAllowThreads(__tstate);
5580 if (PyErr_Occurred()) SWIG_fail;
5581 }
5582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5583 return resultobj;
5584 fail:
5585 return NULL;
5586}
5587
5588
5589static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5590 PyObject *resultobj;
5591 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5592 PyObject * obj0 = 0 ;
5593 char *kwnames[] = {
5594 (char *) "self", NULL
5595 };
5596
5597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5600 {
5601 PyThreadState* __tstate = wxPyBeginAllowThreads();
5602 delete arg1;
5603
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 Py_INCREF(Py_None); resultobj = Py_None;
5608 return resultobj;
5609 fail:
5610 return NULL;
5611}
5612
5613
5614static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5615 PyObject *resultobj;
5616 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5617 wxString *arg2 = 0 ;
5618 bool temp2 = False ;
5619 PyObject * obj0 = 0 ;
5620 PyObject * obj1 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "self",(char *) "file", NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5628 {
5629 arg2 = wxString_in_helper(obj1);
5630 if (arg2 == NULL) SWIG_fail;
5631 temp2 = True;
5632 }
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 (arg1)->AddFileToHistory((wxString const &)*arg2);
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 Py_INCREF(Py_None); resultobj = Py_None;
5641 {
5642 if (temp2)
5643 delete arg2;
5644 }
5645 return resultobj;
5646 fail:
5647 {
5648 if (temp2)
5649 delete arg2;
5650 }
5651 return NULL;
5652}
5653
5654
5655static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5656 PyObject *resultobj;
5657 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5658 int arg2 ;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 char *kwnames[] = {
5662 (char *) "self",(char *) "i", NULL
5663 };
5664
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5668 arg2 = (int) SWIG_AsInt(obj1);
5669 if (PyErr_Occurred()) SWIG_fail;
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->RemoveFileFromHistory(arg2);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 Py_INCREF(Py_None); resultobj = Py_None;
5678 return resultobj;
5679 fail:
5680 return NULL;
5681}
5682
5683
5684static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5687 int result;
5688 PyObject * obj0 = 0 ;
5689 char *kwnames[] = {
5690 (char *) "self", NULL
5691 };
5692
5693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5696 {
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5699
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 resultobj = SWIG_FromInt((int)result);
5704 return resultobj;
5705 fail:
5706 return NULL;
5707}
5708
5709
5710static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5711 PyObject *resultobj;
5712 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5713 wxMenu *arg2 = (wxMenu *) 0 ;
5714 PyObject * obj0 = 0 ;
5715 PyObject * obj1 = 0 ;
5716 char *kwnames[] = {
5717 (char *) "self",(char *) "menu", NULL
5718 };
5719
5720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 (arg1)->UseMenu(arg2);
5728
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
5732 Py_INCREF(Py_None); resultobj = Py_None;
5733 return resultobj;
5734 fail:
5735 return NULL;
5736}
5737
5738
5739static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj;
5741 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5742 wxMenu *arg2 = (wxMenu *) 0 ;
5743 PyObject * obj0 = 0 ;
5744 PyObject * obj1 = 0 ;
5745 char *kwnames[] = {
5746 (char *) "self",(char *) "menu", NULL
5747 };
5748
5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 (arg1)->RemoveMenu(arg2);
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 Py_INCREF(Py_None); resultobj = Py_None;
5762 return resultobj;
5763 fail:
5764 return NULL;
5765}
5766
5767
5768static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5769 PyObject *resultobj;
5770 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5771 wxConfigBase *arg2 = 0 ;
5772 PyObject * obj0 = 0 ;
5773 PyObject * obj1 = 0 ;
5774 char *kwnames[] = {
5775 (char *) "self",(char *) "config", NULL
5776 };
5777
5778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5781 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5782 SWIG_POINTER_EXCEPTION | 0)) == -1)
5783 SWIG_fail;
5784 if (arg2 == NULL) {
5785 PyErr_SetString(PyExc_TypeError,"null reference");
5786 SWIG_fail;
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 (arg1)->Load(*arg2);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 Py_INCREF(Py_None); resultobj = Py_None;
5796 return resultobj;
5797 fail:
5798 return NULL;
5799}
5800
5801
5802static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5805 wxConfigBase *arg2 = 0 ;
5806 PyObject * obj0 = 0 ;
5807 PyObject * obj1 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self",(char *) "config", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5816 SWIG_POINTER_EXCEPTION | 0)) == -1)
5817 SWIG_fail;
5818 if (arg2 == NULL) {
5819 PyErr_SetString(PyExc_TypeError,"null reference");
5820 SWIG_fail;
5821 }
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 (arg1)->Save(*arg2);
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 Py_INCREF(Py_None); resultobj = Py_None;
5830 return resultobj;
5831 fail:
5832 return NULL;
5833}
5834
5835
5836static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj;
5838 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5839 PyObject * obj0 = 0 ;
5840 char *kwnames[] = {
5841 (char *) "self", NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 (arg1)->AddFilesToMenu();
5850
5851 wxPyEndAllowThreads(__tstate);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
5854 Py_INCREF(Py_None); resultobj = Py_None;
5855 return resultobj;
5856 fail:
5857 return NULL;
5858}
5859
5860
5861static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj;
5863 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5864 wxMenu *arg2 = (wxMenu *) 0 ;
5865 PyObject * obj0 = 0 ;
5866 PyObject * obj1 = 0 ;
5867 char *kwnames[] = {
5868 (char *) "self",(char *) "menu", NULL
5869 };
5870
5871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5874 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 (arg1)->AddFilesToMenu(arg2);
5879
5880 wxPyEndAllowThreads(__tstate);
5881 if (PyErr_Occurred()) SWIG_fail;
5882 }
5883 Py_INCREF(Py_None); resultobj = Py_None;
5884 return resultobj;
5885 fail:
5886 return NULL;
5887}
5888
5889
5890static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5893 int arg2 ;
5894 wxString result;
5895 PyObject * obj0 = 0 ;
5896 PyObject * obj1 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self",(char *) "i", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5904 arg2 = (int) SWIG_AsInt(obj1);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5909
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 {
5914#if wxUSE_UNICODE
5915 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5916#else
5917 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5918#endif
5919 }
5920 return resultobj;
5921 fail:
5922 return NULL;
5923}
5924
5925
5926static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj;
5928 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5929 int result;
5930 PyObject * obj0 = 0 ;
5931 char *kwnames[] = {
5932 (char *) "self", NULL
5933 };
5934
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5938 {
5939 PyThreadState* __tstate = wxPyBeginAllowThreads();
5940 result = (int)((wxFileHistory const *)arg1)->GetCount();
5941
5942 wxPyEndAllowThreads(__tstate);
5943 if (PyErr_Occurred()) SWIG_fail;
5944 }
5945 resultobj = SWIG_FromInt((int)result);
5946 return resultobj;
5947 fail:
5948 return NULL;
5949}
5950
5951
5952static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5953 PyObject *obj;
5954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5955 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5956 Py_INCREF(obj);
5957 return Py_BuildValue((char *)"");
5958}
5959static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5960 PyObject *resultobj;
5961 wxString *arg1 = 0 ;
5962 wxString const &arg2_defvalue = wxPyEmptyString ;
5963 wxString *arg2 = (wxString *) &arg2_defvalue ;
5964 wxSingleInstanceChecker *result;
5965 bool temp1 = False ;
5966 bool temp2 = False ;
5967 PyObject * obj0 = 0 ;
5968 PyObject * obj1 = 0 ;
5969 char *kwnames[] = {
5970 (char *) "name",(char *) "path", NULL
5971 };
5972
5973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5974 {
5975 arg1 = wxString_in_helper(obj0);
5976 if (arg1 == NULL) SWIG_fail;
5977 temp1 = True;
5978 }
5979 if (obj1) {
5980 {
5981 arg2 = wxString_in_helper(obj1);
5982 if (arg2 == NULL) SWIG_fail;
5983 temp2 = True;
5984 }
5985 }
5986 {
5987 PyThreadState* __tstate = wxPyBeginAllowThreads();
5988 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5989
5990 wxPyEndAllowThreads(__tstate);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 }
5993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
5994 {
5995 if (temp1)
5996 delete arg1;
5997 }
5998 {
5999 if (temp2)
6000 delete arg2;
6001 }
6002 return resultobj;
6003 fail:
6004 {
6005 if (temp1)
6006 delete arg1;
6007 }
6008 {
6009 if (temp2)
6010 delete arg2;
6011 }
6012 return NULL;
6013}
6014
6015
6016static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj;
6018 wxSingleInstanceChecker *result;
6019 char *kwnames[] = {
6020 NULL
6021 };
6022
6023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
6024 {
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
6027
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6032 return resultobj;
6033 fail:
6034 return NULL;
6035}
6036
6037
6038static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
6039 PyObject *resultobj;
6040 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6041 PyObject * obj0 = 0 ;
6042 char *kwnames[] = {
6043 (char *) "self", NULL
6044 };
6045
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
6047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 delete arg1;
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 Py_INCREF(Py_None); resultobj = Py_None;
6057 return resultobj;
6058 fail:
6059 return NULL;
6060}
6061
6062
6063static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6064 PyObject *resultobj;
6065 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6066 wxString *arg2 = 0 ;
6067 wxString const &arg3_defvalue = wxPyEmptyString ;
6068 wxString *arg3 = (wxString *) &arg3_defvalue ;
6069 bool result;
6070 bool temp2 = False ;
6071 bool temp3 = False ;
6072 PyObject * obj0 = 0 ;
6073 PyObject * obj1 = 0 ;
6074 PyObject * obj2 = 0 ;
6075 char *kwnames[] = {
6076 (char *) "self",(char *) "name",(char *) "path", NULL
6077 };
6078
6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
6080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6082 {
6083 arg2 = wxString_in_helper(obj1);
6084 if (arg2 == NULL) SWIG_fail;
6085 temp2 = True;
6086 }
6087 if (obj2) {
6088 {
6089 arg3 = wxString_in_helper(obj2);
6090 if (arg3 == NULL) SWIG_fail;
6091 temp3 = True;
6092 }
6093 }
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
6097
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 }
6101 {
6102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6103 }
6104 {
6105 if (temp2)
6106 delete arg2;
6107 }
6108 {
6109 if (temp3)
6110 delete arg3;
6111 }
6112 return resultobj;
6113 fail:
6114 {
6115 if (temp2)
6116 delete arg2;
6117 }
6118 {
6119 if (temp3)
6120 delete arg3;
6121 }
6122 return NULL;
6123}
6124
6125
6126static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj;
6128 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6129 bool result;
6130 PyObject * obj0 = 0 ;
6131 char *kwnames[] = {
6132 (char *) "self", NULL
6133 };
6134
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
6136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6138 {
6139 PyThreadState* __tstate = wxPyBeginAllowThreads();
6140 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
6141
6142 wxPyEndAllowThreads(__tstate);
6143 if (PyErr_Occurred()) SWIG_fail;
6144 }
6145 {
6146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6147 }
6148 return resultobj;
6149 fail:
6150 return NULL;
6151}
6152
6153
6154static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
6155 PyObject *obj;
6156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6157 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
6158 Py_INCREF(obj);
6159 return Py_BuildValue((char *)"");
6160}
6161static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
6162 PyObject *resultobj;
6163 wxWindow *arg1 = (wxWindow *) 0 ;
6164 wxDC *arg2 = 0 ;
6165 int arg3 ;
6166 PyObject * obj0 = 0 ;
6167 PyObject * obj1 = 0 ;
6168 PyObject * obj2 = 0 ;
6169 char *kwnames[] = {
6170 (char *) "window",(char *) "dc",(char *) "method", NULL
6171 };
6172
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
6174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6177 SWIG_POINTER_EXCEPTION | 0)) == -1)
6178 SWIG_fail;
6179 if (arg2 == NULL) {
6180 PyErr_SetString(PyExc_TypeError,"null reference");
6181 SWIG_fail;
6182 }
6183 arg3 = (int) SWIG_AsInt(obj2);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
6188
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
6192 Py_INCREF(Py_None); resultobj = Py_None;
6193 return resultobj;
6194 fail:
6195 return NULL;
6196}
6197
6198
6199static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6200 PyObject *resultobj;
6201 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6202 PyObject * obj0 = 0 ;
6203 char *kwnames[] = {
6204 (char *) "self", NULL
6205 };
6206
6207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
6208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6210 {
6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
6212 delete arg1;
6213
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 Py_INCREF(Py_None); resultobj = Py_None;
6218 return resultobj;
6219 fail:
6220 return NULL;
6221}
6222
6223
6224static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6225 PyObject *resultobj;
6226 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6227 wxString result;
6228 PyObject * obj0 = 0 ;
6229 char *kwnames[] = {
6230 (char *) "self", NULL
6231 };
6232
6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 result = (arg1)->GetTip();
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 {
6244#if wxUSE_UNICODE
6245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6246#else
6247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6248#endif
6249 }
6250 return resultobj;
6251 fail:
6252 return NULL;
6253}
6254
6255
6256static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6257 PyObject *resultobj;
6258 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6259 size_t result;
6260 PyObject * obj0 = 0 ;
6261 char *kwnames[] = {
6262 (char *) "self", NULL
6263 };
6264
6265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 result = (size_t)(arg1)->GetCurrentTip();
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
6276 return resultobj;
6277 fail:
6278 return NULL;
6279}
6280
6281
6282static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6283 PyObject *resultobj;
6284 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6285 wxString *arg2 = 0 ;
6286 wxString result;
6287 bool temp2 = False ;
6288 PyObject * obj0 = 0 ;
6289 PyObject * obj1 = 0 ;
6290 char *kwnames[] = {
6291 (char *) "self",(char *) "tip", NULL
6292 };
6293
6294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6297 {
6298 arg2 = wxString_in_helper(obj1);
6299 if (arg2 == NULL) SWIG_fail;
6300 temp2 = True;
6301 }
6302 {
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6305
6306 wxPyEndAllowThreads(__tstate);
6307 if (PyErr_Occurred()) SWIG_fail;
6308 }
6309 {
6310#if wxUSE_UNICODE
6311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6312#else
6313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6314#endif
6315 }
6316 {
6317 if (temp2)
6318 delete arg2;
6319 }
6320 return resultobj;
6321 fail:
6322 {
6323 if (temp2)
6324 delete arg2;
6325 }
6326 return NULL;
6327}
6328
6329
6330static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
6331 PyObject *obj;
6332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6333 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6334 Py_INCREF(obj);
6335 return Py_BuildValue((char *)"");
6336}
6337static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6338 PyObject *resultobj;
6339 size_t arg1 ;
6340 wxPyTipProvider *result;
6341 PyObject * obj0 = 0 ;
6342 char *kwnames[] = {
6343 (char *) "currentTip", NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6347 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6348 if (PyErr_Occurred()) SWIG_fail;
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6357 return resultobj;
6358 fail:
6359 return NULL;
6360}
6361
6362
6363static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6366 PyObject *arg2 = (PyObject *) 0 ;
6367 PyObject *arg3 = (PyObject *) 0 ;
6368 PyObject * obj0 = 0 ;
6369 PyObject * obj1 = 0 ;
6370 PyObject * obj2 = 0 ;
6371 char *kwnames[] = {
6372 (char *) "self",(char *) "self",(char *) "_class", NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6378 arg2 = obj1;
6379 arg3 = obj2;
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 (arg1)->_setCallbackInfo(arg2,arg3);
6383
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 Py_INCREF(Py_None); resultobj = Py_None;
6388 return resultobj;
6389 fail:
6390 return NULL;
6391}
6392
6393
6394static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
6395 PyObject *obj;
6396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6397 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6398 Py_INCREF(obj);
6399 return Py_BuildValue((char *)"");
6400}
6401static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj;
6403 wxWindow *arg1 = (wxWindow *) 0 ;
6404 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6405 bool arg3 = (bool) True ;
6406 bool result;
6407 PyObject * obj0 = 0 ;
6408 PyObject * obj1 = 0 ;
6409 PyObject * obj2 = 0 ;
6410 char *kwnames[] = {
6411 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6412 };
6413
6414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6419 if (obj2) {
6420 arg3 = (bool) SWIG_AsBool(obj2);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 {
0439c23b 6424 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (bool)wxShowTip(arg1,arg2,arg3);
6427
6428 wxPyEndAllowThreads(__tstate);
0439c23b 6429 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6430 }
6431 {
6432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6433 }
6434 return resultobj;
6435 fail:
6436 return NULL;
6437}
6438
6439
6440static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj;
6442 wxString *arg1 = 0 ;
6443 size_t arg2 ;
6444 wxTipProvider *result;
6445 bool temp1 = False ;
6446 PyObject * obj0 = 0 ;
6447 PyObject * obj1 = 0 ;
6448 char *kwnames[] = {
6449 (char *) "filename",(char *) "currentTip", NULL
6450 };
6451
6452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6453 {
6454 arg1 = wxString_in_helper(obj0);
6455 if (arg1 == NULL) SWIG_fail;
6456 temp1 = True;
6457 }
6458 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 {
0439c23b 6461 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6464
6465 wxPyEndAllowThreads(__tstate);
0439c23b 6466 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6467 }
6468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6469 {
6470 if (temp1)
6471 delete arg1;
6472 }
6473 return resultobj;
6474 fail:
6475 {
6476 if (temp1)
6477 delete arg1;
6478 }
6479 return NULL;
6480}
6481
6482
6483static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6484 PyObject *resultobj;
6485 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6486 int arg2 = (int) -1 ;
6487 wxPyTimer *result;
6488 PyObject * obj0 = 0 ;
6489 PyObject * obj1 = 0 ;
6490 char *kwnames[] = {
6491 (char *) "owner",(char *) "id", NULL
6492 };
6493
6494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6495 if (obj0) {
6496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6498 }
6499 if (obj1) {
6500 arg2 = (int) SWIG_AsInt(obj1);
6501 if (PyErr_Occurred()) SWIG_fail;
6502 }
6503 {
0439c23b 6504 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6507
6508 wxPyEndAllowThreads(__tstate);
0439c23b 6509 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6510 }
6511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6512 return resultobj;
6513 fail:
6514 return NULL;
6515}
6516
6517
6518static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj;
6520 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6521 PyObject * obj0 = 0 ;
6522 char *kwnames[] = {
6523 (char *) "self", NULL
6524 };
6525
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6529 {
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 delete arg1;
6532
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 Py_INCREF(Py_None); resultobj = Py_None;
6537 return resultobj;
6538 fail:
6539 return NULL;
6540}
6541
6542
6543static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6544 PyObject *resultobj;
6545 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6546 PyObject *arg2 = (PyObject *) 0 ;
6547 PyObject *arg3 = (PyObject *) 0 ;
6548 int arg4 = (int) 1 ;
6549 PyObject * obj0 = 0 ;
6550 PyObject * obj1 = 0 ;
6551 PyObject * obj2 = 0 ;
6552 PyObject * obj3 = 0 ;
6553 char *kwnames[] = {
6554 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6555 };
6556
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6560 arg2 = obj1;
6561 arg3 = obj2;
6562 if (obj3) {
6563 arg4 = (int) SWIG_AsInt(obj3);
6564 if (PyErr_Occurred()) SWIG_fail;
6565 }
6566 {
6567 PyThreadState* __tstate = wxPyBeginAllowThreads();
6568 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6569
6570 wxPyEndAllowThreads(__tstate);
6571 if (PyErr_Occurred()) SWIG_fail;
6572 }
6573 Py_INCREF(Py_None); resultobj = Py_None;
6574 return resultobj;
6575 fail:
6576 return NULL;
6577}
6578
6579
6580static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6581 PyObject *resultobj;
6582 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6583 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6584 int arg3 = (int) -1 ;
6585 PyObject * obj0 = 0 ;
6586 PyObject * obj1 = 0 ;
6587 PyObject * obj2 = 0 ;
6588 char *kwnames[] = {
6589 (char *) "self",(char *) "owner",(char *) "id", NULL
6590 };
6591
6592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6597 if (obj2) {
6598 arg3 = (int) SWIG_AsInt(obj2);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 {
6602 PyThreadState* __tstate = wxPyBeginAllowThreads();
6603 (arg1)->SetOwner(arg2,arg3);
6604
6605 wxPyEndAllowThreads(__tstate);
6606 if (PyErr_Occurred()) SWIG_fail;
6607 }
6608 Py_INCREF(Py_None); resultobj = Py_None;
6609 return resultobj;
6610 fail:
6611 return NULL;
6612}
6613
6614
1a6bba1e
RD
6615static PyObject *_wrap_Timer_GetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6616 PyObject *resultobj;
6617 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6618 wxEvtHandler *result;
6619 PyObject * obj0 = 0 ;
6620 char *kwnames[] = {
6621 (char *) "self", NULL
6622 };
6623
6624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
6625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6627 {
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
6629 result = (wxEvtHandler *)(arg1)->GetOwner();
6630
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 {
6635 resultobj = wxPyMake_wxObject(result);
6636 }
6637 return resultobj;
6638 fail:
6639 return NULL;
6640}
6641
6642
d55e5bfc
RD
6643static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6644 PyObject *resultobj;
6645 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6646 int arg2 = (int) -1 ;
6647 bool arg3 = (bool) False ;
6648 bool result;
6649 PyObject * obj0 = 0 ;
6650 PyObject * obj1 = 0 ;
6651 PyObject * obj2 = 0 ;
6652 char *kwnames[] = {
6653 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6659 if (obj1) {
6660 arg2 = (int) SWIG_AsInt(obj1);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 if (obj2) {
6664 arg3 = (bool) SWIG_AsBool(obj2);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 }
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 result = (bool)(arg1)->Start(arg2,arg3);
6670
6671 wxPyEndAllowThreads(__tstate);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
6674 {
6675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6676 }
6677 return resultobj;
6678 fail:
6679 return NULL;
6680}
6681
6682
6683static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj;
6685 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6686 PyObject * obj0 = 0 ;
6687 char *kwnames[] = {
6688 (char *) "self", NULL
6689 };
6690
6691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 (arg1)->Stop();
6697
6698 wxPyEndAllowThreads(__tstate);
6699 if (PyErr_Occurred()) SWIG_fail;
6700 }
6701 Py_INCREF(Py_None); resultobj = Py_None;
6702 return resultobj;
6703 fail:
6704 return NULL;
6705}
6706
6707
6708static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject *resultobj;
6710 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6711 bool result;
6712 PyObject * obj0 = 0 ;
6713 char *kwnames[] = {
6714 (char *) "self", NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6723
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 {
6728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6729 }
6730 return resultobj;
6731 fail:
6732 return NULL;
6733}
6734
6735
6736static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6737 PyObject *resultobj;
6738 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6739 int result;
6740 PyObject * obj0 = 0 ;
6741 char *kwnames[] = {
6742 (char *) "self", NULL
6743 };
6744
6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6748 {
6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
6750 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6751
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 resultobj = SWIG_FromInt((int)result);
6756 return resultobj;
6757 fail:
6758 return NULL;
6759}
6760
6761
6762static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6763 PyObject *resultobj;
6764 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6765 bool result;
6766 PyObject * obj0 = 0 ;
6767 char *kwnames[] = {
6768 (char *) "self", NULL
6769 };
6770
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 {
6782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6783 }
6784 return resultobj;
6785 fail:
6786 return NULL;
6787}
6788
6789
6790static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj;
6792 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6793 int result;
6794 PyObject * obj0 = 0 ;
6795 char *kwnames[] = {
6796 (char *) "self", NULL
6797 };
6798
6799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6802 {
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 result = (int)((wxPyTimer const *)arg1)->GetId();
6805
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
6809 resultobj = SWIG_FromInt((int)result);
6810 return resultobj;
6811 fail:
6812 return NULL;
6813}
6814
6815
6816static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6817 PyObject *obj;
6818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6819 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6820 Py_INCREF(obj);
6821 return Py_BuildValue((char *)"");
6822}
6823static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj;
6825 int arg1 = (int) 0 ;
6826 int arg2 = (int) 0 ;
6827 wxTimerEvent *result;
6828 PyObject * obj0 = 0 ;
6829 PyObject * obj1 = 0 ;
6830 char *kwnames[] = {
6831 (char *) "timerid",(char *) "interval", NULL
6832 };
6833
6834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6835 if (obj0) {
6836 arg1 = (int) SWIG_AsInt(obj0);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
6839 if (obj1) {
6840 arg2 = (int) SWIG_AsInt(obj1);
6841 if (PyErr_Occurred()) SWIG_fail;
6842 }
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6846
6847 wxPyEndAllowThreads(__tstate);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 }
6850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
6851 return resultobj;
6852 fail:
6853 return NULL;
6854}
6855
6856
6857static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6858 PyObject *resultobj;
6859 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6860 int result;
6861 PyObject * obj0 = 0 ;
6862 char *kwnames[] = {
6863 (char *) "self", NULL
6864 };
6865
6866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6872
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
6876 resultobj = SWIG_FromInt((int)result);
6877 return resultobj;
6878 fail:
6879 return NULL;
6880}
6881
6882
6883static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6884 PyObject *obj;
6885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6886 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6887 Py_INCREF(obj);
6888 return Py_BuildValue((char *)"");
6889}
6890static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6891 PyObject *resultobj;
6892 wxTimer *arg1 = 0 ;
6893 wxTimerRunner *result;
6894 PyObject * obj0 = 0 ;
6895
6896 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6898 SWIG_POINTER_EXCEPTION | 0)) == -1)
6899 SWIG_fail;
6900 if (arg1 == NULL) {
6901 PyErr_SetString(PyExc_TypeError,"null reference");
6902 SWIG_fail;
6903 }
6904 {
0439c23b 6905 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6908
6909 wxPyEndAllowThreads(__tstate);
0439c23b 6910 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6911 }
6912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6913 return resultobj;
6914 fail:
6915 return NULL;
6916}
6917
6918
6919static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6920 PyObject *resultobj;
6921 wxTimer *arg1 = 0 ;
6922 int arg2 ;
6923 bool arg3 = (bool) False ;
6924 wxTimerRunner *result;
6925 PyObject * obj0 = 0 ;
6926 PyObject * obj1 = 0 ;
6927 PyObject * obj2 = 0 ;
6928
6929 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6931 SWIG_POINTER_EXCEPTION | 0)) == -1)
6932 SWIG_fail;
6933 if (arg1 == NULL) {
6934 PyErr_SetString(PyExc_TypeError,"null reference");
6935 SWIG_fail;
6936 }
6937 arg2 = (int) SWIG_AsInt(obj1);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 if (obj2) {
6940 arg3 = (bool) SWIG_AsBool(obj2);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 {
0439c23b 6944 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6947
6948 wxPyEndAllowThreads(__tstate);
0439c23b 6949 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6950 }
6951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6952 return resultobj;
6953 fail:
6954 return NULL;
6955}
6956
6957
6958static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6959 int argc;
6960 PyObject *argv[4];
6961 int ii;
6962
6963 argc = PyObject_Length(args);
6964 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6965 argv[ii] = PyTuple_GetItem(args,ii);
6966 }
6967 if (argc == 1) {
6968 int _v;
6969 {
6970 void *ptr;
6971 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6972 _v = 0;
6973 PyErr_Clear();
6974 } else {
6975 _v = 1;
6976 }
6977 }
6978 if (_v) {
6979 return _wrap_new_TimerRunner__SWIG_0(self,args);
6980 }
6981 }
6982 if ((argc >= 2) && (argc <= 3)) {
6983 int _v;
6984 {
6985 void *ptr;
6986 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6987 _v = 0;
6988 PyErr_Clear();
6989 } else {
6990 _v = 1;
6991 }
6992 }
6993 if (_v) {
6994 _v = SWIG_CheckInt(argv[1]);
6995 if (_v) {
6996 if (argc <= 2) {
6997 return _wrap_new_TimerRunner__SWIG_1(self,args);
6998 }
6999 _v = SWIG_CheckBool(argv[2]);
7000 if (_v) {
7001 return _wrap_new_TimerRunner__SWIG_1(self,args);
7002 }
7003 }
7004 }
7005 }
7006
7007 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
7008 return NULL;
7009}
7010
7011
7012static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj;
7014 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7015 PyObject * obj0 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "self", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
7021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 delete arg1;
7026
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 Py_INCREF(Py_None); resultobj = Py_None;
7031 return resultobj;
7032 fail:
7033 return NULL;
7034}
7035
7036
7037static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj;
7039 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7040 int arg2 ;
7041 bool arg3 = (bool) False ;
7042 PyObject * obj0 = 0 ;
7043 PyObject * obj1 = 0 ;
7044 PyObject * obj2 = 0 ;
7045 char *kwnames[] = {
7046 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7047 };
7048
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
7050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7052 arg2 = (int) SWIG_AsInt(obj1);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 if (obj2) {
7055 arg3 = (bool) SWIG_AsBool(obj2);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 {
7059 PyThreadState* __tstate = wxPyBeginAllowThreads();
7060 (arg1)->Start(arg2,arg3);
7061
7062 wxPyEndAllowThreads(__tstate);
7063 if (PyErr_Occurred()) SWIG_fail;
7064 }
7065 Py_INCREF(Py_None); resultobj = Py_None;
7066 return resultobj;
7067 fail:
7068 return NULL;
7069}
7070
7071
7072static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
7073 PyObject *obj;
7074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7075 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
7076 Py_INCREF(obj);
7077 return Py_BuildValue((char *)"");
7078}
7079static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
7080 PyObject *resultobj;
7081 wxLog *result;
7082 char *kwnames[] = {
7083 NULL
7084 };
7085
7086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
7087 {
7088 PyThreadState* __tstate = wxPyBeginAllowThreads();
7089 result = (wxLog *)new wxLog();
7090
7091 wxPyEndAllowThreads(__tstate);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
7095 return resultobj;
7096 fail:
7097 return NULL;
7098}
7099
7100
7101static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7102 PyObject *resultobj;
7103 bool result;
7104 char *kwnames[] = {
7105 NULL
7106 };
7107
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = (bool)wxLog::IsEnabled();
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 {
7117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7118 }
7119 return resultobj;
7120 fail:
7121 return NULL;
7122}
7123
7124
7125static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
7126 PyObject *resultobj;
7127 bool arg1 = (bool) True ;
7128 bool result;
7129 PyObject * obj0 = 0 ;
7130 char *kwnames[] = {
7131 (char *) "doIt", NULL
7132 };
7133
7134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
7135 if (obj0) {
7136 arg1 = (bool) SWIG_AsBool(obj0);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = (bool)wxLog::EnableLogging(arg1);
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
7146 {
7147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7148 }
7149 return resultobj;
7150 fail:
7151 return NULL;
7152}
7153
7154
7155static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7156 PyObject *resultobj;
7157 wxLogLevel arg1 ;
7158 wxChar *arg2 = (wxChar *) 0 ;
7159 time_t arg3 ;
7160 PyObject * obj0 = 0 ;
7161 PyObject * obj1 = 0 ;
7162 PyObject * obj2 = 0 ;
7163 char *kwnames[] = {
7164 (char *) "level",(char *) "szString",(char *) "t", NULL
7165 };
7166
7167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
7168 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
7171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7172 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 Py_INCREF(Py_None); resultobj = Py_None;
7182 return resultobj;
7183 fail:
7184 return NULL;
7185}
7186
7187
7188static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject *resultobj;
7190 wxLog *arg1 = (wxLog *) 0 ;
7191 PyObject * obj0 = 0 ;
7192 char *kwnames[] = {
7193 (char *) "self", NULL
7194 };
7195
7196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
7197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7199 {
7200 PyThreadState* __tstate = wxPyBeginAllowThreads();
7201 (arg1)->Flush();
7202
7203 wxPyEndAllowThreads(__tstate);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 }
7206 Py_INCREF(Py_None); resultobj = Py_None;
7207 return resultobj;
7208 fail:
7209 return NULL;
7210}
7211
7212
7213static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
7214 PyObject *resultobj;
7215 char *kwnames[] = {
7216 NULL
7217 };
7218
7219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
7220 {
7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
7222 wxLog::FlushActive();
7223
7224 wxPyEndAllowThreads(__tstate);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 }
7227 Py_INCREF(Py_None); resultobj = Py_None;
7228 return resultobj;
7229 fail:
7230 return NULL;
7231}
7232
7233
7234static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7235 PyObject *resultobj;
7236 wxLog *result;
7237 char *kwnames[] = {
7238 NULL
7239 };
7240
7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
7242 {
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 result = (wxLog *)wxLog::GetActiveTarget();
7245
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7250 return resultobj;
7251 fail:
7252 return NULL;
7253}
7254
7255
7256static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj;
7258 wxLog *arg1 = (wxLog *) 0 ;
7259 wxLog *result;
7260 PyObject * obj0 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "pLogger", NULL
7263 };
7264
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7268 {
7269 PyThreadState* __tstate = wxPyBeginAllowThreads();
7270 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7271
7272 wxPyEndAllowThreads(__tstate);
7273 if (PyErr_Occurred()) SWIG_fail;
7274 }
7275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7276 return resultobj;
7277 fail:
7278 return NULL;
7279}
7280
7281
7282static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
7283 PyObject *resultobj;
7284 char *kwnames[] = {
7285 NULL
7286 };
7287
7288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 wxLog::Suspend();
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 Py_INCREF(Py_None); resultobj = Py_None;
7297 return resultobj;
7298 fail:
7299 return NULL;
7300}
7301
7302
7303static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
7304 PyObject *resultobj;
7305 char *kwnames[] = {
7306 NULL
7307 };
7308
7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 wxLog::Resume();
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 Py_INCREF(Py_None); resultobj = Py_None;
7318 return resultobj;
7319 fail:
7320 return NULL;
7321}
7322
7323
7324static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 bool arg1 = (bool) True ;
7327 PyObject * obj0 = 0 ;
7328 char *kwnames[] = {
7329 (char *) "bVerbose", NULL
7330 };
7331
7332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7333 if (obj0) {
7334 arg1 = (bool) SWIG_AsBool(obj0);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 wxLog::SetVerbose(arg1);
7340
7341 wxPyEndAllowThreads(__tstate);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 Py_INCREF(Py_None); resultobj = Py_None;
7345 return resultobj;
7346 fail:
7347 return NULL;
7348}
7349
7350
7351static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7352 PyObject *resultobj;
7353 wxLogLevel arg1 ;
7354 PyObject * obj0 = 0 ;
7355 char *kwnames[] = {
7356 (char *) "logLevel", NULL
7357 };
7358
7359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7360 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 {
7363 PyThreadState* __tstate = wxPyBeginAllowThreads();
7364 wxLog::SetLogLevel(arg1);
7365
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 Py_INCREF(Py_None); resultobj = Py_None;
7370 return resultobj;
7371 fail:
7372 return NULL;
7373}
7374
7375
7376static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 char *kwnames[] = {
7379 NULL
7380 };
7381
7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 wxLog::DontCreateOnDemand();
7386
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
7390 Py_INCREF(Py_None); resultobj = Py_None;
7391 return resultobj;
7392 fail:
7393 return NULL;
7394}
7395
7396
7397static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7398 PyObject *resultobj;
7399 wxTraceMask arg1 ;
7400 PyObject * obj0 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "ulMask", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7406 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 {
7409 PyThreadState* __tstate = wxPyBeginAllowThreads();
7410 wxLog::SetTraceMask(arg1);
7411
7412 wxPyEndAllowThreads(__tstate);
7413 if (PyErr_Occurred()) SWIG_fail;
7414 }
7415 Py_INCREF(Py_None); resultobj = Py_None;
7416 return resultobj;
7417 fail:
7418 return NULL;
7419}
7420
7421
7422static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7423 PyObject *resultobj;
7424 wxString *arg1 = 0 ;
7425 bool temp1 = False ;
7426 PyObject * obj0 = 0 ;
7427 char *kwnames[] = {
7428 (char *) "str", NULL
7429 };
7430
7431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7432 {
7433 arg1 = wxString_in_helper(obj0);
7434 if (arg1 == NULL) SWIG_fail;
7435 temp1 = True;
7436 }
7437 {
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 wxLog::AddTraceMask((wxString const &)*arg1);
7440
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 Py_INCREF(Py_None); resultobj = Py_None;
7445 {
7446 if (temp1)
7447 delete arg1;
7448 }
7449 return resultobj;
7450 fail:
7451 {
7452 if (temp1)
7453 delete arg1;
7454 }
7455 return NULL;
7456}
7457
7458
7459static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7460 PyObject *resultobj;
7461 wxString *arg1 = 0 ;
7462 bool temp1 = False ;
7463 PyObject * obj0 = 0 ;
7464 char *kwnames[] = {
7465 (char *) "str", NULL
7466 };
7467
7468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7469 {
7470 arg1 = wxString_in_helper(obj0);
7471 if (arg1 == NULL) SWIG_fail;
7472 temp1 = True;
7473 }
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 wxLog::RemoveTraceMask((wxString const &)*arg1);
7477
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 Py_INCREF(Py_None); resultobj = Py_None;
7482 {
7483 if (temp1)
7484 delete arg1;
7485 }
7486 return resultobj;
7487 fail:
7488 {
7489 if (temp1)
7490 delete arg1;
7491 }
7492 return NULL;
7493}
7494
7495
7496static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj;
7498 char *kwnames[] = {
7499 NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 wxLog::ClearTraceMasks();
7506
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 Py_INCREF(Py_None); resultobj = Py_None;
7511 return resultobj;
7512 fail:
7513 return NULL;
7514}
7515
7516
7517static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7518 PyObject *resultobj;
7519 wxArrayString *result;
7520 char *kwnames[] = {
7521 NULL
7522 };
7523
7524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7525 {
7526 PyThreadState* __tstate = wxPyBeginAllowThreads();
7527 {
7528 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7529 result = (wxArrayString *) &_result_ref;
7530 }
7531
7532 wxPyEndAllowThreads(__tstate);
7533 if (PyErr_Occurred()) SWIG_fail;
7534 }
7535 {
7536 resultobj = wxArrayString2PyList_helper(*result);
7537 }
7538 return resultobj;
7539 fail:
7540 return NULL;
7541}
7542
7543
7544static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7545 PyObject *resultobj;
7546 wxChar *arg1 = (wxChar *) 0 ;
7547 PyObject * obj0 = 0 ;
7548 char *kwnames[] = {
7549 (char *) "ts", NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 wxLog::SetTimestamp((wxChar const *)arg1);
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 Py_INCREF(Py_None); resultobj = Py_None;
7563 return resultobj;
7564 fail:
7565 return NULL;
7566}
7567
7568
7569static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj;
7571 bool result;
7572 char *kwnames[] = {
7573 NULL
7574 };
7575
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 result = (bool)wxLog::GetVerbose();
7580
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 {
7585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7586 }
7587 return resultobj;
7588 fail:
7589 return NULL;
7590}
7591
7592
7593static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7594 PyObject *resultobj;
7595 wxTraceMask result;
7596 char *kwnames[] = {
7597 NULL
7598 };
7599
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 result = (wxTraceMask)wxLog::GetTraceMask();
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7609 return resultobj;
7610 fail:
7611 return NULL;
7612}
7613
7614
7615static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7616 PyObject *resultobj;
7617 wxChar *arg1 = (wxChar *) 0 ;
7618 bool result;
7619 PyObject * obj0 = 0 ;
7620 char *kwnames[] = {
7621 (char *) "mask", NULL
7622 };
7623
7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 {
7635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7636 }
7637 return resultobj;
7638 fail:
7639 return NULL;
7640}
7641
7642
7643static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxLogLevel result;
7646 char *kwnames[] = {
7647 NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7651 {
7652 PyThreadState* __tstate = wxPyBeginAllowThreads();
7653 result = (wxLogLevel)wxLog::GetLogLevel();
7654
7655 wxPyEndAllowThreads(__tstate);
7656 if (PyErr_Occurred()) SWIG_fail;
7657 }
7658 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7659 return resultobj;
7660 fail:
7661 return NULL;
7662}
7663
7664
7665static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7666 PyObject *resultobj;
7667 wxChar *result;
7668 char *kwnames[] = {
7669 NULL
7670 };
7671
7672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 result = (wxChar *)wxLog::GetTimestamp();
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7681 return resultobj;
7682 fail:
7683 return NULL;
7684}
7685
7686
7687static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxString result;
7690 char *kwnames[] = {
7691 NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = Log_TimeStamp();
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 {
7703#if wxUSE_UNICODE
7704 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7705#else
7706 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7707#endif
7708 }
7709 return resultobj;
7710 fail:
7711 return NULL;
7712}
7713
7714
7715static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxLog *arg1 = (wxLog *) 0 ;
7718 PyObject * obj0 = 0 ;
7719 char *kwnames[] = {
7720 (char *) "self", NULL
7721 };
7722
7723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7726 {
7727 PyThreadState* __tstate = wxPyBeginAllowThreads();
7728 wxLog_Destroy(arg1);
7729
7730 wxPyEndAllowThreads(__tstate);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 }
7733 Py_INCREF(Py_None); resultobj = Py_None;
7734 return resultobj;
7735 fail:
7736 return NULL;
7737}
7738
7739
7740static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7741 PyObject *obj;
7742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7743 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7744 Py_INCREF(obj);
7745 return Py_BuildValue((char *)"");
7746}
7747static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject *resultobj;
7749 wxLogStderr *result;
7750 char *kwnames[] = {
7751 NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (wxLogStderr *)new wxLogStderr();
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
7763 return resultobj;
7764 fail:
7765 return NULL;
7766}
7767
7768
7769static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7770 PyObject *obj;
7771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7772 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7773 Py_INCREF(obj);
7774 return Py_BuildValue((char *)"");
7775}
7776static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj;
7778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7779 wxLogTextCtrl *result;
7780 PyObject * obj0 = 0 ;
7781 char *kwnames[] = {
7782 (char *) "pTextCtrl", NULL
7783 };
7784
7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7791
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
7796 return resultobj;
7797 fail:
7798 return NULL;
7799}
7800
7801
7802static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7803 PyObject *obj;
7804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7805 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7806 Py_INCREF(obj);
7807 return Py_BuildValue((char *)"");
7808}
7809static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7810 PyObject *resultobj;
7811 wxLogGui *result;
7812 char *kwnames[] = {
7813 NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (wxLogGui *)new wxLogGui();
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
7825 return resultobj;
7826 fail:
7827 return NULL;
7828}
7829
7830
7831static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7832 PyObject *obj;
7833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7834 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7835 Py_INCREF(obj);
7836 return Py_BuildValue((char *)"");
7837}
7838static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj;
7840 wxFrame *arg1 = (wxFrame *) 0 ;
7841 wxString *arg2 = 0 ;
7842 bool arg3 = (bool) True ;
7843 bool arg4 = (bool) True ;
7844 wxLogWindow *result;
7845 bool temp2 = False ;
7846 PyObject * obj0 = 0 ;
7847 PyObject * obj1 = 0 ;
7848 PyObject * obj2 = 0 ;
7849 PyObject * obj3 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7857 {
7858 arg2 = wxString_in_helper(obj1);
7859 if (arg2 == NULL) SWIG_fail;
7860 temp2 = True;
7861 }
7862 if (obj2) {
7863 arg3 = (bool) SWIG_AsBool(obj2);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 if (obj3) {
7867 arg4 = (bool) SWIG_AsBool(obj3);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
7872 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
7878 {
7879 if (temp2)
7880 delete arg2;
7881 }
7882 return resultobj;
7883 fail:
7884 {
7885 if (temp2)
7886 delete arg2;
7887 }
7888 return NULL;
7889}
7890
7891
7892static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj;
7894 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7895 bool arg2 = (bool) True ;
7896 PyObject * obj0 = 0 ;
7897 PyObject * obj1 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self",(char *) "bShow", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7905 if (obj1) {
7906 arg2 = (bool) SWIG_AsBool(obj1);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 (arg1)->Show(arg2);
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 Py_INCREF(Py_None); resultobj = Py_None;
7917 return resultobj;
7918 fail:
7919 return NULL;
7920}
7921
7922
7923static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7926 wxFrame *result;
7927 PyObject * obj0 = 0 ;
7928 char *kwnames[] = {
7929 (char *) "self", NULL
7930 };
7931
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 {
7943 resultobj = wxPyMake_wxObject(result);
7944 }
7945 return resultobj;
7946 fail:
7947 return NULL;
7948}
7949
7950
7951static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7954 wxLog *result;
7955 PyObject * obj0 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "self", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7971 return resultobj;
7972 fail:
7973 return NULL;
7974}
7975
7976
7977static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj;
7979 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7980 bool result;
7981 PyObject * obj0 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7989 {
7990 PyThreadState* __tstate = wxPyBeginAllowThreads();
7991 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7992
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 {
7997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7998 }
7999 return resultobj;
8000 fail:
8001 return NULL;
8002}
8003
8004
8005static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8006 PyObject *resultobj;
8007 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8008 bool arg2 ;
8009 PyObject * obj0 = 0 ;
8010 PyObject * obj1 = 0 ;
8011 char *kwnames[] = {
8012 (char *) "self",(char *) "bDoPass", NULL
8013 };
8014
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8018 arg2 = (bool) SWIG_AsBool(obj1);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 (arg1)->PassMessages(arg2);
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 Py_INCREF(Py_None); resultobj = Py_None;
8028 return resultobj;
8029 fail:
8030 return NULL;
8031}
8032
8033
8034static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
8035 PyObject *obj;
8036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8037 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
8038 Py_INCREF(obj);
8039 return Py_BuildValue((char *)"");
8040}
8041static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj;
8043 wxLog *arg1 = (wxLog *) 0 ;
8044 wxLogChain *result;
8045 PyObject * obj0 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "logger", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
8051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8053 {
8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
8055 result = (wxLogChain *)new wxLogChain(arg1);
8056
8057 wxPyEndAllowThreads(__tstate);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
8060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
8061 return resultobj;
8062 fail:
8063 return NULL;
8064}
8065
8066
8067static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8068 PyObject *resultobj;
8069 wxLogChain *arg1 = (wxLogChain *) 0 ;
8070 wxLog *arg2 = (wxLog *) 0 ;
8071 PyObject * obj0 = 0 ;
8072 PyObject * obj1 = 0 ;
8073 char *kwnames[] = {
8074 (char *) "self",(char *) "logger", NULL
8075 };
8076
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
8078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
8081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8082 {
8083 PyThreadState* __tstate = wxPyBeginAllowThreads();
8084 (arg1)->SetLog(arg2);
8085
8086 wxPyEndAllowThreads(__tstate);
8087 if (PyErr_Occurred()) SWIG_fail;
8088 }
8089 Py_INCREF(Py_None); resultobj = Py_None;
8090 return resultobj;
8091 fail:
8092 return NULL;
8093}
8094
8095
8096static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8097 PyObject *resultobj;
8098 wxLogChain *arg1 = (wxLogChain *) 0 ;
8099 bool arg2 ;
8100 PyObject * obj0 = 0 ;
8101 PyObject * obj1 = 0 ;
8102 char *kwnames[] = {
8103 (char *) "self",(char *) "bDoPass", NULL
8104 };
8105
8106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8109 arg2 = (bool) SWIG_AsBool(obj1);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 {
8112 PyThreadState* __tstate = wxPyBeginAllowThreads();
8113 (arg1)->PassMessages(arg2);
8114
8115 wxPyEndAllowThreads(__tstate);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 }
8118 Py_INCREF(Py_None); resultobj = Py_None;
8119 return resultobj;
8120 fail:
8121 return NULL;
8122}
8123
8124
8125static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8126 PyObject *resultobj;
8127 wxLogChain *arg1 = (wxLogChain *) 0 ;
8128 bool result;
8129 PyObject * obj0 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
8135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8137 {
8138 PyThreadState* __tstate = wxPyBeginAllowThreads();
8139 result = (bool)(arg1)->IsPassingMessages();
8140
8141 wxPyEndAllowThreads(__tstate);
8142 if (PyErr_Occurred()) SWIG_fail;
8143 }
8144 {
8145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8146 }
8147 return resultobj;
8148 fail:
8149 return NULL;
8150}
8151
8152
8153static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj;
8155 wxLogChain *arg1 = (wxLogChain *) 0 ;
8156 wxLog *result;
8157 PyObject * obj0 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "self", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
8163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 result = (wxLog *)(arg1)->GetOldLog();
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8173 return resultobj;
8174 fail:
8175 return NULL;
8176}
8177
8178
8179static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
8180 PyObject *obj;
8181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8182 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
8183 Py_INCREF(obj);
8184 return Py_BuildValue((char *)"");
8185}
8186static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8187 PyObject *resultobj;
8188 unsigned long result;
8189 char *kwnames[] = {
8190 NULL
8191 };
8192
8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 result = (unsigned long)wxSysErrorCode();
8197
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
8202 return resultobj;
8203 fail:
8204 return NULL;
8205}
8206
8207
8208static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj;
8210 unsigned long arg1 = (unsigned long) 0 ;
8211 wxString result;
8212 PyObject * obj0 = 0 ;
8213 char *kwnames[] = {
8214 (char *) "nErrCode", NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
8218 if (obj0) {
8219 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 {
8223 PyThreadState* __tstate = wxPyBeginAllowThreads();
8224 result = wxSysErrorMsg(arg1);
8225
8226 wxPyEndAllowThreads(__tstate);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
8229 {
8230#if wxUSE_UNICODE
8231 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8232#else
8233 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8234#endif
8235 }
8236 return resultobj;
8237 fail:
8238 return NULL;
8239}
8240
8241
8242static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
8243 PyObject *resultobj;
8244 wxString *arg1 = 0 ;
8245 bool temp1 = False ;
8246 PyObject * obj0 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "msg", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8252 {
8253 arg1 = wxString_in_helper(obj0);
8254 if (arg1 == NULL) SWIG_fail;
8255 temp1 = True;
8256 }
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 wxLogFatalError((wxString const &)*arg1);
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 Py_INCREF(Py_None); resultobj = Py_None;
8265 {
8266 if (temp1)
8267 delete arg1;
8268 }
8269 return resultobj;
8270 fail:
8271 {
8272 if (temp1)
8273 delete arg1;
8274 }
8275 return NULL;
8276}
8277
8278
8279static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxString *arg1 = 0 ;
8282 bool temp1 = False ;
8283 PyObject * obj0 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "msg", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8289 {
8290 arg1 = wxString_in_helper(obj0);
8291 if (arg1 == NULL) SWIG_fail;
8292 temp1 = True;
8293 }
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
8296 wxLogError((wxString const &)*arg1);
8297
8298 wxPyEndAllowThreads(__tstate);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 Py_INCREF(Py_None); resultobj = Py_None;
8302 {
8303 if (temp1)
8304 delete arg1;
8305 }
8306 return resultobj;
8307 fail:
8308 {
8309 if (temp1)
8310 delete arg1;
8311 }
8312 return NULL;
8313}
8314
8315
8316static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
8317 PyObject *resultobj;
8318 wxString *arg1 = 0 ;
8319 bool temp1 = False ;
8320 PyObject * obj0 = 0 ;
8321 char *kwnames[] = {
8322 (char *) "msg", NULL
8323 };
8324
8325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8326 {
8327 arg1 = wxString_in_helper(obj0);
8328 if (arg1 == NULL) SWIG_fail;
8329 temp1 = True;
8330 }
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 wxLogWarning((wxString const &)*arg1);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 Py_INCREF(Py_None); resultobj = Py_None;
8339 {
8340 if (temp1)
8341 delete arg1;
8342 }
8343 return resultobj;
8344 fail:
8345 {
8346 if (temp1)
8347 delete arg1;
8348 }
8349 return NULL;
8350}
8351
8352
8353static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxString *arg1 = 0 ;
8356 bool temp1 = False ;
8357 PyObject * obj0 = 0 ;
8358 char *kwnames[] = {
8359 (char *) "msg", NULL
8360 };
8361
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8363 {
8364 arg1 = wxString_in_helper(obj0);
8365 if (arg1 == NULL) SWIG_fail;
8366 temp1 = True;
8367 }
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 wxLogMessage((wxString const &)*arg1);
8371
8372 wxPyEndAllowThreads(__tstate);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
8375 Py_INCREF(Py_None); resultobj = Py_None;
8376 {
8377 if (temp1)
8378 delete arg1;
8379 }
8380 return resultobj;
8381 fail:
8382 {
8383 if (temp1)
8384 delete arg1;
8385 }
8386 return NULL;
8387}
8388
8389
8390static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8391 PyObject *resultobj;
8392 wxString *arg1 = 0 ;
8393 bool temp1 = False ;
8394 PyObject * obj0 = 0 ;
8395 char *kwnames[] = {
8396 (char *) "msg", NULL
8397 };
8398
8399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8400 {
8401 arg1 = wxString_in_helper(obj0);
8402 if (arg1 == NULL) SWIG_fail;
8403 temp1 = True;
8404 }
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 wxLogInfo((wxString const &)*arg1);
8408
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 Py_INCREF(Py_None); resultobj = Py_None;
8413 {
8414 if (temp1)
8415 delete arg1;
8416 }
8417 return resultobj;
8418 fail:
8419 {
8420 if (temp1)
8421 delete arg1;
8422 }
8423 return NULL;
8424}
8425
8426
8427static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
8428 PyObject *resultobj;
8429 wxString *arg1 = 0 ;
8430 bool temp1 = False ;
8431 PyObject * obj0 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "msg", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8437 {
8438 arg1 = wxString_in_helper(obj0);
8439 if (arg1 == NULL) SWIG_fail;
8440 temp1 = True;
8441 }
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 wxLogDebug((wxString const &)*arg1);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 Py_INCREF(Py_None); resultobj = Py_None;
8450 {
8451 if (temp1)
8452 delete arg1;
8453 }
8454 return resultobj;
8455 fail:
8456 {
8457 if (temp1)
8458 delete arg1;
8459 }
8460 return NULL;
8461}
8462
8463
8464static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxString *arg1 = 0 ;
8467 bool temp1 = False ;
8468 PyObject * obj0 = 0 ;
8469 char *kwnames[] = {
8470 (char *) "msg", NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8474 {
8475 arg1 = wxString_in_helper(obj0);
8476 if (arg1 == NULL) SWIG_fail;
8477 temp1 = True;
8478 }
8479 {
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 wxLogVerbose((wxString const &)*arg1);
8482
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 Py_INCREF(Py_None); resultobj = Py_None;
8487 {
8488 if (temp1)
8489 delete arg1;
8490 }
8491 return resultobj;
8492 fail:
8493 {
8494 if (temp1)
8495 delete arg1;
8496 }
8497 return NULL;
8498}
8499
8500
8501static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj;
8503 wxString *arg1 = 0 ;
8504 bool temp1 = False ;
8505 PyObject * obj0 = 0 ;
8506 char *kwnames[] = {
8507 (char *) "msg", NULL
8508 };
8509
8510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8511 {
8512 arg1 = wxString_in_helper(obj0);
8513 if (arg1 == NULL) SWIG_fail;
8514 temp1 = True;
8515 }
8516 {
8517 PyThreadState* __tstate = wxPyBeginAllowThreads();
8518 wxLogStatus((wxString const &)*arg1);
8519
8520 wxPyEndAllowThreads(__tstate);
8521 if (PyErr_Occurred()) SWIG_fail;
8522 }
8523 Py_INCREF(Py_None); resultobj = Py_None;
8524 {
8525 if (temp1)
8526 delete arg1;
8527 }
8528 return resultobj;
8529 fail:
8530 {
8531 if (temp1)
8532 delete arg1;
8533 }
8534 return NULL;
8535}
8536
8537
8538static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8539 PyObject *resultobj;
8540 wxFrame *arg1 = (wxFrame *) 0 ;
8541 wxString *arg2 = 0 ;
8542 bool temp2 = False ;
8543 PyObject * obj0 = 0 ;
8544 PyObject * obj1 = 0 ;
8545 char *kwnames[] = {
8546 (char *) "pFrame",(char *) "msg", NULL
8547 };
8548
8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8552 {
8553 arg2 = wxString_in_helper(obj1);
8554 if (arg2 == NULL) SWIG_fail;
8555 temp2 = True;
8556 }
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 wxLogStatus(arg1,(wxString const &)*arg2);
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 Py_INCREF(Py_None); resultobj = Py_None;
8565 {
8566 if (temp2)
8567 delete arg2;
8568 }
8569 return resultobj;
8570 fail:
8571 {
8572 if (temp2)
8573 delete arg2;
8574 }
8575 return NULL;
8576}
8577
8578
8579static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8580 PyObject *resultobj;
8581 wxString *arg1 = 0 ;
8582 bool temp1 = False ;
8583 PyObject * obj0 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "msg", NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8589 {
8590 arg1 = wxString_in_helper(obj0);
8591 if (arg1 == NULL) SWIG_fail;
8592 temp1 = True;
8593 }
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 wxLogSysError((wxString const &)*arg1);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 Py_INCREF(Py_None); resultobj = Py_None;
8602 {
8603 if (temp1)
8604 delete arg1;
8605 }
8606 return resultobj;
8607 fail:
8608 {
8609 if (temp1)
8610 delete arg1;
8611 }
8612 return NULL;
8613}
8614
8615
8616static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
8617 PyObject *resultobj;
8618 unsigned long arg1 ;
8619 wxString *arg2 = 0 ;
8620 bool temp2 = False ;
8621 PyObject * obj0 = 0 ;
8622 PyObject * obj1 = 0 ;
8623
8624 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8625 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 {
8628 arg2 = wxString_in_helper(obj1);
8629 if (arg2 == NULL) SWIG_fail;
8630 temp2 = True;
8631 }
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 wxLogTrace(arg1,(wxString const &)*arg2);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 Py_INCREF(Py_None); resultobj = Py_None;
8640 {
8641 if (temp2)
8642 delete arg2;
8643 }
8644 return resultobj;
8645 fail:
8646 {
8647 if (temp2)
8648 delete arg2;
8649 }
8650 return NULL;
8651}
8652
8653
8654static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
8655 PyObject *resultobj;
8656 wxString *arg1 = 0 ;
8657 wxString *arg2 = 0 ;
8658 bool temp1 = False ;
8659 bool temp2 = False ;
8660 PyObject * obj0 = 0 ;
8661 PyObject * obj1 = 0 ;
8662
8663 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8664 {
8665 arg1 = wxString_in_helper(obj0);
8666 if (arg1 == NULL) SWIG_fail;
8667 temp1 = True;
8668 }
8669 {
8670 arg2 = wxString_in_helper(obj1);
8671 if (arg2 == NULL) SWIG_fail;
8672 temp2 = True;
8673 }
8674 {
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8677
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 }
8681 Py_INCREF(Py_None); resultobj = Py_None;
8682 {
8683 if (temp1)
8684 delete arg1;
8685 }
8686 {
8687 if (temp2)
8688 delete arg2;
8689 }
8690 return resultobj;
8691 fail:
8692 {
8693 if (temp1)
8694 delete arg1;
8695 }
8696 {
8697 if (temp2)
8698 delete arg2;
8699 }
8700 return NULL;
8701}
8702
8703
8704static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8705 int argc;
8706 PyObject *argv[3];
8707 int ii;
8708
8709 argc = PyObject_Length(args);
8710 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8711 argv[ii] = PyTuple_GetItem(args,ii);
8712 }
8713 if (argc == 2) {
8714 int _v;
8715 {
8716 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8717 }
8718 if (_v) {
8719 {
8720 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8721 }
8722 if (_v) {
8723 return _wrap_LogTrace__SWIG_1(self,args);
8724 }
8725 }
8726 }
8727 if (argc == 2) {
8728 int _v;
8729 _v = SWIG_CheckUnsignedLong(argv[0]);
8730 if (_v) {
8731 {
8732 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8733 }
8734 if (_v) {
8735 return _wrap_LogTrace__SWIG_0(self,args);
8736 }
8737 }
8738 }
8739
8740 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8741 return NULL;
8742}
8743
8744
8745static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8746 PyObject *resultobj;
8747 unsigned long arg1 ;
8748 wxString *arg2 = 0 ;
8749 bool temp2 = False ;
8750 PyObject * obj0 = 0 ;
8751 PyObject * obj1 = 0 ;
8752 char *kwnames[] = {
8753 (char *) "level",(char *) "msg", NULL
8754 };
8755
8756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8757 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 {
8760 arg2 = wxString_in_helper(obj1);
8761 if (arg2 == NULL) SWIG_fail;
8762 temp2 = True;
8763 }
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 wxLogGeneric(arg1,(wxString const &)*arg2);
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 Py_INCREF(Py_None); resultobj = Py_None;
8772 {
8773 if (temp2)
8774 delete arg2;
8775 }
8776 return resultobj;
8777 fail:
8778 {
8779 if (temp2)
8780 delete arg2;
8781 }
8782 return NULL;
8783}
8784
8785
8786static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8787 PyObject *resultobj;
8788 wxString *arg1 = 0 ;
8789 wxString *arg2 = 0 ;
8790 bool temp1 = False ;
8791 bool temp2 = False ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 char *kwnames[] = {
8795 (char *) "title",(char *) "text", NULL
8796 };
8797
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8799 {
8800 arg1 = wxString_in_helper(obj0);
8801 if (arg1 == NULL) SWIG_fail;
8802 temp1 = True;
8803 }
8804 {
8805 arg2 = wxString_in_helper(obj1);
8806 if (arg2 == NULL) SWIG_fail;
8807 temp2 = True;
8808 }
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 Py_INCREF(Py_None); resultobj = Py_None;
8817 {
8818 if (temp1)
8819 delete arg1;
8820 }
8821 {
8822 if (temp2)
8823 delete arg2;
8824 }
8825 return resultobj;
8826 fail:
8827 {
8828 if (temp1)
8829 delete arg1;
8830 }
8831 {
8832 if (temp2)
8833 delete arg2;
8834 }
8835 return NULL;
8836}
8837
8838
8839static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj;
8841 wxLogNull *result;
8842 char *kwnames[] = {
8843 NULL
8844 };
8845
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 result = (wxLogNull *)new wxLogNull();
8850
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
8854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
8855 return resultobj;
8856 fail:
8857 return NULL;
8858}
8859
8860
8861static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8862 PyObject *resultobj;
8863 wxLogNull *arg1 = (wxLogNull *) 0 ;
8864 PyObject * obj0 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 delete arg1;
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 Py_INCREF(Py_None); resultobj = Py_None;
8880 return resultobj;
8881 fail:
8882 return NULL;
8883}
8884
8885
8886static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8887 PyObject *obj;
8888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8889 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8890 Py_INCREF(obj);
8891 return Py_BuildValue((char *)"");
8892}
8893static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8894 PyObject *resultobj;
8895 wxPyLog *result;
8896 char *kwnames[] = {
8897 NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 result = (wxPyLog *)new wxPyLog();
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
8909 return resultobj;
8910 fail:
8911 return NULL;
8912}
8913
8914
8915static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxPyLog *arg1 = (wxPyLog *) 0 ;
8918 PyObject *arg2 = (PyObject *) 0 ;
8919 PyObject *arg3 = (PyObject *) 0 ;
8920 PyObject * obj0 = 0 ;
8921 PyObject * obj1 = 0 ;
8922 PyObject * obj2 = 0 ;
8923 char *kwnames[] = {
8924 (char *) "self",(char *) "self",(char *) "_class", NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8930 arg2 = obj1;
8931 arg3 = obj2;
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 (arg1)->_setCallbackInfo(arg2,arg3);
8935
8936 wxPyEndAllowThreads(__tstate);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
8939 Py_INCREF(Py_None); resultobj = Py_None;
8940 return resultobj;
8941 fail:
8942 return NULL;
8943}
8944
8945
8946static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8947 PyObject *obj;
8948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8949 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8950 Py_INCREF(obj);
8951 return Py_BuildValue((char *)"");
8952}
8953static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8954 PyObject *resultobj;
8955 int arg1 ;
8956 int arg2 = (int) wxSIGTERM ;
8957 int result;
8958 PyObject * obj0 = 0 ;
8959 PyObject * obj1 = 0 ;
8960 char *kwnames[] = {
8961 (char *) "pid",(char *) "sig", NULL
8962 };
8963
8964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8965 arg1 = (int) SWIG_AsInt(obj0);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 if (obj1) {
8968 arg2 = (wxSignal) SWIG_AsInt(obj1);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 {
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8974
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 resultobj = SWIG_FromInt((int)result);
8979 return resultobj;
8980 fail:
8981 return NULL;
8982}
8983
8984
8985static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8986 PyObject *resultobj;
8987 int arg1 ;
8988 bool result;
8989 PyObject * obj0 = 0 ;
8990 char *kwnames[] = {
8991 (char *) "pid", NULL
8992 };
8993
8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
8995 arg1 = (int) SWIG_AsInt(obj0);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 result = (bool)wxPyProcess::Exists(arg1);
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 {
9005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9006 }
9007 return resultobj;
9008 fail:
9009 return NULL;
9010}
9011
9012
9013static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxString *arg1 = 0 ;
9016 int arg2 = (int) wxEXEC_ASYNC ;
9017 wxPyProcess *result;
9018 bool temp1 = False ;
9019 PyObject * obj0 = 0 ;
9020 PyObject * obj1 = 0 ;
9021 char *kwnames[] = {
9022 (char *) "cmd",(char *) "flags", NULL
9023 };
9024
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
9026 {
9027 arg1 = wxString_in_helper(obj0);
9028 if (arg1 == NULL) SWIG_fail;
9029 temp1 = True;
9030 }
9031 if (obj1) {
9032 arg2 = (int) SWIG_AsInt(obj1);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 {
9036 PyThreadState* __tstate = wxPyBeginAllowThreads();
9037 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
9038
9039 wxPyEndAllowThreads(__tstate);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 }
9042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
9043 {
9044 if (temp1)
9045 delete arg1;
9046 }
9047 return resultobj;
9048 fail:
9049 {
9050 if (temp1)
9051 delete arg1;
9052 }
9053 return NULL;
9054}
9055
9056
9057static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
9058 PyObject *resultobj;
9059 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9060 int arg2 = (int) -1 ;
9061 wxPyProcess *result;
9062 PyObject * obj0 = 0 ;
9063 PyObject * obj1 = 0 ;
9064 char *kwnames[] = {
9065 (char *) "parent",(char *) "id", NULL
9066 };
9067
9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
9069 if (obj0) {
9070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
9071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9072 }
9073 if (obj1) {
9074 arg2 = (int) SWIG_AsInt(obj1);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 {
9078 PyThreadState* __tstate = wxPyBeginAllowThreads();
9079 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
9080
9081 wxPyEndAllowThreads(__tstate);
9082 if (PyErr_Occurred()) SWIG_fail;
9083 }
9084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
9085 return resultobj;
9086 fail:
9087 return NULL;
9088}
9089
9090
9091static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9092 PyObject *resultobj;
9093 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9094 PyObject *arg2 = (PyObject *) 0 ;
9095 PyObject *arg3 = (PyObject *) 0 ;
9096 PyObject * obj0 = 0 ;
9097 PyObject * obj1 = 0 ;
9098 PyObject * obj2 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self",(char *) "self",(char *) "_class", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9106 arg2 = obj1;
9107 arg3 = obj2;
9108 {
9109 PyThreadState* __tstate = wxPyBeginAllowThreads();
9110 (arg1)->_setCallbackInfo(arg2,arg3);
9111
9112 wxPyEndAllowThreads(__tstate);
9113 if (PyErr_Occurred()) SWIG_fail;
9114 }
9115 Py_INCREF(Py_None); resultobj = Py_None;
9116 return resultobj;
9117 fail:
9118 return NULL;
9119}
9120
9121
9122static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9125 int arg2 ;
9126 int arg3 ;
9127 PyObject * obj0 = 0 ;
9128 PyObject * obj1 = 0 ;
9129 PyObject * obj2 = 0 ;
9130 char *kwnames[] = {
9131 (char *) "self",(char *) "pid",(char *) "status", NULL
9132 };
9133
9134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9137 arg2 = (int) SWIG_AsInt(obj1);
9138 if (PyErr_Occurred()) SWIG_fail;
9139 arg3 = (int) SWIG_AsInt(obj2);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 (arg1)->base_OnTerminate(arg2,arg3);
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
9148 Py_INCREF(Py_None); resultobj = Py_None;
9149 return resultobj;
9150 fail:
9151 return NULL;
9152}
9153
9154
9155static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
9156 PyObject *resultobj;
9157 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9158 PyObject * obj0 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "self", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
9164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 (arg1)->Redirect();
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 Py_INCREF(Py_None); resultobj = Py_None;
9174 return resultobj;
9175 fail:
9176 return NULL;
9177}
9178
9179
9180static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9183 bool result;
9184 PyObject * obj0 = 0 ;
9185 char *kwnames[] = {
9186 (char *) "self", NULL
9187 };
9188
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
9190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 result = (bool)(arg1)->IsRedirected();
9195
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 {
9200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9201 }
9202 return resultobj;
9203 fail:
9204 return NULL;
9205}
9206
9207
9208static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
9209 PyObject *resultobj;
9210 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9211 PyObject * obj0 = 0 ;
9212 char *kwnames[] = {
9213 (char *) "self", NULL
9214 };
9215
9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
9217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9219 {
9220 PyThreadState* __tstate = wxPyBeginAllowThreads();
9221 (arg1)->Detach();
9222
9223 wxPyEndAllowThreads(__tstate);
9224 if (PyErr_Occurred()) SWIG_fail;
9225 }
9226 Py_INCREF(Py_None); resultobj = Py_None;
9227 return resultobj;
9228 fail:
9229 return NULL;
9230}
9231
9232
9233static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9234 PyObject *resultobj;
9235 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9236 wxInputStream *result;
9237 PyObject * obj0 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "self", NULL
9240 };
9241
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
9243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (wxInputStream *)(arg1)->GetInputStream();
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 {
9253 wxPyInputStream * _ptr = NULL;
9254
9255 if (result) {
9256 _ptr = new wxPyInputStream(result);
9257 }
9258 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9259 }
9260 return resultobj;
9261 fail:
9262 return NULL;
9263}
9264
9265
9266static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9267 PyObject *resultobj;
9268 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9269 wxInputStream *result;
9270 PyObject * obj0 = 0 ;
9271 char *kwnames[] = {
9272 (char *) "self", NULL
9273 };
9274
9275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 result = (wxInputStream *)(arg1)->GetErrorStream();
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 {
9286 wxPyInputStream * _ptr = NULL;
9287
9288 if (result) {
9289 _ptr = new wxPyInputStream(result);
9290 }
9291 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9292 }
9293 return resultobj;
9294 fail:
9295 return NULL;
9296}
9297
9298
9299static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9300 PyObject *resultobj;
9301 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9302 wxOutputStream *result;
9303 PyObject * obj0 = 0 ;
9304 char *kwnames[] = {
9305 (char *) "self", NULL
9306 };
9307
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 result = (wxOutputStream *)(arg1)->GetOutputStream();
9314
9315 wxPyEndAllowThreads(__tstate);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 }
9318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9319 return resultobj;
9320 fail:
9321 return NULL;
9322}
9323
9324
9325static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
9326 PyObject *resultobj;
9327 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9328 PyObject * obj0 = 0 ;
9329 char *kwnames[] = {
9330 (char *) "self", NULL
9331 };
9332
9333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 (arg1)->CloseOutput();
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
9343 Py_INCREF(Py_None); resultobj = Py_None;
9344 return resultobj;
9345 fail:
9346 return NULL;
9347}
9348
9349
9350static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
9351 PyObject *resultobj;
9352 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9353 bool result;
9354 PyObject * obj0 = 0 ;
9355 char *kwnames[] = {
9356 (char *) "self", NULL
9357 };
9358
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9365
9366 wxPyEndAllowThreads(__tstate);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 {
9370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9371 }
9372 return resultobj;
9373 fail:
9374 return NULL;
9375}
9376
9377
9378static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9379 PyObject *resultobj;
9380 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9381 bool result;
9382 PyObject * obj0 = 0 ;
9383 char *kwnames[] = {
9384 (char *) "self", NULL
9385 };
9386
9387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 {
9398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9399 }
9400 return resultobj;
9401 fail:
9402 return NULL;
9403}
9404
9405
9406static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9407 PyObject *resultobj;
9408 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9409 bool result;
9410 PyObject * obj0 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9421
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 {
9426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9427 }
9428 return resultobj;
9429 fail:
9430 return NULL;
9431}
9432
9433
9434static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
9435 PyObject *obj;
9436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9437 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9438 Py_INCREF(obj);
9439 return Py_BuildValue((char *)"");
9440}
9441static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9442 PyObject *resultobj;
9443 int arg1 = (int) 0 ;
9444 int arg2 = (int) 0 ;
9445 int arg3 = (int) 0 ;
9446 wxProcessEvent *result;
9447 PyObject * obj0 = 0 ;
9448 PyObject * obj1 = 0 ;
9449 PyObject * obj2 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9455 if (obj0) {
9456 arg1 = (int) SWIG_AsInt(obj0);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 if (obj1) {
9460 arg2 = (int) SWIG_AsInt(obj1);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 if (obj2) {
9464 arg3 = (int) SWIG_AsInt(obj2);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 }
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9475 return resultobj;
9476 fail:
9477 return NULL;
9478}
9479
9480
9481static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9484 int result;
9485 PyObject * obj0 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9493 {
9494 PyThreadState* __tstate = wxPyBeginAllowThreads();
9495 result = (int)(arg1)->GetPid();
9496
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
9500 resultobj = SWIG_FromInt((int)result);
9501 return resultobj;
9502 fail:
9503 return NULL;
9504}
9505
9506
9507static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9508 PyObject *resultobj;
9509 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9510 int result;
9511 PyObject * obj0 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "self", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (int)(arg1)->GetExitCode();
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 resultobj = SWIG_FromInt((int)result);
9527 return resultobj;
9528 fail:
9529 return NULL;
9530}
9531
9532
9533static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9536 int arg2 ;
9537 PyObject * obj0 = 0 ;
9538 PyObject * obj1 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self",(char *) "m_pid", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9546 arg2 = (int) SWIG_AsInt(obj1);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 if (arg1) (arg1)->m_pid = arg2;
9549
9550 Py_INCREF(Py_None); resultobj = Py_None;
9551 return resultobj;
9552 fail:
9553 return NULL;
9554}
9555
9556
9557static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9558 PyObject *resultobj;
9559 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9560 int result;
9561 PyObject * obj0 = 0 ;
9562 char *kwnames[] = {
9563 (char *) "self", NULL
9564 };
9565
9566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9569 result = (int) ((arg1)->m_pid);
9570
9571 resultobj = SWIG_FromInt((int)result);
9572 return resultobj;
9573 fail:
9574 return NULL;
9575}
9576
9577
9578static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9579 PyObject *resultobj;
9580 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9581 int arg2 ;
9582 PyObject * obj0 = 0 ;
9583 PyObject * obj1 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "self",(char *) "m_exitcode", NULL
9586 };
9587
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9591 arg2 = (int) SWIG_AsInt(obj1);
9592 if (PyErr_Occurred()) SWIG_fail;
9593 if (arg1) (arg1)->m_exitcode = arg2;
9594
9595 Py_INCREF(Py_None); resultobj = Py_None;
9596 return resultobj;
9597 fail:
9598 return NULL;
9599}
9600
9601
9602static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9603 PyObject *resultobj;
9604 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9605 int result;
9606 PyObject * obj0 = 0 ;
9607 char *kwnames[] = {
9608 (char *) "self", NULL
9609 };
9610
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9614 result = (int) ((arg1)->m_exitcode);
9615
9616 resultobj = SWIG_FromInt((int)result);
9617 return resultobj;
9618 fail:
9619 return NULL;
9620}
9621
9622
9623static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9624 PyObject *obj;
9625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9626 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9627 Py_INCREF(obj);
9628 return Py_BuildValue((char *)"");
9629}
9630static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxString *arg1 = 0 ;
9633 int arg2 = (int) wxEXEC_ASYNC ;
9634 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9635 long result;
9636 bool temp1 = False ;
9637 PyObject * obj0 = 0 ;
9638 PyObject * obj1 = 0 ;
9639 PyObject * obj2 = 0 ;
9640 char *kwnames[] = {
9641 (char *) "command",(char *) "flags",(char *) "process", NULL
9642 };
9643
9644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9645 {
9646 arg1 = wxString_in_helper(obj0);
9647 if (arg1 == NULL) SWIG_fail;
9648 temp1 = True;
9649 }
9650 if (obj1) {
9651 arg2 = (int) SWIG_AsInt(obj1);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 if (obj2) {
9655 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9657 }
9658 {
0439c23b 9659 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
9661 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9662
9663 wxPyEndAllowThreads(__tstate);
0439c23b 9664 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9665 }
9666 resultobj = SWIG_FromLong((long)result);
9667 {
9668 if (temp1)
9669 delete arg1;
9670 }
9671 return resultobj;
9672 fail:
9673 {
9674 if (temp1)
9675 delete arg1;
9676 }
9677 return NULL;
9678}
9679
9680
9681static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9682 PyObject *resultobj;
9683 int arg1 = (int) wxJOYSTICK1 ;
9684 wxJoystick *result;
9685 PyObject * obj0 = 0 ;
9686 char *kwnames[] = {
9687 (char *) "joystick", NULL
9688 };
9689
9690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9691 if (obj0) {
9692 arg1 = (int) SWIG_AsInt(obj0);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
9695 {
0439c23b 9696 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 result = (wxJoystick *)new wxJoystick(arg1);
9699
9700 wxPyEndAllowThreads(__tstate);
0439c23b 9701 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9702 }
9703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
9704 return resultobj;
9705 fail:
9706 return NULL;
9707}
9708
9709
9710static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9711 PyObject *resultobj;
9712 wxJoystick *arg1 = (wxJoystick *) 0 ;
9713 PyObject * obj0 = 0 ;
9714 char *kwnames[] = {
9715 (char *) "self", NULL
9716 };
9717
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 delete arg1;
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 Py_INCREF(Py_None); resultobj = Py_None;
9729 return resultobj;
9730 fail:
9731 return NULL;
9732}
9733
9734
9735static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9736 PyObject *resultobj;
9737 wxJoystick *arg1 = (wxJoystick *) 0 ;
9738 wxPoint result;
9739 PyObject * obj0 = 0 ;
9740 char *kwnames[] = {
9741 (char *) "self", NULL
9742 };
9743
9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (arg1)->GetPosition();
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 {
9755 wxPoint * resultptr;
9756 resultptr = new wxPoint((wxPoint &) result);
9757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9758 }
9759 return resultobj;
9760 fail:
9761 return NULL;
9762}
9763
9764
9765static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxJoystick *arg1 = (wxJoystick *) 0 ;
9768 int result;
9769 PyObject * obj0 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9777 {
9778 PyThreadState* __tstate = wxPyBeginAllowThreads();
9779 result = (int)(arg1)->GetZPosition();
9780
9781 wxPyEndAllowThreads(__tstate);
9782 if (PyErr_Occurred()) SWIG_fail;
9783 }
9784 resultobj = SWIG_FromInt((int)result);
9785 return resultobj;
9786 fail:
9787 return NULL;
9788}
9789
9790
9791static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9792 PyObject *resultobj;
9793 wxJoystick *arg1 = (wxJoystick *) 0 ;
9794 int result;
9795 PyObject * obj0 = 0 ;
9796 char *kwnames[] = {
9797 (char *) "self", NULL
9798 };
9799
9800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9803 {
9804 PyThreadState* __tstate = wxPyBeginAllowThreads();
9805 result = (int)(arg1)->GetButtonState();
9806
9807 wxPyEndAllowThreads(__tstate);
9808 if (PyErr_Occurred()) SWIG_fail;
9809 }
9810 resultobj = SWIG_FromInt((int)result);
9811 return resultobj;
9812 fail:
9813 return NULL;
9814}
9815
9816
9817static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxJoystick *arg1 = (wxJoystick *) 0 ;
9820 int result;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9829 {
9830 PyThreadState* __tstate = wxPyBeginAllowThreads();
9831 result = (int)(arg1)->GetPOVPosition();
9832
9833 wxPyEndAllowThreads(__tstate);
9834 if (PyErr_Occurred()) SWIG_fail;
9835 }
9836 resultobj = SWIG_FromInt((int)result);
9837 return resultobj;
9838 fail:
9839 return NULL;
9840}
9841
9842
9843static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9844 PyObject *resultobj;
9845 wxJoystick *arg1 = (wxJoystick *) 0 ;
9846 int result;
9847 PyObject * obj0 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 result = (int)(arg1)->GetPOVCTSPosition();
9858
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 }
9862 resultobj = SWIG_FromInt((int)result);
9863 return resultobj;
9864 fail:
9865 return NULL;
9866}
9867
9868
9869static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj;
9871 wxJoystick *arg1 = (wxJoystick *) 0 ;
9872 int result;
9873 PyObject * obj0 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 result = (int)(arg1)->GetRudderPosition();
9884
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 resultobj = SWIG_FromInt((int)result);
9889 return resultobj;
9890 fail:
9891 return NULL;
9892}
9893
9894
9895static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj;
9897 wxJoystick *arg1 = (wxJoystick *) 0 ;
9898 int result;
9899 PyObject * obj0 = 0 ;
9900 char *kwnames[] = {
9901 (char *) "self", NULL
9902 };
9903
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 result = (int)(arg1)->GetUPosition();
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 resultobj = SWIG_FromInt((int)result);
9915 return resultobj;
9916 fail:
9917 return NULL;
9918}
9919
9920
9921static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9922 PyObject *resultobj;
9923 wxJoystick *arg1 = (wxJoystick *) 0 ;
9924 int result;
9925 PyObject * obj0 = 0 ;
9926 char *kwnames[] = {
9927 (char *) "self", NULL
9928 };
9929
9930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9933 {
9934 PyThreadState* __tstate = wxPyBeginAllowThreads();
9935 result = (int)(arg1)->GetVPosition();
9936
9937 wxPyEndAllowThreads(__tstate);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
9940 resultobj = SWIG_FromInt((int)result);
9941 return resultobj;
9942 fail:
9943 return NULL;
9944}
9945
9946
9947static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9948 PyObject *resultobj;
9949 wxJoystick *arg1 = (wxJoystick *) 0 ;
9950 int result;
9951 PyObject * obj0 = 0 ;
9952 char *kwnames[] = {
9953 (char *) "self", NULL
9954 };
9955
9956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9959 {
9960 PyThreadState* __tstate = wxPyBeginAllowThreads();
9961 result = (int)(arg1)->GetMovementThreshold();
9962
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 resultobj = SWIG_FromInt((int)result);
9967 return resultobj;
9968 fail:
9969 return NULL;
9970}
9971
9972
9973static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9974 PyObject *resultobj;
9975 wxJoystick *arg1 = (wxJoystick *) 0 ;
9976 int arg2 ;
9977 PyObject * obj0 = 0 ;
9978 PyObject * obj1 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self",(char *) "threshold", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
9984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9986 arg2 = (int) SWIG_AsInt(obj1);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 (arg1)->SetMovementThreshold(arg2);
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 Py_INCREF(Py_None); resultobj = Py_None;
9996 return resultobj;
9997 fail:
9998 return NULL;
9999}
10000
10001
10002static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10003 PyObject *resultobj;
10004 wxJoystick *arg1 = (wxJoystick *) 0 ;
10005 bool result;
10006 PyObject * obj0 = 0 ;
10007 char *kwnames[] = {
10008 (char *) "self", NULL
10009 };
10010
10011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
10012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 result = (bool)(arg1)->IsOk();
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 {
10022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10023 }
10024 return resultobj;
10025 fail:
10026 return NULL;
10027}
10028
10029
10030static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
10031 PyObject *resultobj;
10032 wxJoystick *arg1 = (wxJoystick *) 0 ;
10033 int result;
10034 PyObject * obj0 = 0 ;
10035 char *kwnames[] = {
10036 (char *) "self", NULL
10037 };
10038
10039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
10040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10042 {
10043 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044 result = (int)(arg1)->GetNumberJoysticks();
10045
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
10049 resultobj = SWIG_FromInt((int)result);
10050 return resultobj;
10051 fail:
10052 return NULL;
10053}
10054
10055
10056static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
10057 PyObject *resultobj;
10058 wxJoystick *arg1 = (wxJoystick *) 0 ;
10059 int result;
10060 PyObject * obj0 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "self", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
10066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 result = (int)(arg1)->GetManufacturerId();
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 resultobj = SWIG_FromInt((int)result);
10076 return resultobj;
10077 fail:
10078 return NULL;
10079}
10080
10081
10082static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
10083 PyObject *resultobj;
10084 wxJoystick *arg1 = (wxJoystick *) 0 ;
10085 int result;
10086 PyObject * obj0 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self", NULL
10089 };
10090
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
10092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 result = (int)(arg1)->GetProductId();
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 resultobj = SWIG_FromInt((int)result);
10102 return resultobj;
10103 fail:
10104 return NULL;
10105}
10106
10107
10108static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
10109 PyObject *resultobj;
10110 wxJoystick *arg1 = (wxJoystick *) 0 ;
10111 wxString result;
10112 PyObject * obj0 = 0 ;
10113 char *kwnames[] = {
10114 (char *) "self", NULL
10115 };
10116
10117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
10118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 result = (arg1)->GetProductName();
10123
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 {
10128#if wxUSE_UNICODE
10129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10130#else
10131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10132#endif
10133 }
10134 return resultobj;
10135 fail:
10136 return NULL;
10137}
10138
10139
10140static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj;
10142 wxJoystick *arg1 = (wxJoystick *) 0 ;
10143 int result;
10144 PyObject * obj0 = 0 ;
10145 char *kwnames[] = {
10146 (char *) "self", NULL
10147 };
10148
10149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
10150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10152 {
10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
10154 result = (int)(arg1)->GetXMin();
10155
10156 wxPyEndAllowThreads(__tstate);
10157 if (PyErr_Occurred()) SWIG_fail;
10158 }
10159 resultobj = SWIG_FromInt((int)result);
10160 return resultobj;
10161 fail:
10162 return NULL;
10163}
10164
10165
10166static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10167 PyObject *resultobj;
10168 wxJoystick *arg1 = (wxJoystick *) 0 ;
10169 int result;
10170 PyObject * obj0 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
10176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = (int)(arg1)->GetYMin();
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 resultobj = SWIG_FromInt((int)result);
10186 return resultobj;
10187 fail:
10188 return NULL;
10189}
10190
10191
10192static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10193 PyObject *resultobj;
10194 wxJoystick *arg1 = (wxJoystick *) 0 ;
10195 int result;
10196 PyObject * obj0 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 result = (int)(arg1)->GetZMin();
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 resultobj = SWIG_FromInt((int)result);
10212 return resultobj;
10213 fail:
10214 return NULL;
10215}
10216
10217
10218static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10219 PyObject *resultobj;
10220 wxJoystick *arg1 = (wxJoystick *) 0 ;
10221 int result;
10222 PyObject * obj0 = 0 ;
10223 char *kwnames[] = {
10224 (char *) "self", NULL
10225 };
10226
10227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
10228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 result = (int)(arg1)->GetXMax();
10233
10234 wxPyEndAllowThreads(__tstate);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 }
10237 resultobj = SWIG_FromInt((int)result);
10238 return resultobj;
10239 fail:
10240 return NULL;
10241}
10242
10243
10244static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxJoystick *arg1 = (wxJoystick *) 0 ;
10247 int result;
10248 PyObject * obj0 = 0 ;
10249 char *kwnames[] = {
10250 (char *) "self", NULL
10251 };
10252
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
10254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 result = (int)(arg1)->GetYMax();
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 resultobj = SWIG_FromInt((int)result);
10264 return resultobj;
10265 fail:
10266 return NULL;
10267}
10268
10269
10270static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject *resultobj;
10272 wxJoystick *arg1 = (wxJoystick *) 0 ;
10273 int result;
10274 PyObject * obj0 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 result = (int)(arg1)->GetZMax();
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 resultobj = SWIG_FromInt((int)result);
10290 return resultobj;
10291 fail:
10292 return NULL;
10293}
10294
10295
10296static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxJoystick *arg1 = (wxJoystick *) 0 ;
10299 int result;
10300 PyObject * obj0 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 result = (int)(arg1)->GetNumberButtons();
10311
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 resultobj = SWIG_FromInt((int)result);
10316 return resultobj;
10317 fail:
10318 return NULL;
10319}
10320
10321
10322static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj;
10324 wxJoystick *arg1 = (wxJoystick *) 0 ;
10325 int result;
10326 PyObject * obj0 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 result = (int)(arg1)->GetNumberAxes();
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 resultobj = SWIG_FromInt((int)result);
10342 return resultobj;
10343 fail:
10344 return NULL;
10345}
10346
10347
10348static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10349 PyObject *resultobj;
10350 wxJoystick *arg1 = (wxJoystick *) 0 ;
10351 int result;
10352 PyObject * obj0 = 0 ;
10353 char *kwnames[] = {
10354 (char *) "self", NULL
10355 };
10356
10357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 result = (int)(arg1)->GetMaxButtons();
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 resultobj = SWIG_FromInt((int)result);
10368 return resultobj;
10369 fail:
10370 return NULL;
10371}
10372
10373
10374static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10375 PyObject *resultobj;
10376 wxJoystick *arg1 = (wxJoystick *) 0 ;
10377 int result;
10378 PyObject * obj0 = 0 ;
10379 char *kwnames[] = {
10380 (char *) "self", NULL
10381 };
10382
10383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 result = (int)(arg1)->GetMaxAxes();
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 resultobj = SWIG_FromInt((int)result);
10394 return resultobj;
10395 fail:
10396 return NULL;
10397}
10398
10399
10400static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj;
10402 wxJoystick *arg1 = (wxJoystick *) 0 ;
10403 int result;
10404 PyObject * obj0 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 result = (int)(arg1)->GetPollingMin();
10415
10416 wxPyEndAllowThreads(__tstate);
10417 if (PyErr_Occurred()) SWIG_fail;
10418 }
10419 resultobj = SWIG_FromInt((int)result);
10420 return resultobj;
10421 fail:
10422 return NULL;
10423}
10424
10425
10426static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10427 PyObject *resultobj;
10428 wxJoystick *arg1 = (wxJoystick *) 0 ;
10429 int result;
10430 PyObject * obj0 = 0 ;
10431 char *kwnames[] = {
10432 (char *) "self", NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 result = (int)(arg1)->GetPollingMax();
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 resultobj = SWIG_FromInt((int)result);
10446 return resultobj;
10447 fail:
10448 return NULL;
10449}
10450
10451
10452static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxJoystick *arg1 = (wxJoystick *) 0 ;
10455 int result;
10456 PyObject * obj0 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10464 {
10465 PyThreadState* __tstate = wxPyBeginAllowThreads();
10466 result = (int)(arg1)->GetRudderMin();
10467
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 resultobj = SWIG_FromInt((int)result);
10472 return resultobj;
10473 fail:
10474 return NULL;
10475}
10476
10477
10478static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj;
10480 wxJoystick *arg1 = (wxJoystick *) 0 ;
10481 int result;
10482 PyObject * obj0 = 0 ;
10483 char *kwnames[] = {
10484 (char *) "self", NULL
10485 };
10486
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 result = (int)(arg1)->GetRudderMax();
10493
10494 wxPyEndAllowThreads(__tstate);
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
10497 resultobj = SWIG_FromInt((int)result);
10498 return resultobj;
10499 fail:
10500 return NULL;
10501}
10502
10503
10504static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10505 PyObject *resultobj;
10506 wxJoystick *arg1 = (wxJoystick *) 0 ;
10507 int result;
10508 PyObject * obj0 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 result = (int)(arg1)->GetUMin();
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 resultobj = SWIG_FromInt((int)result);
10524 return resultobj;
10525 fail:
10526 return NULL;
10527}
10528
10529
10530static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10531 PyObject *resultobj;
10532 wxJoystick *arg1 = (wxJoystick *) 0 ;
10533 int result;
10534 PyObject * obj0 = 0 ;
10535 char *kwnames[] = {
10536 (char *) "self", NULL
10537 };
10538
10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10542 {
10543 PyThreadState* __tstate = wxPyBeginAllowThreads();
10544 result = (int)(arg1)->GetUMax();
10545
10546 wxPyEndAllowThreads(__tstate);
10547 if (PyErr_Occurred()) SWIG_fail;
10548 }
10549 resultobj = SWIG_FromInt((int)result);
10550 return resultobj;
10551 fail:
10552 return NULL;
10553}
10554
10555
10556static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10557 PyObject *resultobj;
10558 wxJoystick *arg1 = (wxJoystick *) 0 ;
10559 int result;
10560 PyObject * obj0 = 0 ;
10561 char *kwnames[] = {
10562 (char *) "self", NULL
10563 };
10564
10565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10568 {
10569 PyThreadState* __tstate = wxPyBeginAllowThreads();
10570 result = (int)(arg1)->GetVMin();
10571
10572 wxPyEndAllowThreads(__tstate);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 }
10575 resultobj = SWIG_FromInt((int)result);
10576 return resultobj;
10577 fail:
10578 return NULL;
10579}
10580
10581
10582static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj;
10584 wxJoystick *arg1 = (wxJoystick *) 0 ;
10585 int result;
10586 PyObject * obj0 = 0 ;
10587 char *kwnames[] = {
10588 (char *) "self", NULL
10589 };
10590
10591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10594 {
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 result = (int)(arg1)->GetVMax();
10597
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 }
10601 resultobj = SWIG_FromInt((int)result);
10602 return resultobj;
10603 fail:
10604 return NULL;
10605}
10606
10607
10608static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj;
10610 wxJoystick *arg1 = (wxJoystick *) 0 ;
10611 bool result;
10612 PyObject * obj0 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 result = (bool)(arg1)->HasRudder();
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 {
10628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10629 }
10630 return resultobj;
10631 fail:
10632 return NULL;
10633}
10634
10635
10636static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10637 PyObject *resultobj;
10638 wxJoystick *arg1 = (wxJoystick *) 0 ;
10639 bool result;
10640 PyObject * obj0 = 0 ;
10641 char *kwnames[] = {
10642 (char *) "self", NULL
10643 };
10644
10645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (bool)(arg1)->HasZ();
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 {
10656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10657 }
10658 return resultobj;
10659 fail:
10660 return NULL;
10661}
10662
10663
10664static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10665 PyObject *resultobj;
10666 wxJoystick *arg1 = (wxJoystick *) 0 ;
10667 bool result;
10668 PyObject * obj0 = 0 ;
10669 char *kwnames[] = {
10670 (char *) "self", NULL
10671 };
10672
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 result = (bool)(arg1)->HasU();
10679
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 {
10684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10685 }
10686 return resultobj;
10687 fail:
10688 return NULL;
10689}
10690
10691
10692static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10693 PyObject *resultobj;
10694 wxJoystick *arg1 = (wxJoystick *) 0 ;
10695 bool result;
10696 PyObject * obj0 = 0 ;
10697 char *kwnames[] = {
10698 (char *) "self", NULL
10699 };
10700
10701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 result = (bool)(arg1)->HasV();
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 {
10712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10713 }
10714 return resultobj;
10715 fail:
10716 return NULL;
10717}
10718
10719
10720static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10721 PyObject *resultobj;
10722 wxJoystick *arg1 = (wxJoystick *) 0 ;
10723 bool result;
10724 PyObject * obj0 = 0 ;
10725 char *kwnames[] = {
10726 (char *) "self", NULL
10727 };
10728
10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10732 {
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 result = (bool)(arg1)->HasPOV();
10735
10736 wxPyEndAllowThreads(__tstate);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 {
10740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10741 }
10742 return resultobj;
10743 fail:
10744 return NULL;
10745}
10746
10747
10748static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10749 PyObject *resultobj;
10750 wxJoystick *arg1 = (wxJoystick *) 0 ;
10751 bool result;
10752 PyObject * obj0 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "self", NULL
10755 };
10756
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = (bool)(arg1)->HasPOV4Dir();
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 {
10768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10769 }
10770 return resultobj;
10771 fail:
10772 return NULL;
10773}
10774
10775
10776static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10777 PyObject *resultobj;
10778 wxJoystick *arg1 = (wxJoystick *) 0 ;
10779 bool result;
10780 PyObject * obj0 = 0 ;
10781 char *kwnames[] = {
10782 (char *) "self", NULL
10783 };
10784
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10788 {
10789 PyThreadState* __tstate = wxPyBeginAllowThreads();
10790 result = (bool)(arg1)->HasPOVCTS();
10791
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 {
10796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10797 }
10798 return resultobj;
10799 fail:
10800 return NULL;
10801}
10802
10803
10804static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj;
10806 wxJoystick *arg1 = (wxJoystick *) 0 ;
10807 wxWindow *arg2 = (wxWindow *) 0 ;
10808 int arg3 = (int) 0 ;
10809 bool result;
10810 PyObject * obj0 = 0 ;
10811 PyObject * obj1 = 0 ;
10812 PyObject * obj2 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10822 if (obj2) {
10823 arg3 = (int) SWIG_AsInt(obj2);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 result = (bool)(arg1)->SetCapture(arg2,arg3);
10829
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) SWIG_fail;
10832 }
10833 {
10834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10835 }
10836 return resultobj;
10837 fail:
10838 return NULL;
10839}
10840
10841
10842static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj;
10844 wxJoystick *arg1 = (wxJoystick *) 0 ;
10845 bool result;
10846 PyObject * obj0 = 0 ;
10847 char *kwnames[] = {
10848 (char *) "self", NULL
10849 };
10850
10851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10854 {
10855 PyThreadState* __tstate = wxPyBeginAllowThreads();
10856 result = (bool)(arg1)->ReleaseCapture();
10857
10858 wxPyEndAllowThreads(__tstate);
10859 if (PyErr_Occurred()) SWIG_fail;
10860 }
10861 {
10862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10863 }
10864 return resultobj;
10865 fail:
10866 return NULL;
10867}
10868
10869
10870static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10871 PyObject *obj;
10872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10873 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10874 Py_INCREF(obj);
10875 return Py_BuildValue((char *)"");
10876}
10877static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10878 PyObject *resultobj;
10879 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10880 wxPoint *arg2 = (wxPoint *) 0 ;
10881 PyObject * obj0 = 0 ;
10882 PyObject * obj1 = 0 ;
10883 char *kwnames[] = {
10884 (char *) "self",(char *) "m_pos", NULL
10885 };
10886
10887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10892 if (arg1) (arg1)->m_pos = *arg2;
10893
10894 Py_INCREF(Py_None); resultobj = Py_None;
10895 return resultobj;
10896 fail:
10897 return NULL;
10898}
10899
10900
10901static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10902 PyObject *resultobj;
10903 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10904 wxPoint *result;
10905 PyObject * obj0 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10913 result = (wxPoint *)& ((arg1)->m_pos);
10914
10915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
10916 return resultobj;
10917 fail:
10918 return NULL;
10919}
10920
10921
10922static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj;
10924 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10925 int arg2 ;
10926 PyObject * obj0 = 0 ;
10927 PyObject * obj1 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self",(char *) "m_zPosition", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10935 arg2 = (int) SWIG_AsInt(obj1);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 if (arg1) (arg1)->m_zPosition = arg2;
10938
10939 Py_INCREF(Py_None); resultobj = Py_None;
10940 return resultobj;
10941 fail:
10942 return NULL;
10943}
10944
10945
10946static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10947 PyObject *resultobj;
10948 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10949 int result;
10950 PyObject * obj0 = 0 ;
10951 char *kwnames[] = {
10952 (char *) "self", NULL
10953 };
10954
10955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10958 result = (int) ((arg1)->m_zPosition);
10959
10960 resultobj = SWIG_FromInt((int)result);
10961 return resultobj;
10962 fail:
10963 return NULL;
10964}
10965
10966
10967static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10968 PyObject *resultobj;
10969 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10970 int arg2 ;
10971 PyObject * obj0 = 0 ;
10972 PyObject * obj1 = 0 ;
10973 char *kwnames[] = {
10974 (char *) "self",(char *) "m_buttonChange", NULL
10975 };
10976
10977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
10978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10980 arg2 = (int) SWIG_AsInt(obj1);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 if (arg1) (arg1)->m_buttonChange = arg2;
10983
10984 Py_INCREF(Py_None); resultobj = Py_None;
10985 return resultobj;
10986 fail:
10987 return NULL;
10988}
10989
10990
10991static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10992 PyObject *resultobj;
10993 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10994 int result;
10995 PyObject * obj0 = 0 ;
10996 char *kwnames[] = {
10997 (char *) "self", NULL
10998 };
10999
11000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
11001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11003 result = (int) ((arg1)->m_buttonChange);
11004
11005 resultobj = SWIG_FromInt((int)result);
11006 return resultobj;
11007 fail:
11008 return NULL;
11009}
11010
11011
11012static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11013 PyObject *resultobj;
11014 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11015 int arg2 ;
11016 PyObject * obj0 = 0 ;
11017 PyObject * obj1 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self",(char *) "m_buttonState", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
11023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11025 arg2 = (int) SWIG_AsInt(obj1);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 if (arg1) (arg1)->m_buttonState = arg2;
11028
11029 Py_INCREF(Py_None); resultobj = Py_None;
11030 return resultobj;
11031 fail:
11032 return NULL;
11033}
11034
11035
11036static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11037 PyObject *resultobj;
11038 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11039 int result;
11040 PyObject * obj0 = 0 ;
11041 char *kwnames[] = {
11042 (char *) "self", NULL
11043 };
11044
11045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
11046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11048 result = (int) ((arg1)->m_buttonState);
11049
11050 resultobj = SWIG_FromInt((int)result);
11051 return resultobj;
11052 fail:
11053 return NULL;
11054}
11055
11056
11057static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11058 PyObject *resultobj;
11059 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11060 int arg2 ;
11061 PyObject * obj0 = 0 ;
11062 PyObject * obj1 = 0 ;
11063 char *kwnames[] = {
11064 (char *) "self",(char *) "m_joyStick", NULL
11065 };
11066
11067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
11068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11070 arg2 = (int) SWIG_AsInt(obj1);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 if (arg1) (arg1)->m_joyStick = arg2;
11073
11074 Py_INCREF(Py_None); resultobj = Py_None;
11075 return resultobj;
11076 fail:
11077 return NULL;
11078}
11079
11080
11081static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11082 PyObject *resultobj;
11083 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11084 int result;
11085 PyObject * obj0 = 0 ;
11086 char *kwnames[] = {
11087 (char *) "self", NULL
11088 };
11089
11090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
11091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11093 result = (int) ((arg1)->m_joyStick);
11094
11095 resultobj = SWIG_FromInt((int)result);
11096 return resultobj;
11097 fail:
11098 return NULL;
11099}
11100
11101
11102static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11103 PyObject *resultobj;
11104 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11105 int arg2 = (int) 0 ;
11106 int arg3 = (int) wxJOYSTICK1 ;
11107 int arg4 = (int) 0 ;
11108 wxJoystickEvent *result;
11109 PyObject * obj0 = 0 ;
11110 PyObject * obj1 = 0 ;
11111 PyObject * obj2 = 0 ;
11112 PyObject * obj3 = 0 ;
11113 char *kwnames[] = {
11114 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11115 };
11116
11117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11118 if (obj0) {
11119 arg1 = (wxEventType) SWIG_AsInt(obj0);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 if (obj1) {
11123 arg2 = (int) SWIG_AsInt(obj1);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 }
11126 if (obj2) {
11127 arg3 = (int) SWIG_AsInt(obj2);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 }
11130 if (obj3) {
11131 arg4 = (int) SWIG_AsInt(obj3);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 {
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
11136 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
11137
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
11142 return resultobj;
11143 fail:
11144 return NULL;
11145}
11146
11147
11148static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11149 PyObject *resultobj;
11150 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11151 wxPoint result;
11152 PyObject * obj0 = 0 ;
11153 char *kwnames[] = {
11154 (char *) "self", NULL
11155 };
11156
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
11158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
11162 result = ((wxJoystickEvent const *)arg1)->GetPosition();
11163
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
11167 {
11168 wxPoint * resultptr;
11169 resultptr = new wxPoint((wxPoint &) result);
11170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11171 }
11172 return resultobj;
11173 fail:
11174 return NULL;
11175}
11176
11177
11178static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11179 PyObject *resultobj;
11180 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11181 int result;
11182 PyObject * obj0 = 0 ;
11183 char *kwnames[] = {
11184 (char *) "self", NULL
11185 };
11186
11187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
11188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11190 {
11191 PyThreadState* __tstate = wxPyBeginAllowThreads();
11192 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
11193
11194 wxPyEndAllowThreads(__tstate);
11195 if (PyErr_Occurred()) SWIG_fail;
11196 }
11197 resultobj = SWIG_FromInt((int)result);
11198 return resultobj;
11199 fail:
11200 return NULL;
11201}
11202
11203
11204static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11205 PyObject *resultobj;
11206 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11207 int result;
11208 PyObject * obj0 = 0 ;
11209 char *kwnames[] = {
11210 (char *) "self", NULL
11211 };
11212
11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
11214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11216 {
11217 PyThreadState* __tstate = wxPyBeginAllowThreads();
11218 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
11219
11220 wxPyEndAllowThreads(__tstate);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 }
11223 resultobj = SWIG_FromInt((int)result);
11224 return resultobj;
11225 fail:
11226 return NULL;
11227}
11228
11229
11230static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11231 PyObject *resultobj;
11232 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11233 int result;
11234 PyObject * obj0 = 0 ;
11235 char *kwnames[] = {
11236 (char *) "self", NULL
11237 };
11238
11239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
11240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11242 {
11243 PyThreadState* __tstate = wxPyBeginAllowThreads();
11244 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
11245
11246 wxPyEndAllowThreads(__tstate);
11247 if (PyErr_Occurred()) SWIG_fail;
11248 }
11249 resultobj = SWIG_FromInt((int)result);
11250 return resultobj;
11251 fail:
11252 return NULL;
11253}
11254
11255
11256static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11257 PyObject *resultobj;
11258 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11259 int result;
11260 PyObject * obj0 = 0 ;
11261 char *kwnames[] = {
11262 (char *) "self", NULL
11263 };
11264
11265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11271
11272 wxPyEndAllowThreads(__tstate);
11273 if (PyErr_Occurred()) SWIG_fail;
11274 }
11275 resultobj = SWIG_FromInt((int)result);
11276 return resultobj;
11277 fail:
11278 return NULL;
11279}
11280
11281
11282static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11283 PyObject *resultobj;
11284 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11285 int arg2 ;
11286 PyObject * obj0 = 0 ;
11287 PyObject * obj1 = 0 ;
11288 char *kwnames[] = {
11289 (char *) "self",(char *) "stick", NULL
11290 };
11291
11292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11295 arg2 = (int) SWIG_AsInt(obj1);
11296 if (PyErr_Occurred()) SWIG_fail;
11297 {
11298 PyThreadState* __tstate = wxPyBeginAllowThreads();
11299 (arg1)->SetJoystick(arg2);
11300
11301 wxPyEndAllowThreads(__tstate);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 Py_INCREF(Py_None); resultobj = Py_None;
11305 return resultobj;
11306 fail:
11307 return NULL;
11308}
11309
11310
11311static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11312 PyObject *resultobj;
11313 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11314 int arg2 ;
11315 PyObject * obj0 = 0 ;
11316 PyObject * obj1 = 0 ;
11317 char *kwnames[] = {
11318 (char *) "self",(char *) "state", NULL
11319 };
11320
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11324 arg2 = (int) SWIG_AsInt(obj1);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 (arg1)->SetButtonState(arg2);
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 Py_INCREF(Py_None); resultobj = Py_None;
11334 return resultobj;
11335 fail:
11336 return NULL;
11337}
11338
11339
11340static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11341 PyObject *resultobj;
11342 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11343 int arg2 ;
11344 PyObject * obj0 = 0 ;
11345 PyObject * obj1 = 0 ;
11346 char *kwnames[] = {
11347 (char *) "self",(char *) "change", NULL
11348 };
11349
11350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11353 arg2 = (int) SWIG_AsInt(obj1);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 {
11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
11357 (arg1)->SetButtonChange(arg2);
11358
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 Py_INCREF(Py_None); resultobj = Py_None;
11363 return resultobj;
11364 fail:
11365 return NULL;
11366}
11367
11368
11369static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11370 PyObject *resultobj;
11371 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11372 wxPoint *arg2 = 0 ;
11373 wxPoint temp2 ;
11374 PyObject * obj0 = 0 ;
11375 PyObject * obj1 = 0 ;
11376 char *kwnames[] = {
11377 (char *) "self",(char *) "pos", NULL
11378 };
11379
11380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11383 {
11384 arg2 = &temp2;
11385 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11386 }
11387 {
11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
11389 (arg1)->SetPosition((wxPoint const &)*arg2);
11390
11391 wxPyEndAllowThreads(__tstate);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
11394 Py_INCREF(Py_None); resultobj = Py_None;
11395 return resultobj;
11396 fail:
11397 return NULL;
11398}
11399
11400
11401static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11402 PyObject *resultobj;
11403 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11404 int arg2 ;
11405 PyObject * obj0 = 0 ;
11406 PyObject * obj1 = 0 ;
11407 char *kwnames[] = {
11408 (char *) "self",(char *) "zPos", NULL
11409 };
11410
11411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11414 arg2 = (int) SWIG_AsInt(obj1);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 (arg1)->SetZPosition(arg2);
11419
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 Py_INCREF(Py_None); resultobj = Py_None;
11424 return resultobj;
11425 fail:
11426 return NULL;
11427}
11428
11429
11430static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11431 PyObject *resultobj;
11432 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11433 bool result;
11434 PyObject * obj0 = 0 ;
11435 char *kwnames[] = {
11436 (char *) "self", NULL
11437 };
11438
11439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 {
11450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11451 }
11452 return resultobj;
11453 fail:
11454 return NULL;
11455}
11456
11457
11458static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11459 PyObject *resultobj;
11460 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11461 bool result;
11462 PyObject * obj0 = 0 ;
11463 char *kwnames[] = {
11464 (char *) "self", NULL
11465 };
11466
11467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 {
11478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11479 }
11480 return resultobj;
11481 fail:
11482 return NULL;
11483}
11484
11485
11486static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11487 PyObject *resultobj;
11488 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11489 bool result;
11490 PyObject * obj0 = 0 ;
11491 char *kwnames[] = {
11492 (char *) "self", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 {
11506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11507 }
11508 return resultobj;
11509 fail:
11510 return NULL;
11511}
11512
11513
11514static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj;
11516 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11517 int arg2 = (int) wxJOY_BUTTON_ANY ;
11518 bool result;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "but", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11528 if (obj1) {
11529 arg2 = (int) SWIG_AsInt(obj1);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 {
11540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11541 }
11542 return resultobj;
11543 fail:
11544 return NULL;
11545}
11546
11547
11548static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11549 PyObject *resultobj;
11550 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11551 int arg2 = (int) wxJOY_BUTTON_ANY ;
11552 bool result;
11553 PyObject * obj0 = 0 ;
11554 PyObject * obj1 = 0 ;
11555 char *kwnames[] = {
11556 (char *) "self",(char *) "but", NULL
11557 };
11558
11559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11562 if (obj1) {
11563 arg2 = (int) SWIG_AsInt(obj1);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 {
11567 PyThreadState* __tstate = wxPyBeginAllowThreads();
11568 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11569
11570 wxPyEndAllowThreads(__tstate);
11571 if (PyErr_Occurred()) SWIG_fail;
11572 }
11573 {
11574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11575 }
11576 return resultobj;
11577 fail:
11578 return NULL;
11579}
11580
11581
11582static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11583 PyObject *resultobj;
11584 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11585 int arg2 = (int) wxJOY_BUTTON_ANY ;
11586 bool result;
11587 PyObject * obj0 = 0 ;
11588 PyObject * obj1 = 0 ;
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "but", NULL
11591 };
11592
11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11596 if (obj1) {
11597 arg2 = (int) SWIG_AsInt(obj1);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 {
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11603
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 {
11608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11609 }
11610 return resultobj;
11611 fail:
11612 return NULL;
11613}
11614
11615
11616static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11617 PyObject *obj;
11618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11619 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11620 Py_INCREF(obj);
11621 return Py_BuildValue((char *)"");
11622}
b1f29bf7 11623static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 11624 PyObject *resultobj;
b1f29bf7
RD
11625 wxString const &arg1_defvalue = wxPyEmptyString ;
11626 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc
RD
11627 wxSound *result;
11628 bool temp1 = False ;
11629 PyObject * obj0 = 0 ;
b1f29bf7
RD
11630 char *kwnames[] = {
11631 (char *) "fileName", NULL
11632 };
d55e5bfc 11633
b1f29bf7
RD
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
11635 if (obj0) {
11636 {
11637 arg1 = wxString_in_helper(obj0);
11638 if (arg1 == NULL) SWIG_fail;
11639 temp1 = True;
11640 }
d55e5bfc
RD
11641 }
11642 {
0439c23b 11643 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11644 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11645 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
11646
11647 wxPyEndAllowThreads(__tstate);
0439c23b 11648 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11649 }
11650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11651 {
11652 if (temp1)
11653 delete arg1;
11654 }
11655 return resultobj;
11656 fail:
11657 {
11658 if (temp1)
11659 delete arg1;
11660 }
11661 return NULL;
11662}
11663
11664
b1f29bf7 11665static PyObject *_wrap_new_SoundFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 11666 PyObject *resultobj;
b1f29bf7 11667 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
11668 wxSound *result;
11669 PyObject * obj0 = 0 ;
b1f29bf7
RD
11670 char *kwnames[] = {
11671 (char *) "data", NULL
11672 };
d55e5bfc 11673
b1f29bf7
RD
11674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
11675 arg1 = obj0;
d55e5bfc 11676 {
0439c23b 11677 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11679 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
11680
11681 wxPyEndAllowThreads(__tstate);
0439c23b 11682 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11683 }
11684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11685 return resultobj;
11686 fail:
11687 return NULL;
11688}
11689
11690
d55e5bfc
RD
11691static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj;
11693 wxSound *arg1 = (wxSound *) 0 ;
11694 PyObject * obj0 = 0 ;
11695 char *kwnames[] = {
11696 (char *) "self", NULL
11697 };
11698
11699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 delete arg1;
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 Py_INCREF(Py_None); resultobj = Py_None;
11710 return resultobj;
11711 fail:
11712 return NULL;
11713}
11714
11715
b1f29bf7 11716static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11717 PyObject *resultobj;
11718 wxSound *arg1 = (wxSound *) 0 ;
11719 wxString *arg2 = 0 ;
d55e5bfc
RD
11720 bool result;
11721 bool temp2 = False ;
11722 PyObject * obj0 = 0 ;
11723 PyObject * obj1 = 0 ;
b1f29bf7
RD
11724 char *kwnames[] = {
11725 (char *) "self",(char *) "fileName", NULL
11726 };
d55e5bfc 11727
b1f29bf7 11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",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;
11731 {
11732 arg2 = wxString_in_helper(obj1);
11733 if (arg2 == NULL) SWIG_fail;
11734 temp2 = True;
11735 }
d55e5bfc
RD
11736 {
11737 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11738 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
11739
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 {
11744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11745 }
11746 {
11747 if (temp2)
11748 delete arg2;
11749 }
11750 return resultobj;
11751 fail:
11752 {
11753 if (temp2)
11754 delete arg2;
11755 }
11756 return NULL;
11757}
11758
11759
b1f29bf7 11760static PyObject *_wrap_Sound_CreateFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11761 PyObject *resultobj;
11762 wxSound *arg1 = (wxSound *) 0 ;
b1f29bf7 11763 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
11764 bool result;
11765 PyObject * obj0 = 0 ;
11766 PyObject * obj1 = 0 ;
b1f29bf7
RD
11767 char *kwnames[] = {
11768 (char *) "self",(char *) "data", NULL
11769 };
d55e5bfc 11770
b1f29bf7 11771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b1f29bf7 11774 arg2 = obj1;
d55e5bfc
RD
11775 {
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11777 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
11778
11779 wxPyEndAllowThreads(__tstate);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
11782 {
11783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11784 }
11785 return resultobj;
11786 fail:
11787 return NULL;
11788}
11789
11790
d55e5bfc
RD
11791static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj;
11793 wxSound *arg1 = (wxSound *) 0 ;
11794 bool result;
11795 PyObject * obj0 = 0 ;
11796 char *kwnames[] = {
11797 (char *) "self", NULL
11798 };
11799
11800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 result = (bool)(arg1)->IsOk();
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
11810 {
11811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11812 }
11813 return resultobj;
11814 fail:
11815 return NULL;
11816}
11817
11818
b1f29bf7 11819static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11820 PyObject *resultobj;
11821 wxSound *arg1 = (wxSound *) 0 ;
11822 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11823 bool result;
11824 PyObject * obj0 = 0 ;
11825 PyObject * obj1 = 0 ;
b1f29bf7
RD
11826 char *kwnames[] = {
11827 (char *) "self",(char *) "flags", NULL
11828 };
d55e5bfc 11829
b1f29bf7 11830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11833 if (obj1) {
11834 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 {
0439c23b 11838 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11839 PyThreadState* __tstate = wxPyBeginAllowThreads();
11840 result = (bool)((wxSound const *)arg1)->Play(arg2);
11841
11842 wxPyEndAllowThreads(__tstate);
0439c23b 11843 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11844 }
11845 {
11846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11847 }
11848 return resultobj;
11849 fail:
11850 return NULL;
11851}
11852
11853
b1f29bf7 11854static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11855 PyObject *resultobj;
11856 wxString *arg1 = 0 ;
11857 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11858 bool result;
11859 bool temp1 = False ;
11860 PyObject * obj0 = 0 ;
11861 PyObject * obj1 = 0 ;
b1f29bf7
RD
11862 char *kwnames[] = {
11863 (char *) "filename",(char *) "flags", NULL
11864 };
d55e5bfc 11865
b1f29bf7 11866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11867 {
11868 arg1 = wxString_in_helper(obj0);
11869 if (arg1 == NULL) SWIG_fail;
11870 temp1 = True;
11871 }
11872 if (obj1) {
11873 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11874 if (PyErr_Occurred()) SWIG_fail;
11875 }
11876 {
0439c23b 11877 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11878 PyThreadState* __tstate = wxPyBeginAllowThreads();
11879 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11880
11881 wxPyEndAllowThreads(__tstate);
0439c23b 11882 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11883 }
11884 {
11885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11886 }
11887 {
11888 if (temp1)
11889 delete arg1;
11890 }
11891 return resultobj;
11892 fail:
11893 {
11894 if (temp1)
11895 delete arg1;
11896 }
11897 return NULL;
11898}
11899
11900
11901static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11902 PyObject *resultobj;
11903 char *kwnames[] = {
11904 NULL
11905 };
11906
11907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11908 {
0439c23b 11909 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 wxSound::Stop();
11912
11913 wxPyEndAllowThreads(__tstate);
0439c23b 11914 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11915 }
11916 Py_INCREF(Py_None); resultobj = Py_None;
11917 return resultobj;
11918 fail:
11919 return NULL;
11920}
11921
11922
11923static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
11924 PyObject *obj;
11925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11926 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11927 Py_INCREF(obj);
11928 return Py_BuildValue((char *)"");
11929}
11930static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj;
11932 wxString *arg1 = 0 ;
11933 wxString *arg2 = 0 ;
11934 wxString *arg3 = 0 ;
11935 wxString *arg4 = 0 ;
11936 wxFileTypeInfo *result;
11937 bool temp1 = False ;
11938 bool temp2 = False ;
11939 bool temp3 = False ;
11940 bool temp4 = False ;
11941 PyObject * obj0 = 0 ;
11942 PyObject * obj1 = 0 ;
11943 PyObject * obj2 = 0 ;
11944 PyObject * obj3 = 0 ;
11945 char *kwnames[] = {
11946 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11947 };
11948
11949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11950 {
11951 arg1 = wxString_in_helper(obj0);
11952 if (arg1 == NULL) SWIG_fail;
11953 temp1 = True;
11954 }
11955 {
11956 arg2 = wxString_in_helper(obj1);
11957 if (arg2 == NULL) SWIG_fail;
11958 temp2 = True;
11959 }
11960 {
11961 arg3 = wxString_in_helper(obj2);
11962 if (arg3 == NULL) SWIG_fail;
11963 temp3 = True;
11964 }
11965 {
11966 arg4 = wxString_in_helper(obj3);
11967 if (arg4 == NULL) SWIG_fail;
11968 temp4 = True;
11969 }
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11978 {
11979 if (temp1)
11980 delete arg1;
11981 }
11982 {
11983 if (temp2)
11984 delete arg2;
11985 }
11986 {
11987 if (temp3)
11988 delete arg3;
11989 }
11990 {
11991 if (temp4)
11992 delete arg4;
11993 }
11994 return resultobj;
11995 fail:
11996 {
11997 if (temp1)
11998 delete arg1;
11999 }
12000 {
12001 if (temp2)
12002 delete arg2;
12003 }
12004 {
12005 if (temp3)
12006 delete arg3;
12007 }
12008 {
12009 if (temp4)
12010 delete arg4;
12011 }
12012 return NULL;
12013}
12014
12015
12016static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
12017 PyObject *resultobj;
12018 wxArrayString *arg1 = 0 ;
12019 wxFileTypeInfo *result;
12020 bool temp1 = False ;
12021 PyObject * obj0 = 0 ;
12022 char *kwnames[] = {
12023 (char *) "sArray", NULL
12024 };
12025
12026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
12027 {
12028 if (! PySequence_Check(obj0)) {
12029 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12030 SWIG_fail;
12031 }
12032 arg1 = new wxArrayString;
12033 temp1 = True;
12034 int i, len=PySequence_Length(obj0);
12035 for (i=0; i<len; i++) {
12036 PyObject* item = PySequence_GetItem(obj0, i);
12037#if wxUSE_UNICODE
12038 PyObject* str = PyObject_Unicode(item);
12039#else
12040 PyObject* str = PyObject_Str(item);
12041#endif
12042 if (PyErr_Occurred()) SWIG_fail;
12043 arg1->Add(Py2wxString(str));
12044 Py_DECREF(item);
12045 Py_DECREF(str);
12046 }
12047 }
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
12051
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12056 {
12057 if (temp1) delete arg1;
12058 }
12059 return resultobj;
12060 fail:
12061 {
12062 if (temp1) delete arg1;
12063 }
12064 return NULL;
12065}
12066
12067
12068static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12069 PyObject *resultobj;
12070 wxFileTypeInfo *result;
12071 char *kwnames[] = {
12072 NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = (wxFileTypeInfo *)new wxFileTypeInfo();
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12084 return resultobj;
12085 fail:
12086 return NULL;
12087}
12088
12089
12090static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
12091 PyObject *resultobj;
12092 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12093 bool result;
12094 PyObject * obj0 = 0 ;
12095 char *kwnames[] = {
12096 (char *) "self", NULL
12097 };
12098
12099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
12100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
12105
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
12109 {
12110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12111 }
12112 return resultobj;
12113 fail:
12114 return NULL;
12115}
12116
12117
12118static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj;
12120 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12121 wxString *arg2 = 0 ;
12122 int arg3 = (int) 0 ;
12123 bool temp2 = False ;
12124 PyObject * obj0 = 0 ;
12125 PyObject * obj1 = 0 ;
12126 PyObject * obj2 = 0 ;
12127 char *kwnames[] = {
12128 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12129 };
12130
12131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12134 {
12135 arg2 = wxString_in_helper(obj1);
12136 if (arg2 == NULL) SWIG_fail;
12137 temp2 = True;
12138 }
12139 if (obj2) {
12140 arg3 = (int) SWIG_AsInt(obj2);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12146
12147 wxPyEndAllowThreads(__tstate);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 }
12150 Py_INCREF(Py_None); resultobj = Py_None;
12151 {
12152 if (temp2)
12153 delete arg2;
12154 }
12155 return resultobj;
12156 fail:
12157 {
12158 if (temp2)
12159 delete arg2;
12160 }
12161 return NULL;
12162}
12163
12164
12165static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12168 wxString *arg2 = 0 ;
12169 bool temp2 = False ;
12170 PyObject * obj0 = 0 ;
12171 PyObject * obj1 = 0 ;
12172 char *kwnames[] = {
12173 (char *) "self",(char *) "shortDesc", NULL
12174 };
12175
12176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12179 {
12180 arg2 = wxString_in_helper(obj1);
12181 if (arg2 == NULL) SWIG_fail;
12182 temp2 = True;
12183 }
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 (arg1)->SetShortDesc((wxString const &)*arg2);
12187
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
12191 Py_INCREF(Py_None); resultobj = Py_None;
12192 {
12193 if (temp2)
12194 delete arg2;
12195 }
12196 return resultobj;
12197 fail:
12198 {
12199 if (temp2)
12200 delete arg2;
12201 }
12202 return NULL;
12203}
12204
12205
12206static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj;
12208 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12209 wxString *result;
12210 PyObject * obj0 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "self", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 {
12221 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12222 result = (wxString *) &_result_ref;
12223 }
12224
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 {
12229#if wxUSE_UNICODE
12230 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12231#else
12232 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12233#endif
12234 }
12235 return resultobj;
12236 fail:
12237 return NULL;
12238}
12239
12240
12241static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12242 PyObject *resultobj;
12243 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12244 wxString *result;
12245 PyObject * obj0 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12253 {
12254 PyThreadState* __tstate = wxPyBeginAllowThreads();
12255 {
12256 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12257 result = (wxString *) &_result_ref;
12258 }
12259
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 {
12264#if wxUSE_UNICODE
12265 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12266#else
12267 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12268#endif
12269 }
12270 return resultobj;
12271 fail:
12272 return NULL;
12273}
12274
12275
12276static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12277 PyObject *resultobj;
12278 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12279 wxString *result;
12280 PyObject * obj0 = 0 ;
12281 char *kwnames[] = {
12282 (char *) "self", NULL
12283 };
12284
12285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 {
12291 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12292 result = (wxString *) &_result_ref;
12293 }
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 {
12299#if wxUSE_UNICODE
12300 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12301#else
12302 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12303#endif
12304 }
12305 return resultobj;
12306 fail:
12307 return NULL;
12308}
12309
12310
12311static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj;
12313 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12314 wxString *result;
12315 PyObject * obj0 = 0 ;
12316 char *kwnames[] = {
12317 (char *) "self", NULL
12318 };
12319
12320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 {
12326 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12327 result = (wxString *) &_result_ref;
12328 }
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
12333 {
12334#if wxUSE_UNICODE
12335 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12336#else
12337 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12338#endif
12339 }
12340 return resultobj;
12341 fail:
12342 return NULL;
12343}
12344
12345
12346static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12347 PyObject *resultobj;
12348 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12349 wxString *result;
12350 PyObject * obj0 = 0 ;
12351 char *kwnames[] = {
12352 (char *) "self", NULL
12353 };
12354
12355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12358 {
12359 PyThreadState* __tstate = wxPyBeginAllowThreads();
12360 {
12361 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12362 result = (wxString *) &_result_ref;
12363 }
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
12368 {
12369#if wxUSE_UNICODE
12370 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12371#else
12372 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12373#endif
12374 }
12375 return resultobj;
12376 fail:
12377 return NULL;
12378}
12379
12380
12381static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12382 PyObject *resultobj;
12383 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12384 wxArrayString *result;
12385 PyObject * obj0 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 {
12396 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12397 result = (wxArrayString *) &_result_ref;
12398 }
12399
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 {
12404 resultobj = wxArrayString2PyList_helper(*result);
12405 }
12406 return resultobj;
12407 fail:
12408 return NULL;
12409}
12410
12411
12412static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj;
12414 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12415 int result;
12416 PyObject * obj0 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 resultobj = SWIG_FromInt((int)result);
12432 return resultobj;
12433 fail:
12434 return NULL;
12435}
12436
12437
12438static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj;
12440 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12441 wxString *result;
12442 PyObject * obj0 = 0 ;
12443 char *kwnames[] = {
12444 (char *) "self", NULL
12445 };
12446
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 {
12453 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12454 result = (wxString *) &_result_ref;
12455 }
12456
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 {
12461#if wxUSE_UNICODE
12462 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12463#else
12464 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12465#endif
12466 }
12467 return resultobj;
12468 fail:
12469 return NULL;
12470}
12471
12472
12473static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12474 PyObject *resultobj;
12475 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12476 int result;
12477 PyObject * obj0 = 0 ;
12478 char *kwnames[] = {
12479 (char *) "self", NULL
12480 };
12481
12482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = SWIG_FromInt((int)result);
12493 return resultobj;
12494 fail:
12495 return NULL;
12496}
12497
12498
12499static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12500 PyObject *obj;
12501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12502 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12503 Py_INCREF(obj);
12504 return Py_BuildValue((char *)"");
12505}
12506static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12507 PyObject *resultobj;
12508 wxFileTypeInfo *arg1 = 0 ;
12509 wxFileType *result;
12510 PyObject * obj0 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "ftInfo", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12517 SWIG_POINTER_EXCEPTION | 0)) == -1)
12518 SWIG_fail;
12519 if (arg1 == NULL) {
12520 PyErr_SetString(PyExc_TypeError,"null reference");
12521 SWIG_fail;
12522 }
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12531 return resultobj;
12532 fail:
12533 return NULL;
12534}
12535
12536
12537static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12538 PyObject *resultobj;
12539 wxFileType *arg1 = (wxFileType *) 0 ;
12540 PyObject * obj0 = 0 ;
12541 char *kwnames[] = {
12542 (char *) "self", NULL
12543 };
12544
12545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12548 {
12549 PyThreadState* __tstate = wxPyBeginAllowThreads();
12550 delete arg1;
12551
12552 wxPyEndAllowThreads(__tstate);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 Py_INCREF(Py_None); resultobj = Py_None;
12556 return resultobj;
12557 fail:
12558 return NULL;
12559}
12560
12561
12562static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12563 PyObject *resultobj;
12564 wxFileType *arg1 = (wxFileType *) 0 ;
12565 PyObject *result;
12566 PyObject * obj0 = 0 ;
12567 char *kwnames[] = {
12568 (char *) "self", NULL
12569 };
12570
12571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12574 {
12575 PyThreadState* __tstate = wxPyBeginAllowThreads();
12576 result = (PyObject *)wxFileType_GetMimeType(arg1);
12577
12578 wxPyEndAllowThreads(__tstate);
12579 if (PyErr_Occurred()) SWIG_fail;
12580 }
12581 resultobj = result;
12582 return resultobj;
12583 fail:
12584 return NULL;
12585}
12586
12587
12588static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12589 PyObject *resultobj;
12590 wxFileType *arg1 = (wxFileType *) 0 ;
12591 PyObject *result;
12592 PyObject * obj0 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "self", NULL
12595 };
12596
12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12600 {
12601 PyThreadState* __tstate = wxPyBeginAllowThreads();
12602 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12603
12604 wxPyEndAllowThreads(__tstate);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 }
12607 resultobj = result;
12608 return resultobj;
12609 fail:
12610 return NULL;
12611}
12612
12613
12614static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12615 PyObject *resultobj;
12616 wxFileType *arg1 = (wxFileType *) 0 ;
12617 PyObject *result;
12618 PyObject * obj0 = 0 ;
12619 char *kwnames[] = {
12620 (char *) "self", NULL
12621 };
12622
12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 result = (PyObject *)wxFileType_GetExtensions(arg1);
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 resultobj = result;
12634 return resultobj;
12635 fail:
12636 return NULL;
12637}
12638
12639
12640static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12641 PyObject *resultobj;
12642 wxFileType *arg1 = (wxFileType *) 0 ;
12643 wxIcon *result;
12644 PyObject * obj0 = 0 ;
12645 char *kwnames[] = {
12646 (char *) "self", NULL
12647 };
12648
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 result = (wxIcon *)wxFileType_GetIcon(arg1);
12655
12656 wxPyEndAllowThreads(__tstate);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 }
12659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12660 return resultobj;
12661 fail:
12662 return NULL;
12663}
12664
12665
12666static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12667 PyObject *resultobj;
12668 wxFileType *arg1 = (wxFileType *) 0 ;
12669 PyObject *result;
12670 PyObject * obj0 = 0 ;
12671 char *kwnames[] = {
12672 (char *) "self", NULL
12673 };
12674
12675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12678 {
12679 PyThreadState* __tstate = wxPyBeginAllowThreads();
12680 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12681
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 resultobj = result;
12686 return resultobj;
12687 fail:
12688 return NULL;
12689}
12690
12691
12692static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj;
12694 wxFileType *arg1 = (wxFileType *) 0 ;
12695 PyObject *result;
12696 PyObject * obj0 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 result = (PyObject *)wxFileType_GetDescription(arg1);
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 resultobj = result;
12712 return resultobj;
12713 fail:
12714 return NULL;
12715}
12716
12717
12718static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12719 PyObject *resultobj;
12720 wxFileType *arg1 = (wxFileType *) 0 ;
12721 wxString *arg2 = 0 ;
12722 wxString const &arg3_defvalue = wxPyEmptyString ;
12723 wxString *arg3 = (wxString *) &arg3_defvalue ;
12724 PyObject *result;
12725 bool temp2 = False ;
12726 bool temp3 = False ;
12727 PyObject * obj0 = 0 ;
12728 PyObject * obj1 = 0 ;
12729 PyObject * obj2 = 0 ;
12730 char *kwnames[] = {
12731 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12732 };
12733
12734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12737 {
12738 arg2 = wxString_in_helper(obj1);
12739 if (arg2 == NULL) SWIG_fail;
12740 temp2 = True;
12741 }
12742 if (obj2) {
12743 {
12744 arg3 = wxString_in_helper(obj2);
12745 if (arg3 == NULL) SWIG_fail;
12746 temp3 = True;
12747 }
12748 }
12749 {
12750 PyThreadState* __tstate = wxPyBeginAllowThreads();
12751 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12752
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 resultobj = result;
12757 {
12758 if (temp2)
12759 delete arg2;
12760 }
12761 {
12762 if (temp3)
12763 delete arg3;
12764 }
12765 return resultobj;
12766 fail:
12767 {
12768 if (temp2)
12769 delete arg2;
12770 }
12771 {
12772 if (temp3)
12773 delete arg3;
12774 }
12775 return NULL;
12776}
12777
12778
12779static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj;
12781 wxFileType *arg1 = (wxFileType *) 0 ;
12782 wxString *arg2 = 0 ;
12783 wxString const &arg3_defvalue = wxPyEmptyString ;
12784 wxString *arg3 = (wxString *) &arg3_defvalue ;
12785 PyObject *result;
12786 bool temp2 = False ;
12787 bool temp3 = False ;
12788 PyObject * obj0 = 0 ;
12789 PyObject * obj1 = 0 ;
12790 PyObject * obj2 = 0 ;
12791 char *kwnames[] = {
12792 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12793 };
12794
12795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12798 {
12799 arg2 = wxString_in_helper(obj1);
12800 if (arg2 == NULL) SWIG_fail;
12801 temp2 = True;
12802 }
12803 if (obj2) {
12804 {
12805 arg3 = wxString_in_helper(obj2);
12806 if (arg3 == NULL) SWIG_fail;
12807 temp3 = True;
12808 }
12809 }
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
12817 resultobj = result;
12818 {
12819 if (temp2)
12820 delete arg2;
12821 }
12822 {
12823 if (temp3)
12824 delete arg3;
12825 }
12826 return resultobj;
12827 fail:
12828 {
12829 if (temp2)
12830 delete arg2;
12831 }
12832 {
12833 if (temp3)
12834 delete arg3;
12835 }
12836 return NULL;
12837}
12838
12839
12840static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12841 PyObject *resultobj;
12842 wxFileType *arg1 = (wxFileType *) 0 ;
12843 wxString *arg2 = 0 ;
12844 wxString const &arg3_defvalue = wxPyEmptyString ;
12845 wxString *arg3 = (wxString *) &arg3_defvalue ;
12846 PyObject *result;
12847 bool temp2 = False ;
12848 bool temp3 = False ;
12849 PyObject * obj0 = 0 ;
12850 PyObject * obj1 = 0 ;
12851 PyObject * obj2 = 0 ;
12852 char *kwnames[] = {
12853 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12854 };
12855
12856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12859 {
12860 arg2 = wxString_in_helper(obj1);
12861 if (arg2 == NULL) SWIG_fail;
12862 temp2 = True;
12863 }
12864 if (obj2) {
12865 {
12866 arg3 = wxString_in_helper(obj2);
12867 if (arg3 == NULL) SWIG_fail;
12868 temp3 = True;
12869 }
12870 }
12871 {
12872 PyThreadState* __tstate = wxPyBeginAllowThreads();
12873 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12874
12875 wxPyEndAllowThreads(__tstate);
12876 if (PyErr_Occurred()) SWIG_fail;
12877 }
12878 resultobj = result;
12879 {
12880 if (temp2)
12881 delete arg2;
12882 }
12883 {
12884 if (temp3)
12885 delete arg3;
12886 }
12887 return resultobj;
12888 fail:
12889 {
12890 if (temp2)
12891 delete arg2;
12892 }
12893 {
12894 if (temp3)
12895 delete arg3;
12896 }
12897 return NULL;
12898}
12899
12900
12901static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12902 PyObject *resultobj;
12903 wxFileType *arg1 = (wxFileType *) 0 ;
12904 wxString *arg2 = 0 ;
12905 wxString *arg3 = 0 ;
12906 bool arg4 = (bool) True ;
12907 bool result;
12908 bool temp2 = False ;
12909 bool temp3 = False ;
12910 PyObject * obj0 = 0 ;
12911 PyObject * obj1 = 0 ;
12912 PyObject * obj2 = 0 ;
12913 PyObject * obj3 = 0 ;
12914 char *kwnames[] = {
12915 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12916 };
12917
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12921 {
12922 arg2 = wxString_in_helper(obj1);
12923 if (arg2 == NULL) SWIG_fail;
12924 temp2 = True;
12925 }
12926 {
12927 arg3 = wxString_in_helper(obj2);
12928 if (arg3 == NULL) SWIG_fail;
12929 temp3 = True;
12930 }
12931 if (obj3) {
12932 arg4 = (bool) SWIG_AsBool(obj3);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 {
12936 PyThreadState* __tstate = wxPyBeginAllowThreads();
12937 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12938
12939 wxPyEndAllowThreads(__tstate);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
12942 {
12943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12944 }
12945 {
12946 if (temp2)
12947 delete arg2;
12948 }
12949 {
12950 if (temp3)
12951 delete arg3;
12952 }
12953 return resultobj;
12954 fail:
12955 {
12956 if (temp2)
12957 delete arg2;
12958 }
12959 {
12960 if (temp3)
12961 delete arg3;
12962 }
12963 return NULL;
12964}
12965
12966
12967static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12968 PyObject *resultobj;
12969 wxFileType *arg1 = (wxFileType *) 0 ;
12970 wxString const &arg2_defvalue = wxPyEmptyString ;
12971 wxString *arg2 = (wxString *) &arg2_defvalue ;
12972 int arg3 = (int) 0 ;
12973 bool result;
12974 bool temp2 = False ;
12975 PyObject * obj0 = 0 ;
12976 PyObject * obj1 = 0 ;
12977 PyObject * obj2 = 0 ;
12978 char *kwnames[] = {
12979 (char *) "self",(char *) "cmd",(char *) "index", NULL
12980 };
12981
12982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12985 if (obj1) {
12986 {
12987 arg2 = wxString_in_helper(obj1);
12988 if (arg2 == NULL) SWIG_fail;
12989 temp2 = True;
12990 }
12991 }
12992 if (obj2) {
12993 arg3 = (int) SWIG_AsInt(obj2);
12994 if (PyErr_Occurred()) SWIG_fail;
12995 }
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12999
13000 wxPyEndAllowThreads(__tstate);
13001 if (PyErr_Occurred()) SWIG_fail;
13002 }
13003 {
13004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13005 }
13006 {
13007 if (temp2)
13008 delete arg2;
13009 }
13010 return resultobj;
13011 fail:
13012 {
13013 if (temp2)
13014 delete arg2;
13015 }
13016 return NULL;
13017}
13018
13019
13020static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13021 PyObject *resultobj;
13022 wxFileType *arg1 = (wxFileType *) 0 ;
13023 bool result;
13024 PyObject * obj0 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
13030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13032 {
13033 PyThreadState* __tstate = wxPyBeginAllowThreads();
13034 result = (bool)(arg1)->Unassociate();
13035
13036 wxPyEndAllowThreads(__tstate);
13037 if (PyErr_Occurred()) SWIG_fail;
13038 }
13039 {
13040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13041 }
13042 return resultobj;
13043 fail:
13044 return NULL;
13045}
13046
13047
13048static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxString *arg1 = 0 ;
13051 wxString *arg2 = 0 ;
13052 wxString const &arg3_defvalue = wxPyEmptyString ;
13053 wxString *arg3 = (wxString *) &arg3_defvalue ;
13054 wxString result;
13055 bool temp1 = False ;
13056 bool temp2 = False ;
13057 bool temp3 = False ;
13058 PyObject * obj0 = 0 ;
13059 PyObject * obj1 = 0 ;
13060 PyObject * obj2 = 0 ;
13061 char *kwnames[] = {
13062 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13063 };
13064
13065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13066 {
13067 arg1 = wxString_in_helper(obj0);
13068 if (arg1 == NULL) SWIG_fail;
13069 temp1 = True;
13070 }
13071 {
13072 arg2 = wxString_in_helper(obj1);
13073 if (arg2 == NULL) SWIG_fail;
13074 temp2 = True;
13075 }
13076 if (obj2) {
13077 {
13078 arg3 = wxString_in_helper(obj2);
13079 if (arg3 == NULL) SWIG_fail;
13080 temp3 = True;
13081 }
13082 }
13083 {
13084 PyThreadState* __tstate = wxPyBeginAllowThreads();
13085 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13086
13087 wxPyEndAllowThreads(__tstate);
13088 if (PyErr_Occurred()) SWIG_fail;
13089 }
13090 {
13091#if wxUSE_UNICODE
13092 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13093#else
13094 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13095#endif
13096 }
13097 {
13098 if (temp1)
13099 delete arg1;
13100 }
13101 {
13102 if (temp2)
13103 delete arg2;
13104 }
13105 {
13106 if (temp3)
13107 delete arg3;
13108 }
13109 return resultobj;
13110 fail:
13111 {
13112 if (temp1)
13113 delete arg1;
13114 }
13115 {
13116 if (temp2)
13117 delete arg2;
13118 }
13119 {
13120 if (temp3)
13121 delete arg3;
13122 }
13123 return NULL;
13124}
13125
13126
13127static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
13128 PyObject *obj;
13129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13130 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13131 Py_INCREF(obj);
13132 return Py_BuildValue((char *)"");
13133}
13134static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
13135 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13136 return 1;
13137}
13138
13139
13140static PyObject *_wrap_TheMimeTypesManager_get() {
13141 PyObject *pyobj;
13142
13143 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13144 return pyobj;
13145}
13146
13147
13148static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxString *arg1 = 0 ;
13151 wxString *arg2 = 0 ;
13152 bool result;
13153 bool temp1 = False ;
13154 bool temp2 = False ;
13155 PyObject * obj0 = 0 ;
13156 PyObject * obj1 = 0 ;
13157 char *kwnames[] = {
13158 (char *) "mimeType",(char *) "wildcard", NULL
13159 };
13160
13161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13162 {
13163 arg1 = wxString_in_helper(obj0);
13164 if (arg1 == NULL) SWIG_fail;
13165 temp1 = True;
13166 }
13167 {
13168 arg2 = wxString_in_helper(obj1);
13169 if (arg2 == NULL) SWIG_fail;
13170 temp2 = True;
13171 }
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13175
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 {
13180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13181 }
13182 {
13183 if (temp1)
13184 delete arg1;
13185 }
13186 {
13187 if (temp2)
13188 delete arg2;
13189 }
13190 return resultobj;
13191 fail:
13192 {
13193 if (temp1)
13194 delete arg1;
13195 }
13196 {
13197 if (temp2)
13198 delete arg2;
13199 }
13200 return NULL;
13201}
13202
13203
13204static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj;
13206 wxMimeTypesManager *result;
13207 char *kwnames[] = {
13208 NULL
13209 };
13210
13211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13220 return resultobj;
13221 fail:
13222 return NULL;
13223}
13224
13225
13226static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj;
13228 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13229 int arg2 = (int) wxMAILCAP_ALL ;
13230 wxString const &arg3_defvalue = wxPyEmptyString ;
13231 wxString *arg3 = (wxString *) &arg3_defvalue ;
13232 bool temp3 = False ;
13233 PyObject * obj0 = 0 ;
13234 PyObject * obj1 = 0 ;
13235 PyObject * obj2 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13243 if (obj1) {
13244 arg2 = (int) SWIG_AsInt(obj1);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 if (obj2) {
13248 {
13249 arg3 = wxString_in_helper(obj2);
13250 if (arg3 == NULL) SWIG_fail;
13251 temp3 = True;
13252 }
13253 }
13254 {
13255 PyThreadState* __tstate = wxPyBeginAllowThreads();
13256 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13257
13258 wxPyEndAllowThreads(__tstate);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 Py_INCREF(Py_None); resultobj = Py_None;
13262 {
13263 if (temp3)
13264 delete arg3;
13265 }
13266 return resultobj;
13267 fail:
13268 {
13269 if (temp3)
13270 delete arg3;
13271 }
13272 return NULL;
13273}
13274
13275
13276static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
13277 PyObject *resultobj;
13278 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13279 PyObject * obj0 = 0 ;
13280 char *kwnames[] = {
13281 (char *) "self", NULL
13282 };
13283
13284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 (arg1)->ClearData();
13290
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 Py_INCREF(Py_None); resultobj = Py_None;
13295 return resultobj;
13296 fail:
13297 return NULL;
13298}
13299
13300
13301static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
13302 PyObject *resultobj;
13303 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13304 wxString *arg2 = 0 ;
13305 wxFileType *result;
13306 bool temp2 = False ;
13307 PyObject * obj0 = 0 ;
13308 PyObject * obj1 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self",(char *) "ext", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13316 {
13317 arg2 = wxString_in_helper(obj1);
13318 if (arg2 == NULL) SWIG_fail;
13319 temp2 = True;
13320 }
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13329 {
13330 if (temp2)
13331 delete arg2;
13332 }
13333 return resultobj;
13334 fail:
13335 {
13336 if (temp2)
13337 delete arg2;
13338 }
13339 return NULL;
13340}
13341
13342
13343static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
13344 PyObject *resultobj;
13345 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13346 wxString *arg2 = 0 ;
13347 wxFileType *result;
13348 bool temp2 = False ;
13349 PyObject * obj0 = 0 ;
13350 PyObject * obj1 = 0 ;
13351 char *kwnames[] = {
13352 (char *) "self",(char *) "mimeType", NULL
13353 };
13354
13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13358 {
13359 arg2 = wxString_in_helper(obj1);
13360 if (arg2 == NULL) SWIG_fail;
13361 temp2 = True;
13362 }
13363 {
13364 PyThreadState* __tstate = wxPyBeginAllowThreads();
13365 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13366
13367 wxPyEndAllowThreads(__tstate);
13368 if (PyErr_Occurred()) SWIG_fail;
13369 }
13370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13371 {
13372 if (temp2)
13373 delete arg2;
13374 }
13375 return resultobj;
13376 fail:
13377 {
13378 if (temp2)
13379 delete arg2;
13380 }
13381 return NULL;
13382}
13383
13384
13385static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13388 wxString *arg2 = 0 ;
13389 bool arg3 = (bool) False ;
13390 bool result;
13391 bool temp2 = False ;
13392 PyObject * obj0 = 0 ;
13393 PyObject * obj1 = 0 ;
13394 PyObject * obj2 = 0 ;
13395 char *kwnames[] = {
13396 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13397 };
13398
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13402 {
13403 arg2 = wxString_in_helper(obj1);
13404 if (arg2 == NULL) SWIG_fail;
13405 temp2 = True;
13406 }
13407 if (obj2) {
13408 arg3 = (bool) SWIG_AsBool(obj2);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 {
13419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13420 }
13421 {
13422 if (temp2)
13423 delete arg2;
13424 }
13425 return resultobj;
13426 fail:
13427 {
13428 if (temp2)
13429 delete arg2;
13430 }
13431 return NULL;
13432}
13433
13434
13435static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13436 PyObject *resultobj;
13437 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13438 wxString *arg2 = 0 ;
13439 bool result;
13440 bool temp2 = False ;
13441 PyObject * obj0 = 0 ;
13442 PyObject * obj1 = 0 ;
13443 char *kwnames[] = {
13444 (char *) "self",(char *) "filename", NULL
13445 };
13446
13447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13450 {
13451 arg2 = wxString_in_helper(obj1);
13452 if (arg2 == NULL) SWIG_fail;
13453 temp2 = True;
13454 }
13455 {
13456 PyThreadState* __tstate = wxPyBeginAllowThreads();
13457 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13458
13459 wxPyEndAllowThreads(__tstate);
13460 if (PyErr_Occurred()) SWIG_fail;
13461 }
13462 {
13463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13464 }
13465 {
13466 if (temp2)
13467 delete arg2;
13468 }
13469 return resultobj;
13470 fail:
13471 {
13472 if (temp2)
13473 delete arg2;
13474 }
13475 return NULL;
13476}
13477
13478
13479static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13480 PyObject *resultobj;
13481 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13482 PyObject *result;
13483 PyObject * obj0 = 0 ;
13484 char *kwnames[] = {
13485 (char *) "self", NULL
13486 };
13487
13488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13491 {
13492 PyThreadState* __tstate = wxPyBeginAllowThreads();
13493 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13494
13495 wxPyEndAllowThreads(__tstate);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
13498 resultobj = result;
13499 return resultobj;
13500 fail:
13501 return NULL;
13502}
13503
13504
13505static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13508 wxFileTypeInfo *arg2 = 0 ;
13509 PyObject * obj0 = 0 ;
13510 PyObject * obj1 = 0 ;
13511 char *kwnames[] = {
13512 (char *) "self",(char *) "ft", NULL
13513 };
13514
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13519 SWIG_POINTER_EXCEPTION | 0)) == -1)
13520 SWIG_fail;
13521 if (arg2 == NULL) {
13522 PyErr_SetString(PyExc_TypeError,"null reference");
13523 SWIG_fail;
13524 }
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13528
13529 wxPyEndAllowThreads(__tstate);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 Py_INCREF(Py_None); resultobj = Py_None;
13533 return resultobj;
13534 fail:
13535 return NULL;
13536}
13537
13538
13539static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13540 PyObject *resultobj;
13541 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13542 wxFileTypeInfo *arg2 = 0 ;
13543 wxFileType *result;
13544 PyObject * obj0 = 0 ;
13545 PyObject * obj1 = 0 ;
13546 char *kwnames[] = {
13547 (char *) "self",(char *) "ftInfo", NULL
13548 };
13549
13550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13554 SWIG_POINTER_EXCEPTION | 0)) == -1)
13555 SWIG_fail;
13556 if (arg2 == NULL) {
13557 PyErr_SetString(PyExc_TypeError,"null reference");
13558 SWIG_fail;
13559 }
13560 {
13561 PyThreadState* __tstate = wxPyBeginAllowThreads();
13562 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13563
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13568 return resultobj;
13569 fail:
13570 return NULL;
13571}
13572
13573
13574static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13575 PyObject *resultobj;
13576 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13577 wxFileType *arg2 = (wxFileType *) 0 ;
13578 bool result;
13579 PyObject * obj0 = 0 ;
13580 PyObject * obj1 = 0 ;
13581 char *kwnames[] = {
13582 (char *) "self",(char *) "ft", NULL
13583 };
13584
13585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13590 {
13591 PyThreadState* __tstate = wxPyBeginAllowThreads();
13592 result = (bool)(arg1)->Unassociate(arg2);
13593
13594 wxPyEndAllowThreads(__tstate);
13595 if (PyErr_Occurred()) SWIG_fail;
13596 }
13597 {
13598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13599 }
13600 return resultobj;
13601 fail:
13602 return NULL;
13603}
13604
13605
13606static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13607 PyObject *resultobj;
13608 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13609 PyObject * obj0 = 0 ;
13610 char *kwnames[] = {
13611 (char *) "self", NULL
13612 };
13613
13614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 delete arg1;
13620
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 Py_INCREF(Py_None); resultobj = Py_None;
13625 return resultobj;
13626 fail:
13627 return NULL;
13628}
13629
13630
13631static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13632 PyObject *obj;
13633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13634 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13635 Py_INCREF(obj);
13636 return Py_BuildValue((char *)"");
13637}
13638static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
13639 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13640 return 1;
13641}
13642
13643
13644static PyObject *_wrap_ART_TOOLBAR_get() {
13645 PyObject *pyobj;
13646
13647 {
13648#if wxUSE_UNICODE
13649 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13650#else
13651 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13652#endif
13653 }
13654 return pyobj;
13655}
13656
13657
13658static int _wrap_ART_MENU_set(PyObject *_val) {
13659 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13660 return 1;
13661}
13662
13663
13664static PyObject *_wrap_ART_MENU_get() {
13665 PyObject *pyobj;
13666
13667 {
13668#if wxUSE_UNICODE
13669 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13670#else
13671 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13672#endif
13673 }
13674 return pyobj;
13675}
13676
13677
13678static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13679 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13680 return 1;
13681}
13682
13683
13684static PyObject *_wrap_ART_FRAME_ICON_get() {
13685 PyObject *pyobj;
13686
13687 {
13688#if wxUSE_UNICODE
13689 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13690#else
13691 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13692#endif
13693 }
13694 return pyobj;
13695}
13696
13697
13698static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13699 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13700 return 1;
13701}
13702
13703
13704static PyObject *_wrap_ART_CMN_DIALOG_get() {
13705 PyObject *pyobj;
13706
13707 {
13708#if wxUSE_UNICODE
13709 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13710#else
13711 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13712#endif
13713 }
13714 return pyobj;
13715}
13716
13717
13718static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13719 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13720 return 1;
13721}
13722
13723
13724static PyObject *_wrap_ART_HELP_BROWSER_get() {
13725 PyObject *pyobj;
13726
13727 {
13728#if wxUSE_UNICODE
13729 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13730#else
13731 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13732#endif
13733 }
13734 return pyobj;
13735}
13736
13737
13738static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13739 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13740 return 1;
13741}
13742
13743
13744static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13745 PyObject *pyobj;
13746
13747 {
13748#if wxUSE_UNICODE
13749 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13750#else
13751 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13752#endif
13753 }
13754 return pyobj;
13755}
13756
13757
13758static int _wrap_ART_OTHER_set(PyObject *_val) {
13759 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13760 return 1;
13761}
13762
13763
13764static PyObject *_wrap_ART_OTHER_get() {
13765 PyObject *pyobj;
13766
13767 {
13768#if wxUSE_UNICODE
13769 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13770#else
13771 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13772#endif
13773 }
13774 return pyobj;
13775}
13776
13777
13778static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13779 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13780 return 1;
13781}
13782
13783
13784static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13785 PyObject *pyobj;
13786
13787 {
13788#if wxUSE_UNICODE
13789 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13790#else
13791 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13792#endif
13793 }
13794 return pyobj;
13795}
13796
13797
13798static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13799 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13800 return 1;
13801}
13802
13803
13804static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13805 PyObject *pyobj;
13806
13807 {
13808#if wxUSE_UNICODE
13809 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13810#else
13811 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13812#endif
13813 }
13814 return pyobj;
13815}
13816
13817
13818static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13819 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13820 return 1;
13821}
13822
13823
13824static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13825 PyObject *pyobj;
13826
13827 {
13828#if wxUSE_UNICODE
13829 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13830#else
13831 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13832#endif
13833 }
13834 return pyobj;
13835}
13836
13837
13838static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13839 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13840 return 1;
13841}
13842
13843
13844static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13845 PyObject *pyobj;
13846
13847 {
13848#if wxUSE_UNICODE
13849 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13850#else
13851 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13852#endif
13853 }
13854 return pyobj;
13855}
13856
13857
13858static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13859 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13860 return 1;
13861}
13862
13863
13864static PyObject *_wrap_ART_HELP_BOOK_get() {
13865 PyObject *pyobj;
13866
13867 {
13868#if wxUSE_UNICODE
13869 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13870#else
13871 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13872#endif
13873 }
13874 return pyobj;
13875}
13876
13877
13878static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13879 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13880 return 1;
13881}
13882
13883
13884static PyObject *_wrap_ART_HELP_FOLDER_get() {
13885 PyObject *pyobj;
13886
13887 {
13888#if wxUSE_UNICODE
13889 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13890#else
13891 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13892#endif
13893 }
13894 return pyobj;
13895}
13896
13897
13898static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13899 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13900 return 1;
13901}
13902
13903
13904static PyObject *_wrap_ART_HELP_PAGE_get() {
13905 PyObject *pyobj;
13906
13907 {
13908#if wxUSE_UNICODE
13909 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13910#else
13911 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13912#endif
13913 }
13914 return pyobj;
13915}
13916
13917
13918static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13919 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13920 return 1;
13921}
13922
13923
13924static PyObject *_wrap_ART_GO_BACK_get() {
13925 PyObject *pyobj;
13926
13927 {
13928#if wxUSE_UNICODE
13929 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13930#else
13931 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13932#endif
13933 }
13934 return pyobj;
13935}
13936
13937
13938static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13939 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13940 return 1;
13941}
13942
13943
13944static PyObject *_wrap_ART_GO_FORWARD_get() {
13945 PyObject *pyobj;
13946
13947 {
13948#if wxUSE_UNICODE
13949 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13950#else
13951 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13952#endif
13953 }
13954 return pyobj;
13955}
13956
13957
13958static int _wrap_ART_GO_UP_set(PyObject *_val) {
13959 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13960 return 1;
13961}
13962
13963
13964static PyObject *_wrap_ART_GO_UP_get() {
13965 PyObject *pyobj;
13966
13967 {
13968#if wxUSE_UNICODE
13969 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13970#else
13971 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13972#endif
13973 }
13974 return pyobj;
13975}
13976
13977
13978static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
13979 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13980 return 1;
13981}
13982
13983
13984static PyObject *_wrap_ART_GO_DOWN_get() {
13985 PyObject *pyobj;
13986
13987 {
13988#if wxUSE_UNICODE
13989 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13990#else
13991 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13992#endif
13993 }
13994 return pyobj;
13995}
13996
13997
13998static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
13999 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
14000 return 1;
14001}
14002
14003
14004static PyObject *_wrap_ART_GO_TO_PARENT_get() {
14005 PyObject *pyobj;
14006
14007 {
14008#if wxUSE_UNICODE
14009 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14010#else
14011 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14012#endif
14013 }
14014 return pyobj;
14015}
14016
14017
14018static int _wrap_ART_GO_HOME_set(PyObject *_val) {
14019 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
14020 return 1;
14021}
14022
14023
14024static PyObject *_wrap_ART_GO_HOME_get() {
14025 PyObject *pyobj;
14026
14027 {
14028#if wxUSE_UNICODE
14029 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14030#else
14031 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14032#endif
14033 }
14034 return pyobj;
14035}
14036
14037
14038static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
14039 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
14040 return 1;
14041}
14042
14043
14044static PyObject *_wrap_ART_FILE_OPEN_get() {
14045 PyObject *pyobj;
14046
14047 {
14048#if wxUSE_UNICODE
14049 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14050#else
14051 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14052#endif
14053 }
14054 return pyobj;
14055}
14056
14057
14058static int _wrap_ART_PRINT_set(PyObject *_val) {
14059 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
14060 return 1;
14061}
14062
14063
14064static PyObject *_wrap_ART_PRINT_get() {
14065 PyObject *pyobj;
14066
14067 {
14068#if wxUSE_UNICODE
14069 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14070#else
14071 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14072#endif
14073 }
14074 return pyobj;
14075}
14076
14077
14078static int _wrap_ART_HELP_set(PyObject *_val) {
14079 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
14080 return 1;
14081}
14082
14083
14084static PyObject *_wrap_ART_HELP_get() {
14085 PyObject *pyobj;
14086
14087 {
14088#if wxUSE_UNICODE
14089 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14090#else
14091 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14092#endif
14093 }
14094 return pyobj;
14095}
14096
14097
14098static int _wrap_ART_TIP_set(PyObject *_val) {
14099 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
14100 return 1;
14101}
14102
14103
14104static PyObject *_wrap_ART_TIP_get() {
14105 PyObject *pyobj;
14106
14107 {
14108#if wxUSE_UNICODE
14109 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14110#else
14111 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14112#endif
14113 }
14114 return pyobj;
14115}
14116
14117
14118static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
14119 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14120 return 1;
14121}
14122
14123
14124static PyObject *_wrap_ART_REPORT_VIEW_get() {
14125 PyObject *pyobj;
14126
14127 {
14128#if wxUSE_UNICODE
14129 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14130#else
14131 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14132#endif
14133 }
14134 return pyobj;
14135}
14136
14137
14138static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
14139 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14140 return 1;
14141}
14142
14143
14144static PyObject *_wrap_ART_LIST_VIEW_get() {
14145 PyObject *pyobj;
14146
14147 {
14148#if wxUSE_UNICODE
14149 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14150#else
14151 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14152#endif
14153 }
14154 return pyobj;
14155}
14156
14157
14158static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
14159 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14160 return 1;
14161}
14162
14163
14164static PyObject *_wrap_ART_NEW_DIR_get() {
14165 PyObject *pyobj;
14166
14167 {
14168#if wxUSE_UNICODE
14169 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14170#else
14171 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14172#endif
14173 }
14174 return pyobj;
14175}
14176
14177
14178static int _wrap_ART_FOLDER_set(PyObject *_val) {
14179 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14180 return 1;
14181}
14182
14183
14184static PyObject *_wrap_ART_FOLDER_get() {
14185 PyObject *pyobj;
14186
14187 {
14188#if wxUSE_UNICODE
14189 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14190#else
14191 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14192#endif
14193 }
14194 return pyobj;
14195}
14196
14197
14198static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
14199 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14200 return 1;
14201}
14202
14203
14204static PyObject *_wrap_ART_GO_DIR_UP_get() {
14205 PyObject *pyobj;
14206
14207 {
14208#if wxUSE_UNICODE
14209 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14210#else
14211 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14212#endif
14213 }
14214 return pyobj;
14215}
14216
14217
14218static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
14219 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14220 return 1;
14221}
14222
14223
14224static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14225 PyObject *pyobj;
14226
14227 {
14228#if wxUSE_UNICODE
14229 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14230#else
14231 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14232#endif
14233 }
14234 return pyobj;
14235}
14236
14237
14238static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
14239 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14240 return 1;
14241}
14242
14243
14244static PyObject *_wrap_ART_NORMAL_FILE_get() {
14245 PyObject *pyobj;
14246
14247 {
14248#if wxUSE_UNICODE
14249 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14250#else
14251 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14252#endif
14253 }
14254 return pyobj;
14255}
14256
14257
14258static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
14259 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14260 return 1;
14261}
14262
14263
14264static PyObject *_wrap_ART_TICK_MARK_get() {
14265 PyObject *pyobj;
14266
14267 {
14268#if wxUSE_UNICODE
14269 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14270#else
14271 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14272#endif
14273 }
14274 return pyobj;
14275}
14276
14277
14278static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
14279 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14280 return 1;
14281}
14282
14283
14284static PyObject *_wrap_ART_CROSS_MARK_get() {
14285 PyObject *pyobj;
14286
14287 {
14288#if wxUSE_UNICODE
14289 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14290#else
14291 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14292#endif
14293 }
14294 return pyobj;
14295}
14296
14297
14298static int _wrap_ART_ERROR_set(PyObject *_val) {
14299 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14300 return 1;
14301}
14302
14303
14304static PyObject *_wrap_ART_ERROR_get() {
14305 PyObject *pyobj;
14306
14307 {
14308#if wxUSE_UNICODE
14309 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14310#else
14311 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14312#endif
14313 }
14314 return pyobj;
14315}
14316
14317
14318static int _wrap_ART_QUESTION_set(PyObject *_val) {
14319 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14320 return 1;
14321}
14322
14323
14324static PyObject *_wrap_ART_QUESTION_get() {
14325 PyObject *pyobj;
14326
14327 {
14328#if wxUSE_UNICODE
14329 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14330#else
14331 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14332#endif
14333 }
14334 return pyobj;
14335}
14336
14337
14338static int _wrap_ART_WARNING_set(PyObject *_val) {
14339 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14340 return 1;
14341}
14342
14343
14344static PyObject *_wrap_ART_WARNING_get() {
14345 PyObject *pyobj;
14346
14347 {
14348#if wxUSE_UNICODE
14349 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14350#else
14351 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14352#endif
14353 }
14354 return pyobj;
14355}
14356
14357
14358static int _wrap_ART_INFORMATION_set(PyObject *_val) {
14359 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14360 return 1;
14361}
14362
14363
14364static PyObject *_wrap_ART_INFORMATION_get() {
14365 PyObject *pyobj;
14366
14367 {
14368#if wxUSE_UNICODE
14369 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14370#else
14371 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14372#endif
14373 }
14374 return pyobj;
14375}
14376
14377
14378static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
14379 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14380 return 1;
14381}
14382
14383
14384static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14385 PyObject *pyobj;
14386
14387 {
14388#if wxUSE_UNICODE
14389 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14390#else
14391 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14392#endif
14393 }
14394 return pyobj;
14395}
14396
14397
14398static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14399 PyObject *resultobj;
14400 wxPyArtProvider *result;
14401 char *kwnames[] = {
14402 NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14406 {
0439c23b 14407 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (wxPyArtProvider *)new wxPyArtProvider();
14410
14411 wxPyEndAllowThreads(__tstate);
0439c23b 14412 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14413 }
14414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14415 return resultobj;
14416 fail:
14417 return NULL;
14418}
14419
14420
14421static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj;
14423 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14424 PyObject *arg2 = (PyObject *) 0 ;
14425 PyObject *arg3 = (PyObject *) 0 ;
14426 PyObject * obj0 = 0 ;
14427 PyObject * obj1 = 0 ;
14428 PyObject * obj2 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "self",(char *) "self",(char *) "_class", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14436 arg2 = obj1;
14437 arg3 = obj2;
14438 {
14439 PyThreadState* __tstate = wxPyBeginAllowThreads();
14440 (arg1)->_setCallbackInfo(arg2,arg3);
14441
14442 wxPyEndAllowThreads(__tstate);
14443 if (PyErr_Occurred()) SWIG_fail;
14444 }
14445 Py_INCREF(Py_None); resultobj = Py_None;
14446 return resultobj;
14447 fail:
14448 return NULL;
14449}
14450
14451
14452static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14453 PyObject *resultobj;
14454 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14455 PyObject * obj0 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "provider", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 wxPyArtProvider::PushProvider(arg1);
14466
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 Py_INCREF(Py_None); resultobj = Py_None;
14471 return resultobj;
14472 fail:
14473 return NULL;
14474}
14475
14476
14477static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14478 PyObject *resultobj;
14479 bool result;
14480 char *kwnames[] = {
14481 NULL
14482 };
14483
14484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14485 {
14486 PyThreadState* __tstate = wxPyBeginAllowThreads();
14487 result = (bool)wxPyArtProvider::PopProvider();
14488
14489 wxPyEndAllowThreads(__tstate);
14490 if (PyErr_Occurred()) SWIG_fail;
14491 }
14492 {
14493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14494 }
14495 return resultobj;
14496 fail:
14497 return NULL;
14498}
14499
14500
14501static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14502 PyObject *resultobj;
14503 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14504 bool result;
14505 PyObject * obj0 = 0 ;
14506 char *kwnames[] = {
14507 (char *) "provider", NULL
14508 };
14509
14510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14513 {
14514 PyThreadState* __tstate = wxPyBeginAllowThreads();
14515 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14516
14517 wxPyEndAllowThreads(__tstate);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
14520 {
14521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14522 }
14523 return resultobj;
14524 fail:
14525 return NULL;
14526}
14527
14528
14529static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14530 PyObject *resultobj;
14531 wxString *arg1 = 0 ;
14532 wxString const &arg2_defvalue = wxPyART_OTHER ;
14533 wxString *arg2 = (wxString *) &arg2_defvalue ;
14534 wxSize const &arg3_defvalue = wxDefaultSize ;
14535 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14536 wxBitmap result;
14537 bool temp1 = False ;
14538 bool temp2 = False ;
14539 wxSize temp3 ;
14540 PyObject * obj0 = 0 ;
14541 PyObject * obj1 = 0 ;
14542 PyObject * obj2 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "id",(char *) "client",(char *) "size", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14548 {
14549 arg1 = wxString_in_helper(obj0);
14550 if (arg1 == NULL) SWIG_fail;
14551 temp1 = True;
14552 }
14553 if (obj1) {
14554 {
14555 arg2 = wxString_in_helper(obj1);
14556 if (arg2 == NULL) SWIG_fail;
14557 temp2 = True;
14558 }
14559 }
14560 if (obj2) {
14561 {
14562 arg3 = &temp3;
14563 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14564 }
14565 }
14566 {
0439c23b 14567 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14570
14571 wxPyEndAllowThreads(__tstate);
0439c23b 14572 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14573 }
14574 {
14575 wxBitmap * resultptr;
14576 resultptr = new wxBitmap((wxBitmap &) result);
14577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14578 }
14579 {
14580 if (temp1)
14581 delete arg1;
14582 }
14583 {
14584 if (temp2)
14585 delete arg2;
14586 }
14587 return resultobj;
14588 fail:
14589 {
14590 if (temp1)
14591 delete arg1;
14592 }
14593 {
14594 if (temp2)
14595 delete arg2;
14596 }
14597 return NULL;
14598}
14599
14600
14601static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
14603 wxString *arg1 = 0 ;
14604 wxString const &arg2_defvalue = wxPyART_OTHER ;
14605 wxString *arg2 = (wxString *) &arg2_defvalue ;
14606 wxSize const &arg3_defvalue = wxDefaultSize ;
14607 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14608 wxIcon result;
14609 bool temp1 = False ;
14610 bool temp2 = False ;
14611 wxSize temp3 ;
14612 PyObject * obj0 = 0 ;
14613 PyObject * obj1 = 0 ;
14614 PyObject * obj2 = 0 ;
14615 char *kwnames[] = {
14616 (char *) "id",(char *) "client",(char *) "size", NULL
14617 };
14618
14619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14620 {
14621 arg1 = wxString_in_helper(obj0);
14622 if (arg1 == NULL) SWIG_fail;
14623 temp1 = True;
14624 }
14625 if (obj1) {
14626 {
14627 arg2 = wxString_in_helper(obj1);
14628 if (arg2 == NULL) SWIG_fail;
14629 temp2 = True;
14630 }
14631 }
14632 if (obj2) {
14633 {
14634 arg3 = &temp3;
14635 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14636 }
14637 }
14638 {
0439c23b 14639 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14642
14643 wxPyEndAllowThreads(__tstate);
0439c23b 14644 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14645 }
14646 {
14647 wxIcon * resultptr;
14648 resultptr = new wxIcon((wxIcon &) result);
14649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14650 }
14651 {
14652 if (temp1)
14653 delete arg1;
14654 }
14655 {
14656 if (temp2)
14657 delete arg2;
14658 }
14659 return resultobj;
14660 fail:
14661 {
14662 if (temp1)
14663 delete arg1;
14664 }
14665 {
14666 if (temp2)
14667 delete arg2;
14668 }
14669 return NULL;
14670}
14671
14672
14673static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14674 PyObject *resultobj;
14675 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14676 PyObject * obj0 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 wxPyArtProvider_Destroy(arg1);
14687
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 Py_INCREF(Py_None); resultobj = Py_None;
14692 return resultobj;
14693 fail:
14694 return NULL;
14695}
14696
14697
14698static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14699 PyObject *obj;
14700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14701 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14702 Py_INCREF(obj);
14703 return Py_BuildValue((char *)"");
14704}
14705static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14708 PyObject * obj0 = 0 ;
14709 char *kwnames[] = {
14710 (char *) "self", NULL
14711 };
14712
14713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14716 {
14717 PyThreadState* __tstate = wxPyBeginAllowThreads();
14718 delete arg1;
14719
14720 wxPyEndAllowThreads(__tstate);
14721 if (PyErr_Occurred()) SWIG_fail;
14722 }
14723 Py_INCREF(Py_None); resultobj = Py_None;
14724 return resultobj;
14725 fail:
14726 return NULL;
14727}
14728
14729
14730static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14731 PyObject *resultobj;
14732 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14733 wxConfigBase *result;
14734 PyObject * obj0 = 0 ;
14735 char *kwnames[] = {
14736 (char *) "config", NULL
14737 };
14738
14739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14745
14746 wxPyEndAllowThreads(__tstate);
14747 if (PyErr_Occurred()) SWIG_fail;
14748 }
14749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14750 return resultobj;
14751 fail:
14752 return NULL;
14753}
14754
14755
14756static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14757 PyObject *resultobj;
14758 bool arg1 = (bool) True ;
14759 wxConfigBase *result;
14760 PyObject * obj0 = 0 ;
14761 char *kwnames[] = {
14762 (char *) "createOnDemand", NULL
14763 };
14764
14765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14766 if (obj0) {
14767 arg1 = (bool) SWIG_AsBool(obj0);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14778 return resultobj;
14779 fail:
14780 return NULL;
14781}
14782
14783
14784static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14785 PyObject *resultobj;
14786 wxConfigBase *result;
14787 char *kwnames[] = {
14788 NULL
14789 };
14790
14791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (wxConfigBase *)wxConfigBase::Create();
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14800 return resultobj;
14801 fail:
14802 return NULL;
14803}
14804
14805
14806static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14807 PyObject *resultobj;
14808 char *kwnames[] = {
14809 NULL
14810 };
14811
14812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14813 {
14814 PyThreadState* __tstate = wxPyBeginAllowThreads();
14815 wxConfigBase::DontCreateOnDemand();
14816
14817 wxPyEndAllowThreads(__tstate);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 Py_INCREF(Py_None); resultobj = Py_None;
14821 return resultobj;
14822 fail:
14823 return NULL;
14824}
14825
14826
14827static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14828 PyObject *resultobj;
14829 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14830 wxString *arg2 = 0 ;
14831 bool temp2 = False ;
14832 PyObject * obj0 = 0 ;
14833 PyObject * obj1 = 0 ;
14834 char *kwnames[] = {
14835 (char *) "self",(char *) "path", NULL
14836 };
14837
14838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14841 {
14842 arg2 = wxString_in_helper(obj1);
14843 if (arg2 == NULL) SWIG_fail;
14844 temp2 = True;
14845 }
14846 {
14847 PyThreadState* __tstate = wxPyBeginAllowThreads();
14848 (arg1)->SetPath((wxString const &)*arg2);
14849
14850 wxPyEndAllowThreads(__tstate);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 Py_INCREF(Py_None); resultobj = Py_None;
14854 {
14855 if (temp2)
14856 delete arg2;
14857 }
14858 return resultobj;
14859 fail:
14860 {
14861 if (temp2)
14862 delete arg2;
14863 }
14864 return NULL;
14865}
14866
14867
14868static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14869 PyObject *resultobj;
14870 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14871 wxString *result;
14872 PyObject * obj0 = 0 ;
14873 char *kwnames[] = {
14874 (char *) "self", NULL
14875 };
14876
14877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14880 {
14881 PyThreadState* __tstate = wxPyBeginAllowThreads();
14882 {
14883 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14884 result = (wxString *) &_result_ref;
14885 }
14886
14887 wxPyEndAllowThreads(__tstate);
14888 if (PyErr_Occurred()) SWIG_fail;
14889 }
14890 {
14891#if wxUSE_UNICODE
14892 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14893#else
14894 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14895#endif
14896 }
14897 return resultobj;
14898 fail:
14899 return NULL;
14900}
14901
14902
14903static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj;
14905 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14906 PyObject *result;
14907 PyObject * obj0 = 0 ;
14908 char *kwnames[] = {
14909 (char *) "self", NULL
14910 };
14911
14912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14918
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 resultobj = result;
14923 return resultobj;
14924 fail:
14925 return NULL;
14926}
14927
14928
14929static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14930 PyObject *resultobj;
14931 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14932 long arg2 ;
14933 PyObject *result;
14934 PyObject * obj0 = 0 ;
14935 PyObject * obj1 = 0 ;
14936 char *kwnames[] = {
14937 (char *) "self",(char *) "index", NULL
14938 };
14939
14940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14943 arg2 = (long) SWIG_AsLong(obj1);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 resultobj = result;
14953 return resultobj;
14954 fail:
14955 return NULL;
14956}
14957
14958
14959static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14962 PyObject *result;
14963 PyObject * obj0 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14971 {
14972 PyThreadState* __tstate = wxPyBeginAllowThreads();
14973 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14974
14975 wxPyEndAllowThreads(__tstate);
14976 if (PyErr_Occurred()) SWIG_fail;
14977 }
14978 resultobj = result;
14979 return resultobj;
14980 fail:
14981 return NULL;
14982}
14983
14984
14985static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14986 PyObject *resultobj;
14987 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14988 long arg2 ;
14989 PyObject *result;
14990 PyObject * obj0 = 0 ;
14991 PyObject * obj1 = 0 ;
14992 char *kwnames[] = {
14993 (char *) "self",(char *) "index", NULL
14994 };
14995
14996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
14997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14999 arg2 = (long) SWIG_AsLong(obj1);
15000 if (PyErr_Occurred()) SWIG_fail;
15001 {
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
15004
15005 wxPyEndAllowThreads(__tstate);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
15008 resultobj = result;
15009 return resultobj;
15010 fail:
15011 return NULL;
15012}
15013
15014
15015static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj;
15017 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15018 bool arg2 = (bool) False ;
15019 size_t result;
15020 PyObject * obj0 = 0 ;
15021 PyObject * obj1 = 0 ;
15022 char *kwnames[] = {
15023 (char *) "self",(char *) "recursive", NULL
15024 };
15025
15026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
15027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15029 if (obj1) {
15030 arg2 = (bool) SWIG_AsBool(obj1);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
15036
15037 wxPyEndAllowThreads(__tstate);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
15041 return resultobj;
15042 fail:
15043 return NULL;
15044}
15045
15046
15047static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
15048 PyObject *resultobj;
15049 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15050 bool arg2 = (bool) False ;
15051 size_t result;
15052 PyObject * obj0 = 0 ;
15053 PyObject * obj1 = 0 ;
15054 char *kwnames[] = {
15055 (char *) "self",(char *) "recursive", NULL
15056 };
15057
15058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
15059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15061 if (obj1) {
15062 arg2 = (bool) SWIG_AsBool(obj1);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 {
15066 PyThreadState* __tstate = wxPyBeginAllowThreads();
15067 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
15068
15069 wxPyEndAllowThreads(__tstate);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
15073 return resultobj;
15074 fail:
15075 return NULL;
15076}
15077
15078
15079static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15080 PyObject *resultobj;
15081 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15082 wxString *arg2 = 0 ;
15083 bool result;
15084 bool temp2 = False ;
15085 PyObject * obj0 = 0 ;
15086 PyObject * obj1 = 0 ;
15087 char *kwnames[] = {
15088 (char *) "self",(char *) "name", NULL
15089 };
15090
15091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
15092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15094 {
15095 arg2 = wxString_in_helper(obj1);
15096 if (arg2 == NULL) SWIG_fail;
15097 temp2 = True;
15098 }
15099 {
15100 PyThreadState* __tstate = wxPyBeginAllowThreads();
15101 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
15102
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 {
15107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15108 }
15109 {
15110 if (temp2)
15111 delete arg2;
15112 }
15113 return resultobj;
15114 fail:
15115 {
15116 if (temp2)
15117 delete arg2;
15118 }
15119 return NULL;
15120}
15121
15122
15123static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15126 wxString *arg2 = 0 ;
15127 bool result;
15128 bool temp2 = False ;
15129 PyObject * obj0 = 0 ;
15130 PyObject * obj1 = 0 ;
15131 char *kwnames[] = {
15132 (char *) "self",(char *) "name", NULL
15133 };
15134
15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15138 {
15139 arg2 = wxString_in_helper(obj1);
15140 if (arg2 == NULL) SWIG_fail;
15141 temp2 = True;
15142 }
15143 {
15144 PyThreadState* __tstate = wxPyBeginAllowThreads();
15145 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15146
15147 wxPyEndAllowThreads(__tstate);
15148 if (PyErr_Occurred()) SWIG_fail;
15149 }
15150 {
15151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15152 }
15153 {
15154 if (temp2)
15155 delete arg2;
15156 }
15157 return resultobj;
15158 fail:
15159 {
15160 if (temp2)
15161 delete arg2;
15162 }
15163 return NULL;
15164}
15165
15166
15167static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj;
15169 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15170 wxString *arg2 = 0 ;
15171 bool result;
15172 bool temp2 = False ;
15173 PyObject * obj0 = 0 ;
15174 PyObject * obj1 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "self",(char *) "name", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15182 {
15183 arg2 = wxString_in_helper(obj1);
15184 if (arg2 == NULL) SWIG_fail;
15185 temp2 = True;
15186 }
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 {
15195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15196 }
15197 {
15198 if (temp2)
15199 delete arg2;
15200 }
15201 return resultobj;
15202 fail:
15203 {
15204 if (temp2)
15205 delete arg2;
15206 }
15207 return NULL;
15208}
15209
15210
15211static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
15212 PyObject *resultobj;
15213 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15214 wxString *arg2 = 0 ;
15215 int result;
15216 bool temp2 = False ;
15217 PyObject * obj0 = 0 ;
15218 PyObject * obj1 = 0 ;
15219 char *kwnames[] = {
15220 (char *) "self",(char *) "name", NULL
15221 };
15222
15223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15226 {
15227 arg2 = wxString_in_helper(obj1);
15228 if (arg2 == NULL) SWIG_fail;
15229 temp2 = True;
15230 }
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 resultobj = SWIG_FromInt((int)result);
15239 {
15240 if (temp2)
15241 delete arg2;
15242 }
15243 return resultobj;
15244 fail:
15245 {
15246 if (temp2)
15247 delete arg2;
15248 }
15249 return NULL;
15250}
15251
15252
15253static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
15254 PyObject *resultobj;
15255 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15256 wxString *arg2 = 0 ;
15257 wxString const &arg3_defvalue = wxPyEmptyString ;
15258 wxString *arg3 = (wxString *) &arg3_defvalue ;
15259 wxString result;
15260 bool temp2 = False ;
15261 bool temp3 = False ;
15262 PyObject * obj0 = 0 ;
15263 PyObject * obj1 = 0 ;
15264 PyObject * obj2 = 0 ;
15265 char *kwnames[] = {
15266 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15267 };
15268
15269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15272 {
15273 arg2 = wxString_in_helper(obj1);
15274 if (arg2 == NULL) SWIG_fail;
15275 temp2 = True;
15276 }
15277 if (obj2) {
15278 {
15279 arg3 = wxString_in_helper(obj2);
15280 if (arg3 == NULL) SWIG_fail;
15281 temp3 = True;
15282 }
15283 }
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 {
15292#if wxUSE_UNICODE
15293 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15294#else
15295 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15296#endif
15297 }
15298 {
15299 if (temp2)
15300 delete arg2;
15301 }
15302 {
15303 if (temp3)
15304 delete arg3;
15305 }
15306 return resultobj;
15307 fail:
15308 {
15309 if (temp2)
15310 delete arg2;
15311 }
15312 {
15313 if (temp3)
15314 delete arg3;
15315 }
15316 return NULL;
15317}
15318
15319
15320static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15321 PyObject *resultobj;
15322 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15323 wxString *arg2 = 0 ;
15324 long arg3 = (long) 0 ;
15325 long result;
15326 bool temp2 = False ;
15327 PyObject * obj0 = 0 ;
15328 PyObject * obj1 = 0 ;
15329 PyObject * obj2 = 0 ;
15330 char *kwnames[] = {
15331 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15332 };
15333
15334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15337 {
15338 arg2 = wxString_in_helper(obj1);
15339 if (arg2 == NULL) SWIG_fail;
15340 temp2 = True;
15341 }
15342 if (obj2) {
15343 arg3 = (long) SWIG_AsLong(obj2);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 {
15347 PyThreadState* __tstate = wxPyBeginAllowThreads();
15348 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15349
15350 wxPyEndAllowThreads(__tstate);
15351 if (PyErr_Occurred()) SWIG_fail;
15352 }
15353 resultobj = SWIG_FromLong((long)result);
15354 {
15355 if (temp2)
15356 delete arg2;
15357 }
15358 return resultobj;
15359 fail:
15360 {
15361 if (temp2)
15362 delete arg2;
15363 }
15364 return NULL;
15365}
15366
15367
15368static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15369 PyObject *resultobj;
15370 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15371 wxString *arg2 = 0 ;
15372 double arg3 = (double) 0.0 ;
15373 double result;
15374 bool temp2 = False ;
15375 PyObject * obj0 = 0 ;
15376 PyObject * obj1 = 0 ;
15377 PyObject * obj2 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15385 {
15386 arg2 = wxString_in_helper(obj1);
15387 if (arg2 == NULL) SWIG_fail;
15388 temp2 = True;
15389 }
15390 if (obj2) {
15391 arg3 = (double) SWIG_AsDouble(obj2);
15392 if (PyErr_Occurred()) SWIG_fail;
15393 }
15394 {
15395 PyThreadState* __tstate = wxPyBeginAllowThreads();
15396 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15397
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 resultobj = SWIG_FromDouble((double)result);
15402 {
15403 if (temp2)
15404 delete arg2;
15405 }
15406 return resultobj;
15407 fail:
15408 {
15409 if (temp2)
15410 delete arg2;
15411 }
15412 return NULL;
15413}
15414
15415
15416static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15417 PyObject *resultobj;
15418 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15419 wxString *arg2 = 0 ;
15420 bool arg3 = (bool) False ;
15421 bool result;
15422 bool temp2 = False ;
15423 PyObject * obj0 = 0 ;
15424 PyObject * obj1 = 0 ;
15425 PyObject * obj2 = 0 ;
15426 char *kwnames[] = {
15427 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15428 };
15429
15430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15433 {
15434 arg2 = wxString_in_helper(obj1);
15435 if (arg2 == NULL) SWIG_fail;
15436 temp2 = True;
15437 }
15438 if (obj2) {
15439 arg3 = (bool) SWIG_AsBool(obj2);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 {
15450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15451 }
15452 {
15453 if (temp2)
15454 delete arg2;
15455 }
15456 return resultobj;
15457 fail:
15458 {
15459 if (temp2)
15460 delete arg2;
15461 }
15462 return NULL;
15463}
15464
15465
15466static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15467 PyObject *resultobj;
15468 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15469 wxString *arg2 = 0 ;
15470 wxString *arg3 = 0 ;
15471 bool result;
15472 bool temp2 = False ;
15473 bool temp3 = False ;
15474 PyObject * obj0 = 0 ;
15475 PyObject * obj1 = 0 ;
15476 PyObject * obj2 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "self",(char *) "key",(char *) "value", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15484 {
15485 arg2 = wxString_in_helper(obj1);
15486 if (arg2 == NULL) SWIG_fail;
15487 temp2 = True;
15488 }
15489 {
15490 arg3 = wxString_in_helper(obj2);
15491 if (arg3 == NULL) SWIG_fail;
15492 temp3 = True;
15493 }
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 {
15502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15503 }
15504 {
15505 if (temp2)
15506 delete arg2;
15507 }
15508 {
15509 if (temp3)
15510 delete arg3;
15511 }
15512 return resultobj;
15513 fail:
15514 {
15515 if (temp2)
15516 delete arg2;
15517 }
15518 {
15519 if (temp3)
15520 delete arg3;
15521 }
15522 return NULL;
15523}
15524
15525
15526static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj;
15528 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15529 wxString *arg2 = 0 ;
15530 long arg3 ;
15531 bool result;
15532 bool temp2 = False ;
15533 PyObject * obj0 = 0 ;
15534 PyObject * obj1 = 0 ;
15535 PyObject * obj2 = 0 ;
15536 char *kwnames[] = {
15537 (char *) "self",(char *) "key",(char *) "value", NULL
15538 };
15539
15540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15543 {
15544 arg2 = wxString_in_helper(obj1);
15545 if (arg2 == NULL) SWIG_fail;
15546 temp2 = True;
15547 }
15548 arg3 = (long) SWIG_AsLong(obj2);
15549 if (PyErr_Occurred()) SWIG_fail;
15550 {
15551 PyThreadState* __tstate = wxPyBeginAllowThreads();
15552 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15553
15554 wxPyEndAllowThreads(__tstate);
15555 if (PyErr_Occurred()) SWIG_fail;
15556 }
15557 {
15558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15559 }
15560 {
15561 if (temp2)
15562 delete arg2;
15563 }
15564 return resultobj;
15565 fail:
15566 {
15567 if (temp2)
15568 delete arg2;
15569 }
15570 return NULL;
15571}
15572
15573
15574static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15575 PyObject *resultobj;
15576 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15577 wxString *arg2 = 0 ;
15578 double arg3 ;
15579 bool result;
15580 bool temp2 = False ;
15581 PyObject * obj0 = 0 ;
15582 PyObject * obj1 = 0 ;
15583 PyObject * obj2 = 0 ;
15584 char *kwnames[] = {
15585 (char *) "self",(char *) "key",(char *) "value", NULL
15586 };
15587
15588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15591 {
15592 arg2 = wxString_in_helper(obj1);
15593 if (arg2 == NULL) SWIG_fail;
15594 temp2 = True;
15595 }
15596 arg3 = (double) SWIG_AsDouble(obj2);
15597 if (PyErr_Occurred()) SWIG_fail;
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15601
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 {
15606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15607 }
15608 {
15609 if (temp2)
15610 delete arg2;
15611 }
15612 return resultobj;
15613 fail:
15614 {
15615 if (temp2)
15616 delete arg2;
15617 }
15618 return NULL;
15619}
15620
15621
15622static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj;
15624 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15625 wxString *arg2 = 0 ;
15626 bool arg3 ;
15627 bool result;
15628 bool temp2 = False ;
15629 PyObject * obj0 = 0 ;
15630 PyObject * obj1 = 0 ;
15631 PyObject * obj2 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "self",(char *) "key",(char *) "value", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15639 {
15640 arg2 = wxString_in_helper(obj1);
15641 if (arg2 == NULL) SWIG_fail;
15642 temp2 = True;
15643 }
15644 arg3 = (bool) SWIG_AsBool(obj2);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 {
15647 PyThreadState* __tstate = wxPyBeginAllowThreads();
15648 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15649
15650 wxPyEndAllowThreads(__tstate);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 }
15653 {
15654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15655 }
15656 {
15657 if (temp2)
15658 delete arg2;
15659 }
15660 return resultobj;
15661 fail:
15662 {
15663 if (temp2)
15664 delete arg2;
15665 }
15666 return NULL;
15667}
15668
15669
15670static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15671 PyObject *resultobj;
15672 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15673 bool arg2 = (bool) False ;
15674 bool result;
15675 PyObject * obj0 = 0 ;
15676 PyObject * obj1 = 0 ;
15677 char *kwnames[] = {
15678 (char *) "self",(char *) "currentOnly", NULL
15679 };
15680
15681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15684 if (obj1) {
15685 arg2 = (bool) SWIG_AsBool(obj1);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 result = (bool)(arg1)->Flush(arg2);
15691
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 {
15696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15697 }
15698 return resultobj;
15699 fail:
15700 return NULL;
15701}
15702
15703
15704static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj;
15706 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15707 wxString *arg2 = 0 ;
15708 wxString *arg3 = 0 ;
15709 bool result;
15710 bool temp2 = False ;
15711 bool temp3 = False ;
15712 PyObject * obj0 = 0 ;
15713 PyObject * obj1 = 0 ;
15714 PyObject * obj2 = 0 ;
15715 char *kwnames[] = {
15716 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15717 };
15718
15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15722 {
15723 arg2 = wxString_in_helper(obj1);
15724 if (arg2 == NULL) SWIG_fail;
15725 temp2 = True;
15726 }
15727 {
15728 arg3 = wxString_in_helper(obj2);
15729 if (arg3 == NULL) SWIG_fail;
15730 temp3 = True;
15731 }
15732 {
15733 PyThreadState* __tstate = wxPyBeginAllowThreads();
15734 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15735
15736 wxPyEndAllowThreads(__tstate);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
15739 {
15740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15741 }
15742 {
15743 if (temp2)
15744 delete arg2;
15745 }
15746 {
15747 if (temp3)
15748 delete arg3;
15749 }
15750 return resultobj;
15751 fail:
15752 {
15753 if (temp2)
15754 delete arg2;
15755 }
15756 {
15757 if (temp3)
15758 delete arg3;
15759 }
15760 return NULL;
15761}
15762
15763
15764static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15765 PyObject *resultobj;
15766 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15767 wxString *arg2 = 0 ;
15768 wxString *arg3 = 0 ;
15769 bool result;
15770 bool temp2 = False ;
15771 bool temp3 = False ;
15772 PyObject * obj0 = 0 ;
15773 PyObject * obj1 = 0 ;
15774 PyObject * obj2 = 0 ;
15775 char *kwnames[] = {
15776 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15777 };
15778
15779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15782 {
15783 arg2 = wxString_in_helper(obj1);
15784 if (arg2 == NULL) SWIG_fail;
15785 temp2 = True;
15786 }
15787 {
15788 arg3 = wxString_in_helper(obj2);
15789 if (arg3 == NULL) SWIG_fail;
15790 temp3 = True;
15791 }
15792 {
15793 PyThreadState* __tstate = wxPyBeginAllowThreads();
15794 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15795
15796 wxPyEndAllowThreads(__tstate);
15797 if (PyErr_Occurred()) SWIG_fail;
15798 }
15799 {
15800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15801 }
15802 {
15803 if (temp2)
15804 delete arg2;
15805 }
15806 {
15807 if (temp3)
15808 delete arg3;
15809 }
15810 return resultobj;
15811 fail:
15812 {
15813 if (temp2)
15814 delete arg2;
15815 }
15816 {
15817 if (temp3)
15818 delete arg3;
15819 }
15820 return NULL;
15821}
15822
15823
15824static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15825 PyObject *resultobj;
15826 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15827 wxString *arg2 = 0 ;
15828 bool arg3 = (bool) True ;
15829 bool result;
15830 bool temp2 = False ;
15831 PyObject * obj0 = 0 ;
15832 PyObject * obj1 = 0 ;
15833 PyObject * obj2 = 0 ;
15834 char *kwnames[] = {
15835 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15836 };
15837
15838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15841 {
15842 arg2 = wxString_in_helper(obj1);
15843 if (arg2 == NULL) SWIG_fail;
15844 temp2 = True;
15845 }
15846 if (obj2) {
15847 arg3 = (bool) SWIG_AsBool(obj2);
15848 if (PyErr_Occurred()) SWIG_fail;
15849 }
15850 {
15851 PyThreadState* __tstate = wxPyBeginAllowThreads();
15852 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15853
15854 wxPyEndAllowThreads(__tstate);
15855 if (PyErr_Occurred()) SWIG_fail;
15856 }
15857 {
15858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15859 }
15860 {
15861 if (temp2)
15862 delete arg2;
15863 }
15864 return resultobj;
15865 fail:
15866 {
15867 if (temp2)
15868 delete arg2;
15869 }
15870 return NULL;
15871}
15872
15873
15874static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15875 PyObject *resultobj;
15876 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15877 wxString *arg2 = 0 ;
15878 bool result;
15879 bool temp2 = False ;
15880 PyObject * obj0 = 0 ;
15881 PyObject * obj1 = 0 ;
15882 char *kwnames[] = {
15883 (char *) "self",(char *) "key", NULL
15884 };
15885
15886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15889 {
15890 arg2 = wxString_in_helper(obj1);
15891 if (arg2 == NULL) SWIG_fail;
15892 temp2 = True;
15893 }
15894 {
15895 PyThreadState* __tstate = wxPyBeginAllowThreads();
15896 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15897
15898 wxPyEndAllowThreads(__tstate);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 }
15901 {
15902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15903 }
15904 {
15905 if (temp2)
15906 delete arg2;
15907 }
15908 return resultobj;
15909 fail:
15910 {
15911 if (temp2)
15912 delete arg2;
15913 }
15914 return NULL;
15915}
15916
15917
15918static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15919 PyObject *resultobj;
15920 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15921 bool result;
15922 PyObject * obj0 = 0 ;
15923 char *kwnames[] = {
15924 (char *) "self", NULL
15925 };
15926
15927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15930 {
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 result = (bool)(arg1)->DeleteAll();
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 {
15938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15939 }
15940 return resultobj;
15941 fail:
15942 return NULL;
15943}
15944
15945
15946static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15947 PyObject *resultobj;
15948 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15949 bool arg2 = (bool) True ;
15950 PyObject * obj0 = 0 ;
15951 PyObject * obj1 = 0 ;
15952 char *kwnames[] = {
15953 (char *) "self",(char *) "doIt", NULL
15954 };
15955
15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15959 if (obj1) {
15960 arg2 = (bool) SWIG_AsBool(obj1);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 (arg1)->SetExpandEnvVars(arg2);
15966
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 Py_INCREF(Py_None); resultobj = Py_None;
15971 return resultobj;
15972 fail:
15973 return NULL;
15974}
15975
15976
15977static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15978 PyObject *resultobj;
15979 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15980 bool result;
15981 PyObject * obj0 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 {
15997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15998 }
15999 return resultobj;
16000 fail:
16001 return NULL;
16002}
16003
16004
16005static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
16006 PyObject *resultobj;
16007 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16008 bool arg2 = (bool) True ;
16009 PyObject * obj0 = 0 ;
16010 PyObject * obj1 = 0 ;
16011 char *kwnames[] = {
16012 (char *) "self",(char *) "doIt", NULL
16013 };
16014
16015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
16016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16018 if (obj1) {
16019 arg2 = (bool) SWIG_AsBool(obj1);
16020 if (PyErr_Occurred()) SWIG_fail;
16021 }
16022 {
16023 PyThreadState* __tstate = wxPyBeginAllowThreads();
16024 (arg1)->SetRecordDefaults(arg2);
16025
16026 wxPyEndAllowThreads(__tstate);
16027 if (PyErr_Occurred()) SWIG_fail;
16028 }
16029 Py_INCREF(Py_None); resultobj = Py_None;
16030 return resultobj;
16031 fail:
16032 return NULL;
16033}
16034
16035
16036static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
16037 PyObject *resultobj;
16038 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16039 bool result;
16040 PyObject * obj0 = 0 ;
16041 char *kwnames[] = {
16042 (char *) "self", NULL
16043 };
16044
16045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
16046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
16051
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 {
16056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16057 }
16058 return resultobj;
16059 fail:
16060 return NULL;
16061}
16062
16063
16064static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16065 PyObject *resultobj;
16066 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16067 wxString *arg2 = 0 ;
16068 wxString result;
16069 bool temp2 = False ;
16070 PyObject * obj0 = 0 ;
16071 PyObject * obj1 = 0 ;
16072 char *kwnames[] = {
16073 (char *) "self",(char *) "str", NULL
16074 };
16075
16076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16079 {
16080 arg2 = wxString_in_helper(obj1);
16081 if (arg2 == NULL) SWIG_fail;
16082 temp2 = True;
16083 }
16084 {
16085 PyThreadState* __tstate = wxPyBeginAllowThreads();
16086 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
16087
16088 wxPyEndAllowThreads(__tstate);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 {
16092#if wxUSE_UNICODE
16093 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16094#else
16095 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16096#endif
16097 }
16098 {
16099 if (temp2)
16100 delete arg2;
16101 }
16102 return resultobj;
16103 fail:
16104 {
16105 if (temp2)
16106 delete arg2;
16107 }
16108 return NULL;
16109}
16110
16111
16112static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16113 PyObject *resultobj;
16114 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16115 wxString result;
16116 PyObject * obj0 = 0 ;
16117 char *kwnames[] = {
16118 (char *) "self", NULL
16119 };
16120
16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
16122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16124 {
16125 PyThreadState* __tstate = wxPyBeginAllowThreads();
16126 result = ((wxConfigBase const *)arg1)->GetAppName();
16127
16128 wxPyEndAllowThreads(__tstate);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 {
16132#if wxUSE_UNICODE
16133 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16134#else
16135 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16136#endif
16137 }
16138 return resultobj;
16139 fail:
16140 return NULL;
16141}
16142
16143
16144static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16147 wxString result;
16148 PyObject * obj0 = 0 ;
16149 char *kwnames[] = {
16150 (char *) "self", NULL
16151 };
16152
16153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 result = ((wxConfigBase const *)arg1)->GetVendorName();
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 {
16164#if wxUSE_UNICODE
16165 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16166#else
16167 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16168#endif
16169 }
16170 return resultobj;
16171 fail:
16172 return NULL;
16173}
16174
16175
16176static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16177 PyObject *resultobj;
16178 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16179 wxString *arg2 = 0 ;
16180 bool temp2 = False ;
16181 PyObject * obj0 = 0 ;
16182 PyObject * obj1 = 0 ;
16183 char *kwnames[] = {
16184 (char *) "self",(char *) "appName", NULL
16185 };
16186
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16190 {
16191 arg2 = wxString_in_helper(obj1);
16192 if (arg2 == NULL) SWIG_fail;
16193 temp2 = True;
16194 }
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 (arg1)->SetAppName((wxString const &)*arg2);
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 Py_INCREF(Py_None); resultobj = Py_None;
16203 {
16204 if (temp2)
16205 delete arg2;
16206 }
16207 return resultobj;
16208 fail:
16209 {
16210 if (temp2)
16211 delete arg2;
16212 }
16213 return NULL;
16214}
16215
16216
16217static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16218 PyObject *resultobj;
16219 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16220 wxString *arg2 = 0 ;
16221 bool temp2 = False ;
16222 PyObject * obj0 = 0 ;
16223 PyObject * obj1 = 0 ;
16224 char *kwnames[] = {
16225 (char *) "self",(char *) "vendorName", NULL
16226 };
16227
16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16231 {
16232 arg2 = wxString_in_helper(obj1);
16233 if (arg2 == NULL) SWIG_fail;
16234 temp2 = True;
16235 }
16236 {
16237 PyThreadState* __tstate = wxPyBeginAllowThreads();
16238 (arg1)->SetVendorName((wxString const &)*arg2);
16239
16240 wxPyEndAllowThreads(__tstate);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 }
16243 Py_INCREF(Py_None); resultobj = Py_None;
16244 {
16245 if (temp2)
16246 delete arg2;
16247 }
16248 return resultobj;
16249 fail:
16250 {
16251 if (temp2)
16252 delete arg2;
16253 }
16254 return NULL;
16255}
16256
16257
16258static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16259 PyObject *resultobj;
16260 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16261 long arg2 ;
16262 PyObject * obj0 = 0 ;
16263 PyObject * obj1 = 0 ;
16264 char *kwnames[] = {
16265 (char *) "self",(char *) "style", NULL
16266 };
16267
16268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16271 arg2 = (long) SWIG_AsLong(obj1);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 {
16274 PyThreadState* __tstate = wxPyBeginAllowThreads();
16275 (arg1)->SetStyle(arg2);
16276
16277 wxPyEndAllowThreads(__tstate);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 }
16280 Py_INCREF(Py_None); resultobj = Py_None;
16281 return resultobj;
16282 fail:
16283 return NULL;
16284}
16285
16286
16287static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16288 PyObject *resultobj;
16289 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16290 long result;
16291 PyObject * obj0 = 0 ;
16292 char *kwnames[] = {
16293 (char *) "self", NULL
16294 };
16295
16296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 resultobj = SWIG_FromLong((long)result);
16307 return resultobj;
16308 fail:
16309 return NULL;
16310}
16311
16312
16313static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
16314 PyObject *obj;
16315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16316 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16317 Py_INCREF(obj);
16318 return Py_BuildValue((char *)"");
16319}
16320static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16321 PyObject *resultobj;
16322 wxString const &arg1_defvalue = wxPyEmptyString ;
16323 wxString *arg1 = (wxString *) &arg1_defvalue ;
16324 wxString const &arg2_defvalue = wxPyEmptyString ;
16325 wxString *arg2 = (wxString *) &arg2_defvalue ;
16326 wxString const &arg3_defvalue = wxPyEmptyString ;
16327 wxString *arg3 = (wxString *) &arg3_defvalue ;
16328 wxString const &arg4_defvalue = wxPyEmptyString ;
16329 wxString *arg4 = (wxString *) &arg4_defvalue ;
16330 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16331 wxConfig *result;
16332 bool temp1 = False ;
16333 bool temp2 = False ;
16334 bool temp3 = False ;
16335 bool temp4 = False ;
16336 PyObject * obj0 = 0 ;
16337 PyObject * obj1 = 0 ;
16338 PyObject * obj2 = 0 ;
16339 PyObject * obj3 = 0 ;
16340 PyObject * obj4 = 0 ;
16341 char *kwnames[] = {
16342 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16346 if (obj0) {
16347 {
16348 arg1 = wxString_in_helper(obj0);
16349 if (arg1 == NULL) SWIG_fail;
16350 temp1 = True;
16351 }
16352 }
16353 if (obj1) {
16354 {
16355 arg2 = wxString_in_helper(obj1);
16356 if (arg2 == NULL) SWIG_fail;
16357 temp2 = True;
16358 }
16359 }
16360 if (obj2) {
16361 {
16362 arg3 = wxString_in_helper(obj2);
16363 if (arg3 == NULL) SWIG_fail;
16364 temp3 = True;
16365 }
16366 }
16367 if (obj3) {
16368 {
16369 arg4 = wxString_in_helper(obj3);
16370 if (arg4 == NULL) SWIG_fail;
16371 temp4 = True;
16372 }
16373 }
16374 if (obj4) {
16375 arg5 = (long) SWIG_AsLong(obj4);
16376 if (PyErr_Occurred()) SWIG_fail;
16377 }
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16381
16382 wxPyEndAllowThreads(__tstate);
16383 if (PyErr_Occurred()) SWIG_fail;
16384 }
16385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16386 {
16387 if (temp1)
16388 delete arg1;
16389 }
16390 {
16391 if (temp2)
16392 delete arg2;
16393 }
16394 {
16395 if (temp3)
16396 delete arg3;
16397 }
16398 {
16399 if (temp4)
16400 delete arg4;
16401 }
16402 return resultobj;
16403 fail:
16404 {
16405 if (temp1)
16406 delete arg1;
16407 }
16408 {
16409 if (temp2)
16410 delete arg2;
16411 }
16412 {
16413 if (temp3)
16414 delete arg3;
16415 }
16416 {
16417 if (temp4)
16418 delete arg4;
16419 }
16420 return NULL;
16421}
16422
16423
16424static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16425 PyObject *resultobj;
16426 wxConfig *arg1 = (wxConfig *) 0 ;
16427 PyObject * obj0 = 0 ;
16428 char *kwnames[] = {
16429 (char *) "self", NULL
16430 };
16431
16432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16435 {
16436 PyThreadState* __tstate = wxPyBeginAllowThreads();
16437 delete arg1;
16438
16439 wxPyEndAllowThreads(__tstate);
16440 if (PyErr_Occurred()) SWIG_fail;
16441 }
16442 Py_INCREF(Py_None); resultobj = Py_None;
16443 return resultobj;
16444 fail:
16445 return NULL;
16446}
16447
16448
16449static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16450 PyObject *obj;
16451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16452 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16453 Py_INCREF(obj);
16454 return Py_BuildValue((char *)"");
16455}
16456static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16457 PyObject *resultobj;
16458 wxString const &arg1_defvalue = wxPyEmptyString ;
16459 wxString *arg1 = (wxString *) &arg1_defvalue ;
16460 wxString const &arg2_defvalue = wxPyEmptyString ;
16461 wxString *arg2 = (wxString *) &arg2_defvalue ;
16462 wxString const &arg3_defvalue = wxPyEmptyString ;
16463 wxString *arg3 = (wxString *) &arg3_defvalue ;
16464 wxString const &arg4_defvalue = wxPyEmptyString ;
16465 wxString *arg4 = (wxString *) &arg4_defvalue ;
16466 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16467 wxFileConfig *result;
16468 bool temp1 = False ;
16469 bool temp2 = False ;
16470 bool temp3 = False ;
16471 bool temp4 = False ;
16472 PyObject * obj0 = 0 ;
16473 PyObject * obj1 = 0 ;
16474 PyObject * obj2 = 0 ;
16475 PyObject * obj3 = 0 ;
16476 PyObject * obj4 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16482 if (obj0) {
16483 {
16484 arg1 = wxString_in_helper(obj0);
16485 if (arg1 == NULL) SWIG_fail;
16486 temp1 = True;
16487 }
16488 }
16489 if (obj1) {
16490 {
16491 arg2 = wxString_in_helper(obj1);
16492 if (arg2 == NULL) SWIG_fail;
16493 temp2 = True;
16494 }
16495 }
16496 if (obj2) {
16497 {
16498 arg3 = wxString_in_helper(obj2);
16499 if (arg3 == NULL) SWIG_fail;
16500 temp3 = True;
16501 }
16502 }
16503 if (obj3) {
16504 {
16505 arg4 = wxString_in_helper(obj3);
16506 if (arg4 == NULL) SWIG_fail;
16507 temp4 = True;
16508 }
16509 }
16510 if (obj4) {
16511 arg5 = (long) SWIG_AsLong(obj4);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 {
16515 PyThreadState* __tstate = wxPyBeginAllowThreads();
16516 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16517
16518 wxPyEndAllowThreads(__tstate);
16519 if (PyErr_Occurred()) SWIG_fail;
16520 }
16521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16522 {
16523 if (temp1)
16524 delete arg1;
16525 }
16526 {
16527 if (temp2)
16528 delete arg2;
16529 }
16530 {
16531 if (temp3)
16532 delete arg3;
16533 }
16534 {
16535 if (temp4)
16536 delete arg4;
16537 }
16538 return resultobj;
16539 fail:
16540 {
16541 if (temp1)
16542 delete arg1;
16543 }
16544 {
16545 if (temp2)
16546 delete arg2;
16547 }
16548 {
16549 if (temp3)
16550 delete arg3;
16551 }
16552 {
16553 if (temp4)
16554 delete arg4;
16555 }
16556 return NULL;
16557}
16558
16559
16560static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj;
16562 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16563 PyObject * obj0 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self", NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16571 {
16572 PyThreadState* __tstate = wxPyBeginAllowThreads();
16573 delete arg1;
16574
16575 wxPyEndAllowThreads(__tstate);
16576 if (PyErr_Occurred()) SWIG_fail;
16577 }
16578 Py_INCREF(Py_None); resultobj = Py_None;
16579 return resultobj;
16580 fail:
16581 return NULL;
16582}
16583
16584
16585static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16586 PyObject *obj;
16587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16588 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16589 Py_INCREF(obj);
16590 return Py_BuildValue((char *)"");
16591}
16592static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16593 PyObject *resultobj;
16594 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16595 wxString *arg2 = 0 ;
16596 wxConfigPathChanger *result;
16597 bool temp2 = False ;
16598 PyObject * obj0 = 0 ;
16599 PyObject * obj1 = 0 ;
16600 char *kwnames[] = {
16601 (char *) "config",(char *) "entry", NULL
16602 };
16603
16604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16607 {
16608 arg2 = wxString_in_helper(obj1);
16609 if (arg2 == NULL) SWIG_fail;
16610 temp2 = True;
16611 }
16612 {
16613 PyThreadState* __tstate = wxPyBeginAllowThreads();
16614 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16615
16616 wxPyEndAllowThreads(__tstate);
16617 if (PyErr_Occurred()) SWIG_fail;
16618 }
16619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16620 {
16621 if (temp2)
16622 delete arg2;
16623 }
16624 return resultobj;
16625 fail:
16626 {
16627 if (temp2)
16628 delete arg2;
16629 }
16630 return NULL;
16631}
16632
16633
16634static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16635 PyObject *resultobj;
16636 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16637 PyObject * obj0 = 0 ;
16638 char *kwnames[] = {
16639 (char *) "self", NULL
16640 };
16641
16642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16645 {
16646 PyThreadState* __tstate = wxPyBeginAllowThreads();
16647 delete arg1;
16648
16649 wxPyEndAllowThreads(__tstate);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 }
16652 Py_INCREF(Py_None); resultobj = Py_None;
16653 return resultobj;
16654 fail:
16655 return NULL;
16656}
16657
16658
16659static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
16660 PyObject *resultobj;
16661 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16662 wxString *result;
16663 PyObject * obj0 = 0 ;
16664 char *kwnames[] = {
16665 (char *) "self", NULL
16666 };
16667
16668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 {
16674 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16675 result = (wxString *) &_result_ref;
16676 }
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 return resultobj;
16689 fail:
16690 return NULL;
16691}
16692
16693
16694static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
16695 PyObject *obj;
16696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16697 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16698 Py_INCREF(obj);
16699 return Py_BuildValue((char *)"");
16700}
16701static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16702 PyObject *resultobj;
16703 wxString *arg1 = 0 ;
16704 wxString result;
16705 bool temp1 = False ;
16706 PyObject * obj0 = 0 ;
16707 char *kwnames[] = {
16708 (char *) "sz", NULL
16709 };
16710
16711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16712 {
16713 arg1 = wxString_in_helper(obj0);
16714 if (arg1 == NULL) SWIG_fail;
16715 temp1 = True;
16716 }
16717 {
16718 PyThreadState* __tstate = wxPyBeginAllowThreads();
16719 result = wxExpandEnvVars((wxString const &)*arg1);
16720
16721 wxPyEndAllowThreads(__tstate);
16722 if (PyErr_Occurred()) SWIG_fail;
16723 }
16724 {
16725#if wxUSE_UNICODE
16726 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16727#else
16728 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16729#endif
16730 }
16731 {
16732 if (temp1)
16733 delete arg1;
16734 }
16735 return resultobj;
16736 fail:
16737 {
16738 if (temp1)
16739 delete arg1;
16740 }
16741 return NULL;
16742}
16743
16744
16745static int _wrap_DateFormatStr_set(PyObject *_val) {
16746 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16747 return 1;
16748}
16749
16750
16751static PyObject *_wrap_DateFormatStr_get() {
16752 PyObject *pyobj;
16753
16754 {
16755#if wxUSE_UNICODE
16756 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16757#else
16758 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16759#endif
16760 }
16761 return pyobj;
16762}
16763
16764
16765static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16766 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16767 return 1;
16768}
16769
16770
16771static PyObject *_wrap_TimeSpanFormatStr_get() {
16772 PyObject *pyobj;
16773
16774 {
16775#if wxUSE_UNICODE
16776 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16777#else
16778 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16779#endif
16780 }
16781 return pyobj;
16782}
16783
16784
16785static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16786 PyObject *resultobj;
16787 int arg1 ;
16788 PyObject * obj0 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "country", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16794 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16799
16800 wxPyEndAllowThreads(__tstate);
16801 if (PyErr_Occurred()) SWIG_fail;
16802 }
16803 Py_INCREF(Py_None); resultobj = Py_None;
16804 return resultobj;
16805 fail:
16806 return NULL;
16807}
16808
16809
16810static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16811 PyObject *resultobj;
16812 int result;
16813 char *kwnames[] = {
16814 NULL
16815 };
16816
16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 result = (int)wxDateTime::GetCountry();
16821
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 resultobj = SWIG_FromInt((int)result);
16826 return resultobj;
16827 fail:
16828 return NULL;
16829}
16830
16831
16832static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16833 PyObject *resultobj;
16834 int arg1 = (int) wxDateTime::Country_Default ;
16835 bool result;
16836 PyObject * obj0 = 0 ;
16837 char *kwnames[] = {
16838 (char *) "country", NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16842 if (obj0) {
16843 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16844 if (PyErr_Occurred()) SWIG_fail;
16845 }
16846 {
16847 PyThreadState* __tstate = wxPyBeginAllowThreads();
16848 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16849
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 {
16854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16855 }
16856 return resultobj;
16857 fail:
16858 return NULL;
16859}
16860
16861
16862static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16863 PyObject *resultobj;
16864 int arg1 = (int) wxDateTime::Gregorian ;
16865 int result;
16866 PyObject * obj0 = 0 ;
16867 char *kwnames[] = {
16868 (char *) "cal", NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16872 if (obj0) {
16873 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 {
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16879
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 resultobj = SWIG_FromInt((int)result);
16884 return resultobj;
16885 fail:
16886 return NULL;
16887}
16888
16889
16890static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 int arg1 ;
16893 int result;
16894 PyObject * obj0 = 0 ;
16895 char *kwnames[] = {
16896 (char *) "year", NULL
16897 };
16898
16899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16900 arg1 = (int) SWIG_AsInt(obj0);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 {
16903 PyThreadState* __tstate = wxPyBeginAllowThreads();
16904 result = (int)wxDateTime::ConvertYearToBC(arg1);
16905
16906 wxPyEndAllowThreads(__tstate);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 }
16909 resultobj = SWIG_FromInt((int)result);
16910 return resultobj;
16911 fail:
16912 return NULL;
16913}
16914
16915
16916static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16917 PyObject *resultobj;
16918 int arg1 = (int) wxDateTime::Gregorian ;
16919 int result;
16920 PyObject * obj0 = 0 ;
16921 char *kwnames[] = {
16922 (char *) "cal", NULL
16923 };
16924
16925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16926 if (obj0) {
16927 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 {
16931 PyThreadState* __tstate = wxPyBeginAllowThreads();
16932 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16933
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 resultobj = SWIG_FromInt((int)result);
16938 return resultobj;
16939 fail:
16940 return NULL;
16941}
16942
16943
16944static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj;
16946 int arg1 = (int) wxDateTime::Inv_Year ;
16947 int arg2 = (int) wxDateTime::Gregorian ;
16948 bool result;
16949 PyObject * obj0 = 0 ;
16950 PyObject * obj1 = 0 ;
16951 char *kwnames[] = {
16952 (char *) "year",(char *) "cal", NULL
16953 };
16954
16955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16956 if (obj0) {
16957 arg1 = (int) SWIG_AsInt(obj0);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 if (obj1) {
16961 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 }
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16967
16968 wxPyEndAllowThreads(__tstate);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 {
16972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16973 }
16974 return resultobj;
16975 fail:
16976 return NULL;
16977}
16978
16979
16980static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
16981 PyObject *resultobj;
16982 int arg1 = (int) wxDateTime::Inv_Year ;
16983 int result;
16984 PyObject * obj0 = 0 ;
16985 char *kwnames[] = {
16986 (char *) "year", NULL
16987 };
16988
16989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16990 if (obj0) {
16991 arg1 = (int) SWIG_AsInt(obj0);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 }
16994 {
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 result = (int)wxDateTime::GetCentury(arg1);
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 resultobj = SWIG_FromInt((int)result);
17002 return resultobj;
17003 fail:
17004 return NULL;
17005}
17006
17007
17008static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17009 PyObject *resultobj;
17010 int arg1 ;
17011 int arg2 = (int) wxDateTime::Gregorian ;
17012 int result;
17013 PyObject * obj0 = 0 ;
17014 PyObject * obj1 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "year",(char *) "cal", NULL
17017 };
17018
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
17020 arg1 = (int) SWIG_AsInt(obj0);
17021 if (PyErr_Occurred()) SWIG_fail;
17022 if (obj1) {
17023 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
17026 {
17027 PyThreadState* __tstate = wxPyBeginAllowThreads();
17028 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
17029
17030 wxPyEndAllowThreads(__tstate);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 }
17033 resultobj = SWIG_FromInt((int)result);
17034 return resultobj;
17035 fail:
17036 return NULL;
17037}
17038
17039
17040static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17041 PyObject *resultobj;
17042 int arg1 ;
17043 int arg2 = (int) wxDateTime::Inv_Year ;
17044 int arg3 = (int) wxDateTime::Gregorian ;
17045 int result;
17046 PyObject * obj0 = 0 ;
17047 PyObject * obj1 = 0 ;
17048 PyObject * obj2 = 0 ;
17049 char *kwnames[] = {
17050 (char *) "month",(char *) "year",(char *) "cal", NULL
17051 };
17052
17053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
17054 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 if (obj1) {
17057 arg2 = (int) SWIG_AsInt(obj1);
17058 if (PyErr_Occurred()) SWIG_fail;
17059 }
17060 if (obj2) {
17061 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
17062 if (PyErr_Occurred()) SWIG_fail;
17063 }
17064 {
17065 PyThreadState* __tstate = wxPyBeginAllowThreads();
17066 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
17067
17068 wxPyEndAllowThreads(__tstate);
17069 if (PyErr_Occurred()) SWIG_fail;
17070 }
17071 resultobj = SWIG_FromInt((int)result);
17072 return resultobj;
17073 fail:
17074 return NULL;
17075}
17076
17077
17078static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
17079 PyObject *resultobj;
17080 int arg1 ;
17081 int arg2 = (int) wxDateTime::Name_Full ;
17082 wxString result;
17083 PyObject * obj0 = 0 ;
17084 PyObject * obj1 = 0 ;
17085 char *kwnames[] = {
17086 (char *) "month",(char *) "flags", NULL
17087 };
17088
17089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
17090 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 if (obj1) {
17093 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 }
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 {
17104#if wxUSE_UNICODE
17105 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17106#else
17107 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17108#endif
17109 }
17110 return resultobj;
17111 fail:
17112 return NULL;
17113}
17114
17115
17116static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
17117 PyObject *resultobj;
17118 int arg1 ;
17119 int arg2 = (int) wxDateTime::Name_Full ;
17120 wxString result;
17121 PyObject * obj0 = 0 ;
17122 PyObject * obj1 = 0 ;
17123 char *kwnames[] = {
17124 (char *) "weekday",(char *) "flags", NULL
17125 };
17126
17127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
17128 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 if (obj1) {
17131 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17132 if (PyErr_Occurred()) SWIG_fail;
17133 }
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
17136 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 {
17142#if wxUSE_UNICODE
17143 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17144#else
17145 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17146#endif
17147 }
17148 return resultobj;
17149 fail:
17150 return NULL;
17151}
17152
17153
17154static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
17155 PyObject *resultobj;
17156 wxString *arg1 = (wxString *) 0 ;
17157 wxString *arg2 = (wxString *) 0 ;
17158 bool temp1 = False ;
17159 bool temp2 = False ;
17160 PyObject * obj0 = 0 ;
17161 PyObject * obj1 = 0 ;
17162 char *kwnames[] = {
17163 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17164 };
17165
17166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17167 {
17168 arg1 = wxString_in_helper(obj0);
17169 if (arg1 == NULL) SWIG_fail;
17170 temp1 = True;
17171 }
17172 {
17173 arg2 = wxString_in_helper(obj1);
17174 if (arg2 == NULL) SWIG_fail;
17175 temp2 = True;
17176 }
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
17179 wxDateTime::GetAmPmStrings(arg1,arg2);
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 Py_INCREF(Py_None); resultobj = Py_None;
17185 {
17186 if (temp1)
17187 delete arg1;
17188 }
17189 {
17190 if (temp2)
17191 delete arg2;
17192 }
17193 return resultobj;
17194 fail:
17195 {
17196 if (temp1)
17197 delete arg1;
17198 }
17199 {
17200 if (temp2)
17201 delete arg2;
17202 }
17203 return NULL;
17204}
17205
17206
17207static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 int arg1 = (int) wxDateTime::Inv_Year ;
17210 int arg2 = (int) wxDateTime::Country_Default ;
17211 bool result;
17212 PyObject * obj0 = 0 ;
17213 PyObject * obj1 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "year",(char *) "country", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17219 if (obj0) {
17220 arg1 = (int) SWIG_AsInt(obj0);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 }
17223 if (obj1) {
17224 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17225 if (PyErr_Occurred()) SWIG_fail;
17226 }
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17230
17231 wxPyEndAllowThreads(__tstate);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 {
17235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17236 }
17237 return resultobj;
17238 fail:
17239 return NULL;
17240}
17241
17242
17243static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17244 PyObject *resultobj;
17245 int arg1 = (int) wxDateTime::Inv_Year ;
17246 int arg2 = (int) wxDateTime::Country_Default ;
17247 wxDateTime result;
17248 PyObject * obj0 = 0 ;
17249 PyObject * obj1 = 0 ;
17250 char *kwnames[] = {
17251 (char *) "year",(char *) "country", NULL
17252 };
17253
17254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17255 if (obj0) {
17256 arg1 = (int) SWIG_AsInt(obj0);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 if (obj1) {
17260 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 }
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 {
17271 wxDateTime * resultptr;
17272 resultptr = new wxDateTime((wxDateTime &) result);
17273 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17274 }
17275 return resultobj;
17276 fail:
17277 return NULL;
17278}
17279
17280
17281static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj;
17283 int arg1 = (int) wxDateTime::Inv_Year ;
17284 int arg2 = (int) wxDateTime::Country_Default ;
17285 wxDateTime result;
17286 PyObject * obj0 = 0 ;
17287 PyObject * obj1 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "year",(char *) "country", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17293 if (obj0) {
17294 arg1 = (int) SWIG_AsInt(obj0);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 }
17297 if (obj1) {
17298 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 {
17302 PyThreadState* __tstate = wxPyBeginAllowThreads();
17303 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17304
17305 wxPyEndAllowThreads(__tstate);
17306 if (PyErr_Occurred()) SWIG_fail;
17307 }
17308 {
17309 wxDateTime * resultptr;
17310 resultptr = new wxDateTime((wxDateTime &) result);
17311 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17312 }
17313 return resultobj;
17314 fail:
17315 return NULL;
17316}
17317
17318
17319static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
17320 PyObject *resultobj;
17321 wxDateTime result;
17322 char *kwnames[] = {
17323 NULL
17324 };
17325
17326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 result = wxDateTime::Now();
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 {
17335 wxDateTime * resultptr;
17336 resultptr = new wxDateTime((wxDateTime &) result);
17337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17338 }
17339 return resultobj;
17340 fail:
17341 return NULL;
17342}
17343
17344
17345static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxDateTime result;
17348 char *kwnames[] = {
17349 NULL
17350 };
17351
17352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 result = wxDateTime::UNow();
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 {
17361 wxDateTime * resultptr;
17362 resultptr = new wxDateTime((wxDateTime &) result);
17363 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17364 }
17365 return resultobj;
17366 fail:
17367 return NULL;
17368}
17369
17370
17371static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxDateTime result;
17374 char *kwnames[] = {
17375 NULL
17376 };
17377
17378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17379 {
17380 PyThreadState* __tstate = wxPyBeginAllowThreads();
17381 result = wxDateTime::Today();
17382
17383 wxPyEndAllowThreads(__tstate);
17384 if (PyErr_Occurred()) SWIG_fail;
17385 }
17386 {
17387 wxDateTime * resultptr;
17388 resultptr = new wxDateTime((wxDateTime &) result);
17389 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17390 }
17391 return resultobj;
17392 fail:
17393 return NULL;
17394}
17395
17396
17397static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17398 PyObject *resultobj;
17399 wxDateTime *result;
17400 char *kwnames[] = {
17401 NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 result = (wxDateTime *)new wxDateTime();
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17413 return resultobj;
17414 fail:
17415 return NULL;
17416}
17417
17418
17419static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17420 PyObject *resultobj;
17421 time_t arg1 ;
17422 wxDateTime *result;
17423 PyObject * obj0 = 0 ;
17424 char *kwnames[] = {
17425 (char *) "timet", NULL
17426 };
17427
17428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17429 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 result = (wxDateTime *)new wxDateTime(arg1);
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17439 return resultobj;
17440 fail:
17441 return NULL;
17442}
17443
17444
17445static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 double arg1 ;
17448 wxDateTime *result;
17449 PyObject * obj0 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "jdn", NULL
17452 };
17453
17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17455 arg1 = (double) SWIG_AsDouble(obj0);
17456 if (PyErr_Occurred()) SWIG_fail;
17457 {
17458 PyThreadState* __tstate = wxPyBeginAllowThreads();
17459 result = (wxDateTime *)new wxDateTime(arg1);
17460
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
17464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17465 return resultobj;
17466 fail:
17467 return NULL;
17468}
17469
17470
17471static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17472 PyObject *resultobj;
17473 int arg1 ;
17474 int arg2 = (int) 0 ;
17475 int arg3 = (int) 0 ;
17476 int arg4 = (int) 0 ;
17477 wxDateTime *result;
17478 PyObject * obj0 = 0 ;
17479 PyObject * obj1 = 0 ;
17480 PyObject * obj2 = 0 ;
17481 PyObject * obj3 = 0 ;
17482 char *kwnames[] = {
17483 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17484 };
17485
17486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17487 arg1 = (int) SWIG_AsInt(obj0);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 if (obj1) {
17490 arg2 = (int) SWIG_AsInt(obj1);
17491 if (PyErr_Occurred()) SWIG_fail;
17492 }
17493 if (obj2) {
17494 arg3 = (int) SWIG_AsInt(obj2);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
17497 if (obj3) {
17498 arg4 = (int) SWIG_AsInt(obj3);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 }
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17504
17505 wxPyEndAllowThreads(__tstate);
17506 if (PyErr_Occurred()) SWIG_fail;
17507 }
17508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17509 return resultobj;
17510 fail:
17511 return NULL;
17512}
17513
17514
17515static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17516 PyObject *resultobj;
17517 int arg1 ;
17518 int arg2 = (int) wxDateTime::Inv_Month ;
17519 int arg3 = (int) wxDateTime::Inv_Year ;
17520 int arg4 = (int) 0 ;
17521 int arg5 = (int) 0 ;
17522 int arg6 = (int) 0 ;
17523 int arg7 = (int) 0 ;
17524 wxDateTime *result;
17525 PyObject * obj0 = 0 ;
17526 PyObject * obj1 = 0 ;
17527 PyObject * obj2 = 0 ;
17528 PyObject * obj3 = 0 ;
17529 PyObject * obj4 = 0 ;
17530 PyObject * obj5 = 0 ;
17531 PyObject * obj6 = 0 ;
17532 char *kwnames[] = {
17533 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17534 };
17535
17536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17537 arg1 = (int) SWIG_AsInt(obj0);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 if (obj1) {
17540 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 }
17543 if (obj2) {
17544 arg3 = (int) SWIG_AsInt(obj2);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 }
17547 if (obj3) {
17548 arg4 = (int) SWIG_AsInt(obj3);
17549 if (PyErr_Occurred()) SWIG_fail;
17550 }
17551 if (obj4) {
17552 arg5 = (int) SWIG_AsInt(obj4);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 if (obj5) {
17556 arg6 = (int) SWIG_AsInt(obj5);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 if (obj6) {
17560 arg7 = (int) SWIG_AsInt(obj6);
17561 if (PyErr_Occurred()) SWIG_fail;
17562 }
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17566
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17571 return resultobj;
17572 fail:
17573 return NULL;
17574}
17575
17576
17577static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17578 PyObject *resultobj;
17579 wxDateTime *arg1 = (wxDateTime *) 0 ;
17580 PyObject * obj0 = 0 ;
17581 char *kwnames[] = {
17582 (char *) "self", NULL
17583 };
17584
17585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17588 {
17589 PyThreadState* __tstate = wxPyBeginAllowThreads();
17590 delete arg1;
17591
17592 wxPyEndAllowThreads(__tstate);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 Py_INCREF(Py_None); resultobj = Py_None;
17596 return resultobj;
17597 fail:
17598 return NULL;
17599}
17600
17601
17602static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17603 PyObject *resultobj;
17604 wxDateTime *arg1 = (wxDateTime *) 0 ;
17605 wxDateTime *result;
17606 PyObject * obj0 = 0 ;
17607 char *kwnames[] = {
17608 (char *) "self", NULL
17609 };
17610
17611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 {
17617 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17618 result = (wxDateTime *) &_result_ref;
17619 }
17620
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17625 return resultobj;
17626 fail:
17627 return NULL;
17628}
17629
17630
17631static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17632 PyObject *resultobj;
17633 wxDateTime *arg1 = (wxDateTime *) 0 ;
17634 time_t arg2 ;
17635 wxDateTime *result;
17636 PyObject * obj0 = 0 ;
17637 PyObject * obj1 = 0 ;
17638 char *kwnames[] = {
17639 (char *) "self",(char *) "timet", NULL
17640 };
17641
17642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17645 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 {
17650 wxDateTime &_result_ref = (arg1)->Set(arg2);
17651 result = (wxDateTime *) &_result_ref;
17652 }
17653
17654 wxPyEndAllowThreads(__tstate);
17655 if (PyErr_Occurred()) SWIG_fail;
17656 }
17657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17658 return resultobj;
17659 fail:
17660 return NULL;
17661}
17662
17663
17664static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17665 PyObject *resultobj;
17666 wxDateTime *arg1 = (wxDateTime *) 0 ;
17667 double arg2 ;
17668 wxDateTime *result;
17669 PyObject * obj0 = 0 ;
17670 PyObject * obj1 = 0 ;
17671 char *kwnames[] = {
17672 (char *) "self",(char *) "jdn", NULL
17673 };
17674
17675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17678 arg2 = (double) SWIG_AsDouble(obj1);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 {
17681 PyThreadState* __tstate = wxPyBeginAllowThreads();
17682 {
17683 wxDateTime &_result_ref = (arg1)->Set(arg2);
17684 result = (wxDateTime *) &_result_ref;
17685 }
17686
17687 wxPyEndAllowThreads(__tstate);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
17690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17691 return resultobj;
17692 fail:
17693 return NULL;
17694}
17695
17696
17697static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17698 PyObject *resultobj;
17699 wxDateTime *arg1 = (wxDateTime *) 0 ;
17700 int arg2 ;
17701 int arg3 = (int) 0 ;
17702 int arg4 = (int) 0 ;
17703 int arg5 = (int) 0 ;
17704 wxDateTime *result;
17705 PyObject * obj0 = 0 ;
17706 PyObject * obj1 = 0 ;
17707 PyObject * obj2 = 0 ;
17708 PyObject * obj3 = 0 ;
17709 PyObject * obj4 = 0 ;
17710 char *kwnames[] = {
17711 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17712 };
17713
17714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17717 arg2 = (int) SWIG_AsInt(obj1);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 if (obj2) {
17720 arg3 = (int) SWIG_AsInt(obj2);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
17723 if (obj3) {
17724 arg4 = (int) SWIG_AsInt(obj3);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 if (obj4) {
17728 arg5 = (int) SWIG_AsInt(obj4);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 {
17734 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17735 result = (wxDateTime *) &_result_ref;
17736 }
17737
17738 wxPyEndAllowThreads(__tstate);
17739 if (PyErr_Occurred()) SWIG_fail;
17740 }
17741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17742 return resultobj;
17743 fail:
17744 return NULL;
17745}
17746
17747
17748static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17749 PyObject *resultobj;
17750 wxDateTime *arg1 = (wxDateTime *) 0 ;
17751 int arg2 ;
17752 int arg3 = (int) wxDateTime::Inv_Month ;
17753 int arg4 = (int) wxDateTime::Inv_Year ;
17754 int arg5 = (int) 0 ;
17755 int arg6 = (int) 0 ;
17756 int arg7 = (int) 0 ;
17757 int arg8 = (int) 0 ;
17758 wxDateTime *result;
17759 PyObject * obj0 = 0 ;
17760 PyObject * obj1 = 0 ;
17761 PyObject * obj2 = 0 ;
17762 PyObject * obj3 = 0 ;
17763 PyObject * obj4 = 0 ;
17764 PyObject * obj5 = 0 ;
17765 PyObject * obj6 = 0 ;
17766 PyObject * obj7 = 0 ;
17767 char *kwnames[] = {
17768 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17769 };
17770
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17774 arg2 = (int) SWIG_AsInt(obj1);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 if (obj2) {
17777 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 if (obj3) {
17781 arg4 = (int) SWIG_AsInt(obj3);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 if (obj4) {
17785 arg5 = (int) SWIG_AsInt(obj4);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 if (obj5) {
17789 arg6 = (int) SWIG_AsInt(obj5);
17790 if (PyErr_Occurred()) SWIG_fail;
17791 }
17792 if (obj6) {
17793 arg7 = (int) SWIG_AsInt(obj6);
17794 if (PyErr_Occurred()) SWIG_fail;
17795 }
17796 if (obj7) {
17797 arg8 = (int) SWIG_AsInt(obj7);
17798 if (PyErr_Occurred()) SWIG_fail;
17799 }
17800 {
17801 PyThreadState* __tstate = wxPyBeginAllowThreads();
17802 {
17803 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17804 result = (wxDateTime *) &_result_ref;
17805 }
17806
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
17810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17811 return resultobj;
17812 fail:
17813 return NULL;
17814}
17815
17816
17817static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17818 PyObject *resultobj;
17819 wxDateTime *arg1 = (wxDateTime *) 0 ;
17820 wxDateTime *result;
17821 PyObject * obj0 = 0 ;
17822 char *kwnames[] = {
17823 (char *) "self", NULL
17824 };
17825
17826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 {
17832 wxDateTime &_result_ref = (arg1)->ResetTime();
17833 result = (wxDateTime *) &_result_ref;
17834 }
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17840 return resultobj;
17841 fail:
17842 return NULL;
17843}
17844
17845
17846static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17847 PyObject *resultobj;
17848 wxDateTime *arg1 = (wxDateTime *) 0 ;
17849 int arg2 ;
17850 wxDateTime *result;
17851 PyObject * obj0 = 0 ;
17852 PyObject * obj1 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self",(char *) "year", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17860 arg2 = (int) SWIG_AsInt(obj1);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 {
17865 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17866 result = (wxDateTime *) &_result_ref;
17867 }
17868
17869 wxPyEndAllowThreads(__tstate);
17870 if (PyErr_Occurred()) SWIG_fail;
17871 }
17872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17873 return resultobj;
17874 fail:
17875 return NULL;
17876}
17877
17878
17879static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17880 PyObject *resultobj;
17881 wxDateTime *arg1 = (wxDateTime *) 0 ;
17882 int arg2 ;
17883 wxDateTime *result;
17884 PyObject * obj0 = 0 ;
17885 PyObject * obj1 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self",(char *) "month", NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17893 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 {
17898 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17899 result = (wxDateTime *) &_result_ref;
17900 }
17901
17902 wxPyEndAllowThreads(__tstate);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 }
17905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17906 return resultobj;
17907 fail:
17908 return NULL;
17909}
17910
17911
17912static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17913 PyObject *resultobj;
17914 wxDateTime *arg1 = (wxDateTime *) 0 ;
17915 int arg2 ;
17916 wxDateTime *result;
17917 PyObject * obj0 = 0 ;
17918 PyObject * obj1 = 0 ;
17919 char *kwnames[] = {
17920 (char *) "self",(char *) "day", NULL
17921 };
17922
17923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17926 arg2 = (int) SWIG_AsInt(obj1);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 {
17929 PyThreadState* __tstate = wxPyBeginAllowThreads();
17930 {
17931 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17932 result = (wxDateTime *) &_result_ref;
17933 }
17934
17935 wxPyEndAllowThreads(__tstate);
17936 if (PyErr_Occurred()) SWIG_fail;
17937 }
17938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17939 return resultobj;
17940 fail:
17941 return NULL;
17942}
17943
17944
17945static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17946 PyObject *resultobj;
17947 wxDateTime *arg1 = (wxDateTime *) 0 ;
17948 int arg2 ;
17949 wxDateTime *result;
17950 PyObject * obj0 = 0 ;
17951 PyObject * obj1 = 0 ;
17952 char *kwnames[] = {
17953 (char *) "self",(char *) "hour", NULL
17954 };
17955
17956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
17957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17959 arg2 = (int) SWIG_AsInt(obj1);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 {
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 {
17964 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17965 result = (wxDateTime *) &_result_ref;
17966 }
17967
17968 wxPyEndAllowThreads(__tstate);
17969 if (PyErr_Occurred()) SWIG_fail;
17970 }
17971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17972 return resultobj;
17973 fail:
17974 return NULL;
17975}
17976
17977
17978static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17979 PyObject *resultobj;
17980 wxDateTime *arg1 = (wxDateTime *) 0 ;
17981 int arg2 ;
17982 wxDateTime *result;
17983 PyObject * obj0 = 0 ;
17984 PyObject * obj1 = 0 ;
17985 char *kwnames[] = {
17986 (char *) "self",(char *) "minute", NULL
17987 };
17988
17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
17990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17992 arg2 = (int) SWIG_AsInt(obj1);
17993 if (PyErr_Occurred()) SWIG_fail;
17994 {
17995 PyThreadState* __tstate = wxPyBeginAllowThreads();
17996 {
17997 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17998 result = (wxDateTime *) &_result_ref;
17999 }
18000
18001 wxPyEndAllowThreads(__tstate);
18002 if (PyErr_Occurred()) SWIG_fail;
18003 }
18004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18005 return resultobj;
18006 fail:
18007 return NULL;
18008}
18009
18010
18011static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18012 PyObject *resultobj;
18013 wxDateTime *arg1 = (wxDateTime *) 0 ;
18014 int arg2 ;
18015 wxDateTime *result;
18016 PyObject * obj0 = 0 ;
18017 PyObject * obj1 = 0 ;
18018 char *kwnames[] = {
18019 (char *) "self",(char *) "second", NULL
18020 };
18021
18022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
18023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18025 arg2 = (int) SWIG_AsInt(obj1);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 {
18028 PyThreadState* __tstate = wxPyBeginAllowThreads();
18029 {
18030 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
18031 result = (wxDateTime *) &_result_ref;
18032 }
18033
18034 wxPyEndAllowThreads(__tstate);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 }
18037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18038 return resultobj;
18039 fail:
18040 return NULL;
18041}
18042
18043
18044static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18045 PyObject *resultobj;
18046 wxDateTime *arg1 = (wxDateTime *) 0 ;
18047 int arg2 ;
18048 wxDateTime *result;
18049 PyObject * obj0 = 0 ;
18050 PyObject * obj1 = 0 ;
18051 char *kwnames[] = {
18052 (char *) "self",(char *) "millisecond", NULL
18053 };
18054
18055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
18056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18058 arg2 = (int) SWIG_AsInt(obj1);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 {
18061 PyThreadState* __tstate = wxPyBeginAllowThreads();
18062 {
18063 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
18064 result = (wxDateTime *) &_result_ref;
18065 }
18066
18067 wxPyEndAllowThreads(__tstate);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18071 return resultobj;
18072 fail:
18073 return NULL;
18074}
18075
18076
18077static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18078 PyObject *resultobj;
18079 wxDateTime *arg1 = (wxDateTime *) 0 ;
18080 int arg2 ;
18081 int arg3 = (int) wxDateTime::Monday_First ;
18082 wxDateTime *result;
18083 PyObject * obj0 = 0 ;
18084 PyObject * obj1 = 0 ;
18085 PyObject * obj2 = 0 ;
18086 char *kwnames[] = {
18087 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18088 };
18089
18090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18093 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 if (obj2) {
18096 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 }
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 {
18102 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18103 result = (wxDateTime *) &_result_ref;
18104 }
18105
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18110 return resultobj;
18111 fail:
18112 return NULL;
18113}
18114
18115
18116static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18117 PyObject *resultobj;
18118 wxDateTime *arg1 = (wxDateTime *) 0 ;
18119 int arg2 ;
18120 int arg3 = (int) wxDateTime::Monday_First ;
18121 wxDateTime result;
18122 PyObject * obj0 = 0 ;
18123 PyObject * obj1 = 0 ;
18124 PyObject * obj2 = 0 ;
18125 char *kwnames[] = {
18126 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18127 };
18128
18129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18132 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 if (obj2) {
18135 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 {
18139 PyThreadState* __tstate = wxPyBeginAllowThreads();
18140 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18141
18142 wxPyEndAllowThreads(__tstate);
18143 if (PyErr_Occurred()) SWIG_fail;
18144 }
18145 {
18146 wxDateTime * resultptr;
18147 resultptr = new wxDateTime((wxDateTime &) result);
18148 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18149 }
18150 return resultobj;
18151 fail:
18152 return NULL;
18153}
18154
18155
18156static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18157 PyObject *resultobj;
18158 wxDateTime *arg1 = (wxDateTime *) 0 ;
18159 int arg2 ;
18160 wxDateTime *result;
18161 PyObject * obj0 = 0 ;
18162 PyObject * obj1 = 0 ;
18163 char *kwnames[] = {
18164 (char *) "self",(char *) "weekday", NULL
18165 };
18166
18167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18170 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 {
18173 PyThreadState* __tstate = wxPyBeginAllowThreads();
18174 {
18175 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18176 result = (wxDateTime *) &_result_ref;
18177 }
18178
18179 wxPyEndAllowThreads(__tstate);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18183 return resultobj;
18184 fail:
18185 return NULL;
18186}
18187
18188
18189static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj;
18191 wxDateTime *arg1 = (wxDateTime *) 0 ;
18192 int arg2 ;
18193 wxDateTime result;
18194 PyObject * obj0 = 0 ;
18195 PyObject * obj1 = 0 ;
18196 char *kwnames[] = {
18197 (char *) "self",(char *) "weekday", NULL
18198 };
18199
18200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18203 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 {
18213 wxDateTime * resultptr;
18214 resultptr = new wxDateTime((wxDateTime &) result);
18215 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18216 }
18217 return resultobj;
18218 fail:
18219 return NULL;
18220}
18221
18222
18223static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18224 PyObject *resultobj;
18225 wxDateTime *arg1 = (wxDateTime *) 0 ;
18226 int arg2 ;
18227 wxDateTime *result;
18228 PyObject * obj0 = 0 ;
18229 PyObject * obj1 = 0 ;
18230 char *kwnames[] = {
18231 (char *) "self",(char *) "weekday", NULL
18232 };
18233
18234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18237 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 {
18240 PyThreadState* __tstate = wxPyBeginAllowThreads();
18241 {
18242 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18243 result = (wxDateTime *) &_result_ref;
18244 }
18245
18246 wxPyEndAllowThreads(__tstate);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18250 return resultobj;
18251 fail:
18252 return NULL;
18253}
18254
18255
18256static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18257 PyObject *resultobj;
18258 wxDateTime *arg1 = (wxDateTime *) 0 ;
18259 int arg2 ;
18260 wxDateTime result;
18261 PyObject * obj0 = 0 ;
18262 PyObject * obj1 = 0 ;
18263 char *kwnames[] = {
18264 (char *) "self",(char *) "weekday", NULL
18265 };
18266
18267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18270 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 {
18280 wxDateTime * resultptr;
18281 resultptr = new wxDateTime((wxDateTime &) result);
18282 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18283 }
18284 return resultobj;
18285 fail:
18286 return NULL;
18287}
18288
18289
18290static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxDateTime *arg1 = (wxDateTime *) 0 ;
18293 int arg2 ;
18294 int arg3 = (int) 1 ;
18295 int arg4 = (int) wxDateTime::Inv_Month ;
18296 int arg5 = (int) wxDateTime::Inv_Year ;
18297 bool result;
18298 PyObject * obj0 = 0 ;
18299 PyObject * obj1 = 0 ;
18300 PyObject * obj2 = 0 ;
18301 PyObject * obj3 = 0 ;
18302 PyObject * obj4 = 0 ;
18303 char *kwnames[] = {
18304 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18305 };
18306
18307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18310 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18311 if (PyErr_Occurred()) SWIG_fail;
18312 if (obj2) {
18313 arg3 = (int) SWIG_AsInt(obj2);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 if (obj3) {
18317 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18318 if (PyErr_Occurred()) SWIG_fail;
18319 }
18320 if (obj4) {
18321 arg5 = (int) SWIG_AsInt(obj4);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 {
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 {
18332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18333 }
18334 return resultobj;
18335 fail:
18336 return NULL;
18337}
18338
18339
18340static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18341 PyObject *resultobj;
18342 wxDateTime *arg1 = (wxDateTime *) 0 ;
18343 int arg2 ;
18344 int arg3 = (int) wxDateTime::Inv_Month ;
18345 int arg4 = (int) wxDateTime::Inv_Year ;
18346 bool result;
18347 PyObject * obj0 = 0 ;
18348 PyObject * obj1 = 0 ;
18349 PyObject * obj2 = 0 ;
18350 PyObject * obj3 = 0 ;
18351 char *kwnames[] = {
18352 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18353 };
18354
18355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18358 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18359 if (PyErr_Occurred()) SWIG_fail;
18360 if (obj2) {
18361 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 if (obj3) {
18365 arg4 = (int) SWIG_AsInt(obj3);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 }
18368 {
18369 PyThreadState* __tstate = wxPyBeginAllowThreads();
18370 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18371
18372 wxPyEndAllowThreads(__tstate);
18373 if (PyErr_Occurred()) SWIG_fail;
18374 }
18375 {
18376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18377 }
18378 return resultobj;
18379 fail:
18380 return NULL;
18381}
18382
18383
18384static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18385 PyObject *resultobj;
18386 wxDateTime *arg1 = (wxDateTime *) 0 ;
18387 int arg2 ;
18388 int arg3 = (int) wxDateTime::Inv_Month ;
18389 int arg4 = (int) wxDateTime::Inv_Year ;
18390 wxDateTime result;
18391 PyObject * obj0 = 0 ;
18392 PyObject * obj1 = 0 ;
18393 PyObject * obj2 = 0 ;
18394 PyObject * obj3 = 0 ;
18395 char *kwnames[] = {
18396 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18397 };
18398
18399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18402 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18403 if (PyErr_Occurred()) SWIG_fail;
18404 if (obj2) {
18405 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18406 if (PyErr_Occurred()) SWIG_fail;
18407 }
18408 if (obj3) {
18409 arg4 = (int) SWIG_AsInt(obj3);
18410 if (PyErr_Occurred()) SWIG_fail;
18411 }
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18415
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 {
18420 wxDateTime * resultptr;
18421 resultptr = new wxDateTime((wxDateTime &) result);
18422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18423 }
18424 return resultobj;
18425 fail:
18426 return NULL;
18427}
18428
18429
18430static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18431 PyObject *resultobj;
18432 wxDateTime *arg1 = (wxDateTime *) 0 ;
18433 int arg2 ;
18434 int arg3 = (int) wxDateTime::Mon ;
18435 int arg4 = (int) wxDateTime::Monday_First ;
18436 bool result;
18437 PyObject * obj0 = 0 ;
18438 PyObject * obj1 = 0 ;
18439 PyObject * obj2 = 0 ;
18440 PyObject * obj3 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18448 arg2 = (int) SWIG_AsInt(obj1);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 if (obj2) {
18451 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 }
18454 if (obj3) {
18455 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18461
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 {
18466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18467 }
18468 return resultobj;
18469 fail:
18470 return NULL;
18471}
18472
18473
18474static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj;
18476 wxDateTime *arg1 = (wxDateTime *) 0 ;
18477 int arg2 ;
18478 int arg3 = (int) wxDateTime::Mon ;
18479 int arg4 = (int) wxDateTime::Monday_First ;
18480 wxDateTime result;
18481 PyObject * obj0 = 0 ;
18482 PyObject * obj1 = 0 ;
18483 PyObject * obj2 = 0 ;
18484 PyObject * obj3 = 0 ;
18485 char *kwnames[] = {
18486 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18487 };
18488
18489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18492 arg2 = (int) SWIG_AsInt(obj1);
18493 if (PyErr_Occurred()) SWIG_fail;
18494 if (obj2) {
18495 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 if (obj3) {
18499 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18500 if (PyErr_Occurred()) SWIG_fail;
18501 }
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18505
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 {
18510 wxDateTime * resultptr;
18511 resultptr = new wxDateTime((wxDateTime &) result);
18512 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18513 }
18514 return resultobj;
18515 fail:
18516 return NULL;
18517}
18518
18519
18520static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj;
18522 wxDateTime *arg1 = (wxDateTime *) 0 ;
18523 int arg2 = (int) wxDateTime::Inv_Month ;
18524 int arg3 = (int) wxDateTime::Inv_Year ;
18525 wxDateTime *result;
18526 PyObject * obj0 = 0 ;
18527 PyObject * obj1 = 0 ;
18528 PyObject * obj2 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self",(char *) "month",(char *) "year", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18536 if (obj1) {
18537 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 if (obj2) {
18541 arg3 = (int) SWIG_AsInt(obj2);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 {
18545 PyThreadState* __tstate = wxPyBeginAllowThreads();
18546 {
18547 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18548 result = (wxDateTime *) &_result_ref;
18549 }
18550
18551 wxPyEndAllowThreads(__tstate);
18552 if (PyErr_Occurred()) SWIG_fail;
18553 }
18554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18555 return resultobj;
18556 fail:
18557 return NULL;
18558}
18559
18560
18561static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18562 PyObject *resultobj;
18563 wxDateTime *arg1 = (wxDateTime *) 0 ;
18564 int arg2 = (int) wxDateTime::Inv_Month ;
18565 int arg3 = (int) wxDateTime::Inv_Year ;
18566 wxDateTime result;
18567 PyObject * obj0 = 0 ;
18568 PyObject * obj1 = 0 ;
18569 PyObject * obj2 = 0 ;
18570 char *kwnames[] = {
18571 (char *) "self",(char *) "month",(char *) "year", NULL
18572 };
18573
18574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18577 if (obj1) {
18578 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
18581 if (obj2) {
18582 arg3 = (int) SWIG_AsInt(obj2);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 {
18586 PyThreadState* __tstate = wxPyBeginAllowThreads();
18587 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18588
18589 wxPyEndAllowThreads(__tstate);
18590 if (PyErr_Occurred()) SWIG_fail;
18591 }
18592 {
18593 wxDateTime * resultptr;
18594 resultptr = new wxDateTime((wxDateTime &) result);
18595 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18596 }
18597 return resultobj;
18598 fail:
18599 return NULL;
18600}
18601
18602
18603static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18604 PyObject *resultobj;
18605 wxDateTime *arg1 = (wxDateTime *) 0 ;
18606 int arg2 ;
18607 wxDateTime *result;
18608 PyObject * obj0 = 0 ;
18609 PyObject * obj1 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self",(char *) "yday", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18617 arg2 = (int) SWIG_AsInt(obj1);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 {
18622 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18623 result = (wxDateTime *) &_result_ref;
18624 }
18625
18626 wxPyEndAllowThreads(__tstate);
18627 if (PyErr_Occurred()) SWIG_fail;
18628 }
18629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18630 return resultobj;
18631 fail:
18632 return NULL;
18633}
18634
18635
18636static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18637 PyObject *resultobj;
18638 wxDateTime *arg1 = (wxDateTime *) 0 ;
18639 int arg2 ;
18640 wxDateTime result;
18641 PyObject * obj0 = 0 ;
18642 PyObject * obj1 = 0 ;
18643 char *kwnames[] = {
18644 (char *) "self",(char *) "yday", NULL
18645 };
18646
18647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18650 arg2 = (int) SWIG_AsInt(obj1);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 result = (arg1)->GetYearDay(arg2);
18655
18656 wxPyEndAllowThreads(__tstate);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 {
18660 wxDateTime * resultptr;
18661 resultptr = new wxDateTime((wxDateTime &) result);
18662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18663 }
18664 return resultobj;
18665 fail:
18666 return NULL;
18667}
18668
18669
18670static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18671 PyObject *resultobj;
18672 wxDateTime *arg1 = (wxDateTime *) 0 ;
18673 double result;
18674 PyObject * obj0 = 0 ;
18675 char *kwnames[] = {
18676 (char *) "self", NULL
18677 };
18678
18679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 result = (double)(arg1)->GetJulianDayNumber();
18685
18686 wxPyEndAllowThreads(__tstate);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 resultobj = SWIG_FromDouble((double)result);
18690 return resultobj;
18691 fail:
18692 return NULL;
18693}
18694
18695
18696static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj;
18698 wxDateTime *arg1 = (wxDateTime *) 0 ;
18699 double result;
18700 PyObject * obj0 = 0 ;
18701 char *kwnames[] = {
18702 (char *) "self", NULL
18703 };
18704
18705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18708 {
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 result = (double)(arg1)->GetJDN();
18711
18712 wxPyEndAllowThreads(__tstate);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 }
18715 resultobj = SWIG_FromDouble((double)result);
18716 return resultobj;
18717 fail:
18718 return NULL;
18719}
18720
18721
18722static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18723 PyObject *resultobj;
18724 wxDateTime *arg1 = (wxDateTime *) 0 ;
18725 double result;
18726 PyObject * obj0 = 0 ;
18727 char *kwnames[] = {
18728 (char *) "self", NULL
18729 };
18730
18731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18734 {
18735 PyThreadState* __tstate = wxPyBeginAllowThreads();
18736 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18737
18738 wxPyEndAllowThreads(__tstate);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 }
18741 resultobj = SWIG_FromDouble((double)result);
18742 return resultobj;
18743 fail:
18744 return NULL;
18745}
18746
18747
18748static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18749 PyObject *resultobj;
18750 wxDateTime *arg1 = (wxDateTime *) 0 ;
18751 double result;
18752 PyObject * obj0 = 0 ;
18753 char *kwnames[] = {
18754 (char *) "self", NULL
18755 };
18756
18757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 result = (double)(arg1)->GetMJD();
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 resultobj = SWIG_FromDouble((double)result);
18768 return resultobj;
18769 fail:
18770 return NULL;
18771}
18772
18773
18774static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj;
18776 wxDateTime *arg1 = (wxDateTime *) 0 ;
18777 double result;
18778 PyObject * obj0 = 0 ;
18779 char *kwnames[] = {
18780 (char *) "self", NULL
18781 };
18782
18783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18786 {
18787 PyThreadState* __tstate = wxPyBeginAllowThreads();
18788 result = (double)(arg1)->GetRataDie();
18789
18790 wxPyEndAllowThreads(__tstate);
18791 if (PyErr_Occurred()) SWIG_fail;
18792 }
18793 resultobj = SWIG_FromDouble((double)result);
18794 return resultobj;
18795 fail:
18796 return NULL;
18797}
18798
18799
18800static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18801 PyObject *resultobj;
18802 wxDateTime *arg1 = (wxDateTime *) 0 ;
18803 wxDateTime::TimeZone *arg2 = 0 ;
18804 bool arg3 = (bool) False ;
18805 wxDateTime result;
18806 bool temp2 = False ;
18807 PyObject * obj0 = 0 ;
18808 PyObject * obj1 = 0 ;
18809 PyObject * obj2 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18817 {
18818 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18819 temp2 = True;
18820 }
18821 if (obj2) {
18822 arg3 = (bool) SWIG_AsBool(obj2);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 }
18825 {
18826 PyThreadState* __tstate = wxPyBeginAllowThreads();
18827 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18828
18829 wxPyEndAllowThreads(__tstate);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 }
18832 {
18833 wxDateTime * resultptr;
18834 resultptr = new wxDateTime((wxDateTime &) result);
18835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18836 }
18837 {
18838 if (temp2) delete arg2;
18839 }
18840 return resultobj;
18841 fail:
18842 {
18843 if (temp2) delete arg2;
18844 }
18845 return NULL;
18846}
18847
18848
18849static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18850 PyObject *resultobj;
18851 wxDateTime *arg1 = (wxDateTime *) 0 ;
18852 wxDateTime::TimeZone *arg2 = 0 ;
18853 bool arg3 = (bool) False ;
18854 wxDateTime *result;
18855 bool temp2 = False ;
18856 PyObject * obj0 = 0 ;
18857 PyObject * obj1 = 0 ;
18858 PyObject * obj2 = 0 ;
18859 char *kwnames[] = {
18860 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18861 };
18862
18863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18866 {
18867 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18868 temp2 = True;
18869 }
18870 if (obj2) {
18871 arg3 = (bool) SWIG_AsBool(obj2);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 }
18874 {
18875 PyThreadState* __tstate = wxPyBeginAllowThreads();
18876 {
18877 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18878 result = (wxDateTime *) &_result_ref;
18879 }
18880
18881 wxPyEndAllowThreads(__tstate);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18885 {
18886 if (temp2) delete arg2;
18887 }
18888 return resultobj;
18889 fail:
18890 {
18891 if (temp2) delete arg2;
18892 }
18893 return NULL;
18894}
18895
18896
18897static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxDateTime *arg1 = (wxDateTime *) 0 ;
18900 bool arg2 = (bool) False ;
18901 wxDateTime result;
18902 PyObject * obj0 = 0 ;
18903 PyObject * obj1 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self",(char *) "noDST", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18911 if (obj1) {
18912 arg2 = (bool) SWIG_AsBool(obj1);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 result = (arg1)->ToGMT(arg2);
18918
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
18922 {
18923 wxDateTime * resultptr;
18924 resultptr = new wxDateTime((wxDateTime &) result);
18925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18926 }
18927 return resultobj;
18928 fail:
18929 return NULL;
18930}
18931
18932
18933static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj;
18935 wxDateTime *arg1 = (wxDateTime *) 0 ;
18936 bool arg2 = (bool) False ;
18937 wxDateTime *result;
18938 PyObject * obj0 = 0 ;
18939 PyObject * obj1 = 0 ;
18940 char *kwnames[] = {
18941 (char *) "self",(char *) "noDST", NULL
18942 };
18943
18944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18947 if (obj1) {
18948 arg2 = (bool) SWIG_AsBool(obj1);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 {
18952 PyThreadState* __tstate = wxPyBeginAllowThreads();
18953 {
18954 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18955 result = (wxDateTime *) &_result_ref;
18956 }
18957
18958 wxPyEndAllowThreads(__tstate);
18959 if (PyErr_Occurred()) SWIG_fail;
18960 }
18961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18962 return resultobj;
18963 fail:
18964 return NULL;
18965}
18966
18967
18968static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18969 PyObject *resultobj;
18970 wxDateTime *arg1 = (wxDateTime *) 0 ;
18971 int arg2 = (int) wxDateTime::Country_Default ;
18972 int result;
18973 PyObject * obj0 = 0 ;
18974 PyObject * obj1 = 0 ;
18975 char *kwnames[] = {
18976 (char *) "self",(char *) "country", NULL
18977 };
18978
18979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
18980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18982 if (obj1) {
18983 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
18984 if (PyErr_Occurred()) SWIG_fail;
18985 }
18986 {
18987 PyThreadState* __tstate = wxPyBeginAllowThreads();
18988 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18989
18990 wxPyEndAllowThreads(__tstate);
18991 if (PyErr_Occurred()) SWIG_fail;
18992 }
18993 resultobj = SWIG_FromInt((int)result);
18994 return resultobj;
18995 fail:
18996 return NULL;
18997}
18998
18999
19000static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
19001 PyObject *resultobj;
19002 wxDateTime *arg1 = (wxDateTime *) 0 ;
19003 bool result;
19004 PyObject * obj0 = 0 ;
19005 char *kwnames[] = {
19006 (char *) "self", NULL
19007 };
19008
19009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
19010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19012 {
19013 PyThreadState* __tstate = wxPyBeginAllowThreads();
19014 result = (bool)((wxDateTime const *)arg1)->IsValid();
19015
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 {
19020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19021 }
19022 return resultobj;
19023 fail:
19024 return NULL;
19025}
19026
19027
19028static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
19029 PyObject *resultobj;
19030 wxDateTime *arg1 = (wxDateTime *) 0 ;
19031 time_t result;
19032 PyObject * obj0 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self", NULL
19035 };
19036
19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
19038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
19042 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
19048 return resultobj;
19049 fail:
19050 return NULL;
19051}
19052
19053
19054static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxDateTime *arg1 = (wxDateTime *) 0 ;
19057 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19058 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19059 int result;
19060 bool temp2 = False ;
19061 PyObject * obj0 = 0 ;
19062 PyObject * obj1 = 0 ;
19063 char *kwnames[] = {
19064 (char *) "self",(char *) "tz", NULL
19065 };
19066
19067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
19068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19070 if (obj1) {
19071 {
19072 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19073 temp2 = True;
19074 }
19075 }
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
19079
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
19083 resultobj = SWIG_FromInt((int)result);
19084 {
19085 if (temp2) delete arg2;
19086 }
19087 return resultobj;
19088 fail:
19089 {
19090 if (temp2) delete arg2;
19091 }
19092 return NULL;
19093}
19094
19095
19096static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 wxDateTime *arg1 = (wxDateTime *) 0 ;
19099 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19100 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19101 int result;
19102 bool temp2 = False ;
19103 PyObject * obj0 = 0 ;
19104 PyObject * obj1 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "tz", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
19110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19112 if (obj1) {
19113 {
19114 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19115 temp2 = True;
19116 }
19117 }
19118 {
19119 PyThreadState* __tstate = wxPyBeginAllowThreads();
19120 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19121
19122 wxPyEndAllowThreads(__tstate);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
19125 resultobj = SWIG_FromInt((int)result);
19126 {
19127 if (temp2) delete arg2;
19128 }
19129 return resultobj;
19130 fail:
19131 {
19132 if (temp2) delete arg2;
19133 }
19134 return NULL;
19135}
19136
19137
19138static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj;
19140 wxDateTime *arg1 = (wxDateTime *) 0 ;
19141 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19142 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19143 int result;
19144 bool temp2 = False ;
19145 PyObject * obj0 = 0 ;
19146 PyObject * obj1 = 0 ;
19147 char *kwnames[] = {
19148 (char *) "self",(char *) "tz", NULL
19149 };
19150
19151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19154 if (obj1) {
19155 {
19156 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19157 temp2 = True;
19158 }
19159 }
19160 {
19161 PyThreadState* __tstate = wxPyBeginAllowThreads();
19162 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19163
19164 wxPyEndAllowThreads(__tstate);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 resultobj = SWIG_FromInt((int)result);
19168 {
19169 if (temp2) delete arg2;
19170 }
19171 return resultobj;
19172 fail:
19173 {
19174 if (temp2) delete arg2;
19175 }
19176 return NULL;
19177}
19178
19179
19180static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj;
19182 wxDateTime *arg1 = (wxDateTime *) 0 ;
19183 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19184 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19185 int result;
19186 bool temp2 = False ;
19187 PyObject * obj0 = 0 ;
19188 PyObject * obj1 = 0 ;
19189 char *kwnames[] = {
19190 (char *) "self",(char *) "tz", NULL
19191 };
19192
19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19196 if (obj1) {
19197 {
19198 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19199 temp2 = True;
19200 }
19201 }
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 resultobj = SWIG_FromInt((int)result);
19210 {
19211 if (temp2) delete arg2;
19212 }
19213 return resultobj;
19214 fail:
19215 {
19216 if (temp2) delete arg2;
19217 }
19218 return NULL;
19219}
19220
19221
19222static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
19223 PyObject *resultobj;
19224 wxDateTime *arg1 = (wxDateTime *) 0 ;
19225 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19226 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19227 int result;
19228 bool temp2 = False ;
19229 PyObject * obj0 = 0 ;
19230 PyObject * obj1 = 0 ;
19231 char *kwnames[] = {
19232 (char *) "self",(char *) "tz", NULL
19233 };
19234
19235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19238 if (obj1) {
19239 {
19240 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19241 temp2 = True;
19242 }
19243 }
19244 {
19245 PyThreadState* __tstate = wxPyBeginAllowThreads();
19246 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19247
19248 wxPyEndAllowThreads(__tstate);
19249 if (PyErr_Occurred()) SWIG_fail;
19250 }
19251 resultobj = SWIG_FromInt((int)result);
19252 {
19253 if (temp2) delete arg2;
19254 }
19255 return resultobj;
19256 fail:
19257 {
19258 if (temp2) delete arg2;
19259 }
19260 return NULL;
19261}
19262
19263
19264static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
19265 PyObject *resultobj;
19266 wxDateTime *arg1 = (wxDateTime *) 0 ;
19267 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19268 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19269 int result;
19270 bool temp2 = False ;
19271 PyObject * obj0 = 0 ;
19272 PyObject * obj1 = 0 ;
19273 char *kwnames[] = {
19274 (char *) "self",(char *) "tz", NULL
19275 };
19276
19277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19280 if (obj1) {
19281 {
19282 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19283 temp2 = True;
19284 }
19285 }
19286 {
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
19288 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19289
19290 wxPyEndAllowThreads(__tstate);
19291 if (PyErr_Occurred()) SWIG_fail;
19292 }
19293 resultobj = SWIG_FromInt((int)result);
19294 {
19295 if (temp2) delete arg2;
19296 }
19297 return resultobj;
19298 fail:
19299 {
19300 if (temp2) delete arg2;
19301 }
19302 return NULL;
19303}
19304
19305
19306static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19307 PyObject *resultobj;
19308 wxDateTime *arg1 = (wxDateTime *) 0 ;
19309 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19310 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19311 int result;
19312 bool temp2 = False ;
19313 PyObject * obj0 = 0 ;
19314 PyObject * obj1 = 0 ;
19315 char *kwnames[] = {
19316 (char *) "self",(char *) "tz", NULL
19317 };
19318
19319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19322 if (obj1) {
19323 {
19324 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19325 temp2 = True;
19326 }
19327 }
19328 {
19329 PyThreadState* __tstate = wxPyBeginAllowThreads();
19330 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19331
19332 wxPyEndAllowThreads(__tstate);
19333 if (PyErr_Occurred()) SWIG_fail;
19334 }
19335 resultobj = SWIG_FromInt((int)result);
19336 {
19337 if (temp2) delete arg2;
19338 }
19339 return resultobj;
19340 fail:
19341 {
19342 if (temp2) delete arg2;
19343 }
19344 return NULL;
19345}
19346
19347
19348static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19349 PyObject *resultobj;
19350 wxDateTime *arg1 = (wxDateTime *) 0 ;
19351 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19352 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19353 int result;
19354 bool temp2 = False ;
19355 PyObject * obj0 = 0 ;
19356 PyObject * obj1 = 0 ;
19357 char *kwnames[] = {
19358 (char *) "self",(char *) "tz", NULL
19359 };
19360
19361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19364 if (obj1) {
19365 {
19366 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19367 temp2 = True;
19368 }
19369 }
19370 {
19371 PyThreadState* __tstate = wxPyBeginAllowThreads();
19372 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19373
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 resultobj = SWIG_FromInt((int)result);
19378 {
19379 if (temp2) delete arg2;
19380 }
19381 return resultobj;
19382 fail:
19383 {
19384 if (temp2) delete arg2;
19385 }
19386 return NULL;
19387}
19388
19389
19390static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxDateTime *arg1 = (wxDateTime *) 0 ;
19393 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19394 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19395 int result;
19396 bool temp2 = False ;
19397 PyObject * obj0 = 0 ;
19398 PyObject * obj1 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self",(char *) "tz", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19406 if (obj1) {
19407 {
19408 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19409 temp2 = True;
19410 }
19411 }
19412 {
19413 PyThreadState* __tstate = wxPyBeginAllowThreads();
19414 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19415
19416 wxPyEndAllowThreads(__tstate);
19417 if (PyErr_Occurred()) SWIG_fail;
19418 }
19419 resultobj = SWIG_FromInt((int)result);
19420 {
19421 if (temp2) delete arg2;
19422 }
19423 return resultobj;
19424 fail:
19425 {
19426 if (temp2) delete arg2;
19427 }
19428 return NULL;
19429}
19430
19431
19432static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19433 PyObject *resultobj;
19434 wxDateTime *arg1 = (wxDateTime *) 0 ;
19435 int arg2 = (int) wxDateTime::Monday_First ;
19436 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19437 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19438 int result;
19439 bool temp3 = False ;
19440 PyObject * obj0 = 0 ;
19441 PyObject * obj1 = 0 ;
19442 PyObject * obj2 = 0 ;
19443 char *kwnames[] = {
19444 (char *) "self",(char *) "flags",(char *) "tz", NULL
19445 };
19446
19447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19450 if (obj1) {
19451 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 if (obj2) {
19455 {
19456 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19457 temp3 = True;
19458 }
19459 }
19460 {
19461 PyThreadState* __tstate = wxPyBeginAllowThreads();
19462 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19463
19464 wxPyEndAllowThreads(__tstate);
19465 if (PyErr_Occurred()) SWIG_fail;
19466 }
19467 resultobj = SWIG_FromInt((int)result);
19468 {
19469 if (temp3) delete arg3;
19470 }
19471 return resultobj;
19472 fail:
19473 {
19474 if (temp3) delete arg3;
19475 }
19476 return NULL;
19477}
19478
19479
19480static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19481 PyObject *resultobj;
19482 wxDateTime *arg1 = (wxDateTime *) 0 ;
19483 int arg2 = (int) wxDateTime::Monday_First ;
19484 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19485 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19486 int result;
19487 bool temp3 = False ;
19488 PyObject * obj0 = 0 ;
19489 PyObject * obj1 = 0 ;
19490 PyObject * obj2 = 0 ;
19491 char *kwnames[] = {
19492 (char *) "self",(char *) "flags",(char *) "tz", NULL
19493 };
19494
19495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19498 if (obj1) {
19499 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 if (obj2) {
19503 {
19504 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19505 temp3 = True;
19506 }
19507 }
19508 {
19509 PyThreadState* __tstate = wxPyBeginAllowThreads();
19510 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19511
19512 wxPyEndAllowThreads(__tstate);
19513 if (PyErr_Occurred()) SWIG_fail;
19514 }
19515 resultobj = SWIG_FromInt((int)result);
19516 {
19517 if (temp3) delete arg3;
19518 }
19519 return resultobj;
19520 fail:
19521 {
19522 if (temp3) delete arg3;
19523 }
19524 return NULL;
19525}
19526
19527
19528static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19529 PyObject *resultobj;
19530 wxDateTime *arg1 = (wxDateTime *) 0 ;
19531 int arg2 = (int) wxDateTime::Country_Default ;
19532 bool result;
19533 PyObject * obj0 = 0 ;
19534 PyObject * obj1 = 0 ;
19535 char *kwnames[] = {
19536 (char *) "self",(char *) "country", NULL
19537 };
19538
19539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19542 if (obj1) {
19543 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19544 if (PyErr_Occurred()) SWIG_fail;
19545 }
19546 {
19547 PyThreadState* __tstate = wxPyBeginAllowThreads();
19548 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19549
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 {
19554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19555 }
19556 return resultobj;
19557 fail:
19558 return NULL;
19559}
19560
19561
19562static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19563 PyObject *resultobj;
19564 wxDateTime *arg1 = (wxDateTime *) 0 ;
19565 wxDateTime *arg2 = 0 ;
19566 bool result;
19567 PyObject * obj0 = 0 ;
19568 PyObject * obj1 = 0 ;
19569 char *kwnames[] = {
19570 (char *) "self",(char *) "datetime", NULL
19571 };
19572
19573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19577 SWIG_POINTER_EXCEPTION | 0)) == -1)
19578 SWIG_fail;
19579 if (arg2 == NULL) {
19580 PyErr_SetString(PyExc_TypeError,"null reference");
19581 SWIG_fail;
19582 }
19583 {
19584 PyThreadState* __tstate = wxPyBeginAllowThreads();
19585 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19586
19587 wxPyEndAllowThreads(__tstate);
19588 if (PyErr_Occurred()) SWIG_fail;
19589 }
19590 {
19591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19592 }
19593 return resultobj;
19594 fail:
19595 return NULL;
19596}
19597
19598
19599static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19600 PyObject *resultobj;
19601 wxDateTime *arg1 = (wxDateTime *) 0 ;
19602 wxDateTime *arg2 = 0 ;
19603 bool result;
19604 PyObject * obj0 = 0 ;
19605 PyObject * obj1 = 0 ;
19606 char *kwnames[] = {
19607 (char *) "self",(char *) "datetime", NULL
19608 };
19609
19610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19614 SWIG_POINTER_EXCEPTION | 0)) == -1)
19615 SWIG_fail;
19616 if (arg2 == NULL) {
19617 PyErr_SetString(PyExc_TypeError,"null reference");
19618 SWIG_fail;
19619 }
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19623
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 {
19628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19629 }
19630 return resultobj;
19631 fail:
19632 return NULL;
19633}
19634
19635
19636static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19637 PyObject *resultobj;
19638 wxDateTime *arg1 = (wxDateTime *) 0 ;
19639 wxDateTime *arg2 = 0 ;
19640 bool result;
19641 PyObject * obj0 = 0 ;
19642 PyObject * obj1 = 0 ;
19643 char *kwnames[] = {
19644 (char *) "self",(char *) "datetime", NULL
19645 };
19646
19647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19650 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19651 SWIG_POINTER_EXCEPTION | 0)) == -1)
19652 SWIG_fail;
19653 if (arg2 == NULL) {
19654 PyErr_SetString(PyExc_TypeError,"null reference");
19655 SWIG_fail;
19656 }
19657 {
19658 PyThreadState* __tstate = wxPyBeginAllowThreads();
19659 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19660
19661 wxPyEndAllowThreads(__tstate);
19662 if (PyErr_Occurred()) SWIG_fail;
19663 }
19664 {
19665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19666 }
19667 return resultobj;
19668 fail:
19669 return NULL;
19670}
19671
19672
19673static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19674 PyObject *resultobj;
19675 wxDateTime *arg1 = (wxDateTime *) 0 ;
19676 wxDateTime *arg2 = 0 ;
19677 wxDateTime *arg3 = 0 ;
19678 bool result;
19679 PyObject * obj0 = 0 ;
19680 PyObject * obj1 = 0 ;
19681 PyObject * obj2 = 0 ;
19682 char *kwnames[] = {
19683 (char *) "self",(char *) "t1",(char *) "t2", NULL
19684 };
19685
19686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19689 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19690 SWIG_POINTER_EXCEPTION | 0)) == -1)
19691 SWIG_fail;
19692 if (arg2 == NULL) {
19693 PyErr_SetString(PyExc_TypeError,"null reference");
19694 SWIG_fail;
19695 }
19696 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19697 SWIG_POINTER_EXCEPTION | 0)) == -1)
19698 SWIG_fail;
19699 if (arg3 == NULL) {
19700 PyErr_SetString(PyExc_TypeError,"null reference");
19701 SWIG_fail;
19702 }
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 {
19711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19712 }
19713 return resultobj;
19714 fail:
19715 return NULL;
19716}
19717
19718
19719static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19720 PyObject *resultobj;
19721 wxDateTime *arg1 = (wxDateTime *) 0 ;
19722 wxDateTime *arg2 = 0 ;
19723 wxDateTime *arg3 = 0 ;
19724 bool result;
19725 PyObject * obj0 = 0 ;
19726 PyObject * obj1 = 0 ;
19727 PyObject * obj2 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self",(char *) "t1",(char *) "t2", NULL
19730 };
19731
19732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19736 SWIG_POINTER_EXCEPTION | 0)) == -1)
19737 SWIG_fail;
19738 if (arg2 == NULL) {
19739 PyErr_SetString(PyExc_TypeError,"null reference");
19740 SWIG_fail;
19741 }
19742 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19743 SWIG_POINTER_EXCEPTION | 0)) == -1)
19744 SWIG_fail;
19745 if (arg3 == NULL) {
19746 PyErr_SetString(PyExc_TypeError,"null reference");
19747 SWIG_fail;
19748 }
19749 {
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19752
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 {
19757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19758 }
19759 return resultobj;
19760 fail:
19761 return NULL;
19762}
19763
19764
19765static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19766 PyObject *resultobj;
19767 wxDateTime *arg1 = (wxDateTime *) 0 ;
19768 wxDateTime *arg2 = 0 ;
19769 bool result;
19770 PyObject * obj0 = 0 ;
19771 PyObject * obj1 = 0 ;
19772 char *kwnames[] = {
19773 (char *) "self",(char *) "dt", NULL
19774 };
19775
19776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19780 SWIG_POINTER_EXCEPTION | 0)) == -1)
19781 SWIG_fail;
19782 if (arg2 == NULL) {
19783 PyErr_SetString(PyExc_TypeError,"null reference");
19784 SWIG_fail;
19785 }
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 {
19794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19795 }
19796 return resultobj;
19797 fail:
19798 return NULL;
19799}
19800
19801
19802static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxDateTime *arg1 = (wxDateTime *) 0 ;
19805 wxDateTime *arg2 = 0 ;
19806 bool result;
19807 PyObject * obj0 = 0 ;
19808 PyObject * obj1 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self",(char *) "dt", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19817 SWIG_POINTER_EXCEPTION | 0)) == -1)
19818 SWIG_fail;
19819 if (arg2 == NULL) {
19820 PyErr_SetString(PyExc_TypeError,"null reference");
19821 SWIG_fail;
19822 }
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 {
19831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19832 }
19833 return resultobj;
19834 fail:
19835 return NULL;
19836}
19837
19838
19839static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19840 PyObject *resultobj;
19841 wxDateTime *arg1 = (wxDateTime *) 0 ;
19842 wxDateTime *arg2 = 0 ;
19843 wxTimeSpan *arg3 = 0 ;
19844 bool result;
19845 PyObject * obj0 = 0 ;
19846 PyObject * obj1 = 0 ;
19847 PyObject * obj2 = 0 ;
19848 char *kwnames[] = {
19849 (char *) "self",(char *) "dt",(char *) "ts", NULL
19850 };
19851
19852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19856 SWIG_POINTER_EXCEPTION | 0)) == -1)
19857 SWIG_fail;
19858 if (arg2 == NULL) {
19859 PyErr_SetString(PyExc_TypeError,"null reference");
19860 SWIG_fail;
19861 }
19862 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19863 SWIG_POINTER_EXCEPTION | 0)) == -1)
19864 SWIG_fail;
19865 if (arg3 == NULL) {
19866 PyErr_SetString(PyExc_TypeError,"null reference");
19867 SWIG_fail;
19868 }
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 {
19877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19878 }
19879 return resultobj;
19880 fail:
19881 return NULL;
19882}
19883
19884
19885static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19886 PyObject *resultobj;
19887 wxDateTime *arg1 = (wxDateTime *) 0 ;
19888 wxTimeSpan *arg2 = 0 ;
19889 wxDateTime *result;
19890 PyObject * obj0 = 0 ;
19891 PyObject * obj1 = 0 ;
19892 char *kwnames[] = {
19893 (char *) "self",(char *) "diff", NULL
19894 };
19895
19896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19899 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19900 SWIG_POINTER_EXCEPTION | 0)) == -1)
19901 SWIG_fail;
19902 if (arg2 == NULL) {
19903 PyErr_SetString(PyExc_TypeError,"null reference");
19904 SWIG_fail;
19905 }
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 {
19909 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19910 result = (wxDateTime *) &_result_ref;
19911 }
19912
19913 wxPyEndAllowThreads(__tstate);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19917 return resultobj;
19918 fail:
19919 return NULL;
19920}
19921
19922
19923static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19924 PyObject *resultobj;
19925 wxDateTime *arg1 = (wxDateTime *) 0 ;
19926 wxDateSpan *arg2 = 0 ;
19927 wxDateTime *result;
19928 PyObject * obj0 = 0 ;
19929 PyObject * obj1 = 0 ;
19930 char *kwnames[] = {
19931 (char *) "self",(char *) "diff", NULL
19932 };
19933
19934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19938 SWIG_POINTER_EXCEPTION | 0)) == -1)
19939 SWIG_fail;
19940 if (arg2 == NULL) {
19941 PyErr_SetString(PyExc_TypeError,"null reference");
19942 SWIG_fail;
19943 }
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 {
19947 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19948 result = (wxDateTime *) &_result_ref;
19949 }
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19955 return resultobj;
19956 fail:
19957 return NULL;
19958}
19959
19960
19961static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19962 PyObject *resultobj;
19963 wxDateTime *arg1 = (wxDateTime *) 0 ;
19964 wxTimeSpan *arg2 = 0 ;
19965 wxDateTime *result;
19966 PyObject * obj0 = 0 ;
19967 PyObject * obj1 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self",(char *) "diff", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
19973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19976 SWIG_POINTER_EXCEPTION | 0)) == -1)
19977 SWIG_fail;
19978 if (arg2 == NULL) {
19979 PyErr_SetString(PyExc_TypeError,"null reference");
19980 SWIG_fail;
19981 }
19982 {
19983 PyThreadState* __tstate = wxPyBeginAllowThreads();
19984 {
19985 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19986 result = (wxDateTime *) &_result_ref;
19987 }
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19993 return resultobj;
19994 fail:
19995 return NULL;
19996}
19997
19998
19999static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
20000 PyObject *resultobj;
20001 wxDateTime *arg1 = (wxDateTime *) 0 ;
20002 wxDateSpan *arg2 = 0 ;
20003 wxDateTime *result;
20004 PyObject * obj0 = 0 ;
20005 PyObject * obj1 = 0 ;
20006 char *kwnames[] = {
20007 (char *) "self",(char *) "diff", NULL
20008 };
20009
20010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
20011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20014 SWIG_POINTER_EXCEPTION | 0)) == -1)
20015 SWIG_fail;
20016 if (arg2 == NULL) {
20017 PyErr_SetString(PyExc_TypeError,"null reference");
20018 SWIG_fail;
20019 }
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 {
20023 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20024 result = (wxDateTime *) &_result_ref;
20025 }
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20031 return resultobj;
20032 fail:
20033 return NULL;
20034}
20035
20036
20037static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 wxDateTime *arg1 = (wxDateTime *) 0 ;
20040 wxDateTime *arg2 = 0 ;
20041 wxTimeSpan result;
20042 PyObject * obj0 = 0 ;
20043 PyObject * obj1 = 0 ;
20044 char *kwnames[] = {
20045 (char *) "self",(char *) "dt", NULL
20046 };
20047
20048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
20049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20052 SWIG_POINTER_EXCEPTION | 0)) == -1)
20053 SWIG_fail;
20054 if (arg2 == NULL) {
20055 PyErr_SetString(PyExc_TypeError,"null reference");
20056 SWIG_fail;
20057 }
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
20061
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 {
20066 wxTimeSpan * resultptr;
20067 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20068 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20069 }
20070 return resultobj;
20071 fail:
20072 return NULL;
20073}
20074
20075
20076static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
20077 PyObject *resultobj;
20078 wxDateTime *arg1 = (wxDateTime *) 0 ;
20079 wxTimeSpan *arg2 = 0 ;
20080 wxDateTime *result;
20081 PyObject * obj0 = 0 ;
20082 PyObject * obj1 = 0 ;
20083
20084 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20088 SWIG_POINTER_EXCEPTION | 0)) == -1)
20089 SWIG_fail;
20090 if (arg2 == NULL) {
20091 PyErr_SetString(PyExc_TypeError,"null reference");
20092 SWIG_fail;
20093 }
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 {
20097 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
20098 result = (wxDateTime *) &_result_ref;
20099 }
20100
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20105 return resultobj;
20106 fail:
20107 return NULL;
20108}
20109
20110
20111static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
20112 PyObject *resultobj;
20113 wxDateTime *arg1 = (wxDateTime *) 0 ;
20114 wxDateSpan *arg2 = 0 ;
20115 wxDateTime *result;
20116 PyObject * obj0 = 0 ;
20117 PyObject * obj1 = 0 ;
20118
20119 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20122 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20123 SWIG_POINTER_EXCEPTION | 0)) == -1)
20124 SWIG_fail;
20125 if (arg2 == NULL) {
20126 PyErr_SetString(PyExc_TypeError,"null reference");
20127 SWIG_fail;
20128 }
20129 {
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 {
20132 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20133 result = (wxDateTime *) &_result_ref;
20134 }
20135
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20140 return resultobj;
20141 fail:
20142 return NULL;
20143}
20144
20145
20146static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20147 int argc;
20148 PyObject *argv[3];
20149 int ii;
20150
20151 argc = PyObject_Length(args);
20152 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20153 argv[ii] = PyTuple_GetItem(args,ii);
20154 }
20155 if (argc == 2) {
20156 int _v;
20157 {
20158 void *ptr;
20159 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20160 _v = 0;
20161 PyErr_Clear();
20162 } else {
20163 _v = 1;
20164 }
20165 }
20166 if (_v) {
20167 {
20168 void *ptr;
20169 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20170 _v = 0;
20171 PyErr_Clear();
20172 } else {
20173 _v = 1;
20174 }
20175 }
20176 if (_v) {
20177 return _wrap_DateTime___iadd____SWIG_0(self,args);
20178 }
20179 }
20180 }
20181 if (argc == 2) {
20182 int _v;
20183 {
20184 void *ptr;
20185 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20186 _v = 0;
20187 PyErr_Clear();
20188 } else {
20189 _v = 1;
20190 }
20191 }
20192 if (_v) {
20193 {
20194 void *ptr;
20195 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20196 _v = 0;
20197 PyErr_Clear();
20198 } else {
20199 _v = 1;
20200 }
20201 }
20202 if (_v) {
20203 return _wrap_DateTime___iadd____SWIG_1(self,args);
20204 }
20205 }
20206 }
20207
20208 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20209 return NULL;
20210}
20211
20212
20213static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
20214 PyObject *resultobj;
20215 wxDateTime *arg1 = (wxDateTime *) 0 ;
20216 wxTimeSpan *arg2 = 0 ;
20217 wxDateTime *result;
20218 PyObject * obj0 = 0 ;
20219 PyObject * obj1 = 0 ;
20220
20221 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20225 SWIG_POINTER_EXCEPTION | 0)) == -1)
20226 SWIG_fail;
20227 if (arg2 == NULL) {
20228 PyErr_SetString(PyExc_TypeError,"null reference");
20229 SWIG_fail;
20230 }
20231 {
20232 PyThreadState* __tstate = wxPyBeginAllowThreads();
20233 {
20234 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20235 result = (wxDateTime *) &_result_ref;
20236 }
20237
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20242 return resultobj;
20243 fail:
20244 return NULL;
20245}
20246
20247
20248static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
20249 PyObject *resultobj;
20250 wxDateTime *arg1 = (wxDateTime *) 0 ;
20251 wxDateSpan *arg2 = 0 ;
20252 wxDateTime *result;
20253 PyObject * obj0 = 0 ;
20254 PyObject * obj1 = 0 ;
20255
20256 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20260 SWIG_POINTER_EXCEPTION | 0)) == -1)
20261 SWIG_fail;
20262 if (arg2 == NULL) {
20263 PyErr_SetString(PyExc_TypeError,"null reference");
20264 SWIG_fail;
20265 }
20266 {
20267 PyThreadState* __tstate = wxPyBeginAllowThreads();
20268 {
20269 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20270 result = (wxDateTime *) &_result_ref;
20271 }
20272
20273 wxPyEndAllowThreads(__tstate);
20274 if (PyErr_Occurred()) SWIG_fail;
20275 }
20276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20277 return resultobj;
20278 fail:
20279 return NULL;
20280}
20281
20282
20283static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20284 int argc;
20285 PyObject *argv[3];
20286 int ii;
20287
20288 argc = PyObject_Length(args);
20289 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20290 argv[ii] = PyTuple_GetItem(args,ii);
20291 }
20292 if (argc == 2) {
20293 int _v;
20294 {
20295 void *ptr;
20296 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20297 _v = 0;
20298 PyErr_Clear();
20299 } else {
20300 _v = 1;
20301 }
20302 }
20303 if (_v) {
20304 {
20305 void *ptr;
20306 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20307 _v = 0;
20308 PyErr_Clear();
20309 } else {
20310 _v = 1;
20311 }
20312 }
20313 if (_v) {
20314 return _wrap_DateTime___isub____SWIG_0(self,args);
20315 }
20316 }
20317 }
20318 if (argc == 2) {
20319 int _v;
20320 {
20321 void *ptr;
20322 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20323 _v = 0;
20324 PyErr_Clear();
20325 } else {
20326 _v = 1;
20327 }
20328 }
20329 if (_v) {
20330 {
20331 void *ptr;
20332 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20333 _v = 0;
20334 PyErr_Clear();
20335 } else {
20336 _v = 1;
20337 }
20338 }
20339 if (_v) {
20340 return _wrap_DateTime___isub____SWIG_1(self,args);
20341 }
20342 }
20343 }
20344
20345 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20346 return NULL;
20347}
20348
20349
20350static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
20351 PyObject *resultobj;
20352 wxDateTime *arg1 = (wxDateTime *) 0 ;
20353 wxTimeSpan *arg2 = 0 ;
20354 wxDateTime result;
20355 PyObject * obj0 = 0 ;
20356 PyObject * obj1 = 0 ;
20357
20358 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20362 SWIG_POINTER_EXCEPTION | 0)) == -1)
20363 SWIG_fail;
20364 if (arg2 == NULL) {
20365 PyErr_SetString(PyExc_TypeError,"null reference");
20366 SWIG_fail;
20367 }
20368 {
20369 PyThreadState* __tstate = wxPyBeginAllowThreads();
20370 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20371
20372 wxPyEndAllowThreads(__tstate);
20373 if (PyErr_Occurred()) SWIG_fail;
20374 }
20375 {
20376 wxDateTime * resultptr;
20377 resultptr = new wxDateTime((wxDateTime &) result);
20378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20379 }
20380 return resultobj;
20381 fail:
20382 return NULL;
20383}
20384
20385
20386static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
20387 PyObject *resultobj;
20388 wxDateTime *arg1 = (wxDateTime *) 0 ;
20389 wxDateSpan *arg2 = 0 ;
20390 wxDateTime result;
20391 PyObject * obj0 = 0 ;
20392 PyObject * obj1 = 0 ;
20393
20394 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20398 SWIG_POINTER_EXCEPTION | 0)) == -1)
20399 SWIG_fail;
20400 if (arg2 == NULL) {
20401 PyErr_SetString(PyExc_TypeError,"null reference");
20402 SWIG_fail;
20403 }
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
20406 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 {
20412 wxDateTime * resultptr;
20413 resultptr = new wxDateTime((wxDateTime &) result);
20414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20415 }
20416 return resultobj;
20417 fail:
20418 return NULL;
20419}
20420
20421
20422static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20423 int argc;
20424 PyObject *argv[3];
20425 int ii;
20426
20427 argc = PyObject_Length(args);
20428 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20429 argv[ii] = PyTuple_GetItem(args,ii);
20430 }
20431 if (argc == 2) {
20432 int _v;
20433 {
20434 void *ptr;
20435 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20436 _v = 0;
20437 PyErr_Clear();
20438 } else {
20439 _v = 1;
20440 }
20441 }
20442 if (_v) {
20443 {
20444 void *ptr;
20445 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20446 _v = 0;
20447 PyErr_Clear();
20448 } else {
20449 _v = 1;
20450 }
20451 }
20452 if (_v) {
20453 return _wrap_DateTime___add____SWIG_0(self,args);
20454 }
20455 }
20456 }
20457 if (argc == 2) {
20458 int _v;
20459 {
20460 void *ptr;
20461 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20462 _v = 0;
20463 PyErr_Clear();
20464 } else {
20465 _v = 1;
20466 }
20467 }
20468 if (_v) {
20469 {
20470 void *ptr;
20471 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20472 _v = 0;
20473 PyErr_Clear();
20474 } else {
20475 _v = 1;
20476 }
20477 }
20478 if (_v) {
20479 return _wrap_DateTime___add____SWIG_1(self,args);
20480 }
20481 }
20482 }
20483
20484 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20485 return NULL;
20486}
20487
20488
20489static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20490 PyObject *resultobj;
20491 wxDateTime *arg1 = (wxDateTime *) 0 ;
20492 wxDateTime *arg2 = 0 ;
20493 wxTimeSpan result;
20494 PyObject * obj0 = 0 ;
20495 PyObject * obj1 = 0 ;
20496
20497 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20501 SWIG_POINTER_EXCEPTION | 0)) == -1)
20502 SWIG_fail;
20503 if (arg2 == NULL) {
20504 PyErr_SetString(PyExc_TypeError,"null reference");
20505 SWIG_fail;
20506 }
20507 {
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20510
20511 wxPyEndAllowThreads(__tstate);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
20514 {
20515 wxTimeSpan * resultptr;
20516 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20518 }
20519 return resultobj;
20520 fail:
20521 return NULL;
20522}
20523
20524
20525static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20526 PyObject *resultobj;
20527 wxDateTime *arg1 = (wxDateTime *) 0 ;
20528 wxTimeSpan *arg2 = 0 ;
20529 wxDateTime result;
20530 PyObject * obj0 = 0 ;
20531 PyObject * obj1 = 0 ;
20532
20533 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20536 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20537 SWIG_POINTER_EXCEPTION | 0)) == -1)
20538 SWIG_fail;
20539 if (arg2 == NULL) {
20540 PyErr_SetString(PyExc_TypeError,"null reference");
20541 SWIG_fail;
20542 }
20543 {
20544 PyThreadState* __tstate = wxPyBeginAllowThreads();
20545 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20546
20547 wxPyEndAllowThreads(__tstate);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 {
20551 wxDateTime * resultptr;
20552 resultptr = new wxDateTime((wxDateTime &) result);
20553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20554 }
20555 return resultobj;
20556 fail:
20557 return NULL;
20558}
20559
20560
20561static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20562 PyObject *resultobj;
20563 wxDateTime *arg1 = (wxDateTime *) 0 ;
20564 wxDateSpan *arg2 = 0 ;
20565 wxDateTime result;
20566 PyObject * obj0 = 0 ;
20567 PyObject * obj1 = 0 ;
20568
20569 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20572 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20573 SWIG_POINTER_EXCEPTION | 0)) == -1)
20574 SWIG_fail;
20575 if (arg2 == NULL) {
20576 PyErr_SetString(PyExc_TypeError,"null reference");
20577 SWIG_fail;
20578 }
20579 {
20580 PyThreadState* __tstate = wxPyBeginAllowThreads();
20581 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20582
20583 wxPyEndAllowThreads(__tstate);
20584 if (PyErr_Occurred()) SWIG_fail;
20585 }
20586 {
20587 wxDateTime * resultptr;
20588 resultptr = new wxDateTime((wxDateTime &) result);
20589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20590 }
20591 return resultobj;
20592 fail:
20593 return NULL;
20594}
20595
20596
20597static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20598 int argc;
20599 PyObject *argv[3];
20600 int ii;
20601
20602 argc = PyObject_Length(args);
20603 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20604 argv[ii] = PyTuple_GetItem(args,ii);
20605 }
20606 if (argc == 2) {
20607 int _v;
20608 {
20609 void *ptr;
20610 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20611 _v = 0;
20612 PyErr_Clear();
20613 } else {
20614 _v = 1;
20615 }
20616 }
20617 if (_v) {
20618 {
20619 void *ptr;
20620 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20621 _v = 0;
20622 PyErr_Clear();
20623 } else {
20624 _v = 1;
20625 }
20626 }
20627 if (_v) {
20628 return _wrap_DateTime___sub____SWIG_0(self,args);
20629 }
20630 }
20631 }
20632 if (argc == 2) {
20633 int _v;
20634 {
20635 void *ptr;
20636 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20637 _v = 0;
20638 PyErr_Clear();
20639 } else {
20640 _v = 1;
20641 }
20642 }
20643 if (_v) {
20644 {
20645 void *ptr;
20646 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20647 _v = 0;
20648 PyErr_Clear();
20649 } else {
20650 _v = 1;
20651 }
20652 }
20653 if (_v) {
20654 return _wrap_DateTime___sub____SWIG_1(self,args);
20655 }
20656 }
20657 }
20658 if (argc == 2) {
20659 int _v;
20660 {
20661 void *ptr;
20662 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20663 _v = 0;
20664 PyErr_Clear();
20665 } else {
20666 _v = 1;
20667 }
20668 }
20669 if (_v) {
20670 {
20671 void *ptr;
20672 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20673 _v = 0;
20674 PyErr_Clear();
20675 } else {
20676 _v = 1;
20677 }
20678 }
20679 if (_v) {
20680 return _wrap_DateTime___sub____SWIG_2(self,args);
20681 }
20682 }
20683 }
20684
20685 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20686 return NULL;
20687}
20688
20689
20690static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20691 PyObject *resultobj;
20692 wxDateTime *arg1 = (wxDateTime *) 0 ;
20693 wxDateTime *arg2 = (wxDateTime *) 0 ;
20694 bool result;
20695 PyObject * obj0 = 0 ;
20696 PyObject * obj1 = 0 ;
20697
20698 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20703 {
20704 PyThreadState* __tstate = wxPyBeginAllowThreads();
20705 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
20706
20707 wxPyEndAllowThreads(__tstate);
20708 if (PyErr_Occurred()) SWIG_fail;
20709 }
20710 {
20711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20712 }
20713 return resultobj;
20714 fail:
20715 return NULL;
20716}
20717
20718
20719static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20720 PyObject *resultobj;
20721 wxDateTime *arg1 = (wxDateTime *) 0 ;
20722 wxDateTime *arg2 = (wxDateTime *) 0 ;
20723 bool result;
20724 PyObject * obj0 = 0 ;
20725 PyObject * obj1 = 0 ;
20726
20727 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20732 {
20733 PyThreadState* __tstate = wxPyBeginAllowThreads();
20734 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
20735
20736 wxPyEndAllowThreads(__tstate);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 }
20739 {
20740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20741 }
20742 return resultobj;
20743 fail:
20744 return NULL;
20745}
20746
20747
20748static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20749 PyObject *resultobj;
20750 wxDateTime *arg1 = (wxDateTime *) 0 ;
20751 wxDateTime *arg2 = (wxDateTime *) 0 ;
20752 bool result;
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755
20756 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20761 {
20762 PyThreadState* __tstate = wxPyBeginAllowThreads();
20763 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
20764
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 {
20769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20770 }
20771 return resultobj;
20772 fail:
20773 return NULL;
20774}
20775
20776
20777static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20778 PyObject *resultobj;
20779 wxDateTime *arg1 = (wxDateTime *) 0 ;
20780 wxDateTime *arg2 = (wxDateTime *) 0 ;
20781 bool result;
20782 PyObject * obj0 = 0 ;
20783 PyObject * obj1 = 0 ;
20784
20785 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20790 {
20791 PyThreadState* __tstate = wxPyBeginAllowThreads();
20792 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
20793
20794 wxPyEndAllowThreads(__tstate);
20795 if (PyErr_Occurred()) SWIG_fail;
20796 }
20797 {
20798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20799 }
20800 return resultobj;
20801 fail:
20802 return NULL;
20803}
20804
20805
20806static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20807 PyObject *resultobj;
20808 wxDateTime *arg1 = (wxDateTime *) 0 ;
20809 wxDateTime *arg2 = (wxDateTime *) 0 ;
20810 bool result;
20811 PyObject * obj0 = 0 ;
20812 PyObject * obj1 = 0 ;
20813
20814 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20819 {
20820 PyThreadState* __tstate = wxPyBeginAllowThreads();
20821 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
20822
20823 wxPyEndAllowThreads(__tstate);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 }
20826 {
20827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20828 }
20829 return resultobj;
20830 fail:
20831 return NULL;
20832}
20833
20834
20835static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20836 PyObject *resultobj;
20837 wxDateTime *arg1 = (wxDateTime *) 0 ;
20838 wxDateTime *arg2 = (wxDateTime *) 0 ;
20839 bool result;
20840 PyObject * obj0 = 0 ;
20841 PyObject * obj1 = 0 ;
20842
20843 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20848 {
20849 PyThreadState* __tstate = wxPyBeginAllowThreads();
20850 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
20851
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 {
20856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20857 }
20858 return resultobj;
20859 fail:
20860 return NULL;
20861}
20862
20863
20864static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20865 PyObject *resultobj;
20866 wxDateTime *arg1 = (wxDateTime *) 0 ;
20867 wxString *arg2 = 0 ;
20868 int result;
20869 bool temp2 = False ;
20870 PyObject * obj0 = 0 ;
20871 PyObject * obj1 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self",(char *) "date", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20879 {
20880 arg2 = wxString_in_helper(obj1);
20881 if (arg2 == NULL) SWIG_fail;
20882 temp2 = True;
20883 }
20884 {
20885 PyThreadState* __tstate = wxPyBeginAllowThreads();
20886 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20887
20888 wxPyEndAllowThreads(__tstate);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 }
20891 resultobj = SWIG_FromInt((int)result);
20892 {
20893 if (temp2)
20894 delete arg2;
20895 }
20896 return resultobj;
20897 fail:
20898 {
20899 if (temp2)
20900 delete arg2;
20901 }
20902 return NULL;
20903}
20904
20905
20906static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20907 PyObject *resultobj;
20908 wxDateTime *arg1 = (wxDateTime *) 0 ;
20909 wxString *arg2 = 0 ;
20910 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20911 wxString *arg3 = (wxString *) &arg3_defvalue ;
20912 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20913 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20914 int result;
20915 bool temp2 = False ;
20916 bool temp3 = False ;
20917 PyObject * obj0 = 0 ;
20918 PyObject * obj1 = 0 ;
20919 PyObject * obj2 = 0 ;
20920 PyObject * obj3 = 0 ;
20921 char *kwnames[] = {
20922 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20923 };
20924
20925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20928 {
20929 arg2 = wxString_in_helper(obj1);
20930 if (arg2 == NULL) SWIG_fail;
20931 temp2 = True;
20932 }
20933 if (obj2) {
20934 {
20935 arg3 = wxString_in_helper(obj2);
20936 if (arg3 == NULL) SWIG_fail;
20937 temp3 = True;
20938 }
20939 }
20940 if (obj3) {
20941 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20942 SWIG_POINTER_EXCEPTION | 0)) == -1)
20943 SWIG_fail;
20944 if (arg4 == NULL) {
20945 PyErr_SetString(PyExc_TypeError,"null reference");
20946 SWIG_fail;
20947 }
20948 }
20949 {
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
20951 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20952
20953 wxPyEndAllowThreads(__tstate);
20954 if (PyErr_Occurred()) SWIG_fail;
20955 }
20956 resultobj = SWIG_FromInt((int)result);
20957 {
20958 if (temp2)
20959 delete arg2;
20960 }
20961 {
20962 if (temp3)
20963 delete arg3;
20964 }
20965 return resultobj;
20966 fail:
20967 {
20968 if (temp2)
20969 delete arg2;
20970 }
20971 {
20972 if (temp3)
20973 delete arg3;
20974 }
20975 return NULL;
20976}
20977
20978
20979static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20980 PyObject *resultobj;
20981 wxDateTime *arg1 = (wxDateTime *) 0 ;
20982 wxString *arg2 = 0 ;
20983 int result;
20984 bool temp2 = False ;
20985 PyObject * obj0 = 0 ;
20986 PyObject * obj1 = 0 ;
20987 char *kwnames[] = {
20988 (char *) "self",(char *) "datetime", NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
20992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20994 {
20995 arg2 = wxString_in_helper(obj1);
20996 if (arg2 == NULL) SWIG_fail;
20997 temp2 = True;
20998 }
20999 {
21000 PyThreadState* __tstate = wxPyBeginAllowThreads();
21001 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
21002
21003 wxPyEndAllowThreads(__tstate);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 }
21006 resultobj = SWIG_FromInt((int)result);
21007 {
21008 if (temp2)
21009 delete arg2;
21010 }
21011 return resultobj;
21012 fail:
21013 {
21014 if (temp2)
21015 delete arg2;
21016 }
21017 return NULL;
21018}
21019
21020
21021static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21022 PyObject *resultobj;
21023 wxDateTime *arg1 = (wxDateTime *) 0 ;
21024 wxString *arg2 = 0 ;
21025 int result;
21026 bool temp2 = False ;
21027 PyObject * obj0 = 0 ;
21028 PyObject * obj1 = 0 ;
21029 char *kwnames[] = {
21030 (char *) "self",(char *) "date", NULL
21031 };
21032
21033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
21034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21036 {
21037 arg2 = wxString_in_helper(obj1);
21038 if (arg2 == NULL) SWIG_fail;
21039 temp2 = True;
21040 }
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 resultobj = SWIG_FromInt((int)result);
21049 {
21050 if (temp2)
21051 delete arg2;
21052 }
21053 return resultobj;
21054 fail:
21055 {
21056 if (temp2)
21057 delete arg2;
21058 }
21059 return NULL;
21060}
21061
21062
21063static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21064 PyObject *resultobj;
21065 wxDateTime *arg1 = (wxDateTime *) 0 ;
21066 wxString *arg2 = 0 ;
21067 int result;
21068 bool temp2 = False ;
21069 PyObject * obj0 = 0 ;
21070 PyObject * obj1 = 0 ;
21071 char *kwnames[] = {
21072 (char *) "self",(char *) "time", NULL
21073 };
21074
21075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
21076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21078 {
21079 arg2 = wxString_in_helper(obj1);
21080 if (arg2 == NULL) SWIG_fail;
21081 temp2 = True;
21082 }
21083 {
21084 PyThreadState* __tstate = wxPyBeginAllowThreads();
21085 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
21086
21087 wxPyEndAllowThreads(__tstate);
21088 if (PyErr_Occurred()) SWIG_fail;
21089 }
21090 resultobj = SWIG_FromInt((int)result);
21091 {
21092 if (temp2)
21093 delete arg2;
21094 }
21095 return resultobj;
21096 fail:
21097 {
21098 if (temp2)
21099 delete arg2;
21100 }
21101 return NULL;
21102}
21103
21104
21105static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
21106 PyObject *resultobj;
21107 wxDateTime *arg1 = (wxDateTime *) 0 ;
21108 wxString const &arg2_defvalue = wxPyDateFormatStr ;
21109 wxString *arg2 = (wxString *) &arg2_defvalue ;
21110 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21111 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21112 wxString result;
21113 bool temp2 = False ;
21114 bool temp3 = False ;
21115 PyObject * obj0 = 0 ;
21116 PyObject * obj1 = 0 ;
21117 PyObject * obj2 = 0 ;
21118 char *kwnames[] = {
21119 (char *) "self",(char *) "format",(char *) "tz", NULL
21120 };
21121
21122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21125 if (obj1) {
21126 {
21127 arg2 = wxString_in_helper(obj1);
21128 if (arg2 == NULL) SWIG_fail;
21129 temp2 = True;
21130 }
21131 }
21132 if (obj2) {
21133 {
21134 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21135 temp3 = True;
21136 }
21137 }
21138 {
21139 PyThreadState* __tstate = wxPyBeginAllowThreads();
21140 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21141
21142 wxPyEndAllowThreads(__tstate);
21143 if (PyErr_Occurred()) SWIG_fail;
21144 }
21145 {
21146#if wxUSE_UNICODE
21147 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21148#else
21149 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21150#endif
21151 }
21152 {
21153 if (temp2)
21154 delete arg2;
21155 }
21156 {
21157 if (temp3) delete arg3;
21158 }
21159 return resultobj;
21160 fail:
21161 {
21162 if (temp2)
21163 delete arg2;
21164 }
21165 {
21166 if (temp3) delete arg3;
21167 }
21168 return NULL;
21169}
21170
21171
21172static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21173 PyObject *resultobj;
21174 wxDateTime *arg1 = (wxDateTime *) 0 ;
21175 wxString result;
21176 PyObject * obj0 = 0 ;
21177 char *kwnames[] = {
21178 (char *) "self", NULL
21179 };
21180
21181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21184 {
21185 PyThreadState* __tstate = wxPyBeginAllowThreads();
21186 result = ((wxDateTime const *)arg1)->FormatDate();
21187
21188 wxPyEndAllowThreads(__tstate);
21189 if (PyErr_Occurred()) SWIG_fail;
21190 }
21191 {
21192#if wxUSE_UNICODE
21193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21194#else
21195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21196#endif
21197 }
21198 return resultobj;
21199 fail:
21200 return NULL;
21201}
21202
21203
21204static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21205 PyObject *resultobj;
21206 wxDateTime *arg1 = (wxDateTime *) 0 ;
21207 wxString result;
21208 PyObject * obj0 = 0 ;
21209 char *kwnames[] = {
21210 (char *) "self", NULL
21211 };
21212
21213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21216 {
21217 PyThreadState* __tstate = wxPyBeginAllowThreads();
21218 result = ((wxDateTime const *)arg1)->FormatTime();
21219
21220 wxPyEndAllowThreads(__tstate);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 }
21223 {
21224#if wxUSE_UNICODE
21225 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21226#else
21227 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21228#endif
21229 }
21230 return resultobj;
21231 fail:
21232 return NULL;
21233}
21234
21235
21236static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
21237 PyObject *resultobj;
21238 wxDateTime *arg1 = (wxDateTime *) 0 ;
21239 wxString result;
21240 PyObject * obj0 = 0 ;
21241 char *kwnames[] = {
21242 (char *) "self", NULL
21243 };
21244
21245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21248 {
21249 PyThreadState* __tstate = wxPyBeginAllowThreads();
21250 result = ((wxDateTime const *)arg1)->FormatISODate();
21251
21252 wxPyEndAllowThreads(__tstate);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 {
21256#if wxUSE_UNICODE
21257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21258#else
21259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21260#endif
21261 }
21262 return resultobj;
21263 fail:
21264 return NULL;
21265}
21266
21267
21268static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21269 PyObject *resultobj;
21270 wxDateTime *arg1 = (wxDateTime *) 0 ;
21271 wxString result;
21272 PyObject * obj0 = 0 ;
21273 char *kwnames[] = {
21274 (char *) "self", NULL
21275 };
21276
21277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21280 {
21281 PyThreadState* __tstate = wxPyBeginAllowThreads();
21282 result = ((wxDateTime const *)arg1)->FormatISOTime();
21283
21284 wxPyEndAllowThreads(__tstate);
21285 if (PyErr_Occurred()) SWIG_fail;
21286 }
21287 {
21288#if wxUSE_UNICODE
21289 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21290#else
21291 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21292#endif
21293 }
21294 return resultobj;
21295 fail:
21296 return NULL;
21297}
21298
21299
21300static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
21301 PyObject *obj;
21302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21303 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21304 Py_INCREF(obj);
21305 return Py_BuildValue((char *)"");
21306}
21307static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 long arg1 ;
21310 wxTimeSpan result;
21311 PyObject * obj0 = 0 ;
21312 char *kwnames[] = {
21313 (char *) "sec", NULL
21314 };
21315
21316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21317 arg1 = (long) SWIG_AsLong(obj0);
21318 if (PyErr_Occurred()) SWIG_fail;
21319 {
21320 PyThreadState* __tstate = wxPyBeginAllowThreads();
21321 result = wxTimeSpan::Seconds(arg1);
21322
21323 wxPyEndAllowThreads(__tstate);
21324 if (PyErr_Occurred()) SWIG_fail;
21325 }
21326 {
21327 wxTimeSpan * resultptr;
21328 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21329 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21330 }
21331 return resultobj;
21332 fail:
21333 return NULL;
21334}
21335
21336
21337static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
21338 PyObject *resultobj;
21339 wxTimeSpan result;
21340 char *kwnames[] = {
21341 NULL
21342 };
21343
21344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21345 {
21346 PyThreadState* __tstate = wxPyBeginAllowThreads();
21347 result = wxTimeSpan::Second();
21348
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 {
21353 wxTimeSpan * resultptr;
21354 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21356 }
21357 return resultobj;
21358 fail:
21359 return NULL;
21360}
21361
21362
21363static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj;
21365 long arg1 ;
21366 wxTimeSpan result;
21367 PyObject * obj0 = 0 ;
21368 char *kwnames[] = {
21369 (char *) "min", NULL
21370 };
21371
21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21373 arg1 = (long) SWIG_AsLong(obj0);
21374 if (PyErr_Occurred()) SWIG_fail;
21375 {
21376 PyThreadState* __tstate = wxPyBeginAllowThreads();
21377 result = wxTimeSpan::Minutes(arg1);
21378
21379 wxPyEndAllowThreads(__tstate);
21380 if (PyErr_Occurred()) SWIG_fail;
21381 }
21382 {
21383 wxTimeSpan * resultptr;
21384 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21385 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21386 }
21387 return resultobj;
21388 fail:
21389 return NULL;
21390}
21391
21392
21393static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
21394 PyObject *resultobj;
21395 wxTimeSpan result;
21396 char *kwnames[] = {
21397 NULL
21398 };
21399
21400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21401 {
21402 PyThreadState* __tstate = wxPyBeginAllowThreads();
21403 result = wxTimeSpan::Minute();
21404
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 {
21409 wxTimeSpan * resultptr;
21410 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21412 }
21413 return resultobj;
21414 fail:
21415 return NULL;
21416}
21417
21418
21419static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
21420 PyObject *resultobj;
21421 long arg1 ;
21422 wxTimeSpan result;
21423 PyObject * obj0 = 0 ;
21424 char *kwnames[] = {
21425 (char *) "hours", NULL
21426 };
21427
21428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21429 arg1 = (long) SWIG_AsLong(obj0);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 {
21432 PyThreadState* __tstate = wxPyBeginAllowThreads();
21433 result = wxTimeSpan::Hours(arg1);
21434
21435 wxPyEndAllowThreads(__tstate);
21436 if (PyErr_Occurred()) SWIG_fail;
21437 }
21438 {
21439 wxTimeSpan * resultptr;
21440 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21441 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21442 }
21443 return resultobj;
21444 fail:
21445 return NULL;
21446}
21447
21448
21449static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
21450 PyObject *resultobj;
21451 wxTimeSpan result;
21452 char *kwnames[] = {
21453 NULL
21454 };
21455
21456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21457 {
21458 PyThreadState* __tstate = wxPyBeginAllowThreads();
21459 result = wxTimeSpan::Hour();
21460
21461 wxPyEndAllowThreads(__tstate);
21462 if (PyErr_Occurred()) SWIG_fail;
21463 }
21464 {
21465 wxTimeSpan * resultptr;
21466 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21468 }
21469 return resultobj;
21470 fail:
21471 return NULL;
21472}
21473
21474
21475static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21476 PyObject *resultobj;
21477 long arg1 ;
21478 wxTimeSpan result;
21479 PyObject * obj0 = 0 ;
21480 char *kwnames[] = {
21481 (char *) "days", NULL
21482 };
21483
21484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21485 arg1 = (long) SWIG_AsLong(obj0);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 result = wxTimeSpan::Days(arg1);
21490
21491 wxPyEndAllowThreads(__tstate);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 {
21495 wxTimeSpan * resultptr;
21496 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21498 }
21499 return resultobj;
21500 fail:
21501 return NULL;
21502}
21503
21504
21505static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21506 PyObject *resultobj;
21507 wxTimeSpan result;
21508 char *kwnames[] = {
21509 NULL
21510 };
21511
21512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21513 {
21514 PyThreadState* __tstate = wxPyBeginAllowThreads();
21515 result = wxTimeSpan::Day();
21516
21517 wxPyEndAllowThreads(__tstate);
21518 if (PyErr_Occurred()) SWIG_fail;
21519 }
21520 {
21521 wxTimeSpan * resultptr;
21522 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21524 }
21525 return resultobj;
21526 fail:
21527 return NULL;
21528}
21529
21530
21531static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21532 PyObject *resultobj;
21533 long arg1 ;
21534 wxTimeSpan result;
21535 PyObject * obj0 = 0 ;
21536 char *kwnames[] = {
21537 (char *) "days", NULL
21538 };
21539
21540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21541 arg1 = (long) SWIG_AsLong(obj0);
21542 if (PyErr_Occurred()) SWIG_fail;
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 result = wxTimeSpan::Weeks(arg1);
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 {
21551 wxTimeSpan * resultptr;
21552 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21554 }
21555 return resultobj;
21556 fail:
21557 return NULL;
21558}
21559
21560
21561static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21562 PyObject *resultobj;
21563 wxTimeSpan result;
21564 char *kwnames[] = {
21565 NULL
21566 };
21567
21568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21569 {
21570 PyThreadState* __tstate = wxPyBeginAllowThreads();
21571 result = wxTimeSpan::Week();
21572
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 {
21577 wxTimeSpan * resultptr;
21578 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21580 }
21581 return resultobj;
21582 fail:
21583 return NULL;
21584}
21585
21586
21587static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21588 PyObject *resultobj;
21589 long arg1 = (long) 0 ;
21590 long arg2 = (long) 0 ;
21591 long arg3 = (long) 0 ;
21592 long arg4 = (long) 0 ;
21593 wxTimeSpan *result;
21594 PyObject * obj0 = 0 ;
21595 PyObject * obj1 = 0 ;
21596 PyObject * obj2 = 0 ;
21597 PyObject * obj3 = 0 ;
21598 char *kwnames[] = {
21599 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21600 };
21601
21602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21603 if (obj0) {
21604 arg1 = (long) SWIG_AsLong(obj0);
21605 if (PyErr_Occurred()) SWIG_fail;
21606 }
21607 if (obj1) {
21608 arg2 = (long) SWIG_AsLong(obj1);
21609 if (PyErr_Occurred()) SWIG_fail;
21610 }
21611 if (obj2) {
21612 arg3 = (long) SWIG_AsLong(obj2);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 if (obj3) {
21616 arg4 = (long) SWIG_AsLong(obj3);
21617 if (PyErr_Occurred()) SWIG_fail;
21618 }
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21627 return resultobj;
21628 fail:
21629 return NULL;
21630}
21631
21632
21633static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21634 PyObject *resultobj;
21635 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21636 PyObject * obj0 = 0 ;
21637 char *kwnames[] = {
21638 (char *) "self", NULL
21639 };
21640
21641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 delete arg1;
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 Py_INCREF(Py_None); resultobj = Py_None;
21652 return resultobj;
21653 fail:
21654 return NULL;
21655}
21656
21657
21658static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21659 PyObject *resultobj;
21660 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21661 wxTimeSpan *arg2 = 0 ;
21662 wxTimeSpan *result;
21663 PyObject * obj0 = 0 ;
21664 PyObject * obj1 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self",(char *) "diff", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21673 SWIG_POINTER_EXCEPTION | 0)) == -1)
21674 SWIG_fail;
21675 if (arg2 == NULL) {
21676 PyErr_SetString(PyExc_TypeError,"null reference");
21677 SWIG_fail;
21678 }
21679 {
21680 PyThreadState* __tstate = wxPyBeginAllowThreads();
21681 {
21682 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21683 result = (wxTimeSpan *) &_result_ref;
21684 }
21685
21686 wxPyEndAllowThreads(__tstate);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21690 return resultobj;
21691 fail:
21692 return NULL;
21693}
21694
21695
21696static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21697 PyObject *resultobj;
21698 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21699 wxTimeSpan *arg2 = 0 ;
21700 wxTimeSpan *result;
21701 PyObject * obj0 = 0 ;
21702 PyObject * obj1 = 0 ;
21703 char *kwnames[] = {
21704 (char *) "self",(char *) "diff", NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21711 SWIG_POINTER_EXCEPTION | 0)) == -1)
21712 SWIG_fail;
21713 if (arg2 == NULL) {
21714 PyErr_SetString(PyExc_TypeError,"null reference");
21715 SWIG_fail;
21716 }
21717 {
21718 PyThreadState* __tstate = wxPyBeginAllowThreads();
21719 {
21720 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21721 result = (wxTimeSpan *) &_result_ref;
21722 }
21723
21724 wxPyEndAllowThreads(__tstate);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
21727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21728 return resultobj;
21729 fail:
21730 return NULL;
21731}
21732
21733
21734static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21735 PyObject *resultobj;
21736 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21737 int arg2 ;
21738 wxTimeSpan *result;
21739 PyObject * obj0 = 0 ;
21740 PyObject * obj1 = 0 ;
21741 char *kwnames[] = {
21742 (char *) "self",(char *) "n", NULL
21743 };
21744
21745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21748 arg2 = (int) SWIG_AsInt(obj1);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 {
21751 PyThreadState* __tstate = wxPyBeginAllowThreads();
21752 {
21753 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21754 result = (wxTimeSpan *) &_result_ref;
21755 }
21756
21757 wxPyEndAllowThreads(__tstate);
21758 if (PyErr_Occurred()) SWIG_fail;
21759 }
21760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21761 return resultobj;
21762 fail:
21763 return NULL;
21764}
21765
21766
21767static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21768 PyObject *resultobj;
21769 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21770 wxTimeSpan *result;
21771 PyObject * obj0 = 0 ;
21772 char *kwnames[] = {
21773 (char *) "self", NULL
21774 };
21775
21776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21779 {
21780 PyThreadState* __tstate = wxPyBeginAllowThreads();
21781 {
21782 wxTimeSpan &_result_ref = (arg1)->Neg();
21783 result = (wxTimeSpan *) &_result_ref;
21784 }
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21790 return resultobj;
21791 fail:
21792 return NULL;
21793}
21794
21795
21796static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21797 PyObject *resultobj;
21798 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21799 wxTimeSpan result;
21800 PyObject * obj0 = 0 ;
21801 char *kwnames[] = {
21802 (char *) "self", NULL
21803 };
21804
21805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21808 {
21809 PyThreadState* __tstate = wxPyBeginAllowThreads();
21810 result = ((wxTimeSpan const *)arg1)->Abs();
21811
21812 wxPyEndAllowThreads(__tstate);
21813 if (PyErr_Occurred()) SWIG_fail;
21814 }
21815 {
21816 wxTimeSpan * resultptr;
21817 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21819 }
21820 return resultobj;
21821 fail:
21822 return NULL;
21823}
21824
21825
21826static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21827 PyObject *resultobj;
21828 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21829 wxTimeSpan *arg2 = 0 ;
21830 wxTimeSpan *result;
21831 PyObject * obj0 = 0 ;
21832 PyObject * obj1 = 0 ;
21833 char *kwnames[] = {
21834 (char *) "self",(char *) "diff", NULL
21835 };
21836
21837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21841 SWIG_POINTER_EXCEPTION | 0)) == -1)
21842 SWIG_fail;
21843 if (arg2 == NULL) {
21844 PyErr_SetString(PyExc_TypeError,"null reference");
21845 SWIG_fail;
21846 }
21847 {
21848 PyThreadState* __tstate = wxPyBeginAllowThreads();
21849 {
21850 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21851 result = (wxTimeSpan *) &_result_ref;
21852 }
21853
21854 wxPyEndAllowThreads(__tstate);
21855 if (PyErr_Occurred()) SWIG_fail;
21856 }
21857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21858 return resultobj;
21859 fail:
21860 return NULL;
21861}
21862
21863
21864static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21865 PyObject *resultobj;
21866 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21867 wxTimeSpan *arg2 = 0 ;
21868 wxTimeSpan *result;
21869 PyObject * obj0 = 0 ;
21870 PyObject * obj1 = 0 ;
21871 char *kwnames[] = {
21872 (char *) "self",(char *) "diff", NULL
21873 };
21874
21875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21879 SWIG_POINTER_EXCEPTION | 0)) == -1)
21880 SWIG_fail;
21881 if (arg2 == NULL) {
21882 PyErr_SetString(PyExc_TypeError,"null reference");
21883 SWIG_fail;
21884 }
21885 {
21886 PyThreadState* __tstate = wxPyBeginAllowThreads();
21887 {
21888 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21889 result = (wxTimeSpan *) &_result_ref;
21890 }
21891
21892 wxPyEndAllowThreads(__tstate);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 }
21895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21896 return resultobj;
21897 fail:
21898 return NULL;
21899}
21900
21901
21902static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21903 PyObject *resultobj;
21904 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21905 int arg2 ;
21906 wxTimeSpan *result;
21907 PyObject * obj0 = 0 ;
21908 PyObject * obj1 = 0 ;
21909 char *kwnames[] = {
21910 (char *) "self",(char *) "n", NULL
21911 };
21912
21913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21916 arg2 = (int) SWIG_AsInt(obj1);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 {
21919 PyThreadState* __tstate = wxPyBeginAllowThreads();
21920 {
21921 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21922 result = (wxTimeSpan *) &_result_ref;
21923 }
21924
21925 wxPyEndAllowThreads(__tstate);
21926 if (PyErr_Occurred()) SWIG_fail;
21927 }
21928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21929 return resultobj;
21930 fail:
21931 return NULL;
21932}
21933
21934
21935static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21936 PyObject *resultobj;
21937 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21938 wxTimeSpan *result;
21939 PyObject * obj0 = 0 ;
21940 char *kwnames[] = {
21941 (char *) "self", NULL
21942 };
21943
21944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 {
21950 wxTimeSpan &_result_ref = (arg1)->operator -();
21951 result = (wxTimeSpan *) &_result_ref;
21952 }
21953
21954 wxPyEndAllowThreads(__tstate);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21958 return resultobj;
21959 fail:
21960 return NULL;
21961}
21962
21963
21964static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21965 PyObject *resultobj;
21966 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21967 wxTimeSpan *arg2 = 0 ;
21968 wxTimeSpan result;
21969 PyObject * obj0 = 0 ;
21970 PyObject * obj1 = 0 ;
21971 char *kwnames[] = {
21972 (char *) "self",(char *) "other", NULL
21973 };
21974
21975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21979 SWIG_POINTER_EXCEPTION | 0)) == -1)
21980 SWIG_fail;
21981 if (arg2 == NULL) {
21982 PyErr_SetString(PyExc_TypeError,"null reference");
21983 SWIG_fail;
21984 }
21985 {
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21988
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 {
21993 wxTimeSpan * resultptr;
21994 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21995 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21996 }
21997 return resultobj;
21998 fail:
21999 return NULL;
22000}
22001
22002
22003static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
22004 PyObject *resultobj;
22005 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22006 wxTimeSpan *arg2 = 0 ;
22007 wxTimeSpan result;
22008 PyObject * obj0 = 0 ;
22009 PyObject * obj1 = 0 ;
22010 char *kwnames[] = {
22011 (char *) "self",(char *) "other", NULL
22012 };
22013
22014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
22015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22018 SWIG_POINTER_EXCEPTION | 0)) == -1)
22019 SWIG_fail;
22020 if (arg2 == NULL) {
22021 PyErr_SetString(PyExc_TypeError,"null reference");
22022 SWIG_fail;
22023 }
22024 {
22025 PyThreadState* __tstate = wxPyBeginAllowThreads();
22026 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
22027
22028 wxPyEndAllowThreads(__tstate);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
22031 {
22032 wxTimeSpan * resultptr;
22033 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22034 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22035 }
22036 return resultobj;
22037 fail:
22038 return NULL;
22039}
22040
22041
22042static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22043 PyObject *resultobj;
22044 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22045 int arg2 ;
22046 wxTimeSpan result;
22047 PyObject * obj0 = 0 ;
22048 PyObject * obj1 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self",(char *) "n", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
22054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22056 arg2 = (int) SWIG_AsInt(obj1);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 {
22059 PyThreadState* __tstate = wxPyBeginAllowThreads();
22060 result = wxTimeSpan___mul__(arg1,arg2);
22061
22062 wxPyEndAllowThreads(__tstate);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 }
22065 {
22066 wxTimeSpan * resultptr;
22067 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22068 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22069 }
22070 return resultobj;
22071 fail:
22072 return NULL;
22073}
22074
22075
22076static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22077 PyObject *resultobj;
22078 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22079 int arg2 ;
22080 wxTimeSpan result;
22081 PyObject * obj0 = 0 ;
22082 PyObject * obj1 = 0 ;
22083 char *kwnames[] = {
22084 (char *) "self",(char *) "n", NULL
22085 };
22086
22087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
22088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22090 arg2 = (int) SWIG_AsInt(obj1);
22091 if (PyErr_Occurred()) SWIG_fail;
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 result = wxTimeSpan___rmul__(arg1,arg2);
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 {
22100 wxTimeSpan * resultptr;
22101 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22102 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22103 }
22104 return resultobj;
22105 fail:
22106 return NULL;
22107}
22108
22109
22110static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22111 PyObject *resultobj;
22112 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22113 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22114 bool result;
22115 PyObject * obj0 = 0 ;
22116 PyObject * obj1 = 0 ;
22117 char *kwnames[] = {
22118 (char *) "self",(char *) "other", NULL
22119 };
22120
22121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
22122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 {
22134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22135 }
22136 return resultobj;
22137 fail:
22138 return NULL;
22139}
22140
22141
22142static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
22143 PyObject *resultobj;
22144 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22145 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22146 bool result;
22147 PyObject * obj0 = 0 ;
22148 PyObject * obj1 = 0 ;
22149 char *kwnames[] = {
22150 (char *) "self",(char *) "other", NULL
22151 };
22152
22153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22158 {
22159 PyThreadState* __tstate = wxPyBeginAllowThreads();
22160 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22161
22162 wxPyEndAllowThreads(__tstate);
22163 if (PyErr_Occurred()) SWIG_fail;
22164 }
22165 {
22166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22167 }
22168 return resultobj;
22169 fail:
22170 return NULL;
22171}
22172
22173
22174static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22175 PyObject *resultobj;
22176 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22177 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22178 bool result;
22179 PyObject * obj0 = 0 ;
22180 PyObject * obj1 = 0 ;
22181 char *kwnames[] = {
22182 (char *) "self",(char *) "other", NULL
22183 };
22184
22185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22193
22194 wxPyEndAllowThreads(__tstate);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 {
22198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22199 }
22200 return resultobj;
22201 fail:
22202 return NULL;
22203}
22204
22205
22206static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
22207 PyObject *resultobj;
22208 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22209 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22210 bool result;
22211 PyObject * obj0 = 0 ;
22212 PyObject * obj1 = 0 ;
22213 char *kwnames[] = {
22214 (char *) "self",(char *) "other", NULL
22215 };
22216
22217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22220 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22222 {
22223 PyThreadState* __tstate = wxPyBeginAllowThreads();
22224 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22225
22226 wxPyEndAllowThreads(__tstate);
22227 if (PyErr_Occurred()) SWIG_fail;
22228 }
22229 {
22230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22231 }
22232 return resultobj;
22233 fail:
22234 return NULL;
22235}
22236
22237
22238static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22239 PyObject *resultobj;
22240 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22241 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22242 bool result;
22243 PyObject * obj0 = 0 ;
22244 PyObject * obj1 = 0 ;
22245 char *kwnames[] = {
22246 (char *) "self",(char *) "other", NULL
22247 };
22248
22249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22257
22258 wxPyEndAllowThreads(__tstate);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 }
22261 {
22262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22263 }
22264 return resultobj;
22265 fail:
22266 return NULL;
22267}
22268
22269
22270static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22271 PyObject *resultobj;
22272 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22273 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22274 bool result;
22275 PyObject * obj0 = 0 ;
22276 PyObject * obj1 = 0 ;
22277 char *kwnames[] = {
22278 (char *) "self",(char *) "other", NULL
22279 };
22280
22281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22284 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22286 {
22287 PyThreadState* __tstate = wxPyBeginAllowThreads();
22288 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22289
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 {
22294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22295 }
22296 return resultobj;
22297 fail:
22298 return NULL;
22299}
22300
22301
22302static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
22303 PyObject *resultobj;
22304 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22305 bool result;
22306 PyObject * obj0 = 0 ;
22307 char *kwnames[] = {
22308 (char *) "self", NULL
22309 };
22310
22311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22314 {
22315 PyThreadState* __tstate = wxPyBeginAllowThreads();
22316 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22317
22318 wxPyEndAllowThreads(__tstate);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 {
22322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22323 }
22324 return resultobj;
22325 fail:
22326 return NULL;
22327}
22328
22329
22330static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
22331 PyObject *resultobj;
22332 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22333 bool result;
22334 PyObject * obj0 = 0 ;
22335 char *kwnames[] = {
22336 (char *) "self", NULL
22337 };
22338
22339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22342 {
22343 PyThreadState* __tstate = wxPyBeginAllowThreads();
22344 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22345
22346 wxPyEndAllowThreads(__tstate);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 }
22349 {
22350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22351 }
22352 return resultobj;
22353 fail:
22354 return NULL;
22355}
22356
22357
22358static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
22359 PyObject *resultobj;
22360 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22361 bool result;
22362 PyObject * obj0 = 0 ;
22363 char *kwnames[] = {
22364 (char *) "self", NULL
22365 };
22366
22367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22370 {
22371 PyThreadState* __tstate = wxPyBeginAllowThreads();
22372 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22373
22374 wxPyEndAllowThreads(__tstate);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 }
22377 {
22378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22379 }
22380 return resultobj;
22381 fail:
22382 return NULL;
22383}
22384
22385
22386static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22387 PyObject *resultobj;
22388 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22389 wxTimeSpan *arg2 = 0 ;
22390 bool result;
22391 PyObject * obj0 = 0 ;
22392 PyObject * obj1 = 0 ;
22393 char *kwnames[] = {
22394 (char *) "self",(char *) "ts", NULL
22395 };
22396
22397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22401 SWIG_POINTER_EXCEPTION | 0)) == -1)
22402 SWIG_fail;
22403 if (arg2 == NULL) {
22404 PyErr_SetString(PyExc_TypeError,"null reference");
22405 SWIG_fail;
22406 }
22407 {
22408 PyThreadState* __tstate = wxPyBeginAllowThreads();
22409 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22410
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 {
22415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22416 }
22417 return resultobj;
22418 fail:
22419 return NULL;
22420}
22421
22422
22423static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22424 PyObject *resultobj;
22425 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22426 wxTimeSpan *arg2 = 0 ;
22427 bool result;
22428 PyObject * obj0 = 0 ;
22429 PyObject * obj1 = 0 ;
22430 char *kwnames[] = {
22431 (char *) "self",(char *) "ts", NULL
22432 };
22433
22434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22438 SWIG_POINTER_EXCEPTION | 0)) == -1)
22439 SWIG_fail;
22440 if (arg2 == NULL) {
22441 PyErr_SetString(PyExc_TypeError,"null reference");
22442 SWIG_fail;
22443 }
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 {
22452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22453 }
22454 return resultobj;
22455 fail:
22456 return NULL;
22457}
22458
22459
22460static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22461 PyObject *resultobj;
22462 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22463 wxTimeSpan *arg2 = 0 ;
22464 bool result;
22465 PyObject * obj0 = 0 ;
22466 PyObject * obj1 = 0 ;
22467 char *kwnames[] = {
22468 (char *) "self",(char *) "t", NULL
22469 };
22470
22471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22475 SWIG_POINTER_EXCEPTION | 0)) == -1)
22476 SWIG_fail;
22477 if (arg2 == NULL) {
22478 PyErr_SetString(PyExc_TypeError,"null reference");
22479 SWIG_fail;
22480 }
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22484
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 {
22489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22490 }
22491 return resultobj;
22492 fail:
22493 return NULL;
22494}
22495
22496
22497static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22498 PyObject *resultobj;
22499 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22500 int result;
22501 PyObject * obj0 = 0 ;
22502 char *kwnames[] = {
22503 (char *) "self", NULL
22504 };
22505
22506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22509 {
22510 PyThreadState* __tstate = wxPyBeginAllowThreads();
22511 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22512
22513 wxPyEndAllowThreads(__tstate);
22514 if (PyErr_Occurred()) SWIG_fail;
22515 }
22516 resultobj = SWIG_FromInt((int)result);
22517 return resultobj;
22518 fail:
22519 return NULL;
22520}
22521
22522
22523static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22524 PyObject *resultobj;
22525 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22526 int result;
22527 PyObject * obj0 = 0 ;
22528 char *kwnames[] = {
22529 (char *) "self", NULL
22530 };
22531
22532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22535 {
22536 PyThreadState* __tstate = wxPyBeginAllowThreads();
22537 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22538
22539 wxPyEndAllowThreads(__tstate);
22540 if (PyErr_Occurred()) SWIG_fail;
22541 }
22542 resultobj = SWIG_FromInt((int)result);
22543 return resultobj;
22544 fail:
22545 return NULL;
22546}
22547
22548
22549static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22550 PyObject *resultobj;
22551 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22552 int result;
22553 PyObject * obj0 = 0 ;
22554 char *kwnames[] = {
22555 (char *) "self", NULL
22556 };
22557
22558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22561 {
22562 PyThreadState* __tstate = wxPyBeginAllowThreads();
22563 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22564
22565 wxPyEndAllowThreads(__tstate);
22566 if (PyErr_Occurred()) SWIG_fail;
22567 }
22568 resultobj = SWIG_FromInt((int)result);
22569 return resultobj;
22570 fail:
22571 return NULL;
22572}
22573
22574
22575static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22576 PyObject *resultobj;
22577 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22578 int result;
22579 PyObject * obj0 = 0 ;
22580 char *kwnames[] = {
22581 (char *) "self", NULL
22582 };
22583
22584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22587 {
22588 PyThreadState* __tstate = wxPyBeginAllowThreads();
22589 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22590
22591 wxPyEndAllowThreads(__tstate);
22592 if (PyErr_Occurred()) SWIG_fail;
22593 }
22594 resultobj = SWIG_FromInt((int)result);
22595 return resultobj;
22596 fail:
22597 return NULL;
22598}
22599
22600
22601static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22602 PyObject *resultobj;
22603 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22604 wxLongLong result;
22605 PyObject * obj0 = 0 ;
22606 char *kwnames[] = {
22607 (char *) "self", NULL
22608 };
22609
22610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22616
22617 wxPyEndAllowThreads(__tstate);
22618 if (PyErr_Occurred()) SWIG_fail;
22619 }
22620 {
22621 PyObject *hi, *lo, *shifter, *shifted;
22622 hi = PyLong_FromLong( (&result)->GetHi() );
22623 lo = PyLong_FromLong( (&result)->GetLo() );
22624 shifter = PyLong_FromLong(32);
22625 shifted = PyNumber_Lshift(hi, shifter);
22626 resultobj = PyNumber_Or(shifted, lo);
22627 Py_DECREF(hi);
22628 Py_DECREF(lo);
22629 Py_DECREF(shifter);
22630 Py_DECREF(shifted);
22631 }
22632 return resultobj;
22633 fail:
22634 return NULL;
22635}
22636
22637
22638static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22639 PyObject *resultobj;
22640 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22641 wxLongLong result;
22642 PyObject * obj0 = 0 ;
22643 char *kwnames[] = {
22644 (char *) "self", NULL
22645 };
22646
22647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22650 {
22651 PyThreadState* __tstate = wxPyBeginAllowThreads();
22652 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22653
22654 wxPyEndAllowThreads(__tstate);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 }
22657 {
22658 PyObject *hi, *lo, *shifter, *shifted;
22659 hi = PyLong_FromLong( (&result)->GetHi() );
22660 lo = PyLong_FromLong( (&result)->GetLo() );
22661 shifter = PyLong_FromLong(32);
22662 shifted = PyNumber_Lshift(hi, shifter);
22663 resultobj = PyNumber_Or(shifted, lo);
22664 Py_DECREF(hi);
22665 Py_DECREF(lo);
22666 Py_DECREF(shifter);
22667 Py_DECREF(shifted);
22668 }
22669 return resultobj;
22670 fail:
22671 return NULL;
22672}
22673
22674
22675static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22676 PyObject *resultobj;
22677 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22678 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22679 wxString *arg2 = (wxString *) &arg2_defvalue ;
22680 wxString result;
22681 bool temp2 = False ;
22682 PyObject * obj0 = 0 ;
22683 PyObject * obj1 = 0 ;
22684 char *kwnames[] = {
22685 (char *) "self",(char *) "format", NULL
22686 };
22687
22688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22691 if (obj1) {
22692 {
22693 arg2 = wxString_in_helper(obj1);
22694 if (arg2 == NULL) SWIG_fail;
22695 temp2 = True;
22696 }
22697 }
22698 {
22699 PyThreadState* __tstate = wxPyBeginAllowThreads();
22700 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22701
22702 wxPyEndAllowThreads(__tstate);
22703 if (PyErr_Occurred()) SWIG_fail;
22704 }
22705 {
22706#if wxUSE_UNICODE
22707 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22708#else
22709 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22710#endif
22711 }
22712 {
22713 if (temp2)
22714 delete arg2;
22715 }
22716 return resultobj;
22717 fail:
22718 {
22719 if (temp2)
22720 delete arg2;
22721 }
22722 return NULL;
22723}
22724
22725
22726static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22727 PyObject *obj;
22728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22729 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22730 Py_INCREF(obj);
22731 return Py_BuildValue((char *)"");
22732}
22733static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22734 PyObject *resultobj;
22735 int arg1 = (int) 0 ;
22736 int arg2 = (int) 0 ;
22737 int arg3 = (int) 0 ;
22738 int arg4 = (int) 0 ;
22739 wxDateSpan *result;
22740 PyObject * obj0 = 0 ;
22741 PyObject * obj1 = 0 ;
22742 PyObject * obj2 = 0 ;
22743 PyObject * obj3 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22749 if (obj0) {
22750 arg1 = (int) SWIG_AsInt(obj0);
22751 if (PyErr_Occurred()) SWIG_fail;
22752 }
22753 if (obj1) {
22754 arg2 = (int) SWIG_AsInt(obj1);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 if (obj2) {
22758 arg3 = (int) SWIG_AsInt(obj2);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 }
22761 if (obj3) {
22762 arg4 = (int) SWIG_AsInt(obj3);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
22765 {
22766 PyThreadState* __tstate = wxPyBeginAllowThreads();
22767 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22768
22769 wxPyEndAllowThreads(__tstate);
22770 if (PyErr_Occurred()) SWIG_fail;
22771 }
22772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
22773 return resultobj;
22774 fail:
22775 return NULL;
22776}
22777
22778
22779static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22780 PyObject *resultobj;
22781 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22782 PyObject * obj0 = 0 ;
22783 char *kwnames[] = {
22784 (char *) "self", NULL
22785 };
22786
22787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22790 {
22791 PyThreadState* __tstate = wxPyBeginAllowThreads();
22792 delete arg1;
22793
22794 wxPyEndAllowThreads(__tstate);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 }
22797 Py_INCREF(Py_None); resultobj = Py_None;
22798 return resultobj;
22799 fail:
22800 return NULL;
22801}
22802
22803
22804static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22805 PyObject *resultobj;
22806 int arg1 ;
22807 wxDateSpan result;
22808 PyObject * obj0 = 0 ;
22809 char *kwnames[] = {
22810 (char *) "days", NULL
22811 };
22812
22813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22814 arg1 = (int) SWIG_AsInt(obj0);
22815 if (PyErr_Occurred()) SWIG_fail;
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 result = wxDateSpan::Days(arg1);
22819
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 {
22824 wxDateSpan * resultptr;
22825 resultptr = new wxDateSpan((wxDateSpan &) result);
22826 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22827 }
22828 return resultobj;
22829 fail:
22830 return NULL;
22831}
22832
22833
22834static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22835 PyObject *resultobj;
22836 wxDateSpan result;
22837 char *kwnames[] = {
22838 NULL
22839 };
22840
22841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22842 {
22843 PyThreadState* __tstate = wxPyBeginAllowThreads();
22844 result = wxDateSpan::Day();
22845
22846 wxPyEndAllowThreads(__tstate);
22847 if (PyErr_Occurred()) SWIG_fail;
22848 }
22849 {
22850 wxDateSpan * resultptr;
22851 resultptr = new wxDateSpan((wxDateSpan &) result);
22852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22853 }
22854 return resultobj;
22855 fail:
22856 return NULL;
22857}
22858
22859
22860static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22861 PyObject *resultobj;
22862 int arg1 ;
22863 wxDateSpan result;
22864 PyObject * obj0 = 0 ;
22865 char *kwnames[] = {
22866 (char *) "weeks", NULL
22867 };
22868
22869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22870 arg1 = (int) SWIG_AsInt(obj0);
22871 if (PyErr_Occurred()) SWIG_fail;
22872 {
22873 PyThreadState* __tstate = wxPyBeginAllowThreads();
22874 result = wxDateSpan::Weeks(arg1);
22875
22876 wxPyEndAllowThreads(__tstate);
22877 if (PyErr_Occurred()) SWIG_fail;
22878 }
22879 {
22880 wxDateSpan * resultptr;
22881 resultptr = new wxDateSpan((wxDateSpan &) result);
22882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22883 }
22884 return resultobj;
22885 fail:
22886 return NULL;
22887}
22888
22889
22890static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22891 PyObject *resultobj;
22892 wxDateSpan result;
22893 char *kwnames[] = {
22894 NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 result = wxDateSpan::Week();
22901
22902 wxPyEndAllowThreads(__tstate);
22903 if (PyErr_Occurred()) SWIG_fail;
22904 }
22905 {
22906 wxDateSpan * resultptr;
22907 resultptr = new wxDateSpan((wxDateSpan &) result);
22908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22909 }
22910 return resultobj;
22911 fail:
22912 return NULL;
22913}
22914
22915
22916static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22917 PyObject *resultobj;
22918 int arg1 ;
22919 wxDateSpan result;
22920 PyObject * obj0 = 0 ;
22921 char *kwnames[] = {
22922 (char *) "mon", NULL
22923 };
22924
22925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22926 arg1 = (int) SWIG_AsInt(obj0);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 {
22929 PyThreadState* __tstate = wxPyBeginAllowThreads();
22930 result = wxDateSpan::Months(arg1);
22931
22932 wxPyEndAllowThreads(__tstate);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 {
22936 wxDateSpan * resultptr;
22937 resultptr = new wxDateSpan((wxDateSpan &) result);
22938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22939 }
22940 return resultobj;
22941 fail:
22942 return NULL;
22943}
22944
22945
22946static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22947 PyObject *resultobj;
22948 wxDateSpan result;
22949 char *kwnames[] = {
22950 NULL
22951 };
22952
22953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 result = wxDateSpan::Month();
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
22961 {
22962 wxDateSpan * resultptr;
22963 resultptr = new wxDateSpan((wxDateSpan &) result);
22964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22965 }
22966 return resultobj;
22967 fail:
22968 return NULL;
22969}
22970
22971
22972static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
22973 PyObject *resultobj;
22974 int arg1 ;
22975 wxDateSpan result;
22976 PyObject * obj0 = 0 ;
22977 char *kwnames[] = {
22978 (char *) "years", NULL
22979 };
22980
22981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
22982 arg1 = (int) SWIG_AsInt(obj0);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 {
22985 PyThreadState* __tstate = wxPyBeginAllowThreads();
22986 result = wxDateSpan::Years(arg1);
22987
22988 wxPyEndAllowThreads(__tstate);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 }
22991 {
22992 wxDateSpan * resultptr;
22993 resultptr = new wxDateSpan((wxDateSpan &) result);
22994 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22995 }
22996 return resultobj;
22997 fail:
22998 return NULL;
22999}
23000
23001
23002static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
23003 PyObject *resultobj;
23004 wxDateSpan result;
23005 char *kwnames[] = {
23006 NULL
23007 };
23008
23009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 result = wxDateSpan::Year();
23013
23014 wxPyEndAllowThreads(__tstate);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 }
23017 {
23018 wxDateSpan * resultptr;
23019 resultptr = new wxDateSpan((wxDateSpan &) result);
23020 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23021 }
23022 return resultobj;
23023 fail:
23024 return NULL;
23025}
23026
23027
23028static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23029 PyObject *resultobj;
23030 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23031 int arg2 ;
23032 wxDateSpan *result;
23033 PyObject * obj0 = 0 ;
23034 PyObject * obj1 = 0 ;
23035 char *kwnames[] = {
23036 (char *) "self",(char *) "n", NULL
23037 };
23038
23039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
23040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23042 arg2 = (int) SWIG_AsInt(obj1);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 {
23045 PyThreadState* __tstate = wxPyBeginAllowThreads();
23046 {
23047 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
23048 result = (wxDateSpan *) &_result_ref;
23049 }
23050
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23055 return resultobj;
23056 fail:
23057 return NULL;
23058}
23059
23060
23061static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23062 PyObject *resultobj;
23063 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23064 int arg2 ;
23065 wxDateSpan *result;
23066 PyObject * obj0 = 0 ;
23067 PyObject * obj1 = 0 ;
23068 char *kwnames[] = {
23069 (char *) "self",(char *) "n", NULL
23070 };
23071
23072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
23073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23075 arg2 = (int) SWIG_AsInt(obj1);
23076 if (PyErr_Occurred()) SWIG_fail;
23077 {
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 {
23080 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
23081 result = (wxDateSpan *) &_result_ref;
23082 }
23083
23084 wxPyEndAllowThreads(__tstate);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 }
23087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23088 return resultobj;
23089 fail:
23090 return NULL;
23091}
23092
23093
23094static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23095 PyObject *resultobj;
23096 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23097 int arg2 ;
23098 wxDateSpan *result;
23099 PyObject * obj0 = 0 ;
23100 PyObject * obj1 = 0 ;
23101 char *kwnames[] = {
23102 (char *) "self",(char *) "n", NULL
23103 };
23104
23105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
23106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23108 arg2 = (int) SWIG_AsInt(obj1);
23109 if (PyErr_Occurred()) SWIG_fail;
23110 {
23111 PyThreadState* __tstate = wxPyBeginAllowThreads();
23112 {
23113 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
23114 result = (wxDateSpan *) &_result_ref;
23115 }
23116
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
23120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23121 return resultobj;
23122 fail:
23123 return NULL;
23124}
23125
23126
23127static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23128 PyObject *resultobj;
23129 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23130 int arg2 ;
23131 wxDateSpan *result;
23132 PyObject * obj0 = 0 ;
23133 PyObject * obj1 = 0 ;
23134 char *kwnames[] = {
23135 (char *) "self",(char *) "n", NULL
23136 };
23137
23138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23141 arg2 = (int) SWIG_AsInt(obj1);
23142 if (PyErr_Occurred()) SWIG_fail;
23143 {
23144 PyThreadState* __tstate = wxPyBeginAllowThreads();
23145 {
23146 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23147 result = (wxDateSpan *) &_result_ref;
23148 }
23149
23150 wxPyEndAllowThreads(__tstate);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 }
23153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23154 return resultobj;
23155 fail:
23156 return NULL;
23157}
23158
23159
23160static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23161 PyObject *resultobj;
23162 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23163 int result;
23164 PyObject * obj0 = 0 ;
23165 char *kwnames[] = {
23166 (char *) "self", NULL
23167 };
23168
23169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 result = (int)((wxDateSpan const *)arg1)->GetYears();
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 resultobj = SWIG_FromInt((int)result);
23180 return resultobj;
23181 fail:
23182 return NULL;
23183}
23184
23185
23186static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23187 PyObject *resultobj;
23188 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23189 int result;
23190 PyObject * obj0 = 0 ;
23191 char *kwnames[] = {
23192 (char *) "self", NULL
23193 };
23194
23195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 resultobj = SWIG_FromInt((int)result);
23206 return resultobj;
23207 fail:
23208 return NULL;
23209}
23210
23211
23212static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23213 PyObject *resultobj;
23214 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23215 int result;
23216 PyObject * obj0 = 0 ;
23217 char *kwnames[] = {
23218 (char *) "self", NULL
23219 };
23220
23221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23224 {
23225 PyThreadState* __tstate = wxPyBeginAllowThreads();
23226 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23227
23228 wxPyEndAllowThreads(__tstate);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 }
23231 resultobj = SWIG_FromInt((int)result);
23232 return resultobj;
23233 fail:
23234 return NULL;
23235}
23236
23237
23238static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23239 PyObject *resultobj;
23240 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23241 int result;
23242 PyObject * obj0 = 0 ;
23243 char *kwnames[] = {
23244 (char *) "self", NULL
23245 };
23246
23247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 result = (int)((wxDateSpan const *)arg1)->GetDays();
23253
23254 wxPyEndAllowThreads(__tstate);
23255 if (PyErr_Occurred()) SWIG_fail;
23256 }
23257 resultobj = SWIG_FromInt((int)result);
23258 return resultobj;
23259 fail:
23260 return NULL;
23261}
23262
23263
23264static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23265 PyObject *resultobj;
23266 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23267 int result;
23268 PyObject * obj0 = 0 ;
23269 char *kwnames[] = {
23270 (char *) "self", NULL
23271 };
23272
23273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23276 {
23277 PyThreadState* __tstate = wxPyBeginAllowThreads();
23278 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23279
23280 wxPyEndAllowThreads(__tstate);
23281 if (PyErr_Occurred()) SWIG_fail;
23282 }
23283 resultobj = SWIG_FromInt((int)result);
23284 return resultobj;
23285 fail:
23286 return NULL;
23287}
23288
23289
23290static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
23291 PyObject *resultobj;
23292 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23293 wxDateSpan *arg2 = 0 ;
23294 wxDateSpan *result;
23295 PyObject * obj0 = 0 ;
23296 PyObject * obj1 = 0 ;
23297 char *kwnames[] = {
23298 (char *) "self",(char *) "other", NULL
23299 };
23300
23301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23305 SWIG_POINTER_EXCEPTION | 0)) == -1)
23306 SWIG_fail;
23307 if (arg2 == NULL) {
23308 PyErr_SetString(PyExc_TypeError,"null reference");
23309 SWIG_fail;
23310 }
23311 {
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 {
23314 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23315 result = (wxDateSpan *) &_result_ref;
23316 }
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23322 return resultobj;
23323 fail:
23324 return NULL;
23325}
23326
23327
23328static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
23329 PyObject *resultobj;
23330 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23331 wxDateSpan *arg2 = 0 ;
23332 wxDateSpan *result;
23333 PyObject * obj0 = 0 ;
23334 PyObject * obj1 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self",(char *) "other", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23343 SWIG_POINTER_EXCEPTION | 0)) == -1)
23344 SWIG_fail;
23345 if (arg2 == NULL) {
23346 PyErr_SetString(PyExc_TypeError,"null reference");
23347 SWIG_fail;
23348 }
23349 {
23350 PyThreadState* __tstate = wxPyBeginAllowThreads();
23351 {
23352 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23353 result = (wxDateSpan *) &_result_ref;
23354 }
23355
23356 wxPyEndAllowThreads(__tstate);
23357 if (PyErr_Occurred()) SWIG_fail;
23358 }
23359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23360 return resultobj;
23361 fail:
23362 return NULL;
23363}
23364
23365
23366static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
23367 PyObject *resultobj;
23368 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23369 wxDateSpan *result;
23370 PyObject * obj0 = 0 ;
23371 char *kwnames[] = {
23372 (char *) "self", NULL
23373 };
23374
23375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
23380 {
23381 wxDateSpan &_result_ref = (arg1)->Neg();
23382 result = (wxDateSpan *) &_result_ref;
23383 }
23384
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
23388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23389 return resultobj;
23390 fail:
23391 return NULL;
23392}
23393
23394
23395static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
23396 PyObject *resultobj;
23397 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23398 int arg2 ;
23399 wxDateSpan *result;
23400 PyObject * obj0 = 0 ;
23401 PyObject * obj1 = 0 ;
23402 char *kwnames[] = {
23403 (char *) "self",(char *) "factor", NULL
23404 };
23405
23406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23409 arg2 = (int) SWIG_AsInt(obj1);
23410 if (PyErr_Occurred()) SWIG_fail;
23411 {
23412 PyThreadState* __tstate = wxPyBeginAllowThreads();
23413 {
23414 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23415 result = (wxDateSpan *) &_result_ref;
23416 }
23417
23418 wxPyEndAllowThreads(__tstate);
23419 if (PyErr_Occurred()) SWIG_fail;
23420 }
23421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23422 return resultobj;
23423 fail:
23424 return NULL;
23425}
23426
23427
23428static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
23429 PyObject *resultobj;
23430 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23431 wxDateSpan *arg2 = 0 ;
23432 wxDateSpan *result;
23433 PyObject * obj0 = 0 ;
23434 PyObject * obj1 = 0 ;
23435 char *kwnames[] = {
23436 (char *) "self",(char *) "other", NULL
23437 };
23438
23439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23442 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23443 SWIG_POINTER_EXCEPTION | 0)) == -1)
23444 SWIG_fail;
23445 if (arg2 == NULL) {
23446 PyErr_SetString(PyExc_TypeError,"null reference");
23447 SWIG_fail;
23448 }
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 {
23452 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23453 result = (wxDateSpan *) &_result_ref;
23454 }
23455
23456 wxPyEndAllowThreads(__tstate);
23457 if (PyErr_Occurred()) SWIG_fail;
23458 }
23459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23460 return resultobj;
23461 fail:
23462 return NULL;
23463}
23464
23465
23466static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23467 PyObject *resultobj;
23468 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23469 wxDateSpan *arg2 = 0 ;
23470 wxDateSpan *result;
23471 PyObject * obj0 = 0 ;
23472 PyObject * obj1 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self",(char *) "other", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23481 SWIG_POINTER_EXCEPTION | 0)) == -1)
23482 SWIG_fail;
23483 if (arg2 == NULL) {
23484 PyErr_SetString(PyExc_TypeError,"null reference");
23485 SWIG_fail;
23486 }
23487 {
23488 PyThreadState* __tstate = wxPyBeginAllowThreads();
23489 {
23490 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23491 result = (wxDateSpan *) &_result_ref;
23492 }
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
23497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23498 return resultobj;
23499 fail:
23500 return NULL;
23501}
23502
23503
23504static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
23505 PyObject *resultobj;
23506 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23507 wxDateSpan *result;
23508 PyObject * obj0 = 0 ;
23509 char *kwnames[] = {
23510 (char *) "self", NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23516 {
23517 PyThreadState* __tstate = wxPyBeginAllowThreads();
23518 {
23519 wxDateSpan &_result_ref = (arg1)->operator -();
23520 result = (wxDateSpan *) &_result_ref;
23521 }
23522
23523 wxPyEndAllowThreads(__tstate);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 }
23526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23527 return resultobj;
23528 fail:
23529 return NULL;
23530}
23531
23532
23533static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23534 PyObject *resultobj;
23535 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23536 int arg2 ;
23537 wxDateSpan *result;
23538 PyObject * obj0 = 0 ;
23539 PyObject * obj1 = 0 ;
23540 char *kwnames[] = {
23541 (char *) "self",(char *) "factor", NULL
23542 };
23543
23544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23547 arg2 = (int) SWIG_AsInt(obj1);
23548 if (PyErr_Occurred()) SWIG_fail;
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 {
23552 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23553 result = (wxDateSpan *) &_result_ref;
23554 }
23555
23556 wxPyEndAllowThreads(__tstate);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 }
23559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23560 return resultobj;
23561 fail:
23562 return NULL;
23563}
23564
23565
23566static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23567 PyObject *resultobj;
23568 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23569 wxDateSpan *arg2 = 0 ;
23570 wxDateSpan result;
23571 PyObject * obj0 = 0 ;
23572 PyObject * obj1 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self",(char *) "other", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1)
23582 SWIG_fail;
23583 if (arg2 == NULL) {
23584 PyErr_SetString(PyExc_TypeError,"null reference");
23585 SWIG_fail;
23586 }
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 {
23595 wxDateSpan * resultptr;
23596 resultptr = new wxDateSpan((wxDateSpan &) result);
23597 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23598 }
23599 return resultobj;
23600 fail:
23601 return NULL;
23602}
23603
23604
23605static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23606 PyObject *resultobj;
23607 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23608 wxDateSpan *arg2 = 0 ;
23609 wxDateSpan result;
23610 PyObject * obj0 = 0 ;
23611 PyObject * obj1 = 0 ;
23612 char *kwnames[] = {
23613 (char *) "self",(char *) "other", NULL
23614 };
23615
23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23620 SWIG_POINTER_EXCEPTION | 0)) == -1)
23621 SWIG_fail;
23622 if (arg2 == NULL) {
23623 PyErr_SetString(PyExc_TypeError,"null reference");
23624 SWIG_fail;
23625 }
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 {
23634 wxDateSpan * resultptr;
23635 resultptr = new wxDateSpan((wxDateSpan &) result);
23636 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23637 }
23638 return resultobj;
23639 fail:
23640 return NULL;
23641}
23642
23643
23644static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23645 PyObject *resultobj;
23646 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23647 int arg2 ;
23648 wxDateSpan result;
23649 PyObject * obj0 = 0 ;
23650 PyObject * obj1 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self",(char *) "n", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23658 arg2 = (int) SWIG_AsInt(obj1);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 {
23661 PyThreadState* __tstate = wxPyBeginAllowThreads();
23662 result = wxDateSpan___mul__(arg1,arg2);
23663
23664 wxPyEndAllowThreads(__tstate);
23665 if (PyErr_Occurred()) SWIG_fail;
23666 }
23667 {
23668 wxDateSpan * resultptr;
23669 resultptr = new wxDateSpan((wxDateSpan &) result);
23670 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23671 }
23672 return resultobj;
23673 fail:
23674 return NULL;
23675}
23676
23677
23678static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23679 PyObject *resultobj;
23680 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23681 int arg2 ;
23682 wxDateSpan result;
23683 PyObject * obj0 = 0 ;
23684 PyObject * obj1 = 0 ;
23685 char *kwnames[] = {
23686 (char *) "self",(char *) "n", NULL
23687 };
23688
23689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23692 arg2 = (int) SWIG_AsInt(obj1);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 {
23695 PyThreadState* __tstate = wxPyBeginAllowThreads();
23696 result = wxDateSpan___rmul__(arg1,arg2);
23697
23698 wxPyEndAllowThreads(__tstate);
23699 if (PyErr_Occurred()) SWIG_fail;
23700 }
23701 {
23702 wxDateSpan * resultptr;
23703 resultptr = new wxDateSpan((wxDateSpan &) result);
23704 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23705 }
23706 return resultobj;
23707 fail:
23708 return NULL;
23709}
23710
23711
23712static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23713 PyObject *resultobj;
23714 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23715 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23716 bool result;
23717 PyObject * obj0 = 0 ;
23718 PyObject * obj1 = 0 ;
23719 char *kwnames[] = {
23720 (char *) "self",(char *) "other", NULL
23721 };
23722
23723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23728 {
23729 PyThreadState* __tstate = wxPyBeginAllowThreads();
23730 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
23731
23732 wxPyEndAllowThreads(__tstate);
23733 if (PyErr_Occurred()) SWIG_fail;
23734 }
23735 {
23736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23737 }
23738 return resultobj;
23739 fail:
23740 return NULL;
23741}
23742
23743
23744static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23745 PyObject *resultobj;
23746 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23747 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23748 bool result;
23749 PyObject * obj0 = 0 ;
23750 PyObject * obj1 = 0 ;
23751 char *kwnames[] = {
23752 (char *) "self",(char *) "other", NULL
23753 };
23754
23755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23760 {
23761 PyThreadState* __tstate = wxPyBeginAllowThreads();
23762 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
23763
23764 wxPyEndAllowThreads(__tstate);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 {
23768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23769 }
23770 return resultobj;
23771 fail:
23772 return NULL;
23773}
23774
23775
23776static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23777 PyObject *obj;
23778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23779 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23780 Py_INCREF(obj);
23781 return Py_BuildValue((char *)"");
23782}
23783static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23784 PyObject *resultobj;
23785 long result;
23786 char *kwnames[] = {
23787 NULL
23788 };
23789
23790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = (long)wxGetLocalTime();
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 resultobj = SWIG_FromLong((long)result);
23799 return resultobj;
23800 fail:
23801 return NULL;
23802}
23803
23804
23805static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23806 PyObject *resultobj;
23807 long result;
23808 char *kwnames[] = {
23809 NULL
23810 };
23811
23812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 result = (long)wxGetUTCTime();
23816
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 resultobj = SWIG_FromLong((long)result);
23821 return resultobj;
23822 fail:
23823 return NULL;
23824}
23825
23826
23827static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23828 PyObject *resultobj;
23829 long result;
23830 char *kwnames[] = {
23831 NULL
23832 };
23833
23834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23835 {
23836 PyThreadState* __tstate = wxPyBeginAllowThreads();
23837 result = (long)wxGetCurrentTime();
23838
23839 wxPyEndAllowThreads(__tstate);
23840 if (PyErr_Occurred()) SWIG_fail;
23841 }
23842 resultobj = SWIG_FromLong((long)result);
23843 return resultobj;
23844 fail:
23845 return NULL;
23846}
23847
23848
23849static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23850 PyObject *resultobj;
23851 wxLongLong result;
23852 char *kwnames[] = {
23853 NULL
23854 };
23855
23856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23857 {
23858 PyThreadState* __tstate = wxPyBeginAllowThreads();
23859 result = wxGetLocalTimeMillis();
23860
23861 wxPyEndAllowThreads(__tstate);
23862 if (PyErr_Occurred()) SWIG_fail;
23863 }
23864 {
23865 PyObject *hi, *lo, *shifter, *shifted;
23866 hi = PyLong_FromLong( (&result)->GetHi() );
23867 lo = PyLong_FromLong( (&result)->GetLo() );
23868 shifter = PyLong_FromLong(32);
23869 shifted = PyNumber_Lshift(hi, shifter);
23870 resultobj = PyNumber_Or(shifted, lo);
23871 Py_DECREF(hi);
23872 Py_DECREF(lo);
23873 Py_DECREF(shifter);
23874 Py_DECREF(shifted);
23875 }
23876 return resultobj;
23877 fail:
23878 return NULL;
23879}
23880
23881
23882static int _wrap_DefaultDateTime_set(PyObject *_val) {
23883 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23884 return 1;
23885}
23886
23887
23888static PyObject *_wrap_DefaultDateTime_get() {
23889 PyObject *pyobj;
23890
23891 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
23892 return pyobj;
23893}
23894
23895
23896static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23897 PyObject *resultobj;
23898 int arg1 ;
23899 wxDataFormat *result;
23900 PyObject * obj0 = 0 ;
23901 char *kwnames[] = {
23902 (char *) "type", NULL
23903 };
23904
23905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23906 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 {
23909 PyThreadState* __tstate = wxPyBeginAllowThreads();
23910 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23911
23912 wxPyEndAllowThreads(__tstate);
23913 if (PyErr_Occurred()) SWIG_fail;
23914 }
23915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23916 return resultobj;
23917 fail:
23918 return NULL;
23919}
23920
23921
23922static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23923 PyObject *resultobj;
23924 wxString *arg1 = 0 ;
23925 wxDataFormat *result;
23926 bool temp1 = False ;
23927 PyObject * obj0 = 0 ;
23928 char *kwnames[] = {
23929 (char *) "format", NULL
23930 };
23931
23932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23933 {
23934 arg1 = wxString_in_helper(obj0);
23935 if (arg1 == NULL) SWIG_fail;
23936 temp1 = True;
23937 }
23938 {
23939 PyThreadState* __tstate = wxPyBeginAllowThreads();
23940 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23941
23942 wxPyEndAllowThreads(__tstate);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 }
23945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23946 {
23947 if (temp1)
23948 delete arg1;
23949 }
23950 return resultobj;
23951 fail:
23952 {
23953 if (temp1)
23954 delete arg1;
23955 }
23956 return NULL;
23957}
23958
23959
23960static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23961 PyObject *resultobj;
23962 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23963 PyObject * obj0 = 0 ;
23964 char *kwnames[] = {
23965 (char *) "self", NULL
23966 };
23967
23968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23971 {
23972 PyThreadState* __tstate = wxPyBeginAllowThreads();
23973 delete arg1;
23974
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 Py_INCREF(Py_None); resultobj = Py_None;
23979 return resultobj;
23980 fail:
23981 return NULL;
23982}
23983
23984
23985static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
23986 PyObject *resultobj;
23987 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23988 int arg2 ;
23989 bool result;
23990 PyObject * obj0 = 0 ;
23991 PyObject * obj1 = 0 ;
23992
23993 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23996 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 {
23999 PyThreadState* __tstate = wxPyBeginAllowThreads();
24000 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
24001
24002 wxPyEndAllowThreads(__tstate);
24003 if (PyErr_Occurred()) SWIG_fail;
24004 }
24005 {
24006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24007 }
24008 return resultobj;
24009 fail:
24010 return NULL;
24011}
24012
24013
24014static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
24015 PyObject *resultobj;
24016 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24017 int arg2 ;
24018 bool result;
24019 PyObject * obj0 = 0 ;
24020 PyObject * obj1 = 0 ;
24021
24022 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24025 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 {
24028 PyThreadState* __tstate = wxPyBeginAllowThreads();
24029 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
24030
24031 wxPyEndAllowThreads(__tstate);
24032 if (PyErr_Occurred()) SWIG_fail;
24033 }
24034 {
24035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24036 }
24037 return resultobj;
24038 fail:
24039 return NULL;
24040}
24041
24042
24043static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
24044 PyObject *resultobj;
24045 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24046 wxDataFormat *arg2 = 0 ;
24047 bool result;
24048 PyObject * obj0 = 0 ;
24049 PyObject * obj1 = 0 ;
24050
24051 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24055 SWIG_POINTER_EXCEPTION | 0)) == -1)
24056 SWIG_fail;
24057 if (arg2 == NULL) {
24058 PyErr_SetString(PyExc_TypeError,"null reference");
24059 SWIG_fail;
24060 }
24061 {
24062 PyThreadState* __tstate = wxPyBeginAllowThreads();
24063 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
24064
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 {
24069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24070 }
24071 return resultobj;
24072 fail:
24073 return NULL;
24074}
24075
24076
24077static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
24078 int argc;
24079 PyObject *argv[3];
24080 int ii;
24081
24082 argc = PyObject_Length(args);
24083 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24084 argv[ii] = PyTuple_GetItem(args,ii);
24085 }
24086 if (argc == 2) {
24087 int _v;
24088 {
24089 void *ptr;
24090 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24091 _v = 0;
24092 PyErr_Clear();
24093 } else {
24094 _v = 1;
24095 }
24096 }
24097 if (_v) {
24098 {
24099 void *ptr;
24100 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24101 _v = 0;
24102 PyErr_Clear();
24103 } else {
24104 _v = 1;
24105 }
24106 }
24107 if (_v) {
24108 return _wrap_DataFormat___eq____SWIG_1(self,args);
24109 }
24110 }
24111 }
24112 if (argc == 2) {
24113 int _v;
24114 {
24115 void *ptr;
24116 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24117 _v = 0;
24118 PyErr_Clear();
24119 } else {
24120 _v = 1;
24121 }
24122 }
24123 if (_v) {
24124 _v = SWIG_CheckInt(argv[1]);
24125 if (_v) {
24126 return _wrap_DataFormat___eq____SWIG_0(self,args);
24127 }
24128 }
24129 }
24130
24131 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24132 return NULL;
24133}
24134
24135
24136static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
24137 PyObject *resultobj;
24138 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24139 wxDataFormat *arg2 = 0 ;
24140 bool result;
24141 PyObject * obj0 = 0 ;
24142 PyObject * obj1 = 0 ;
24143
24144 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24147 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24148 SWIG_POINTER_EXCEPTION | 0)) == -1)
24149 SWIG_fail;
24150 if (arg2 == NULL) {
24151 PyErr_SetString(PyExc_TypeError,"null reference");
24152 SWIG_fail;
24153 }
24154 {
24155 PyThreadState* __tstate = wxPyBeginAllowThreads();
24156 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24157
24158 wxPyEndAllowThreads(__tstate);
24159 if (PyErr_Occurred()) SWIG_fail;
24160 }
24161 {
24162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24163 }
24164 return resultobj;
24165 fail:
24166 return NULL;
24167}
24168
24169
24170static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24171 int argc;
24172 PyObject *argv[3];
24173 int ii;
24174
24175 argc = PyObject_Length(args);
24176 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24177 argv[ii] = PyTuple_GetItem(args,ii);
24178 }
24179 if (argc == 2) {
24180 int _v;
24181 {
24182 void *ptr;
24183 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24184 _v = 0;
24185 PyErr_Clear();
24186 } else {
24187 _v = 1;
24188 }
24189 }
24190 if (_v) {
24191 {
24192 void *ptr;
24193 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24194 _v = 0;
24195 PyErr_Clear();
24196 } else {
24197 _v = 1;
24198 }
24199 }
24200 if (_v) {
24201 return _wrap_DataFormat___ne____SWIG_1(self,args);
24202 }
24203 }
24204 }
24205 if (argc == 2) {
24206 int _v;
24207 {
24208 void *ptr;
24209 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24210 _v = 0;
24211 PyErr_Clear();
24212 } else {
24213 _v = 1;
24214 }
24215 }
24216 if (_v) {
24217 _v = SWIG_CheckInt(argv[1]);
24218 if (_v) {
24219 return _wrap_DataFormat___ne____SWIG_0(self,args);
24220 }
24221 }
24222 }
24223
24224 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24225 return NULL;
24226}
24227
24228
24229static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24230 PyObject *resultobj;
24231 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24232 int arg2 ;
24233 PyObject * obj0 = 0 ;
24234 PyObject * obj1 = 0 ;
24235 char *kwnames[] = {
24236 (char *) "self",(char *) "format", NULL
24237 };
24238
24239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24242 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24243 if (PyErr_Occurred()) SWIG_fail;
24244 {
24245 PyThreadState* __tstate = wxPyBeginAllowThreads();
24246 (arg1)->SetType((wxDataFormatId )arg2);
24247
24248 wxPyEndAllowThreads(__tstate);
24249 if (PyErr_Occurred()) SWIG_fail;
24250 }
24251 Py_INCREF(Py_None); resultobj = Py_None;
24252 return resultobj;
24253 fail:
24254 return NULL;
24255}
24256
24257
24258static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24259 PyObject *resultobj;
24260 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24261 int result;
24262 PyObject * obj0 = 0 ;
24263 char *kwnames[] = {
24264 (char *) "self", NULL
24265 };
24266
24267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24270 {
24271 PyThreadState* __tstate = wxPyBeginAllowThreads();
24272 result = (int)((wxDataFormat const *)arg1)->GetType();
24273
24274 wxPyEndAllowThreads(__tstate);
24275 if (PyErr_Occurred()) SWIG_fail;
24276 }
24277 resultobj = SWIG_FromInt((int)result);
24278 return resultobj;
24279 fail:
24280 return NULL;
24281}
24282
24283
24284static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24285 PyObject *resultobj;
24286 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24287 wxString result;
24288 PyObject * obj0 = 0 ;
24289 char *kwnames[] = {
24290 (char *) "self", NULL
24291 };
24292
24293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 result = ((wxDataFormat const *)arg1)->GetId();
24299
24300 wxPyEndAllowThreads(__tstate);
24301 if (PyErr_Occurred()) SWIG_fail;
24302 }
24303 {
24304#if wxUSE_UNICODE
24305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24306#else
24307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24308#endif
24309 }
24310 return resultobj;
24311 fail:
24312 return NULL;
24313}
24314
24315
24316static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24317 PyObject *resultobj;
24318 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24319 wxString *arg2 = 0 ;
24320 bool temp2 = False ;
24321 PyObject * obj0 = 0 ;
24322 PyObject * obj1 = 0 ;
24323 char *kwnames[] = {
24324 (char *) "self",(char *) "format", NULL
24325 };
24326
24327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24330 {
24331 arg2 = wxString_in_helper(obj1);
24332 if (arg2 == NULL) SWIG_fail;
24333 temp2 = True;
24334 }
24335 {
24336 PyThreadState* __tstate = wxPyBeginAllowThreads();
24337 (arg1)->SetId((wxString const &)*arg2);
24338
24339 wxPyEndAllowThreads(__tstate);
24340 if (PyErr_Occurred()) SWIG_fail;
24341 }
24342 Py_INCREF(Py_None); resultobj = Py_None;
24343 {
24344 if (temp2)
24345 delete arg2;
24346 }
24347 return resultobj;
24348 fail:
24349 {
24350 if (temp2)
24351 delete arg2;
24352 }
24353 return NULL;
24354}
24355
24356
24357static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
24358 PyObject *obj;
24359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24360 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24361 Py_INCREF(obj);
24362 return Py_BuildValue((char *)"");
24363}
24364static int _wrap_FormatInvalid_set(PyObject *_val) {
24365 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24366 return 1;
24367}
24368
24369
24370static PyObject *_wrap_FormatInvalid_get() {
24371 PyObject *pyobj;
24372
24373 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24374 return pyobj;
24375}
24376
24377
24378static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24379 PyObject *resultobj;
24380 wxDataObject *arg1 = (wxDataObject *) 0 ;
24381 PyObject * obj0 = 0 ;
24382 char *kwnames[] = {
24383 (char *) "self", NULL
24384 };
24385
24386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 delete arg1;
24392
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 Py_INCREF(Py_None); resultobj = Py_None;
24397 return resultobj;
24398 fail:
24399 return NULL;
24400}
24401
24402
24403static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24404 PyObject *resultobj;
24405 wxDataObject *arg1 = (wxDataObject *) 0 ;
24406 int arg2 = (int) wxDataObject::Get ;
24407 SwigValueWrapper< wxDataFormat > result;
24408 PyObject * obj0 = 0 ;
24409 PyObject * obj1 = 0 ;
24410 char *kwnames[] = {
24411 (char *) "self",(char *) "dir", NULL
24412 };
24413
24414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24417 if (obj1) {
24418 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
24421 {
24422 PyThreadState* __tstate = wxPyBeginAllowThreads();
24423 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24424
24425 wxPyEndAllowThreads(__tstate);
24426 if (PyErr_Occurred()) SWIG_fail;
24427 }
24428 {
24429 wxDataFormat * resultptr;
24430 resultptr = new wxDataFormat((wxDataFormat &) result);
24431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24432 }
24433 return resultobj;
24434 fail:
24435 return NULL;
24436}
24437
24438
24439static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24440 PyObject *resultobj;
24441 wxDataObject *arg1 = (wxDataObject *) 0 ;
24442 int arg2 = (int) wxDataObject::Get ;
24443 size_t result;
24444 PyObject * obj0 = 0 ;
24445 PyObject * obj1 = 0 ;
24446 char *kwnames[] = {
24447 (char *) "self",(char *) "dir", NULL
24448 };
24449
24450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24453 if (obj1) {
24454 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24455 if (PyErr_Occurred()) SWIG_fail;
24456 }
24457 {
24458 PyThreadState* __tstate = wxPyBeginAllowThreads();
24459 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24460
24461 wxPyEndAllowThreads(__tstate);
24462 if (PyErr_Occurred()) SWIG_fail;
24463 }
24464 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24465 return resultobj;
24466 fail:
24467 return NULL;
24468}
24469
24470
24471static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24472 PyObject *resultobj;
24473 wxDataObject *arg1 = (wxDataObject *) 0 ;
24474 wxDataFormat *arg2 = 0 ;
24475 int arg3 = (int) wxDataObject::Get ;
24476 bool result;
24477 PyObject * obj0 = 0 ;
24478 PyObject * obj1 = 0 ;
24479 PyObject * obj2 = 0 ;
24480 char *kwnames[] = {
24481 (char *) "self",(char *) "format",(char *) "dir", NULL
24482 };
24483
24484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24488 SWIG_POINTER_EXCEPTION | 0)) == -1)
24489 SWIG_fail;
24490 if (arg2 == NULL) {
24491 PyErr_SetString(PyExc_TypeError,"null reference");
24492 SWIG_fail;
24493 }
24494 if (obj2) {
24495 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24496 if (PyErr_Occurred()) SWIG_fail;
24497 }
24498 {
24499 PyThreadState* __tstate = wxPyBeginAllowThreads();
24500 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24501
24502 wxPyEndAllowThreads(__tstate);
24503 if (PyErr_Occurred()) SWIG_fail;
24504 }
24505 {
24506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24507 }
24508 return resultobj;
24509 fail:
24510 return NULL;
24511}
24512
24513
24514static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24515 PyObject *resultobj;
24516 wxDataObject *arg1 = (wxDataObject *) 0 ;
24517 wxDataFormat *arg2 = 0 ;
24518 size_t result;
24519 PyObject * obj0 = 0 ;
24520 PyObject * obj1 = 0 ;
24521 char *kwnames[] = {
24522 (char *) "self",(char *) "format", NULL
24523 };
24524
24525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24529 SWIG_POINTER_EXCEPTION | 0)) == -1)
24530 SWIG_fail;
24531 if (arg2 == NULL) {
24532 PyErr_SetString(PyExc_TypeError,"null reference");
24533 SWIG_fail;
24534 }
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24538
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
24542 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24543 return resultobj;
24544 fail:
24545 return NULL;
24546}
24547
24548
24549static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24550 PyObject *resultobj;
24551 wxDataObject *arg1 = (wxDataObject *) 0 ;
a07a67e6
RD
24552 int arg2 = (int) wxDataObject::Get ;
24553 PyObject *result;
d55e5bfc
RD
24554 PyObject * obj0 = 0 ;
24555 PyObject * obj1 = 0 ;
d55e5bfc 24556 char *kwnames[] = {
a07a67e6 24557 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
24558 };
24559
a07a67e6 24560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
24561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a07a67e6
RD
24563 if (obj1) {
24564 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
d55e5bfc
RD
24565 if (PyErr_Occurred()) SWIG_fail;
24566 }
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 24569 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
d55e5bfc
RD
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
a07a67e6 24574 resultobj = result;
d55e5bfc
RD
24575 return resultobj;
24576 fail:
24577 return NULL;
24578}
24579
24580
24581static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxDataObject *arg1 = (wxDataObject *) 0 ;
24584 wxDataFormat *arg2 = 0 ;
a07a67e6 24585 PyObject *result;
d55e5bfc
RD
24586 PyObject * obj0 = 0 ;
24587 PyObject * obj1 = 0 ;
d55e5bfc 24588 char *kwnames[] = {
a07a67e6 24589 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
24590 };
24591
a07a67e6 24592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
24593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24596 SWIG_POINTER_EXCEPTION | 0)) == -1)
24597 SWIG_fail;
24598 if (arg2 == NULL) {
24599 PyErr_SetString(PyExc_TypeError,"null reference");
24600 SWIG_fail;
24601 }
d55e5bfc
RD
24602 {
24603 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 24604 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
24605
24606 wxPyEndAllowThreads(__tstate);
24607 if (PyErr_Occurred()) SWIG_fail;
24608 }
a07a67e6 24609 resultobj = result;
d55e5bfc
RD
24610 return resultobj;
24611 fail:
24612 return NULL;
24613}
24614
24615
24616static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24617 PyObject *resultobj;
24618 wxDataObject *arg1 = (wxDataObject *) 0 ;
24619 wxDataFormat *arg2 = 0 ;
a07a67e6 24620 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
24621 bool result;
24622 PyObject * obj0 = 0 ;
24623 PyObject * obj1 = 0 ;
24624 PyObject * obj2 = 0 ;
d55e5bfc 24625 char *kwnames[] = {
a07a67e6 24626 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
24627 };
24628
a07a67e6 24629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
24630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24633 SWIG_POINTER_EXCEPTION | 0)) == -1)
24634 SWIG_fail;
24635 if (arg2 == NULL) {
24636 PyErr_SetString(PyExc_TypeError,"null reference");
24637 SWIG_fail;
24638 }
a07a67e6 24639 arg3 = obj2;
d55e5bfc
RD
24640 {
24641 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 24642 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
24643
24644 wxPyEndAllowThreads(__tstate);
24645 if (PyErr_Occurred()) SWIG_fail;
24646 }
24647 {
24648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24649 }
24650 return resultobj;
24651 fail:
24652 return NULL;
24653}
24654
24655
24656static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24657 PyObject *obj;
24658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24659 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24660 Py_INCREF(obj);
24661 return Py_BuildValue((char *)"");
24662}
24663static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24664 PyObject *resultobj;
24665 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24666 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24667 wxDataObjectSimple *result;
24668 PyObject * obj0 = 0 ;
24669 char *kwnames[] = {
24670 (char *) "format", NULL
24671 };
24672
24673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24674 if (obj0) {
24675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24676 SWIG_POINTER_EXCEPTION | 0)) == -1)
24677 SWIG_fail;
24678 if (arg1 == NULL) {
24679 PyErr_SetString(PyExc_TypeError,"null reference");
24680 SWIG_fail;
24681 }
24682 }
24683 {
24684 PyThreadState* __tstate = wxPyBeginAllowThreads();
24685 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24686
24687 wxPyEndAllowThreads(__tstate);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
24690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
24691 return resultobj;
24692 fail:
24693 return NULL;
24694}
24695
24696
24697static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24698 PyObject *resultobj;
24699 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24700 wxDataFormat *result;
24701 PyObject * obj0 = 0 ;
24702 char *kwnames[] = {
24703 (char *) "self", NULL
24704 };
24705
24706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24709 {
24710 PyThreadState* __tstate = wxPyBeginAllowThreads();
24711 {
24712 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24713 result = (wxDataFormat *) &_result_ref;
24714 }
24715
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
24720 return resultobj;
24721 fail:
24722 return NULL;
24723}
24724
24725
24726static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24727 PyObject *resultobj;
24728 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24729 wxDataFormat *arg2 = 0 ;
24730 PyObject * obj0 = 0 ;
24731 PyObject * obj1 = 0 ;
24732 char *kwnames[] = {
24733 (char *) "self",(char *) "format", NULL
24734 };
24735
24736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24740 SWIG_POINTER_EXCEPTION | 0)) == -1)
24741 SWIG_fail;
24742 if (arg2 == NULL) {
24743 PyErr_SetString(PyExc_TypeError,"null reference");
24744 SWIG_fail;
24745 }
24746 {
24747 PyThreadState* __tstate = wxPyBeginAllowThreads();
24748 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24749
24750 wxPyEndAllowThreads(__tstate);
24751 if (PyErr_Occurred()) SWIG_fail;
24752 }
24753 Py_INCREF(Py_None); resultobj = Py_None;
24754 return resultobj;
24755 fail:
24756 return NULL;
24757}
24758
24759
a07a67e6
RD
24760static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24761 PyObject *resultobj;
24762 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24763 size_t result;
24764 PyObject * obj0 = 0 ;
24765 char *kwnames[] = {
24766 (char *) "self", NULL
24767 };
24768
24769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
24770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24772 {
24773 PyThreadState* __tstate = wxPyBeginAllowThreads();
24774 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
24775
24776 wxPyEndAllowThreads(__tstate);
24777 if (PyErr_Occurred()) SWIG_fail;
24778 }
24779 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24780 return resultobj;
24781 fail:
24782 return NULL;
24783}
24784
24785
24786static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24787 PyObject *resultobj;
24788 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24789 PyObject *result;
24790 PyObject * obj0 = 0 ;
24791 char *kwnames[] = {
24792 (char *) "self", NULL
24793 };
24794
24795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
24796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24798 {
24799 PyThreadState* __tstate = wxPyBeginAllowThreads();
24800 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
24801
24802 wxPyEndAllowThreads(__tstate);
24803 if (PyErr_Occurred()) SWIG_fail;
24804 }
24805 resultobj = result;
24806 return resultobj;
24807 fail:
24808 return NULL;
24809}
24810
24811
24812static PyObject *_wrap_DataObjectSimple_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24813 PyObject *resultobj;
24814 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24815 PyObject *arg2 = (PyObject *) 0 ;
24816 bool result;
24817 PyObject * obj0 = 0 ;
24818 PyObject * obj1 = 0 ;
24819 char *kwnames[] = {
24820 (char *) "self",(char *) "data", NULL
24821 };
24822
24823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
24824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24826 arg2 = obj1;
24827 {
24828 PyThreadState* __tstate = wxPyBeginAllowThreads();
24829 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
24830
24831 wxPyEndAllowThreads(__tstate);
24832 if (PyErr_Occurred()) SWIG_fail;
24833 }
24834 {
24835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24836 }
24837 return resultobj;
24838 fail:
24839 return NULL;
24840}
24841
24842
d55e5bfc
RD
24843static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24844 PyObject *obj;
24845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24846 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24847 Py_INCREF(obj);
24848 return Py_BuildValue((char *)"");
24849}
24850static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24851 PyObject *resultobj;
24852 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24853 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24854 wxPyDataObjectSimple *result;
24855 PyObject * obj0 = 0 ;
24856 char *kwnames[] = {
24857 (char *) "format", NULL
24858 };
24859
24860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24861 if (obj0) {
24862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24863 SWIG_POINTER_EXCEPTION | 0)) == -1)
24864 SWIG_fail;
24865 if (arg1 == NULL) {
24866 PyErr_SetString(PyExc_TypeError,"null reference");
24867 SWIG_fail;
24868 }
24869 }
24870 {
24871 PyThreadState* __tstate = wxPyBeginAllowThreads();
24872 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24873
24874 wxPyEndAllowThreads(__tstate);
24875 if (PyErr_Occurred()) SWIG_fail;
24876 }
24877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
24878 return resultobj;
24879 fail:
24880 return NULL;
24881}
24882
24883
24884static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24885 PyObject *resultobj;
24886 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24887 PyObject *arg2 = (PyObject *) 0 ;
24888 PyObject *arg3 = (PyObject *) 0 ;
24889 PyObject * obj0 = 0 ;
24890 PyObject * obj1 = 0 ;
24891 PyObject * obj2 = 0 ;
24892 char *kwnames[] = {
24893 (char *) "self",(char *) "self",(char *) "_class", NULL
24894 };
24895
24896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24899 arg2 = obj1;
24900 arg3 = obj2;
24901 {
24902 PyThreadState* __tstate = wxPyBeginAllowThreads();
24903 (arg1)->_setCallbackInfo(arg2,arg3);
24904
24905 wxPyEndAllowThreads(__tstate);
24906 if (PyErr_Occurred()) SWIG_fail;
24907 }
24908 Py_INCREF(Py_None); resultobj = Py_None;
24909 return resultobj;
24910 fail:
24911 return NULL;
24912}
24913
24914
24915static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24916 PyObject *obj;
24917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24918 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24919 Py_INCREF(obj);
24920 return Py_BuildValue((char *)"");
24921}
24922static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24923 PyObject *resultobj;
24924 wxDataObjectComposite *result;
24925 char *kwnames[] = {
24926 NULL
24927 };
24928
24929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24930 {
24931 PyThreadState* __tstate = wxPyBeginAllowThreads();
24932 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24933
24934 wxPyEndAllowThreads(__tstate);
24935 if (PyErr_Occurred()) SWIG_fail;
24936 }
24937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
24938 return resultobj;
24939 fail:
24940 return NULL;
24941}
24942
24943
24944static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24945 PyObject *resultobj;
24946 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24947 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
a07a67e6 24948 bool arg3 = (bool) False ;
d55e5bfc
RD
24949 PyObject * obj0 = 0 ;
24950 PyObject * obj1 = 0 ;
24951 PyObject * obj2 = 0 ;
24952 char *kwnames[] = {
24953 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24954 };
24955
24956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
24957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24960 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24961 if (obj2) {
a07a67e6 24962 arg3 = (bool) SWIG_AsBool(obj2);
d55e5bfc
RD
24963 if (PyErr_Occurred()) SWIG_fail;
24964 }
24965 {
24966 PyThreadState* __tstate = wxPyBeginAllowThreads();
24967 (arg1)->Add(arg2,arg3);
24968
24969 wxPyEndAllowThreads(__tstate);
24970 if (PyErr_Occurred()) SWIG_fail;
24971 }
24972 Py_INCREF(Py_None); resultobj = Py_None;
24973 return resultobj;
24974 fail:
24975 return NULL;
24976}
24977
24978
24979static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
24980 PyObject *obj;
24981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24982 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24983 Py_INCREF(obj);
24984 return Py_BuildValue((char *)"");
24985}
24986static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj;
24988 wxString const &arg1_defvalue = wxPyEmptyString ;
24989 wxString *arg1 = (wxString *) &arg1_defvalue ;
24990 wxTextDataObject *result;
24991 bool temp1 = False ;
24992 PyObject * obj0 = 0 ;
24993 char *kwnames[] = {
24994 (char *) "text", NULL
24995 };
24996
24997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24998 if (obj0) {
24999 {
25000 arg1 = wxString_in_helper(obj0);
25001 if (arg1 == NULL) SWIG_fail;
25002 temp1 = True;
25003 }
25004 }
25005 {
25006 PyThreadState* __tstate = wxPyBeginAllowThreads();
25007 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
25008
25009 wxPyEndAllowThreads(__tstate);
25010 if (PyErr_Occurred()) SWIG_fail;
25011 }
25012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
25013 {
25014 if (temp1)
25015 delete arg1;
25016 }
25017 return resultobj;
25018 fail:
25019 {
25020 if (temp1)
25021 delete arg1;
25022 }
25023 return NULL;
25024}
25025
25026
25027static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
25028 PyObject *resultobj;
25029 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25030 size_t result;
25031 PyObject * obj0 = 0 ;
25032 char *kwnames[] = {
25033 (char *) "self", NULL
25034 };
25035
25036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
25037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25039 {
25040 PyThreadState* __tstate = wxPyBeginAllowThreads();
25041 result = (size_t)(arg1)->GetTextLength();
25042
25043 wxPyEndAllowThreads(__tstate);
25044 if (PyErr_Occurred()) SWIG_fail;
25045 }
25046 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25047 return resultobj;
25048 fail:
25049 return NULL;
25050}
25051
25052
25053static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25054 PyObject *resultobj;
25055 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25056 wxString result;
25057 PyObject * obj0 = 0 ;
25058 char *kwnames[] = {
25059 (char *) "self", NULL
25060 };
25061
25062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
25063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25065 {
25066 PyThreadState* __tstate = wxPyBeginAllowThreads();
25067 result = (arg1)->GetText();
25068
25069 wxPyEndAllowThreads(__tstate);
25070 if (PyErr_Occurred()) SWIG_fail;
25071 }
25072 {
25073#if wxUSE_UNICODE
25074 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25075#else
25076 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25077#endif
25078 }
25079 return resultobj;
25080 fail:
25081 return NULL;
25082}
25083
25084
25085static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25086 PyObject *resultobj;
25087 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25088 wxString *arg2 = 0 ;
25089 bool temp2 = False ;
25090 PyObject * obj0 = 0 ;
25091 PyObject * obj1 = 0 ;
25092 char *kwnames[] = {
25093 (char *) "self",(char *) "text", NULL
25094 };
25095
25096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
25097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25099 {
25100 arg2 = wxString_in_helper(obj1);
25101 if (arg2 == NULL) SWIG_fail;
25102 temp2 = True;
25103 }
25104 {
25105 PyThreadState* __tstate = wxPyBeginAllowThreads();
25106 (arg1)->SetText((wxString const &)*arg2);
25107
25108 wxPyEndAllowThreads(__tstate);
25109 if (PyErr_Occurred()) SWIG_fail;
25110 }
25111 Py_INCREF(Py_None); resultobj = Py_None;
25112 {
25113 if (temp2)
25114 delete arg2;
25115 }
25116 return resultobj;
25117 fail:
25118 {
25119 if (temp2)
25120 delete arg2;
25121 }
25122 return NULL;
25123}
25124
25125
25126static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
25127 PyObject *obj;
25128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25129 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
25130 Py_INCREF(obj);
25131 return Py_BuildValue((char *)"");
25132}
25133static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj;
25135 wxString const &arg1_defvalue = wxPyEmptyString ;
25136 wxString *arg1 = (wxString *) &arg1_defvalue ;
25137 wxPyTextDataObject *result;
25138 bool temp1 = False ;
25139 PyObject * obj0 = 0 ;
25140 char *kwnames[] = {
25141 (char *) "text", NULL
25142 };
25143
25144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
25145 if (obj0) {
25146 {
25147 arg1 = wxString_in_helper(obj0);
25148 if (arg1 == NULL) SWIG_fail;
25149 temp1 = True;
25150 }
25151 }
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
25159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
25160 {
25161 if (temp1)
25162 delete arg1;
25163 }
25164 return resultobj;
25165 fail:
25166 {
25167 if (temp1)
25168 delete arg1;
25169 }
25170 return NULL;
25171}
25172
25173
25174static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25175 PyObject *resultobj;
25176 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
25177 PyObject *arg2 = (PyObject *) 0 ;
25178 PyObject *arg3 = (PyObject *) 0 ;
25179 PyObject * obj0 = 0 ;
25180 PyObject * obj1 = 0 ;
25181 PyObject * obj2 = 0 ;
25182 char *kwnames[] = {
25183 (char *) "self",(char *) "self",(char *) "_class", NULL
25184 };
25185
25186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25189 arg2 = obj1;
25190 arg3 = obj2;
25191 {
25192 PyThreadState* __tstate = wxPyBeginAllowThreads();
25193 (arg1)->_setCallbackInfo(arg2,arg3);
25194
25195 wxPyEndAllowThreads(__tstate);
25196 if (PyErr_Occurred()) SWIG_fail;
25197 }
25198 Py_INCREF(Py_None); resultobj = Py_None;
25199 return resultobj;
25200 fail:
25201 return NULL;
25202}
25203
25204
25205static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
25206 PyObject *obj;
25207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25208 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25209 Py_INCREF(obj);
25210 return Py_BuildValue((char *)"");
25211}
25212static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25213 PyObject *resultobj;
25214 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25215 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25216 wxBitmapDataObject *result;
25217 PyObject * obj0 = 0 ;
25218 char *kwnames[] = {
25219 (char *) "bitmap", NULL
25220 };
25221
25222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25223 if (obj0) {
25224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25225 SWIG_POINTER_EXCEPTION | 0)) == -1)
25226 SWIG_fail;
25227 if (arg1 == NULL) {
25228 PyErr_SetString(PyExc_TypeError,"null reference");
25229 SWIG_fail;
25230 }
25231 }
25232 {
25233 PyThreadState* __tstate = wxPyBeginAllowThreads();
25234 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25235
25236 wxPyEndAllowThreads(__tstate);
25237 if (PyErr_Occurred()) SWIG_fail;
25238 }
25239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25240 return resultobj;
25241 fail:
25242 return NULL;
25243}
25244
25245
25246static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25247 PyObject *resultobj;
25248 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25249 wxBitmap result;
25250 PyObject * obj0 = 0 ;
25251 char *kwnames[] = {
25252 (char *) "self", NULL
25253 };
25254
25255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25258 {
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25261
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 {
25266 wxBitmap * resultptr;
25267 resultptr = new wxBitmap((wxBitmap &) result);
25268 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25269 }
25270 return resultobj;
25271 fail:
25272 return NULL;
25273}
25274
25275
25276static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25277 PyObject *resultobj;
25278 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25279 wxBitmap *arg2 = 0 ;
25280 PyObject * obj0 = 0 ;
25281 PyObject * obj1 = 0 ;
25282 char *kwnames[] = {
25283 (char *) "self",(char *) "bitmap", NULL
25284 };
25285
25286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25290 SWIG_POINTER_EXCEPTION | 0)) == -1)
25291 SWIG_fail;
25292 if (arg2 == NULL) {
25293 PyErr_SetString(PyExc_TypeError,"null reference");
25294 SWIG_fail;
25295 }
25296 {
25297 PyThreadState* __tstate = wxPyBeginAllowThreads();
25298 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25299
25300 wxPyEndAllowThreads(__tstate);
25301 if (PyErr_Occurred()) SWIG_fail;
25302 }
25303 Py_INCREF(Py_None); resultobj = Py_None;
25304 return resultobj;
25305 fail:
25306 return NULL;
25307}
25308
25309
25310static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25311 PyObject *obj;
25312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25313 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25314 Py_INCREF(obj);
25315 return Py_BuildValue((char *)"");
25316}
25317static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25318 PyObject *resultobj;
25319 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25320 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25321 wxPyBitmapDataObject *result;
25322 PyObject * obj0 = 0 ;
25323 char *kwnames[] = {
25324 (char *) "bitmap", NULL
25325 };
25326
25327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25328 if (obj0) {
25329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25330 SWIG_POINTER_EXCEPTION | 0)) == -1)
25331 SWIG_fail;
25332 if (arg1 == NULL) {
25333 PyErr_SetString(PyExc_TypeError,"null reference");
25334 SWIG_fail;
25335 }
25336 }
25337 {
25338 PyThreadState* __tstate = wxPyBeginAllowThreads();
25339 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25340
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25345 return resultobj;
25346 fail:
25347 return NULL;
25348}
25349
25350
25351static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25352 PyObject *resultobj;
25353 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25354 PyObject *arg2 = (PyObject *) 0 ;
25355 PyObject *arg3 = (PyObject *) 0 ;
25356 PyObject * obj0 = 0 ;
25357 PyObject * obj1 = 0 ;
25358 PyObject * obj2 = 0 ;
25359 char *kwnames[] = {
25360 (char *) "self",(char *) "self",(char *) "_class", NULL
25361 };
25362
25363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25366 arg2 = obj1;
25367 arg3 = obj2;
25368 {
25369 PyThreadState* __tstate = wxPyBeginAllowThreads();
25370 (arg1)->_setCallbackInfo(arg2,arg3);
25371
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 Py_INCREF(Py_None); resultobj = Py_None;
25376 return resultobj;
25377 fail:
25378 return NULL;
25379}
25380
25381
25382static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25383 PyObject *obj;
25384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25385 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25386 Py_INCREF(obj);
25387 return Py_BuildValue((char *)"");
25388}
25389static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25390 PyObject *resultobj;
25391 wxFileDataObject *result;
25392 char *kwnames[] = {
25393 NULL
25394 };
25395
25396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25397 {
25398 PyThreadState* __tstate = wxPyBeginAllowThreads();
25399 result = (wxFileDataObject *)new wxFileDataObject();
25400
25401 wxPyEndAllowThreads(__tstate);
25402 if (PyErr_Occurred()) SWIG_fail;
25403 }
25404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25405 return resultobj;
25406 fail:
25407 return NULL;
25408}
25409
25410
25411static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
25412 PyObject *resultobj;
25413 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25414 wxArrayString *result;
25415 PyObject * obj0 = 0 ;
25416 char *kwnames[] = {
25417 (char *) "self", NULL
25418 };
25419
25420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25423 {
25424 PyThreadState* __tstate = wxPyBeginAllowThreads();
25425 {
25426 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25427 result = (wxArrayString *) &_result_ref;
25428 }
25429
25430 wxPyEndAllowThreads(__tstate);
25431 if (PyErr_Occurred()) SWIG_fail;
25432 }
25433 {
25434 resultobj = wxArrayString2PyList_helper(*result);
25435 }
25436 return resultobj;
25437 fail:
25438 return NULL;
25439}
25440
25441
25442static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25443 PyObject *resultobj;
25444 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25445 wxString *arg2 = 0 ;
25446 bool temp2 = False ;
25447 PyObject * obj0 = 0 ;
25448 PyObject * obj1 = 0 ;
25449 char *kwnames[] = {
25450 (char *) "self",(char *) "filename", NULL
25451 };
25452
25453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25456 {
25457 arg2 = wxString_in_helper(obj1);
25458 if (arg2 == NULL) SWIG_fail;
25459 temp2 = True;
25460 }
25461 {
25462 PyThreadState* __tstate = wxPyBeginAllowThreads();
25463 (arg1)->AddFile((wxString const &)*arg2);
25464
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 Py_INCREF(Py_None); resultobj = Py_None;
25469 {
25470 if (temp2)
25471 delete arg2;
25472 }
25473 return resultobj;
25474 fail:
25475 {
25476 if (temp2)
25477 delete arg2;
25478 }
25479 return NULL;
25480}
25481
25482
25483static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
25484 PyObject *obj;
25485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25486 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25487 Py_INCREF(obj);
25488 return Py_BuildValue((char *)"");
25489}
25490static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25491 PyObject *resultobj;
25492 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25493 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25494 wxCustomDataObject *result;
25495 PyObject * obj0 = 0 ;
25496 char *kwnames[] = {
25497 (char *) "format", NULL
25498 };
25499
25500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25501 if (obj0) {
25502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25503 SWIG_POINTER_EXCEPTION | 0)) == -1)
25504 SWIG_fail;
25505 if (arg1 == NULL) {
25506 PyErr_SetString(PyExc_TypeError,"null reference");
25507 SWIG_fail;
25508 }
25509 }
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25513
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25518 return resultobj;
25519 fail:
25520 return NULL;
25521}
25522
25523
d55e5bfc
RD
25524static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25525 PyObject *resultobj;
25526 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25527 PyObject *arg2 = (PyObject *) 0 ;
25528 bool result;
25529 PyObject * obj0 = 0 ;
25530 PyObject * obj1 = 0 ;
25531 char *kwnames[] = {
25532 (char *) "self",(char *) "data", NULL
25533 };
25534
25535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25538 arg2 = obj1;
25539 {
25540 PyThreadState* __tstate = wxPyBeginAllowThreads();
25541 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25542
25543 wxPyEndAllowThreads(__tstate);
25544 if (PyErr_Occurred()) SWIG_fail;
25545 }
25546 {
25547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25548 }
25549 return resultobj;
25550 fail:
25551 return NULL;
25552}
25553
25554
25555static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25556 PyObject *resultobj;
25557 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25558 size_t result;
25559 PyObject * obj0 = 0 ;
25560 char *kwnames[] = {
25561 (char *) "self", NULL
25562 };
25563
25564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25567 {
25568 PyThreadState* __tstate = wxPyBeginAllowThreads();
25569 result = (size_t)(arg1)->GetSize();
25570
25571 wxPyEndAllowThreads(__tstate);
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
25574 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25575 return resultobj;
25576 fail:
25577 return NULL;
25578}
25579
25580
25581static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25582 PyObject *resultobj;
25583 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25584 PyObject *result;
25585 PyObject * obj0 = 0 ;
25586 char *kwnames[] = {
25587 (char *) "self", NULL
25588 };
25589
25590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25593 {
25594 PyThreadState* __tstate = wxPyBeginAllowThreads();
25595 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25596
25597 wxPyEndAllowThreads(__tstate);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
25600 resultobj = result;
25601 return resultobj;
25602 fail:
25603 return NULL;
25604}
25605
25606
25607static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
25608 PyObject *obj;
25609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25610 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25611 Py_INCREF(obj);
25612 return Py_BuildValue((char *)"");
25613}
25614static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25615 PyObject *resultobj;
25616 wxURLDataObject *result;
25617 char *kwnames[] = {
25618 NULL
25619 };
25620
25621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25622 {
25623 PyThreadState* __tstate = wxPyBeginAllowThreads();
25624 result = (wxURLDataObject *)new wxURLDataObject();
25625
25626 wxPyEndAllowThreads(__tstate);
25627 if (PyErr_Occurred()) SWIG_fail;
25628 }
25629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25630 return resultobj;
25631 fail:
25632 return NULL;
25633}
25634
25635
25636static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25637 PyObject *resultobj;
25638 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25639 wxString result;
25640 PyObject * obj0 = 0 ;
25641 char *kwnames[] = {
25642 (char *) "self", NULL
25643 };
25644
25645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 result = (arg1)->GetURL();
25651
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
25655 {
25656#if wxUSE_UNICODE
25657 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25658#else
25659 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25660#endif
25661 }
25662 return resultobj;
25663 fail:
25664 return NULL;
25665}
25666
25667
25668static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25669 PyObject *resultobj;
25670 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25671 wxString *arg2 = 0 ;
25672 bool temp2 = False ;
25673 PyObject * obj0 = 0 ;
25674 PyObject * obj1 = 0 ;
25675 char *kwnames[] = {
25676 (char *) "self",(char *) "url", NULL
25677 };
25678
25679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25682 {
25683 arg2 = wxString_in_helper(obj1);
25684 if (arg2 == NULL) SWIG_fail;
25685 temp2 = True;
25686 }
25687 {
25688 PyThreadState* __tstate = wxPyBeginAllowThreads();
25689 (arg1)->SetURL((wxString const &)*arg2);
25690
25691 wxPyEndAllowThreads(__tstate);
25692 if (PyErr_Occurred()) SWIG_fail;
25693 }
25694 Py_INCREF(Py_None); resultobj = Py_None;
25695 {
25696 if (temp2)
25697 delete arg2;
25698 }
25699 return resultobj;
25700 fail:
25701 {
25702 if (temp2)
25703 delete arg2;
25704 }
25705 return NULL;
25706}
25707
25708
25709static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25710 PyObject *obj;
25711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25712 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25713 Py_INCREF(obj);
25714 return Py_BuildValue((char *)"");
25715}
25716static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25717 PyObject *resultobj;
25718 wxMetafileDataObject *result;
25719 char *kwnames[] = {
25720 NULL
25721 };
25722
25723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25724 {
25725 PyThreadState* __tstate = wxPyBeginAllowThreads();
25726 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25727
25728 wxPyEndAllowThreads(__tstate);
25729 if (PyErr_Occurred()) SWIG_fail;
25730 }
25731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
25732 return resultobj;
25733 fail:
25734 return NULL;
25735}
25736
25737
25738static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25739 PyObject *resultobj;
25740 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25741 wxMetafile *arg2 = 0 ;
25742 PyObject * obj0 = 0 ;
25743 PyObject * obj1 = 0 ;
25744 char *kwnames[] = {
25745 (char *) "self",(char *) "metafile", NULL
25746 };
25747
25748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
25749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25751 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25752 SWIG_POINTER_EXCEPTION | 0)) == -1)
25753 SWIG_fail;
25754 if (arg2 == NULL) {
25755 PyErr_SetString(PyExc_TypeError,"null reference");
25756 SWIG_fail;
25757 }
25758 {
25759 PyThreadState* __tstate = wxPyBeginAllowThreads();
25760 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25761
25762 wxPyEndAllowThreads(__tstate);
25763 if (PyErr_Occurred()) SWIG_fail;
25764 }
25765 Py_INCREF(Py_None); resultobj = Py_None;
25766 return resultobj;
25767 fail:
25768 return NULL;
25769}
25770
25771
25772static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25773 PyObject *resultobj;
25774 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25775 wxMetafile result;
25776 PyObject * obj0 = 0 ;
25777 char *kwnames[] = {
25778 (char *) "self", NULL
25779 };
25780
25781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
25782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25784 {
25785 PyThreadState* __tstate = wxPyBeginAllowThreads();
25786 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25787
25788 wxPyEndAllowThreads(__tstate);
25789 if (PyErr_Occurred()) SWIG_fail;
25790 }
25791 {
25792 wxMetafile * resultptr;
25793 resultptr = new wxMetafile((wxMetafile &) result);
25794 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
25795 }
25796 return resultobj;
25797 fail:
25798 return NULL;
25799}
25800
25801
25802static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25803 PyObject *obj;
25804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25805 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25806 Py_INCREF(obj);
25807 return Py_BuildValue((char *)"");
25808}
25809static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25810 PyObject *resultobj;
25811 int arg1 ;
25812 bool result;
25813 PyObject * obj0 = 0 ;
25814 char *kwnames[] = {
25815 (char *) "res", NULL
25816 };
25817
25818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25819 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25820 if (PyErr_Occurred()) SWIG_fail;
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25824
25825 wxPyEndAllowThreads(__tstate);
25826 if (PyErr_Occurred()) SWIG_fail;
25827 }
25828 {
25829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25830 }
25831 return resultobj;
25832 fail:
25833 return NULL;
25834}
25835
25836
25837static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25838 PyObject *resultobj;
25839 wxWindow *arg1 = (wxWindow *) 0 ;
25840 wxCursor const &arg2_defvalue = wxNullCursor ;
25841 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25842 wxCursor const &arg3_defvalue = wxNullCursor ;
25843 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25844 wxCursor const &arg4_defvalue = wxNullCursor ;
25845 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25846 wxPyDropSource *result;
25847 PyObject * obj0 = 0 ;
25848 PyObject * obj1 = 0 ;
25849 PyObject * obj2 = 0 ;
25850 PyObject * obj3 = 0 ;
25851 char *kwnames[] = {
25852 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25853 };
25854
25855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25858 if (obj1) {
25859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25860 SWIG_POINTER_EXCEPTION | 0)) == -1)
25861 SWIG_fail;
25862 if (arg2 == NULL) {
25863 PyErr_SetString(PyExc_TypeError,"null reference");
25864 SWIG_fail;
25865 }
25866 }
25867 if (obj2) {
25868 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25869 SWIG_POINTER_EXCEPTION | 0)) == -1)
25870 SWIG_fail;
25871 if (arg3 == NULL) {
25872 PyErr_SetString(PyExc_TypeError,"null reference");
25873 SWIG_fail;
25874 }
25875 }
25876 if (obj3) {
25877 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25878 SWIG_POINTER_EXCEPTION | 0)) == -1)
25879 SWIG_fail;
25880 if (arg4 == NULL) {
25881 PyErr_SetString(PyExc_TypeError,"null reference");
25882 SWIG_fail;
25883 }
25884 }
25885 {
25886 PyThreadState* __tstate = wxPyBeginAllowThreads();
25887 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25888
25889 wxPyEndAllowThreads(__tstate);
25890 if (PyErr_Occurred()) SWIG_fail;
25891 }
25892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
25893 return resultobj;
25894 fail:
25895 return NULL;
25896}
25897
25898
25899static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25900 PyObject *resultobj;
25901 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25902 PyObject *arg2 = (PyObject *) 0 ;
25903 PyObject *arg3 = (PyObject *) 0 ;
25904 int arg4 ;
25905 PyObject * obj0 = 0 ;
25906 PyObject * obj1 = 0 ;
25907 PyObject * obj2 = 0 ;
25908 PyObject * obj3 = 0 ;
25909 char *kwnames[] = {
25910 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25911 };
25912
25913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25916 arg2 = obj1;
25917 arg3 = obj2;
25918 arg4 = (int) SWIG_AsInt(obj3);
25919 if (PyErr_Occurred()) SWIG_fail;
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25923
25924 wxPyEndAllowThreads(__tstate);
25925 if (PyErr_Occurred()) SWIG_fail;
25926 }
25927 Py_INCREF(Py_None); resultobj = Py_None;
25928 return resultobj;
25929 fail:
25930 return NULL;
25931}
25932
25933
25934static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25935 PyObject *resultobj;
25936 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25937 PyObject * obj0 = 0 ;
25938 char *kwnames[] = {
25939 (char *) "self", NULL
25940 };
25941
25942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25945 {
25946 PyThreadState* __tstate = wxPyBeginAllowThreads();
25947 delete arg1;
25948
25949 wxPyEndAllowThreads(__tstate);
25950 if (PyErr_Occurred()) SWIG_fail;
25951 }
25952 Py_INCREF(Py_None); resultobj = Py_None;
25953 return resultobj;
25954 fail:
25955 return NULL;
25956}
25957
25958
25959static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25960 PyObject *resultobj;
25961 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25962 wxDataObject *arg2 = 0 ;
25963 PyObject * obj0 = 0 ;
25964 PyObject * obj1 = 0 ;
25965 char *kwnames[] = {
25966 (char *) "self",(char *) "data", NULL
25967 };
25968
25969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25972 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25973 SWIG_POINTER_EXCEPTION | 0)) == -1)
25974 SWIG_fail;
25975 if (arg2 == NULL) {
25976 PyErr_SetString(PyExc_TypeError,"null reference");
25977 SWIG_fail;
25978 }
25979 {
25980 PyThreadState* __tstate = wxPyBeginAllowThreads();
25981 (arg1)->SetData(*arg2);
25982
25983 wxPyEndAllowThreads(__tstate);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 }
25986 Py_INCREF(Py_None); resultobj = Py_None;
25987 return resultobj;
25988 fail:
25989 return NULL;
25990}
25991
25992
25993static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25994 PyObject *resultobj;
25995 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25996 wxDataObject *result;
25997 PyObject * obj0 = 0 ;
25998 char *kwnames[] = {
25999 (char *) "self", NULL
26000 };
26001
26002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
26003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26005 {
26006 PyThreadState* __tstate = wxPyBeginAllowThreads();
26007 result = (wxDataObject *)(arg1)->GetDataObject();
26008
26009 wxPyEndAllowThreads(__tstate);
26010 if (PyErr_Occurred()) SWIG_fail;
26011 }
26012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26013 return resultobj;
26014 fail:
26015 return NULL;
26016}
26017
26018
26019static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26020 PyObject *resultobj;
26021 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26022 int arg2 ;
26023 wxCursor *arg3 = 0 ;
26024 PyObject * obj0 = 0 ;
26025 PyObject * obj1 = 0 ;
26026 PyObject * obj2 = 0 ;
26027 char *kwnames[] = {
26028 (char *) "self",(char *) "res",(char *) "cursor", NULL
26029 };
26030
26031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
26032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26034 arg2 = (wxDragResult) SWIG_AsInt(obj1);
26035 if (PyErr_Occurred()) SWIG_fail;
26036 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
26037 SWIG_POINTER_EXCEPTION | 0)) == -1)
26038 SWIG_fail;
26039 if (arg3 == NULL) {
26040 PyErr_SetString(PyExc_TypeError,"null reference");
26041 SWIG_fail;
26042 }
26043 {
26044 PyThreadState* __tstate = wxPyBeginAllowThreads();
26045 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
26046
26047 wxPyEndAllowThreads(__tstate);
26048 if (PyErr_Occurred()) SWIG_fail;
26049 }
26050 Py_INCREF(Py_None); resultobj = Py_None;
26051 return resultobj;
26052 fail:
26053 return NULL;
26054}
26055
26056
26057static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26058 PyObject *resultobj;
26059 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26060 int arg2 = (int) wxDrag_CopyOnly ;
26061 int result;
26062 PyObject * obj0 = 0 ;
26063 PyObject * obj1 = 0 ;
26064 char *kwnames[] = {
26065 (char *) "self",(char *) "flags", NULL
26066 };
26067
26068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
26069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26071 if (obj1) {
26072 arg2 = (int) SWIG_AsInt(obj1);
26073 if (PyErr_Occurred()) SWIG_fail;
26074 }
26075 {
26076 PyThreadState* __tstate = wxPyBeginAllowThreads();
26077 result = (int)(arg1)->DoDragDrop(arg2);
26078
26079 wxPyEndAllowThreads(__tstate);
26080 if (PyErr_Occurred()) SWIG_fail;
26081 }
26082 resultobj = SWIG_FromInt((int)result);
26083 return resultobj;
26084 fail:
26085 return NULL;
26086}
26087
26088
26089static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
26090 PyObject *resultobj;
26091 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26092 int arg2 ;
26093 bool result;
26094 PyObject * obj0 = 0 ;
26095 PyObject * obj1 = 0 ;
26096 char *kwnames[] = {
26097 (char *) "self",(char *) "effect", NULL
26098 };
26099
26100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
26101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26103 arg2 = (wxDragResult) SWIG_AsInt(obj1);
26104 if (PyErr_Occurred()) SWIG_fail;
26105 {
26106 PyThreadState* __tstate = wxPyBeginAllowThreads();
26107 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
26108
26109 wxPyEndAllowThreads(__tstate);
26110 if (PyErr_Occurred()) SWIG_fail;
26111 }
26112 {
26113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26114 }
26115 return resultobj;
26116 fail:
26117 return NULL;
26118}
26119
26120
26121static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
26122 PyObject *obj;
26123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26124 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
26125 Py_INCREF(obj);
26126 return Py_BuildValue((char *)"");
26127}
26128static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26129 PyObject *resultobj;
26130 wxDataObject *arg1 = (wxDataObject *) NULL ;
26131 wxPyDropTarget *result;
26132 PyObject * obj0 = 0 ;
26133 char *kwnames[] = {
26134 (char *) "dataObject", NULL
26135 };
26136
26137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
26138 if (obj0) {
26139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
26140 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26141 }
26142 {
26143 PyThreadState* __tstate = wxPyBeginAllowThreads();
26144 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
26145
26146 wxPyEndAllowThreads(__tstate);
26147 if (PyErr_Occurred()) SWIG_fail;
26148 }
26149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
26150 return resultobj;
26151 fail:
26152 return NULL;
26153}
26154
26155
26156static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26157 PyObject *resultobj;
26158 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26159 PyObject *arg2 = (PyObject *) 0 ;
26160 PyObject *arg3 = (PyObject *) 0 ;
26161 PyObject * obj0 = 0 ;
26162 PyObject * obj1 = 0 ;
26163 PyObject * obj2 = 0 ;
26164 char *kwnames[] = {
26165 (char *) "self",(char *) "self",(char *) "_class", NULL
26166 };
26167
26168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26171 arg2 = obj1;
26172 arg3 = obj2;
26173 {
26174 PyThreadState* __tstate = wxPyBeginAllowThreads();
26175 (arg1)->_setCallbackInfo(arg2,arg3);
26176
26177 wxPyEndAllowThreads(__tstate);
26178 if (PyErr_Occurred()) SWIG_fail;
26179 }
26180 Py_INCREF(Py_None); resultobj = Py_None;
26181 return resultobj;
26182 fail:
26183 return NULL;
26184}
26185
26186
26187static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26188 PyObject *resultobj;
26189 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26190 PyObject * obj0 = 0 ;
26191 char *kwnames[] = {
26192 (char *) "self", NULL
26193 };
26194
26195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26198 {
26199 PyThreadState* __tstate = wxPyBeginAllowThreads();
26200 delete arg1;
26201
26202 wxPyEndAllowThreads(__tstate);
26203 if (PyErr_Occurred()) SWIG_fail;
26204 }
26205 Py_INCREF(Py_None); resultobj = Py_None;
26206 return resultobj;
26207 fail:
26208 return NULL;
26209}
26210
26211
26212static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26213 PyObject *resultobj;
26214 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26215 wxDataObject *result;
26216 PyObject * obj0 = 0 ;
26217 char *kwnames[] = {
26218 (char *) "self", NULL
26219 };
26220
26221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26224 {
26225 PyThreadState* __tstate = wxPyBeginAllowThreads();
26226 result = (wxDataObject *)(arg1)->GetDataObject();
26227
26228 wxPyEndAllowThreads(__tstate);
26229 if (PyErr_Occurred()) SWIG_fail;
26230 }
26231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26232 return resultobj;
26233 fail:
26234 return NULL;
26235}
26236
26237
26238static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26239 PyObject *resultobj;
26240 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26241 wxDataObject *arg2 = (wxDataObject *) 0 ;
26242 PyObject * obj0 = 0 ;
26243 PyObject * obj1 = 0 ;
26244 char *kwnames[] = {
26245 (char *) "self",(char *) "dataObject", NULL
26246 };
26247
26248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26251 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26252 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 (arg1)->SetDataObject(arg2);
26256
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 Py_INCREF(Py_None); resultobj = Py_None;
26261 return resultobj;
26262 fail:
26263 return NULL;
26264}
26265
26266
26267static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26268 PyObject *resultobj;
26269 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26270 int arg2 ;
26271 int arg3 ;
26272 int arg4 ;
26273 int result;
26274 PyObject * obj0 = 0 ;
26275 PyObject * obj1 = 0 ;
26276 PyObject * obj2 = 0 ;
26277 PyObject * obj3 = 0 ;
26278 char *kwnames[] = {
26279 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26280 };
26281
26282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26285 arg2 = (int) SWIG_AsInt(obj1);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 arg3 = (int) SWIG_AsInt(obj2);
26288 if (PyErr_Occurred()) SWIG_fail;
26289 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26290 if (PyErr_Occurred()) SWIG_fail;
26291 {
26292 PyThreadState* __tstate = wxPyBeginAllowThreads();
26293 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26294
26295 wxPyEndAllowThreads(__tstate);
26296 if (PyErr_Occurred()) SWIG_fail;
26297 }
26298 resultobj = SWIG_FromInt((int)result);
26299 return resultobj;
26300 fail:
26301 return NULL;
26302}
26303
26304
26305static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26306 PyObject *resultobj;
26307 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26308 int arg2 ;
26309 int arg3 ;
26310 int arg4 ;
26311 int result;
26312 PyObject * obj0 = 0 ;
26313 PyObject * obj1 = 0 ;
26314 PyObject * obj2 = 0 ;
26315 PyObject * obj3 = 0 ;
26316 char *kwnames[] = {
26317 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26318 };
26319
26320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26323 arg2 = (int) SWIG_AsInt(obj1);
26324 if (PyErr_Occurred()) SWIG_fail;
26325 arg3 = (int) SWIG_AsInt(obj2);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26328 if (PyErr_Occurred()) SWIG_fail;
26329 {
26330 PyThreadState* __tstate = wxPyBeginAllowThreads();
26331 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26332
26333 wxPyEndAllowThreads(__tstate);
26334 if (PyErr_Occurred()) SWIG_fail;
26335 }
26336 resultobj = SWIG_FromInt((int)result);
26337 return resultobj;
26338 fail:
26339 return NULL;
26340}
26341
26342
26343static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26344 PyObject *resultobj;
26345 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26346 PyObject * obj0 = 0 ;
26347 char *kwnames[] = {
26348 (char *) "self", NULL
26349 };
26350
26351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26354 {
26355 PyThreadState* __tstate = wxPyBeginAllowThreads();
26356 (arg1)->base_OnLeave();
26357
26358 wxPyEndAllowThreads(__tstate);
26359 if (PyErr_Occurred()) SWIG_fail;
26360 }
26361 Py_INCREF(Py_None); resultobj = Py_None;
26362 return resultobj;
26363 fail:
26364 return NULL;
26365}
26366
26367
26368static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26369 PyObject *resultobj;
26370 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26371 int arg2 ;
26372 int arg3 ;
26373 bool result;
26374 PyObject * obj0 = 0 ;
26375 PyObject * obj1 = 0 ;
26376 PyObject * obj2 = 0 ;
26377 char *kwnames[] = {
26378 (char *) "self",(char *) "x",(char *) "y", NULL
26379 };
26380
26381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26384 arg2 = (int) SWIG_AsInt(obj1);
26385 if (PyErr_Occurred()) SWIG_fail;
26386 arg3 = (int) SWIG_AsInt(obj2);
26387 if (PyErr_Occurred()) SWIG_fail;
26388 {
26389 PyThreadState* __tstate = wxPyBeginAllowThreads();
26390 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26391
26392 wxPyEndAllowThreads(__tstate);
26393 if (PyErr_Occurred()) SWIG_fail;
26394 }
26395 {
26396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26397 }
26398 return resultobj;
26399 fail:
26400 return NULL;
26401}
26402
26403
26404static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26405 PyObject *resultobj;
26406 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26407 bool result;
26408 PyObject * obj0 = 0 ;
26409 char *kwnames[] = {
26410 (char *) "self", NULL
26411 };
26412
26413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26416 {
26417 PyThreadState* __tstate = wxPyBeginAllowThreads();
26418 result = (bool)(arg1)->GetData();
26419
26420 wxPyEndAllowThreads(__tstate);
26421 if (PyErr_Occurred()) SWIG_fail;
26422 }
26423 {
26424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26425 }
26426 return resultobj;
26427 fail:
26428 return NULL;
26429}
26430
26431
26432static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
26433 PyObject *obj;
26434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26435 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26436 Py_INCREF(obj);
26437 return Py_BuildValue((char *)"");
26438}
26439static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26440 PyObject *resultobj;
26441 wxPyTextDropTarget *result;
26442 char *kwnames[] = {
26443 NULL
26444 };
26445
26446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26447 {
26448 PyThreadState* __tstate = wxPyBeginAllowThreads();
26449 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26450
26451 wxPyEndAllowThreads(__tstate);
26452 if (PyErr_Occurred()) SWIG_fail;
26453 }
26454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26455 return resultobj;
26456 fail:
26457 return NULL;
26458}
26459
26460
26461static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26462 PyObject *resultobj;
26463 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26464 PyObject *arg2 = (PyObject *) 0 ;
26465 PyObject *arg3 = (PyObject *) 0 ;
26466 PyObject * obj0 = 0 ;
26467 PyObject * obj1 = 0 ;
26468 PyObject * obj2 = 0 ;
26469 char *kwnames[] = {
26470 (char *) "self",(char *) "self",(char *) "_class", NULL
26471 };
26472
26473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26476 arg2 = obj1;
26477 arg3 = obj2;
26478 {
26479 PyThreadState* __tstate = wxPyBeginAllowThreads();
26480 (arg1)->_setCallbackInfo(arg2,arg3);
26481
26482 wxPyEndAllowThreads(__tstate);
26483 if (PyErr_Occurred()) SWIG_fail;
26484 }
26485 Py_INCREF(Py_None); resultobj = Py_None;
26486 return resultobj;
26487 fail:
26488 return NULL;
26489}
26490
26491
26492static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26493 PyObject *resultobj;
26494 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26495 int arg2 ;
26496 int arg3 ;
26497 int arg4 ;
26498 int result;
26499 PyObject * obj0 = 0 ;
26500 PyObject * obj1 = 0 ;
26501 PyObject * obj2 = 0 ;
26502 PyObject * obj3 = 0 ;
26503 char *kwnames[] = {
26504 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26505 };
26506
26507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26510 arg2 = (int) SWIG_AsInt(obj1);
26511 if (PyErr_Occurred()) SWIG_fail;
26512 arg3 = (int) SWIG_AsInt(obj2);
26513 if (PyErr_Occurred()) SWIG_fail;
26514 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26515 if (PyErr_Occurred()) SWIG_fail;
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26519
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 resultobj = SWIG_FromInt((int)result);
26524 return resultobj;
26525 fail:
26526 return NULL;
26527}
26528
26529
26530static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26531 PyObject *resultobj;
26532 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26533 int arg2 ;
26534 int arg3 ;
26535 int arg4 ;
26536 int result;
26537 PyObject * obj0 = 0 ;
26538 PyObject * obj1 = 0 ;
26539 PyObject * obj2 = 0 ;
26540 PyObject * obj3 = 0 ;
26541 char *kwnames[] = {
26542 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26543 };
26544
26545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26548 arg2 = (int) SWIG_AsInt(obj1);
26549 if (PyErr_Occurred()) SWIG_fail;
26550 arg3 = (int) SWIG_AsInt(obj2);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26553 if (PyErr_Occurred()) SWIG_fail;
26554 {
26555 PyThreadState* __tstate = wxPyBeginAllowThreads();
26556 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26557
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
26561 resultobj = SWIG_FromInt((int)result);
26562 return resultobj;
26563 fail:
26564 return NULL;
26565}
26566
26567
26568static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26569 PyObject *resultobj;
26570 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26571 PyObject * obj0 = 0 ;
26572 char *kwnames[] = {
26573 (char *) "self", NULL
26574 };
26575
26576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26579 {
26580 PyThreadState* __tstate = wxPyBeginAllowThreads();
26581 (arg1)->base_OnLeave();
26582
26583 wxPyEndAllowThreads(__tstate);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 }
26586 Py_INCREF(Py_None); resultobj = Py_None;
26587 return resultobj;
26588 fail:
26589 return NULL;
26590}
26591
26592
26593static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26594 PyObject *resultobj;
26595 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26596 int arg2 ;
26597 int arg3 ;
26598 bool result;
26599 PyObject * obj0 = 0 ;
26600 PyObject * obj1 = 0 ;
26601 PyObject * obj2 = 0 ;
26602 char *kwnames[] = {
26603 (char *) "self",(char *) "x",(char *) "y", NULL
26604 };
26605
26606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26609 arg2 = (int) SWIG_AsInt(obj1);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 arg3 = (int) SWIG_AsInt(obj2);
26612 if (PyErr_Occurred()) SWIG_fail;
26613 {
26614 PyThreadState* __tstate = wxPyBeginAllowThreads();
26615 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26616
26617 wxPyEndAllowThreads(__tstate);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 }
26620 {
26621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26622 }
26623 return resultobj;
26624 fail:
26625 return NULL;
26626}
26627
26628
26629static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26630 PyObject *resultobj;
26631 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26632 int arg2 ;
26633 int arg3 ;
26634 int arg4 ;
26635 int result;
26636 PyObject * obj0 = 0 ;
26637 PyObject * obj1 = 0 ;
26638 PyObject * obj2 = 0 ;
26639 PyObject * obj3 = 0 ;
26640 char *kwnames[] = {
26641 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26642 };
26643
26644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26647 arg2 = (int) SWIG_AsInt(obj1);
26648 if (PyErr_Occurred()) SWIG_fail;
26649 arg3 = (int) SWIG_AsInt(obj2);
26650 if (PyErr_Occurred()) SWIG_fail;
26651 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 {
26654 PyThreadState* __tstate = wxPyBeginAllowThreads();
26655 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26656
26657 wxPyEndAllowThreads(__tstate);
26658 if (PyErr_Occurred()) SWIG_fail;
26659 }
26660 resultobj = SWIG_FromInt((int)result);
26661 return resultobj;
26662 fail:
26663 return NULL;
26664}
26665
26666
26667static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26668 PyObject *obj;
26669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26670 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26671 Py_INCREF(obj);
26672 return Py_BuildValue((char *)"");
26673}
26674static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26675 PyObject *resultobj;
26676 wxPyFileDropTarget *result;
26677 char *kwnames[] = {
26678 NULL
26679 };
26680
26681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26682 {
26683 PyThreadState* __tstate = wxPyBeginAllowThreads();
26684 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26685
26686 wxPyEndAllowThreads(__tstate);
26687 if (PyErr_Occurred()) SWIG_fail;
26688 }
26689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26690 return resultobj;
26691 fail:
26692 return NULL;
26693}
26694
26695
26696static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26697 PyObject *resultobj;
26698 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26699 PyObject *arg2 = (PyObject *) 0 ;
26700 PyObject *arg3 = (PyObject *) 0 ;
26701 PyObject * obj0 = 0 ;
26702 PyObject * obj1 = 0 ;
26703 PyObject * obj2 = 0 ;
26704 char *kwnames[] = {
26705 (char *) "self",(char *) "self",(char *) "_class", NULL
26706 };
26707
26708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26711 arg2 = obj1;
26712 arg3 = obj2;
26713 {
26714 PyThreadState* __tstate = wxPyBeginAllowThreads();
26715 (arg1)->_setCallbackInfo(arg2,arg3);
26716
26717 wxPyEndAllowThreads(__tstate);
26718 if (PyErr_Occurred()) SWIG_fail;
26719 }
26720 Py_INCREF(Py_None); resultobj = Py_None;
26721 return resultobj;
26722 fail:
26723 return NULL;
26724}
26725
26726
26727static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26728 PyObject *resultobj;
26729 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26730 int arg2 ;
26731 int arg3 ;
26732 int arg4 ;
26733 int result;
26734 PyObject * obj0 = 0 ;
26735 PyObject * obj1 = 0 ;
26736 PyObject * obj2 = 0 ;
26737 PyObject * obj3 = 0 ;
26738 char *kwnames[] = {
26739 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26740 };
26741
26742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26745 arg2 = (int) SWIG_AsInt(obj1);
26746 if (PyErr_Occurred()) SWIG_fail;
26747 arg3 = (int) SWIG_AsInt(obj2);
26748 if (PyErr_Occurred()) SWIG_fail;
26749 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 {
26752 PyThreadState* __tstate = wxPyBeginAllowThreads();
26753 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26754
26755 wxPyEndAllowThreads(__tstate);
26756 if (PyErr_Occurred()) SWIG_fail;
26757 }
26758 resultobj = SWIG_FromInt((int)result);
26759 return resultobj;
26760 fail:
26761 return NULL;
26762}
26763
26764
26765static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26766 PyObject *resultobj;
26767 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26768 int arg2 ;
26769 int arg3 ;
26770 int arg4 ;
26771 int result;
26772 PyObject * obj0 = 0 ;
26773 PyObject * obj1 = 0 ;
26774 PyObject * obj2 = 0 ;
26775 PyObject * obj3 = 0 ;
26776 char *kwnames[] = {
26777 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26778 };
26779
26780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26783 arg2 = (int) SWIG_AsInt(obj1);
26784 if (PyErr_Occurred()) SWIG_fail;
26785 arg3 = (int) SWIG_AsInt(obj2);
26786 if (PyErr_Occurred()) SWIG_fail;
26787 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26788 if (PyErr_Occurred()) SWIG_fail;
26789 {
26790 PyThreadState* __tstate = wxPyBeginAllowThreads();
26791 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26792
26793 wxPyEndAllowThreads(__tstate);
26794 if (PyErr_Occurred()) SWIG_fail;
26795 }
26796 resultobj = SWIG_FromInt((int)result);
26797 return resultobj;
26798 fail:
26799 return NULL;
26800}
26801
26802
26803static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26804 PyObject *resultobj;
26805 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26806 PyObject * obj0 = 0 ;
26807 char *kwnames[] = {
26808 (char *) "self", NULL
26809 };
26810
26811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26814 {
26815 PyThreadState* __tstate = wxPyBeginAllowThreads();
26816 (arg1)->base_OnLeave();
26817
26818 wxPyEndAllowThreads(__tstate);
26819 if (PyErr_Occurred()) SWIG_fail;
26820 }
26821 Py_INCREF(Py_None); resultobj = Py_None;
26822 return resultobj;
26823 fail:
26824 return NULL;
26825}
26826
26827
26828static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26829 PyObject *resultobj;
26830 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26831 int arg2 ;
26832 int arg3 ;
26833 bool result;
26834 PyObject * obj0 = 0 ;
26835 PyObject * obj1 = 0 ;
26836 PyObject * obj2 = 0 ;
26837 char *kwnames[] = {
26838 (char *) "self",(char *) "x",(char *) "y", NULL
26839 };
26840
26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26844 arg2 = (int) SWIG_AsInt(obj1);
26845 if (PyErr_Occurred()) SWIG_fail;
26846 arg3 = (int) SWIG_AsInt(obj2);
26847 if (PyErr_Occurred()) SWIG_fail;
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26851
26852 wxPyEndAllowThreads(__tstate);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
26855 {
26856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26857 }
26858 return resultobj;
26859 fail:
26860 return NULL;
26861}
26862
26863
26864static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26865 PyObject *resultobj;
26866 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26867 int arg2 ;
26868 int arg3 ;
26869 int arg4 ;
26870 int result;
26871 PyObject * obj0 = 0 ;
26872 PyObject * obj1 = 0 ;
26873 PyObject * obj2 = 0 ;
26874 PyObject * obj3 = 0 ;
26875 char *kwnames[] = {
26876 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26877 };
26878
26879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26882 arg2 = (int) SWIG_AsInt(obj1);
26883 if (PyErr_Occurred()) SWIG_fail;
26884 arg3 = (int) SWIG_AsInt(obj2);
26885 if (PyErr_Occurred()) SWIG_fail;
26886 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26887 if (PyErr_Occurred()) SWIG_fail;
26888 {
26889 PyThreadState* __tstate = wxPyBeginAllowThreads();
26890 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26891
26892 wxPyEndAllowThreads(__tstate);
26893 if (PyErr_Occurred()) SWIG_fail;
26894 }
26895 resultobj = SWIG_FromInt((int)result);
26896 return resultobj;
26897 fail:
26898 return NULL;
26899}
26900
26901
26902static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26903 PyObject *obj;
26904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26905 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26906 Py_INCREF(obj);
26907 return Py_BuildValue((char *)"");
26908}
26909static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26910 PyObject *resultobj;
26911 wxClipboard *result;
26912 char *kwnames[] = {
26913 NULL
26914 };
26915
26916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26917 {
26918 PyThreadState* __tstate = wxPyBeginAllowThreads();
26919 result = (wxClipboard *)new wxClipboard();
26920
26921 wxPyEndAllowThreads(__tstate);
26922 if (PyErr_Occurred()) SWIG_fail;
26923 }
26924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
26925 return resultobj;
26926 fail:
26927 return NULL;
26928}
26929
26930
26931static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26932 PyObject *resultobj;
26933 wxClipboard *arg1 = (wxClipboard *) 0 ;
26934 PyObject * obj0 = 0 ;
26935 char *kwnames[] = {
26936 (char *) "self", NULL
26937 };
26938
26939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26942 {
26943 PyThreadState* __tstate = wxPyBeginAllowThreads();
26944 delete arg1;
26945
26946 wxPyEndAllowThreads(__tstate);
26947 if (PyErr_Occurred()) SWIG_fail;
26948 }
26949 Py_INCREF(Py_None); resultobj = Py_None;
26950 return resultobj;
26951 fail:
26952 return NULL;
26953}
26954
26955
26956static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26957 PyObject *resultobj;
26958 wxClipboard *arg1 = (wxClipboard *) 0 ;
26959 bool result;
26960 PyObject * obj0 = 0 ;
26961 char *kwnames[] = {
26962 (char *) "self", NULL
26963 };
26964
26965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26968 {
26969 PyThreadState* __tstate = wxPyBeginAllowThreads();
26970 result = (bool)(arg1)->Open();
26971
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
26975 {
26976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26977 }
26978 return resultobj;
26979 fail:
26980 return NULL;
26981}
26982
26983
26984static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
26985 PyObject *resultobj;
26986 wxClipboard *arg1 = (wxClipboard *) 0 ;
26987 PyObject * obj0 = 0 ;
26988 char *kwnames[] = {
26989 (char *) "self", NULL
26990 };
26991
26992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26995 {
26996 PyThreadState* __tstate = wxPyBeginAllowThreads();
26997 (arg1)->Close();
26998
26999 wxPyEndAllowThreads(__tstate);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 }
27002 Py_INCREF(Py_None); resultobj = Py_None;
27003 return resultobj;
27004 fail:
27005 return NULL;
27006}
27007
27008
27009static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
27010 PyObject *resultobj;
27011 wxClipboard *arg1 = (wxClipboard *) 0 ;
27012 bool result;
27013 PyObject * obj0 = 0 ;
27014 char *kwnames[] = {
27015 (char *) "self", NULL
27016 };
27017
27018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
27019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27021 {
27022 PyThreadState* __tstate = wxPyBeginAllowThreads();
27023 result = (bool)((wxClipboard const *)arg1)->IsOpened();
27024
27025 wxPyEndAllowThreads(__tstate);
27026 if (PyErr_Occurred()) SWIG_fail;
27027 }
27028 {
27029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27030 }
27031 return resultobj;
27032 fail:
27033 return NULL;
27034}
27035
27036
27037static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
27038 PyObject *resultobj;
27039 wxClipboard *arg1 = (wxClipboard *) 0 ;
27040 wxDataObject *arg2 = (wxDataObject *) 0 ;
27041 bool result;
27042 PyObject * obj0 = 0 ;
27043 PyObject * obj1 = 0 ;
27044 char *kwnames[] = {
27045 (char *) "self",(char *) "data", NULL
27046 };
27047
27048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
27049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27052 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27053 {
27054 PyThreadState* __tstate = wxPyBeginAllowThreads();
27055 result = (bool)(arg1)->AddData(arg2);
27056
27057 wxPyEndAllowThreads(__tstate);
27058 if (PyErr_Occurred()) SWIG_fail;
27059 }
27060 {
27061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27062 }
27063 return resultobj;
27064 fail:
27065 return NULL;
27066}
27067
27068
27069static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27070 PyObject *resultobj;
27071 wxClipboard *arg1 = (wxClipboard *) 0 ;
27072 wxDataObject *arg2 = (wxDataObject *) 0 ;
27073 bool result;
27074 PyObject * obj0 = 0 ;
27075 PyObject * obj1 = 0 ;
27076 char *kwnames[] = {
27077 (char *) "self",(char *) "data", NULL
27078 };
27079
27080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
27081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27084 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27085 {
27086 PyThreadState* __tstate = wxPyBeginAllowThreads();
27087 result = (bool)(arg1)->SetData(arg2);
27088
27089 wxPyEndAllowThreads(__tstate);
27090 if (PyErr_Occurred()) SWIG_fail;
27091 }
27092 {
27093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27094 }
27095 return resultobj;
27096 fail:
27097 return NULL;
27098}
27099
27100
27101static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
27102 PyObject *resultobj;
27103 wxClipboard *arg1 = (wxClipboard *) 0 ;
27104 wxDataFormat *arg2 = 0 ;
27105 bool result;
27106 PyObject * obj0 = 0 ;
27107 PyObject * obj1 = 0 ;
27108 char *kwnames[] = {
27109 (char *) "self",(char *) "format", NULL
27110 };
27111
27112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
27113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
27116 SWIG_POINTER_EXCEPTION | 0)) == -1)
27117 SWIG_fail;
27118 if (arg2 == NULL) {
27119 PyErr_SetString(PyExc_TypeError,"null reference");
27120 SWIG_fail;
27121 }
27122 {
27123 PyThreadState* __tstate = wxPyBeginAllowThreads();
27124 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
27125
27126 wxPyEndAllowThreads(__tstate);
27127 if (PyErr_Occurred()) SWIG_fail;
27128 }
27129 {
27130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27131 }
27132 return resultobj;
27133 fail:
27134 return NULL;
27135}
27136
27137
27138static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27139 PyObject *resultobj;
27140 wxClipboard *arg1 = (wxClipboard *) 0 ;
27141 wxDataObject *arg2 = 0 ;
27142 bool result;
27143 PyObject * obj0 = 0 ;
27144 PyObject * obj1 = 0 ;
27145 char *kwnames[] = {
27146 (char *) "self",(char *) "data", NULL
27147 };
27148
27149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
27150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27153 SWIG_POINTER_EXCEPTION | 0)) == -1)
27154 SWIG_fail;
27155 if (arg2 == NULL) {
27156 PyErr_SetString(PyExc_TypeError,"null reference");
27157 SWIG_fail;
27158 }
27159 {
27160 PyThreadState* __tstate = wxPyBeginAllowThreads();
27161 result = (bool)(arg1)->GetData(*arg2);
27162
27163 wxPyEndAllowThreads(__tstate);
27164 if (PyErr_Occurred()) SWIG_fail;
27165 }
27166 {
27167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27168 }
27169 return resultobj;
27170 fail:
27171 return NULL;
27172}
27173
27174
27175static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
27176 PyObject *resultobj;
27177 wxClipboard *arg1 = (wxClipboard *) 0 ;
27178 PyObject * obj0 = 0 ;
27179 char *kwnames[] = {
27180 (char *) "self", NULL
27181 };
27182
27183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27186 {
27187 PyThreadState* __tstate = wxPyBeginAllowThreads();
27188 (arg1)->Clear();
27189
27190 wxPyEndAllowThreads(__tstate);
27191 if (PyErr_Occurred()) SWIG_fail;
27192 }
27193 Py_INCREF(Py_None); resultobj = Py_None;
27194 return resultobj;
27195 fail:
27196 return NULL;
27197}
27198
27199
27200static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
27201 PyObject *resultobj;
27202 wxClipboard *arg1 = (wxClipboard *) 0 ;
27203 bool result;
27204 PyObject * obj0 = 0 ;
27205 char *kwnames[] = {
27206 (char *) "self", NULL
27207 };
27208
27209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27212 {
27213 PyThreadState* __tstate = wxPyBeginAllowThreads();
27214 result = (bool)(arg1)->Flush();
27215
27216 wxPyEndAllowThreads(__tstate);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 {
27220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27221 }
27222 return resultobj;
27223 fail:
27224 return NULL;
27225}
27226
27227
27228static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27229 PyObject *resultobj;
27230 wxClipboard *arg1 = (wxClipboard *) 0 ;
27231 bool arg2 = (bool) True ;
27232 PyObject * obj0 = 0 ;
27233 PyObject * obj1 = 0 ;
27234 char *kwnames[] = {
27235 (char *) "self",(char *) "primary", NULL
27236 };
27237
27238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27241 if (obj1) {
27242 arg2 = (bool) SWIG_AsBool(obj1);
27243 if (PyErr_Occurred()) SWIG_fail;
27244 }
27245 {
27246 PyThreadState* __tstate = wxPyBeginAllowThreads();
27247 (arg1)->UsePrimarySelection(arg2);
27248
27249 wxPyEndAllowThreads(__tstate);
27250 if (PyErr_Occurred()) SWIG_fail;
27251 }
27252 Py_INCREF(Py_None); resultobj = Py_None;
27253 return resultobj;
27254 fail:
27255 return NULL;
27256}
27257
27258
27259static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
27260 PyObject *obj;
27261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27262 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27263 Py_INCREF(obj);
27264 return Py_BuildValue((char *)"");
27265}
27266static int _wrap_TheClipboard_set(PyObject *_val) {
27267 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
27268 return 1;
27269}
27270
27271
27272static PyObject *_wrap_TheClipboard_get() {
27273 PyObject *pyobj;
27274
27275 pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
27276 return pyobj;
27277}
27278
27279
27280static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27281 PyObject *resultobj;
27282 wxClipboard *arg1 = (wxClipboard *) NULL ;
27283 wxClipboardLocker *result;
27284 PyObject * obj0 = 0 ;
27285 char *kwnames[] = {
27286 (char *) "clipboard", NULL
27287 };
27288
27289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27290 if (obj0) {
27291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27293 }
27294 {
27295 PyThreadState* __tstate = wxPyBeginAllowThreads();
27296 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27297
27298 wxPyEndAllowThreads(__tstate);
27299 if (PyErr_Occurred()) SWIG_fail;
27300 }
27301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27302 return resultobj;
27303 fail:
27304 return NULL;
27305}
27306
27307
27308static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27309 PyObject *resultobj;
27310 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27311 PyObject * obj0 = 0 ;
27312 char *kwnames[] = {
27313 (char *) "self", NULL
27314 };
27315
27316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27319 {
27320 PyThreadState* __tstate = wxPyBeginAllowThreads();
27321 delete arg1;
27322
27323 wxPyEndAllowThreads(__tstate);
27324 if (PyErr_Occurred()) SWIG_fail;
27325 }
27326 Py_INCREF(Py_None); resultobj = Py_None;
27327 return resultobj;
27328 fail:
27329 return NULL;
27330}
27331
27332
27333static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
27334 PyObject *resultobj;
27335 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27336 bool result;
27337 PyObject * obj0 = 0 ;
27338 char *kwnames[] = {
27339 (char *) "self", NULL
27340 };
27341
27342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27345 {
27346 PyThreadState* __tstate = wxPyBeginAllowThreads();
27347 result = (bool)wxClipboardLocker___nonzero__(arg1);
27348
27349 wxPyEndAllowThreads(__tstate);
27350 if (PyErr_Occurred()) SWIG_fail;
27351 }
27352 {
27353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27354 }
27355 return resultobj;
27356 fail:
27357 return NULL;
27358}
27359
27360
27361static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
27362 PyObject *obj;
27363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27364 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27365 Py_INCREF(obj);
27366 return Py_BuildValue((char *)"");
27367}
27368static PyObject *_wrap_new_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27369 PyObject *resultobj;
27370 int arg1 = (int) 0 ;
27371 int arg2 = (int) 0 ;
27372 int arg3 = (int) 0 ;
27373 int arg4 = (int) 0 ;
27374 wxVideoMode *result;
27375 PyObject * obj0 = 0 ;
27376 PyObject * obj1 = 0 ;
27377 PyObject * obj2 = 0 ;
27378 PyObject * obj3 = 0 ;
27379 char *kwnames[] = {
27380 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27381 };
27382
27383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27384 if (obj0) {
27385 arg1 = (int) SWIG_AsInt(obj0);
27386 if (PyErr_Occurred()) SWIG_fail;
27387 }
27388 if (obj1) {
27389 arg2 = (int) SWIG_AsInt(obj1);
27390 if (PyErr_Occurred()) SWIG_fail;
27391 }
27392 if (obj2) {
27393 arg3 = (int) SWIG_AsInt(obj2);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
27396 if (obj3) {
27397 arg4 = (int) SWIG_AsInt(obj3);
27398 if (PyErr_Occurred()) SWIG_fail;
27399 }
27400 {
27401 PyThreadState* __tstate = wxPyBeginAllowThreads();
27402 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27403
27404 wxPyEndAllowThreads(__tstate);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 }
27407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27408 return resultobj;
27409 fail:
27410 return NULL;
27411}
27412
27413
27414static PyObject *_wrap_delete_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27415 PyObject *resultobj;
27416 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27417 PyObject * obj0 = 0 ;
27418 char *kwnames[] = {
27419 (char *) "self", NULL
27420 };
27421
27422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27425 {
27426 PyThreadState* __tstate = wxPyBeginAllowThreads();
27427 delete arg1;
27428
27429 wxPyEndAllowThreads(__tstate);
27430 if (PyErr_Occurred()) SWIG_fail;
27431 }
27432 Py_INCREF(Py_None); resultobj = Py_None;
27433 return resultobj;
27434 fail:
27435 return NULL;
27436}
27437
27438
27439static PyObject *_wrap_VideoMode_Matches(PyObject *self, PyObject *args, PyObject *kwargs) {
27440 PyObject *resultobj;
27441 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27442 wxVideoMode *arg2 = 0 ;
27443 bool result;
27444 PyObject * obj0 = 0 ;
27445 PyObject * obj1 = 0 ;
27446 char *kwnames[] = {
27447 (char *) "self",(char *) "other", NULL
27448 };
27449
27450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27454 SWIG_POINTER_EXCEPTION | 0)) == -1)
27455 SWIG_fail;
27456 if (arg2 == NULL) {
27457 PyErr_SetString(PyExc_TypeError,"null reference");
27458 SWIG_fail;
27459 }
27460 {
27461 PyThreadState* __tstate = wxPyBeginAllowThreads();
27462 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27463
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 {
27468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27469 }
27470 return resultobj;
27471 fail:
27472 return NULL;
27473}
27474
27475
27476static PyObject *_wrap_VideoMode_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
27477 PyObject *resultobj;
27478 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27479 int result;
27480 PyObject * obj0 = 0 ;
27481 char *kwnames[] = {
27482 (char *) "self", NULL
27483 };
27484
27485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27488 {
27489 PyThreadState* __tstate = wxPyBeginAllowThreads();
27490 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27491
27492 wxPyEndAllowThreads(__tstate);
27493 if (PyErr_Occurred()) SWIG_fail;
27494 }
27495 resultobj = SWIG_FromInt((int)result);
27496 return resultobj;
27497 fail:
27498 return NULL;
27499}
27500
27501
27502static PyObject *_wrap_VideoMode_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
27503 PyObject *resultobj;
27504 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27505 int result;
27506 PyObject * obj0 = 0 ;
27507 char *kwnames[] = {
27508 (char *) "self", NULL
27509 };
27510
27511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27514 {
27515 PyThreadState* __tstate = wxPyBeginAllowThreads();
27516 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27517
27518 wxPyEndAllowThreads(__tstate);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 }
27521 resultobj = SWIG_FromInt((int)result);
27522 return resultobj;
27523 fail:
27524 return NULL;
27525}
27526
27527
27528static PyObject *_wrap_VideoMode_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
27529 PyObject *resultobj;
27530 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27531 int result;
27532 PyObject * obj0 = 0 ;
27533 char *kwnames[] = {
27534 (char *) "self", NULL
27535 };
27536
27537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27540 {
27541 PyThreadState* __tstate = wxPyBeginAllowThreads();
27542 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27543
27544 wxPyEndAllowThreads(__tstate);
27545 if (PyErr_Occurred()) SWIG_fail;
27546 }
27547 resultobj = SWIG_FromInt((int)result);
27548 return resultobj;
27549 fail:
27550 return NULL;
27551}
27552
27553
27554static PyObject *_wrap_VideoMode_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27555 PyObject *resultobj;
27556 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27557 bool result;
27558 PyObject * obj0 = 0 ;
27559 char *kwnames[] = {
27560 (char *) "self", NULL
27561 };
27562
27563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27566 {
27567 PyThreadState* __tstate = wxPyBeginAllowThreads();
27568 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27569
27570 wxPyEndAllowThreads(__tstate);
27571 if (PyErr_Occurred()) SWIG_fail;
27572 }
27573 {
27574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27575 }
27576 return resultobj;
27577 fail:
27578 return NULL;
27579}
27580
27581
27582static PyObject *_wrap_VideoMode___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
27583 PyObject *resultobj;
27584 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27585 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27586 bool result;
27587 PyObject * obj0 = 0 ;
27588 PyObject * obj1 = 0 ;
27589 char *kwnames[] = {
27590 (char *) "self",(char *) "other", NULL
27591 };
27592
27593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27596 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27598 {
27599 PyThreadState* __tstate = wxPyBeginAllowThreads();
27600 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27601
27602 wxPyEndAllowThreads(__tstate);
27603 if (PyErr_Occurred()) SWIG_fail;
27604 }
27605 {
27606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27607 }
27608 return resultobj;
27609 fail:
27610 return NULL;
27611}
27612
27613
27614static PyObject *_wrap_VideoMode___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
27615 PyObject *resultobj;
27616 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27617 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27618 bool result;
27619 PyObject * obj0 = 0 ;
27620 PyObject * obj1 = 0 ;
27621 char *kwnames[] = {
27622 (char *) "self",(char *) "other", NULL
27623 };
27624
27625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27630 {
27631 PyThreadState* __tstate = wxPyBeginAllowThreads();
27632 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27633
27634 wxPyEndAllowThreads(__tstate);
27635 if (PyErr_Occurred()) SWIG_fail;
27636 }
27637 {
27638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27639 }
27640 return resultobj;
27641 fail:
27642 return NULL;
27643}
27644
27645
27646static PyObject *_wrap_VideoMode_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27647 PyObject *resultobj;
27648 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27649 int arg2 ;
27650 PyObject * obj0 = 0 ;
27651 PyObject * obj1 = 0 ;
27652 char *kwnames[] = {
27653 (char *) "self",(char *) "w", NULL
27654 };
27655
27656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27659 arg2 = (int) SWIG_AsInt(obj1);
27660 if (PyErr_Occurred()) SWIG_fail;
27661 if (arg1) (arg1)->w = arg2;
27662
27663 Py_INCREF(Py_None); resultobj = Py_None;
27664 return resultobj;
27665 fail:
27666 return NULL;
27667}
27668
27669
27670static PyObject *_wrap_VideoMode_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27671 PyObject *resultobj;
27672 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27673 int result;
27674 PyObject * obj0 = 0 ;
27675 char *kwnames[] = {
27676 (char *) "self", NULL
27677 };
27678
27679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27682 result = (int) ((arg1)->w);
27683
27684 resultobj = SWIG_FromInt((int)result);
27685 return resultobj;
27686 fail:
27687 return NULL;
27688}
27689
27690
27691static PyObject *_wrap_VideoMode_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27692 PyObject *resultobj;
27693 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27694 int arg2 ;
27695 PyObject * obj0 = 0 ;
27696 PyObject * obj1 = 0 ;
27697 char *kwnames[] = {
27698 (char *) "self",(char *) "h", NULL
27699 };
27700
27701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27704 arg2 = (int) SWIG_AsInt(obj1);
27705 if (PyErr_Occurred()) SWIG_fail;
27706 if (arg1) (arg1)->h = arg2;
27707
27708 Py_INCREF(Py_None); resultobj = Py_None;
27709 return resultobj;
27710 fail:
27711 return NULL;
27712}
27713
27714
27715static PyObject *_wrap_VideoMode_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27716 PyObject *resultobj;
27717 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27718 int result;
27719 PyObject * obj0 = 0 ;
27720 char *kwnames[] = {
27721 (char *) "self", NULL
27722 };
27723
27724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27727 result = (int) ((arg1)->h);
27728
27729 resultobj = SWIG_FromInt((int)result);
27730 return resultobj;
27731 fail:
27732 return NULL;
27733}
27734
27735
27736static PyObject *_wrap_VideoMode_bpp_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27737 PyObject *resultobj;
27738 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27739 int arg2 ;
27740 PyObject * obj0 = 0 ;
27741 PyObject * obj1 = 0 ;
27742 char *kwnames[] = {
27743 (char *) "self",(char *) "bpp", NULL
27744 };
27745
27746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27749 arg2 = (int) SWIG_AsInt(obj1);
27750 if (PyErr_Occurred()) SWIG_fail;
27751 if (arg1) (arg1)->bpp = arg2;
27752
27753 Py_INCREF(Py_None); resultobj = Py_None;
27754 return resultobj;
27755 fail:
27756 return NULL;
27757}
27758
27759
27760static PyObject *_wrap_VideoMode_bpp_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27761 PyObject *resultobj;
27762 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27763 int result;
27764 PyObject * obj0 = 0 ;
27765 char *kwnames[] = {
27766 (char *) "self", NULL
27767 };
27768
27769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27772 result = (int) ((arg1)->bpp);
27773
27774 resultobj = SWIG_FromInt((int)result);
27775 return resultobj;
27776 fail:
27777 return NULL;
27778}
27779
27780
27781static PyObject *_wrap_VideoMode_refresh_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27782 PyObject *resultobj;
27783 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27784 int arg2 ;
27785 PyObject * obj0 = 0 ;
27786 PyObject * obj1 = 0 ;
27787 char *kwnames[] = {
27788 (char *) "self",(char *) "refresh", NULL
27789 };
27790
27791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27794 arg2 = (int) SWIG_AsInt(obj1);
27795 if (PyErr_Occurred()) SWIG_fail;
27796 if (arg1) (arg1)->refresh = arg2;
27797
27798 Py_INCREF(Py_None); resultobj = Py_None;
27799 return resultobj;
27800 fail:
27801 return NULL;
27802}
27803
27804
27805static PyObject *_wrap_VideoMode_refresh_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27806 PyObject *resultobj;
27807 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27808 int result;
27809 PyObject * obj0 = 0 ;
27810 char *kwnames[] = {
27811 (char *) "self", NULL
27812 };
27813
27814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27817 result = (int) ((arg1)->refresh);
27818
27819 resultobj = SWIG_FromInt((int)result);
27820 return resultobj;
27821 fail:
27822 return NULL;
27823}
27824
27825
27826static PyObject * VideoMode_swigregister(PyObject *self, PyObject *args) {
27827 PyObject *obj;
27828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27829 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27830 Py_INCREF(obj);
27831 return Py_BuildValue((char *)"");
27832}
27833static int _wrap_DefaultVideoMode_set(PyObject *_val) {
27834 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27835 return 1;
27836}
27837
27838
27839static PyObject *_wrap_DefaultVideoMode_get() {
27840 PyObject *pyobj;
27841
27842 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27843 return pyobj;
27844}
27845
27846
27847static PyObject *_wrap_new_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27848 PyObject *resultobj;
27849 size_t arg1 = (size_t) 0 ;
27850 wxDisplay *result;
27851 PyObject * obj0 = 0 ;
27852 char *kwnames[] = {
27853 (char *) "index", NULL
27854 };
27855
27856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27857 if (obj0) {
27858 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 }
27861 {
27862 PyThreadState* __tstate = wxPyBeginAllowThreads();
27863 result = (wxDisplay *)new wxDisplay(arg1);
27864
27865 wxPyEndAllowThreads(__tstate);
27866 if (PyErr_Occurred()) SWIG_fail;
27867 }
27868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27869 return resultobj;
27870 fail:
27871 return NULL;
27872}
27873
27874
27875static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27876 PyObject *resultobj;
27877 wxDisplay *arg1 = (wxDisplay *) 0 ;
27878 PyObject * obj0 = 0 ;
27879 char *kwnames[] = {
27880 (char *) "self", NULL
27881 };
27882
27883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27886 {
27887 PyThreadState* __tstate = wxPyBeginAllowThreads();
27888 delete arg1;
27889
27890 wxPyEndAllowThreads(__tstate);
27891 if (PyErr_Occurred()) SWIG_fail;
27892 }
27893 Py_INCREF(Py_None); resultobj = Py_None;
27894 return resultobj;
27895 fail:
27896 return NULL;
27897}
27898
27899
27900static PyObject *_wrap_Display_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
27901 PyObject *resultobj;
27902 size_t result;
27903 char *kwnames[] = {
27904 NULL
27905 };
27906
27907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27908 {
27909 PyThreadState* __tstate = wxPyBeginAllowThreads();
27910 result = (size_t)wxDisplay::GetCount();
27911
27912 wxPyEndAllowThreads(__tstate);
27913 if (PyErr_Occurred()) SWIG_fail;
27914 }
27915 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27916 return resultobj;
27917 fail:
27918 return NULL;
27919}
27920
27921
27922static PyObject *_wrap_Display_GetFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
27923 PyObject *resultobj;
27924 wxPoint *arg1 = 0 ;
27925 int result;
27926 wxPoint temp1 ;
27927 PyObject * obj0 = 0 ;
27928 char *kwnames[] = {
27929 (char *) "pt", NULL
27930 };
27931
27932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27933 {
27934 arg1 = &temp1;
27935 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27936 }
27937 {
27938 PyThreadState* __tstate = wxPyBeginAllowThreads();
27939 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
27940
27941 wxPyEndAllowThreads(__tstate);
27942 if (PyErr_Occurred()) SWIG_fail;
27943 }
27944 resultobj = SWIG_FromInt((int)result);
27945 return resultobj;
27946 fail:
27947 return NULL;
27948}
27949
27950
27951static PyObject *_wrap_Display_GetFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27952 PyObject *resultobj;
27953 wxWindow *arg1 = (wxWindow *) 0 ;
27954 int result;
27955 PyObject * obj0 = 0 ;
27956 char *kwnames[] = {
27957 (char *) "window", NULL
27958 };
27959
27960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
27961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27963 {
27964 PyThreadState* __tstate = wxPyBeginAllowThreads();
27965 result = (int)wxDisplay::GetFromWindow(arg1);
27966
27967 wxPyEndAllowThreads(__tstate);
27968 if (PyErr_Occurred()) SWIG_fail;
27969 }
27970 resultobj = SWIG_FromInt((int)result);
27971 return resultobj;
27972 fail:
27973 return NULL;
27974}
27975
27976
27977static PyObject *_wrap_Display_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27978 PyObject *resultobj;
27979 wxDisplay *arg1 = (wxDisplay *) 0 ;
27980 bool result;
27981 PyObject * obj0 = 0 ;
27982 char *kwnames[] = {
27983 (char *) "self", NULL
27984 };
27985
27986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
27987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27989 {
27990 PyThreadState* __tstate = wxPyBeginAllowThreads();
27991 result = (bool)((wxDisplay const *)arg1)->IsOk();
27992
27993 wxPyEndAllowThreads(__tstate);
27994 if (PyErr_Occurred()) SWIG_fail;
27995 }
27996 {
27997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27998 }
27999 return resultobj;
28000 fail:
28001 return NULL;
28002}
28003
28004
28005static PyObject *_wrap_Display_GetGeometry(PyObject *self, PyObject *args, PyObject *kwargs) {
28006 PyObject *resultobj;
28007 wxDisplay *arg1 = (wxDisplay *) 0 ;
28008 wxRect result;
28009 PyObject * obj0 = 0 ;
28010 char *kwnames[] = {
28011 (char *) "self", NULL
28012 };
28013
28014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
28015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28017 {
28018 PyThreadState* __tstate = wxPyBeginAllowThreads();
28019 result = ((wxDisplay const *)arg1)->GetGeometry();
28020
28021 wxPyEndAllowThreads(__tstate);
28022 if (PyErr_Occurred()) SWIG_fail;
28023 }
28024 {
28025 wxRect * resultptr;
28026 resultptr = new wxRect((wxRect &) result);
28027 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
28028 }
28029 return resultobj;
28030 fail:
28031 return NULL;
28032}
28033
28034
28035static PyObject *_wrap_Display_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
28036 PyObject *resultobj;
28037 wxDisplay *arg1 = (wxDisplay *) 0 ;
28038 wxString result;
28039 PyObject * obj0 = 0 ;
28040 char *kwnames[] = {
28041 (char *) "self", NULL
28042 };
28043
28044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
28045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28047 {
28048 PyThreadState* __tstate = wxPyBeginAllowThreads();
28049 result = ((wxDisplay const *)arg1)->GetName();
28050
28051 wxPyEndAllowThreads(__tstate);
28052 if (PyErr_Occurred()) SWIG_fail;
28053 }
28054 {
28055#if wxUSE_UNICODE
28056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28057#else
28058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28059#endif
28060 }
28061 return resultobj;
28062 fail:
28063 return NULL;
28064}
28065
28066
28067static PyObject *_wrap_Display_IsPrimary(PyObject *self, PyObject *args, PyObject *kwargs) {
28068 PyObject *resultobj;
28069 wxDisplay *arg1 = (wxDisplay *) 0 ;
28070 bool result;
28071 PyObject * obj0 = 0 ;
28072 char *kwnames[] = {
28073 (char *) "self", NULL
28074 };
28075
28076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
28077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28079 {
28080 PyThreadState* __tstate = wxPyBeginAllowThreads();
28081 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
28082
28083 wxPyEndAllowThreads(__tstate);
28084 if (PyErr_Occurred()) SWIG_fail;
28085 }
28086 {
28087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28088 }
28089 return resultobj;
28090 fail:
28091 return NULL;
28092}
28093
28094
28095static PyObject *_wrap_Display_GetModes(PyObject *self, PyObject *args, PyObject *kwargs) {
28096 PyObject *resultobj;
28097 wxDisplay *arg1 = (wxDisplay *) 0 ;
28098 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28099 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28100 PyObject *result;
28101 PyObject * obj0 = 0 ;
28102 PyObject * obj1 = 0 ;
28103 char *kwnames[] = {
28104 (char *) "self",(char *) "mode", NULL
28105 };
28106
28107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
28108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28110 if (obj1) {
28111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28112 SWIG_POINTER_EXCEPTION | 0)) == -1)
28113 SWIG_fail;
28114 if (arg2 == NULL) {
28115 PyErr_SetString(PyExc_TypeError,"null reference");
28116 SWIG_fail;
28117 }
28118 }
28119 {
28120 PyThreadState* __tstate = wxPyBeginAllowThreads();
28121 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
28122
28123 wxPyEndAllowThreads(__tstate);
28124 if (PyErr_Occurred()) SWIG_fail;
28125 }
28126 resultobj = result;
28127 return resultobj;
28128 fail:
28129 return NULL;
28130}
28131
28132
28133static PyObject *_wrap_Display_GetCurrentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28134 PyObject *resultobj;
28135 wxDisplay *arg1 = (wxDisplay *) 0 ;
28136 wxVideoMode result;
28137 PyObject * obj0 = 0 ;
28138 char *kwnames[] = {
28139 (char *) "self", NULL
28140 };
28141
28142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
28143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28145 {
28146 PyThreadState* __tstate = wxPyBeginAllowThreads();
28147 result = ((wxDisplay const *)arg1)->GetCurrentMode();
28148
28149 wxPyEndAllowThreads(__tstate);
28150 if (PyErr_Occurred()) SWIG_fail;
28151 }
28152 {
28153 wxVideoMode * resultptr;
28154 resultptr = new wxVideoMode((wxVideoMode &) result);
28155 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
28156 }
28157 return resultobj;
28158 fail:
28159 return NULL;
28160}
28161
28162
28163static PyObject *_wrap_Display_ChangeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28164 PyObject *resultobj;
28165 wxDisplay *arg1 = (wxDisplay *) 0 ;
28166 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28167 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28168 bool result;
28169 PyObject * obj0 = 0 ;
28170 PyObject * obj1 = 0 ;
28171 char *kwnames[] = {
28172 (char *) "self",(char *) "mode", NULL
28173 };
28174
28175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28178 if (obj1) {
28179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28180 SWIG_POINTER_EXCEPTION | 0)) == -1)
28181 SWIG_fail;
28182 if (arg2 == NULL) {
28183 PyErr_SetString(PyExc_TypeError,"null reference");
28184 SWIG_fail;
28185 }
28186 }
28187 {
28188 PyThreadState* __tstate = wxPyBeginAllowThreads();
28189 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28190
28191 wxPyEndAllowThreads(__tstate);
28192 if (PyErr_Occurred()) SWIG_fail;
28193 }
28194 {
28195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28196 }
28197 return resultobj;
28198 fail:
28199 return NULL;
28200}
28201
28202
28203static PyObject *_wrap_Display_ResetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28204 PyObject *resultobj;
28205 wxDisplay *arg1 = (wxDisplay *) 0 ;
28206 PyObject * obj0 = 0 ;
28207 char *kwnames[] = {
28208 (char *) "self", NULL
28209 };
28210
28211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28214 {
28215 PyThreadState* __tstate = wxPyBeginAllowThreads();
28216 (arg1)->ResetMode();
28217
28218 wxPyEndAllowThreads(__tstate);
28219 if (PyErr_Occurred()) SWIG_fail;
28220 }
28221 Py_INCREF(Py_None); resultobj = Py_None;
28222 return resultobj;
28223 fail:
28224 return NULL;
28225}
28226
28227
28228static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
28229 PyObject *obj;
28230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28231 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28232 Py_INCREF(obj);
28233 return Py_BuildValue((char *)"");
28234}
28235static PyMethodDef SwigMethods[] = {
28236 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
28237 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
28238 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
28239 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
28240 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
28241 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
28242 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
28243 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
28244 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
28245 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
28246 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
28247 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
28248 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
28249 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
28250 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
28251 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
28252 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
28253 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
28254 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
28255 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
28256 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
28257 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
28258 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
28259 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
28260 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
28261 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
28262 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
28263 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
28264 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
28265 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
28266 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
28267 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
28268 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
28269 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
28270 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
28271 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
28272 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
28273 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
28274 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
28275 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
28276 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
28277 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
28278 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
28279 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
28280 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
28281 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
28282 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
28283 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
28284 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
28285 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
28286 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
28287 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
28288 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
28289 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
28290 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
28291 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
28292 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
28293 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28294 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28295 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28296 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28297 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
28298 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
28299 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
28300 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28301 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28302 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
28303 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
28304 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
28305 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
28306 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
28307 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28308 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28309 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
28310 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
28311 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
28312 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
28313 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
28314 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
28315 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
28316 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
28317 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
28318 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
28319 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
28320 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
28321 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
28322 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
28323 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
28324 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
28325 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
28326 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
28327 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
28328 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
28329 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
28330 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
28331 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
28332 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
28333 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
28334 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28335 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28336 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28337 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28338 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
28339 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28340 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28341 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
28342 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28343 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28344 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
28345 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
28346 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
28347 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
28348 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
28349 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
28350 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
28351 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
28352 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
28353 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
28354 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
28355 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
28356 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
28357 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
28358 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
28359 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
28360 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
28361 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
28362 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
28363 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
28364 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
28365 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28366 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28367 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28368 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
28369 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
28370 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
28371 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
28372 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
28373 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
28374 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
28375 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
28376 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
28377 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
28378 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28379 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
28380 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
28381 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
28382 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
28383 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
28384 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28385 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
1a6bba1e 28386 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28387 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
28388 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
28389 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
28390 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
28391 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
28392 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
28393 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
28394 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
28395 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
28396 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
28397 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
28398 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
28399 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
28400 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
28401 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
28402 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
28403 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
28404 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
28405 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
28406 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
28407 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28408 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28409 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
28410 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
28411 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
28412 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
28413 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28414 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
28415 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
28416 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
28417 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
28418 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
28419 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
28420 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
28421 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
28422 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
28423 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
28424 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
28425 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
28426 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
28427 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
28428 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
28429 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
28430 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
28431 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
28432 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
28433 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
28434 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
28435 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
28436 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
28437 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28438 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28439 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
28440 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
28441 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
28442 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
28443 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
28444 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28445 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28446 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
28447 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
28448 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
28449 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
28450 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
28451 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
28452 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
28453 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
28454 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
28455 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
28456 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
28457 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
28458 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
28459 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
28460 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
28461 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
28462 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
28463 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
28464 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
28465 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
28466 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28467 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
28468 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
28469 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
28470 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
28471 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
28472 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28473 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
28474 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
28475 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
28476 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
28477 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
28478 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
28479 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
28480 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
28481 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
28482 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
28483 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
28484 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
28485 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
28486 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
28487 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
28488 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
28489 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
28490 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
28491 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
28492 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
28493 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
28494 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
28495 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
28496 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
28497 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28498 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28499 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
28500 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
28501 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
28502 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
28503 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
28504 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28505 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28506 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
28507 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
28508 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
28509 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
28510 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
28511 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
28512 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
28513 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
28514 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
28515 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
28516 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
28517 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
28518 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
28519 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
28520 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
28521 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
28522 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
28523 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
28524 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
28525 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
28526 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
28527 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
28528 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
28529 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
28530 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
28531 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
28532 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
28533 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
28534 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
28535 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
28536 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
28537 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
28538 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
28539 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
28540 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
28541 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
28542 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
28543 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
28544 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
28545 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
28546 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
28547 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
28548 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
28549 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
28550 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
28551 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28552 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28553 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
28554 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
28555 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
28556 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
28557 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
28558 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
28559 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
28560 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
28561 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
28562 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
28563 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
28564 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
28565 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
28566 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
b1f29bf7
RD
28567 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS },
28568 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc 28569 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
b1f29bf7
RD
28570 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS },
28571 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc 28572 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
b1f29bf7
RD
28573 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS },
28574 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28575 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
28576 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
28577 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28578 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
28579 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28580 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
28581 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
28582 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
28583 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28584 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28585 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28586 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
28587 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
28588 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28589 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
28590 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
28591 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
28592 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
28593 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
28594 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
28595 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28596 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
28597 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28598 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
28599 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
28600 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
28601 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28602 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28603 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
28604 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
28605 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
28606 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
28607 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
28608 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
28609 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
28610 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28611 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
28612 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
28613 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
28614 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
28615 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
28616 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
28617 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
28618 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
28619 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
28620 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
28621 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28622 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
28623 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
28624 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28625 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
28626 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
28627 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
28628 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28629 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
28630 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
28631 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
28632 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
28633 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
28634 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
28635 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
28636 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28637 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
28638 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
28639 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
28640 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
28641 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
28642 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
28643 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
28644 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
28645 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
28646 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
28647 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
28648 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
28649 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
28650 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
28651 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
28652 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
28653 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
28654 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
28655 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
28656 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
28657 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
28658 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
28659 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
28660 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
28661 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
28662 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
28663 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28664 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
28665 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
28666 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
28667 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28668 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
28669 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
28670 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
28671 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
28672 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
28673 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
28674 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
28675 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
28676 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
28677 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
28678 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
28679 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
28680 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
28681 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28682 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28683 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
28684 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
28685 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28686 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
28687 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
28688 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
28689 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
28690 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
28691 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
28692 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
28693 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
28694 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
28695 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
28696 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
28697 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
28698 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
28699 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
28700 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
28701 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
28702 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
28703 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
28704 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
28705 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
28706 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
28707 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
28708 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
28709 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
28710 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
28711 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
28712 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
28713 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
28714 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
28715 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
28716 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
28717 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
28718 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
28719 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
28720 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
28721 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
28722 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
28723 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
28724 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28725 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28726 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28727 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28728 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28729 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28730 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
28731 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28732 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28733 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
28734 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
28735 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28736 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28737 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
28738 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
28739 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28740 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
28741 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28742 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
28743 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
28744 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
28745 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
28746 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
28747 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
28748 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
28749 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
28750 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
28751 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
28752 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
28753 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
28754 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
28755 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
28756 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
28757 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
28758 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
28759 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
28760 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
28761 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
28762 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
28763 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28764 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
28765 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
28766 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
28767 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
28768 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
28769 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
28770 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
28771 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
28772 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
28773 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
28774 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
28775 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
28776 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
28777 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
28778 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
28779 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
28780 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
28781 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
28782 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
28783 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
28784 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
28785 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
28786 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
28787 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
28788 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
28789 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
28790 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
28791 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
28792 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
28793 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
28794 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
28795 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
28796 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
28797 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
28798 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
28799 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
28800 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
28801 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
28802 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
28803 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
28804 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
28805 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28806 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
28807 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28808 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28809 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
28810 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28811 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28812 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28813 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
28814 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28815 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28816 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28817 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28818 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
28819 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28820 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28821 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28822 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
28823 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
28824 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
28825 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
28826 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28827 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28828 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
28829 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
28830 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
28831 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28832 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
28833 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
28834 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28835 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28836 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
28837 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
28838 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
28839 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
28840 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
28841 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
28842 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
28843 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
28844 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
28845 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
28846 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28847 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
28848 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
28849 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
28850 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
28851 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
28852 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
28853 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
28854 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
28855 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
28856 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
28857 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
28858 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28859 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28860 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
28861 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
28862 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28863 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28864 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28865 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28866 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28867 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28868 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28869 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
28870 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28871 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28872 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28873 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28874 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28875 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
28876 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
28877 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
28878 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
28879 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
28880 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
28881 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
28882 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
28883 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
28884 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
28885 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
28886 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
28887 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
28888 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
28889 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
28890 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
28891 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
28892 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
28893 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
28894 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28895 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
28896 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28897 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28898 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
28899 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28900 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
28901 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
a07a67e6
RD
28902 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28903 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28904 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28905 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
28906 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28907 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28908 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
28909 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
28910 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
28911 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
28912 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
28913 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
28914 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
28915 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
28916 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
28917 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
28918 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28919 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
28920 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28921 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28922 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
28923 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
28924 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28925 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28926 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
28927 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
28928 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
28929 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
28930 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
28931 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28932 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28933 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
28934 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
28935 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
28936 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
28937 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
28938 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
28939 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
28940 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
28941 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
28942 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
28943 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
28944 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
28945 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
28946 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28947 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
28948 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
28949 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28950 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
28951 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
28952 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
28953 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
28954 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
28955 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28956 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
28957 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28958 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
28959 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28960 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28961 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28962 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28963 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
28964 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
28965 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
28966 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28967 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28968 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28969 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28970 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28971 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28972 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
28973 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
28974 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28975 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28976 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28977 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28978 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28979 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28980 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
28981 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
28982 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
28983 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
28984 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
28985 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
28986 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
28987 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
28988 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
28989 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
28990 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
28991 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
28992 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
28993 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
28994 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28995 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28996 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
28997 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
28998 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS },
28999 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS },
29000 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS },
29001 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS },
29002 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS },
29003 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS },
29004 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS },
29005 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS },
29006 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS },
29007 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS },
29008 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS },
29009 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS },
29010 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS },
29011 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS },
29012 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS },
29013 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS },
29014 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS },
29015 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS },
29016 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS },
29017 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS },
29018 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS },
29019 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS },
29020 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS },
29021 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS },
29022 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS },
29023 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS },
29024 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS },
29025 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS },
29026 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS },
29027 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS },
29028 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS },
29029 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
29030 { NULL, NULL }
29031};
29032
29033
29034/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29035
29036static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29037 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29038}
29039static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29040 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29041}
29042static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29043 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29044}
29045static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29046 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29047}
29048static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29049 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29050}
29051static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29052 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29053}
29054static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
29055 return (void *)((wxEvent *) ((wxTimerEvent *) x));
29056}
29057static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29058 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29059}
29060static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29061 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29062}
29063static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29064 return (void *)((wxEvent *) ((wxPyEvent *) x));
29065}
29066static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29067 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29068}
29069static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
29070 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
29071}
29072static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29073 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29074}
29075static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29076 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29077}
29078static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29079 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29080}
29081static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29082 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29083}
29084static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29085 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29086}
29087static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29088 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29089}
29090static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29091 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29092}
29093static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29094 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29095}
29096static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
29097 return (void *)((wxEvent *) ((wxPaintEvent *) x));
29098}
29099static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
29100 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
29101}
29102static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
29103 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
29104}
29105static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
29106 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
29107}
29108static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
29109 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
29110}
29111static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
29112 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29113}
29114static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
29115 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
29116}
29117static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
29118 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
29119}
29120static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
29121 return (void *)((wxEvent *) ((wxFocusEvent *) x));
29122}
29123static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
29124 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
29125}
29126static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
29127 return (void *)((wxEvent *) ((wxProcessEvent *) x));
29128}
29129static void *_p_wxShowEventTo_p_wxEvent(void *x) {
29130 return (void *)((wxEvent *) ((wxShowEvent *) x));
29131}
29132static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
29133 return (void *)((wxEvent *) ((wxCommandEvent *) x));
29134}
29135static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
29136 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
29137}
29138static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
29139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29140}
29141static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
29142 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
29143}
29144static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
29145 return (void *)((wxEvent *) ((wxKeyEvent *) x));
29146}
29147static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
29148 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
29149}
29150static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
29151 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
29152}
29153static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
29154 return (void *)((wxConfigBase *) ((wxConfig *) x));
29155}
29156static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
29157 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29158}
29159static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
29160 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
29161}
29162static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
29163 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
29164}
29165static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
29166 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29167}
29168static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
29169 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
29170}
29171static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
29172 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
29173}
29174static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29175 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29176}
29177static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29178 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29179}
29180static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29181 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29182}
29183static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29184 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29185}
29186static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29187 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29188}
29189static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29190 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29191}
29192static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29193 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29194}
29195static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29196 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29197}
29198static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29199 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29200}
29201static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29202 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29203}
29204static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29205 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29206}
29207static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29208 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29209}
29210static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29211 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29212}
29213static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29214 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29215}
29216static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29217 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29218}
29219static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29220 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29221}
29222static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29223 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29224}
29225static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29226 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29227}
29228static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29229 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29230}
29231static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29232 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29233}
29234static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29235 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29236}
29237static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29238 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29239}
29240static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29241 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29242}
29243static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29244 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29245}
29246static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29247 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29248}
29249static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29250 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29251}
29252static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29253 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29254}
29255static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29256 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29257}
29258static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29259 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29260}
29261static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29262 return (void *)((wxObject *) ((wxSizerItem *) x));
29263}
29264static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29265 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29266}
29267static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29268 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29269}
29270static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29271 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29272}
29273static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29274 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29275}
29276static void *_p_wxSizerTo_p_wxObject(void *x) {
29277 return (void *)((wxObject *) ((wxSizer *) x));
29278}
29279static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29280 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29281}
29282static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29283 return (void *)((wxObject *) ((wxFileHistory *) x));
29284}
29285static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29286 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29287}
29288static void *_p_wxEventTo_p_wxObject(void *x) {
29289 return (void *)((wxObject *) ((wxEvent *) x));
29290}
29291static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29292 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29293}
29294static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29295 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29296}
29297static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29298 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29299}
29300static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29301 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29302}
29303static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29304 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29305}
29306static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29307 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29308}
29309static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29310 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29311}
29312static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29313 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29314}
29315static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29316 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29317}
29318static void *_p_wxControlTo_p_wxObject(void *x) {
29319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29320}
29321static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29322 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29323}
29324static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29325 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29326}
29327static void *_p_wxFSFileTo_p_wxObject(void *x) {
29328 return (void *)((wxObject *) ((wxFSFile *) x));
29329}
29330static void *_p_wxClipboardTo_p_wxObject(void *x) {
29331 return (void *)((wxObject *) ((wxClipboard *) x));
29332}
29333static void *_p_wxPySizerTo_p_wxObject(void *x) {
29334 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29335}
29336static void *_p_wxPyEventTo_p_wxObject(void *x) {
29337 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29338}
29339static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29340 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29341}
29342static void *_p_wxShowEventTo_p_wxObject(void *x) {
29343 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29344}
29345static void *_p_wxToolTipTo_p_wxObject(void *x) {
29346 return (void *)((wxObject *) ((wxToolTip *) x));
29347}
29348static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29349 return (void *)((wxObject *) ((wxMenuItem *) x));
29350}
29351static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29352 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29353}
29354static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29355 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29356}
29357static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29358 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29359}
29360static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29361 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29362}
29363static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29364 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29365}
29366static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29367 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29368}
29369static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29370 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29371}
29372static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29373 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29374}
29375static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29376 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29377}
29378static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29379 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29380}
29381static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29382 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29383}
29384static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29385 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29386}
29387static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29388 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29389}
29390static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29391 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29392}
29393static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29394 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29395}
29396static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29397 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29398}
29399static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29400 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29401}
29402static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29403 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29404}
29405static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29406 return (void *)((wxObject *) ((wxImageHandler *) x));
29407}
29408static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29409 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29410}
29411static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29412 return (void *)((wxObject *) ((wxEvtHandler *) x));
29413}
29414static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29415 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29416}
29417static void *_p_wxImageTo_p_wxObject(void *x) {
29418 return (void *)((wxObject *) ((wxImage *) x));
29419}
29420static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29421 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29422}
29423static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29424 return (void *)((wxObject *) ((wxSystemOptions *) x));
29425}
29426static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29427 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29428}
29429static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29430 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29431}
29432static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29433 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29434}
29435static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29436 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29437}
29438static void *_p_wxWindowTo_p_wxObject(void *x) {
29439 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29440}
29441static void *_p_wxMenuTo_p_wxObject(void *x) {
29442 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29443}
29444static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29446}
29447static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29448 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29449}
29450static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29451 return (void *)((wxObject *) ((wxFileSystem *) x));
29452}
29453static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29454 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29455}
29456static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29457 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29458}
29459static void *_p_wxPyAppTo_p_wxObject(void *x) {
29460 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29461}
29462static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29463 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29464}
29465static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29466 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29467}
29468static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29469 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29470}
29471static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29472 return (void *)((wxObject *) ((wxBusyInfo *) x));
29473}
29474static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29475 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29476}
29477static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29478 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29479}
29480static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29481 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29482}
29483static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29484 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29485}
29486static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29487 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29488}
29489static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29490 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29491}
29492static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29494}
29495static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29496 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29497}
29498static void *_p_wxValidatorTo_p_wxObject(void *x) {
29499 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29500}
29501static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29502 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29503}
29504static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29505 return (void *)((wxLog *) ((wxLogStderr *) x));
29506}
29507static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29508 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29509}
29510static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29511 return (void *)((wxLog *) ((wxLogWindow *) x));
29512}
29513static void *_p_wxLogChainTo_p_wxLog(void *x) {
29514 return (void *)((wxLog *) ((wxLogChain *) x));
29515}
29516static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29517 return (void *)((wxLog *) ((wxLogGui *) x));
29518}
29519static void *_p_wxPyLogTo_p_wxLog(void *x) {
29520 return (void *)((wxLog *) ((wxPyLog *) x));
29521}
29522static void *_p_wxControlTo_p_wxWindow(void *x) {
29523 return (void *)((wxWindow *) ((wxControl *) x));
29524}
29525static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29526 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29527}
29528static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29529 return (void *)((wxWindow *) ((wxMenuBar *) x));
29530}
29531static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29532 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29533}
29534static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29535 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29536}
29537static 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}};
29538static 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}};
29539static 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}};
29540static 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}};
29541static 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}};
29542static 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}};
29543static 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}};
29544static 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}};
29545static 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}};
29546static 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}};
29547static 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}};
29548static 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}};
29549static 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}};
29550static 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}};
29551static 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}};
29552static 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}};
29553static 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}};
29554static 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}};
29555static 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}};
29556static 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}};
29557static 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}};
29558static 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}};
29559static 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}};
29560static 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}};
29561static 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}};
29562static 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}};
29563static 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 29564static 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
29565static 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}};
29566static 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}};
29567static 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}};
29568static 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
29569static 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}};
29570static 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}};
29571static 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}};
29572static 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}};
29573static 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}};
29574static 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}};
29575static 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}};
29576static 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}};
29577static 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}};
29578static 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}};
29579static 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}};
29580static 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}};
29581static 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}};
29582static 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}};
29583static 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}};
29584static 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}};
29585static 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}};
29586static 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}};
29587static 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}};
29588static 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}};
29589static 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}};
29590static 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}};
29591static 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}};
29592static 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}};
29593static 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}};
29594static 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}};
29595static 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}};
29596static 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}};
29597static 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}};
29598static 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}};
29599static 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}};
29600static 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}};
29601static 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}};
29602static 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}};
29603static 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}};
29604static 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}};
29605static 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}};
29606static 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}};
29607static 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}};
29608static 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}};
29609static 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}};
29610static 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}};
29611static 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}};
29612static 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}};
29613static 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}};
29614static 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}};
29615static 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}};
29616static 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}};
29617static 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}};
29618static 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}};
29619static 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
29620static 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}};
29621static 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}};
29622static 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}};
29623
29624static swig_type_info *swig_types_initial[] = {
29625_swigt__p_wxLogChain,
29626_swigt__p_wxMutexGuiLocker,
29627_swigt__p_wxMetafile,
29628_swigt__p_wxFileHistory,
29629_swigt__p_wxLog,
29630_swigt__p_wxDateTime__TimeZone,
29631_swigt__p_wxMenu,
29632_swigt__p_wxEvent,
29633_swigt__p_wxConfigBase,
29634_swigt__p_wxDisplay,
29635_swigt__p_wxFileType,
29636_swigt__p_wxLogGui,
29637_swigt__p_wxFont,
29638_swigt__p_wxDataFormat,
29639_swigt__p_wxTimerEvent,
29640_swigt__p_wxCaret,
29641_swigt__p_int,
29642_swigt__p_wxSize,
29643_swigt__p_wxClipboard,
29644_swigt__p_wxStopWatch,
29645_swigt__p_wxDC,
29646_swigt__p_wxClipboardLocker,
29647_swigt__p_wxIcon,
29648_swigt__p_wxLogStderr,
29649_swigt__p_wxLogTextCtrl,
29650_swigt__p_wxTextCtrl,
29651_swigt__p_wxBusyCursor,
b1f29bf7 29652_swigt__p_wxPyBitmapDataObject,
d55e5bfc
RD
29653_swigt__p_wxPyTextDataObject,
29654_swigt__p_wxBitmapDataObject,
29655_swigt__p_wxTextDataObject,
29656_swigt__p_wxDataObject,
d55e5bfc
RD
29657_swigt__p_wxFileDataObject,
29658_swigt__p_wxCustomDataObject,
29659_swigt__p_wxURLDataObject,
29660_swigt__p_wxMetafileDataObject,
29661_swigt__p_wxSound,
29662_swigt__p_wxTimerRunner,
29663_swigt__p_wxLogWindow,
29664_swigt__p_wxTimeSpan,
29665_swigt__p_wxArrayString,
29666_swigt__p_wxWindowDisabler,
29667_swigt__p_wxToolTip,
29668_swigt__p_wxDataObjectComposite,
29669_swigt__p_wxFileConfig,
29670_swigt__p_wxSystemSettings,
29671_swigt__p_wxVideoMode,
29672_swigt__p_wxPyDataObjectSimple,
29673_swigt__p_wxDataObjectSimple,
29674_swigt__p_wxEvtHandler,
29675_swigt__p_wxRect,
29676_swigt__p_char,
29677_swigt__p_wxSingleInstanceChecker,
29678_swigt__p_wxFileTypeInfo,
29679_swigt__p_wxFrame,
29680_swigt__p_wxTimer,
29681_swigt__p_wxMimeTypesManager,
29682_swigt__p_wxPyArtProvider,
29683_swigt__p_wxPyTipProvider,
29684_swigt__p_wxTipProvider,
29685_swigt__p_wxJoystick,
29686_swigt__p_wxSystemOptions,
29687_swigt__p_wxPoint,
29688_swigt__p_wxJoystickEvent,
29689_swigt__p_wxCursor,
29690_swigt__p_wxObject,
29691_swigt__p_wxOutputStream,
29692_swigt__p_wxDateTime,
29693_swigt__p_wxPyDropSource,
29694_swigt__p_wxWindow,
29695_swigt__p_wxString,
29696_swigt__p_wxPyProcess,
29697_swigt__p_wxBitmap,
29698_swigt__p_wxConfig,
29699_swigt__p_wxChar,
29700_swigt__p_wxBusyInfo,
29701_swigt__p_wxPyDropTarget,
29702_swigt__p_wxPyTextDropTarget,
29703_swigt__p_wxPyFileDropTarget,
29704_swigt__p_wxProcessEvent,
29705_swigt__p_wxPyLog,
29706_swigt__p_wxLogNull,
29707_swigt__p_wxColour,
d55e5bfc
RD
29708_swigt__p_wxConfigPathChanger,
29709_swigt__p_wxPyTimer,
29710_swigt__p_wxDateSpan,
297110
29712};
29713
29714
29715/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29716
29717static swig_const_info swig_const_table[] = {
29718{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29719{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29720{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29721{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29722{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
29723{0}};
29724
29725#ifdef __cplusplus
29726}
29727#endif
29728
29729#ifdef __cplusplus
29730extern "C"
29731#endif
29732SWIGEXPORT(void) SWIG_init(void) {
29733 static PyObject *SWIG_globals = 0;
29734 static int typeinit = 0;
29735 PyObject *m, *d;
29736 int i;
29737 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29738 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29739 d = PyModule_GetDict(m);
29740
29741 if (!typeinit) {
29742 for (i = 0; swig_types_initial[i]; i++) {
29743 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29744 }
29745 typeinit = 1;
29746 }
29747 SWIG_InstallConstants(d,swig_const_table);
29748
29749 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29750 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29751 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29752 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29753 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29754 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29755 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29756 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29757 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29758 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29759 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29760 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29761 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29762 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29763 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29764 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29765 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29766 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29767 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29768 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29769 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29770 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29771 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29772 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29773 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29774 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29775 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29776 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29777 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29778 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29779 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29780 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29781 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29782 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29783 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29784 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29785 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29786 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29787 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29788 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29789 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29790 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29791 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29792 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29793 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29794 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29795 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29796 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29797 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29798 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29799 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29800 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29801 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29802 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29803 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29804 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29805 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29806 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29807 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29808 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29809 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29810 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29811 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29812 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29813 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29814 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29815 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29816 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29817 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29818 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29819 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29820 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29821 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29822 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29823 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29824 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29825 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29826 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29827 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29828 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29829 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29830 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29831 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29832 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29833 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29834 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29835 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29836 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29837 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29838 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29839 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
29840 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29841 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29842 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29843 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29844 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29845 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29846 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29847 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
29848 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
1a6bba1e
RD
29849
29850 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29851
d55e5bfc
RD
29852 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29853 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29854 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29855 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29856 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29857 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29858 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29859 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29860 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29861 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29862 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29863 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29864 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29865 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29866 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29867 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29868 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29869 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29870 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29871 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29872 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29873 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29874 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29875 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29876 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29877 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29878 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29879 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29880 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29881 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29882 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29883 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29884 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29885 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29886 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29887 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29888 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29889 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29890 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29891 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29892 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29893 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29894 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29895 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29896 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
29897 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
29898 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29899 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29900 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29901 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
29902
29903 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29904
29905 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29906 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29907 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29908 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29909 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29910 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29911 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
29912 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29913 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29914 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29915 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
29916 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29917 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29918 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29919 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29920 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29921 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29922 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29923 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
29924 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29925 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29926 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29927 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29928 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29929 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29930 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
29931 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29932 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29933 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29934 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29935 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29936 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
29937 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
29938 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
29939 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
29940 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
29941 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
29942 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
29943 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
29944 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
29945 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
29946 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
29947 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
29948 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
29949 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
29950 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
29951 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
29952 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
29953 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
29954 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
29955 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
29956 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
29957 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
29958 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
29959 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
29960 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
29961 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
29962 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
29963
29964 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29965
29966 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
29967 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
29968 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
29969 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
29970 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
29971 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
29972 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
29973 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
29974 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
29975 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
29976 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
29977 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
29978 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
29979 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
29980 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
29981 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
29982 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
29983 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
29984 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
29985 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
29986 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
29987 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
29988 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
29989 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
29990 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
29991 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
29992 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
29993 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
29994 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
29995 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
29996 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
29997 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
29998 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
29999 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
30000 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
30001 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
30002 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
30003 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
30004 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
30005 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
30006 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
30007 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
30008 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
30009 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
30010 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
30011 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
30012 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
30013 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
30014 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
30015 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
30016 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
30017 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
30018 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
30019 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
30020 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
30021 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
30022 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
30023 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
30024 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
30025 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
30026 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
30027 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
30028 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
30029 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
30030 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
30031 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
30032 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
30033 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
30034 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
30035 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
30036 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
30037 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
30038 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
30039 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
30040 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
30041 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
30042 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
30043 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
30044 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
30045 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
30046 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
30047 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
30048 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
30049 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
30050 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
30051 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
30052 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
30053 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
30054 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
30055 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
30056 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
30057 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
30058 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
30059 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
30060 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
30061 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
30062 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
30063 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
30064 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
30065 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
30066 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
30067 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
30068 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
30069 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
30070 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
30071 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
30072 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
30073 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
30074 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
30075 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
30076 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
30077 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
30078 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
30079 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
30080 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
30081 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
30082 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
30083 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
30084 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
30085 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
30086 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
30087 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
30088 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
30089 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
30090 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
30091 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
30092 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
30093 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
30094 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
30095 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
30096 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
30097 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
30098 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
30099 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
30100 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
30101 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
30102 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
30103 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
30104 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
30105 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
30106 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
30107 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
30108 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
30109 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
30110 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
30111 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
30112 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
30113 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
30114 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
30115 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
30116 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
30117 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
30118 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
30119 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
30120 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
30121 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
30122 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
30123 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
30124 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
30125 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
30126 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
30127 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
30128 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
30129 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
30130 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
30131 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
30132 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
30133 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
30134 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
30135 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
30136 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
30137 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
30138 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
30139 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
30140 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
30141 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
30142 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
30143 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
30144 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
30145 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
30146 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
30147 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
30148 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
30149 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
30150 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
30151 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
30152 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
30153 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
30154 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
30155 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
30156 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
30157 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
30158 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
30159 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
30160 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
30161 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
30162 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
30163 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
30164 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
30165 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
30166
30167 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30168 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30169 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30170 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30171
30172 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
30173 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
30174}
30175