]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_misc_wrap.cpp
Add DLL export macros
[wxWidgets.git] / wxPython / src / mac / _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]
0346c964
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]
0346c964
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; }
15817c7e 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 }
0346c964 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
0346c964 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
0346c964
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
d55e5bfc 883 bool blocked = wxPyBeginBlockThreads();
0346c964
RD
884 if (!PyArg_Parse(data, "t#", &buffer, &size))
885 goto done;
886 sound = new wxSound(size, buffer);
887 done:
d55e5bfc 888 wxPyEndBlockThreads(blocked);
0346c964
RD
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
d55e5bfc
RD
911 }
912void Sound_Stop(){ wxPyRaiseNotImplemented(); }
913
914#include <wx/mimetype.h>
915
916PyObject *wxFileType_GetMimeType(wxFileType *self){
917 wxString str;
918 if (self->GetMimeType(&str))
919 return wx2PyString(str);
920 else
921 RETURN_NONE();
922 }
923PyObject *wxFileType_GetMimeTypes(wxFileType *self){
924 wxArrayString arr;
925 if (self->GetMimeTypes(arr))
926 return wxArrayString2PyList_helper(arr);
927 else
928 RETURN_NONE();
929 }
930PyObject *wxFileType_GetExtensions(wxFileType *self){
931 wxArrayString arr;
932 if (self->GetExtensions(arr))
933 return wxArrayString2PyList_helper(arr);
934 else
935 RETURN_NONE();
936 }
937wxIcon *wxFileType_GetIcon(wxFileType *self){
938 wxIconLocation loc;
939 if (self->GetIcon(&loc))
940 return new wxIcon(loc);
941 else
942 return NULL;
943 }
944PyObject *wxFileType_GetIconInfo(wxFileType *self){
945 wxIconLocation loc;
946 if (self->GetIcon(&loc)) {
947 wxString iconFile = loc.GetFileName();
948 int iconIndex = -1;
949
950
951
952 // Make a tuple and put the values in it
953 bool blocked = wxPyBeginBlockThreads();
954 PyObject* tuple = PyTuple_New(3);
955 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
956 wxT("wxIcon"), True));
957 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
958 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
959 wxPyEndBlockThreads(blocked);
960 return tuple;
961 }
962 else
963 RETURN_NONE();
964 }
965PyObject *wxFileType_GetDescription(wxFileType *self){
966 wxString str;
967 if (self->GetDescription(&str))
968 return wx2PyString(str);
969 else
970 RETURN_NONE();
971 }
972PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
973 wxString str;
974 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
975 return wx2PyString(str);
976 else
977 RETURN_NONE();
978 }
979PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
980 wxString str;
981 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
982 return wx2PyString(str);
983 else
984 RETURN_NONE();
985 }
986PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
987 wxArrayString verbs;
988 wxArrayString commands;
989 if (self->GetAllCommands(&verbs, &commands,
990 wxFileType::MessageParameters(filename, mimetype))) {
991 bool blocked = wxPyBeginBlockThreads();
992 PyObject* tuple = PyTuple_New(2);
993 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
994 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
995 wxPyEndBlockThreads(blocked);
996 return tuple;
997 }
998 else
999 RETURN_NONE();
1000 }
1001wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
1002 return wxFileType::ExpandCommand(command,
1003 wxFileType::MessageParameters(filename, mimetype));
1004 }
1005PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
1006 wxArrayString arr;
1007 self->EnumAllFileTypes(arr);
1008 return wxArrayString2PyList_helper(arr);
1009 }
1010
1011#include <wx/artprov.h>
1012
1013 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
1014 static const wxString wxPyART_MENU(wxART_MENU);
1015 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
1016 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
1017 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
1018 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
4cf4100f 1019 static const wxString wxPyART_BUTTON(wxART_BUTTON);
d55e5bfc
RD
1020 static const wxString wxPyART_OTHER(wxART_OTHER);
1021 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
1022 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
1023 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
1024 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
1025 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
1026 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
1027 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
1028 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
1029 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
1030 static const wxString wxPyART_GO_UP(wxART_GO_UP);
1031 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
1032 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
1033 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
1034 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
1035 static const wxString wxPyART_PRINT(wxART_PRINT);
1036 static const wxString wxPyART_HELP(wxART_HELP);
1037 static const wxString wxPyART_TIP(wxART_TIP);
1038 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
1039 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
1040 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
1041 static const wxString wxPyART_FOLDER(wxART_FOLDER);
1042 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1043 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1044 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1045 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1046 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1047 static const wxString wxPyART_ERROR(wxART_ERROR);
1048 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1049 static const wxString wxPyART_WARNING(wxART_WARNING);
1050 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1051 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1052 // Python aware wxArtProvider
1053class wxPyArtProvider : public wxArtProvider {
1054public:
1055
1056 virtual wxBitmap CreateBitmap(const wxArtID& id,
1057 const wxArtClient& client,
1058 const wxSize& size) {
1059 wxBitmap rval = wxNullBitmap;
1060 bool blocked = wxPyBeginBlockThreads();
1061 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1062 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1063 PyObject* ro;
1064 wxBitmap* ptr;
1065 PyObject* s1, *s2;
1066 s1 = wx2PyString(id);
1067 s2 = wx2PyString(client);
1068 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1069 Py_DECREF(so);
1070 Py_DECREF(s1);
1071 Py_DECREF(s2);
1072 if (ro) {
1073 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1074 rval = *ptr;
1075 Py_DECREF(ro);
1076 }
1077 }
1078 wxPyEndBlockThreads(blocked);
1079 return rval;
1080 }
1081
1082 PYPRIVATE;
1083};
1084
1085void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
1086
1087
1088
1089 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1090 PyObject* ret = PyTuple_New(3);
1091 if (ret) {
1092 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1093 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1094 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1095 }
1096 return ret;
1097 }
1098
1099PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1100 bool cont;
1101 long index = 0;
1102 wxString value;
1103
1104 cont = self->GetFirstGroup(value, index);
1105 return __EnumerationHelper(cont, value, index);
1106 }
1107PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1108 bool cont;
1109 wxString value;
1110
1111 cont = self->GetNextGroup(value, index);
1112 return __EnumerationHelper(cont, value, index);
1113 }
1114PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1115 bool cont;
1116 long index = 0;
1117 wxString value;
1118
1119 cont = self->GetFirstEntry(value, index);
1120 return __EnumerationHelper(cont, value, index);
1121 }
1122PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1123 bool cont;
1124 wxString value;
1125
1126 cont = self->GetNextEntry(value, index);
1127 return __EnumerationHelper(cont, value, index);
1128 }
1129long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1130 long rv;
1131 self->Read(key, &rv, defaultVal);
1132 return rv;
1133 }
1134
1135SWIGSTATICINLINE(double)
1136SWIG_AsDouble(PyObject *obj)
1137{
1138 if (PyNumber_Check(obj))
1139 return PyFloat_AsDouble(obj);
1140 else {
1141 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1142 obj->ob_type->tp_name);
1143 PyErr_SetObject(PyExc_TypeError, errmsg);
1144 Py_DECREF(errmsg);
1145 return 0;
1146 }
1147}
1148
1149
1150SWIGSTATICINLINE(int)
1151SWIG_CheckDouble(PyObject* obj)
1152{
1153 SWIG_AsDouble(obj);
1154 if (PyErr_Occurred()) {
1155 PyErr_Clear();
1156 return 0;
1157 } else {
1158 return 1;
1159 }
1160}
1161
1162double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1163 double rv;
1164 self->Read(key, &rv, defaultVal);
1165 return rv;
1166 }
1167bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1168 bool rv;
1169 self->Read(key, &rv, defaultVal);
1170 return rv;
1171 }
1172
1173#include <wx/datetime.h>
1174
1175
1176 static const wxString wxPyDateFormatStr(wxT("%c"));
1177 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1178
1179#define LOCAL_TZ wxDateTime::Local
1180
1181
1182#if UINT_MAX < LONG_MAX
1183#define SWIG_FromUnsignedInt SWIG_FromLong
1184#else
1185#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1186#endif
1187
1188wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1189wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1190wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1191wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1192wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
1193bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
1194 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
1195 return (*self < *other);
1196 }
1197bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
1198 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
1199 return (*self <= *other);
1200 }
1201bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
1202 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
1203 return (*self > *other);
1204 }
1205bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
1206 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
1207 return (*self >= *other);
1208 }
1209bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
1210 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
1211 return (*self == *other);
1212 }
1213bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
1214 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
1215 return (*self != *other);
1216 }
1217int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1218 const wxChar* rv;
1219 const wxChar* _date = date;
1220 rv = self->ParseRfc822Date(_date);
1221 if (rv == NULL) return -1;
1222 return rv - _date;
1223 }
1224int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1225 const wxChar* rv;
1226 const wxChar* _date = date;
1227 rv = self->ParseFormat(_date, format, dateDef);
1228 if (rv == NULL) return -1;
1229 return rv - _date;
1230 }
1231int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1232 const wxChar* rv;
1233 const wxChar* _datetime = datetime;
1234 rv = self->ParseDateTime(_datetime);
1235 if (rv == NULL) return -1;
1236 return rv - _datetime;
1237 }
1238int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1239 const wxChar* rv;
1240 const wxChar* _date = date;
1241 rv = self->ParseDate(_date);
1242 if (rv == NULL) return -1;
1243 return rv - _date;
1244 }
1245int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1246 const wxChar* rv;
1247 const wxChar* _time = time;
1248 rv = self->ParseTime(_time);
1249 if (rv == NULL) return -1;
1250 return rv - _time;
1251 }
1252wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1253wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1254wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1255wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1256bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1257bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1258bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1259bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1260bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1261bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
1262wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1263wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1264wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1265wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1266bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1267bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
1268
1269#include <wx/dataobj.h>
1270
68e533f8
RD
1271PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir){
1272 size_t count = self->GetFormatCount(dir);
1273 wxDataFormat* formats = new wxDataFormat[count];
1274 self->GetAllFormats(formats, dir);
1275
1276 bool blocked = wxPyBeginBlockThreads();
1277 PyObject* list = PyList_New(count);
1278 for (size_t i=0; i<count; i++) {
1279 wxDataFormat* format = new wxDataFormat(formats[i]);
1280 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), True);
1281 PyList_Append(list, obj);
1282 Py_DECREF(obj);
1283 }
1284 wxPyEndBlockThreads(blocked);
1285 delete [] formats;
1286 return list;
1287 }
1288PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
1289 PyObject* rval = NULL;
1290 size_t size = self->GetDataSize(format);
1291 bool blocked = wxPyBeginBlockThreads();
1292 if (size) {
1293 char* buf = new char[size];
1294 if (self->GetDataHere(format, buf))
1295 rval = PyString_FromStringAndSize(buf, size);
1296 delete [] buf;
1297 }
1298 if (! rval) {
1299 rval = Py_None;
1300 Py_INCREF(rval);
1301 }
1302 wxPyEndBlockThreads(blocked);
1303 return rval;
1304 }
1305bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
1306 bool rval;
1307 bool blocked = wxPyBeginBlockThreads();
1308 if (PyString_Check(data)) {
1309 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
1310 }
1311 else {
1312 // raise a TypeError if not a string
1313 PyErr_SetString(PyExc_TypeError, "String expected.");
1314 rval = False;
1315 }
1316 wxPyEndBlockThreads(blocked);
1317 return rval;
1318 }
1319PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
1320 PyObject* rval = NULL;
1321 size_t size = self->GetDataSize();
1322 bool blocked = wxPyBeginBlockThreads();
1323 if (size) {
1324 char* buf = new char[size];
1325 if (self->GetDataHere(buf))
1326 rval = PyString_FromStringAndSize(buf, size);
1327 delete [] buf;
1328 }
1329 if (! rval) {
1330 rval = Py_None;
1331 Py_INCREF(rval);
1332 }
1333 wxPyEndBlockThreads(blocked);
1334 return rval;
1335 }
1336bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
1337 bool rval;
1338 bool blocked = wxPyBeginBlockThreads();
1339 if (PyString_Check(data)) {
1340 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
1341 }
1342 else {
1343 // raise a TypeError if not a string
1344 PyErr_SetString(PyExc_TypeError, "String expected.");
1345 rval = False;
1346 }
1347 wxPyEndBlockThreads(blocked);
1348 return rval;
1349 }
d55e5bfc
RD
1350 // Create a new class for wxPython to use
1351class wxPyDataObjectSimple : public wxDataObjectSimple {
1352public:
1353 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1354 : wxDataObjectSimple(format) {}
1355
1356 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1357 bool GetDataHere(void *buf) const;
1358 bool SetData(size_t len, const void *buf) const;
1359 PYPRIVATE;
1360};
1361
1362IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1363
1364bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1365 // We need to get the data for this object and write it to buf. I think
1366 // the best way to do this for wxPython is to have the Python method
1367 // return either a string or None and then act appropriately with the
1368 // C++ version.
1369
1370 bool rval = False;
1371 bool blocked = wxPyBeginBlockThreads();
1372 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1373 PyObject* ro;
1374 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1375 if (ro) {
1376 rval = (ro != Py_None && PyString_Check(ro));
1377 if (rval)
1378 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1379 Py_DECREF(ro);
1380 }
1381 }
1382 wxPyEndBlockThreads(blocked);
1383 return rval;
1384}
1385
1386bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1387 // For this one we simply need to make a string from buf and len
1388 // and send it to the Python method.
1389 bool rval = False;
1390 bool blocked = wxPyBeginBlockThreads();
1391 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1392 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1393 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1394 Py_DECREF(data);
1395 }
1396 wxPyEndBlockThreads(blocked);
1397 return rval;
1398}
1399
1400 // Create a new class for wxPython to use
1401class wxPyTextDataObject : public wxTextDataObject {
1402public:
1403 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1404 : wxTextDataObject(text) {}
1405
1406 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1407 DEC_PYCALLBACK_STRING__const(GetText);
1408 DEC_PYCALLBACK__STRING(SetText);
1409 PYPRIVATE;
1410};
1411
1412IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1413IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1414IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1415
1416
1417 // Create a new class for wxPython to use
1418class wxPyBitmapDataObject : public wxBitmapDataObject {
1419public:
1420 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1421 : wxBitmapDataObject(bitmap) {}
1422
1423 wxBitmap GetBitmap() const;
1424 void SetBitmap(const wxBitmap& bitmap);
1425 PYPRIVATE;
1426};
1427
1428wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1429 wxBitmap* rval = &wxNullBitmap;
1430 bool blocked = wxPyBeginBlockThreads();
1431 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1432 PyObject* ro;
1433 wxBitmap* ptr;
1434 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1435 if (ro) {
1436 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1437 rval = ptr;
1438 Py_DECREF(ro);
1439 }
1440 }
1441 wxPyEndBlockThreads(blocked);
1442 return *rval;
1443}
68e533f8 1444
d55e5bfc
RD
1445void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1446 bool blocked = wxPyBeginBlockThreads();
1447 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1448 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1449 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1450 Py_DECREF(bo);
1451 }
1452 wxPyEndBlockThreads(blocked);
1453}
1454
d55e5bfc 1455bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
68e533f8
RD
1456 bool rval;
1457 bool blocked = wxPyBeginBlockThreads();
d55e5bfc 1458 if (PyString_Check(data)) {
68e533f8 1459 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
d55e5bfc
RD
1460 }
1461 else {
1462 // raise a TypeError if not a string
1463 PyErr_SetString(PyExc_TypeError, "String expected.");
68e533f8 1464 rval = False;
d55e5bfc 1465 }
68e533f8
RD
1466 wxPyEndBlockThreads(blocked);
1467 return rval;
d55e5bfc
RD
1468 }
1469PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
68e533f8
RD
1470 PyObject* obj;
1471 bool blocked = wxPyBeginBlockThreads();
1472 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
a07a67e6
RD
1473 wxPyEndBlockThreads(blocked);
1474 return obj;
d55e5bfc
RD
1475 }
1476
1477#include <wx/metafile.h>
1478
1479
1480IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1481
1482
1483IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1484IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1485IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1486IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1487IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1488
1489
1490class wxPyTextDropTarget : public wxTextDropTarget {
1491public:
1492 wxPyTextDropTarget() {}
1493
1494 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1495
1496 DEC_PYCALLBACK__(OnLeave);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1498 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1499 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1500 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1501
1502 PYPRIVATE;
1503};
1504
1505IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1506IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1507IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1508IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1509IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1510IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1511
1512
1513
1514class wxPyFileDropTarget : public wxFileDropTarget {
1515public:
1516 wxPyFileDropTarget() {}
1517
1518 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1519
1520 DEC_PYCALLBACK__(OnLeave);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1522 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1523 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1524 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1525
1526 PYPRIVATE;
1527};
1528
1529bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1530 const wxArrayString& filenames) {
1531 bool rval = False;
1532 bool blocked = wxPyBeginBlockThreads();
1533 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1534 PyObject* list = wxArrayString2PyList_helper(filenames);
1535 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1536 Py_DECREF(list);
1537 }
1538 wxPyEndBlockThreads(blocked);
1539 return rval;
1540}
1541
1542
1543
1544IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1545IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1546IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1547IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1548IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1549
1550
1551
1552
1553bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1554
6923d0a9 1555#include <wx/display.h>
d55e5bfc
RD
1556
1557bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
1558bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
6923d0a9
RD
1559
1560// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1561#if !wxUSE_DISPLAY
1562#include <wx/dynarray.h>
1563#include <wx/vidmode.h>
1564
1565WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
1566#include "wx/arrimpl.cpp"
1567WX_DEFINE_OBJARRAY(wxArrayVideoModes);
1568const wxVideoMode wxDefaultVideoMode;
1569
1570class wxDisplay
1571{
1572public:
1573 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
1574 ~wxDisplay() {}
1575
1576 static size_t GetCount()
1577 { wxPyRaiseNotImplemented(); return 0; }
1578
1579 static int GetFromPoint(const wxPoint& pt)
1580 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1581 static int GetFromWindow(wxWindow *window)
1582 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1583
1584 virtual bool IsOk() const { return false; }
1585 virtual wxRect GetGeometry() const { wxRect r; return r; }
1586 virtual wxString GetName() const { return wxEmptyString; }
1587 bool IsPrimary() const { return false; }
1588
1589 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
1590 { wxArrayVideoModes a; return a; }
1591
1592 virtual wxVideoMode GetCurrentMode() const
1593 { return wxDefaultVideoMode; }
1594
1595 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
1596 { return false; }
1597
1598 void ResetMode() {}
1599};
1600#endif
1601
d55e5bfc
RD
1602int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1603PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1604 PyObject* pyList = NULL;
1605 wxArrayVideoModes arr = self->GetModes(mode);
1606 bool blocked = wxPyBeginBlockThreads();
1607 pyList = PyList_New(0);
1608 for (int i=0; i < arr.GetCount(); i++) {
1609 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1610 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1611 PyList_Append(pyList, pyObj);
68e533f8 1612 Py_DECREF(pyObj);
d55e5bfc
RD
1613 }
1614 wxPyEndBlockThreads(blocked);
1615 return pyList;
1616 }
1617#ifdef __cplusplus
1618extern "C" {
1619#endif
1620static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject *resultobj;
1622 int arg1 ;
1623 wxColour result;
1624 PyObject * obj0 = 0 ;
1625 char *kwnames[] = {
1626 (char *) "index", NULL
1627 };
1628
1629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1630 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1631 if (PyErr_Occurred()) SWIG_fail;
1632 {
0439c23b 1633 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1634 PyThreadState* __tstate = wxPyBeginAllowThreads();
1635 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1636
1637 wxPyEndAllowThreads(__tstate);
110da5b0 1638 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1639 }
1640 {
1641 wxColour * resultptr;
1642 resultptr = new wxColour((wxColour &) result);
1643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1644 }
1645 return resultobj;
1646 fail:
1647 return NULL;
1648}
1649
1650
1651static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1652 PyObject *resultobj;
1653 int arg1 ;
1654 wxFont result;
1655 PyObject * obj0 = 0 ;
1656 char *kwnames[] = {
1657 (char *) "index", NULL
1658 };
1659
1660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1661 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1662 if (PyErr_Occurred()) SWIG_fail;
1663 {
0439c23b 1664 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1665 PyThreadState* __tstate = wxPyBeginAllowThreads();
1666 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1667
1668 wxPyEndAllowThreads(__tstate);
110da5b0 1669 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1670 }
1671 {
1672 wxFont * resultptr;
1673 resultptr = new wxFont((wxFont &) result);
1674 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1675 }
1676 return resultobj;
1677 fail:
1678 return NULL;
1679}
1680
1681
1682static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject *resultobj;
1684 int arg1 ;
1685 int result;
1686 PyObject * obj0 = 0 ;
1687 char *kwnames[] = {
1688 (char *) "index", NULL
1689 };
1690
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1692 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1693 if (PyErr_Occurred()) SWIG_fail;
1694 {
0439c23b 1695 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1696 PyThreadState* __tstate = wxPyBeginAllowThreads();
1697 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1698
1699 wxPyEndAllowThreads(__tstate);
110da5b0 1700 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1701 }
1702 resultobj = SWIG_FromInt((int)result);
1703 return resultobj;
1704 fail:
1705 return NULL;
1706}
1707
1708
1709static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1710 PyObject *resultobj;
1711 int arg1 ;
1712 bool result;
1713 PyObject * obj0 = 0 ;
1714 char *kwnames[] = {
1715 (char *) "index", NULL
1716 };
1717
1718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1719 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1720 if (PyErr_Occurred()) SWIG_fail;
1721 {
0439c23b 1722 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1723 PyThreadState* __tstate = wxPyBeginAllowThreads();
1724 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1725
1726 wxPyEndAllowThreads(__tstate);
110da5b0 1727 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1728 }
1729 {
1730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1731 }
1732 return resultobj;
1733 fail:
1734 return NULL;
1735}
1736
1737
1738static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1739 PyObject *resultobj;
1740 int result;
1741 char *kwnames[] = {
1742 NULL
1743 };
1744
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1746 {
0439c23b 1747 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 result = (int)wxSystemSettings::GetScreenType();
1750
1751 wxPyEndAllowThreads(__tstate);
110da5b0 1752 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1753 }
1754 resultobj = SWIG_FromInt((int)result);
1755 return resultobj;
1756 fail:
1757 return NULL;
1758}
1759
1760
1761static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1762 PyObject *resultobj;
1763 int arg1 ;
1764 PyObject * obj0 = 0 ;
1765 char *kwnames[] = {
1766 (char *) "screen", NULL
1767 };
1768
1769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1770 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1771 if (PyErr_Occurred()) SWIG_fail;
1772 {
0439c23b 1773 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1774 PyThreadState* __tstate = wxPyBeginAllowThreads();
1775 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1776
1777 wxPyEndAllowThreads(__tstate);
110da5b0 1778 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1779 }
1780 Py_INCREF(Py_None); resultobj = Py_None;
1781 return resultobj;
1782 fail:
1783 return NULL;
1784}
1785
1786
1787static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1788 PyObject *obj;
1789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1790 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1791 Py_INCREF(obj);
1792 return Py_BuildValue((char *)"");
1793}
1794static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject *resultobj;
1796 wxSystemOptions *result;
1797 char *kwnames[] = {
1798 NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 result = (wxSystemOptions *)new wxSystemOptions();
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 }
1809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1810 return resultobj;
1811 fail:
1812 return NULL;
1813}
1814
1815
1816static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1817 PyObject *resultobj;
1818 wxString *arg1 = 0 ;
1819 wxString *arg2 = 0 ;
1820 bool temp1 = False ;
1821 bool temp2 = False ;
1822 PyObject * obj0 = 0 ;
1823 PyObject * obj1 = 0 ;
1824 char *kwnames[] = {
1825 (char *) "name",(char *) "value", NULL
1826 };
1827
1828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1829 {
1830 arg1 = wxString_in_helper(obj0);
1831 if (arg1 == NULL) SWIG_fail;
1832 temp1 = True;
1833 }
1834 {
1835 arg2 = wxString_in_helper(obj1);
1836 if (arg2 == NULL) SWIG_fail;
1837 temp2 = True;
1838 }
1839 {
1840 PyThreadState* __tstate = wxPyBeginAllowThreads();
1841 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1842
1843 wxPyEndAllowThreads(__tstate);
1844 if (PyErr_Occurred()) SWIG_fail;
1845 }
1846 Py_INCREF(Py_None); resultobj = Py_None;
1847 {
1848 if (temp1)
1849 delete arg1;
1850 }
1851 {
1852 if (temp2)
1853 delete arg2;
1854 }
1855 return resultobj;
1856 fail:
1857 {
1858 if (temp1)
1859 delete arg1;
1860 }
1861 {
1862 if (temp2)
1863 delete arg2;
1864 }
1865 return NULL;
1866}
1867
1868
1869static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1870 PyObject *resultobj;
1871 wxString *arg1 = 0 ;
1872 int arg2 ;
1873 bool temp1 = False ;
1874 PyObject * obj0 = 0 ;
1875 PyObject * obj1 = 0 ;
1876 char *kwnames[] = {
1877 (char *) "name",(char *) "value", NULL
1878 };
1879
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1881 {
1882 arg1 = wxString_in_helper(obj0);
1883 if (arg1 == NULL) SWIG_fail;
1884 temp1 = True;
1885 }
1886 arg2 = (int) SWIG_AsInt(obj1);
1887 if (PyErr_Occurred()) SWIG_fail;
1888 {
1889 PyThreadState* __tstate = wxPyBeginAllowThreads();
1890 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1891
1892 wxPyEndAllowThreads(__tstate);
1893 if (PyErr_Occurred()) SWIG_fail;
1894 }
1895 Py_INCREF(Py_None); resultobj = Py_None;
1896 {
1897 if (temp1)
1898 delete arg1;
1899 }
1900 return resultobj;
1901 fail:
1902 {
1903 if (temp1)
1904 delete arg1;
1905 }
1906 return NULL;
1907}
1908
1909
1910static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1911 PyObject *resultobj;
1912 wxString *arg1 = 0 ;
1913 wxString result;
1914 bool temp1 = False ;
1915 PyObject * obj0 = 0 ;
1916 char *kwnames[] = {
1917 (char *) "name", NULL
1918 };
1919
1920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1921 {
1922 arg1 = wxString_in_helper(obj0);
1923 if (arg1 == NULL) SWIG_fail;
1924 temp1 = True;
1925 }
1926 {
1927 PyThreadState* __tstate = wxPyBeginAllowThreads();
1928 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1929
1930 wxPyEndAllowThreads(__tstate);
1931 if (PyErr_Occurred()) SWIG_fail;
1932 }
1933 {
1934#if wxUSE_UNICODE
1935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1936#else
1937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1938#endif
1939 }
1940 {
1941 if (temp1)
1942 delete arg1;
1943 }
1944 return resultobj;
1945 fail:
1946 {
1947 if (temp1)
1948 delete arg1;
1949 }
1950 return NULL;
1951}
1952
1953
1954static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1955 PyObject *resultobj;
1956 wxString *arg1 = 0 ;
1957 int result;
1958 bool temp1 = False ;
1959 PyObject * obj0 = 0 ;
1960 char *kwnames[] = {
1961 (char *) "name", NULL
1962 };
1963
1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1965 {
1966 arg1 = wxString_in_helper(obj0);
1967 if (arg1 == NULL) SWIG_fail;
1968 temp1 = True;
1969 }
1970 {
1971 PyThreadState* __tstate = wxPyBeginAllowThreads();
1972 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1973
1974 wxPyEndAllowThreads(__tstate);
1975 if (PyErr_Occurred()) SWIG_fail;
1976 }
1977 resultobj = SWIG_FromInt((int)result);
1978 {
1979 if (temp1)
1980 delete arg1;
1981 }
1982 return resultobj;
1983 fail:
1984 {
1985 if (temp1)
1986 delete arg1;
1987 }
1988 return NULL;
1989}
1990
1991
1992static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1993 PyObject *resultobj;
1994 wxString *arg1 = 0 ;
1995 bool result;
1996 bool temp1 = False ;
1997 PyObject * obj0 = 0 ;
1998 char *kwnames[] = {
1999 (char *) "name", NULL
2000 };
2001
2002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
2003 {
2004 arg1 = wxString_in_helper(obj0);
2005 if (arg1 == NULL) SWIG_fail;
2006 temp1 = True;
2007 }
2008 {
2009 PyThreadState* __tstate = wxPyBeginAllowThreads();
2010 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
2011
2012 wxPyEndAllowThreads(__tstate);
2013 if (PyErr_Occurred()) SWIG_fail;
2014 }
2015 {
2016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2017 }
2018 {
2019 if (temp1)
2020 delete arg1;
2021 }
2022 return resultobj;
2023 fail:
2024 {
2025 if (temp1)
2026 delete arg1;
2027 }
2028 return NULL;
2029}
2030
2031
2032static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
2033 PyObject *obj;
2034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2035 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
2036 Py_INCREF(obj);
2037 return Py_BuildValue((char *)"");
2038}
2039static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
2040 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
2041 return 1;
2042}
2043
2044
2045static PyObject *_wrap_FileSelectorPromptStr_get() {
2046 PyObject *pyobj;
2047
2048 {
2049#if wxUSE_UNICODE
2050 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2051#else
2052 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2053#endif
2054 }
2055 return pyobj;
2056}
2057
2058
2059static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
2060 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
2061 return 1;
2062}
2063
2064
2065static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
2066 PyObject *pyobj;
2067
2068 {
2069#if wxUSE_UNICODE
2070 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2071#else
2072 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2073#endif
2074 }
2075 return pyobj;
2076}
2077
2078
2079static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
2080 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
2081 return 1;
2082}
2083
2084
2085static PyObject *_wrap_DirSelectorPromptStr_get() {
2086 PyObject *pyobj;
2087
2088 {
2089#if wxUSE_UNICODE
2090 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2091#else
2092 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2093#endif
2094 }
2095 return pyobj;
2096}
2097
2098
2099static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
2100 PyObject *resultobj;
2101 long result;
2102 char *kwnames[] = {
2103 NULL
2104 };
2105
2106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
2107 {
2108 PyThreadState* __tstate = wxPyBeginAllowThreads();
2109 result = (long)wxNewId();
2110
2111 wxPyEndAllowThreads(__tstate);
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
2114 resultobj = SWIG_FromLong((long)result);
2115 return resultobj;
2116 fail:
2117 return NULL;
2118}
2119
2120
2121static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
2122 PyObject *resultobj;
2123 long arg1 ;
2124 PyObject * obj0 = 0 ;
2125 char *kwnames[] = {
2126 (char *) "id", NULL
2127 };
2128
2129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
2130 arg1 = (long) SWIG_AsLong(obj0);
2131 if (PyErr_Occurred()) SWIG_fail;
2132 {
2133 PyThreadState* __tstate = wxPyBeginAllowThreads();
2134 wxRegisterId(arg1);
2135
2136 wxPyEndAllowThreads(__tstate);
2137 if (PyErr_Occurred()) SWIG_fail;
2138 }
2139 Py_INCREF(Py_None); resultobj = Py_None;
2140 return resultobj;
2141 fail:
2142 return NULL;
2143}
2144
2145
2146static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
2147 PyObject *resultobj;
2148 long result;
2149 char *kwnames[] = {
2150 NULL
2151 };
2152
2153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
2154 {
2155 PyThreadState* __tstate = wxPyBeginAllowThreads();
2156 result = (long)wxGetCurrentId();
2157
2158 wxPyEndAllowThreads(__tstate);
2159 if (PyErr_Occurred()) SWIG_fail;
2160 }
2161 resultobj = SWIG_FromLong((long)result);
2162 return resultobj;
2163 fail:
2164 return NULL;
2165}
2166
2167
2168static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
2169 PyObject *resultobj;
2170 char *kwnames[] = {
2171 NULL
2172 };
2173
2174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
2175 {
0439c23b 2176 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 wxBell();
2179
2180 wxPyEndAllowThreads(__tstate);
110da5b0 2181 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2182 }
2183 Py_INCREF(Py_None); resultobj = Py_None;
2184 return resultobj;
2185 fail:
2186 return NULL;
2187}
2188
2189
2190static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 char *kwnames[] = {
2193 NULL
2194 };
2195
2196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2197 {
0439c23b 2198 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2199 PyThreadState* __tstate = wxPyBeginAllowThreads();
2200 wxEndBusyCursor();
2201
2202 wxPyEndAllowThreads(__tstate);
110da5b0 2203 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2204 }
2205 Py_INCREF(Py_None); resultobj = Py_None;
2206 return resultobj;
2207 fail:
2208 return NULL;
2209}
2210
2211
2212static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2213 PyObject *resultobj;
2214 bool arg1 = (bool) True ;
2215 long result;
2216 PyObject * obj0 = 0 ;
2217 char *kwnames[] = {
2218 (char *) "resetTimer", NULL
2219 };
2220
2221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2222 if (obj0) {
2223 arg1 = (bool) SWIG_AsBool(obj0);
2224 if (PyErr_Occurred()) SWIG_fail;
2225 }
2226 {
2227 PyThreadState* __tstate = wxPyBeginAllowThreads();
2228 result = (long)wxGetElapsedTime(arg1);
2229
2230 wxPyEndAllowThreads(__tstate);
2231 if (PyErr_Occurred()) SWIG_fail;
2232 }
2233 resultobj = SWIG_FromLong((long)result);
2234 return resultobj;
2235 fail:
2236 return NULL;
2237}
2238
2239
2240static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2241 PyObject *resultobj;
2242 int *arg1 = (int *) 0 ;
2243 int *arg2 = (int *) 0 ;
2244 int temp1 ;
2245 int temp2 ;
2246 char *kwnames[] = {
2247 NULL
2248 };
2249
2250 arg1 = &temp1;
2251 arg2 = &temp2;
2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2253 {
0439c23b 2254 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2255 PyThreadState* __tstate = wxPyBeginAllowThreads();
2256 wxGetMousePosition(arg1,arg2);
2257
2258 wxPyEndAllowThreads(__tstate);
110da5b0 2259 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2260 }
2261 Py_INCREF(Py_None); resultobj = Py_None;
2262 {
2263 PyObject *o = PyInt_FromLong((long) (*arg1));
2264 resultobj = t_output_helper(resultobj,o);
2265 }
2266 {
2267 PyObject *o = PyInt_FromLong((long) (*arg2));
2268 resultobj = t_output_helper(resultobj,o);
2269 }
2270 return resultobj;
2271 fail:
2272 return NULL;
2273}
2274
2275
2276static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject *resultobj;
2278 bool result;
2279 char *kwnames[] = {
2280 NULL
2281 };
2282
2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2284 {
2285 PyThreadState* __tstate = wxPyBeginAllowThreads();
2286 result = (bool)wxIsBusy();
2287
2288 wxPyEndAllowThreads(__tstate);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2291 {
2292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2293 }
2294 return resultobj;
2295 fail:
2296 return NULL;
2297}
2298
2299
2300static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
2301 PyObject *resultobj;
2302 wxString result;
2303 char *kwnames[] = {
2304 NULL
2305 };
2306
2307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2308 {
2309 PyThreadState* __tstate = wxPyBeginAllowThreads();
2310 result = wxNow();
2311
2312 wxPyEndAllowThreads(__tstate);
2313 if (PyErr_Occurred()) SWIG_fail;
2314 }
2315 {
2316#if wxUSE_UNICODE
2317 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2318#else
2319 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2320#endif
2321 }
2322 return resultobj;
2323 fail:
2324 return NULL;
2325}
2326
2327
2328static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
2329 PyObject *resultobj;
2330 wxString const &arg1_defvalue = wxPyEmptyString ;
2331 wxString *arg1 = (wxString *) &arg1_defvalue ;
2332 bool result;
2333 bool temp1 = False ;
2334 PyObject * obj0 = 0 ;
2335 char *kwnames[] = {
2336 (char *) "command", NULL
2337 };
2338
2339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2340 if (obj0) {
2341 {
2342 arg1 = wxString_in_helper(obj0);
2343 if (arg1 == NULL) SWIG_fail;
2344 temp1 = True;
2345 }
2346 }
2347 {
2348 PyThreadState* __tstate = wxPyBeginAllowThreads();
2349 result = (bool)wxShell((wxString const &)*arg1);
2350
2351 wxPyEndAllowThreads(__tstate);
2352 if (PyErr_Occurred()) SWIG_fail;
2353 }
2354 {
2355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2356 }
2357 {
2358 if (temp1)
2359 delete arg1;
2360 }
2361 return resultobj;
2362 fail:
2363 {
2364 if (temp1)
2365 delete arg1;
2366 }
2367 return NULL;
2368}
2369
2370
2371static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 char *kwnames[] = {
2374 NULL
2375 };
2376
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2378 {
2379 PyThreadState* __tstate = wxPyBeginAllowThreads();
2380 wxStartTimer();
2381
2382 wxPyEndAllowThreads(__tstate);
2383 if (PyErr_Occurred()) SWIG_fail;
2384 }
2385 Py_INCREF(Py_None); resultobj = Py_None;
2386 return resultobj;
2387 fail:
2388 return NULL;
2389}
2390
2391
2392static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2393 PyObject *resultobj;
2394 int *arg1 = (int *) 0 ;
2395 int *arg2 = (int *) 0 ;
2396 int result;
2397 int temp1 ;
2398 int temp2 ;
2399 char *kwnames[] = {
2400 NULL
2401 };
2402
2403 arg1 = &temp1;
2404 arg2 = &temp2;
2405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2406 {
2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
2408 result = (int)wxGetOsVersion(arg1,arg2);
2409
2410 wxPyEndAllowThreads(__tstate);
2411 if (PyErr_Occurred()) SWIG_fail;
2412 }
2413 resultobj = SWIG_FromInt((int)result);
2414 {
2415 PyObject *o = PyInt_FromLong((long) (*arg1));
2416 resultobj = t_output_helper(resultobj,o);
2417 }
2418 {
2419 PyObject *o = PyInt_FromLong((long) (*arg2));
2420 resultobj = t_output_helper(resultobj,o);
2421 }
2422 return resultobj;
2423 fail:
2424 return NULL;
2425}
2426
2427
2428static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2429 PyObject *resultobj;
2430 wxString result;
2431 char *kwnames[] = {
2432 NULL
2433 };
2434
2435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2436 {
2437 PyThreadState* __tstate = wxPyBeginAllowThreads();
2438 result = wxGetOsDescription();
2439
2440 wxPyEndAllowThreads(__tstate);
2441 if (PyErr_Occurred()) SWIG_fail;
2442 }
2443 {
2444#if wxUSE_UNICODE
2445 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2446#else
2447 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2448#endif
2449 }
2450 return resultobj;
2451 fail:
2452 return NULL;
2453}
2454
2455
2456static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2457 PyObject *resultobj;
2458 long result;
2459 char *kwnames[] = {
2460 NULL
2461 };
2462
2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2464 {
2465 PyThreadState* __tstate = wxPyBeginAllowThreads();
2466 result = (long)wxGetFreeMemory();
2467
2468 wxPyEndAllowThreads(__tstate);
2469 if (PyErr_Occurred()) SWIG_fail;
2470 }
2471 resultobj = SWIG_FromLong((long)result);
2472 return resultobj;
2473 fail:
2474 return NULL;
2475}
2476
2477
2478static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2479 PyObject *resultobj;
2480 int arg1 ;
2481 bool result;
2482 PyObject * obj0 = 0 ;
2483 char *kwnames[] = {
2484 (char *) "wFlags", NULL
2485 };
2486
2487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2488 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2489 if (PyErr_Occurred()) SWIG_fail;
2490 {
0439c23b 2491 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2492 PyThreadState* __tstate = wxPyBeginAllowThreads();
2493 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2494
2495 wxPyEndAllowThreads(__tstate);
110da5b0 2496 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2497 }
2498 {
2499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2500 }
2501 return resultobj;
2502 fail:
2503 return NULL;
2504}
2505
2506
2507static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2508 PyObject *resultobj;
2509 int arg1 ;
2510 PyObject * obj0 = 0 ;
2511 char *kwnames[] = {
2512 (char *) "secs", NULL
2513 };
2514
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2516 arg1 = (int) SWIG_AsInt(obj0);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 {
2519 PyThreadState* __tstate = wxPyBeginAllowThreads();
2520 wxSleep(arg1);
2521
2522 wxPyEndAllowThreads(__tstate);
2523 if (PyErr_Occurred()) SWIG_fail;
2524 }
2525 Py_INCREF(Py_None); resultobj = Py_None;
2526 return resultobj;
2527 fail:
2528 return NULL;
2529}
2530
2531
bf26d883 2532static PyObject *_wrap_MilliSleep(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2533 PyObject *resultobj;
2534 unsigned long arg1 ;
2535 PyObject * obj0 = 0 ;
2536 char *kwnames[] = {
2537 (char *) "milliseconds", NULL
2538 };
2539
bf26d883 2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
d55e5bfc
RD
2541 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2542 if (PyErr_Occurred()) SWIG_fail;
2543 {
2544 PyThreadState* __tstate = wxPyBeginAllowThreads();
bf26d883
RD
2545 wxMilliSleep(arg1);
2546
2547 wxPyEndAllowThreads(__tstate);
2548 if (PyErr_Occurred()) SWIG_fail;
2549 }
2550 Py_INCREF(Py_None); resultobj = Py_None;
2551 return resultobj;
2552 fail:
2553 return NULL;
2554}
2555
2556
2557static PyObject *_wrap_MicroSleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2558 PyObject *resultobj;
2559 unsigned long arg1 ;
2560 PyObject * obj0 = 0 ;
2561 char *kwnames[] = {
2562 (char *) "microseconds", NULL
2563 };
2564
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
2566 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 {
2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
2570 wxMicroSleep(arg1);
d55e5bfc
RD
2571
2572 wxPyEndAllowThreads(__tstate);
2573 if (PyErr_Occurred()) SWIG_fail;
2574 }
2575 Py_INCREF(Py_None); resultobj = Py_None;
2576 return resultobj;
2577 fail:
2578 return NULL;
2579}
2580
2581
2582static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2583 PyObject *resultobj;
2584 bool arg1 ;
2585 PyObject * obj0 = 0 ;
2586 char *kwnames[] = {
2587 (char *) "enable", NULL
2588 };
2589
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2591 arg1 = (bool) SWIG_AsBool(obj0);
2592 if (PyErr_Occurred()) SWIG_fail;
2593 {
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
2595 wxEnableTopLevelWindows(arg1);
2596
2597 wxPyEndAllowThreads(__tstate);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 Py_INCREF(Py_None); resultobj = Py_None;
2601 return resultobj;
2602 fail:
2603 return NULL;
2604}
2605
2606
2607static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2608 PyObject *resultobj;
2609 wxString *arg1 = 0 ;
2610 wxString result;
2611 bool temp1 = False ;
2612 PyObject * obj0 = 0 ;
2613 char *kwnames[] = {
2614 (char *) "in", NULL
2615 };
2616
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2618 {
2619 arg1 = wxString_in_helper(obj0);
2620 if (arg1 == NULL) SWIG_fail;
2621 temp1 = True;
2622 }
2623 {
2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
2625 result = wxStripMenuCodes((wxString const &)*arg1);
2626
2627 wxPyEndAllowThreads(__tstate);
2628 if (PyErr_Occurred()) SWIG_fail;
2629 }
2630 {
2631#if wxUSE_UNICODE
2632 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2633#else
2634 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2635#endif
2636 }
2637 {
2638 if (temp1)
2639 delete arg1;
2640 }
2641 return resultobj;
2642 fail:
2643 {
2644 if (temp1)
2645 delete arg1;
2646 }
2647 return NULL;
2648}
2649
2650
2651static PyObject *_wrap_GetEmailAddress(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 *)":GetEmailAddress",kwnames)) goto fail;
2659 {
2660 PyThreadState* __tstate = wxPyBeginAllowThreads();
2661 result = wxGetEmailAddress();
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_GetHostName(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 *)":GetHostName",kwnames)) goto fail;
2687 {
2688 PyThreadState* __tstate = wxPyBeginAllowThreads();
2689 result = wxGetHostName();
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_GetFullHostName(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 *)":GetFullHostName",kwnames)) goto fail;
2715 {
2716 PyThreadState* __tstate = wxPyBeginAllowThreads();
2717 result = wxGetFullHostName();
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_GetUserId(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 *)":GetUserId",kwnames)) goto fail;
2743 {
2744 PyThreadState* __tstate = wxPyBeginAllowThreads();
2745 result = wxGetUserId();
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_GetUserName(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 *)":GetUserName",kwnames)) goto fail;
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 result = wxGetUserName();
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_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2792 PyObject *resultobj;
2793 wxString result;
2794 char *kwnames[] = {
2795 NULL
2796 };
2797
2798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 result = wxGetHomeDir();
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2806 {
2807#if wxUSE_UNICODE
2808 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2809#else
2810 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2811#endif
2812 }
2813 return resultobj;
2814 fail:
2815 return NULL;
2816}
2817
2818
2819static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2820 PyObject *resultobj;
2821 wxString const &arg1_defvalue = wxPyEmptyString ;
2822 wxString *arg1 = (wxString *) &arg1_defvalue ;
2823 wxString result;
2824 bool temp1 = False ;
2825 PyObject * obj0 = 0 ;
2826 char *kwnames[] = {
2827 (char *) "user", NULL
2828 };
2829
2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2831 if (obj0) {
2832 {
2833 arg1 = wxString_in_helper(obj0);
2834 if (arg1 == NULL) SWIG_fail;
2835 temp1 = True;
2836 }
2837 }
2838 {
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 result = wxGetUserHome((wxString const &)*arg1);
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 {
2846#if wxUSE_UNICODE
2847 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2848#else
2849 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2850#endif
2851 }
2852 {
2853 if (temp1)
2854 delete arg1;
2855 }
2856 return resultobj;
2857 fail:
2858 {
2859 if (temp1)
2860 delete arg1;
2861 }
2862 return NULL;
2863}
2864
2865
2866static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2867 PyObject *resultobj;
2868 unsigned long result;
2869 char *kwnames[] = {
2870 NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2874 {
2875 PyThreadState* __tstate = wxPyBeginAllowThreads();
2876 result = (unsigned long)wxGetProcessId();
2877
2878 wxPyEndAllowThreads(__tstate);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 }
2881 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
2882 return resultobj;
2883 fail:
2884 return NULL;
2885}
2886
2887
2888static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2889 PyObject *resultobj;
2890 char *kwnames[] = {
2891 NULL
2892 };
2893
2894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2895 {
2896 PyThreadState* __tstate = wxPyBeginAllowThreads();
2897 wxTrap();
2898
2899 wxPyEndAllowThreads(__tstate);
2900 if (PyErr_Occurred()) SWIG_fail;
2901 }
2902 Py_INCREF(Py_None); resultobj = Py_None;
2903 return resultobj;
2904 fail:
2905 return NULL;
2906}
2907
2908
2909static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj;
2911 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2912 wxString *arg1 = (wxString *) &arg1_defvalue ;
2913 wxString const &arg2_defvalue = wxPyEmptyString ;
2914 wxString *arg2 = (wxString *) &arg2_defvalue ;
2915 wxString const &arg3_defvalue = wxPyEmptyString ;
2916 wxString *arg3 = (wxString *) &arg3_defvalue ;
2917 wxString const &arg4_defvalue = wxPyEmptyString ;
2918 wxString *arg4 = (wxString *) &arg4_defvalue ;
2919 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2920 wxString *arg5 = (wxString *) &arg5_defvalue ;
2921 int arg6 = (int) 0 ;
2922 wxWindow *arg7 = (wxWindow *) NULL ;
2923 int arg8 = (int) -1 ;
2924 int arg9 = (int) -1 ;
2925 wxString result;
2926 bool temp1 = False ;
2927 bool temp2 = False ;
2928 bool temp3 = False ;
2929 bool temp4 = False ;
2930 bool temp5 = False ;
2931 PyObject * obj0 = 0 ;
2932 PyObject * obj1 = 0 ;
2933 PyObject * obj2 = 0 ;
2934 PyObject * obj3 = 0 ;
2935 PyObject * obj4 = 0 ;
2936 PyObject * obj5 = 0 ;
2937 PyObject * obj6 = 0 ;
2938 PyObject * obj7 = 0 ;
2939 PyObject * obj8 = 0 ;
2940 char *kwnames[] = {
2941 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2942 };
2943
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2945 if (obj0) {
2946 {
2947 arg1 = wxString_in_helper(obj0);
2948 if (arg1 == NULL) SWIG_fail;
2949 temp1 = True;
2950 }
2951 }
2952 if (obj1) {
2953 {
2954 arg2 = wxString_in_helper(obj1);
2955 if (arg2 == NULL) SWIG_fail;
2956 temp2 = True;
2957 }
2958 }
2959 if (obj2) {
2960 {
2961 arg3 = wxString_in_helper(obj2);
2962 if (arg3 == NULL) SWIG_fail;
2963 temp3 = True;
2964 }
2965 }
2966 if (obj3) {
2967 {
2968 arg4 = wxString_in_helper(obj3);
2969 if (arg4 == NULL) SWIG_fail;
2970 temp4 = True;
2971 }
2972 }
2973 if (obj4) {
2974 {
2975 arg5 = wxString_in_helper(obj4);
2976 if (arg5 == NULL) SWIG_fail;
2977 temp5 = True;
2978 }
2979 }
2980 if (obj5) {
2981 arg6 = (int) SWIG_AsInt(obj5);
2982 if (PyErr_Occurred()) SWIG_fail;
2983 }
2984 if (obj6) {
2985 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2987 }
2988 if (obj7) {
2989 arg8 = (int) SWIG_AsInt(obj7);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 if (obj8) {
2993 arg9 = (int) SWIG_AsInt(obj8);
2994 if (PyErr_Occurred()) SWIG_fail;
2995 }
2996 {
0439c23b 2997 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2998 PyThreadState* __tstate = wxPyBeginAllowThreads();
2999 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
3000
3001 wxPyEndAllowThreads(__tstate);
110da5b0 3002 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3003 }
3004 {
3005#if wxUSE_UNICODE
3006 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3007#else
3008 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3009#endif
3010 }
3011 {
3012 if (temp1)
3013 delete arg1;
3014 }
3015 {
3016 if (temp2)
3017 delete arg2;
3018 }
3019 {
3020 if (temp3)
3021 delete arg3;
3022 }
3023 {
3024 if (temp4)
3025 delete arg4;
3026 }
3027 {
3028 if (temp5)
3029 delete arg5;
3030 }
3031 return resultobj;
3032 fail:
3033 {
3034 if (temp1)
3035 delete arg1;
3036 }
3037 {
3038 if (temp2)
3039 delete arg2;
3040 }
3041 {
3042 if (temp3)
3043 delete arg3;
3044 }
3045 {
3046 if (temp4)
3047 delete arg4;
3048 }
3049 {
3050 if (temp5)
3051 delete arg5;
3052 }
3053 return NULL;
3054}
3055
3056
3057static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3058 PyObject *resultobj;
3059 wxString *arg1 = 0 ;
3060 wxString *arg2 = 0 ;
3061 wxString const &arg3_defvalue = wxPyEmptyString ;
3062 wxString *arg3 = (wxString *) &arg3_defvalue ;
3063 wxWindow *arg4 = (wxWindow *) NULL ;
3064 wxString result;
3065 bool temp1 = False ;
3066 bool temp2 = False ;
3067 bool temp3 = False ;
3068 PyObject * obj0 = 0 ;
3069 PyObject * obj1 = 0 ;
3070 PyObject * obj2 = 0 ;
3071 PyObject * obj3 = 0 ;
3072 char *kwnames[] = {
3073 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3074 };
3075
3076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3077 {
3078 arg1 = wxString_in_helper(obj0);
3079 if (arg1 == NULL) SWIG_fail;
3080 temp1 = True;
3081 }
3082 {
3083 arg2 = wxString_in_helper(obj1);
3084 if (arg2 == NULL) SWIG_fail;
3085 temp2 = True;
3086 }
3087 if (obj2) {
3088 {
3089 arg3 = wxString_in_helper(obj2);
3090 if (arg3 == NULL) SWIG_fail;
3091 temp3 = True;
3092 }
3093 }
3094 if (obj3) {
3095 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3097 }
3098 {
0439c23b 3099 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3100 PyThreadState* __tstate = wxPyBeginAllowThreads();
3101 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3102
3103 wxPyEndAllowThreads(__tstate);
110da5b0 3104 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3105 }
3106 {
3107#if wxUSE_UNICODE
3108 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3109#else
3110 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3111#endif
3112 }
3113 {
3114 if (temp1)
3115 delete arg1;
3116 }
3117 {
3118 if (temp2)
3119 delete arg2;
3120 }
3121 {
3122 if (temp3)
3123 delete arg3;
3124 }
3125 return resultobj;
3126 fail:
3127 {
3128 if (temp1)
3129 delete arg1;
3130 }
3131 {
3132 if (temp2)
3133 delete arg2;
3134 }
3135 {
3136 if (temp3)
3137 delete arg3;
3138 }
3139 return NULL;
3140}
3141
3142
3143static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3144 PyObject *resultobj;
3145 wxString *arg1 = 0 ;
3146 wxString *arg2 = 0 ;
3147 wxString const &arg3_defvalue = wxPyEmptyString ;
3148 wxString *arg3 = (wxString *) &arg3_defvalue ;
3149 wxWindow *arg4 = (wxWindow *) NULL ;
3150 wxString result;
3151 bool temp1 = False ;
3152 bool temp2 = False ;
3153 bool temp3 = False ;
3154 PyObject * obj0 = 0 ;
3155 PyObject * obj1 = 0 ;
3156 PyObject * obj2 = 0 ;
3157 PyObject * obj3 = 0 ;
3158 char *kwnames[] = {
3159 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3160 };
3161
3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3163 {
3164 arg1 = wxString_in_helper(obj0);
3165 if (arg1 == NULL) SWIG_fail;
3166 temp1 = True;
3167 }
3168 {
3169 arg2 = wxString_in_helper(obj1);
3170 if (arg2 == NULL) SWIG_fail;
3171 temp2 = True;
3172 }
3173 if (obj2) {
3174 {
3175 arg3 = wxString_in_helper(obj2);
3176 if (arg3 == NULL) SWIG_fail;
3177 temp3 = True;
3178 }
3179 }
3180 if (obj3) {
3181 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3183 }
3184 {
0439c23b 3185 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3188
3189 wxPyEndAllowThreads(__tstate);
110da5b0 3190 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3191 }
3192 {
3193#if wxUSE_UNICODE
3194 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3195#else
3196 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3197#endif
3198 }
3199 {
3200 if (temp1)
3201 delete arg1;
3202 }
3203 {
3204 if (temp2)
3205 delete arg2;
3206 }
3207 {
3208 if (temp3)
3209 delete arg3;
3210 }
3211 return resultobj;
3212 fail:
3213 {
3214 if (temp1)
3215 delete arg1;
3216 }
3217 {
3218 if (temp2)
3219 delete arg2;
3220 }
3221 {
3222 if (temp3)
3223 delete arg3;
3224 }
3225 return NULL;
3226}
3227
3228
3229static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject *resultobj;
3231 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3232 wxString *arg1 = (wxString *) &arg1_defvalue ;
3233 wxString const &arg2_defvalue = wxPyEmptyString ;
3234 wxString *arg2 = (wxString *) &arg2_defvalue ;
3235 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3236 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3237 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3238 wxWindow *arg5 = (wxWindow *) NULL ;
3239 wxString result;
3240 bool temp1 = False ;
3241 bool temp2 = False ;
3242 wxPoint temp4 ;
3243 PyObject * obj0 = 0 ;
3244 PyObject * obj1 = 0 ;
3245 PyObject * obj2 = 0 ;
3246 PyObject * obj3 = 0 ;
3247 PyObject * obj4 = 0 ;
3248 char *kwnames[] = {
3249 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3250 };
3251
3252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3253 if (obj0) {
3254 {
3255 arg1 = wxString_in_helper(obj0);
3256 if (arg1 == NULL) SWIG_fail;
3257 temp1 = True;
3258 }
3259 }
3260 if (obj1) {
3261 {
3262 arg2 = wxString_in_helper(obj1);
3263 if (arg2 == NULL) SWIG_fail;
3264 temp2 = True;
3265 }
3266 }
3267 if (obj2) {
3268 arg3 = (long) SWIG_AsLong(obj2);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 if (obj3) {
3272 {
3273 arg4 = &temp4;
3274 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3275 }
3276 }
3277 if (obj4) {
3278 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3280 }
3281 {
0439c23b 3282 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3283 PyThreadState* __tstate = wxPyBeginAllowThreads();
3284 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3285
3286 wxPyEndAllowThreads(__tstate);
110da5b0 3287 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3288 }
3289 {
3290#if wxUSE_UNICODE
3291 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3292#else
3293 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3294#endif
3295 }
3296 {
3297 if (temp1)
3298 delete arg1;
3299 }
3300 {
3301 if (temp2)
3302 delete arg2;
3303 }
3304 return resultobj;
3305 fail:
3306 {
3307 if (temp1)
3308 delete arg1;
3309 }
3310 {
3311 if (temp2)
3312 delete arg2;
3313 }
3314 return NULL;
3315}
3316
3317
3318static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3319 PyObject *resultobj;
3320 wxString *arg1 = 0 ;
3321 wxString const &arg2_defvalue = wxPyEmptyString ;
3322 wxString *arg2 = (wxString *) &arg2_defvalue ;
3323 wxString const &arg3_defvalue = wxPyEmptyString ;
3324 wxString *arg3 = (wxString *) &arg3_defvalue ;
3325 wxWindow *arg4 = (wxWindow *) NULL ;
3326 int arg5 = (int) -1 ;
3327 int arg6 = (int) -1 ;
3328 bool arg7 = (bool) True ;
3329 wxString result;
3330 bool temp1 = False ;
3331 bool temp2 = False ;
3332 bool temp3 = False ;
3333 PyObject * obj0 = 0 ;
3334 PyObject * obj1 = 0 ;
3335 PyObject * obj2 = 0 ;
3336 PyObject * obj3 = 0 ;
3337 PyObject * obj4 = 0 ;
3338 PyObject * obj5 = 0 ;
3339 PyObject * obj6 = 0 ;
3340 char *kwnames[] = {
3341 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3342 };
3343
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3345 {
3346 arg1 = wxString_in_helper(obj0);
3347 if (arg1 == NULL) SWIG_fail;
3348 temp1 = True;
3349 }
3350 if (obj1) {
3351 {
3352 arg2 = wxString_in_helper(obj1);
3353 if (arg2 == NULL) SWIG_fail;
3354 temp2 = True;
3355 }
3356 }
3357 if (obj2) {
3358 {
3359 arg3 = wxString_in_helper(obj2);
3360 if (arg3 == NULL) SWIG_fail;
3361 temp3 = True;
3362 }
3363 }
3364 if (obj3) {
3365 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3367 }
3368 if (obj4) {
3369 arg5 = (int) SWIG_AsInt(obj4);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
3372 if (obj5) {
3373 arg6 = (int) SWIG_AsInt(obj5);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 if (obj6) {
3377 arg7 = (bool) SWIG_AsBool(obj6);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 }
3380 {
0439c23b 3381 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3382 PyThreadState* __tstate = wxPyBeginAllowThreads();
3383 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3384
3385 wxPyEndAllowThreads(__tstate);
110da5b0 3386 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3387 }
3388 {
3389#if wxUSE_UNICODE
3390 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3391#else
3392 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3393#endif
3394 }
3395 {
3396 if (temp1)
3397 delete arg1;
3398 }
3399 {
3400 if (temp2)
3401 delete arg2;
3402 }
3403 {
3404 if (temp3)
3405 delete arg3;
3406 }
3407 return resultobj;
3408 fail:
3409 {
3410 if (temp1)
3411 delete arg1;
3412 }
3413 {
3414 if (temp2)
3415 delete arg2;
3416 }
3417 {
3418 if (temp3)
3419 delete arg3;
3420 }
3421 return NULL;
3422}
3423
3424
3425static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj;
3427 wxString *arg1 = 0 ;
3428 wxString const &arg2_defvalue = wxPyEmptyString ;
3429 wxString *arg2 = (wxString *) &arg2_defvalue ;
3430 wxString const &arg3_defvalue = wxPyEmptyString ;
3431 wxString *arg3 = (wxString *) &arg3_defvalue ;
3432 wxWindow *arg4 = (wxWindow *) NULL ;
3433 wxString result;
3434 bool temp1 = False ;
3435 bool temp2 = False ;
3436 bool temp3 = False ;
3437 PyObject * obj0 = 0 ;
3438 PyObject * obj1 = 0 ;
3439 PyObject * obj2 = 0 ;
3440 PyObject * obj3 = 0 ;
3441 char *kwnames[] = {
3442 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3443 };
3444
3445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3446 {
3447 arg1 = wxString_in_helper(obj0);
3448 if (arg1 == NULL) SWIG_fail;
3449 temp1 = True;
3450 }
3451 if (obj1) {
3452 {
3453 arg2 = wxString_in_helper(obj1);
3454 if (arg2 == NULL) SWIG_fail;
3455 temp2 = True;
3456 }
3457 }
3458 if (obj2) {
3459 {
3460 arg3 = wxString_in_helper(obj2);
3461 if (arg3 == NULL) SWIG_fail;
3462 temp3 = True;
3463 }
3464 }
3465 if (obj3) {
3466 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3468 }
3469 {
0439c23b 3470 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3473
3474 wxPyEndAllowThreads(__tstate);
110da5b0 3475 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3476 }
3477 {
3478#if wxUSE_UNICODE
3479 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3480#else
3481 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3482#endif
3483 }
3484 {
3485 if (temp1)
3486 delete arg1;
3487 }
3488 {
3489 if (temp2)
3490 delete arg2;
3491 }
3492 {
3493 if (temp3)
3494 delete arg3;
3495 }
3496 return resultobj;
3497 fail:
3498 {
3499 if (temp1)
3500 delete arg1;
3501 }
3502 {
3503 if (temp2)
3504 delete arg2;
3505 }
3506 {
3507 if (temp3)
3508 delete arg3;
3509 }
3510 return NULL;
3511}
3512
3513
3514static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3515 PyObject *resultobj;
3516 wxString *arg1 = 0 ;
3517 wxString *arg2 = 0 ;
3518 int arg3 ;
3519 wxString *arg4 = (wxString *) 0 ;
3520 wxWindow *arg5 = (wxWindow *) NULL ;
3521 int arg6 = (int) -1 ;
3522 int arg7 = (int) -1 ;
3523 bool arg8 = (bool) True ;
3524 int arg9 = (int) 150 ;
3525 int arg10 = (int) 200 ;
3526 wxString result;
3527 bool temp1 = False ;
3528 bool temp2 = False ;
3529 PyObject * obj0 = 0 ;
3530 PyObject * obj1 = 0 ;
3531 PyObject * obj2 = 0 ;
3532 PyObject * obj3 = 0 ;
3533 PyObject * obj4 = 0 ;
3534 PyObject * obj5 = 0 ;
3535 PyObject * obj6 = 0 ;
3536 PyObject * obj7 = 0 ;
3537 PyObject * obj8 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3540 };
3541
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3543 {
3544 arg1 = wxString_in_helper(obj0);
3545 if (arg1 == NULL) SWIG_fail;
3546 temp1 = True;
3547 }
3548 {
3549 arg2 = wxString_in_helper(obj1);
3550 if (arg2 == NULL) SWIG_fail;
3551 temp2 = True;
3552 }
3553 {
3554 arg3 = PyList_Size(obj2);
3555 arg4 = wxString_LIST_helper(obj2);
3556 if (arg4 == NULL) SWIG_fail;
3557 }
3558 if (obj3) {
3559 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3561 }
3562 if (obj4) {
3563 arg6 = (int) SWIG_AsInt(obj4);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 }
3566 if (obj5) {
3567 arg7 = (int) SWIG_AsInt(obj5);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 }
3570 if (obj6) {
3571 arg8 = (bool) SWIG_AsBool(obj6);
3572 if (PyErr_Occurred()) SWIG_fail;
3573 }
3574 if (obj7) {
3575 arg9 = (int) SWIG_AsInt(obj7);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 if (obj8) {
3579 arg10 = (int) SWIG_AsInt(obj8);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
3582 {
0439c23b 3583 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3586
3587 wxPyEndAllowThreads(__tstate);
110da5b0 3588 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3589 }
3590 {
3591#if wxUSE_UNICODE
3592 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3593#else
3594 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3595#endif
3596 }
3597 {
3598 if (temp1)
3599 delete arg1;
3600 }
3601 {
3602 if (temp2)
3603 delete arg2;
3604 }
3605 {
3606 if (arg4) delete [] arg4;
3607 }
3608 return resultobj;
3609 fail:
3610 {
3611 if (temp1)
3612 delete arg1;
3613 }
3614 {
3615 if (temp2)
3616 delete arg2;
3617 }
3618 {
3619 if (arg4) delete [] arg4;
3620 }
3621 return NULL;
3622}
3623
3624
3625static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3626 PyObject *resultobj;
3627 wxString *arg1 = 0 ;
3628 wxString *arg2 = 0 ;
3629 int arg3 ;
3630 wxString *arg4 = (wxString *) 0 ;
3631 wxWindow *arg5 = (wxWindow *) NULL ;
3632 int arg6 = (int) -1 ;
3633 int arg7 = (int) -1 ;
3634 bool arg8 = (bool) True ;
3635 int arg9 = (int) 150 ;
3636 int arg10 = (int) 200 ;
3637 int result;
3638 bool temp1 = False ;
3639 bool temp2 = False ;
3640 PyObject * obj0 = 0 ;
3641 PyObject * obj1 = 0 ;
3642 PyObject * obj2 = 0 ;
3643 PyObject * obj3 = 0 ;
3644 PyObject * obj4 = 0 ;
3645 PyObject * obj5 = 0 ;
3646 PyObject * obj6 = 0 ;
3647 PyObject * obj7 = 0 ;
3648 PyObject * obj8 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3654 {
3655 arg1 = wxString_in_helper(obj0);
3656 if (arg1 == NULL) SWIG_fail;
3657 temp1 = True;
3658 }
3659 {
3660 arg2 = wxString_in_helper(obj1);
3661 if (arg2 == NULL) SWIG_fail;
3662 temp2 = True;
3663 }
3664 {
3665 arg3 = PyList_Size(obj2);
3666 arg4 = wxString_LIST_helper(obj2);
3667 if (arg4 == NULL) SWIG_fail;
3668 }
3669 if (obj3) {
3670 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3672 }
3673 if (obj4) {
3674 arg6 = (int) SWIG_AsInt(obj4);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 if (obj5) {
3678 arg7 = (int) SWIG_AsInt(obj5);
3679 if (PyErr_Occurred()) SWIG_fail;
3680 }
3681 if (obj6) {
3682 arg8 = (bool) SWIG_AsBool(obj6);
3683 if (PyErr_Occurred()) SWIG_fail;
3684 }
3685 if (obj7) {
3686 arg9 = (int) SWIG_AsInt(obj7);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 if (obj8) {
3690 arg10 = (int) SWIG_AsInt(obj8);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 {
0439c23b 3694 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3697
3698 wxPyEndAllowThreads(__tstate);
110da5b0 3699 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3700 }
3701 resultobj = SWIG_FromInt((int)result);
3702 {
3703 if (temp1)
3704 delete arg1;
3705 }
3706 {
3707 if (temp2)
3708 delete arg2;
3709 }
3710 {
3711 if (arg4) delete [] arg4;
3712 }
3713 return resultobj;
3714 fail:
3715 {
3716 if (temp1)
3717 delete arg1;
3718 }
3719 {
3720 if (temp2)
3721 delete arg2;
3722 }
3723 {
3724 if (arg4) delete [] arg4;
3725 }
3726 return NULL;
3727}
3728
3729
3730static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj;
3732 wxString *arg1 = 0 ;
3733 wxString const &arg2_defvalue = wxPyEmptyString ;
3734 wxString *arg2 = (wxString *) &arg2_defvalue ;
3735 int arg3 = (int) wxOK|wxCENTRE ;
3736 wxWindow *arg4 = (wxWindow *) NULL ;
3737 int arg5 = (int) -1 ;
3738 int arg6 = (int) -1 ;
3739 int result;
3740 bool temp1 = False ;
3741 bool temp2 = False ;
3742 PyObject * obj0 = 0 ;
3743 PyObject * obj1 = 0 ;
3744 PyObject * obj2 = 0 ;
3745 PyObject * obj3 = 0 ;
3746 PyObject * obj4 = 0 ;
3747 PyObject * obj5 = 0 ;
3748 char *kwnames[] = {
3749 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3753 {
3754 arg1 = wxString_in_helper(obj0);
3755 if (arg1 == NULL) SWIG_fail;
3756 temp1 = True;
3757 }
3758 if (obj1) {
3759 {
3760 arg2 = wxString_in_helper(obj1);
3761 if (arg2 == NULL) SWIG_fail;
3762 temp2 = True;
3763 }
3764 }
3765 if (obj2) {
3766 arg3 = (int) SWIG_AsInt(obj2);
3767 if (PyErr_Occurred()) SWIG_fail;
3768 }
3769 if (obj3) {
3770 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3772 }
3773 if (obj4) {
3774 arg5 = (int) SWIG_AsInt(obj4);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
3777 if (obj5) {
3778 arg6 = (int) SWIG_AsInt(obj5);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 {
0439c23b 3782 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3785
3786 wxPyEndAllowThreads(__tstate);
110da5b0 3787 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3788 }
3789 resultobj = SWIG_FromInt((int)result);
3790 {
3791 if (temp1)
3792 delete arg1;
3793 }
3794 {
3795 if (temp2)
3796 delete arg2;
3797 }
3798 return resultobj;
3799 fail:
3800 {
3801 if (temp1)
3802 delete arg1;
3803 }
3804 {
3805 if (temp2)
3806 delete arg2;
3807 }
3808 return NULL;
3809}
3810
3811
3812static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3813 PyObject *resultobj;
3814 wxString *arg1 = 0 ;
3815 wxString *arg2 = 0 ;
3816 wxString *arg3 = 0 ;
3817 long arg4 ;
3818 long arg5 = (long) 0 ;
3819 long arg6 = (long) 100 ;
3820 wxWindow *arg7 = (wxWindow *) NULL ;
3821 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3822 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3823 long result;
3824 bool temp1 = False ;
3825 bool temp2 = False ;
3826 bool temp3 = False ;
3827 wxPoint temp8 ;
3828 PyObject * obj0 = 0 ;
3829 PyObject * obj1 = 0 ;
3830 PyObject * obj2 = 0 ;
3831 PyObject * obj3 = 0 ;
3832 PyObject * obj4 = 0 ;
3833 PyObject * obj5 = 0 ;
3834 PyObject * obj6 = 0 ;
3835 PyObject * obj7 = 0 ;
3836 char *kwnames[] = {
3837 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3838 };
3839
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3841 {
3842 arg1 = wxString_in_helper(obj0);
3843 if (arg1 == NULL) SWIG_fail;
3844 temp1 = True;
3845 }
3846 {
3847 arg2 = wxString_in_helper(obj1);
3848 if (arg2 == NULL) SWIG_fail;
3849 temp2 = True;
3850 }
3851 {
3852 arg3 = wxString_in_helper(obj2);
3853 if (arg3 == NULL) SWIG_fail;
3854 temp3 = True;
3855 }
3856 arg4 = (long) SWIG_AsLong(obj3);
3857 if (PyErr_Occurred()) SWIG_fail;
3858 if (obj4) {
3859 arg5 = (long) SWIG_AsLong(obj4);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 if (obj5) {
3863 arg6 = (long) SWIG_AsLong(obj5);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 if (obj6) {
3867 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3869 }
3870 if (obj7) {
3871 {
3872 arg8 = &temp8;
3873 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3874 }
3875 }
3876 {
0439c23b 3877 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3880
3881 wxPyEndAllowThreads(__tstate);
110da5b0 3882 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3883 }
3884 resultobj = SWIG_FromLong((long)result);
3885 {
3886 if (temp1)
3887 delete arg1;
3888 }
3889 {
3890 if (temp2)
3891 delete arg2;
3892 }
3893 {
3894 if (temp3)
3895 delete arg3;
3896 }
3897 return resultobj;
3898 fail:
3899 {
3900 if (temp1)
3901 delete arg1;
3902 }
3903 {
3904 if (temp2)
3905 delete arg2;
3906 }
3907 {
3908 if (temp3)
3909 delete arg3;
3910 }
3911 return NULL;
3912}
3913
3914
3915static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 bool result;
3918 char *kwnames[] = {
3919 NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3923 {
0439c23b 3924 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 result = (bool)wxColourDisplay();
3927
3928 wxPyEndAllowThreads(__tstate);
110da5b0 3929 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3930 }
3931 {
3932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3933 }
3934 return resultobj;
3935 fail:
3936 return NULL;
3937}
3938
3939
3940static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3941 PyObject *resultobj;
3942 int result;
3943 char *kwnames[] = {
3944 NULL
3945 };
3946
3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3948 {
0439c23b 3949 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (int)wxDisplayDepth();
3952
3953 wxPyEndAllowThreads(__tstate);
110da5b0 3954 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3955 }
3956 resultobj = SWIG_FromInt((int)result);
3957 return resultobj;
3958 fail:
3959 return NULL;
3960}
3961
3962
3963static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 int result;
3966 char *kwnames[] = {
3967 NULL
3968 };
3969
3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3971 {
0439c23b 3972 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 result = (int)wxGetDisplayDepth();
3975
3976 wxPyEndAllowThreads(__tstate);
110da5b0 3977 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3978 }
3979 resultobj = SWIG_FromInt((int)result);
3980 return resultobj;
3981 fail:
3982 return NULL;
3983}
3984
3985
3986static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3987 PyObject *resultobj;
3988 int *arg1 = (int *) 0 ;
3989 int *arg2 = (int *) 0 ;
3990 int temp1 ;
3991 int temp2 ;
3992 char *kwnames[] = {
3993 NULL
3994 };
3995
3996 arg1 = &temp1;
3997 arg2 = &temp2;
3998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3999 {
0439c23b 4000 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 wxDisplaySize(arg1,arg2);
4003
4004 wxPyEndAllowThreads(__tstate);
110da5b0 4005 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4006 }
4007 Py_INCREF(Py_None); resultobj = Py_None;
4008 {
4009 PyObject *o = PyInt_FromLong((long) (*arg1));
4010 resultobj = t_output_helper(resultobj,o);
4011 }
4012 {
4013 PyObject *o = PyInt_FromLong((long) (*arg2));
4014 resultobj = t_output_helper(resultobj,o);
4015 }
4016 return resultobj;
4017 fail:
4018 return NULL;
4019}
4020
4021
4022static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
4023 PyObject *resultobj;
4024 wxSize result;
4025 char *kwnames[] = {
4026 NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
4030 {
0439c23b 4031 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 result = wxGetDisplaySize();
4034
4035 wxPyEndAllowThreads(__tstate);
110da5b0 4036 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4037 }
4038 {
4039 wxSize * resultptr;
4040 resultptr = new wxSize((wxSize &) result);
4041 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4042 }
4043 return resultobj;
4044 fail:
4045 return NULL;
4046}
4047
4048
4049static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4050 PyObject *resultobj;
4051 int *arg1 = (int *) 0 ;
4052 int *arg2 = (int *) 0 ;
4053 int temp1 ;
4054 int temp2 ;
4055 char *kwnames[] = {
4056 NULL
4057 };
4058
4059 arg1 = &temp1;
4060 arg2 = &temp2;
4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
4062 {
0439c23b 4063 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 wxDisplaySizeMM(arg1,arg2);
4066
4067 wxPyEndAllowThreads(__tstate);
110da5b0 4068 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4069 }
4070 Py_INCREF(Py_None); resultobj = Py_None;
4071 {
4072 PyObject *o = PyInt_FromLong((long) (*arg1));
4073 resultobj = t_output_helper(resultobj,o);
4074 }
4075 {
4076 PyObject *o = PyInt_FromLong((long) (*arg2));
4077 resultobj = t_output_helper(resultobj,o);
4078 }
4079 return resultobj;
4080 fail:
4081 return NULL;
4082}
4083
4084
4085static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4086 PyObject *resultobj;
4087 wxSize result;
4088 char *kwnames[] = {
4089 NULL
4090 };
4091
4092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
4093 {
0439c23b 4094 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 result = wxGetDisplaySizeMM();
4097
4098 wxPyEndAllowThreads(__tstate);
110da5b0 4099 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4100 }
4101 {
4102 wxSize * resultptr;
4103 resultptr = new wxSize((wxSize &) result);
4104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4105 }
4106 return resultobj;
4107 fail:
4108 return NULL;
4109}
4110
4111
4112static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 int *arg1 = (int *) 0 ;
4115 int *arg2 = (int *) 0 ;
4116 int *arg3 = (int *) 0 ;
4117 int *arg4 = (int *) 0 ;
4118 int temp1 ;
4119 int temp2 ;
4120 int temp3 ;
4121 int temp4 ;
4122 char *kwnames[] = {
4123 NULL
4124 };
4125
4126 arg1 = &temp1;
4127 arg2 = &temp2;
4128 arg3 = &temp3;
4129 arg4 = &temp4;
4130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
4131 {
0439c23b 4132 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 wxClientDisplayRect(arg1,arg2,arg3,arg4);
4135
4136 wxPyEndAllowThreads(__tstate);
110da5b0 4137 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4138 }
4139 Py_INCREF(Py_None); resultobj = Py_None;
4140 {
4141 PyObject *o = PyInt_FromLong((long) (*arg1));
4142 resultobj = t_output_helper(resultobj,o);
4143 }
4144 {
4145 PyObject *o = PyInt_FromLong((long) (*arg2));
4146 resultobj = t_output_helper(resultobj,o);
4147 }
4148 {
4149 PyObject *o = PyInt_FromLong((long) (*arg3));
4150 resultobj = t_output_helper(resultobj,o);
4151 }
4152 {
4153 PyObject *o = PyInt_FromLong((long) (*arg4));
4154 resultobj = t_output_helper(resultobj,o);
4155 }
4156 return resultobj;
4157 fail:
4158 return NULL;
4159}
4160
4161
4162static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4163 PyObject *resultobj;
4164 wxRect result;
4165 char *kwnames[] = {
4166 NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
4170 {
0439c23b 4171 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4172 PyThreadState* __tstate = wxPyBeginAllowThreads();
4173 result = wxGetClientDisplayRect();
4174
4175 wxPyEndAllowThreads(__tstate);
110da5b0 4176 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4177 }
4178 {
4179 wxRect * resultptr;
4180 resultptr = new wxRect((wxRect &) result);
4181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4182 }
4183 return resultobj;
4184 fail:
4185 return NULL;
4186}
4187
4188
4189static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj;
4191 wxCursor *arg1 = 0 ;
4192 PyObject * obj0 = 0 ;
4193 char *kwnames[] = {
4194 (char *) "cursor", NULL
4195 };
4196
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
4198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4199 SWIG_POINTER_EXCEPTION | 0)) == -1)
4200 SWIG_fail;
4201 if (arg1 == NULL) {
4202 PyErr_SetString(PyExc_TypeError,"null reference");
4203 SWIG_fail;
4204 }
4205 {
0439c23b 4206 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
4208 wxSetCursor(*arg1);
4209
4210 wxPyEndAllowThreads(__tstate);
110da5b0 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_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4221 PyObject *resultobj;
4222 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4223 PyObject * obj0 = 0 ;
4224 char *kwnames[] = {
4225 (char *) "cursor", NULL
4226 };
4227
4228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4229 if (obj0) {
4230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4232 }
4233 {
0439c23b 4234 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4235 PyThreadState* __tstate = wxPyBeginAllowThreads();
4236 wxBeginBusyCursor(arg1);
4237
4238 wxPyEndAllowThreads(__tstate);
110da5b0 4239 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4240 }
4241 Py_INCREF(Py_None); resultobj = Py_None;
4242 return resultobj;
4243 fail:
4244 return NULL;
4245}
4246
4247
4248static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj;
4250 wxWindow *result;
4251 char *kwnames[] = {
4252 NULL
4253 };
4254
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4256 {
0439c23b 4257 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 result = (wxWindow *)wxGetActiveWindow();
4260
4261 wxPyEndAllowThreads(__tstate);
110da5b0 4262 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4263 }
4264 {
412d302d 4265 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4266 }
4267 return resultobj;
4268 fail:
4269 return NULL;
4270}
4271
4272
4273static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4274 PyObject *resultobj;
4275 wxPoint *arg1 = 0 ;
4276 wxWindow *result;
4277 wxPoint temp1 ;
4278 PyObject * obj0 = 0 ;
4279 char *kwnames[] = {
4280 (char *) "pt", NULL
4281 };
4282
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4284 {
4285 arg1 = &temp1;
4286 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4287 }
4288 {
0439c23b 4289 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4292
4293 wxPyEndAllowThreads(__tstate);
110da5b0 4294 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4295 }
4296 {
412d302d 4297 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4298 }
4299 return resultobj;
4300 fail:
4301 return NULL;
4302}
4303
4304
4305static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4306 PyObject *resultobj;
4307 wxPoint *arg1 = 0 ;
4308 wxWindow *result;
4309 wxPoint temp1 ;
4310 PyObject * obj0 = 0 ;
4311 char *kwnames[] = {
4312 (char *) "pt", NULL
4313 };
4314
4315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4316 {
4317 arg1 = &temp1;
4318 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4319 }
4320 {
0439c23b 4321 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4324
4325 wxPyEndAllowThreads(__tstate);
110da5b0 4326 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4327 }
4328 {
412d302d 4329 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4330 }
4331 return resultobj;
4332 fail:
4333 return NULL;
4334}
4335
4336
4337static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxWindow *arg1 = (wxWindow *) 0 ;
4340 wxWindow *result;
4341 PyObject * obj0 = 0 ;
4342 char *kwnames[] = {
4343 (char *) "win", NULL
4344 };
4345
4346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4349 {
0439c23b 4350 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 result = (wxWindow *)wxGetTopLevelParent(arg1);
4353
4354 wxPyEndAllowThreads(__tstate);
110da5b0 4355 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4356 }
4357 {
412d302d 4358 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4359 }
4360 return resultobj;
4361 fail:
4362 return NULL;
4363}
4364
4365
4366static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
4367 PyObject *resultobj;
4368 int arg1 ;
4369 bool result;
4370 PyObject * obj0 = 0 ;
4371 char *kwnames[] = {
4372 (char *) "key", NULL
4373 };
4374
4375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4376 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 {
0439c23b 4379 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4382
4383 wxPyEndAllowThreads(__tstate);
110da5b0 4384 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4385 }
4386 {
4387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4388 }
4389 return resultobj;
4390 fail:
4391 return NULL;
4392}
4393
4394
4395static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj;
4397 char *kwnames[] = {
4398 NULL
4399 };
4400
4401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4402 {
0439c23b 4403 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4404 PyThreadState* __tstate = wxPyBeginAllowThreads();
4405 wxWakeUpMainThread();
4406
4407 wxPyEndAllowThreads(__tstate);
110da5b0 4408 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4409 }
4410 Py_INCREF(Py_None); resultobj = Py_None;
4411 return resultobj;
4412 fail:
4413 return NULL;
4414}
4415
4416
4417static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4418 PyObject *resultobj;
4419 char *kwnames[] = {
4420 NULL
4421 };
4422
4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4424 {
0439c23b 4425 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 wxMutexGuiEnter();
4428
4429 wxPyEndAllowThreads(__tstate);
110da5b0 4430 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4431 }
4432 Py_INCREF(Py_None); resultobj = Py_None;
4433 return resultobj;
4434 fail:
4435 return NULL;
4436}
4437
4438
4439static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj;
4441 char *kwnames[] = {
4442 NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4446 {
0439c23b 4447 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 wxMutexGuiLeave();
4450
4451 wxPyEndAllowThreads(__tstate);
110da5b0 4452 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4453 }
4454 Py_INCREF(Py_None); resultobj = Py_None;
4455 return resultobj;
4456 fail:
4457 return NULL;
4458}
4459
4460
4461static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj;
4463 wxMutexGuiLocker *result;
4464 char *kwnames[] = {
4465 NULL
4466 };
4467
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4469 {
0439c23b 4470 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4471 PyThreadState* __tstate = wxPyBeginAllowThreads();
4472 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4473
4474 wxPyEndAllowThreads(__tstate);
110da5b0 4475 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4476 }
4477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4478 return resultobj;
4479 fail:
4480 return NULL;
4481}
4482
4483
4484static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj;
4486 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4487 PyObject * obj0 = 0 ;
4488 char *kwnames[] = {
4489 (char *) "self", NULL
4490 };
4491
4492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4495 {
4496 PyThreadState* __tstate = wxPyBeginAllowThreads();
4497 delete arg1;
4498
4499 wxPyEndAllowThreads(__tstate);
4500 if (PyErr_Occurred()) SWIG_fail;
4501 }
4502 Py_INCREF(Py_None); resultobj = Py_None;
4503 return resultobj;
4504 fail:
4505 return NULL;
4506}
4507
4508
4509static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4510 PyObject *obj;
4511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4512 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4513 Py_INCREF(obj);
4514 return Py_BuildValue((char *)"");
4515}
4516static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 bool result;
4519 char *kwnames[] = {
4520 NULL
4521 };
4522
4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4524 {
4525 PyThreadState* __tstate = wxPyBeginAllowThreads();
4526 result = (bool)wxThread_IsMain();
4527
4528 wxPyEndAllowThreads(__tstate);
4529 if (PyErr_Occurred()) SWIG_fail;
4530 }
4531 {
4532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4533 }
4534 return resultobj;
4535 fail:
4536 return NULL;
4537}
4538
4539
4540static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4541 PyObject *resultobj;
4542 wxString *arg1 = 0 ;
4543 wxToolTip *result;
4544 bool temp1 = False ;
4545 PyObject * obj0 = 0 ;
4546 char *kwnames[] = {
4547 (char *) "tip", NULL
4548 };
4549
4550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4551 {
4552 arg1 = wxString_in_helper(obj0);
4553 if (arg1 == NULL) SWIG_fail;
4554 temp1 = True;
4555 }
4556 {
0439c23b 4557 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4560
4561 wxPyEndAllowThreads(__tstate);
110da5b0 4562 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4563 }
4564 {
412d302d 4565 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
4566 }
4567 {
4568 if (temp1)
4569 delete arg1;
4570 }
4571 return resultobj;
4572 fail:
4573 {
4574 if (temp1)
4575 delete arg1;
4576 }
4577 return NULL;
4578}
4579
4580
4581static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj;
4583 wxToolTip *arg1 = (wxToolTip *) 0 ;
4584 wxString *arg2 = 0 ;
4585 bool temp2 = False ;
4586 PyObject * obj0 = 0 ;
4587 PyObject * obj1 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self",(char *) "tip", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4595 {
4596 arg2 = wxString_in_helper(obj1);
4597 if (arg2 == NULL) SWIG_fail;
4598 temp2 = True;
4599 }
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 (arg1)->SetTip((wxString const &)*arg2);
4603
4604 wxPyEndAllowThreads(__tstate);
4605 if (PyErr_Occurred()) SWIG_fail;
4606 }
4607 Py_INCREF(Py_None); resultobj = Py_None;
4608 {
4609 if (temp2)
4610 delete arg2;
4611 }
4612 return resultobj;
4613 fail:
4614 {
4615 if (temp2)
4616 delete arg2;
4617 }
4618 return NULL;
4619}
4620
4621
4622static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj;
4624 wxToolTip *arg1 = (wxToolTip *) 0 ;
4625 wxString result;
4626 PyObject * obj0 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4634 {
4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
4636 result = (arg1)->GetTip();
4637
4638 wxPyEndAllowThreads(__tstate);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 }
4641 {
4642#if wxUSE_UNICODE
4643 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4644#else
4645 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4646#endif
4647 }
4648 return resultobj;
4649 fail:
4650 return NULL;
4651}
4652
4653
4654static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4655 PyObject *resultobj;
4656 wxToolTip *arg1 = (wxToolTip *) 0 ;
4657 wxWindow *result;
4658 PyObject * obj0 = 0 ;
4659 char *kwnames[] = {
4660 (char *) "self", NULL
4661 };
4662
4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4666 {
4667 PyThreadState* __tstate = wxPyBeginAllowThreads();
4668 result = (wxWindow *)(arg1)->GetWindow();
4669
4670 wxPyEndAllowThreads(__tstate);
4671 if (PyErr_Occurred()) SWIG_fail;
4672 }
4673 {
412d302d 4674 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4675 }
4676 return resultobj;
4677 fail:
4678 return NULL;
4679}
4680
4681
4682static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj;
4684 bool arg1 ;
4685 PyObject * obj0 = 0 ;
4686 char *kwnames[] = {
4687 (char *) "flag", NULL
4688 };
4689
4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4691 arg1 = (bool) SWIG_AsBool(obj0);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 wxToolTip::Enable(arg1);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 Py_INCREF(Py_None); resultobj = Py_None;
4701 return resultobj;
4702 fail:
4703 return NULL;
4704}
4705
4706
4707static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4708 PyObject *resultobj;
4709 long arg1 ;
4710 PyObject * obj0 = 0 ;
4711 char *kwnames[] = {
4712 (char *) "milliseconds", NULL
4713 };
4714
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4716 arg1 = (long) SWIG_AsLong(obj0);
4717 if (PyErr_Occurred()) SWIG_fail;
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 wxToolTip::SetDelay(arg1);
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 Py_INCREF(Py_None); resultobj = Py_None;
4726 return resultobj;
4727 fail:
4728 return NULL;
4729}
4730
4731
4732static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4733 PyObject *obj;
4734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4735 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4736 Py_INCREF(obj);
4737 return Py_BuildValue((char *)"");
4738}
4739static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxWindow *arg1 = (wxWindow *) 0 ;
4742 wxSize *arg2 = 0 ;
4743 wxCaret *result;
4744 wxSize temp2 ;
4745 PyObject * obj0 = 0 ;
4746 PyObject * obj1 = 0 ;
4747 char *kwnames[] = {
4748 (char *) "window",(char *) "size", NULL
4749 };
4750
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4754 {
4755 arg2 = &temp2;
4756 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4757 }
4758 {
0439c23b 4759 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4760 PyThreadState* __tstate = wxPyBeginAllowThreads();
4761 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4762
4763 wxPyEndAllowThreads(__tstate);
110da5b0 4764 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4765 }
4766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
4767 return resultobj;
4768 fail:
4769 return NULL;
4770}
4771
4772
4773static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4774 PyObject *resultobj;
4775 wxCaret *arg1 = (wxCaret *) 0 ;
4776 PyObject * obj0 = 0 ;
4777 char *kwnames[] = {
4778 (char *) "self", NULL
4779 };
4780
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 delete arg1;
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) SWIG_fail;
4790 }
4791 Py_INCREF(Py_None); resultobj = Py_None;
4792 return resultobj;
4793 fail:
4794 return NULL;
4795}
4796
4797
4798static PyObject *_wrap_Caret_IsOk(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_IsOk",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)->IsOk();
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_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4827 PyObject *resultobj;
4828 wxCaret *arg1 = (wxCaret *) 0 ;
4829 bool result;
4830 PyObject * obj0 = 0 ;
4831 char *kwnames[] = {
4832 (char *) "self", NULL
4833 };
4834
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",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 = (bool)(arg1)->IsVisible();
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 {
4846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4847 }
4848 return resultobj;
4849 fail:
4850 return NULL;
4851}
4852
4853
4854static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxCaret *arg1 = (wxCaret *) 0 ;
4857 wxPoint result;
4858 PyObject * obj0 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "self", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 result = (arg1)->GetPosition();
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 {
4874 wxPoint * resultptr;
4875 resultptr = new wxPoint((wxPoint &) result);
4876 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4877 }
4878 return resultobj;
4879 fail:
4880 return NULL;
4881}
4882
4883
4884static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4885 PyObject *resultobj;
4886 wxCaret *arg1 = (wxCaret *) 0 ;
4887 int *arg2 = (int *) 0 ;
4888 int *arg3 = (int *) 0 ;
4889 int temp2 ;
4890 int temp3 ;
4891 PyObject * obj0 = 0 ;
4892 char *kwnames[] = {
4893 (char *) "self", NULL
4894 };
4895
4896 arg2 = &temp2;
4897 arg3 = &temp3;
4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 (arg1)->GetPosition(arg2,arg3);
4904
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 Py_INCREF(Py_None); resultobj = Py_None;
4909 {
4910 PyObject *o = PyInt_FromLong((long) (*arg2));
4911 resultobj = t_output_helper(resultobj,o);
4912 }
4913 {
4914 PyObject *o = PyInt_FromLong((long) (*arg3));
4915 resultobj = t_output_helper(resultobj,o);
4916 }
4917 return resultobj;
4918 fail:
4919 return NULL;
4920}
4921
4922
4923static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4924 PyObject *resultobj;
4925 wxCaret *arg1 = (wxCaret *) 0 ;
4926 wxSize result;
4927 PyObject * obj0 = 0 ;
4928 char *kwnames[] = {
4929 (char *) "self", NULL
4930 };
4931
4932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 result = (arg1)->GetSize();
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 {
4943 wxSize * resultptr;
4944 resultptr = new wxSize((wxSize &) result);
4945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4946 }
4947 return resultobj;
4948 fail:
4949 return NULL;
4950}
4951
4952
4953static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4954 PyObject *resultobj;
4955 wxCaret *arg1 = (wxCaret *) 0 ;
4956 int *arg2 = (int *) 0 ;
4957 int *arg3 = (int *) 0 ;
4958 int temp2 ;
4959 int temp3 ;
4960 PyObject * obj0 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self", NULL
4963 };
4964
4965 arg2 = &temp2;
4966 arg3 = &temp3;
4967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 (arg1)->GetSize(arg2,arg3);
4973
4974 wxPyEndAllowThreads(__tstate);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 Py_INCREF(Py_None); resultobj = Py_None;
4978 {
4979 PyObject *o = PyInt_FromLong((long) (*arg2));
4980 resultobj = t_output_helper(resultobj,o);
4981 }
4982 {
4983 PyObject *o = PyInt_FromLong((long) (*arg3));
4984 resultobj = t_output_helper(resultobj,o);
4985 }
4986 return resultobj;
4987 fail:
4988 return NULL;
4989}
4990
4991
4992static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4993 PyObject *resultobj;
4994 wxCaret *arg1 = (wxCaret *) 0 ;
4995 wxWindow *result;
4996 PyObject * obj0 = 0 ;
4997 char *kwnames[] = {
4998 (char *) "self", NULL
4999 };
5000
5001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
5002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 result = (wxWindow *)(arg1)->GetWindow();
5007
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 {
412d302d 5012 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5013 }
5014 return resultobj;
5015 fail:
5016 return NULL;
5017}
5018
5019
5020static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5021 PyObject *resultobj;
5022 wxCaret *arg1 = (wxCaret *) 0 ;
5023 int arg2 ;
5024 int arg3 ;
5025 PyObject * obj0 = 0 ;
5026 PyObject * obj1 = 0 ;
5027 PyObject * obj2 = 0 ;
5028 char *kwnames[] = {
5029 (char *) "self",(char *) "x",(char *) "y", NULL
5030 };
5031
5032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
5033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5035 arg2 = (int) SWIG_AsInt(obj1);
5036 if (PyErr_Occurred()) SWIG_fail;
5037 arg3 = (int) SWIG_AsInt(obj2);
5038 if (PyErr_Occurred()) SWIG_fail;
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 (arg1)->Move(arg2,arg3);
5042
5043 wxPyEndAllowThreads(__tstate);
5044 if (PyErr_Occurred()) SWIG_fail;
5045 }
5046 Py_INCREF(Py_None); resultobj = Py_None;
5047 return resultobj;
5048 fail:
5049 return NULL;
5050}
5051
5052
5053static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
5054 PyObject *resultobj;
5055 wxCaret *arg1 = (wxCaret *) 0 ;
5056 wxPoint *arg2 = 0 ;
5057 wxPoint temp2 ;
5058 PyObject * obj0 = 0 ;
5059 PyObject * obj1 = 0 ;
5060 char *kwnames[] = {
5061 (char *) "self",(char *) "pt", NULL
5062 };
5063
5064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
5065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5067 {
5068 arg2 = &temp2;
5069 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5070 }
5071 {
5072 PyThreadState* __tstate = wxPyBeginAllowThreads();
5073 (arg1)->Move((wxPoint const &)*arg2);
5074
5075 wxPyEndAllowThreads(__tstate);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 Py_INCREF(Py_None); resultobj = Py_None;
5079 return resultobj;
5080 fail:
5081 return NULL;
5082}
5083
5084
5085static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
5086 PyObject *resultobj;
5087 wxCaret *arg1 = (wxCaret *) 0 ;
5088 int arg2 ;
5089 int arg3 ;
5090 PyObject * obj0 = 0 ;
5091 PyObject * obj1 = 0 ;
5092 PyObject * obj2 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self",(char *) "width",(char *) "height", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
5098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5100 arg2 = (int) SWIG_AsInt(obj1);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 arg3 = (int) SWIG_AsInt(obj2);
5103 if (PyErr_Occurred()) SWIG_fail;
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 (arg1)->SetSize(arg2,arg3);
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 Py_INCREF(Py_None); resultobj = Py_None;
5112 return resultobj;
5113 fail:
5114 return NULL;
5115}
5116
5117
5118static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5119 PyObject *resultobj;
5120 wxCaret *arg1 = (wxCaret *) 0 ;
5121 wxSize *arg2 = 0 ;
5122 wxSize temp2 ;
5123 PyObject * obj0 = 0 ;
5124 PyObject * obj1 = 0 ;
5125 char *kwnames[] = {
5126 (char *) "self",(char *) "size", NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
5130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5132 {
5133 arg2 = &temp2;
5134 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5135 }
5136 {
5137 PyThreadState* __tstate = wxPyBeginAllowThreads();
5138 (arg1)->SetSize((wxSize const &)*arg2);
5139
5140 wxPyEndAllowThreads(__tstate);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 }
5143 Py_INCREF(Py_None); resultobj = Py_None;
5144 return resultobj;
5145 fail:
5146 return NULL;
5147}
5148
5149
5150static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5151 PyObject *resultobj;
5152 wxCaret *arg1 = (wxCaret *) 0 ;
5153 int arg2 = (int) True ;
5154 PyObject * obj0 = 0 ;
5155 PyObject * obj1 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "self",(char *) "show", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
5161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5163 if (obj1) {
5164 arg2 = (int) SWIG_AsInt(obj1);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 (arg1)->Show(arg2);
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 Py_INCREF(Py_None); resultobj = Py_None;
5175 return resultobj;
5176 fail:
5177 return NULL;
5178}
5179
5180
5181static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj;
5183 wxCaret *arg1 = (wxCaret *) 0 ;
5184 PyObject * obj0 = 0 ;
5185 char *kwnames[] = {
5186 (char *) "self", NULL
5187 };
5188
5189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
5190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 (arg1)->Hide();
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 Py_INCREF(Py_None); resultobj = Py_None;
5200 return resultobj;
5201 fail:
5202 return NULL;
5203}
5204
5205
5206static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
5207 PyObject *obj;
5208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5209 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
5210 Py_INCREF(obj);
5211 return Py_BuildValue((char *)"");
5212}
5213static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5214 PyObject *resultobj;
5215 int result;
5216 char *kwnames[] = {
5217 NULL
5218 };
5219
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 result = (int)wxCaret_GetBlinkTime();
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 resultobj = SWIG_FromInt((int)result);
5229 return resultobj;
5230 fail:
5231 return NULL;
5232}
5233
5234
5235static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj;
5237 int arg1 ;
5238 PyObject * obj0 = 0 ;
5239 char *kwnames[] = {
5240 (char *) "milliseconds", NULL
5241 };
5242
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
5244 arg1 = (int) SWIG_AsInt(obj0);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 wxCaret_SetBlinkTime(arg1);
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 Py_INCREF(Py_None); resultobj = Py_None;
5254 return resultobj;
5255 fail:
5256 return NULL;
5257}
5258
5259
5260static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject *resultobj;
5262 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5263 wxBusyCursor *result;
5264 PyObject * obj0 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "cursor", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5270 if (obj0) {
5271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5273 }
5274 {
0439c23b 5275 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5278
5279 wxPyEndAllowThreads(__tstate);
110da5b0 5280 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5281 }
5282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5283 return resultobj;
5284 fail:
5285 return NULL;
5286}
5287
5288
5289static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5292 PyObject * obj0 = 0 ;
5293 char *kwnames[] = {
5294 (char *) "self", NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 delete arg1;
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 Py_INCREF(Py_None); resultobj = Py_None;
5308 return resultobj;
5309 fail:
5310 return NULL;
5311}
5312
5313
5314static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
5315 PyObject *obj;
5316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5317 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5318 Py_INCREF(obj);
5319 return Py_BuildValue((char *)"");
5320}
5321static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5322 PyObject *resultobj;
5323 wxWindow *arg1 = (wxWindow *) NULL ;
5324 wxWindowDisabler *result;
5325 PyObject * obj0 = 0 ;
5326 char *kwnames[] = {
5327 (char *) "winToSkip", NULL
5328 };
5329
5330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5331 if (obj0) {
5332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5334 }
5335 {
0439c23b 5336 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5339
5340 wxPyEndAllowThreads(__tstate);
110da5b0 5341 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5342 }
5343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5344 return resultobj;
5345 fail:
5346 return NULL;
5347}
5348
5349
5350static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5351 PyObject *resultobj;
5352 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5353 PyObject * obj0 = 0 ;
5354 char *kwnames[] = {
5355 (char *) "self", NULL
5356 };
5357
5358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 delete arg1;
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 Py_INCREF(Py_None); resultobj = Py_None;
5369 return resultobj;
5370 fail:
5371 return NULL;
5372}
5373
5374
5375static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
5376 PyObject *obj;
5377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5378 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5379 Py_INCREF(obj);
5380 return Py_BuildValue((char *)"");
5381}
5382static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5383 PyObject *resultobj;
5384 wxString *arg1 = 0 ;
5385 wxBusyInfo *result;
5386 bool temp1 = False ;
5387 PyObject * obj0 = 0 ;
5388 char *kwnames[] = {
5389 (char *) "message", NULL
5390 };
5391
5392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5393 {
5394 arg1 = wxString_in_helper(obj0);
5395 if (arg1 == NULL) SWIG_fail;
5396 temp1 = True;
5397 }
5398 {
0439c23b 5399 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5400 PyThreadState* __tstate = wxPyBeginAllowThreads();
5401 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5402
5403 wxPyEndAllowThreads(__tstate);
110da5b0 5404 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5405 }
5406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5407 {
5408 if (temp1)
5409 delete arg1;
5410 }
5411 return resultobj;
5412 fail:
5413 {
5414 if (temp1)
5415 delete arg1;
5416 }
5417 return NULL;
5418}
5419
5420
5421static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5422 PyObject *resultobj;
5423 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5424 PyObject * obj0 = 0 ;
5425 char *kwnames[] = {
5426 (char *) "self", NULL
5427 };
5428
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5432 {
5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
5434 delete arg1;
5435
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 Py_INCREF(Py_None); resultobj = Py_None;
5440 return resultobj;
5441 fail:
5442 return NULL;
5443}
5444
5445
5446static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5447 PyObject *obj;
5448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5449 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5450 Py_INCREF(obj);
5451 return Py_BuildValue((char *)"");
5452}
5453static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5454 PyObject *resultobj;
5455 wxStopWatch *result;
5456 char *kwnames[] = {
5457 NULL
5458 };
5459
5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 result = (wxStopWatch *)new wxStopWatch();
5464
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5469 return resultobj;
5470 fail:
5471 return NULL;
5472}
5473
5474
5475static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5478 long arg2 = (long) 0 ;
5479 PyObject * obj0 = 0 ;
5480 PyObject * obj1 = 0 ;
5481 char *kwnames[] = {
5482 (char *) "self",(char *) "t0", NULL
5483 };
5484
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5488 if (obj1) {
5489 arg2 = (long) SWIG_AsLong(obj1);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 (arg1)->Start(arg2);
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 Py_INCREF(Py_None); resultobj = Py_None;
5500 return resultobj;
5501 fail:
5502 return NULL;
5503}
5504
5505
5506static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj;
5508 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5509 PyObject * obj0 = 0 ;
5510 char *kwnames[] = {
5511 (char *) "self", NULL
5512 };
5513
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 (arg1)->Pause();
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 Py_INCREF(Py_None); resultobj = Py_None;
5525 return resultobj;
5526 fail:
5527 return NULL;
5528}
5529
5530
5531static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj;
5533 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5534 PyObject * obj0 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "self", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 (arg1)->Resume();
5545
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 Py_INCREF(Py_None); resultobj = Py_None;
5550 return resultobj;
5551 fail:
5552 return NULL;
5553}
5554
5555
5556static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5559 long result;
5560 PyObject * obj0 = 0 ;
5561 char *kwnames[] = {
5562 (char *) "self", NULL
5563 };
5564
5565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5568 {
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 result = (long)((wxStopWatch const *)arg1)->Time();
5571
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 resultobj = SWIG_FromLong((long)result);
5576 return resultobj;
5577 fail:
5578 return NULL;
5579}
5580
5581
5582static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5583 PyObject *obj;
5584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5585 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5586 Py_INCREF(obj);
5587 return Py_BuildValue((char *)"");
5588}
5589static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5590 PyObject *resultobj;
5591 int arg1 = (int) 9 ;
4cf4100f 5592 int arg2 = (int) wxID_FILE1 ;
d55e5bfc
RD
5593 wxFileHistory *result;
5594 PyObject * obj0 = 0 ;
4cf4100f 5595 PyObject * obj1 = 0 ;
d55e5bfc 5596 char *kwnames[] = {
4cf4100f 5597 (char *) "maxFiles",(char *) "idBase", NULL
d55e5bfc
RD
5598 };
5599
4cf4100f 5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
5601 if (obj0) {
5602 arg1 = (int) SWIG_AsInt(obj0);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
4cf4100f
RD
5605 if (obj1) {
5606 arg2 = (int) SWIG_AsInt(obj1);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
d55e5bfc
RD
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 5611 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
d55e5bfc
RD
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5617 return resultobj;
5618 fail:
5619 return NULL;
5620}
5621
5622
5623static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5624 PyObject *resultobj;
5625 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5626 PyObject * obj0 = 0 ;
5627 char *kwnames[] = {
5628 (char *) "self", NULL
5629 };
5630
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5634 {
5635 PyThreadState* __tstate = wxPyBeginAllowThreads();
5636 delete arg1;
5637
5638 wxPyEndAllowThreads(__tstate);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 Py_INCREF(Py_None); resultobj = Py_None;
5642 return resultobj;
5643 fail:
5644 return NULL;
5645}
5646
5647
5648static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5649 PyObject *resultobj;
5650 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5651 wxString *arg2 = 0 ;
5652 bool temp2 = False ;
5653 PyObject * obj0 = 0 ;
5654 PyObject * obj1 = 0 ;
5655 char *kwnames[] = {
5656 (char *) "self",(char *) "file", NULL
5657 };
5658
5659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5662 {
5663 arg2 = wxString_in_helper(obj1);
5664 if (arg2 == NULL) SWIG_fail;
5665 temp2 = True;
5666 }
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 (arg1)->AddFileToHistory((wxString const &)*arg2);
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 Py_INCREF(Py_None); resultobj = Py_None;
5675 {
5676 if (temp2)
5677 delete arg2;
5678 }
5679 return resultobj;
5680 fail:
5681 {
5682 if (temp2)
5683 delete arg2;
5684 }
5685 return NULL;
5686}
5687
5688
5689static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5690 PyObject *resultobj;
5691 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5692 int arg2 ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 char *kwnames[] = {
5696 (char *) "self",(char *) "i", NULL
5697 };
5698
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5702 arg2 = (int) SWIG_AsInt(obj1);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 (arg1)->RemoveFileFromHistory(arg2);
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 Py_INCREF(Py_None); resultobj = Py_None;
5712 return resultobj;
5713 fail:
5714 return NULL;
5715}
5716
5717
5718static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5721 int result;
5722 PyObject * obj0 = 0 ;
5723 char *kwnames[] = {
5724 (char *) "self", NULL
5725 };
5726
5727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 resultobj = SWIG_FromInt((int)result);
5738 return resultobj;
5739 fail:
5740 return NULL;
5741}
5742
5743
5744static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5745 PyObject *resultobj;
5746 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5747 wxMenu *arg2 = (wxMenu *) 0 ;
5748 PyObject * obj0 = 0 ;
5749 PyObject * obj1 = 0 ;
5750 char *kwnames[] = {
5751 (char *) "self",(char *) "menu", NULL
5752 };
5753
5754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5759 {
5760 PyThreadState* __tstate = wxPyBeginAllowThreads();
5761 (arg1)->UseMenu(arg2);
5762
5763 wxPyEndAllowThreads(__tstate);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
5766 Py_INCREF(Py_None); resultobj = Py_None;
5767 return resultobj;
5768 fail:
5769 return NULL;
5770}
5771
5772
5773static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5774 PyObject *resultobj;
5775 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5776 wxMenu *arg2 = (wxMenu *) 0 ;
5777 PyObject * obj0 = 0 ;
5778 PyObject * obj1 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self",(char *) "menu", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 (arg1)->RemoveMenu(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_Load(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_Load",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)->Load(*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_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj;
5838 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5839 wxConfigBase *arg2 = 0 ;
5840 PyObject * obj0 = 0 ;
5841 PyObject * obj1 = 0 ;
5842 char *kwnames[] = {
5843 (char *) "self",(char *) "config", NULL
5844 };
5845
5846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5850 SWIG_POINTER_EXCEPTION | 0)) == -1)
5851 SWIG_fail;
5852 if (arg2 == NULL) {
5853 PyErr_SetString(PyExc_TypeError,"null reference");
5854 SWIG_fail;
5855 }
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 (arg1)->Save(*arg2);
5859
5860 wxPyEndAllowThreads(__tstate);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 }
5863 Py_INCREF(Py_None); resultobj = Py_None;
5864 return resultobj;
5865 fail:
5866 return NULL;
5867}
5868
5869
5870static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5871 PyObject *resultobj;
5872 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5873 PyObject * obj0 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 (arg1)->AddFilesToMenu();
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 Py_INCREF(Py_None); resultobj = Py_None;
5889 return resultobj;
5890 fail:
5891 return NULL;
5892}
5893
5894
5895static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject *resultobj;
5897 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5898 wxMenu *arg2 = (wxMenu *) 0 ;
5899 PyObject * obj0 = 0 ;
5900 PyObject * obj1 = 0 ;
5901 char *kwnames[] = {
5902 (char *) "self",(char *) "menu", NULL
5903 };
5904
5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5910 {
5911 PyThreadState* __tstate = wxPyBeginAllowThreads();
5912 (arg1)->AddFilesToMenu(arg2);
5913
5914 wxPyEndAllowThreads(__tstate);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 }
5917 Py_INCREF(Py_None); resultobj = Py_None;
5918 return resultobj;
5919 fail:
5920 return NULL;
5921}
5922
5923
5924static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5925 PyObject *resultobj;
5926 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5927 int arg2 ;
5928 wxString result;
5929 PyObject * obj0 = 0 ;
5930 PyObject * obj1 = 0 ;
5931 char *kwnames[] = {
5932 (char *) "self",(char *) "i", NULL
5933 };
5934
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5938 arg2 = (int) SWIG_AsInt(obj1);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 {
5948#if wxUSE_UNICODE
5949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5950#else
5951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5952#endif
5953 }
5954 return resultobj;
5955 fail:
5956 return NULL;
5957}
5958
5959
5960static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject *resultobj;
5962 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5963 int result;
5964 PyObject * obj0 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 result = (int)((wxFileHistory const *)arg1)->GetCount();
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 resultobj = SWIG_FromInt((int)result);
5980 return resultobj;
5981 fail:
5982 return NULL;
5983}
5984
5985
5986static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5987 PyObject *obj;
5988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5989 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5990 Py_INCREF(obj);
5991 return Py_BuildValue((char *)"");
5992}
5993static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5994 PyObject *resultobj;
5995 wxString *arg1 = 0 ;
5996 wxString const &arg2_defvalue = wxPyEmptyString ;
5997 wxString *arg2 = (wxString *) &arg2_defvalue ;
5998 wxSingleInstanceChecker *result;
5999 bool temp1 = False ;
6000 bool temp2 = False ;
6001 PyObject * obj0 = 0 ;
6002 PyObject * obj1 = 0 ;
6003 char *kwnames[] = {
6004 (char *) "name",(char *) "path", NULL
6005 };
6006
6007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
6008 {
6009 arg1 = wxString_in_helper(obj0);
6010 if (arg1 == NULL) SWIG_fail;
6011 temp1 = True;
6012 }
6013 if (obj1) {
6014 {
6015 arg2 = wxString_in_helper(obj1);
6016 if (arg2 == NULL) SWIG_fail;
6017 temp2 = True;
6018 }
6019 }
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6028 {
6029 if (temp1)
6030 delete arg1;
6031 }
6032 {
6033 if (temp2)
6034 delete arg2;
6035 }
6036 return resultobj;
6037 fail:
6038 {
6039 if (temp1)
6040 delete arg1;
6041 }
6042 {
6043 if (temp2)
6044 delete arg2;
6045 }
6046 return NULL;
6047}
6048
6049
6050static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
6051 PyObject *resultobj;
6052 wxSingleInstanceChecker *result;
6053 char *kwnames[] = {
6054 NULL
6055 };
6056
6057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
6058 {
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
6061
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6066 return resultobj;
6067 fail:
6068 return NULL;
6069}
6070
6071
6072static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
6073 PyObject *resultobj;
6074 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6075 PyObject * obj0 = 0 ;
6076 char *kwnames[] = {
6077 (char *) "self", NULL
6078 };
6079
6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
6081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 delete arg1;
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
6090 Py_INCREF(Py_None); resultobj = Py_None;
6091 return resultobj;
6092 fail:
6093 return NULL;
6094}
6095
6096
6097static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6098 PyObject *resultobj;
6099 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6100 wxString *arg2 = 0 ;
6101 wxString const &arg3_defvalue = wxPyEmptyString ;
6102 wxString *arg3 = (wxString *) &arg3_defvalue ;
6103 bool result;
6104 bool temp2 = False ;
6105 bool temp3 = False ;
6106 PyObject * obj0 = 0 ;
6107 PyObject * obj1 = 0 ;
6108 PyObject * obj2 = 0 ;
6109 char *kwnames[] = {
6110 (char *) "self",(char *) "name",(char *) "path", NULL
6111 };
6112
6113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
6114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6116 {
6117 arg2 = wxString_in_helper(obj1);
6118 if (arg2 == NULL) SWIG_fail;
6119 temp2 = True;
6120 }
6121 if (obj2) {
6122 {
6123 arg3 = wxString_in_helper(obj2);
6124 if (arg3 == NULL) SWIG_fail;
6125 temp3 = True;
6126 }
6127 }
6128 {
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
6131
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 {
6136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6137 }
6138 {
6139 if (temp2)
6140 delete arg2;
6141 }
6142 {
6143 if (temp3)
6144 delete arg3;
6145 }
6146 return resultobj;
6147 fail:
6148 {
6149 if (temp2)
6150 delete arg2;
6151 }
6152 {
6153 if (temp3)
6154 delete arg3;
6155 }
6156 return NULL;
6157}
6158
6159
6160static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6161 PyObject *resultobj;
6162 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6163 bool result;
6164 PyObject * obj0 = 0 ;
6165 char *kwnames[] = {
6166 (char *) "self", NULL
6167 };
6168
6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
6170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 {
6180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6181 }
6182 return resultobj;
6183 fail:
6184 return NULL;
6185}
6186
6187
6188static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
6189 PyObject *obj;
6190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6191 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
6192 Py_INCREF(obj);
6193 return Py_BuildValue((char *)"");
6194}
6195static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj;
6197 wxWindow *arg1 = (wxWindow *) 0 ;
6198 wxDC *arg2 = 0 ;
6199 int arg3 ;
6200 PyObject * obj0 = 0 ;
6201 PyObject * obj1 = 0 ;
6202 PyObject * obj2 = 0 ;
6203 char *kwnames[] = {
6204 (char *) "window",(char *) "dc",(char *) "method", NULL
6205 };
6206
6207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
6208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6211 SWIG_POINTER_EXCEPTION | 0)) == -1)
6212 SWIG_fail;
6213 if (arg2 == NULL) {
6214 PyErr_SetString(PyExc_TypeError,"null reference");
6215 SWIG_fail;
6216 }
6217 arg3 = (int) SWIG_AsInt(obj2);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 Py_INCREF(Py_None); resultobj = Py_None;
6227 return resultobj;
6228 fail:
6229 return NULL;
6230}
6231
6232
6233static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6236 PyObject * obj0 = 0 ;
6237 char *kwnames[] = {
6238 (char *) "self", NULL
6239 };
6240
6241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
6242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 delete arg1;
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 Py_INCREF(Py_None); resultobj = Py_None;
6252 return resultobj;
6253 fail:
6254 return NULL;
6255}
6256
6257
6258static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj;
6260 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6261 wxString result;
6262 PyObject * obj0 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 result = (arg1)->GetTip();
6273
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 {
6278#if wxUSE_UNICODE
6279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6280#else
6281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6282#endif
6283 }
6284 return resultobj;
6285 fail:
6286 return NULL;
6287}
6288
6289
6290static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6291 PyObject *resultobj;
6292 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6293 size_t result;
6294 PyObject * obj0 = 0 ;
6295 char *kwnames[] = {
6296 (char *) "self", NULL
6297 };
6298
6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6302 {
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 result = (size_t)(arg1)->GetCurrentTip();
6305
6306 wxPyEndAllowThreads(__tstate);
6307 if (PyErr_Occurred()) SWIG_fail;
6308 }
6309 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
6310 return resultobj;
6311 fail:
6312 return NULL;
6313}
6314
6315
6316static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6317 PyObject *resultobj;
6318 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6319 wxString *arg2 = 0 ;
6320 wxString result;
6321 bool temp2 = False ;
6322 PyObject * obj0 = 0 ;
6323 PyObject * obj1 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "self",(char *) "tip", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6331 {
6332 arg2 = wxString_in_helper(obj1);
6333 if (arg2 == NULL) SWIG_fail;
6334 temp2 = True;
6335 }
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 {
6344#if wxUSE_UNICODE
6345 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6346#else
6347 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6348#endif
6349 }
6350 {
6351 if (temp2)
6352 delete arg2;
6353 }
6354 return resultobj;
6355 fail:
6356 {
6357 if (temp2)
6358 delete arg2;
6359 }
6360 return NULL;
6361}
6362
6363
6364static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
6365 PyObject *obj;
6366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6367 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6368 Py_INCREF(obj);
6369 return Py_BuildValue((char *)"");
6370}
6371static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 size_t arg1 ;
6374 wxPyTipProvider *result;
6375 PyObject * obj0 = 0 ;
6376 char *kwnames[] = {
6377 (char *) "currentTip", NULL
6378 };
6379
6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6381 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6391 return resultobj;
6392 fail:
6393 return NULL;
6394}
6395
6396
6397static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6398 PyObject *resultobj;
6399 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6400 PyObject *arg2 = (PyObject *) 0 ;
6401 PyObject *arg3 = (PyObject *) 0 ;
6402 PyObject * obj0 = 0 ;
6403 PyObject * obj1 = 0 ;
6404 PyObject * obj2 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self",(char *) "self",(char *) "_class", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6412 arg2 = obj1;
6413 arg3 = obj2;
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 (arg1)->_setCallbackInfo(arg2,arg3);
6417
6418 wxPyEndAllowThreads(__tstate);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 Py_INCREF(Py_None); resultobj = Py_None;
6422 return resultobj;
6423 fail:
6424 return NULL;
6425}
6426
6427
6428static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
6429 PyObject *obj;
6430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6431 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6432 Py_INCREF(obj);
6433 return Py_BuildValue((char *)"");
6434}
6435static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6436 PyObject *resultobj;
6437 wxWindow *arg1 = (wxWindow *) 0 ;
6438 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6439 bool arg3 = (bool) True ;
6440 bool result;
6441 PyObject * obj0 = 0 ;
6442 PyObject * obj1 = 0 ;
6443 PyObject * obj2 = 0 ;
6444 char *kwnames[] = {
6445 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6446 };
6447
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6453 if (obj2) {
6454 arg3 = (bool) SWIG_AsBool(obj2);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 {
0439c23b 6458 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 result = (bool)wxShowTip(arg1,arg2,arg3);
6461
6462 wxPyEndAllowThreads(__tstate);
110da5b0 6463 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6464 }
6465 {
6466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6467 }
6468 return resultobj;
6469 fail:
6470 return NULL;
6471}
6472
6473
6474static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6475 PyObject *resultobj;
6476 wxString *arg1 = 0 ;
6477 size_t arg2 ;
6478 wxTipProvider *result;
6479 bool temp1 = False ;
6480 PyObject * obj0 = 0 ;
6481 PyObject * obj1 = 0 ;
6482 char *kwnames[] = {
6483 (char *) "filename",(char *) "currentTip", NULL
6484 };
6485
6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6487 {
6488 arg1 = wxString_in_helper(obj0);
6489 if (arg1 == NULL) SWIG_fail;
6490 temp1 = True;
6491 }
6492 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 {
0439c23b 6495 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6498
6499 wxPyEndAllowThreads(__tstate);
110da5b0 6500 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6501 }
6502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6503 {
6504 if (temp1)
6505 delete arg1;
6506 }
6507 return resultobj;
6508 fail:
6509 {
6510 if (temp1)
6511 delete arg1;
6512 }
6513 return NULL;
6514}
6515
6516
6517static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6518 PyObject *resultobj;
6519 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6520 int arg2 = (int) -1 ;
6521 wxPyTimer *result;
6522 PyObject * obj0 = 0 ;
6523 PyObject * obj1 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "owner",(char *) "id", NULL
6526 };
6527
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6529 if (obj0) {
6530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6532 }
6533 if (obj1) {
6534 arg2 = (int) SWIG_AsInt(obj1);
6535 if (PyErr_Occurred()) SWIG_fail;
6536 }
6537 {
0439c23b 6538 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6541
6542 wxPyEndAllowThreads(__tstate);
110da5b0 6543 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6544 }
6545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6546 return resultobj;
6547 fail:
6548 return NULL;
6549}
6550
6551
6552static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6553 PyObject *resultobj;
6554 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6555 PyObject * obj0 = 0 ;
6556 char *kwnames[] = {
6557 (char *) "self", NULL
6558 };
6559
6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6563 {
6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
6565 delete arg1;
6566
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 Py_INCREF(Py_None); resultobj = Py_None;
6571 return resultobj;
6572 fail:
6573 return NULL;
6574}
6575
6576
6577static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6578 PyObject *resultobj;
6579 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6580 PyObject *arg2 = (PyObject *) 0 ;
6581 PyObject *arg3 = (PyObject *) 0 ;
6582 int arg4 = (int) 1 ;
6583 PyObject * obj0 = 0 ;
6584 PyObject * obj1 = 0 ;
6585 PyObject * obj2 = 0 ;
6586 PyObject * obj3 = 0 ;
6587 char *kwnames[] = {
6588 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6589 };
6590
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6594 arg2 = obj1;
6595 arg3 = obj2;
6596 if (obj3) {
6597 arg4 = (int) SWIG_AsInt(obj3);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6603
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) SWIG_fail;
6606 }
6607 Py_INCREF(Py_None); resultobj = Py_None;
6608 return resultobj;
6609 fail:
6610 return NULL;
6611}
6612
6613
6614static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6615 PyObject *resultobj;
6616 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6617 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6618 int arg3 = (int) -1 ;
6619 PyObject * obj0 = 0 ;
6620 PyObject * obj1 = 0 ;
6621 PyObject * obj2 = 0 ;
6622 char *kwnames[] = {
6623 (char *) "self",(char *) "owner",(char *) "id", NULL
6624 };
6625
6626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6631 if (obj2) {
6632 arg3 = (int) SWIG_AsInt(obj2);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 (arg1)->SetOwner(arg2,arg3);
6638
6639 wxPyEndAllowThreads(__tstate);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 Py_INCREF(Py_None); resultobj = Py_None;
6643 return resultobj;
6644 fail:
6645 return NULL;
6646}
6647
6648
1a6bba1e
RD
6649static PyObject *_wrap_Timer_GetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6650 PyObject *resultobj;
6651 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6652 wxEvtHandler *result;
6653 PyObject * obj0 = 0 ;
6654 char *kwnames[] = {
6655 (char *) "self", NULL
6656 };
6657
6658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
6659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 result = (wxEvtHandler *)(arg1)->GetOwner();
6664
6665 wxPyEndAllowThreads(__tstate);
6666 if (PyErr_Occurred()) SWIG_fail;
6667 }
6668 {
412d302d 6669 resultobj = wxPyMake_wxObject(result, 0);
1a6bba1e
RD
6670 }
6671 return resultobj;
6672 fail:
6673 return NULL;
6674}
6675
6676
d55e5bfc
RD
6677static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6678 PyObject *resultobj;
6679 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6680 int arg2 = (int) -1 ;
6681 bool arg3 = (bool) False ;
6682 bool result;
6683 PyObject * obj0 = 0 ;
6684 PyObject * obj1 = 0 ;
6685 PyObject * obj2 = 0 ;
6686 char *kwnames[] = {
6687 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6688 };
6689
6690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6693 if (obj1) {
6694 arg2 = (int) SWIG_AsInt(obj1);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 if (obj2) {
6698 arg3 = (bool) SWIG_AsBool(obj2);
6699 if (PyErr_Occurred()) SWIG_fail;
6700 }
6701 {
6702 PyThreadState* __tstate = wxPyBeginAllowThreads();
6703 result = (bool)(arg1)->Start(arg2,arg3);
6704
6705 wxPyEndAllowThreads(__tstate);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
6708 {
6709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6710 }
6711 return resultobj;
6712 fail:
6713 return NULL;
6714}
6715
6716
6717static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6718 PyObject *resultobj;
6719 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6720 PyObject * obj0 = 0 ;
6721 char *kwnames[] = {
6722 (char *) "self", NULL
6723 };
6724
6725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 (arg1)->Stop();
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 Py_INCREF(Py_None); resultobj = Py_None;
6736 return resultobj;
6737 fail:
6738 return NULL;
6739}
6740
6741
6742static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6745 bool result;
6746 PyObject * obj0 = 0 ;
6747 char *kwnames[] = {
6748 (char *) "self", NULL
6749 };
6750
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 {
6762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6763 }
6764 return resultobj;
6765 fail:
6766 return NULL;
6767}
6768
6769
6770static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj;
6772 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6773 int result;
6774 PyObject * obj0 = 0 ;
6775 char *kwnames[] = {
6776 (char *) "self", NULL
6777 };
6778
6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 resultobj = SWIG_FromInt((int)result);
6790 return resultobj;
6791 fail:
6792 return NULL;
6793}
6794
6795
6796static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6797 PyObject *resultobj;
6798 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6799 bool result;
6800 PyObject * obj0 = 0 ;
6801 char *kwnames[] = {
6802 (char *) "self", NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 {
6816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6817 }
6818 return resultobj;
6819 fail:
6820 return NULL;
6821}
6822
6823
6824static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6825 PyObject *resultobj;
6826 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6827 int result;
6828 PyObject * obj0 = 0 ;
6829 char *kwnames[] = {
6830 (char *) "self", NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6836 {
6837 PyThreadState* __tstate = wxPyBeginAllowThreads();
6838 result = (int)((wxPyTimer const *)arg1)->GetId();
6839
6840 wxPyEndAllowThreads(__tstate);
6841 if (PyErr_Occurred()) SWIG_fail;
6842 }
6843 resultobj = SWIG_FromInt((int)result);
6844 return resultobj;
6845 fail:
6846 return NULL;
6847}
6848
6849
6850static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6851 PyObject *obj;
6852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6853 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6854 Py_INCREF(obj);
6855 return Py_BuildValue((char *)"");
6856}
6857static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6858 PyObject *resultobj;
6859 int arg1 = (int) 0 ;
6860 int arg2 = (int) 0 ;
6861 wxTimerEvent *result;
6862 PyObject * obj0 = 0 ;
6863 PyObject * obj1 = 0 ;
6864 char *kwnames[] = {
6865 (char *) "timerid",(char *) "interval", NULL
6866 };
6867
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6869 if (obj0) {
6870 arg1 = (int) SWIG_AsInt(obj0);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 if (obj1) {
6874 arg2 = (int) SWIG_AsInt(obj1);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
6885 return resultobj;
6886 fail:
6887 return NULL;
6888}
6889
6890
6891static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject *resultobj;
6893 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6894 int result;
6895 PyObject * obj0 = 0 ;
6896 char *kwnames[] = {
6897 (char *) "self", NULL
6898 };
6899
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 resultobj = SWIG_FromInt((int)result);
6911 return resultobj;
6912 fail:
6913 return NULL;
6914}
6915
6916
6917static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6918 PyObject *obj;
6919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6920 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6921 Py_INCREF(obj);
6922 return Py_BuildValue((char *)"");
6923}
6924static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6925 PyObject *resultobj;
6926 wxTimer *arg1 = 0 ;
6927 wxTimerRunner *result;
6928 PyObject * obj0 = 0 ;
6929
6930 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6932 SWIG_POINTER_EXCEPTION | 0)) == -1)
6933 SWIG_fail;
6934 if (arg1 == NULL) {
6935 PyErr_SetString(PyExc_TypeError,"null reference");
6936 SWIG_fail;
6937 }
6938 {
0439c23b 6939 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6942
6943 wxPyEndAllowThreads(__tstate);
110da5b0 6944 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6945 }
6946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6947 return resultobj;
6948 fail:
6949 return NULL;
6950}
6951
6952
6953static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6954 PyObject *resultobj;
6955 wxTimer *arg1 = 0 ;
6956 int arg2 ;
6957 bool arg3 = (bool) False ;
6958 wxTimerRunner *result;
6959 PyObject * obj0 = 0 ;
6960 PyObject * obj1 = 0 ;
6961 PyObject * obj2 = 0 ;
6962
6963 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6965 SWIG_POINTER_EXCEPTION | 0)) == -1)
6966 SWIG_fail;
6967 if (arg1 == NULL) {
6968 PyErr_SetString(PyExc_TypeError,"null reference");
6969 SWIG_fail;
6970 }
6971 arg2 = (int) SWIG_AsInt(obj1);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 if (obj2) {
6974 arg3 = (bool) SWIG_AsBool(obj2);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 {
0439c23b 6978 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6981
6982 wxPyEndAllowThreads(__tstate);
110da5b0 6983 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6984 }
6985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6986 return resultobj;
6987 fail:
6988 return NULL;
6989}
6990
6991
6992static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6993 int argc;
6994 PyObject *argv[4];
6995 int ii;
6996
6997 argc = PyObject_Length(args);
6998 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6999 argv[ii] = PyTuple_GetItem(args,ii);
7000 }
7001 if (argc == 1) {
7002 int _v;
7003 {
7004 void *ptr;
7005 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7006 _v = 0;
7007 PyErr_Clear();
7008 } else {
7009 _v = 1;
7010 }
7011 }
7012 if (_v) {
7013 return _wrap_new_TimerRunner__SWIG_0(self,args);
7014 }
7015 }
7016 if ((argc >= 2) && (argc <= 3)) {
7017 int _v;
7018 {
7019 void *ptr;
7020 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7021 _v = 0;
7022 PyErr_Clear();
7023 } else {
7024 _v = 1;
7025 }
7026 }
7027 if (_v) {
7028 _v = SWIG_CheckInt(argv[1]);
7029 if (_v) {
7030 if (argc <= 2) {
7031 return _wrap_new_TimerRunner__SWIG_1(self,args);
7032 }
7033 _v = SWIG_CheckBool(argv[2]);
7034 if (_v) {
7035 return _wrap_new_TimerRunner__SWIG_1(self,args);
7036 }
7037 }
7038 }
7039 }
7040
7041 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
7042 return NULL;
7043}
7044
7045
7046static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj;
7048 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7049 PyObject * obj0 = 0 ;
7050 char *kwnames[] = {
7051 (char *) "self", NULL
7052 };
7053
7054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
7055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7057 {
7058 PyThreadState* __tstate = wxPyBeginAllowThreads();
7059 delete arg1;
7060
7061 wxPyEndAllowThreads(__tstate);
7062 if (PyErr_Occurred()) SWIG_fail;
7063 }
7064 Py_INCREF(Py_None); resultobj = Py_None;
7065 return resultobj;
7066 fail:
7067 return NULL;
7068}
7069
7070
7071static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj;
7073 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7074 int arg2 ;
7075 bool arg3 = (bool) False ;
7076 PyObject * obj0 = 0 ;
7077 PyObject * obj1 = 0 ;
7078 PyObject * obj2 = 0 ;
7079 char *kwnames[] = {
7080 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7081 };
7082
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
7084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7086 arg2 = (int) SWIG_AsInt(obj1);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 if (obj2) {
7089 arg3 = (bool) SWIG_AsBool(obj2);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 {
7093 PyThreadState* __tstate = wxPyBeginAllowThreads();
7094 (arg1)->Start(arg2,arg3);
7095
7096 wxPyEndAllowThreads(__tstate);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 }
7099 Py_INCREF(Py_None); resultobj = Py_None;
7100 return resultobj;
7101 fail:
7102 return NULL;
7103}
7104
7105
7106static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
7107 PyObject *obj;
7108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7109 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
7110 Py_INCREF(obj);
7111 return Py_BuildValue((char *)"");
7112}
7113static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
7114 PyObject *resultobj;
7115 wxLog *result;
7116 char *kwnames[] = {
7117 NULL
7118 };
7119
7120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
7121 {
7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7123 result = (wxLog *)new wxLog();
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
7129 return resultobj;
7130 fail:
7131 return NULL;
7132}
7133
7134
7135static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7136 PyObject *resultobj;
7137 bool result;
7138 char *kwnames[] = {
7139 NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
7143 {
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
7145 result = (bool)wxLog::IsEnabled();
7146
7147 wxPyEndAllowThreads(__tstate);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 }
7150 {
7151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7152 }
7153 return resultobj;
7154 fail:
7155 return NULL;
7156}
7157
7158
7159static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
7160 PyObject *resultobj;
7161 bool arg1 = (bool) True ;
7162 bool result;
7163 PyObject * obj0 = 0 ;
7164 char *kwnames[] = {
7165 (char *) "doIt", NULL
7166 };
7167
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
7169 if (obj0) {
7170 arg1 = (bool) SWIG_AsBool(obj0);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 result = (bool)wxLog::EnableLogging(arg1);
7176
7177 wxPyEndAllowThreads(__tstate);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
7180 {
7181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7182 }
7183 return resultobj;
7184 fail:
7185 return NULL;
7186}
7187
7188
7189static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7190 PyObject *resultobj;
7191 wxLogLevel arg1 ;
7192 wxChar *arg2 = (wxChar *) 0 ;
7193 time_t arg3 ;
7194 PyObject * obj0 = 0 ;
7195 PyObject * obj1 = 0 ;
7196 PyObject * obj2 = 0 ;
7197 char *kwnames[] = {
7198 (char *) "level",(char *) "szString",(char *) "t", NULL
7199 };
7200
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
7202 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
7205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7206 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 Py_INCREF(Py_None); resultobj = Py_None;
7216 return resultobj;
7217 fail:
7218 return NULL;
7219}
7220
7221
7222static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
7223 PyObject *resultobj;
7224 wxLog *arg1 = (wxLog *) 0 ;
7225 PyObject * obj0 = 0 ;
7226 char *kwnames[] = {
7227 (char *) "self", NULL
7228 };
7229
7230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
7231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7233 {
7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
7235 (arg1)->Flush();
7236
7237 wxPyEndAllowThreads(__tstate);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 }
7240 Py_INCREF(Py_None); resultobj = Py_None;
7241 return resultobj;
7242 fail:
7243 return NULL;
7244}
7245
7246
7247static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
7248 PyObject *resultobj;
7249 char *kwnames[] = {
7250 NULL
7251 };
7252
7253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
7254 {
7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7256 wxLog::FlushActive();
7257
7258 wxPyEndAllowThreads(__tstate);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 Py_INCREF(Py_None); resultobj = Py_None;
7262 return resultobj;
7263 fail:
7264 return NULL;
7265}
7266
7267
7268static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj;
7270 wxLog *result;
7271 char *kwnames[] = {
7272 NULL
7273 };
7274
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
7276 {
7277 PyThreadState* __tstate = wxPyBeginAllowThreads();
7278 result = (wxLog *)wxLog::GetActiveTarget();
7279
7280 wxPyEndAllowThreads(__tstate);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
7283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7284 return resultobj;
7285 fail:
7286 return NULL;
7287}
7288
7289
7290static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7291 PyObject *resultobj;
7292 wxLog *arg1 = (wxLog *) 0 ;
7293 wxLog *result;
7294 PyObject * obj0 = 0 ;
7295 char *kwnames[] = {
7296 (char *) "pLogger", NULL
7297 };
7298
7299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7310 return resultobj;
7311 fail:
7312 return NULL;
7313}
7314
7315
7316static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj;
7318 char *kwnames[] = {
7319 NULL
7320 };
7321
7322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 wxLog::Suspend();
7326
7327 wxPyEndAllowThreads(__tstate);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 Py_INCREF(Py_None); resultobj = Py_None;
7331 return resultobj;
7332 fail:
7333 return NULL;
7334}
7335
7336
7337static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj;
7339 char *kwnames[] = {
7340 NULL
7341 };
7342
7343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 wxLog::Resume();
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 Py_INCREF(Py_None); resultobj = Py_None;
7352 return resultobj;
7353 fail:
7354 return NULL;
7355}
7356
7357
7358static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj;
7360 bool arg1 = (bool) True ;
7361 PyObject * obj0 = 0 ;
7362 char *kwnames[] = {
7363 (char *) "bVerbose", NULL
7364 };
7365
7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7367 if (obj0) {
7368 arg1 = (bool) SWIG_AsBool(obj0);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 {
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 wxLog::SetVerbose(arg1);
7374
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
7378 Py_INCREF(Py_None); resultobj = Py_None;
7379 return resultobj;
7380 fail:
7381 return NULL;
7382}
7383
7384
7385static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj;
7387 wxLogLevel arg1 ;
7388 PyObject * obj0 = 0 ;
7389 char *kwnames[] = {
7390 (char *) "logLevel", NULL
7391 };
7392
7393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7394 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 wxLog::SetLogLevel(arg1);
7399
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 Py_INCREF(Py_None); resultobj = Py_None;
7404 return resultobj;
7405 fail:
7406 return NULL;
7407}
7408
7409
7410static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 char *kwnames[] = {
7413 NULL
7414 };
7415
7416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 wxLog::DontCreateOnDemand();
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 return resultobj;
7426 fail:
7427 return NULL;
7428}
7429
7430
7431static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj;
7433 wxTraceMask arg1 ;
7434 PyObject * obj0 = 0 ;
7435 char *kwnames[] = {
7436 (char *) "ulMask", NULL
7437 };
7438
7439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7440 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7441 if (PyErr_Occurred()) SWIG_fail;
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 wxLog::SetTraceMask(arg1);
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 Py_INCREF(Py_None); resultobj = Py_None;
7450 return resultobj;
7451 fail:
7452 return NULL;
7453}
7454
7455
7456static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7457 PyObject *resultobj;
7458 wxString *arg1 = 0 ;
7459 bool temp1 = False ;
7460 PyObject * obj0 = 0 ;
7461 char *kwnames[] = {
7462 (char *) "str", NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7466 {
7467 arg1 = wxString_in_helper(obj0);
7468 if (arg1 == NULL) SWIG_fail;
7469 temp1 = True;
7470 }
7471 {
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 wxLog::AddTraceMask((wxString const &)*arg1);
7474
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 Py_INCREF(Py_None); resultobj = Py_None;
7479 {
7480 if (temp1)
7481 delete arg1;
7482 }
7483 return resultobj;
7484 fail:
7485 {
7486 if (temp1)
7487 delete arg1;
7488 }
7489 return NULL;
7490}
7491
7492
7493static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7494 PyObject *resultobj;
7495 wxString *arg1 = 0 ;
7496 bool temp1 = False ;
7497 PyObject * obj0 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "str", NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7503 {
7504 arg1 = wxString_in_helper(obj0);
7505 if (arg1 == NULL) SWIG_fail;
7506 temp1 = True;
7507 }
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 wxLog::RemoveTraceMask((wxString const &)*arg1);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 Py_INCREF(Py_None); resultobj = Py_None;
7516 {
7517 if (temp1)
7518 delete arg1;
7519 }
7520 return resultobj;
7521 fail:
7522 {
7523 if (temp1)
7524 delete arg1;
7525 }
7526 return NULL;
7527}
7528
7529
7530static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7531 PyObject *resultobj;
7532 char *kwnames[] = {
7533 NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 wxLog::ClearTraceMasks();
7540
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
7544 Py_INCREF(Py_None); resultobj = Py_None;
7545 return resultobj;
7546 fail:
7547 return NULL;
7548}
7549
7550
7551static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj;
7553 wxArrayString *result;
7554 char *kwnames[] = {
7555 NULL
7556 };
7557
7558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 {
7562 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7563 result = (wxArrayString *) &_result_ref;
7564 }
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 {
7570 resultobj = wxArrayString2PyList_helper(*result);
7571 }
7572 return resultobj;
7573 fail:
7574 return NULL;
7575}
7576
7577
7578static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj;
7580 wxChar *arg1 = (wxChar *) 0 ;
7581 PyObject * obj0 = 0 ;
7582 char *kwnames[] = {
7583 (char *) "ts", NULL
7584 };
7585
7586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7589 {
7590 PyThreadState* __tstate = wxPyBeginAllowThreads();
7591 wxLog::SetTimestamp((wxChar const *)arg1);
7592
7593 wxPyEndAllowThreads(__tstate);
7594 if (PyErr_Occurred()) SWIG_fail;
7595 }
7596 Py_INCREF(Py_None); resultobj = Py_None;
7597 return resultobj;
7598 fail:
7599 return NULL;
7600}
7601
7602
7603static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7604 PyObject *resultobj;
7605 bool result;
7606 char *kwnames[] = {
7607 NULL
7608 };
7609
7610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7611 {
7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
7613 result = (bool)wxLog::GetVerbose();
7614
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) SWIG_fail;
7617 }
7618 {
7619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7620 }
7621 return resultobj;
7622 fail:
7623 return NULL;
7624}
7625
7626
7627static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7628 PyObject *resultobj;
7629 wxTraceMask result;
7630 char *kwnames[] = {
7631 NULL
7632 };
7633
7634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 result = (wxTraceMask)wxLog::GetTraceMask();
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7643 return resultobj;
7644 fail:
7645 return NULL;
7646}
7647
7648
7649static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7650 PyObject *resultobj;
7651 wxChar *arg1 = (wxChar *) 0 ;
7652 bool result;
7653 PyObject * obj0 = 0 ;
7654 char *kwnames[] = {
7655 (char *) "mask", NULL
7656 };
7657
7658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7664
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 {
7669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7670 }
7671 return resultobj;
7672 fail:
7673 return NULL;
7674}
7675
7676
7677static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7678 PyObject *resultobj;
7679 wxLogLevel result;
7680 char *kwnames[] = {
7681 NULL
7682 };
7683
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = (wxLogLevel)wxLog::GetLogLevel();
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
7692 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7693 return resultobj;
7694 fail:
7695 return NULL;
7696}
7697
7698
7699static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7700 PyObject *resultobj;
7701 wxChar *result;
7702 char *kwnames[] = {
7703 NULL
7704 };
7705
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 result = (wxChar *)wxLog::GetTimestamp();
7710
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
7714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7715 return resultobj;
7716 fail:
7717 return NULL;
7718}
7719
7720
7721static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7722 PyObject *resultobj;
7723 wxString result;
7724 char *kwnames[] = {
7725 NULL
7726 };
7727
7728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 result = Log_TimeStamp();
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 {
7737#if wxUSE_UNICODE
7738 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7739#else
7740 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7741#endif
7742 }
7743 return resultobj;
7744 fail:
7745 return NULL;
7746}
7747
7748
7749static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj;
7751 wxLog *arg1 = (wxLog *) 0 ;
7752 PyObject * obj0 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 wxLog_Destroy(arg1);
7763
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 Py_INCREF(Py_None); resultobj = Py_None;
7768 return resultobj;
7769 fail:
7770 return NULL;
7771}
7772
7773
7774static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7775 PyObject *obj;
7776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7777 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7778 Py_INCREF(obj);
7779 return Py_BuildValue((char *)"");
7780}
7781static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7782 PyObject *resultobj;
7783 wxLogStderr *result;
7784 char *kwnames[] = {
7785 NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 result = (wxLogStderr *)new wxLogStderr();
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
7797 return resultobj;
7798 fail:
7799 return NULL;
7800}
7801
7802
7803static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7804 PyObject *obj;
7805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7806 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7807 Py_INCREF(obj);
7808 return Py_BuildValue((char *)"");
7809}
7810static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7811 PyObject *resultobj;
7812 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7813 wxLogTextCtrl *result;
7814 PyObject * obj0 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "pTextCtrl", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
7830 return resultobj;
7831 fail:
7832 return NULL;
7833}
7834
7835
7836static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7837 PyObject *obj;
7838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7839 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7840 Py_INCREF(obj);
7841 return Py_BuildValue((char *)"");
7842}
7843static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7844 PyObject *resultobj;
7845 wxLogGui *result;
7846 char *kwnames[] = {
7847 NULL
7848 };
7849
7850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7851 {
7852 PyThreadState* __tstate = wxPyBeginAllowThreads();
7853 result = (wxLogGui *)new wxLogGui();
7854
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
7859 return resultobj;
7860 fail:
7861 return NULL;
7862}
7863
7864
7865static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7866 PyObject *obj;
7867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7868 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7869 Py_INCREF(obj);
7870 return Py_BuildValue((char *)"");
7871}
7872static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7873 PyObject *resultobj;
7874 wxFrame *arg1 = (wxFrame *) 0 ;
7875 wxString *arg2 = 0 ;
7876 bool arg3 = (bool) True ;
7877 bool arg4 = (bool) True ;
7878 wxLogWindow *result;
7879 bool temp2 = False ;
7880 PyObject * obj0 = 0 ;
7881 PyObject * obj1 = 0 ;
7882 PyObject * obj2 = 0 ;
7883 PyObject * obj3 = 0 ;
7884 char *kwnames[] = {
7885 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7886 };
7887
7888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7891 {
7892 arg2 = wxString_in_helper(obj1);
7893 if (arg2 == NULL) SWIG_fail;
7894 temp2 = True;
7895 }
7896 if (obj2) {
7897 arg3 = (bool) SWIG_AsBool(obj2);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 if (obj3) {
7901 arg4 = (bool) SWIG_AsBool(obj3);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
7904 {
7905 PyThreadState* __tstate = wxPyBeginAllowThreads();
7906 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7907
7908 wxPyEndAllowThreads(__tstate);
7909 if (PyErr_Occurred()) SWIG_fail;
7910 }
7911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
7912 {
7913 if (temp2)
7914 delete arg2;
7915 }
7916 return resultobj;
7917 fail:
7918 {
7919 if (temp2)
7920 delete arg2;
7921 }
7922 return NULL;
7923}
7924
7925
7926static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7927 PyObject *resultobj;
7928 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7929 bool arg2 = (bool) True ;
7930 PyObject * obj0 = 0 ;
7931 PyObject * obj1 = 0 ;
7932 char *kwnames[] = {
7933 (char *) "self",(char *) "bShow", NULL
7934 };
7935
7936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7939 if (obj1) {
7940 arg2 = (bool) SWIG_AsBool(obj1);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 {
7944 PyThreadState* __tstate = wxPyBeginAllowThreads();
7945 (arg1)->Show(arg2);
7946
7947 wxPyEndAllowThreads(__tstate);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 }
7950 Py_INCREF(Py_None); resultobj = Py_None;
7951 return resultobj;
7952 fail:
7953 return NULL;
7954}
7955
7956
7957static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7958 PyObject *resultobj;
7959 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7960 wxFrame *result;
7961 PyObject * obj0 = 0 ;
7962 char *kwnames[] = {
7963 (char *) "self", NULL
7964 };
7965
7966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 {
412d302d 7977 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7978 }
7979 return resultobj;
7980 fail:
7981 return NULL;
7982}
7983
7984
7985static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7986 PyObject *resultobj;
7987 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7988 wxLog *result;
7989 PyObject * obj0 = 0 ;
7990 char *kwnames[] = {
7991 (char *) "self", NULL
7992 };
7993
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8005 return resultobj;
8006 fail:
8007 return NULL;
8008}
8009
8010
8011static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8012 PyObject *resultobj;
8013 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8014 bool result;
8015 PyObject * obj0 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
8021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
8026
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 {
8031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8032 }
8033 return resultobj;
8034 fail:
8035 return NULL;
8036}
8037
8038
8039static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj;
8041 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8042 bool arg2 ;
8043 PyObject * obj0 = 0 ;
8044 PyObject * obj1 = 0 ;
8045 char *kwnames[] = {
8046 (char *) "self",(char *) "bDoPass", NULL
8047 };
8048
8049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8052 arg2 = (bool) SWIG_AsBool(obj1);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 (arg1)->PassMessages(arg2);
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 Py_INCREF(Py_None); resultobj = Py_None;
8062 return resultobj;
8063 fail:
8064 return NULL;
8065}
8066
8067
8068static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
8069 PyObject *obj;
8070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8071 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
8072 Py_INCREF(obj);
8073 return Py_BuildValue((char *)"");
8074}
8075static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
8076 PyObject *resultobj;
8077 wxLog *arg1 = (wxLog *) 0 ;
8078 wxLogChain *result;
8079 PyObject * obj0 = 0 ;
8080 char *kwnames[] = {
8081 (char *) "logger", NULL
8082 };
8083
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
8085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8087 {
8088 PyThreadState* __tstate = wxPyBeginAllowThreads();
8089 result = (wxLogChain *)new wxLogChain(arg1);
8090
8091 wxPyEndAllowThreads(__tstate);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 }
8094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
8095 return resultobj;
8096 fail:
8097 return NULL;
8098}
8099
8100
8101static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8102 PyObject *resultobj;
8103 wxLogChain *arg1 = (wxLogChain *) 0 ;
8104 wxLog *arg2 = (wxLog *) 0 ;
8105 PyObject * obj0 = 0 ;
8106 PyObject * obj1 = 0 ;
8107 char *kwnames[] = {
8108 (char *) "self",(char *) "logger", NULL
8109 };
8110
8111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
8112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
8115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 (arg1)->SetLog(arg2);
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 Py_INCREF(Py_None); resultobj = Py_None;
8124 return resultobj;
8125 fail:
8126 return NULL;
8127}
8128
8129
8130static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8131 PyObject *resultobj;
8132 wxLogChain *arg1 = (wxLogChain *) 0 ;
8133 bool arg2 ;
8134 PyObject * obj0 = 0 ;
8135 PyObject * obj1 = 0 ;
8136 char *kwnames[] = {
8137 (char *) "self",(char *) "bDoPass", NULL
8138 };
8139
8140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8143 arg2 = (bool) SWIG_AsBool(obj1);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 (arg1)->PassMessages(arg2);
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 Py_INCREF(Py_None); resultobj = Py_None;
8153 return resultobj;
8154 fail:
8155 return NULL;
8156}
8157
8158
8159static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxLogChain *arg1 = (wxLogChain *) 0 ;
8162 bool result;
8163 PyObject * obj0 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "self", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
8169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 result = (bool)(arg1)->IsPassingMessages();
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 {
8179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8180 }
8181 return resultobj;
8182 fail:
8183 return NULL;
8184}
8185
8186
8187static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8188 PyObject *resultobj;
8189 wxLogChain *arg1 = (wxLogChain *) 0 ;
8190 wxLog *result;
8191 PyObject * obj0 = 0 ;
8192 char *kwnames[] = {
8193 (char *) "self", NULL
8194 };
8195
8196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
8197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8199 {
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 result = (wxLog *)(arg1)->GetOldLog();
8202
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8207 return resultobj;
8208 fail:
8209 return NULL;
8210}
8211
8212
8213static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
8214 PyObject *obj;
8215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8216 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
8217 Py_INCREF(obj);
8218 return Py_BuildValue((char *)"");
8219}
8220static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8221 PyObject *resultobj;
8222 unsigned long result;
8223 char *kwnames[] = {
8224 NULL
8225 };
8226
8227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
8228 {
8229 PyThreadState* __tstate = wxPyBeginAllowThreads();
8230 result = (unsigned long)wxSysErrorCode();
8231
8232 wxPyEndAllowThreads(__tstate);
8233 if (PyErr_Occurred()) SWIG_fail;
8234 }
8235 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
8236 return resultobj;
8237 fail:
8238 return NULL;
8239}
8240
8241
8242static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
8243 PyObject *resultobj;
8244 unsigned long arg1 = (unsigned long) 0 ;
8245 wxString result;
8246 PyObject * obj0 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "nErrCode", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
8252 if (obj0) {
8253 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 {
8257 PyThreadState* __tstate = wxPyBeginAllowThreads();
8258 result = wxSysErrorMsg(arg1);
8259
8260 wxPyEndAllowThreads(__tstate);
8261 if (PyErr_Occurred()) SWIG_fail;
8262 }
8263 {
8264#if wxUSE_UNICODE
8265 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8266#else
8267 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8268#endif
8269 }
8270 return resultobj;
8271 fail:
8272 return NULL;
8273}
8274
8275
8276static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
8277 PyObject *resultobj;
8278 wxString *arg1 = 0 ;
8279 bool temp1 = False ;
8280 PyObject * obj0 = 0 ;
8281 char *kwnames[] = {
8282 (char *) "msg", NULL
8283 };
8284
8285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8286 {
8287 arg1 = wxString_in_helper(obj0);
8288 if (arg1 == NULL) SWIG_fail;
8289 temp1 = True;
8290 }
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 wxLogFatalError((wxString const &)*arg1);
8294
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 }
8298 Py_INCREF(Py_None); resultobj = Py_None;
8299 {
8300 if (temp1)
8301 delete arg1;
8302 }
8303 return resultobj;
8304 fail:
8305 {
8306 if (temp1)
8307 delete arg1;
8308 }
8309 return NULL;
8310}
8311
8312
8313static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
8314 PyObject *resultobj;
8315 wxString *arg1 = 0 ;
8316 bool temp1 = False ;
8317 PyObject * obj0 = 0 ;
8318 char *kwnames[] = {
8319 (char *) "msg", NULL
8320 };
8321
8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8323 {
8324 arg1 = wxString_in_helper(obj0);
8325 if (arg1 == NULL) SWIG_fail;
8326 temp1 = True;
8327 }
8328 {
8329 PyThreadState* __tstate = wxPyBeginAllowThreads();
8330 wxLogError((wxString const &)*arg1);
8331
8332 wxPyEndAllowThreads(__tstate);
8333 if (PyErr_Occurred()) SWIG_fail;
8334 }
8335 Py_INCREF(Py_None); resultobj = Py_None;
8336 {
8337 if (temp1)
8338 delete arg1;
8339 }
8340 return resultobj;
8341 fail:
8342 {
8343 if (temp1)
8344 delete arg1;
8345 }
8346 return NULL;
8347}
8348
8349
8350static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
8351 PyObject *resultobj;
8352 wxString *arg1 = 0 ;
8353 bool temp1 = False ;
8354 PyObject * obj0 = 0 ;
8355 char *kwnames[] = {
8356 (char *) "msg", NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8360 {
8361 arg1 = wxString_in_helper(obj0);
8362 if (arg1 == NULL) SWIG_fail;
8363 temp1 = True;
8364 }
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 wxLogWarning((wxString const &)*arg1);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 Py_INCREF(Py_None); resultobj = Py_None;
8373 {
8374 if (temp1)
8375 delete arg1;
8376 }
8377 return resultobj;
8378 fail:
8379 {
8380 if (temp1)
8381 delete arg1;
8382 }
8383 return NULL;
8384}
8385
8386
8387static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8388 PyObject *resultobj;
8389 wxString *arg1 = 0 ;
8390 bool temp1 = False ;
8391 PyObject * obj0 = 0 ;
8392 char *kwnames[] = {
8393 (char *) "msg", NULL
8394 };
8395
8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8397 {
8398 arg1 = wxString_in_helper(obj0);
8399 if (arg1 == NULL) SWIG_fail;
8400 temp1 = True;
8401 }
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 wxLogMessage((wxString const &)*arg1);
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 Py_INCREF(Py_None); resultobj = Py_None;
8410 {
8411 if (temp1)
8412 delete arg1;
8413 }
8414 return resultobj;
8415 fail:
8416 {
8417 if (temp1)
8418 delete arg1;
8419 }
8420 return NULL;
8421}
8422
8423
8424static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8425 PyObject *resultobj;
8426 wxString *arg1 = 0 ;
8427 bool temp1 = False ;
8428 PyObject * obj0 = 0 ;
8429 char *kwnames[] = {
8430 (char *) "msg", NULL
8431 };
8432
8433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8434 {
8435 arg1 = wxString_in_helper(obj0);
8436 if (arg1 == NULL) SWIG_fail;
8437 temp1 = True;
8438 }
8439 {
8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
8441 wxLogInfo((wxString const &)*arg1);
8442
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 Py_INCREF(Py_None); resultobj = Py_None;
8447 {
8448 if (temp1)
8449 delete arg1;
8450 }
8451 return resultobj;
8452 fail:
8453 {
8454 if (temp1)
8455 delete arg1;
8456 }
8457 return NULL;
8458}
8459
8460
8461static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
8462 PyObject *resultobj;
8463 wxString *arg1 = 0 ;
8464 bool temp1 = False ;
8465 PyObject * obj0 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "msg", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8471 {
8472 arg1 = wxString_in_helper(obj0);
8473 if (arg1 == NULL) SWIG_fail;
8474 temp1 = True;
8475 }
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 wxLogDebug((wxString const &)*arg1);
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 Py_INCREF(Py_None); resultobj = Py_None;
8484 {
8485 if (temp1)
8486 delete arg1;
8487 }
8488 return resultobj;
8489 fail:
8490 {
8491 if (temp1)
8492 delete arg1;
8493 }
8494 return NULL;
8495}
8496
8497
8498static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8499 PyObject *resultobj;
8500 wxString *arg1 = 0 ;
8501 bool temp1 = False ;
8502 PyObject * obj0 = 0 ;
8503 char *kwnames[] = {
8504 (char *) "msg", NULL
8505 };
8506
8507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8508 {
8509 arg1 = wxString_in_helper(obj0);
8510 if (arg1 == NULL) SWIG_fail;
8511 temp1 = True;
8512 }
8513 {
8514 PyThreadState* __tstate = wxPyBeginAllowThreads();
8515 wxLogVerbose((wxString const &)*arg1);
8516
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 Py_INCREF(Py_None); resultobj = Py_None;
8521 {
8522 if (temp1)
8523 delete arg1;
8524 }
8525 return resultobj;
8526 fail:
8527 {
8528 if (temp1)
8529 delete arg1;
8530 }
8531 return NULL;
8532}
8533
8534
8535static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8536 PyObject *resultobj;
8537 wxString *arg1 = 0 ;
8538 bool temp1 = False ;
8539 PyObject * obj0 = 0 ;
8540 char *kwnames[] = {
8541 (char *) "msg", NULL
8542 };
8543
8544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8545 {
8546 arg1 = wxString_in_helper(obj0);
8547 if (arg1 == NULL) SWIG_fail;
8548 temp1 = True;
8549 }
8550 {
8551 PyThreadState* __tstate = wxPyBeginAllowThreads();
8552 wxLogStatus((wxString const &)*arg1);
8553
8554 wxPyEndAllowThreads(__tstate);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 }
8557 Py_INCREF(Py_None); resultobj = Py_None;
8558 {
8559 if (temp1)
8560 delete arg1;
8561 }
8562 return resultobj;
8563 fail:
8564 {
8565 if (temp1)
8566 delete arg1;
8567 }
8568 return NULL;
8569}
8570
8571
8572static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8573 PyObject *resultobj;
8574 wxFrame *arg1 = (wxFrame *) 0 ;
8575 wxString *arg2 = 0 ;
8576 bool temp2 = False ;
8577 PyObject * obj0 = 0 ;
8578 PyObject * obj1 = 0 ;
8579 char *kwnames[] = {
8580 (char *) "pFrame",(char *) "msg", NULL
8581 };
8582
8583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8586 {
8587 arg2 = wxString_in_helper(obj1);
8588 if (arg2 == NULL) SWIG_fail;
8589 temp2 = True;
8590 }
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 wxLogStatus(arg1,(wxString const &)*arg2);
8594
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 Py_INCREF(Py_None); resultobj = Py_None;
8599 {
8600 if (temp2)
8601 delete arg2;
8602 }
8603 return resultobj;
8604 fail:
8605 {
8606 if (temp2)
8607 delete arg2;
8608 }
8609 return NULL;
8610}
8611
8612
8613static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8614 PyObject *resultobj;
8615 wxString *arg1 = 0 ;
8616 bool temp1 = False ;
8617 PyObject * obj0 = 0 ;
8618 char *kwnames[] = {
8619 (char *) "msg", NULL
8620 };
8621
8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8623 {
8624 arg1 = wxString_in_helper(obj0);
8625 if (arg1 == NULL) SWIG_fail;
8626 temp1 = True;
8627 }
8628 {
8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
8630 wxLogSysError((wxString const &)*arg1);
8631
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 Py_INCREF(Py_None); resultobj = Py_None;
8636 {
8637 if (temp1)
8638 delete arg1;
8639 }
8640 return resultobj;
8641 fail:
8642 {
8643 if (temp1)
8644 delete arg1;
8645 }
8646 return NULL;
8647}
8648
8649
8650static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
8651 PyObject *resultobj;
8652 unsigned long arg1 ;
8653 wxString *arg2 = 0 ;
8654 bool temp2 = False ;
8655 PyObject * obj0 = 0 ;
8656 PyObject * obj1 = 0 ;
8657
8658 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8659 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 {
8662 arg2 = wxString_in_helper(obj1);
8663 if (arg2 == NULL) SWIG_fail;
8664 temp2 = True;
8665 }
8666 {
8667 PyThreadState* __tstate = wxPyBeginAllowThreads();
8668 wxLogTrace(arg1,(wxString const &)*arg2);
8669
8670 wxPyEndAllowThreads(__tstate);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 }
8673 Py_INCREF(Py_None); resultobj = Py_None;
8674 {
8675 if (temp2)
8676 delete arg2;
8677 }
8678 return resultobj;
8679 fail:
8680 {
8681 if (temp2)
8682 delete arg2;
8683 }
8684 return NULL;
8685}
8686
8687
8688static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
8689 PyObject *resultobj;
8690 wxString *arg1 = 0 ;
8691 wxString *arg2 = 0 ;
8692 bool temp1 = False ;
8693 bool temp2 = False ;
8694 PyObject * obj0 = 0 ;
8695 PyObject * obj1 = 0 ;
8696
8697 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8698 {
8699 arg1 = wxString_in_helper(obj0);
8700 if (arg1 == NULL) SWIG_fail;
8701 temp1 = True;
8702 }
8703 {
8704 arg2 = wxString_in_helper(obj1);
8705 if (arg2 == NULL) SWIG_fail;
8706 temp2 = True;
8707 }
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 Py_INCREF(Py_None); resultobj = Py_None;
8716 {
8717 if (temp1)
8718 delete arg1;
8719 }
8720 {
8721 if (temp2)
8722 delete arg2;
8723 }
8724 return resultobj;
8725 fail:
8726 {
8727 if (temp1)
8728 delete arg1;
8729 }
8730 {
8731 if (temp2)
8732 delete arg2;
8733 }
8734 return NULL;
8735}
8736
8737
8738static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8739 int argc;
8740 PyObject *argv[3];
8741 int ii;
8742
8743 argc = PyObject_Length(args);
8744 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8745 argv[ii] = PyTuple_GetItem(args,ii);
8746 }
8747 if (argc == 2) {
8748 int _v;
8749 {
8750 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8751 }
8752 if (_v) {
8753 {
8754 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8755 }
8756 if (_v) {
8757 return _wrap_LogTrace__SWIG_1(self,args);
8758 }
8759 }
8760 }
8761 if (argc == 2) {
8762 int _v;
8763 _v = SWIG_CheckUnsignedLong(argv[0]);
8764 if (_v) {
8765 {
8766 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8767 }
8768 if (_v) {
8769 return _wrap_LogTrace__SWIG_0(self,args);
8770 }
8771 }
8772 }
8773
8774 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8775 return NULL;
8776}
8777
8778
8779static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8780 PyObject *resultobj;
8781 unsigned long arg1 ;
8782 wxString *arg2 = 0 ;
8783 bool temp2 = False ;
8784 PyObject * obj0 = 0 ;
8785 PyObject * obj1 = 0 ;
8786 char *kwnames[] = {
8787 (char *) "level",(char *) "msg", NULL
8788 };
8789
8790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8791 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 {
8794 arg2 = wxString_in_helper(obj1);
8795 if (arg2 == NULL) SWIG_fail;
8796 temp2 = True;
8797 }
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 wxLogGeneric(arg1,(wxString const &)*arg2);
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 Py_INCREF(Py_None); resultobj = Py_None;
8806 {
8807 if (temp2)
8808 delete arg2;
8809 }
8810 return resultobj;
8811 fail:
8812 {
8813 if (temp2)
8814 delete arg2;
8815 }
8816 return NULL;
8817}
8818
8819
8820static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8821 PyObject *resultobj;
8822 wxString *arg1 = 0 ;
8823 wxString *arg2 = 0 ;
8824 bool temp1 = False ;
8825 bool temp2 = False ;
8826 PyObject * obj0 = 0 ;
8827 PyObject * obj1 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "title",(char *) "text", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8833 {
8834 arg1 = wxString_in_helper(obj0);
8835 if (arg1 == NULL) SWIG_fail;
8836 temp1 = True;
8837 }
8838 {
8839 arg2 = wxString_in_helper(obj1);
8840 if (arg2 == NULL) SWIG_fail;
8841 temp2 = True;
8842 }
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 Py_INCREF(Py_None); resultobj = Py_None;
8851 {
8852 if (temp1)
8853 delete arg1;
8854 }
8855 {
8856 if (temp2)
8857 delete arg2;
8858 }
8859 return resultobj;
8860 fail:
8861 {
8862 if (temp1)
8863 delete arg1;
8864 }
8865 {
8866 if (temp2)
8867 delete arg2;
8868 }
8869 return NULL;
8870}
8871
8872
8873static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxLogNull *result;
8876 char *kwnames[] = {
8877 NULL
8878 };
8879
8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 result = (wxLogNull *)new wxLogNull();
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
8889 return resultobj;
8890 fail:
8891 return NULL;
8892}
8893
8894
8895static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxLogNull *arg1 = (wxLogNull *) 0 ;
8898 PyObject * obj0 = 0 ;
8899 char *kwnames[] = {
8900 (char *) "self", NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 delete arg1;
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 Py_INCREF(Py_None); resultobj = Py_None;
8914 return resultobj;
8915 fail:
8916 return NULL;
8917}
8918
8919
8920static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8921 PyObject *obj;
8922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8923 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8924 Py_INCREF(obj);
8925 return Py_BuildValue((char *)"");
8926}
8927static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxPyLog *result;
8930 char *kwnames[] = {
8931 NULL
8932 };
8933
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 result = (wxPyLog *)new wxPyLog();
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
8943 return resultobj;
8944 fail:
8945 return NULL;
8946}
8947
8948
8949static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxPyLog *arg1 = (wxPyLog *) 0 ;
8952 PyObject *arg2 = (PyObject *) 0 ;
8953 PyObject *arg3 = (PyObject *) 0 ;
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 PyObject * obj2 = 0 ;
8957 char *kwnames[] = {
8958 (char *) "self",(char *) "self",(char *) "_class", NULL
8959 };
8960
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8964 arg2 = obj1;
8965 arg3 = obj2;
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 (arg1)->_setCallbackInfo(arg2,arg3);
8969
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 Py_INCREF(Py_None); resultobj = Py_None;
8974 return resultobj;
8975 fail:
8976 return NULL;
8977}
8978
8979
8980static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8981 PyObject *obj;
8982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8983 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8984 Py_INCREF(obj);
8985 return Py_BuildValue((char *)"");
8986}
8987static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8988 PyObject *resultobj;
8989 int arg1 ;
8990 int arg2 = (int) wxSIGTERM ;
8991 int result;
8992 PyObject * obj0 = 0 ;
8993 PyObject * obj1 = 0 ;
8994 char *kwnames[] = {
8995 (char *) "pid",(char *) "sig", NULL
8996 };
8997
8998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8999 arg1 = (int) SWIG_AsInt(obj0);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 if (obj1) {
9002 arg2 = (wxSignal) SWIG_AsInt(obj1);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 resultobj = SWIG_FromInt((int)result);
9013 return resultobj;
9014 fail:
9015 return NULL;
9016}
9017
9018
9019static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj;
9021 int arg1 ;
9022 bool result;
9023 PyObject * obj0 = 0 ;
9024 char *kwnames[] = {
9025 (char *) "pid", NULL
9026 };
9027
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
9029 arg1 = (int) SWIG_AsInt(obj0);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 result = (bool)wxPyProcess::Exists(arg1);
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 {
9039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9040 }
9041 return resultobj;
9042 fail:
9043 return NULL;
9044}
9045
9046
9047static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj;
9049 wxString *arg1 = 0 ;
9050 int arg2 = (int) wxEXEC_ASYNC ;
9051 wxPyProcess *result;
9052 bool temp1 = False ;
9053 PyObject * obj0 = 0 ;
9054 PyObject * obj1 = 0 ;
9055 char *kwnames[] = {
9056 (char *) "cmd",(char *) "flags", NULL
9057 };
9058
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
9060 {
9061 arg1 = wxString_in_helper(obj0);
9062 if (arg1 == NULL) SWIG_fail;
9063 temp1 = True;
9064 }
9065 if (obj1) {
9066 arg2 = (int) SWIG_AsInt(obj1);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 {
9070 PyThreadState* __tstate = wxPyBeginAllowThreads();
9071 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
9072
9073 wxPyEndAllowThreads(__tstate);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
9077 {
9078 if (temp1)
9079 delete arg1;
9080 }
9081 return resultobj;
9082 fail:
9083 {
9084 if (temp1)
9085 delete arg1;
9086 }
9087 return NULL;
9088}
9089
9090
9091static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
9092 PyObject *resultobj;
9093 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9094 int arg2 = (int) -1 ;
9095 wxPyProcess *result;
9096 PyObject * obj0 = 0 ;
9097 PyObject * obj1 = 0 ;
9098 char *kwnames[] = {
9099 (char *) "parent",(char *) "id", NULL
9100 };
9101
9102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
9103 if (obj0) {
9104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
9105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9106 }
9107 if (obj1) {
9108 arg2 = (int) SWIG_AsInt(obj1);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
9114
9115 wxPyEndAllowThreads(__tstate);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
9119 return resultobj;
9120 fail:
9121 return NULL;
9122}
9123
9124
9125static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9128 PyObject *arg2 = (PyObject *) 0 ;
9129 PyObject *arg3 = (PyObject *) 0 ;
9130 PyObject * obj0 = 0 ;
9131 PyObject * obj1 = 0 ;
9132 PyObject * obj2 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self",(char *) "self",(char *) "_class", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9140 arg2 = obj1;
9141 arg3 = obj2;
9142 {
9143 PyThreadState* __tstate = wxPyBeginAllowThreads();
9144 (arg1)->_setCallbackInfo(arg2,arg3);
9145
9146 wxPyEndAllowThreads(__tstate);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 Py_INCREF(Py_None); resultobj = Py_None;
9150 return resultobj;
9151 fail:
9152 return NULL;
9153}
9154
9155
9156static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
9157 PyObject *resultobj;
9158 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9159 int arg2 ;
9160 int arg3 ;
9161 PyObject * obj0 = 0 ;
9162 PyObject * obj1 = 0 ;
9163 PyObject * obj2 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self",(char *) "pid",(char *) "status", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9171 arg2 = (int) SWIG_AsInt(obj1);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 arg3 = (int) SWIG_AsInt(obj2);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 {
9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
9177 (arg1)->base_OnTerminate(arg2,arg3);
9178
9179 wxPyEndAllowThreads(__tstate);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 }
9182 Py_INCREF(Py_None); resultobj = Py_None;
9183 return resultobj;
9184 fail:
9185 return NULL;
9186}
9187
9188
9189static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
9190 PyObject *resultobj;
9191 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9192 PyObject * obj0 = 0 ;
9193 char *kwnames[] = {
9194 (char *) "self", NULL
9195 };
9196
9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
9198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9200 {
9201 PyThreadState* __tstate = wxPyBeginAllowThreads();
9202 (arg1)->Redirect();
9203
9204 wxPyEndAllowThreads(__tstate);
9205 if (PyErr_Occurred()) SWIG_fail;
9206 }
9207 Py_INCREF(Py_None); resultobj = Py_None;
9208 return resultobj;
9209 fail:
9210 return NULL;
9211}
9212
9213
9214static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
9215 PyObject *resultobj;
9216 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9217 bool result;
9218 PyObject * obj0 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
9224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 result = (bool)(arg1)->IsRedirected();
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 {
9234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9235 }
9236 return resultobj;
9237 fail:
9238 return NULL;
9239}
9240
9241
9242static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
9243 PyObject *resultobj;
9244 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9245 PyObject * obj0 = 0 ;
9246 char *kwnames[] = {
9247 (char *) "self", NULL
9248 };
9249
9250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
9251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9253 {
9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
9255 (arg1)->Detach();
9256
9257 wxPyEndAllowThreads(__tstate);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 Py_INCREF(Py_None); resultobj = Py_None;
9261 return resultobj;
9262 fail:
9263 return NULL;
9264}
9265
9266
9267static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9268 PyObject *resultobj;
9269 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9270 wxInputStream *result;
9271 PyObject * obj0 = 0 ;
9272 char *kwnames[] = {
9273 (char *) "self", NULL
9274 };
9275
9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
9277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 result = (wxInputStream *)(arg1)->GetInputStream();
9282
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 {
9287 wxPyInputStream * _ptr = NULL;
9288
9289 if (result) {
9290 _ptr = new wxPyInputStream(result);
9291 }
9292 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9293 }
9294 return resultobj;
9295 fail:
9296 return NULL;
9297}
9298
9299
9300static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj;
9302 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9303 wxInputStream *result;
9304 PyObject * obj0 = 0 ;
9305 char *kwnames[] = {
9306 (char *) "self", NULL
9307 };
9308
9309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9312 {
9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
9314 result = (wxInputStream *)(arg1)->GetErrorStream();
9315
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 {
9320 wxPyInputStream * _ptr = NULL;
9321
9322 if (result) {
9323 _ptr = new wxPyInputStream(result);
9324 }
9325 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9326 }
9327 return resultobj;
9328 fail:
9329 return NULL;
9330}
9331
9332
9333static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj;
9335 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9336 wxOutputStream *result;
9337 PyObject * obj0 = 0 ;
9338 char *kwnames[] = {
9339 (char *) "self", NULL
9340 };
9341
9342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 result = (wxOutputStream *)(arg1)->GetOutputStream();
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9353 return resultobj;
9354 fail:
9355 return NULL;
9356}
9357
9358
9359static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9362 PyObject * obj0 = 0 ;
9363 char *kwnames[] = {
9364 (char *) "self", NULL
9365 };
9366
9367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 (arg1)->CloseOutput();
9373
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 Py_INCREF(Py_None); resultobj = Py_None;
9378 return resultobj;
9379 fail:
9380 return NULL;
9381}
9382
9383
9384static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
9385 PyObject *resultobj;
9386 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9387 bool result;
9388 PyObject * obj0 = 0 ;
9389 char *kwnames[] = {
9390 (char *) "self", NULL
9391 };
9392
9393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 {
9404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9405 }
9406 return resultobj;
9407 fail:
9408 return NULL;
9409}
9410
9411
9412static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj;
9414 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9415 bool result;
9416 PyObject * obj0 = 0 ;
9417 char *kwnames[] = {
9418 (char *) "self", NULL
9419 };
9420
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 {
9432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9433 }
9434 return resultobj;
9435 fail:
9436 return NULL;
9437}
9438
9439
9440static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9441 PyObject *resultobj;
9442 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9443 bool result;
9444 PyObject * obj0 = 0 ;
9445 char *kwnames[] = {
9446 (char *) "self", NULL
9447 };
9448
9449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 {
9460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9461 }
9462 return resultobj;
9463 fail:
9464 return NULL;
9465}
9466
9467
9468static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
9469 PyObject *obj;
9470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9471 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9472 Py_INCREF(obj);
9473 return Py_BuildValue((char *)"");
9474}
9475static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 int arg1 = (int) 0 ;
9478 int arg2 = (int) 0 ;
9479 int arg3 = (int) 0 ;
9480 wxProcessEvent *result;
9481 PyObject * obj0 = 0 ;
9482 PyObject * obj1 = 0 ;
9483 PyObject * obj2 = 0 ;
9484 char *kwnames[] = {
9485 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9486 };
9487
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9489 if (obj0) {
9490 arg1 = (int) SWIG_AsInt(obj0);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 if (obj1) {
9494 arg2 = (int) SWIG_AsInt(obj1);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 }
9497 if (obj2) {
9498 arg3 = (int) SWIG_AsInt(obj2);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9504
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9509 return resultobj;
9510 fail:
9511 return NULL;
9512}
9513
9514
9515static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9516 PyObject *resultobj;
9517 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9518 int result;
9519 PyObject * obj0 = 0 ;
9520 char *kwnames[] = {
9521 (char *) "self", NULL
9522 };
9523
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 result = (int)(arg1)->GetPid();
9530
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
9534 resultobj = SWIG_FromInt((int)result);
9535 return resultobj;
9536 fail:
9537 return NULL;
9538}
9539
9540
9541static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9542 PyObject *resultobj;
9543 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9544 int result;
9545 PyObject * obj0 = 0 ;
9546 char *kwnames[] = {
9547 (char *) "self", NULL
9548 };
9549
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9553 {
9554 PyThreadState* __tstate = wxPyBeginAllowThreads();
9555 result = (int)(arg1)->GetExitCode();
9556
9557 wxPyEndAllowThreads(__tstate);
9558 if (PyErr_Occurred()) SWIG_fail;
9559 }
9560 resultobj = SWIG_FromInt((int)result);
9561 return resultobj;
9562 fail:
9563 return NULL;
9564}
9565
9566
9567static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9568 PyObject *resultobj;
9569 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9570 int arg2 ;
9571 PyObject * obj0 = 0 ;
9572 PyObject * obj1 = 0 ;
9573 char *kwnames[] = {
9574 (char *) "self",(char *) "m_pid", NULL
9575 };
9576
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9580 arg2 = (int) SWIG_AsInt(obj1);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 if (arg1) (arg1)->m_pid = arg2;
9583
9584 Py_INCREF(Py_None); resultobj = Py_None;
9585 return resultobj;
9586 fail:
9587 return NULL;
9588}
9589
9590
9591static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9592 PyObject *resultobj;
9593 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9594 int result;
9595 PyObject * obj0 = 0 ;
9596 char *kwnames[] = {
9597 (char *) "self", NULL
9598 };
9599
9600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9603 result = (int) ((arg1)->m_pid);
9604
9605 resultobj = SWIG_FromInt((int)result);
9606 return resultobj;
9607 fail:
9608 return NULL;
9609}
9610
9611
9612static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj;
9614 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9615 int arg2 ;
9616 PyObject * obj0 = 0 ;
9617 PyObject * obj1 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self",(char *) "m_exitcode", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9625 arg2 = (int) SWIG_AsInt(obj1);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 if (arg1) (arg1)->m_exitcode = arg2;
9628
9629 Py_INCREF(Py_None); resultobj = Py_None;
9630 return resultobj;
9631 fail:
9632 return NULL;
9633}
9634
9635
9636static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj;
9638 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9639 int result;
9640 PyObject * obj0 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9648 result = (int) ((arg1)->m_exitcode);
9649
9650 resultobj = SWIG_FromInt((int)result);
9651 return resultobj;
9652 fail:
9653 return NULL;
9654}
9655
9656
9657static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9658 PyObject *obj;
9659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9660 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9661 Py_INCREF(obj);
9662 return Py_BuildValue((char *)"");
9663}
9664static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9665 PyObject *resultobj;
9666 wxString *arg1 = 0 ;
9667 int arg2 = (int) wxEXEC_ASYNC ;
9668 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9669 long result;
9670 bool temp1 = False ;
9671 PyObject * obj0 = 0 ;
9672 PyObject * obj1 = 0 ;
9673 PyObject * obj2 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "command",(char *) "flags",(char *) "process", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9679 {
9680 arg1 = wxString_in_helper(obj0);
9681 if (arg1 == NULL) SWIG_fail;
9682 temp1 = True;
9683 }
9684 if (obj1) {
9685 arg2 = (int) SWIG_AsInt(obj1);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 if (obj2) {
9689 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9691 }
9692 {
0439c23b 9693 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9694 PyThreadState* __tstate = wxPyBeginAllowThreads();
9695 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9696
9697 wxPyEndAllowThreads(__tstate);
110da5b0 9698 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9699 }
9700 resultobj = SWIG_FromLong((long)result);
9701 {
9702 if (temp1)
9703 delete arg1;
9704 }
9705 return resultobj;
9706 fail:
9707 {
9708 if (temp1)
9709 delete arg1;
9710 }
9711 return NULL;
9712}
9713
9714
9715static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9716 PyObject *resultobj;
9717 int arg1 = (int) wxJOYSTICK1 ;
9718 wxJoystick *result;
9719 PyObject * obj0 = 0 ;
9720 char *kwnames[] = {
9721 (char *) "joystick", NULL
9722 };
9723
9724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9725 if (obj0) {
9726 arg1 = (int) SWIG_AsInt(obj0);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 {
0439c23b 9730 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 result = (wxJoystick *)new wxJoystick(arg1);
9733
9734 wxPyEndAllowThreads(__tstate);
110da5b0 9735 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9736 }
9737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
9738 return resultobj;
9739 fail:
9740 return NULL;
9741}
9742
9743
9744static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxJoystick *arg1 = (wxJoystick *) 0 ;
9747 PyObject * obj0 = 0 ;
9748 char *kwnames[] = {
9749 (char *) "self", NULL
9750 };
9751
9752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9755 {
9756 PyThreadState* __tstate = wxPyBeginAllowThreads();
9757 delete arg1;
9758
9759 wxPyEndAllowThreads(__tstate);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 Py_INCREF(Py_None); resultobj = Py_None;
9763 return resultobj;
9764 fail:
9765 return NULL;
9766}
9767
9768
9769static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9770 PyObject *resultobj;
9771 wxJoystick *arg1 = (wxJoystick *) 0 ;
9772 wxPoint result;
9773 PyObject * obj0 = 0 ;
9774 char *kwnames[] = {
9775 (char *) "self", NULL
9776 };
9777
9778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 result = (arg1)->GetPosition();
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 {
9789 wxPoint * resultptr;
9790 resultptr = new wxPoint((wxPoint &) result);
9791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9792 }
9793 return resultobj;
9794 fail:
9795 return NULL;
9796}
9797
9798
9799static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9800 PyObject *resultobj;
9801 wxJoystick *arg1 = (wxJoystick *) 0 ;
9802 int result;
9803 PyObject * obj0 = 0 ;
9804 char *kwnames[] = {
9805 (char *) "self", NULL
9806 };
9807
9808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9811 {
9812 PyThreadState* __tstate = wxPyBeginAllowThreads();
9813 result = (int)(arg1)->GetZPosition();
9814
9815 wxPyEndAllowThreads(__tstate);
9816 if (PyErr_Occurred()) SWIG_fail;
9817 }
9818 resultobj = SWIG_FromInt((int)result);
9819 return resultobj;
9820 fail:
9821 return NULL;
9822}
9823
9824
9825static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9826 PyObject *resultobj;
9827 wxJoystick *arg1 = (wxJoystick *) 0 ;
9828 int result;
9829 PyObject * obj0 = 0 ;
9830 char *kwnames[] = {
9831 (char *) "self", NULL
9832 };
9833
9834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 result = (int)(arg1)->GetButtonState();
9840
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 resultobj = SWIG_FromInt((int)result);
9845 return resultobj;
9846 fail:
9847 return NULL;
9848}
9849
9850
9851static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9852 PyObject *resultobj;
9853 wxJoystick *arg1 = (wxJoystick *) 0 ;
9854 int result;
9855 PyObject * obj0 = 0 ;
9856 char *kwnames[] = {
9857 (char *) "self", NULL
9858 };
9859
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 result = (int)(arg1)->GetPOVPosition();
9866
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 }
9870 resultobj = SWIG_FromInt((int)result);
9871 return resultobj;
9872 fail:
9873 return NULL;
9874}
9875
9876
9877static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxJoystick *arg1 = (wxJoystick *) 0 ;
9880 int result;
9881 PyObject * obj0 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = (int)(arg1)->GetPOVCTSPosition();
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 resultobj = SWIG_FromInt((int)result);
9897 return resultobj;
9898 fail:
9899 return NULL;
9900}
9901
9902
9903static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxJoystick *arg1 = (wxJoystick *) 0 ;
9906 int result;
9907 PyObject * obj0 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9915 {
9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
9917 result = (int)(arg1)->GetRudderPosition();
9918
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) SWIG_fail;
9921 }
9922 resultobj = SWIG_FromInt((int)result);
9923 return resultobj;
9924 fail:
9925 return NULL;
9926}
9927
9928
9929static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9930 PyObject *resultobj;
9931 wxJoystick *arg1 = (wxJoystick *) 0 ;
9932 int result;
9933 PyObject * obj0 = 0 ;
9934 char *kwnames[] = {
9935 (char *) "self", NULL
9936 };
9937
9938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9941 {
9942 PyThreadState* __tstate = wxPyBeginAllowThreads();
9943 result = (int)(arg1)->GetUPosition();
9944
9945 wxPyEndAllowThreads(__tstate);
9946 if (PyErr_Occurred()) SWIG_fail;
9947 }
9948 resultobj = SWIG_FromInt((int)result);
9949 return resultobj;
9950 fail:
9951 return NULL;
9952}
9953
9954
9955static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9956 PyObject *resultobj;
9957 wxJoystick *arg1 = (wxJoystick *) 0 ;
9958 int result;
9959 PyObject * obj0 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 result = (int)(arg1)->GetVPosition();
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 resultobj = SWIG_FromInt((int)result);
9975 return resultobj;
9976 fail:
9977 return NULL;
9978}
9979
9980
9981static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9982 PyObject *resultobj;
9983 wxJoystick *arg1 = (wxJoystick *) 0 ;
9984 int result;
9985 PyObject * obj0 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "self", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 result = (int)(arg1)->GetMovementThreshold();
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 resultobj = SWIG_FromInt((int)result);
10001 return resultobj;
10002 fail:
10003 return NULL;
10004}
10005
10006
10007static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxJoystick *arg1 = (wxJoystick *) 0 ;
10010 int arg2 ;
10011 PyObject * obj0 = 0 ;
10012 PyObject * obj1 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "threshold", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
10018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10020 arg2 = (int) SWIG_AsInt(obj1);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 (arg1)->SetMovementThreshold(arg2);
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 Py_INCREF(Py_None); resultobj = Py_None;
10030 return resultobj;
10031 fail:
10032 return NULL;
10033}
10034
10035
10036static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10037 PyObject *resultobj;
10038 wxJoystick *arg1 = (wxJoystick *) 0 ;
10039 bool result;
10040 PyObject * obj0 = 0 ;
10041 char *kwnames[] = {
10042 (char *) "self", NULL
10043 };
10044
10045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
10046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10048 {
10049 PyThreadState* __tstate = wxPyBeginAllowThreads();
10050 result = (bool)(arg1)->IsOk();
10051
10052 wxPyEndAllowThreads(__tstate);
10053 if (PyErr_Occurred()) SWIG_fail;
10054 }
10055 {
10056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10057 }
10058 return resultobj;
10059 fail:
10060 return NULL;
10061}
10062
10063
10064static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
10065 PyObject *resultobj;
10066 wxJoystick *arg1 = (wxJoystick *) 0 ;
10067 int result;
10068 PyObject * obj0 = 0 ;
10069 char *kwnames[] = {
10070 (char *) "self", NULL
10071 };
10072
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
10074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 result = (int)(arg1)->GetNumberJoysticks();
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 resultobj = SWIG_FromInt((int)result);
10084 return resultobj;
10085 fail:
10086 return NULL;
10087}
10088
10089
10090static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
10091 PyObject *resultobj;
10092 wxJoystick *arg1 = (wxJoystick *) 0 ;
10093 int result;
10094 PyObject * obj0 = 0 ;
10095 char *kwnames[] = {
10096 (char *) "self", NULL
10097 };
10098
10099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
10100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 result = (int)(arg1)->GetManufacturerId();
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 resultobj = SWIG_FromInt((int)result);
10110 return resultobj;
10111 fail:
10112 return NULL;
10113}
10114
10115
10116static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxJoystick *arg1 = (wxJoystick *) 0 ;
10119 int result;
10120 PyObject * obj0 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
10126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (int)(arg1)->GetProductId();
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 resultobj = SWIG_FromInt((int)result);
10136 return resultobj;
10137 fail:
10138 return NULL;
10139}
10140
10141
10142static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj;
10144 wxJoystick *arg1 = (wxJoystick *) 0 ;
10145 wxString result;
10146 PyObject * obj0 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
10152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 result = (arg1)->GetProductName();
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 {
10162#if wxUSE_UNICODE
10163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10164#else
10165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10166#endif
10167 }
10168 return resultobj;
10169 fail:
10170 return NULL;
10171}
10172
10173
10174static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10175 PyObject *resultobj;
10176 wxJoystick *arg1 = (wxJoystick *) 0 ;
10177 int result;
10178 PyObject * obj0 = 0 ;
10179 char *kwnames[] = {
10180 (char *) "self", NULL
10181 };
10182
10183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
10184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 result = (int)(arg1)->GetXMin();
10189
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 resultobj = SWIG_FromInt((int)result);
10194 return resultobj;
10195 fail:
10196 return NULL;
10197}
10198
10199
10200static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10201 PyObject *resultobj;
10202 wxJoystick *arg1 = (wxJoystick *) 0 ;
10203 int result;
10204 PyObject * obj0 = 0 ;
10205 char *kwnames[] = {
10206 (char *) "self", NULL
10207 };
10208
10209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
10210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10212 {
10213 PyThreadState* __tstate = wxPyBeginAllowThreads();
10214 result = (int)(arg1)->GetYMin();
10215
10216 wxPyEndAllowThreads(__tstate);
10217 if (PyErr_Occurred()) SWIG_fail;
10218 }
10219 resultobj = SWIG_FromInt((int)result);
10220 return resultobj;
10221 fail:
10222 return NULL;
10223}
10224
10225
10226static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10227 PyObject *resultobj;
10228 wxJoystick *arg1 = (wxJoystick *) 0 ;
10229 int result;
10230 PyObject * obj0 = 0 ;
10231 char *kwnames[] = {
10232 (char *) "self", NULL
10233 };
10234
10235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
10236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 result = (int)(arg1)->GetZMin();
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 resultobj = SWIG_FromInt((int)result);
10246 return resultobj;
10247 fail:
10248 return NULL;
10249}
10250
10251
10252static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10253 PyObject *resultobj;
10254 wxJoystick *arg1 = (wxJoystick *) 0 ;
10255 int result;
10256 PyObject * obj0 = 0 ;
10257 char *kwnames[] = {
10258 (char *) "self", NULL
10259 };
10260
10261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
10262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10264 {
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 result = (int)(arg1)->GetXMax();
10267
10268 wxPyEndAllowThreads(__tstate);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 }
10271 resultobj = SWIG_FromInt((int)result);
10272 return resultobj;
10273 fail:
10274 return NULL;
10275}
10276
10277
10278static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxJoystick *arg1 = (wxJoystick *) 0 ;
10281 int result;
10282 PyObject * obj0 = 0 ;
10283 char *kwnames[] = {
10284 (char *) "self", NULL
10285 };
10286
10287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
10288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 result = (int)(arg1)->GetYMax();
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 resultobj = SWIG_FromInt((int)result);
10298 return resultobj;
10299 fail:
10300 return NULL;
10301}
10302
10303
10304static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10305 PyObject *resultobj;
10306 wxJoystick *arg1 = (wxJoystick *) 0 ;
10307 int result;
10308 PyObject * obj0 = 0 ;
10309 char *kwnames[] = {
10310 (char *) "self", NULL
10311 };
10312
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 result = (int)(arg1)->GetZMax();
10319
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 resultobj = SWIG_FromInt((int)result);
10324 return resultobj;
10325 fail:
10326 return NULL;
10327}
10328
10329
10330static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10331 PyObject *resultobj;
10332 wxJoystick *arg1 = (wxJoystick *) 0 ;
10333 int result;
10334 PyObject * obj0 = 0 ;
10335 char *kwnames[] = {
10336 (char *) "self", NULL
10337 };
10338
10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 result = (int)(arg1)->GetNumberButtons();
10345
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
10349 resultobj = SWIG_FromInt((int)result);
10350 return resultobj;
10351 fail:
10352 return NULL;
10353}
10354
10355
10356static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj;
10358 wxJoystick *arg1 = (wxJoystick *) 0 ;
10359 int result;
10360 PyObject * obj0 = 0 ;
10361 char *kwnames[] = {
10362 (char *) "self", NULL
10363 };
10364
10365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 result = (int)(arg1)->GetNumberAxes();
10371
10372 wxPyEndAllowThreads(__tstate);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 }
10375 resultobj = SWIG_FromInt((int)result);
10376 return resultobj;
10377 fail:
10378 return NULL;
10379}
10380
10381
10382static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10383 PyObject *resultobj;
10384 wxJoystick *arg1 = (wxJoystick *) 0 ;
10385 int result;
10386 PyObject * obj0 = 0 ;
10387 char *kwnames[] = {
10388 (char *) "self", NULL
10389 };
10390
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10394 {
10395 PyThreadState* __tstate = wxPyBeginAllowThreads();
10396 result = (int)(arg1)->GetMaxButtons();
10397
10398 wxPyEndAllowThreads(__tstate);
10399 if (PyErr_Occurred()) SWIG_fail;
10400 }
10401 resultobj = SWIG_FromInt((int)result);
10402 return resultobj;
10403 fail:
10404 return NULL;
10405}
10406
10407
10408static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10409 PyObject *resultobj;
10410 wxJoystick *arg1 = (wxJoystick *) 0 ;
10411 int result;
10412 PyObject * obj0 = 0 ;
10413 char *kwnames[] = {
10414 (char *) "self", NULL
10415 };
10416
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10420 {
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
10422 result = (int)(arg1)->GetMaxAxes();
10423
10424 wxPyEndAllowThreads(__tstate);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
10427 resultobj = SWIG_FromInt((int)result);
10428 return resultobj;
10429 fail:
10430 return NULL;
10431}
10432
10433
10434static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10435 PyObject *resultobj;
10436 wxJoystick *arg1 = (wxJoystick *) 0 ;
10437 int result;
10438 PyObject * obj0 = 0 ;
10439 char *kwnames[] = {
10440 (char *) "self", NULL
10441 };
10442
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (int)(arg1)->GetPollingMin();
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 resultobj = SWIG_FromInt((int)result);
10454 return resultobj;
10455 fail:
10456 return NULL;
10457}
10458
10459
10460static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10461 PyObject *resultobj;
10462 wxJoystick *arg1 = (wxJoystick *) 0 ;
10463 int result;
10464 PyObject * obj0 = 0 ;
10465 char *kwnames[] = {
10466 (char *) "self", NULL
10467 };
10468
10469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 result = (int)(arg1)->GetPollingMax();
10475
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 resultobj = SWIG_FromInt((int)result);
10480 return resultobj;
10481 fail:
10482 return NULL;
10483}
10484
10485
10486static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10487 PyObject *resultobj;
10488 wxJoystick *arg1 = (wxJoystick *) 0 ;
10489 int result;
10490 PyObject * obj0 = 0 ;
10491 char *kwnames[] = {
10492 (char *) "self", NULL
10493 };
10494
10495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10498 {
10499 PyThreadState* __tstate = wxPyBeginAllowThreads();
10500 result = (int)(arg1)->GetRudderMin();
10501
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 resultobj = SWIG_FromInt((int)result);
10506 return resultobj;
10507 fail:
10508 return NULL;
10509}
10510
10511
10512static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject *resultobj;
10514 wxJoystick *arg1 = (wxJoystick *) 0 ;
10515 int result;
10516 PyObject * obj0 = 0 ;
10517 char *kwnames[] = {
10518 (char *) "self", NULL
10519 };
10520
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 result = (int)(arg1)->GetRudderMax();
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 resultobj = SWIG_FromInt((int)result);
10532 return resultobj;
10533 fail:
10534 return NULL;
10535}
10536
10537
10538static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10539 PyObject *resultobj;
10540 wxJoystick *arg1 = (wxJoystick *) 0 ;
10541 int result;
10542 PyObject * obj0 = 0 ;
10543 char *kwnames[] = {
10544 (char *) "self", NULL
10545 };
10546
10547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 result = (int)(arg1)->GetUMin();
10553
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 resultobj = SWIG_FromInt((int)result);
10558 return resultobj;
10559 fail:
10560 return NULL;
10561}
10562
10563
10564static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10565 PyObject *resultobj;
10566 wxJoystick *arg1 = (wxJoystick *) 0 ;
10567 int result;
10568 PyObject * obj0 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = (int)(arg1)->GetUMax();
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 resultobj = SWIG_FromInt((int)result);
10584 return resultobj;
10585 fail:
10586 return NULL;
10587}
10588
10589
10590static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj;
10592 wxJoystick *arg1 = (wxJoystick *) 0 ;
10593 int result;
10594 PyObject * obj0 = 0 ;
10595 char *kwnames[] = {
10596 (char *) "self", NULL
10597 };
10598
10599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10602 {
10603 PyThreadState* __tstate = wxPyBeginAllowThreads();
10604 result = (int)(arg1)->GetVMin();
10605
10606 wxPyEndAllowThreads(__tstate);
10607 if (PyErr_Occurred()) SWIG_fail;
10608 }
10609 resultobj = SWIG_FromInt((int)result);
10610 return resultobj;
10611 fail:
10612 return NULL;
10613}
10614
10615
10616static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10617 PyObject *resultobj;
10618 wxJoystick *arg1 = (wxJoystick *) 0 ;
10619 int result;
10620 PyObject * obj0 = 0 ;
10621 char *kwnames[] = {
10622 (char *) "self", NULL
10623 };
10624
10625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 result = (int)(arg1)->GetVMax();
10631
10632 wxPyEndAllowThreads(__tstate);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 }
10635 resultobj = SWIG_FromInt((int)result);
10636 return resultobj;
10637 fail:
10638 return NULL;
10639}
10640
10641
10642static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10643 PyObject *resultobj;
10644 wxJoystick *arg1 = (wxJoystick *) 0 ;
10645 bool result;
10646 PyObject * obj0 = 0 ;
10647 char *kwnames[] = {
10648 (char *) "self", NULL
10649 };
10650
10651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 result = (bool)(arg1)->HasRudder();
10657
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 {
10662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10663 }
10664 return resultobj;
10665 fail:
10666 return NULL;
10667}
10668
10669
10670static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxJoystick *arg1 = (wxJoystick *) 0 ;
10673 bool result;
10674 PyObject * obj0 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 result = (bool)(arg1)->HasZ();
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 {
10690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10691 }
10692 return resultobj;
10693 fail:
10694 return NULL;
10695}
10696
10697
10698static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10699 PyObject *resultobj;
10700 wxJoystick *arg1 = (wxJoystick *) 0 ;
10701 bool result;
10702 PyObject * obj0 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "self", NULL
10705 };
10706
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 result = (bool)(arg1)->HasU();
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 {
10718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10719 }
10720 return resultobj;
10721 fail:
10722 return NULL;
10723}
10724
10725
10726static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxJoystick *arg1 = (wxJoystick *) 0 ;
10729 bool result;
10730 PyObject * obj0 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "self", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10738 {
10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
10740 result = (bool)(arg1)->HasV();
10741
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
10745 {
10746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10747 }
10748 return resultobj;
10749 fail:
10750 return NULL;
10751}
10752
10753
10754static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10755 PyObject *resultobj;
10756 wxJoystick *arg1 = (wxJoystick *) 0 ;
10757 bool result;
10758 PyObject * obj0 = 0 ;
10759 char *kwnames[] = {
10760 (char *) "self", NULL
10761 };
10762
10763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 result = (bool)(arg1)->HasPOV();
10769
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 {
10774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10775 }
10776 return resultobj;
10777 fail:
10778 return NULL;
10779}
10780
10781
10782static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10783 PyObject *resultobj;
10784 wxJoystick *arg1 = (wxJoystick *) 0 ;
10785 bool result;
10786 PyObject * obj0 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 result = (bool)(arg1)->HasPOV4Dir();
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 {
10802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10803 }
10804 return resultobj;
10805 fail:
10806 return NULL;
10807}
10808
10809
10810static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10811 PyObject *resultobj;
10812 wxJoystick *arg1 = (wxJoystick *) 0 ;
10813 bool result;
10814 PyObject * obj0 = 0 ;
10815 char *kwnames[] = {
10816 (char *) "self", NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10822 {
10823 PyThreadState* __tstate = wxPyBeginAllowThreads();
10824 result = (bool)(arg1)->HasPOVCTS();
10825
10826 wxPyEndAllowThreads(__tstate);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 }
10829 {
10830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10831 }
10832 return resultobj;
10833 fail:
10834 return NULL;
10835}
10836
10837
10838static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj;
10840 wxJoystick *arg1 = (wxJoystick *) 0 ;
10841 wxWindow *arg2 = (wxWindow *) 0 ;
10842 int arg3 = (int) 0 ;
10843 bool result;
10844 PyObject * obj0 = 0 ;
10845 PyObject * obj1 = 0 ;
10846 PyObject * obj2 = 0 ;
10847 char *kwnames[] = {
10848 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10849 };
10850
10851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10856 if (obj2) {
10857 arg3 = (int) SWIG_AsInt(obj2);
10858 if (PyErr_Occurred()) SWIG_fail;
10859 }
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 result = (bool)(arg1)->SetCapture(arg2,arg3);
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 {
10868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10869 }
10870 return resultobj;
10871 fail:
10872 return NULL;
10873}
10874
10875
10876static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10877 PyObject *resultobj;
10878 wxJoystick *arg1 = (wxJoystick *) 0 ;
10879 bool result;
10880 PyObject * obj0 = 0 ;
10881 char *kwnames[] = {
10882 (char *) "self", NULL
10883 };
10884
10885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10888 {
10889 PyThreadState* __tstate = wxPyBeginAllowThreads();
10890 result = (bool)(arg1)->ReleaseCapture();
10891
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 {
10896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10897 }
10898 return resultobj;
10899 fail:
10900 return NULL;
10901}
10902
10903
10904static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10905 PyObject *obj;
10906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10907 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10908 Py_INCREF(obj);
10909 return Py_BuildValue((char *)"");
10910}
10911static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj;
10913 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10914 wxPoint *arg2 = (wxPoint *) 0 ;
10915 PyObject * obj0 = 0 ;
10916 PyObject * obj1 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "self",(char *) "m_pos", NULL
10919 };
10920
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10926 if (arg1) (arg1)->m_pos = *arg2;
10927
10928 Py_INCREF(Py_None); resultobj = Py_None;
10929 return resultobj;
10930 fail:
10931 return NULL;
10932}
10933
10934
10935static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10936 PyObject *resultobj;
10937 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10938 wxPoint *result;
10939 PyObject * obj0 = 0 ;
10940 char *kwnames[] = {
10941 (char *) "self", NULL
10942 };
10943
10944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10947 result = (wxPoint *)& ((arg1)->m_pos);
10948
10949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
10950 return resultobj;
10951 fail:
10952 return NULL;
10953}
10954
10955
10956static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10957 PyObject *resultobj;
10958 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10959 int arg2 ;
10960 PyObject * obj0 = 0 ;
10961 PyObject * obj1 = 0 ;
10962 char *kwnames[] = {
10963 (char *) "self",(char *) "m_zPosition", NULL
10964 };
10965
10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10969 arg2 = (int) SWIG_AsInt(obj1);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 if (arg1) (arg1)->m_zPosition = arg2;
10972
10973 Py_INCREF(Py_None); resultobj = Py_None;
10974 return resultobj;
10975 fail:
10976 return NULL;
10977}
10978
10979
10980static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10981 PyObject *resultobj;
10982 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10983 int result;
10984 PyObject * obj0 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self", NULL
10987 };
10988
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10992 result = (int) ((arg1)->m_zPosition);
10993
10994 resultobj = SWIG_FromInt((int)result);
10995 return resultobj;
10996 fail:
10997 return NULL;
10998}
10999
11000
11001static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11004 int arg2 ;
11005 PyObject * obj0 = 0 ;
11006 PyObject * obj1 = 0 ;
11007 char *kwnames[] = {
11008 (char *) "self",(char *) "m_buttonChange", NULL
11009 };
11010
11011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
11012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11014 arg2 = (int) SWIG_AsInt(obj1);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 if (arg1) (arg1)->m_buttonChange = arg2;
11017
11018 Py_INCREF(Py_None); resultobj = Py_None;
11019 return resultobj;
11020 fail:
11021 return NULL;
11022}
11023
11024
11025static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj;
11027 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11028 int result;
11029 PyObject * obj0 = 0 ;
11030 char *kwnames[] = {
11031 (char *) "self", NULL
11032 };
11033
11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
11035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11037 result = (int) ((arg1)->m_buttonChange);
11038
11039 resultobj = SWIG_FromInt((int)result);
11040 return resultobj;
11041 fail:
11042 return NULL;
11043}
11044
11045
11046static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11047 PyObject *resultobj;
11048 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11049 int arg2 ;
11050 PyObject * obj0 = 0 ;
11051 PyObject * obj1 = 0 ;
11052 char *kwnames[] = {
11053 (char *) "self",(char *) "m_buttonState", NULL
11054 };
11055
11056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
11057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11059 arg2 = (int) SWIG_AsInt(obj1);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 if (arg1) (arg1)->m_buttonState = arg2;
11062
11063 Py_INCREF(Py_None); resultobj = Py_None;
11064 return resultobj;
11065 fail:
11066 return NULL;
11067}
11068
11069
11070static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11071 PyObject *resultobj;
11072 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11073 int result;
11074 PyObject * obj0 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
11080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11082 result = (int) ((arg1)->m_buttonState);
11083
11084 resultobj = SWIG_FromInt((int)result);
11085 return resultobj;
11086 fail:
11087 return NULL;
11088}
11089
11090
11091static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11092 PyObject *resultobj;
11093 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11094 int arg2 ;
11095 PyObject * obj0 = 0 ;
11096 PyObject * obj1 = 0 ;
11097 char *kwnames[] = {
11098 (char *) "self",(char *) "m_joyStick", NULL
11099 };
11100
11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
11102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11104 arg2 = (int) SWIG_AsInt(obj1);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 if (arg1) (arg1)->m_joyStick = arg2;
11107
11108 Py_INCREF(Py_None); resultobj = Py_None;
11109 return resultobj;
11110 fail:
11111 return NULL;
11112}
11113
11114
11115static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11116 PyObject *resultobj;
11117 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11118 int result;
11119 PyObject * obj0 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
11125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11127 result = (int) ((arg1)->m_joyStick);
11128
11129 resultobj = SWIG_FromInt((int)result);
11130 return resultobj;
11131 fail:
11132 return NULL;
11133}
11134
11135
11136static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11137 PyObject *resultobj;
11138 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11139 int arg2 = (int) 0 ;
11140 int arg3 = (int) wxJOYSTICK1 ;
11141 int arg4 = (int) 0 ;
11142 wxJoystickEvent *result;
11143 PyObject * obj0 = 0 ;
11144 PyObject * obj1 = 0 ;
11145 PyObject * obj2 = 0 ;
11146 PyObject * obj3 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11152 if (obj0) {
11153 arg1 = (wxEventType) SWIG_AsInt(obj0);
11154 if (PyErr_Occurred()) SWIG_fail;
11155 }
11156 if (obj1) {
11157 arg2 = (int) SWIG_AsInt(obj1);
11158 if (PyErr_Occurred()) SWIG_fail;
11159 }
11160 if (obj2) {
11161 arg3 = (int) SWIG_AsInt(obj2);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 if (obj3) {
11165 arg4 = (int) SWIG_AsInt(obj3);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 }
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
11176 return resultobj;
11177 fail:
11178 return NULL;
11179}
11180
11181
11182static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj;
11184 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11185 wxPoint result;
11186 PyObject * obj0 = 0 ;
11187 char *kwnames[] = {
11188 (char *) "self", NULL
11189 };
11190
11191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
11192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 result = ((wxJoystickEvent const *)arg1)->GetPosition();
11197
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 {
11202 wxPoint * resultptr;
11203 resultptr = new wxPoint((wxPoint &) result);
11204 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11205 }
11206 return resultobj;
11207 fail:
11208 return NULL;
11209}
11210
11211
11212static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11213 PyObject *resultobj;
11214 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11215 int result;
11216 PyObject * obj0 = 0 ;
11217 char *kwnames[] = {
11218 (char *) "self", NULL
11219 };
11220
11221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
11222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 resultobj = SWIG_FromInt((int)result);
11232 return resultobj;
11233 fail:
11234 return NULL;
11235}
11236
11237
11238static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11239 PyObject *resultobj;
11240 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11241 int result;
11242 PyObject * obj0 = 0 ;
11243 char *kwnames[] = {
11244 (char *) "self", NULL
11245 };
11246
11247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
11248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11250 {
11251 PyThreadState* __tstate = wxPyBeginAllowThreads();
11252 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
11253
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 }
11257 resultobj = SWIG_FromInt((int)result);
11258 return resultobj;
11259 fail:
11260 return NULL;
11261}
11262
11263
11264static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11265 PyObject *resultobj;
11266 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11267 int result;
11268 PyObject * obj0 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self", NULL
11271 };
11272
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
11274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 resultobj = SWIG_FromInt((int)result);
11284 return resultobj;
11285 fail:
11286 return NULL;
11287}
11288
11289
11290static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj;
11292 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11293 int result;
11294 PyObject * obj0 = 0 ;
11295 char *kwnames[] = {
11296 (char *) "self", NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11305
11306 wxPyEndAllowThreads(__tstate);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 resultobj = SWIG_FromInt((int)result);
11310 return resultobj;
11311 fail:
11312 return NULL;
11313}
11314
11315
11316static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11317 PyObject *resultobj;
11318 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11319 int arg2 ;
11320 PyObject * obj0 = 0 ;
11321 PyObject * obj1 = 0 ;
11322 char *kwnames[] = {
11323 (char *) "self",(char *) "stick", NULL
11324 };
11325
11326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11329 arg2 = (int) SWIG_AsInt(obj1);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 {
11332 PyThreadState* __tstate = wxPyBeginAllowThreads();
11333 (arg1)->SetJoystick(arg2);
11334
11335 wxPyEndAllowThreads(__tstate);
11336 if (PyErr_Occurred()) SWIG_fail;
11337 }
11338 Py_INCREF(Py_None); resultobj = Py_None;
11339 return resultobj;
11340 fail:
11341 return NULL;
11342}
11343
11344
11345static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11346 PyObject *resultobj;
11347 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11348 int arg2 ;
11349 PyObject * obj0 = 0 ;
11350 PyObject * obj1 = 0 ;
11351 char *kwnames[] = {
11352 (char *) "self",(char *) "state", NULL
11353 };
11354
11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11358 arg2 = (int) SWIG_AsInt(obj1);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 {
11361 PyThreadState* __tstate = wxPyBeginAllowThreads();
11362 (arg1)->SetButtonState(arg2);
11363
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 }
11367 Py_INCREF(Py_None); resultobj = Py_None;
11368 return resultobj;
11369 fail:
11370 return NULL;
11371}
11372
11373
11374static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11375 PyObject *resultobj;
11376 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11377 int arg2 ;
11378 PyObject * obj0 = 0 ;
11379 PyObject * obj1 = 0 ;
11380 char *kwnames[] = {
11381 (char *) "self",(char *) "change", NULL
11382 };
11383
11384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11387 arg2 = (int) SWIG_AsInt(obj1);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 {
11390 PyThreadState* __tstate = wxPyBeginAllowThreads();
11391 (arg1)->SetButtonChange(arg2);
11392
11393 wxPyEndAllowThreads(__tstate);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 }
11396 Py_INCREF(Py_None); resultobj = Py_None;
11397 return resultobj;
11398 fail:
11399 return NULL;
11400}
11401
11402
11403static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11404 PyObject *resultobj;
11405 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11406 wxPoint *arg2 = 0 ;
11407 wxPoint temp2 ;
11408 PyObject * obj0 = 0 ;
11409 PyObject * obj1 = 0 ;
11410 char *kwnames[] = {
11411 (char *) "self",(char *) "pos", NULL
11412 };
11413
11414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11417 {
11418 arg2 = &temp2;
11419 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11420 }
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 (arg1)->SetPosition((wxPoint const &)*arg2);
11424
11425 wxPyEndAllowThreads(__tstate);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
11428 Py_INCREF(Py_None); resultobj = Py_None;
11429 return resultobj;
11430 fail:
11431 return NULL;
11432}
11433
11434
11435static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11436 PyObject *resultobj;
11437 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11438 int arg2 ;
11439 PyObject * obj0 = 0 ;
11440 PyObject * obj1 = 0 ;
11441 char *kwnames[] = {
11442 (char *) "self",(char *) "zPos", NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11448 arg2 = (int) SWIG_AsInt(obj1);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 (arg1)->SetZPosition(arg2);
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 Py_INCREF(Py_None); resultobj = Py_None;
11458 return resultobj;
11459 fail:
11460 return NULL;
11461}
11462
11463
11464static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj;
11466 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11467 bool result;
11468 PyObject * obj0 = 0 ;
11469 char *kwnames[] = {
11470 (char *) "self", NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11476 {
11477 PyThreadState* __tstate = wxPyBeginAllowThreads();
11478 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11479
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
11483 {
11484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11485 }
11486 return resultobj;
11487 fail:
11488 return NULL;
11489}
11490
11491
11492static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11493 PyObject *resultobj;
11494 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11495 bool result;
11496 PyObject * obj0 = 0 ;
11497 char *kwnames[] = {
11498 (char *) "self", NULL
11499 };
11500
11501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11504 {
11505 PyThreadState* __tstate = wxPyBeginAllowThreads();
11506 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11507
11508 wxPyEndAllowThreads(__tstate);
11509 if (PyErr_Occurred()) SWIG_fail;
11510 }
11511 {
11512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11513 }
11514 return resultobj;
11515 fail:
11516 return NULL;
11517}
11518
11519
11520static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11521 PyObject *resultobj;
11522 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11523 bool result;
11524 PyObject * obj0 = 0 ;
11525 char *kwnames[] = {
11526 (char *) "self", NULL
11527 };
11528
11529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
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_ButtonDown(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_ButtonDown",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)->ButtonDown(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_ButtonUp(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_ButtonUp",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)->ButtonUp(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 *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11619 int arg2 = (int) wxJOY_BUTTON_ANY ;
11620 bool result;
11621 PyObject * obj0 = 0 ;
11622 PyObject * obj1 = 0 ;
11623 char *kwnames[] = {
11624 (char *) "self",(char *) "but", NULL
11625 };
11626
11627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11630 if (obj1) {
11631 arg2 = (int) SWIG_AsInt(obj1);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11637
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 {
11642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11643 }
11644 return resultobj;
11645 fail:
11646 return NULL;
11647}
11648
11649
11650static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11651 PyObject *obj;
11652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11653 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11654 Py_INCREF(obj);
11655 return Py_BuildValue((char *)"");
11656}
0346c964 11657static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 11658 PyObject *resultobj;
0346c964
RD
11659 wxString const &arg1_defvalue = wxPyEmptyString ;
11660 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc
RD
11661 wxSound *result;
11662 bool temp1 = False ;
11663 PyObject * obj0 = 0 ;
0346c964
RD
11664 char *kwnames[] = {
11665 (char *) "fileName", NULL
11666 };
d55e5bfc 11667
0346c964
RD
11668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
11669 if (obj0) {
11670 {
11671 arg1 = wxString_in_helper(obj0);
11672 if (arg1 == NULL) SWIG_fail;
11673 temp1 = True;
11674 }
d55e5bfc
RD
11675 }
11676 {
0439c23b 11677 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 11679 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
11680
11681 wxPyEndAllowThreads(__tstate);
110da5b0 11682 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11683 }
11684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11685 {
11686 if (temp1)
11687 delete arg1;
11688 }
11689 return resultobj;
11690 fail:
11691 {
11692 if (temp1)
11693 delete arg1;
11694 }
11695 return NULL;
11696}
11697
11698
0346c964 11699static PyObject *_wrap_new_SoundFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 11700 PyObject *resultobj;
0346c964 11701 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
11702 wxSound *result;
11703 PyObject * obj0 = 0 ;
0346c964
RD
11704 char *kwnames[] = {
11705 (char *) "data", NULL
11706 };
d55e5bfc 11707
0346c964
RD
11708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
11709 arg1 = obj0;
d55e5bfc 11710 {
0439c23b 11711 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11712 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 11713 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
11714
11715 wxPyEndAllowThreads(__tstate);
110da5b0 11716 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11717 }
11718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11719 return resultobj;
11720 fail:
11721 return NULL;
11722}
11723
11724
d55e5bfc
RD
11725static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
11726 PyObject *resultobj;
11727 wxSound *arg1 = (wxSound *) 0 ;
11728 PyObject * obj0 = 0 ;
11729 char *kwnames[] = {
11730 (char *) "self", NULL
11731 };
11732
11733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11736 {
11737 PyThreadState* __tstate = wxPyBeginAllowThreads();
11738 delete arg1;
11739
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 Py_INCREF(Py_None); resultobj = Py_None;
11744 return resultobj;
11745 fail:
11746 return NULL;
11747}
11748
11749
0346c964 11750static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11751 PyObject *resultobj;
11752 wxSound *arg1 = (wxSound *) 0 ;
11753 wxString *arg2 = 0 ;
d55e5bfc
RD
11754 bool result;
11755 bool temp2 = False ;
11756 PyObject * obj0 = 0 ;
11757 PyObject * obj1 = 0 ;
0346c964
RD
11758 char *kwnames[] = {
11759 (char *) "self",(char *) "fileName", NULL
11760 };
d55e5bfc 11761
0346c964 11762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11765 {
11766 arg2 = wxString_in_helper(obj1);
11767 if (arg2 == NULL) SWIG_fail;
11768 temp2 = True;
11769 }
d55e5bfc
RD
11770 {
11771 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 11772 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
11773
11774 wxPyEndAllowThreads(__tstate);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 {
11778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11779 }
11780 {
11781 if (temp2)
11782 delete arg2;
11783 }
11784 return resultobj;
11785 fail:
11786 {
11787 if (temp2)
11788 delete arg2;
11789 }
11790 return NULL;
11791}
11792
11793
0346c964 11794static PyObject *_wrap_Sound_CreateFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11795 PyObject *resultobj;
11796 wxSound *arg1 = (wxSound *) 0 ;
0346c964 11797 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
11798 bool result;
11799 PyObject * obj0 = 0 ;
11800 PyObject * obj1 = 0 ;
0346c964
RD
11801 char *kwnames[] = {
11802 (char *) "self",(char *) "data", NULL
11803 };
d55e5bfc 11804
0346c964 11805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0346c964 11808 arg2 = obj1;
d55e5bfc
RD
11809 {
11810 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 11811 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
11812
11813 wxPyEndAllowThreads(__tstate);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 }
11816 {
11817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11818 }
11819 return resultobj;
11820 fail:
11821 return NULL;
11822}
11823
11824
d55e5bfc
RD
11825static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11826 PyObject *resultobj;
11827 wxSound *arg1 = (wxSound *) 0 ;
11828 bool result;
11829 PyObject * obj0 = 0 ;
11830 char *kwnames[] = {
11831 (char *) "self", NULL
11832 };
11833
11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11837 {
11838 PyThreadState* __tstate = wxPyBeginAllowThreads();
11839 result = (bool)(arg1)->IsOk();
11840
11841 wxPyEndAllowThreads(__tstate);
11842 if (PyErr_Occurred()) SWIG_fail;
11843 }
11844 {
11845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11846 }
11847 return resultobj;
11848 fail:
11849 return NULL;
11850}
11851
11852
0346c964 11853static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11854 PyObject *resultobj;
11855 wxSound *arg1 = (wxSound *) 0 ;
11856 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11857 bool result;
11858 PyObject * obj0 = 0 ;
11859 PyObject * obj1 = 0 ;
0346c964
RD
11860 char *kwnames[] = {
11861 (char *) "self",(char *) "flags", NULL
11862 };
d55e5bfc 11863
0346c964 11864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11867 if (obj1) {
11868 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 }
11871 {
0439c23b 11872 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 result = (bool)((wxSound const *)arg1)->Play(arg2);
11875
11876 wxPyEndAllowThreads(__tstate);
110da5b0 11877 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11878 }
11879 {
11880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11881 }
11882 return resultobj;
11883 fail:
11884 return NULL;
11885}
11886
11887
0346c964 11888static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11889 PyObject *resultobj;
11890 wxString *arg1 = 0 ;
11891 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11892 bool result;
11893 bool temp1 = False ;
11894 PyObject * obj0 = 0 ;
11895 PyObject * obj1 = 0 ;
0346c964
RD
11896 char *kwnames[] = {
11897 (char *) "filename",(char *) "flags", NULL
11898 };
d55e5bfc 11899
0346c964 11900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11901 {
11902 arg1 = wxString_in_helper(obj0);
11903 if (arg1 == NULL) SWIG_fail;
11904 temp1 = True;
11905 }
11906 if (obj1) {
11907 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 }
11910 {
0439c23b 11911 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11912 PyThreadState* __tstate = wxPyBeginAllowThreads();
11913 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11914
11915 wxPyEndAllowThreads(__tstate);
110da5b0 11916 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11917 }
11918 {
11919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11920 }
11921 {
11922 if (temp1)
11923 delete arg1;
11924 }
11925 return resultobj;
11926 fail:
11927 {
11928 if (temp1)
11929 delete arg1;
11930 }
11931 return NULL;
11932}
11933
11934
11935static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11936 PyObject *resultobj;
11937 char *kwnames[] = {
11938 NULL
11939 };
11940
11941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11942 {
0439c23b 11943 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 Sound_Stop();
11946
11947 wxPyEndAllowThreads(__tstate);
110da5b0 11948 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11949 }
11950 Py_INCREF(Py_None); resultobj = Py_None;
11951 return resultobj;
11952 fail:
11953 return NULL;
11954}
11955
11956
11957static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
11958 PyObject *obj;
11959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11960 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11961 Py_INCREF(obj);
11962 return Py_BuildValue((char *)"");
11963}
11964static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11965 PyObject *resultobj;
11966 wxString *arg1 = 0 ;
11967 wxString *arg2 = 0 ;
11968 wxString *arg3 = 0 ;
11969 wxString *arg4 = 0 ;
11970 wxFileTypeInfo *result;
11971 bool temp1 = False ;
11972 bool temp2 = False ;
11973 bool temp3 = False ;
11974 bool temp4 = False ;
11975 PyObject * obj0 = 0 ;
11976 PyObject * obj1 = 0 ;
11977 PyObject * obj2 = 0 ;
11978 PyObject * obj3 = 0 ;
11979 char *kwnames[] = {
11980 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11981 };
11982
11983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11984 {
11985 arg1 = wxString_in_helper(obj0);
11986 if (arg1 == NULL) SWIG_fail;
11987 temp1 = True;
11988 }
11989 {
11990 arg2 = wxString_in_helper(obj1);
11991 if (arg2 == NULL) SWIG_fail;
11992 temp2 = True;
11993 }
11994 {
11995 arg3 = wxString_in_helper(obj2);
11996 if (arg3 == NULL) SWIG_fail;
11997 temp3 = True;
11998 }
11999 {
12000 arg4 = wxString_in_helper(obj3);
12001 if (arg4 == NULL) SWIG_fail;
12002 temp4 = True;
12003 }
12004 {
12005 PyThreadState* __tstate = wxPyBeginAllowThreads();
12006 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12007
12008 wxPyEndAllowThreads(__tstate);
12009 if (PyErr_Occurred()) SWIG_fail;
12010 }
12011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12012 {
12013 if (temp1)
12014 delete arg1;
12015 }
12016 {
12017 if (temp2)
12018 delete arg2;
12019 }
12020 {
12021 if (temp3)
12022 delete arg3;
12023 }
12024 {
12025 if (temp4)
12026 delete arg4;
12027 }
12028 return resultobj;
12029 fail:
12030 {
12031 if (temp1)
12032 delete arg1;
12033 }
12034 {
12035 if (temp2)
12036 delete arg2;
12037 }
12038 {
12039 if (temp3)
12040 delete arg3;
12041 }
12042 {
12043 if (temp4)
12044 delete arg4;
12045 }
12046 return NULL;
12047}
12048
12049
12050static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj;
12052 wxArrayString *arg1 = 0 ;
12053 wxFileTypeInfo *result;
12054 bool temp1 = False ;
12055 PyObject * obj0 = 0 ;
12056 char *kwnames[] = {
12057 (char *) "sArray", NULL
12058 };
12059
12060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
12061 {
12062 if (! PySequence_Check(obj0)) {
12063 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12064 SWIG_fail;
12065 }
12066 arg1 = new wxArrayString;
12067 temp1 = True;
12068 int i, len=PySequence_Length(obj0);
12069 for (i=0; i<len; i++) {
12070 PyObject* item = PySequence_GetItem(obj0, i);
12071#if wxUSE_UNICODE
12072 PyObject* str = PyObject_Unicode(item);
12073#else
12074 PyObject* str = PyObject_Str(item);
12075#endif
12076 if (PyErr_Occurred()) SWIG_fail;
12077 arg1->Add(Py2wxString(str));
12078 Py_DECREF(item);
12079 Py_DECREF(str);
12080 }
12081 }
12082 {
12083 PyThreadState* __tstate = wxPyBeginAllowThreads();
12084 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
12085
12086 wxPyEndAllowThreads(__tstate);
12087 if (PyErr_Occurred()) SWIG_fail;
12088 }
12089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12090 {
12091 if (temp1) delete arg1;
12092 }
12093 return resultobj;
12094 fail:
12095 {
12096 if (temp1) delete arg1;
12097 }
12098 return NULL;
12099}
12100
12101
12102static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxFileTypeInfo *result;
12105 char *kwnames[] = {
12106 NULL
12107 };
12108
12109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 result = (wxFileTypeInfo *)new wxFileTypeInfo();
12113
12114 wxPyEndAllowThreads(__tstate);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 }
12117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12118 return resultobj;
12119 fail:
12120 return NULL;
12121}
12122
12123
12124static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
12125 PyObject *resultobj;
12126 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12127 bool result;
12128 PyObject * obj0 = 0 ;
12129 char *kwnames[] = {
12130 (char *) "self", NULL
12131 };
12132
12133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
12134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12136 {
12137 PyThreadState* __tstate = wxPyBeginAllowThreads();
12138 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
12143 {
12144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12145 }
12146 return resultobj;
12147 fail:
12148 return NULL;
12149}
12150
12151
12152static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12153 PyObject *resultobj;
12154 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12155 wxString *arg2 = 0 ;
12156 int arg3 = (int) 0 ;
12157 bool temp2 = False ;
12158 PyObject * obj0 = 0 ;
12159 PyObject * obj1 = 0 ;
12160 PyObject * obj2 = 0 ;
12161 char *kwnames[] = {
12162 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12163 };
12164
12165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12168 {
12169 arg2 = wxString_in_helper(obj1);
12170 if (arg2 == NULL) SWIG_fail;
12171 temp2 = True;
12172 }
12173 if (obj2) {
12174 arg3 = (int) SWIG_AsInt(obj2);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 Py_INCREF(Py_None); resultobj = Py_None;
12185 {
12186 if (temp2)
12187 delete arg2;
12188 }
12189 return resultobj;
12190 fail:
12191 {
12192 if (temp2)
12193 delete arg2;
12194 }
12195 return NULL;
12196}
12197
12198
12199static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj;
12201 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12202 wxString *arg2 = 0 ;
12203 bool temp2 = False ;
12204 PyObject * obj0 = 0 ;
12205 PyObject * obj1 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "self",(char *) "shortDesc", NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12213 {
12214 arg2 = wxString_in_helper(obj1);
12215 if (arg2 == NULL) SWIG_fail;
12216 temp2 = True;
12217 }
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 (arg1)->SetShortDesc((wxString const &)*arg2);
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 Py_INCREF(Py_None); resultobj = Py_None;
12226 {
12227 if (temp2)
12228 delete arg2;
12229 }
12230 return resultobj;
12231 fail:
12232 {
12233 if (temp2)
12234 delete arg2;
12235 }
12236 return NULL;
12237}
12238
12239
12240static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12241 PyObject *resultobj;
12242 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12243 wxString *result;
12244 PyObject * obj0 = 0 ;
12245 char *kwnames[] = {
12246 (char *) "self", NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 {
12255 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12256 result = (wxString *) &_result_ref;
12257 }
12258
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) SWIG_fail;
12261 }
12262 {
12263#if wxUSE_UNICODE
12264 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12265#else
12266 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12267#endif
12268 }
12269 return resultobj;
12270 fail:
12271 return NULL;
12272}
12273
12274
12275static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12276 PyObject *resultobj;
12277 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12278 wxString *result;
12279 PyObject * obj0 = 0 ;
12280 char *kwnames[] = {
12281 (char *) "self", NULL
12282 };
12283
12284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 {
12290 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12291 result = (wxString *) &_result_ref;
12292 }
12293
12294 wxPyEndAllowThreads(__tstate);
12295 if (PyErr_Occurred()) SWIG_fail;
12296 }
12297 {
12298#if wxUSE_UNICODE
12299 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12300#else
12301 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12302#endif
12303 }
12304 return resultobj;
12305 fail:
12306 return NULL;
12307}
12308
12309
12310static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12311 PyObject *resultobj;
12312 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12313 wxString *result;
12314 PyObject * obj0 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "self", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12322 {
12323 PyThreadState* __tstate = wxPyBeginAllowThreads();
12324 {
12325 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12326 result = (wxString *) &_result_ref;
12327 }
12328
12329 wxPyEndAllowThreads(__tstate);
12330 if (PyErr_Occurred()) SWIG_fail;
12331 }
12332 {
12333#if wxUSE_UNICODE
12334 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12335#else
12336 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12337#endif
12338 }
12339 return resultobj;
12340 fail:
12341 return NULL;
12342}
12343
12344
12345static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12346 PyObject *resultobj;
12347 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12348 wxString *result;
12349 PyObject * obj0 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 {
12360 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12361 result = (wxString *) &_result_ref;
12362 }
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 {
12368#if wxUSE_UNICODE
12369 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12370#else
12371 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12372#endif
12373 }
12374 return resultobj;
12375 fail:
12376 return NULL;
12377}
12378
12379
12380static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj;
12382 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12383 wxString *result;
12384 PyObject * obj0 = 0 ;
12385 char *kwnames[] = {
12386 (char *) "self", NULL
12387 };
12388
12389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 {
12395 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12396 result = (wxString *) &_result_ref;
12397 }
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 {
12403#if wxUSE_UNICODE
12404 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12405#else
12406 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12407#endif
12408 }
12409 return resultobj;
12410 fail:
12411 return NULL;
12412}
12413
12414
12415static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12416 PyObject *resultobj;
12417 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12418 wxArrayString *result;
12419 PyObject * obj0 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "self", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 {
12430 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12431 result = (wxArrayString *) &_result_ref;
12432 }
12433
12434 wxPyEndAllowThreads(__tstate);
12435 if (PyErr_Occurred()) SWIG_fail;
12436 }
12437 {
12438 resultobj = wxArrayString2PyList_helper(*result);
12439 }
12440 return resultobj;
12441 fail:
12442 return NULL;
12443}
12444
12445
12446static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12447 PyObject *resultobj;
12448 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12449 int result;
12450 PyObject * obj0 = 0 ;
12451 char *kwnames[] = {
12452 (char *) "self", NULL
12453 };
12454
12455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12461
12462 wxPyEndAllowThreads(__tstate);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 }
12465 resultobj = SWIG_FromInt((int)result);
12466 return resultobj;
12467 fail:
12468 return NULL;
12469}
12470
12471
12472static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12473 PyObject *resultobj;
12474 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12475 wxString *result;
12476 PyObject * obj0 = 0 ;
12477 char *kwnames[] = {
12478 (char *) "self", NULL
12479 };
12480
12481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 {
12487 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12488 result = (wxString *) &_result_ref;
12489 }
12490
12491 wxPyEndAllowThreads(__tstate);
12492 if (PyErr_Occurred()) SWIG_fail;
12493 }
12494 {
12495#if wxUSE_UNICODE
12496 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12497#else
12498 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12499#endif
12500 }
12501 return resultobj;
12502 fail:
12503 return NULL;
12504}
12505
12506
12507static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12508 PyObject *resultobj;
12509 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12510 int result;
12511 PyObject * obj0 = 0 ;
12512 char *kwnames[] = {
12513 (char *) "self", NULL
12514 };
12515
12516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12522
12523 wxPyEndAllowThreads(__tstate);
12524 if (PyErr_Occurred()) SWIG_fail;
12525 }
12526 resultobj = SWIG_FromInt((int)result);
12527 return resultobj;
12528 fail:
12529 return NULL;
12530}
12531
12532
12533static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12534 PyObject *obj;
12535 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12536 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12537 Py_INCREF(obj);
12538 return Py_BuildValue((char *)"");
12539}
12540static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj;
12542 wxFileTypeInfo *arg1 = 0 ;
12543 wxFileType *result;
12544 PyObject * obj0 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "ftInfo", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12551 SWIG_POINTER_EXCEPTION | 0)) == -1)
12552 SWIG_fail;
12553 if (arg1 == NULL) {
12554 PyErr_SetString(PyExc_TypeError,"null reference");
12555 SWIG_fail;
12556 }
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12560
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12565 return resultobj;
12566 fail:
12567 return NULL;
12568}
12569
12570
12571static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj;
12573 wxFileType *arg1 = (wxFileType *) 0 ;
12574 PyObject * obj0 = 0 ;
12575 char *kwnames[] = {
12576 (char *) "self", NULL
12577 };
12578
12579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 delete arg1;
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 Py_INCREF(Py_None); resultobj = Py_None;
12590 return resultobj;
12591 fail:
12592 return NULL;
12593}
12594
12595
12596static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12597 PyObject *resultobj;
12598 wxFileType *arg1 = (wxFileType *) 0 ;
12599 PyObject *result;
12600 PyObject * obj0 = 0 ;
12601 char *kwnames[] = {
12602 (char *) "self", NULL
12603 };
12604
12605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12608 {
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 result = (PyObject *)wxFileType_GetMimeType(arg1);
12611
12612 wxPyEndAllowThreads(__tstate);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 resultobj = result;
12616 return resultobj;
12617 fail:
12618 return NULL;
12619}
12620
12621
12622static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxFileType *arg1 = (wxFileType *) 0 ;
12625 PyObject *result;
12626 PyObject * obj0 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 resultobj = result;
12642 return resultobj;
12643 fail:
12644 return NULL;
12645}
12646
12647
12648static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12649 PyObject *resultobj;
12650 wxFileType *arg1 = (wxFileType *) 0 ;
12651 PyObject *result;
12652 PyObject * obj0 = 0 ;
12653 char *kwnames[] = {
12654 (char *) "self", NULL
12655 };
12656
12657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12660 {
12661 PyThreadState* __tstate = wxPyBeginAllowThreads();
12662 result = (PyObject *)wxFileType_GetExtensions(arg1);
12663
12664 wxPyEndAllowThreads(__tstate);
12665 if (PyErr_Occurred()) SWIG_fail;
12666 }
12667 resultobj = result;
12668 return resultobj;
12669 fail:
12670 return NULL;
12671}
12672
12673
12674static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12675 PyObject *resultobj;
12676 wxFileType *arg1 = (wxFileType *) 0 ;
12677 wxIcon *result;
12678 PyObject * obj0 = 0 ;
12679 char *kwnames[] = {
12680 (char *) "self", NULL
12681 };
12682
12683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12686 {
12687 PyThreadState* __tstate = wxPyBeginAllowThreads();
12688 result = (wxIcon *)wxFileType_GetIcon(arg1);
12689
12690 wxPyEndAllowThreads(__tstate);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 }
12693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12694 return resultobj;
12695 fail:
12696 return NULL;
12697}
12698
12699
12700static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12701 PyObject *resultobj;
12702 wxFileType *arg1 = (wxFileType *) 0 ;
12703 PyObject *result;
12704 PyObject * obj0 = 0 ;
12705 char *kwnames[] = {
12706 (char *) "self", NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12712 {
12713 PyThreadState* __tstate = wxPyBeginAllowThreads();
12714 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12715
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 resultobj = result;
12720 return resultobj;
12721 fail:
12722 return NULL;
12723}
12724
12725
12726static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12727 PyObject *resultobj;
12728 wxFileType *arg1 = (wxFileType *) 0 ;
12729 PyObject *result;
12730 PyObject * obj0 = 0 ;
12731 char *kwnames[] = {
12732 (char *) "self", NULL
12733 };
12734
12735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12738 {
12739 PyThreadState* __tstate = wxPyBeginAllowThreads();
12740 result = (PyObject *)wxFileType_GetDescription(arg1);
12741
12742 wxPyEndAllowThreads(__tstate);
12743 if (PyErr_Occurred()) SWIG_fail;
12744 }
12745 resultobj = result;
12746 return resultobj;
12747 fail:
12748 return NULL;
12749}
12750
12751
12752static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12753 PyObject *resultobj;
12754 wxFileType *arg1 = (wxFileType *) 0 ;
12755 wxString *arg2 = 0 ;
12756 wxString const &arg3_defvalue = wxPyEmptyString ;
12757 wxString *arg3 = (wxString *) &arg3_defvalue ;
12758 PyObject *result;
12759 bool temp2 = False ;
12760 bool temp3 = False ;
12761 PyObject * obj0 = 0 ;
12762 PyObject * obj1 = 0 ;
12763 PyObject * obj2 = 0 ;
12764 char *kwnames[] = {
12765 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12766 };
12767
12768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12771 {
12772 arg2 = wxString_in_helper(obj1);
12773 if (arg2 == NULL) SWIG_fail;
12774 temp2 = True;
12775 }
12776 if (obj2) {
12777 {
12778 arg3 = wxString_in_helper(obj2);
12779 if (arg3 == NULL) SWIG_fail;
12780 temp3 = True;
12781 }
12782 }
12783 {
12784 PyThreadState* __tstate = wxPyBeginAllowThreads();
12785 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12786
12787 wxPyEndAllowThreads(__tstate);
12788 if (PyErr_Occurred()) SWIG_fail;
12789 }
12790 resultobj = result;
12791 {
12792 if (temp2)
12793 delete arg2;
12794 }
12795 {
12796 if (temp3)
12797 delete arg3;
12798 }
12799 return resultobj;
12800 fail:
12801 {
12802 if (temp2)
12803 delete arg2;
12804 }
12805 {
12806 if (temp3)
12807 delete arg3;
12808 }
12809 return NULL;
12810}
12811
12812
12813static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12814 PyObject *resultobj;
12815 wxFileType *arg1 = (wxFileType *) 0 ;
12816 wxString *arg2 = 0 ;
12817 wxString const &arg3_defvalue = wxPyEmptyString ;
12818 wxString *arg3 = (wxString *) &arg3_defvalue ;
12819 PyObject *result;
12820 bool temp2 = False ;
12821 bool temp3 = False ;
12822 PyObject * obj0 = 0 ;
12823 PyObject * obj1 = 0 ;
12824 PyObject * obj2 = 0 ;
12825 char *kwnames[] = {
12826 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12827 };
12828
12829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12832 {
12833 arg2 = wxString_in_helper(obj1);
12834 if (arg2 == NULL) SWIG_fail;
12835 temp2 = True;
12836 }
12837 if (obj2) {
12838 {
12839 arg3 = wxString_in_helper(obj2);
12840 if (arg3 == NULL) SWIG_fail;
12841 temp3 = True;
12842 }
12843 }
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12847
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 resultobj = result;
12852 {
12853 if (temp2)
12854 delete arg2;
12855 }
12856 {
12857 if (temp3)
12858 delete arg3;
12859 }
12860 return resultobj;
12861 fail:
12862 {
12863 if (temp2)
12864 delete arg2;
12865 }
12866 {
12867 if (temp3)
12868 delete arg3;
12869 }
12870 return NULL;
12871}
12872
12873
12874static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12875 PyObject *resultobj;
12876 wxFileType *arg1 = (wxFileType *) 0 ;
12877 wxString *arg2 = 0 ;
12878 wxString const &arg3_defvalue = wxPyEmptyString ;
12879 wxString *arg3 = (wxString *) &arg3_defvalue ;
12880 PyObject *result;
12881 bool temp2 = False ;
12882 bool temp3 = False ;
12883 PyObject * obj0 = 0 ;
12884 PyObject * obj1 = 0 ;
12885 PyObject * obj2 = 0 ;
12886 char *kwnames[] = {
12887 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12888 };
12889
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12893 {
12894 arg2 = wxString_in_helper(obj1);
12895 if (arg2 == NULL) SWIG_fail;
12896 temp2 = True;
12897 }
12898 if (obj2) {
12899 {
12900 arg3 = wxString_in_helper(obj2);
12901 if (arg3 == NULL) SWIG_fail;
12902 temp3 = True;
12903 }
12904 }
12905 {
12906 PyThreadState* __tstate = wxPyBeginAllowThreads();
12907 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12908
12909 wxPyEndAllowThreads(__tstate);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 resultobj = result;
12913 {
12914 if (temp2)
12915 delete arg2;
12916 }
12917 {
12918 if (temp3)
12919 delete arg3;
12920 }
12921 return resultobj;
12922 fail:
12923 {
12924 if (temp2)
12925 delete arg2;
12926 }
12927 {
12928 if (temp3)
12929 delete arg3;
12930 }
12931 return NULL;
12932}
12933
12934
12935static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12936 PyObject *resultobj;
12937 wxFileType *arg1 = (wxFileType *) 0 ;
12938 wxString *arg2 = 0 ;
12939 wxString *arg3 = 0 ;
12940 bool arg4 = (bool) True ;
12941 bool result;
12942 bool temp2 = False ;
12943 bool temp3 = False ;
12944 PyObject * obj0 = 0 ;
12945 PyObject * obj1 = 0 ;
12946 PyObject * obj2 = 0 ;
12947 PyObject * obj3 = 0 ;
12948 char *kwnames[] = {
12949 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12950 };
12951
12952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12955 {
12956 arg2 = wxString_in_helper(obj1);
12957 if (arg2 == NULL) SWIG_fail;
12958 temp2 = True;
12959 }
12960 {
12961 arg3 = wxString_in_helper(obj2);
12962 if (arg3 == NULL) SWIG_fail;
12963 temp3 = True;
12964 }
12965 if (obj3) {
12966 arg4 = (bool) SWIG_AsBool(obj3);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 {
12970 PyThreadState* __tstate = wxPyBeginAllowThreads();
12971 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12972
12973 wxPyEndAllowThreads(__tstate);
12974 if (PyErr_Occurred()) SWIG_fail;
12975 }
12976 {
12977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12978 }
12979 {
12980 if (temp2)
12981 delete arg2;
12982 }
12983 {
12984 if (temp3)
12985 delete arg3;
12986 }
12987 return resultobj;
12988 fail:
12989 {
12990 if (temp2)
12991 delete arg2;
12992 }
12993 {
12994 if (temp3)
12995 delete arg3;
12996 }
12997 return NULL;
12998}
12999
13000
13001static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13002 PyObject *resultobj;
13003 wxFileType *arg1 = (wxFileType *) 0 ;
13004 wxString const &arg2_defvalue = wxPyEmptyString ;
13005 wxString *arg2 = (wxString *) &arg2_defvalue ;
13006 int arg3 = (int) 0 ;
13007 bool result;
13008 bool temp2 = False ;
13009 PyObject * obj0 = 0 ;
13010 PyObject * obj1 = 0 ;
13011 PyObject * obj2 = 0 ;
13012 char *kwnames[] = {
13013 (char *) "self",(char *) "cmd",(char *) "index", NULL
13014 };
13015
13016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13019 if (obj1) {
13020 {
13021 arg2 = wxString_in_helper(obj1);
13022 if (arg2 == NULL) SWIG_fail;
13023 temp2 = True;
13024 }
13025 }
13026 if (obj2) {
13027 arg3 = (int) SWIG_AsInt(obj2);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
13037 {
13038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13039 }
13040 {
13041 if (temp2)
13042 delete arg2;
13043 }
13044 return resultobj;
13045 fail:
13046 {
13047 if (temp2)
13048 delete arg2;
13049 }
13050 return NULL;
13051}
13052
13053
13054static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13055 PyObject *resultobj;
13056 wxFileType *arg1 = (wxFileType *) 0 ;
13057 bool result;
13058 PyObject * obj0 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 result = (bool)(arg1)->Unassociate();
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 {
13074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13075 }
13076 return resultobj;
13077 fail:
13078 return NULL;
13079}
13080
13081
13082static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
13083 PyObject *resultobj;
13084 wxString *arg1 = 0 ;
13085 wxString *arg2 = 0 ;
13086 wxString const &arg3_defvalue = wxPyEmptyString ;
13087 wxString *arg3 = (wxString *) &arg3_defvalue ;
13088 wxString result;
13089 bool temp1 = False ;
13090 bool temp2 = False ;
13091 bool temp3 = False ;
13092 PyObject * obj0 = 0 ;
13093 PyObject * obj1 = 0 ;
13094 PyObject * obj2 = 0 ;
13095 char *kwnames[] = {
13096 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13097 };
13098
13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13100 {
13101 arg1 = wxString_in_helper(obj0);
13102 if (arg1 == NULL) SWIG_fail;
13103 temp1 = True;
13104 }
13105 {
13106 arg2 = wxString_in_helper(obj1);
13107 if (arg2 == NULL) SWIG_fail;
13108 temp2 = True;
13109 }
13110 if (obj2) {
13111 {
13112 arg3 = wxString_in_helper(obj2);
13113 if (arg3 == NULL) SWIG_fail;
13114 temp3 = True;
13115 }
13116 }
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
13119 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13120
13121 wxPyEndAllowThreads(__tstate);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 }
13124 {
13125#if wxUSE_UNICODE
13126 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13127#else
13128 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13129#endif
13130 }
13131 {
13132 if (temp1)
13133 delete arg1;
13134 }
13135 {
13136 if (temp2)
13137 delete arg2;
13138 }
13139 {
13140 if (temp3)
13141 delete arg3;
13142 }
13143 return resultobj;
13144 fail:
13145 {
13146 if (temp1)
13147 delete arg1;
13148 }
13149 {
13150 if (temp2)
13151 delete arg2;
13152 }
13153 {
13154 if (temp3)
13155 delete arg3;
13156 }
13157 return NULL;
13158}
13159
13160
13161static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
13162 PyObject *obj;
13163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13164 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13165 Py_INCREF(obj);
13166 return Py_BuildValue((char *)"");
13167}
13168static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
13169 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13170 return 1;
13171}
13172
13173
13174static PyObject *_wrap_TheMimeTypesManager_get() {
13175 PyObject *pyobj;
13176
13177 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13178 return pyobj;
13179}
13180
13181
13182static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
13183 PyObject *resultobj;
13184 wxString *arg1 = 0 ;
13185 wxString *arg2 = 0 ;
13186 bool result;
13187 bool temp1 = False ;
13188 bool temp2 = False ;
13189 PyObject * obj0 = 0 ;
13190 PyObject * obj1 = 0 ;
13191 char *kwnames[] = {
13192 (char *) "mimeType",(char *) "wildcard", NULL
13193 };
13194
13195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13196 {
13197 arg1 = wxString_in_helper(obj0);
13198 if (arg1 == NULL) SWIG_fail;
13199 temp1 = True;
13200 }
13201 {
13202 arg2 = wxString_in_helper(obj1);
13203 if (arg2 == NULL) SWIG_fail;
13204 temp2 = True;
13205 }
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 {
13214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13215 }
13216 {
13217 if (temp1)
13218 delete arg1;
13219 }
13220 {
13221 if (temp2)
13222 delete arg2;
13223 }
13224 return resultobj;
13225 fail:
13226 {
13227 if (temp1)
13228 delete arg1;
13229 }
13230 {
13231 if (temp2)
13232 delete arg2;
13233 }
13234 return NULL;
13235}
13236
13237
13238static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13239 PyObject *resultobj;
13240 wxMimeTypesManager *result;
13241 char *kwnames[] = {
13242 NULL
13243 };
13244
13245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13246 {
13247 PyThreadState* __tstate = wxPyBeginAllowThreads();
13248 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13249
13250 wxPyEndAllowThreads(__tstate);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 }
13253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13254 return resultobj;
13255 fail:
13256 return NULL;
13257}
13258
13259
13260static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
13261 PyObject *resultobj;
13262 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13263 int arg2 = (int) wxMAILCAP_ALL ;
13264 wxString const &arg3_defvalue = wxPyEmptyString ;
13265 wxString *arg3 = (wxString *) &arg3_defvalue ;
13266 bool temp3 = False ;
13267 PyObject * obj0 = 0 ;
13268 PyObject * obj1 = 0 ;
13269 PyObject * obj2 = 0 ;
13270 char *kwnames[] = {
13271 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13272 };
13273
13274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13277 if (obj1) {
13278 arg2 = (int) SWIG_AsInt(obj1);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 if (obj2) {
13282 {
13283 arg3 = wxString_in_helper(obj2);
13284 if (arg3 == NULL) SWIG_fail;
13285 temp3 = True;
13286 }
13287 }
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13291
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 Py_INCREF(Py_None); resultobj = Py_None;
13296 {
13297 if (temp3)
13298 delete arg3;
13299 }
13300 return resultobj;
13301 fail:
13302 {
13303 if (temp3)
13304 delete arg3;
13305 }
13306 return NULL;
13307}
13308
13309
13310static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13313 PyObject * obj0 = 0 ;
13314 char *kwnames[] = {
13315 (char *) "self", NULL
13316 };
13317
13318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 (arg1)->ClearData();
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 Py_INCREF(Py_None); resultobj = Py_None;
13329 return resultobj;
13330 fail:
13331 return NULL;
13332}
13333
13334
13335static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj;
13337 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13338 wxString *arg2 = 0 ;
13339 wxFileType *result;
13340 bool temp2 = False ;
13341 PyObject * obj0 = 0 ;
13342 PyObject * obj1 = 0 ;
13343 char *kwnames[] = {
13344 (char *) "self",(char *) "ext", NULL
13345 };
13346
13347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13350 {
13351 arg2 = wxString_in_helper(obj1);
13352 if (arg2 == NULL) SWIG_fail;
13353 temp2 = True;
13354 }
13355 {
13356 PyThreadState* __tstate = wxPyBeginAllowThreads();
13357 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13358
13359 wxPyEndAllowThreads(__tstate);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 }
13362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13363 {
13364 if (temp2)
13365 delete arg2;
13366 }
13367 return resultobj;
13368 fail:
13369 {
13370 if (temp2)
13371 delete arg2;
13372 }
13373 return NULL;
13374}
13375
13376
13377static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
13378 PyObject *resultobj;
13379 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13380 wxString *arg2 = 0 ;
13381 wxFileType *result;
13382 bool temp2 = False ;
13383 PyObject * obj0 = 0 ;
13384 PyObject * obj1 = 0 ;
13385 char *kwnames[] = {
13386 (char *) "self",(char *) "mimeType", NULL
13387 };
13388
13389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13392 {
13393 arg2 = wxString_in_helper(obj1);
13394 if (arg2 == NULL) SWIG_fail;
13395 temp2 = True;
13396 }
13397 {
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13400
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13405 {
13406 if (temp2)
13407 delete arg2;
13408 }
13409 return resultobj;
13410 fail:
13411 {
13412 if (temp2)
13413 delete arg2;
13414 }
13415 return NULL;
13416}
13417
13418
13419static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13420 PyObject *resultobj;
13421 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13422 wxString *arg2 = 0 ;
13423 bool arg3 = (bool) False ;
13424 bool result;
13425 bool temp2 = False ;
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 PyObject * obj2 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13436 {
13437 arg2 = wxString_in_helper(obj1);
13438 if (arg2 == NULL) SWIG_fail;
13439 temp2 = True;
13440 }
13441 if (obj2) {
13442 arg3 = (bool) SWIG_AsBool(obj2);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 {
13453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13454 }
13455 {
13456 if (temp2)
13457 delete arg2;
13458 }
13459 return resultobj;
13460 fail:
13461 {
13462 if (temp2)
13463 delete arg2;
13464 }
13465 return NULL;
13466}
13467
13468
13469static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13470 PyObject *resultobj;
13471 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13472 wxString *arg2 = 0 ;
13473 bool result;
13474 bool temp2 = False ;
13475 PyObject * obj0 = 0 ;
13476 PyObject * obj1 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "self",(char *) "filename", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13484 {
13485 arg2 = wxString_in_helper(obj1);
13486 if (arg2 == NULL) SWIG_fail;
13487 temp2 = True;
13488 }
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13492
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 {
13497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13498 }
13499 {
13500 if (temp2)
13501 delete arg2;
13502 }
13503 return resultobj;
13504 fail:
13505 {
13506 if (temp2)
13507 delete arg2;
13508 }
13509 return NULL;
13510}
13511
13512
13513static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13516 PyObject *result;
13517 PyObject * obj0 = 0 ;
13518 char *kwnames[] = {
13519 (char *) "self", NULL
13520 };
13521
13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13528
13529 wxPyEndAllowThreads(__tstate);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 resultobj = result;
13533 return resultobj;
13534 fail:
13535 return NULL;
13536}
13537
13538
13539static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13540 PyObject *resultobj;
13541 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13542 wxFileTypeInfo *arg2 = 0 ;
13543 PyObject * obj0 = 0 ;
13544 PyObject * obj1 = 0 ;
13545 char *kwnames[] = {
13546 (char *) "self",(char *) "ft", NULL
13547 };
13548
13549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13553 SWIG_POINTER_EXCEPTION | 0)) == -1)
13554 SWIG_fail;
13555 if (arg2 == NULL) {
13556 PyErr_SetString(PyExc_TypeError,"null reference");
13557 SWIG_fail;
13558 }
13559 {
13560 PyThreadState* __tstate = wxPyBeginAllowThreads();
13561 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13562
13563 wxPyEndAllowThreads(__tstate);
13564 if (PyErr_Occurred()) SWIG_fail;
13565 }
13566 Py_INCREF(Py_None); resultobj = Py_None;
13567 return resultobj;
13568 fail:
13569 return NULL;
13570}
13571
13572
13573static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13574 PyObject *resultobj;
13575 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13576 wxFileTypeInfo *arg2 = 0 ;
13577 wxFileType *result;
13578 PyObject * obj0 = 0 ;
13579 PyObject * obj1 = 0 ;
13580 char *kwnames[] = {
13581 (char *) "self",(char *) "ftInfo", NULL
13582 };
13583
13584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13588 SWIG_POINTER_EXCEPTION | 0)) == -1)
13589 SWIG_fail;
13590 if (arg2 == NULL) {
13591 PyErr_SetString(PyExc_TypeError,"null reference");
13592 SWIG_fail;
13593 }
13594 {
13595 PyThreadState* __tstate = wxPyBeginAllowThreads();
13596 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13597
13598 wxPyEndAllowThreads(__tstate);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 }
13601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13602 return resultobj;
13603 fail:
13604 return NULL;
13605}
13606
13607
13608static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13609 PyObject *resultobj;
13610 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13611 wxFileType *arg2 = (wxFileType *) 0 ;
13612 bool result;
13613 PyObject * obj0 = 0 ;
13614 PyObject * obj1 = 0 ;
13615 char *kwnames[] = {
13616 (char *) "self",(char *) "ft", NULL
13617 };
13618
13619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13624 {
13625 PyThreadState* __tstate = wxPyBeginAllowThreads();
13626 result = (bool)(arg1)->Unassociate(arg2);
13627
13628 wxPyEndAllowThreads(__tstate);
13629 if (PyErr_Occurred()) SWIG_fail;
13630 }
13631 {
13632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13633 }
13634 return resultobj;
13635 fail:
13636 return NULL;
13637}
13638
13639
13640static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13641 PyObject *resultobj;
13642 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13643 PyObject * obj0 = 0 ;
13644 char *kwnames[] = {
13645 (char *) "self", NULL
13646 };
13647
13648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13651 {
13652 PyThreadState* __tstate = wxPyBeginAllowThreads();
13653 delete arg1;
13654
13655 wxPyEndAllowThreads(__tstate);
13656 if (PyErr_Occurred()) SWIG_fail;
13657 }
13658 Py_INCREF(Py_None); resultobj = Py_None;
13659 return resultobj;
13660 fail:
13661 return NULL;
13662}
13663
13664
13665static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13666 PyObject *obj;
13667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13668 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13669 Py_INCREF(obj);
13670 return Py_BuildValue((char *)"");
13671}
13672static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
13673 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13674 return 1;
13675}
13676
13677
13678static PyObject *_wrap_ART_TOOLBAR_get() {
13679 PyObject *pyobj;
13680
13681 {
13682#if wxUSE_UNICODE
13683 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13684#else
13685 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13686#endif
13687 }
13688 return pyobj;
13689}
13690
13691
13692static int _wrap_ART_MENU_set(PyObject *_val) {
13693 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13694 return 1;
13695}
13696
13697
13698static PyObject *_wrap_ART_MENU_get() {
13699 PyObject *pyobj;
13700
13701 {
13702#if wxUSE_UNICODE
13703 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13704#else
13705 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13706#endif
13707 }
13708 return pyobj;
13709}
13710
13711
13712static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13713 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13714 return 1;
13715}
13716
13717
13718static PyObject *_wrap_ART_FRAME_ICON_get() {
13719 PyObject *pyobj;
13720
13721 {
13722#if wxUSE_UNICODE
13723 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13724#else
13725 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13726#endif
13727 }
13728 return pyobj;
13729}
13730
13731
13732static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13733 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13734 return 1;
13735}
13736
13737
13738static PyObject *_wrap_ART_CMN_DIALOG_get() {
13739 PyObject *pyobj;
13740
13741 {
13742#if wxUSE_UNICODE
13743 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13744#else
13745 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13746#endif
13747 }
13748 return pyobj;
13749}
13750
13751
13752static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13753 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13754 return 1;
13755}
13756
13757
13758static PyObject *_wrap_ART_HELP_BROWSER_get() {
13759 PyObject *pyobj;
13760
13761 {
13762#if wxUSE_UNICODE
13763 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13764#else
13765 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13766#endif
13767 }
13768 return pyobj;
13769}
13770
13771
13772static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13773 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13774 return 1;
13775}
13776
13777
13778static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13779 PyObject *pyobj;
13780
13781 {
13782#if wxUSE_UNICODE
13783 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13784#else
13785 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13786#endif
13787 }
13788 return pyobj;
13789}
13790
13791
4cf4100f
RD
13792static int _wrap_ART_BUTTON_set(PyObject *_val) {
13793 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
13794 return 1;
13795}
13796
13797
13798static PyObject *_wrap_ART_BUTTON_get() {
13799 PyObject *pyobj;
13800
13801 {
13802#if wxUSE_UNICODE
13803 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
13804#else
13805 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
13806#endif
13807 }
13808 return pyobj;
13809}
13810
13811
d55e5bfc
RD
13812static int _wrap_ART_OTHER_set(PyObject *_val) {
13813 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13814 return 1;
13815}
13816
13817
13818static PyObject *_wrap_ART_OTHER_get() {
13819 PyObject *pyobj;
13820
13821 {
13822#if wxUSE_UNICODE
13823 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13824#else
13825 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13826#endif
13827 }
13828 return pyobj;
13829}
13830
13831
13832static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13833 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13834 return 1;
13835}
13836
13837
13838static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13839 PyObject *pyobj;
13840
13841 {
13842#if wxUSE_UNICODE
13843 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13844#else
13845 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13846#endif
13847 }
13848 return pyobj;
13849}
13850
13851
13852static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13853 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13854 return 1;
13855}
13856
13857
13858static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13859 PyObject *pyobj;
13860
13861 {
13862#if wxUSE_UNICODE
13863 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13864#else
13865 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13866#endif
13867 }
13868 return pyobj;
13869}
13870
13871
13872static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13873 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13874 return 1;
13875}
13876
13877
13878static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13879 PyObject *pyobj;
13880
13881 {
13882#if wxUSE_UNICODE
13883 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13884#else
13885 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13886#endif
13887 }
13888 return pyobj;
13889}
13890
13891
13892static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13893 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13894 return 1;
13895}
13896
13897
13898static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13899 PyObject *pyobj;
13900
13901 {
13902#if wxUSE_UNICODE
13903 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13904#else
13905 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13906#endif
13907 }
13908 return pyobj;
13909}
13910
13911
13912static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13913 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13914 return 1;
13915}
13916
13917
13918static PyObject *_wrap_ART_HELP_BOOK_get() {
13919 PyObject *pyobj;
13920
13921 {
13922#if wxUSE_UNICODE
13923 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13924#else
13925 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13926#endif
13927 }
13928 return pyobj;
13929}
13930
13931
13932static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13933 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13934 return 1;
13935}
13936
13937
13938static PyObject *_wrap_ART_HELP_FOLDER_get() {
13939 PyObject *pyobj;
13940
13941 {
13942#if wxUSE_UNICODE
13943 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13944#else
13945 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13946#endif
13947 }
13948 return pyobj;
13949}
13950
13951
13952static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13953 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13954 return 1;
13955}
13956
13957
13958static PyObject *_wrap_ART_HELP_PAGE_get() {
13959 PyObject *pyobj;
13960
13961 {
13962#if wxUSE_UNICODE
13963 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13964#else
13965 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13966#endif
13967 }
13968 return pyobj;
13969}
13970
13971
13972static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13973 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13974 return 1;
13975}
13976
13977
13978static PyObject *_wrap_ART_GO_BACK_get() {
13979 PyObject *pyobj;
13980
13981 {
13982#if wxUSE_UNICODE
13983 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13984#else
13985 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13986#endif
13987 }
13988 return pyobj;
13989}
13990
13991
13992static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13993 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13994 return 1;
13995}
13996
13997
13998static PyObject *_wrap_ART_GO_FORWARD_get() {
13999 PyObject *pyobj;
14000
14001 {
14002#if wxUSE_UNICODE
14003 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14004#else
14005 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14006#endif
14007 }
14008 return pyobj;
14009}
14010
14011
14012static int _wrap_ART_GO_UP_set(PyObject *_val) {
14013 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
14014 return 1;
14015}
14016
14017
14018static PyObject *_wrap_ART_GO_UP_get() {
14019 PyObject *pyobj;
14020
14021 {
14022#if wxUSE_UNICODE
14023 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14024#else
14025 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14026#endif
14027 }
14028 return pyobj;
14029}
14030
14031
14032static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
14033 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
14034 return 1;
14035}
14036
14037
14038static PyObject *_wrap_ART_GO_DOWN_get() {
14039 PyObject *pyobj;
14040
14041 {
14042#if wxUSE_UNICODE
14043 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14044#else
14045 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14046#endif
14047 }
14048 return pyobj;
14049}
14050
14051
14052static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
14053 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
14054 return 1;
14055}
14056
14057
14058static PyObject *_wrap_ART_GO_TO_PARENT_get() {
14059 PyObject *pyobj;
14060
14061 {
14062#if wxUSE_UNICODE
14063 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14064#else
14065 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14066#endif
14067 }
14068 return pyobj;
14069}
14070
14071
14072static int _wrap_ART_GO_HOME_set(PyObject *_val) {
14073 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
14074 return 1;
14075}
14076
14077
14078static PyObject *_wrap_ART_GO_HOME_get() {
14079 PyObject *pyobj;
14080
14081 {
14082#if wxUSE_UNICODE
14083 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14084#else
14085 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14086#endif
14087 }
14088 return pyobj;
14089}
14090
14091
14092static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
14093 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
14094 return 1;
14095}
14096
14097
14098static PyObject *_wrap_ART_FILE_OPEN_get() {
14099 PyObject *pyobj;
14100
14101 {
14102#if wxUSE_UNICODE
14103 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14104#else
14105 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14106#endif
14107 }
14108 return pyobj;
14109}
14110
14111
14112static int _wrap_ART_PRINT_set(PyObject *_val) {
14113 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
14114 return 1;
14115}
14116
14117
14118static PyObject *_wrap_ART_PRINT_get() {
14119 PyObject *pyobj;
14120
14121 {
14122#if wxUSE_UNICODE
14123 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14124#else
14125 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14126#endif
14127 }
14128 return pyobj;
14129}
14130
14131
14132static int _wrap_ART_HELP_set(PyObject *_val) {
14133 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
14134 return 1;
14135}
14136
14137
14138static PyObject *_wrap_ART_HELP_get() {
14139 PyObject *pyobj;
14140
14141 {
14142#if wxUSE_UNICODE
14143 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14144#else
14145 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14146#endif
14147 }
14148 return pyobj;
14149}
14150
14151
14152static int _wrap_ART_TIP_set(PyObject *_val) {
14153 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
14154 return 1;
14155}
14156
14157
14158static PyObject *_wrap_ART_TIP_get() {
14159 PyObject *pyobj;
14160
14161 {
14162#if wxUSE_UNICODE
14163 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14164#else
14165 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14166#endif
14167 }
14168 return pyobj;
14169}
14170
14171
14172static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
14173 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14174 return 1;
14175}
14176
14177
14178static PyObject *_wrap_ART_REPORT_VIEW_get() {
14179 PyObject *pyobj;
14180
14181 {
14182#if wxUSE_UNICODE
14183 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14184#else
14185 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14186#endif
14187 }
14188 return pyobj;
14189}
14190
14191
14192static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
14193 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14194 return 1;
14195}
14196
14197
14198static PyObject *_wrap_ART_LIST_VIEW_get() {
14199 PyObject *pyobj;
14200
14201 {
14202#if wxUSE_UNICODE
14203 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14204#else
14205 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14206#endif
14207 }
14208 return pyobj;
14209}
14210
14211
14212static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
14213 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14214 return 1;
14215}
14216
14217
14218static PyObject *_wrap_ART_NEW_DIR_get() {
14219 PyObject *pyobj;
14220
14221 {
14222#if wxUSE_UNICODE
14223 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14224#else
14225 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14226#endif
14227 }
14228 return pyobj;
14229}
14230
14231
14232static int _wrap_ART_FOLDER_set(PyObject *_val) {
14233 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14234 return 1;
14235}
14236
14237
14238static PyObject *_wrap_ART_FOLDER_get() {
14239 PyObject *pyobj;
14240
14241 {
14242#if wxUSE_UNICODE
14243 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14244#else
14245 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14246#endif
14247 }
14248 return pyobj;
14249}
14250
14251
14252static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
14253 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14254 return 1;
14255}
14256
14257
14258static PyObject *_wrap_ART_GO_DIR_UP_get() {
14259 PyObject *pyobj;
14260
14261 {
14262#if wxUSE_UNICODE
14263 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14264#else
14265 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14266#endif
14267 }
14268 return pyobj;
14269}
14270
14271
14272static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
14273 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14274 return 1;
14275}
14276
14277
14278static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14279 PyObject *pyobj;
14280
14281 {
14282#if wxUSE_UNICODE
14283 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14284#else
14285 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14286#endif
14287 }
14288 return pyobj;
14289}
14290
14291
14292static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
14293 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14294 return 1;
14295}
14296
14297
14298static PyObject *_wrap_ART_NORMAL_FILE_get() {
14299 PyObject *pyobj;
14300
14301 {
14302#if wxUSE_UNICODE
14303 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14304#else
14305 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14306#endif
14307 }
14308 return pyobj;
14309}
14310
14311
14312static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
14313 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14314 return 1;
14315}
14316
14317
14318static PyObject *_wrap_ART_TICK_MARK_get() {
14319 PyObject *pyobj;
14320
14321 {
14322#if wxUSE_UNICODE
14323 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14324#else
14325 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14326#endif
14327 }
14328 return pyobj;
14329}
14330
14331
14332static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
14333 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14334 return 1;
14335}
14336
14337
14338static PyObject *_wrap_ART_CROSS_MARK_get() {
14339 PyObject *pyobj;
14340
14341 {
14342#if wxUSE_UNICODE
14343 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14344#else
14345 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14346#endif
14347 }
14348 return pyobj;
14349}
14350
14351
14352static int _wrap_ART_ERROR_set(PyObject *_val) {
14353 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14354 return 1;
14355}
14356
14357
14358static PyObject *_wrap_ART_ERROR_get() {
14359 PyObject *pyobj;
14360
14361 {
14362#if wxUSE_UNICODE
14363 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14364#else
14365 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14366#endif
14367 }
14368 return pyobj;
14369}
14370
14371
14372static int _wrap_ART_QUESTION_set(PyObject *_val) {
14373 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14374 return 1;
14375}
14376
14377
14378static PyObject *_wrap_ART_QUESTION_get() {
14379 PyObject *pyobj;
14380
14381 {
14382#if wxUSE_UNICODE
14383 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14384#else
14385 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14386#endif
14387 }
14388 return pyobj;
14389}
14390
14391
14392static int _wrap_ART_WARNING_set(PyObject *_val) {
14393 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14394 return 1;
14395}
14396
14397
14398static PyObject *_wrap_ART_WARNING_get() {
14399 PyObject *pyobj;
14400
14401 {
14402#if wxUSE_UNICODE
14403 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14404#else
14405 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14406#endif
14407 }
14408 return pyobj;
14409}
14410
14411
14412static int _wrap_ART_INFORMATION_set(PyObject *_val) {
14413 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14414 return 1;
14415}
14416
14417
14418static PyObject *_wrap_ART_INFORMATION_get() {
14419 PyObject *pyobj;
14420
14421 {
14422#if wxUSE_UNICODE
14423 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14424#else
14425 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14426#endif
14427 }
14428 return pyobj;
14429}
14430
14431
14432static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
14433 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14434 return 1;
14435}
14436
14437
14438static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14439 PyObject *pyobj;
14440
14441 {
14442#if wxUSE_UNICODE
14443 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14444#else
14445 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14446#endif
14447 }
14448 return pyobj;
14449}
14450
14451
14452static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14453 PyObject *resultobj;
14454 wxPyArtProvider *result;
14455 char *kwnames[] = {
14456 NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14460 {
0439c23b 14461 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 result = (wxPyArtProvider *)new wxPyArtProvider();
14464
14465 wxPyEndAllowThreads(__tstate);
110da5b0 14466 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14467 }
14468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14469 return resultobj;
14470 fail:
14471 return NULL;
14472}
14473
14474
14475static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14476 PyObject *resultobj;
14477 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14478 PyObject *arg2 = (PyObject *) 0 ;
14479 PyObject *arg3 = (PyObject *) 0 ;
14480 PyObject * obj0 = 0 ;
14481 PyObject * obj1 = 0 ;
14482 PyObject * obj2 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self",(char *) "self",(char *) "_class", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14490 arg2 = obj1;
14491 arg3 = obj2;
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 (arg1)->_setCallbackInfo(arg2,arg3);
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 Py_INCREF(Py_None); resultobj = Py_None;
14500 return resultobj;
14501 fail:
14502 return NULL;
14503}
14504
14505
14506static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14509 PyObject * obj0 = 0 ;
14510 char *kwnames[] = {
14511 (char *) "provider", NULL
14512 };
14513
14514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 wxPyArtProvider::PushProvider(arg1);
14520
14521 wxPyEndAllowThreads(__tstate);
14522 if (PyErr_Occurred()) SWIG_fail;
14523 }
14524 Py_INCREF(Py_None); resultobj = Py_None;
14525 return resultobj;
14526 fail:
14527 return NULL;
14528}
14529
14530
14531static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14532 PyObject *resultobj;
14533 bool result;
14534 char *kwnames[] = {
14535 NULL
14536 };
14537
14538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 result = (bool)wxPyArtProvider::PopProvider();
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 {
14547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14548 }
14549 return resultobj;
14550 fail:
14551 return NULL;
14552}
14553
14554
14555static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14556 PyObject *resultobj;
14557 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14558 bool result;
14559 PyObject * obj0 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "provider", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 {
14575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14576 }
14577 return resultobj;
14578 fail:
14579 return NULL;
14580}
14581
14582
14583static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14584 PyObject *resultobj;
14585 wxString *arg1 = 0 ;
14586 wxString const &arg2_defvalue = wxPyART_OTHER ;
14587 wxString *arg2 = (wxString *) &arg2_defvalue ;
14588 wxSize const &arg3_defvalue = wxDefaultSize ;
14589 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14590 wxBitmap result;
14591 bool temp1 = False ;
14592 bool temp2 = False ;
14593 wxSize temp3 ;
14594 PyObject * obj0 = 0 ;
14595 PyObject * obj1 = 0 ;
14596 PyObject * obj2 = 0 ;
14597 char *kwnames[] = {
14598 (char *) "id",(char *) "client",(char *) "size", NULL
14599 };
14600
14601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14602 {
14603 arg1 = wxString_in_helper(obj0);
14604 if (arg1 == NULL) SWIG_fail;
14605 temp1 = True;
14606 }
14607 if (obj1) {
14608 {
14609 arg2 = wxString_in_helper(obj1);
14610 if (arg2 == NULL) SWIG_fail;
14611 temp2 = True;
14612 }
14613 }
14614 if (obj2) {
14615 {
14616 arg3 = &temp3;
14617 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14618 }
14619 }
14620 {
0439c23b 14621 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14622 PyThreadState* __tstate = wxPyBeginAllowThreads();
14623 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14624
14625 wxPyEndAllowThreads(__tstate);
110da5b0 14626 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14627 }
14628 {
14629 wxBitmap * resultptr;
14630 resultptr = new wxBitmap((wxBitmap &) result);
14631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14632 }
14633 {
14634 if (temp1)
14635 delete arg1;
14636 }
14637 {
14638 if (temp2)
14639 delete arg2;
14640 }
14641 return resultobj;
14642 fail:
14643 {
14644 if (temp1)
14645 delete arg1;
14646 }
14647 {
14648 if (temp2)
14649 delete arg2;
14650 }
14651 return NULL;
14652}
14653
14654
14655static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14656 PyObject *resultobj;
14657 wxString *arg1 = 0 ;
14658 wxString const &arg2_defvalue = wxPyART_OTHER ;
14659 wxString *arg2 = (wxString *) &arg2_defvalue ;
14660 wxSize const &arg3_defvalue = wxDefaultSize ;
14661 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14662 wxIcon result;
14663 bool temp1 = False ;
14664 bool temp2 = False ;
14665 wxSize temp3 ;
14666 PyObject * obj0 = 0 ;
14667 PyObject * obj1 = 0 ;
14668 PyObject * obj2 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "id",(char *) "client",(char *) "size", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14674 {
14675 arg1 = wxString_in_helper(obj0);
14676 if (arg1 == NULL) SWIG_fail;
14677 temp1 = True;
14678 }
14679 if (obj1) {
14680 {
14681 arg2 = wxString_in_helper(obj1);
14682 if (arg2 == NULL) SWIG_fail;
14683 temp2 = True;
14684 }
14685 }
14686 if (obj2) {
14687 {
14688 arg3 = &temp3;
14689 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14690 }
14691 }
14692 {
0439c23b 14693 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14694 PyThreadState* __tstate = wxPyBeginAllowThreads();
14695 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14696
14697 wxPyEndAllowThreads(__tstate);
110da5b0 14698 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14699 }
14700 {
14701 wxIcon * resultptr;
14702 resultptr = new wxIcon((wxIcon &) result);
14703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14704 }
14705 {
14706 if (temp1)
14707 delete arg1;
14708 }
14709 {
14710 if (temp2)
14711 delete arg2;
14712 }
14713 return resultobj;
14714 fail:
14715 {
14716 if (temp1)
14717 delete arg1;
14718 }
14719 {
14720 if (temp2)
14721 delete arg2;
14722 }
14723 return NULL;
14724}
14725
14726
14727static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14728 PyObject *resultobj;
14729 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14730 PyObject * obj0 = 0 ;
14731 char *kwnames[] = {
14732 (char *) "self", NULL
14733 };
14734
14735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14738 {
14739 PyThreadState* __tstate = wxPyBeginAllowThreads();
14740 wxPyArtProvider_Destroy(arg1);
14741
14742 wxPyEndAllowThreads(__tstate);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 }
14745 Py_INCREF(Py_None); resultobj = Py_None;
14746 return resultobj;
14747 fail:
14748 return NULL;
14749}
14750
14751
14752static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14753 PyObject *obj;
14754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14755 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14756 Py_INCREF(obj);
14757 return Py_BuildValue((char *)"");
14758}
14759static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14762 PyObject * obj0 = 0 ;
14763 char *kwnames[] = {
14764 (char *) "self", NULL
14765 };
14766
14767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 delete arg1;
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 Py_INCREF(Py_None); resultobj = Py_None;
14778 return resultobj;
14779 fail:
14780 return NULL;
14781}
14782
14783
14784static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14785 PyObject *resultobj;
14786 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14787 wxConfigBase *result;
14788 PyObject * obj0 = 0 ;
14789 char *kwnames[] = {
14790 (char *) "config", NULL
14791 };
14792
14793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14796 {
14797 PyThreadState* __tstate = wxPyBeginAllowThreads();
14798 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14799
14800 wxPyEndAllowThreads(__tstate);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14804 return resultobj;
14805 fail:
14806 return NULL;
14807}
14808
14809
14810static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14811 PyObject *resultobj;
14812 bool arg1 = (bool) True ;
14813 wxConfigBase *result;
14814 PyObject * obj0 = 0 ;
14815 char *kwnames[] = {
14816 (char *) "createOnDemand", NULL
14817 };
14818
14819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14820 if (obj0) {
14821 arg1 = (bool) SWIG_AsBool(obj0);
14822 if (PyErr_Occurred()) SWIG_fail;
14823 }
14824 {
14825 PyThreadState* __tstate = wxPyBeginAllowThreads();
14826 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14827
14828 wxPyEndAllowThreads(__tstate);
14829 if (PyErr_Occurred()) SWIG_fail;
14830 }
14831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14832 return resultobj;
14833 fail:
14834 return NULL;
14835}
14836
14837
14838static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14839 PyObject *resultobj;
14840 wxConfigBase *result;
14841 char *kwnames[] = {
14842 NULL
14843 };
14844
14845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14846 {
14847 PyThreadState* __tstate = wxPyBeginAllowThreads();
14848 result = (wxConfigBase *)wxConfigBase::Create();
14849
14850 wxPyEndAllowThreads(__tstate);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14854 return resultobj;
14855 fail:
14856 return NULL;
14857}
14858
14859
14860static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj;
14862 char *kwnames[] = {
14863 NULL
14864 };
14865
14866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 wxConfigBase::DontCreateOnDemand();
14870
14871 wxPyEndAllowThreads(__tstate);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 }
14874 Py_INCREF(Py_None); resultobj = Py_None;
14875 return resultobj;
14876 fail:
14877 return NULL;
14878}
14879
14880
14881static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14882 PyObject *resultobj;
14883 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14884 wxString *arg2 = 0 ;
14885 bool temp2 = False ;
14886 PyObject * obj0 = 0 ;
14887 PyObject * obj1 = 0 ;
14888 char *kwnames[] = {
14889 (char *) "self",(char *) "path", NULL
14890 };
14891
14892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14895 {
14896 arg2 = wxString_in_helper(obj1);
14897 if (arg2 == NULL) SWIG_fail;
14898 temp2 = True;
14899 }
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 (arg1)->SetPath((wxString const &)*arg2);
14903
14904 wxPyEndAllowThreads(__tstate);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 }
14907 Py_INCREF(Py_None); resultobj = Py_None;
14908 {
14909 if (temp2)
14910 delete arg2;
14911 }
14912 return resultobj;
14913 fail:
14914 {
14915 if (temp2)
14916 delete arg2;
14917 }
14918 return NULL;
14919}
14920
14921
14922static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14923 PyObject *resultobj;
14924 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14925 wxString *result;
14926 PyObject * obj0 = 0 ;
14927 char *kwnames[] = {
14928 (char *) "self", NULL
14929 };
14930
14931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 {
14937 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14938 result = (wxString *) &_result_ref;
14939 }
14940
14941 wxPyEndAllowThreads(__tstate);
14942 if (PyErr_Occurred()) SWIG_fail;
14943 }
14944 {
14945#if wxUSE_UNICODE
14946 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14947#else
14948 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14949#endif
14950 }
14951 return resultobj;
14952 fail:
14953 return NULL;
14954}
14955
14956
14957static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14958 PyObject *resultobj;
14959 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14960 PyObject *result;
14961 PyObject * obj0 = 0 ;
14962 char *kwnames[] = {
14963 (char *) "self", NULL
14964 };
14965
14966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 resultobj = result;
14977 return resultobj;
14978 fail:
14979 return NULL;
14980}
14981
14982
14983static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14986 long arg2 ;
14987 PyObject *result;
14988 PyObject * obj0 = 0 ;
14989 PyObject * obj1 = 0 ;
14990 char *kwnames[] = {
14991 (char *) "self",(char *) "index", NULL
14992 };
14993
14994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14997 arg2 = (long) SWIG_AsLong(obj1);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
15002
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 resultobj = result;
15007 return resultobj;
15008 fail:
15009 return NULL;
15010}
15011
15012
15013static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15014 PyObject *resultobj;
15015 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15016 PyObject *result;
15017 PyObject * obj0 = 0 ;
15018 char *kwnames[] = {
15019 (char *) "self", NULL
15020 };
15021
15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
15023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
15028
15029 wxPyEndAllowThreads(__tstate);
15030 if (PyErr_Occurred()) SWIG_fail;
15031 }
15032 resultobj = result;
15033 return resultobj;
15034 fail:
15035 return NULL;
15036}
15037
15038
15039static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15040 PyObject *resultobj;
15041 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15042 long arg2 ;
15043 PyObject *result;
15044 PyObject * obj0 = 0 ;
15045 PyObject * obj1 = 0 ;
15046 char *kwnames[] = {
15047 (char *) "self",(char *) "index", NULL
15048 };
15049
15050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
15051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15053 arg2 = (long) SWIG_AsLong(obj1);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 resultobj = result;
15063 return resultobj;
15064 fail:
15065 return NULL;
15066}
15067
15068
15069static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj;
15071 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15072 bool arg2 = (bool) False ;
15073 size_t result;
15074 PyObject * obj0 = 0 ;
15075 PyObject * obj1 = 0 ;
15076 char *kwnames[] = {
15077 (char *) "self",(char *) "recursive", NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
15081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15083 if (obj1) {
15084 arg2 = (bool) SWIG_AsBool(obj1);
15085 if (PyErr_Occurred()) SWIG_fail;
15086 }
15087 {
15088 PyThreadState* __tstate = wxPyBeginAllowThreads();
15089 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
15090
15091 wxPyEndAllowThreads(__tstate);
15092 if (PyErr_Occurred()) SWIG_fail;
15093 }
15094 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
15095 return resultobj;
15096 fail:
15097 return NULL;
15098}
15099
15100
15101static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
15102 PyObject *resultobj;
15103 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15104 bool arg2 = (bool) False ;
15105 size_t result;
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 char *kwnames[] = {
15109 (char *) "self",(char *) "recursive", NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
15113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15115 if (obj1) {
15116 arg2 = (bool) SWIG_AsBool(obj1);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 {
15120 PyThreadState* __tstate = wxPyBeginAllowThreads();
15121 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
15122
15123 wxPyEndAllowThreads(__tstate);
15124 if (PyErr_Occurred()) SWIG_fail;
15125 }
15126 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
15127 return resultobj;
15128 fail:
15129 return NULL;
15130}
15131
15132
15133static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj;
15135 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15136 wxString *arg2 = 0 ;
15137 bool result;
15138 bool temp2 = False ;
15139 PyObject * obj0 = 0 ;
15140 PyObject * obj1 = 0 ;
15141 char *kwnames[] = {
15142 (char *) "self",(char *) "name", NULL
15143 };
15144
15145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
15146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15148 {
15149 arg2 = wxString_in_helper(obj1);
15150 if (arg2 == NULL) SWIG_fail;
15151 temp2 = True;
15152 }
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
15156
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 {
15161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15162 }
15163 {
15164 if (temp2)
15165 delete arg2;
15166 }
15167 return resultobj;
15168 fail:
15169 {
15170 if (temp2)
15171 delete arg2;
15172 }
15173 return NULL;
15174}
15175
15176
15177static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15178 PyObject *resultobj;
15179 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15180 wxString *arg2 = 0 ;
15181 bool result;
15182 bool temp2 = False ;
15183 PyObject * obj0 = 0 ;
15184 PyObject * obj1 = 0 ;
15185 char *kwnames[] = {
15186 (char *) "self",(char *) "name", NULL
15187 };
15188
15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15192 {
15193 arg2 = wxString_in_helper(obj1);
15194 if (arg2 == NULL) SWIG_fail;
15195 temp2 = True;
15196 }
15197 {
15198 PyThreadState* __tstate = wxPyBeginAllowThreads();
15199 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15200
15201 wxPyEndAllowThreads(__tstate);
15202 if (PyErr_Occurred()) SWIG_fail;
15203 }
15204 {
15205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15206 }
15207 {
15208 if (temp2)
15209 delete arg2;
15210 }
15211 return resultobj;
15212 fail:
15213 {
15214 if (temp2)
15215 delete arg2;
15216 }
15217 return NULL;
15218}
15219
15220
15221static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
15222 PyObject *resultobj;
15223 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15224 wxString *arg2 = 0 ;
15225 bool result;
15226 bool temp2 = False ;
15227 PyObject * obj0 = 0 ;
15228 PyObject * obj1 = 0 ;
15229 char *kwnames[] = {
15230 (char *) "self",(char *) "name", NULL
15231 };
15232
15233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15236 {
15237 arg2 = wxString_in_helper(obj1);
15238 if (arg2 == NULL) SWIG_fail;
15239 temp2 = True;
15240 }
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15244
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 {
15249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15250 }
15251 {
15252 if (temp2)
15253 delete arg2;
15254 }
15255 return resultobj;
15256 fail:
15257 {
15258 if (temp2)
15259 delete arg2;
15260 }
15261 return NULL;
15262}
15263
15264
15265static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
15266 PyObject *resultobj;
15267 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15268 wxString *arg2 = 0 ;
15269 int result;
15270 bool temp2 = False ;
15271 PyObject * obj0 = 0 ;
15272 PyObject * obj1 = 0 ;
15273 char *kwnames[] = {
15274 (char *) "self",(char *) "name", NULL
15275 };
15276
15277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15280 {
15281 arg2 = wxString_in_helper(obj1);
15282 if (arg2 == NULL) SWIG_fail;
15283 temp2 = True;
15284 }
15285 {
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
15287 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15288
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 resultobj = SWIG_FromInt((int)result);
15293 {
15294 if (temp2)
15295 delete arg2;
15296 }
15297 return resultobj;
15298 fail:
15299 {
15300 if (temp2)
15301 delete arg2;
15302 }
15303 return NULL;
15304}
15305
15306
15307static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
15308 PyObject *resultobj;
15309 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15310 wxString *arg2 = 0 ;
15311 wxString const &arg3_defvalue = wxPyEmptyString ;
15312 wxString *arg3 = (wxString *) &arg3_defvalue ;
15313 wxString result;
15314 bool temp2 = False ;
15315 bool temp3 = False ;
15316 PyObject * obj0 = 0 ;
15317 PyObject * obj1 = 0 ;
15318 PyObject * obj2 = 0 ;
15319 char *kwnames[] = {
15320 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15326 {
15327 arg2 = wxString_in_helper(obj1);
15328 if (arg2 == NULL) SWIG_fail;
15329 temp2 = True;
15330 }
15331 if (obj2) {
15332 {
15333 arg3 = wxString_in_helper(obj2);
15334 if (arg3 == NULL) SWIG_fail;
15335 temp3 = True;
15336 }
15337 }
15338 {
15339 PyThreadState* __tstate = wxPyBeginAllowThreads();
15340 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15341
15342 wxPyEndAllowThreads(__tstate);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
15345 {
15346#if wxUSE_UNICODE
15347 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15348#else
15349 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15350#endif
15351 }
15352 {
15353 if (temp2)
15354 delete arg2;
15355 }
15356 {
15357 if (temp3)
15358 delete arg3;
15359 }
15360 return resultobj;
15361 fail:
15362 {
15363 if (temp2)
15364 delete arg2;
15365 }
15366 {
15367 if (temp3)
15368 delete arg3;
15369 }
15370 return NULL;
15371}
15372
15373
15374static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15375 PyObject *resultobj;
15376 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15377 wxString *arg2 = 0 ;
15378 long arg3 = (long) 0 ;
15379 long result;
15380 bool temp2 = False ;
15381 PyObject * obj0 = 0 ;
15382 PyObject * obj1 = 0 ;
15383 PyObject * obj2 = 0 ;
15384 char *kwnames[] = {
15385 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15386 };
15387
15388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15391 {
15392 arg2 = wxString_in_helper(obj1);
15393 if (arg2 == NULL) SWIG_fail;
15394 temp2 = True;
15395 }
15396 if (obj2) {
15397 arg3 = (long) SWIG_AsLong(obj2);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 }
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15403
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
15407 resultobj = SWIG_FromLong((long)result);
15408 {
15409 if (temp2)
15410 delete arg2;
15411 }
15412 return resultobj;
15413 fail:
15414 {
15415 if (temp2)
15416 delete arg2;
15417 }
15418 return NULL;
15419}
15420
15421
15422static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15423 PyObject *resultobj;
15424 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15425 wxString *arg2 = 0 ;
15426 double arg3 = (double) 0.0 ;
15427 double result;
15428 bool temp2 = False ;
15429 PyObject * obj0 = 0 ;
15430 PyObject * obj1 = 0 ;
15431 PyObject * obj2 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15439 {
15440 arg2 = wxString_in_helper(obj1);
15441 if (arg2 == NULL) SWIG_fail;
15442 temp2 = True;
15443 }
15444 if (obj2) {
15445 arg3 = (double) SWIG_AsDouble(obj2);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 {
15449 PyThreadState* __tstate = wxPyBeginAllowThreads();
15450 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15451
15452 wxPyEndAllowThreads(__tstate);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 resultobj = SWIG_FromDouble((double)result);
15456 {
15457 if (temp2)
15458 delete arg2;
15459 }
15460 return resultobj;
15461 fail:
15462 {
15463 if (temp2)
15464 delete arg2;
15465 }
15466 return NULL;
15467}
15468
15469
15470static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15471 PyObject *resultobj;
15472 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15473 wxString *arg2 = 0 ;
15474 bool arg3 = (bool) False ;
15475 bool result;
15476 bool temp2 = False ;
15477 PyObject * obj0 = 0 ;
15478 PyObject * obj1 = 0 ;
15479 PyObject * obj2 = 0 ;
15480 char *kwnames[] = {
15481 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15482 };
15483
15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15487 {
15488 arg2 = wxString_in_helper(obj1);
15489 if (arg2 == NULL) SWIG_fail;
15490 temp2 = True;
15491 }
15492 if (obj2) {
15493 arg3 = (bool) SWIG_AsBool(obj2);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 {
15504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15505 }
15506 {
15507 if (temp2)
15508 delete arg2;
15509 }
15510 return resultobj;
15511 fail:
15512 {
15513 if (temp2)
15514 delete arg2;
15515 }
15516 return NULL;
15517}
15518
15519
15520static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15521 PyObject *resultobj;
15522 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15523 wxString *arg2 = 0 ;
15524 wxString *arg3 = 0 ;
15525 bool result;
15526 bool temp2 = False ;
15527 bool temp3 = False ;
15528 PyObject * obj0 = 0 ;
15529 PyObject * obj1 = 0 ;
15530 PyObject * obj2 = 0 ;
15531 char *kwnames[] = {
15532 (char *) "self",(char *) "key",(char *) "value", NULL
15533 };
15534
15535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15538 {
15539 arg2 = wxString_in_helper(obj1);
15540 if (arg2 == NULL) SWIG_fail;
15541 temp2 = True;
15542 }
15543 {
15544 arg3 = wxString_in_helper(obj2);
15545 if (arg3 == NULL) SWIG_fail;
15546 temp3 = True;
15547 }
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15551
15552 wxPyEndAllowThreads(__tstate);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 {
15556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15557 }
15558 {
15559 if (temp2)
15560 delete arg2;
15561 }
15562 {
15563 if (temp3)
15564 delete arg3;
15565 }
15566 return resultobj;
15567 fail:
15568 {
15569 if (temp2)
15570 delete arg2;
15571 }
15572 {
15573 if (temp3)
15574 delete arg3;
15575 }
15576 return NULL;
15577}
15578
15579
15580static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15581 PyObject *resultobj;
15582 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15583 wxString *arg2 = 0 ;
15584 long arg3 ;
15585 bool result;
15586 bool temp2 = False ;
15587 PyObject * obj0 = 0 ;
15588 PyObject * obj1 = 0 ;
15589 PyObject * obj2 = 0 ;
15590 char *kwnames[] = {
15591 (char *) "self",(char *) "key",(char *) "value", NULL
15592 };
15593
15594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15597 {
15598 arg2 = wxString_in_helper(obj1);
15599 if (arg2 == NULL) SWIG_fail;
15600 temp2 = True;
15601 }
15602 arg3 = (long) SWIG_AsLong(obj2);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 {
15612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15613 }
15614 {
15615 if (temp2)
15616 delete arg2;
15617 }
15618 return resultobj;
15619 fail:
15620 {
15621 if (temp2)
15622 delete arg2;
15623 }
15624 return NULL;
15625}
15626
15627
15628static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15631 wxString *arg2 = 0 ;
15632 double arg3 ;
15633 bool result;
15634 bool temp2 = False ;
15635 PyObject * obj0 = 0 ;
15636 PyObject * obj1 = 0 ;
15637 PyObject * obj2 = 0 ;
15638 char *kwnames[] = {
15639 (char *) "self",(char *) "key",(char *) "value", NULL
15640 };
15641
15642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15645 {
15646 arg2 = wxString_in_helper(obj1);
15647 if (arg2 == NULL) SWIG_fail;
15648 temp2 = True;
15649 }
15650 arg3 = (double) SWIG_AsDouble(obj2);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 {
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15655
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 {
15660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15661 }
15662 {
15663 if (temp2)
15664 delete arg2;
15665 }
15666 return resultobj;
15667 fail:
15668 {
15669 if (temp2)
15670 delete arg2;
15671 }
15672 return NULL;
15673}
15674
15675
15676static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15677 PyObject *resultobj;
15678 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15679 wxString *arg2 = 0 ;
15680 bool arg3 ;
15681 bool result;
15682 bool temp2 = False ;
15683 PyObject * obj0 = 0 ;
15684 PyObject * obj1 = 0 ;
15685 PyObject * obj2 = 0 ;
15686 char *kwnames[] = {
15687 (char *) "self",(char *) "key",(char *) "value", NULL
15688 };
15689
15690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15693 {
15694 arg2 = wxString_in_helper(obj1);
15695 if (arg2 == NULL) SWIG_fail;
15696 temp2 = True;
15697 }
15698 arg3 = (bool) SWIG_AsBool(obj2);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 {
15701 PyThreadState* __tstate = wxPyBeginAllowThreads();
15702 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15703
15704 wxPyEndAllowThreads(__tstate);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 }
15707 {
15708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15709 }
15710 {
15711 if (temp2)
15712 delete arg2;
15713 }
15714 return resultobj;
15715 fail:
15716 {
15717 if (temp2)
15718 delete arg2;
15719 }
15720 return NULL;
15721}
15722
15723
15724static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj;
15726 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15727 bool arg2 = (bool) False ;
15728 bool result;
15729 PyObject * obj0 = 0 ;
15730 PyObject * obj1 = 0 ;
15731 char *kwnames[] = {
15732 (char *) "self",(char *) "currentOnly", NULL
15733 };
15734
15735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15738 if (obj1) {
15739 arg2 = (bool) SWIG_AsBool(obj1);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 {
15743 PyThreadState* __tstate = wxPyBeginAllowThreads();
15744 result = (bool)(arg1)->Flush(arg2);
15745
15746 wxPyEndAllowThreads(__tstate);
15747 if (PyErr_Occurred()) SWIG_fail;
15748 }
15749 {
15750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15751 }
15752 return resultobj;
15753 fail:
15754 return NULL;
15755}
15756
15757
15758static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15759 PyObject *resultobj;
15760 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15761 wxString *arg2 = 0 ;
15762 wxString *arg3 = 0 ;
15763 bool result;
15764 bool temp2 = False ;
15765 bool temp3 = False ;
15766 PyObject * obj0 = 0 ;
15767 PyObject * obj1 = 0 ;
15768 PyObject * obj2 = 0 ;
15769 char *kwnames[] = {
15770 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15771 };
15772
15773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15776 {
15777 arg2 = wxString_in_helper(obj1);
15778 if (arg2 == NULL) SWIG_fail;
15779 temp2 = True;
15780 }
15781 {
15782 arg3 = wxString_in_helper(obj2);
15783 if (arg3 == NULL) SWIG_fail;
15784 temp3 = True;
15785 }
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15789
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 {
15794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15795 }
15796 {
15797 if (temp2)
15798 delete arg2;
15799 }
15800 {
15801 if (temp3)
15802 delete arg3;
15803 }
15804 return resultobj;
15805 fail:
15806 {
15807 if (temp2)
15808 delete arg2;
15809 }
15810 {
15811 if (temp3)
15812 delete arg3;
15813 }
15814 return NULL;
15815}
15816
15817
15818static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15819 PyObject *resultobj;
15820 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15821 wxString *arg2 = 0 ;
15822 wxString *arg3 = 0 ;
15823 bool result;
15824 bool temp2 = False ;
15825 bool temp3 = False ;
15826 PyObject * obj0 = 0 ;
15827 PyObject * obj1 = 0 ;
15828 PyObject * obj2 = 0 ;
15829 char *kwnames[] = {
15830 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15831 };
15832
15833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15836 {
15837 arg2 = wxString_in_helper(obj1);
15838 if (arg2 == NULL) SWIG_fail;
15839 temp2 = True;
15840 }
15841 {
15842 arg3 = wxString_in_helper(obj2);
15843 if (arg3 == NULL) SWIG_fail;
15844 temp3 = True;
15845 }
15846 {
15847 PyThreadState* __tstate = wxPyBeginAllowThreads();
15848 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15849
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 {
15854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15855 }
15856 {
15857 if (temp2)
15858 delete arg2;
15859 }
15860 {
15861 if (temp3)
15862 delete arg3;
15863 }
15864 return resultobj;
15865 fail:
15866 {
15867 if (temp2)
15868 delete arg2;
15869 }
15870 {
15871 if (temp3)
15872 delete arg3;
15873 }
15874 return NULL;
15875}
15876
15877
15878static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15879 PyObject *resultobj;
15880 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15881 wxString *arg2 = 0 ;
15882 bool arg3 = (bool) True ;
15883 bool result;
15884 bool temp2 = False ;
15885 PyObject * obj0 = 0 ;
15886 PyObject * obj1 = 0 ;
15887 PyObject * obj2 = 0 ;
15888 char *kwnames[] = {
15889 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15890 };
15891
15892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15895 {
15896 arg2 = wxString_in_helper(obj1);
15897 if (arg2 == NULL) SWIG_fail;
15898 temp2 = True;
15899 }
15900 if (obj2) {
15901 arg3 = (bool) SWIG_AsBool(obj2);
15902 if (PyErr_Occurred()) SWIG_fail;
15903 }
15904 {
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15907
15908 wxPyEndAllowThreads(__tstate);
15909 if (PyErr_Occurred()) SWIG_fail;
15910 }
15911 {
15912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15913 }
15914 {
15915 if (temp2)
15916 delete arg2;
15917 }
15918 return resultobj;
15919 fail:
15920 {
15921 if (temp2)
15922 delete arg2;
15923 }
15924 return NULL;
15925}
15926
15927
15928static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15929 PyObject *resultobj;
15930 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15931 wxString *arg2 = 0 ;
15932 bool result;
15933 bool temp2 = False ;
15934 PyObject * obj0 = 0 ;
15935 PyObject * obj1 = 0 ;
15936 char *kwnames[] = {
15937 (char *) "self",(char *) "key", NULL
15938 };
15939
15940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15943 {
15944 arg2 = wxString_in_helper(obj1);
15945 if (arg2 == NULL) SWIG_fail;
15946 temp2 = True;
15947 }
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15951
15952 wxPyEndAllowThreads(__tstate);
15953 if (PyErr_Occurred()) SWIG_fail;
15954 }
15955 {
15956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15957 }
15958 {
15959 if (temp2)
15960 delete arg2;
15961 }
15962 return resultobj;
15963 fail:
15964 {
15965 if (temp2)
15966 delete arg2;
15967 }
15968 return NULL;
15969}
15970
15971
15972static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15973 PyObject *resultobj;
15974 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15975 bool result;
15976 PyObject * obj0 = 0 ;
15977 char *kwnames[] = {
15978 (char *) "self", NULL
15979 };
15980
15981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 result = (bool)(arg1)->DeleteAll();
15987
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 {
15992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15993 }
15994 return resultobj;
15995 fail:
15996 return NULL;
15997}
15998
15999
16000static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16001 PyObject *resultobj;
16002 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16003 bool arg2 = (bool) True ;
16004 PyObject * obj0 = 0 ;
16005 PyObject * obj1 = 0 ;
16006 char *kwnames[] = {
16007 (char *) "self",(char *) "doIt", NULL
16008 };
16009
16010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16013 if (obj1) {
16014 arg2 = (bool) SWIG_AsBool(obj1);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 }
16017 {
16018 PyThreadState* __tstate = wxPyBeginAllowThreads();
16019 (arg1)->SetExpandEnvVars(arg2);
16020
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 Py_INCREF(Py_None); resultobj = Py_None;
16025 return resultobj;
16026 fail:
16027 return NULL;
16028}
16029
16030
16031static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj;
16033 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16034 bool result;
16035 PyObject * obj0 = 0 ;
16036 char *kwnames[] = {
16037 (char *) "self", NULL
16038 };
16039
16040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
16041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16043 {
16044 PyThreadState* __tstate = wxPyBeginAllowThreads();
16045 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
16046
16047 wxPyEndAllowThreads(__tstate);
16048 if (PyErr_Occurred()) SWIG_fail;
16049 }
16050 {
16051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16052 }
16053 return resultobj;
16054 fail:
16055 return NULL;
16056}
16057
16058
16059static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
16060 PyObject *resultobj;
16061 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16062 bool arg2 = (bool) True ;
16063 PyObject * obj0 = 0 ;
16064 PyObject * obj1 = 0 ;
16065 char *kwnames[] = {
16066 (char *) "self",(char *) "doIt", NULL
16067 };
16068
16069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
16070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16072 if (obj1) {
16073 arg2 = (bool) SWIG_AsBool(obj1);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 {
16077 PyThreadState* __tstate = wxPyBeginAllowThreads();
16078 (arg1)->SetRecordDefaults(arg2);
16079
16080 wxPyEndAllowThreads(__tstate);
16081 if (PyErr_Occurred()) SWIG_fail;
16082 }
16083 Py_INCREF(Py_None); resultobj = Py_None;
16084 return resultobj;
16085 fail:
16086 return NULL;
16087}
16088
16089
16090static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
16091 PyObject *resultobj;
16092 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16093 bool result;
16094 PyObject * obj0 = 0 ;
16095 char *kwnames[] = {
16096 (char *) "self", NULL
16097 };
16098
16099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
16100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16102 {
16103 PyThreadState* __tstate = wxPyBeginAllowThreads();
16104 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
16105
16106 wxPyEndAllowThreads(__tstate);
16107 if (PyErr_Occurred()) SWIG_fail;
16108 }
16109 {
16110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16111 }
16112 return resultobj;
16113 fail:
16114 return NULL;
16115}
16116
16117
16118static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16119 PyObject *resultobj;
16120 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16121 wxString *arg2 = 0 ;
16122 wxString result;
16123 bool temp2 = False ;
16124 PyObject * obj0 = 0 ;
16125 PyObject * obj1 = 0 ;
16126 char *kwnames[] = {
16127 (char *) "self",(char *) "str", NULL
16128 };
16129
16130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16133 {
16134 arg2 = wxString_in_helper(obj1);
16135 if (arg2 == NULL) SWIG_fail;
16136 temp2 = True;
16137 }
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
16141
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 {
16146#if wxUSE_UNICODE
16147 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16148#else
16149 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16150#endif
16151 }
16152 {
16153 if (temp2)
16154 delete arg2;
16155 }
16156 return resultobj;
16157 fail:
16158 {
16159 if (temp2)
16160 delete arg2;
16161 }
16162 return NULL;
16163}
16164
16165
16166static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16167 PyObject *resultobj;
16168 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16169 wxString result;
16170 PyObject * obj0 = 0 ;
16171 char *kwnames[] = {
16172 (char *) "self", NULL
16173 };
16174
16175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
16176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16178 {
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
16180 result = ((wxConfigBase const *)arg1)->GetAppName();
16181
16182 wxPyEndAllowThreads(__tstate);
16183 if (PyErr_Occurred()) SWIG_fail;
16184 }
16185 {
16186#if wxUSE_UNICODE
16187 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16188#else
16189 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16190#endif
16191 }
16192 return resultobj;
16193 fail:
16194 return NULL;
16195}
16196
16197
16198static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16201 wxString result;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 result = ((wxConfigBase const *)arg1)->GetVendorName();
16213
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 {
16218#if wxUSE_UNICODE
16219 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16220#else
16221 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16222#endif
16223 }
16224 return resultobj;
16225 fail:
16226 return NULL;
16227}
16228
16229
16230static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16231 PyObject *resultobj;
16232 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16233 wxString *arg2 = 0 ;
16234 bool temp2 = False ;
16235 PyObject * obj0 = 0 ;
16236 PyObject * obj1 = 0 ;
16237 char *kwnames[] = {
16238 (char *) "self",(char *) "appName", NULL
16239 };
16240
16241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16244 {
16245 arg2 = wxString_in_helper(obj1);
16246 if (arg2 == NULL) SWIG_fail;
16247 temp2 = True;
16248 }
16249 {
16250 PyThreadState* __tstate = wxPyBeginAllowThreads();
16251 (arg1)->SetAppName((wxString const &)*arg2);
16252
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 Py_INCREF(Py_None); resultobj = Py_None;
16257 {
16258 if (temp2)
16259 delete arg2;
16260 }
16261 return resultobj;
16262 fail:
16263 {
16264 if (temp2)
16265 delete arg2;
16266 }
16267 return NULL;
16268}
16269
16270
16271static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16272 PyObject *resultobj;
16273 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16274 wxString *arg2 = 0 ;
16275 bool temp2 = False ;
16276 PyObject * obj0 = 0 ;
16277 PyObject * obj1 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self",(char *) "vendorName", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16285 {
16286 arg2 = wxString_in_helper(obj1);
16287 if (arg2 == NULL) SWIG_fail;
16288 temp2 = True;
16289 }
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 (arg1)->SetVendorName((wxString const &)*arg2);
16293
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 Py_INCREF(Py_None); resultobj = Py_None;
16298 {
16299 if (temp2)
16300 delete arg2;
16301 }
16302 return resultobj;
16303 fail:
16304 {
16305 if (temp2)
16306 delete arg2;
16307 }
16308 return NULL;
16309}
16310
16311
16312static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16313 PyObject *resultobj;
16314 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16315 long arg2 ;
16316 PyObject * obj0 = 0 ;
16317 PyObject * obj1 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self",(char *) "style", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16325 arg2 = (long) SWIG_AsLong(obj1);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 {
16328 PyThreadState* __tstate = wxPyBeginAllowThreads();
16329 (arg1)->SetStyle(arg2);
16330
16331 wxPyEndAllowThreads(__tstate);
16332 if (PyErr_Occurred()) SWIG_fail;
16333 }
16334 Py_INCREF(Py_None); resultobj = Py_None;
16335 return resultobj;
16336 fail:
16337 return NULL;
16338}
16339
16340
16341static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16342 PyObject *resultobj;
16343 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16344 long result;
16345 PyObject * obj0 = 0 ;
16346 char *kwnames[] = {
16347 (char *) "self", NULL
16348 };
16349
16350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16353 {
16354 PyThreadState* __tstate = wxPyBeginAllowThreads();
16355 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16356
16357 wxPyEndAllowThreads(__tstate);
16358 if (PyErr_Occurred()) SWIG_fail;
16359 }
16360 resultobj = SWIG_FromLong((long)result);
16361 return resultobj;
16362 fail:
16363 return NULL;
16364}
16365
16366
16367static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
16368 PyObject *obj;
16369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16370 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16371 Py_INCREF(obj);
16372 return Py_BuildValue((char *)"");
16373}
16374static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj;
16376 wxString const &arg1_defvalue = wxPyEmptyString ;
16377 wxString *arg1 = (wxString *) &arg1_defvalue ;
16378 wxString const &arg2_defvalue = wxPyEmptyString ;
16379 wxString *arg2 = (wxString *) &arg2_defvalue ;
16380 wxString const &arg3_defvalue = wxPyEmptyString ;
16381 wxString *arg3 = (wxString *) &arg3_defvalue ;
16382 wxString const &arg4_defvalue = wxPyEmptyString ;
16383 wxString *arg4 = (wxString *) &arg4_defvalue ;
16384 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16385 wxConfig *result;
16386 bool temp1 = False ;
16387 bool temp2 = False ;
16388 bool temp3 = False ;
16389 bool temp4 = False ;
16390 PyObject * obj0 = 0 ;
16391 PyObject * obj1 = 0 ;
16392 PyObject * obj2 = 0 ;
16393 PyObject * obj3 = 0 ;
16394 PyObject * obj4 = 0 ;
16395 char *kwnames[] = {
16396 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16397 };
16398
16399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16400 if (obj0) {
16401 {
16402 arg1 = wxString_in_helper(obj0);
16403 if (arg1 == NULL) SWIG_fail;
16404 temp1 = True;
16405 }
16406 }
16407 if (obj1) {
16408 {
16409 arg2 = wxString_in_helper(obj1);
16410 if (arg2 == NULL) SWIG_fail;
16411 temp2 = True;
16412 }
16413 }
16414 if (obj2) {
16415 {
16416 arg3 = wxString_in_helper(obj2);
16417 if (arg3 == NULL) SWIG_fail;
16418 temp3 = True;
16419 }
16420 }
16421 if (obj3) {
16422 {
16423 arg4 = wxString_in_helper(obj3);
16424 if (arg4 == NULL) SWIG_fail;
16425 temp4 = True;
16426 }
16427 }
16428 if (obj4) {
16429 arg5 = (long) SWIG_AsLong(obj4);
16430 if (PyErr_Occurred()) SWIG_fail;
16431 }
16432 {
16433 PyThreadState* __tstate = wxPyBeginAllowThreads();
16434 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16435
16436 wxPyEndAllowThreads(__tstate);
16437 if (PyErr_Occurred()) SWIG_fail;
16438 }
16439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16440 {
16441 if (temp1)
16442 delete arg1;
16443 }
16444 {
16445 if (temp2)
16446 delete arg2;
16447 }
16448 {
16449 if (temp3)
16450 delete arg3;
16451 }
16452 {
16453 if (temp4)
16454 delete arg4;
16455 }
16456 return resultobj;
16457 fail:
16458 {
16459 if (temp1)
16460 delete arg1;
16461 }
16462 {
16463 if (temp2)
16464 delete arg2;
16465 }
16466 {
16467 if (temp3)
16468 delete arg3;
16469 }
16470 {
16471 if (temp4)
16472 delete arg4;
16473 }
16474 return NULL;
16475}
16476
16477
16478static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16479 PyObject *resultobj;
16480 wxConfig *arg1 = (wxConfig *) 0 ;
16481 PyObject * obj0 = 0 ;
16482 char *kwnames[] = {
16483 (char *) "self", NULL
16484 };
16485
16486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16489 {
16490 PyThreadState* __tstate = wxPyBeginAllowThreads();
16491 delete arg1;
16492
16493 wxPyEndAllowThreads(__tstate);
16494 if (PyErr_Occurred()) SWIG_fail;
16495 }
16496 Py_INCREF(Py_None); resultobj = Py_None;
16497 return resultobj;
16498 fail:
16499 return NULL;
16500}
16501
16502
16503static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16504 PyObject *obj;
16505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16506 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16507 Py_INCREF(obj);
16508 return Py_BuildValue((char *)"");
16509}
16510static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16511 PyObject *resultobj;
16512 wxString const &arg1_defvalue = wxPyEmptyString ;
16513 wxString *arg1 = (wxString *) &arg1_defvalue ;
16514 wxString const &arg2_defvalue = wxPyEmptyString ;
16515 wxString *arg2 = (wxString *) &arg2_defvalue ;
16516 wxString const &arg3_defvalue = wxPyEmptyString ;
16517 wxString *arg3 = (wxString *) &arg3_defvalue ;
16518 wxString const &arg4_defvalue = wxPyEmptyString ;
16519 wxString *arg4 = (wxString *) &arg4_defvalue ;
16520 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16521 wxFileConfig *result;
16522 bool temp1 = False ;
16523 bool temp2 = False ;
16524 bool temp3 = False ;
16525 bool temp4 = False ;
16526 PyObject * obj0 = 0 ;
16527 PyObject * obj1 = 0 ;
16528 PyObject * obj2 = 0 ;
16529 PyObject * obj3 = 0 ;
16530 PyObject * obj4 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16536 if (obj0) {
16537 {
16538 arg1 = wxString_in_helper(obj0);
16539 if (arg1 == NULL) SWIG_fail;
16540 temp1 = True;
16541 }
16542 }
16543 if (obj1) {
16544 {
16545 arg2 = wxString_in_helper(obj1);
16546 if (arg2 == NULL) SWIG_fail;
16547 temp2 = True;
16548 }
16549 }
16550 if (obj2) {
16551 {
16552 arg3 = wxString_in_helper(obj2);
16553 if (arg3 == NULL) SWIG_fail;
16554 temp3 = True;
16555 }
16556 }
16557 if (obj3) {
16558 {
16559 arg4 = wxString_in_helper(obj3);
16560 if (arg4 == NULL) SWIG_fail;
16561 temp4 = True;
16562 }
16563 }
16564 if (obj4) {
16565 arg5 = (long) SWIG_AsLong(obj4);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 {
16569 PyThreadState* __tstate = wxPyBeginAllowThreads();
16570 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16571
16572 wxPyEndAllowThreads(__tstate);
16573 if (PyErr_Occurred()) SWIG_fail;
16574 }
16575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16576 {
16577 if (temp1)
16578 delete arg1;
16579 }
16580 {
16581 if (temp2)
16582 delete arg2;
16583 }
16584 {
16585 if (temp3)
16586 delete arg3;
16587 }
16588 {
16589 if (temp4)
16590 delete arg4;
16591 }
16592 return resultobj;
16593 fail:
16594 {
16595 if (temp1)
16596 delete arg1;
16597 }
16598 {
16599 if (temp2)
16600 delete arg2;
16601 }
16602 {
16603 if (temp3)
16604 delete arg3;
16605 }
16606 {
16607 if (temp4)
16608 delete arg4;
16609 }
16610 return NULL;
16611}
16612
16613
16614static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16617 PyObject * obj0 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 delete arg1;
16628
16629 wxPyEndAllowThreads(__tstate);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 Py_INCREF(Py_None); resultobj = Py_None;
16633 return resultobj;
16634 fail:
16635 return NULL;
16636}
16637
16638
16639static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16640 PyObject *obj;
16641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16642 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16643 Py_INCREF(obj);
16644 return Py_BuildValue((char *)"");
16645}
16646static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16647 PyObject *resultobj;
16648 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16649 wxString *arg2 = 0 ;
16650 wxConfigPathChanger *result;
16651 bool temp2 = False ;
16652 PyObject * obj0 = 0 ;
16653 PyObject * obj1 = 0 ;
16654 char *kwnames[] = {
16655 (char *) "config",(char *) "entry", NULL
16656 };
16657
16658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16661 {
16662 arg2 = wxString_in_helper(obj1);
16663 if (arg2 == NULL) SWIG_fail;
16664 temp2 = True;
16665 }
16666 {
16667 PyThreadState* __tstate = wxPyBeginAllowThreads();
16668 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16669
16670 wxPyEndAllowThreads(__tstate);
16671 if (PyErr_Occurred()) SWIG_fail;
16672 }
16673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16674 {
16675 if (temp2)
16676 delete arg2;
16677 }
16678 return resultobj;
16679 fail:
16680 {
16681 if (temp2)
16682 delete arg2;
16683 }
16684 return NULL;
16685}
16686
16687
16688static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj;
16690 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16691 PyObject * obj0 = 0 ;
16692 char *kwnames[] = {
16693 (char *) "self", NULL
16694 };
16695
16696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 delete arg1;
16702
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
16706 Py_INCREF(Py_None); resultobj = Py_None;
16707 return resultobj;
16708 fail:
16709 return NULL;
16710}
16711
16712
16713static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
16714 PyObject *resultobj;
16715 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16716 wxString *result;
16717 PyObject * obj0 = 0 ;
16718 char *kwnames[] = {
16719 (char *) "self", NULL
16720 };
16721
16722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16725 {
16726 PyThreadState* __tstate = wxPyBeginAllowThreads();
16727 {
16728 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16729 result = (wxString *) &_result_ref;
16730 }
16731
16732 wxPyEndAllowThreads(__tstate);
16733 if (PyErr_Occurred()) SWIG_fail;
16734 }
16735 {
16736#if wxUSE_UNICODE
16737 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16738#else
16739 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16740#endif
16741 }
16742 return resultobj;
16743 fail:
16744 return NULL;
16745}
16746
16747
16748static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
16749 PyObject *obj;
16750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16751 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16752 Py_INCREF(obj);
16753 return Py_BuildValue((char *)"");
16754}
16755static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16756 PyObject *resultobj;
16757 wxString *arg1 = 0 ;
16758 wxString result;
16759 bool temp1 = False ;
16760 PyObject * obj0 = 0 ;
16761 char *kwnames[] = {
16762 (char *) "sz", NULL
16763 };
16764
16765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16766 {
16767 arg1 = wxString_in_helper(obj0);
16768 if (arg1 == NULL) SWIG_fail;
16769 temp1 = True;
16770 }
16771 {
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
16773 result = wxExpandEnvVars((wxString const &)*arg1);
16774
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 {
16779#if wxUSE_UNICODE
16780 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16781#else
16782 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16783#endif
16784 }
16785 {
16786 if (temp1)
16787 delete arg1;
16788 }
16789 return resultobj;
16790 fail:
16791 {
16792 if (temp1)
16793 delete arg1;
16794 }
16795 return NULL;
16796}
16797
16798
16799static int _wrap_DateFormatStr_set(PyObject *_val) {
16800 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16801 return 1;
16802}
16803
16804
16805static PyObject *_wrap_DateFormatStr_get() {
16806 PyObject *pyobj;
16807
16808 {
16809#if wxUSE_UNICODE
16810 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16811#else
16812 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16813#endif
16814 }
16815 return pyobj;
16816}
16817
16818
16819static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16820 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16821 return 1;
16822}
16823
16824
16825static PyObject *_wrap_TimeSpanFormatStr_get() {
16826 PyObject *pyobj;
16827
16828 {
16829#if wxUSE_UNICODE
16830 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16831#else
16832 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16833#endif
16834 }
16835 return pyobj;
16836}
16837
16838
16839static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16840 PyObject *resultobj;
16841 int arg1 ;
16842 PyObject * obj0 = 0 ;
16843 char *kwnames[] = {
16844 (char *) "country", NULL
16845 };
16846
16847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16848 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 {
16851 PyThreadState* __tstate = wxPyBeginAllowThreads();
16852 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16853
16854 wxPyEndAllowThreads(__tstate);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 }
16857 Py_INCREF(Py_None); resultobj = Py_None;
16858 return resultobj;
16859 fail:
16860 return NULL;
16861}
16862
16863
16864static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16865 PyObject *resultobj;
16866 int result;
16867 char *kwnames[] = {
16868 NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16872 {
16873 PyThreadState* __tstate = wxPyBeginAllowThreads();
16874 result = (int)wxDateTime::GetCountry();
16875
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 resultobj = SWIG_FromInt((int)result);
16880 return resultobj;
16881 fail:
16882 return NULL;
16883}
16884
16885
16886static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16887 PyObject *resultobj;
16888 int arg1 = (int) wxDateTime::Country_Default ;
16889 bool result;
16890 PyObject * obj0 = 0 ;
16891 char *kwnames[] = {
16892 (char *) "country", NULL
16893 };
16894
16895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16896 if (obj0) {
16897 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 }
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
16902 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16903
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
16907 {
16908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16909 }
16910 return resultobj;
16911 fail:
16912 return NULL;
16913}
16914
16915
16916static PyObject *_wrap_DateTime_GetCurrentYear(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_GetCurrentYear",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::GetCurrentYear((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_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj;
16946 int arg1 ;
16947 int result;
16948 PyObject * obj0 = 0 ;
16949 char *kwnames[] = {
16950 (char *) "year", NULL
16951 };
16952
16953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16954 arg1 = (int) SWIG_AsInt(obj0);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 {
16957 PyThreadState* __tstate = wxPyBeginAllowThreads();
16958 result = (int)wxDateTime::ConvertYearToBC(arg1);
16959
16960 wxPyEndAllowThreads(__tstate);
16961 if (PyErr_Occurred()) SWIG_fail;
16962 }
16963 resultobj = SWIG_FromInt((int)result);
16964 return resultobj;
16965 fail:
16966 return NULL;
16967}
16968
16969
16970static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16971 PyObject *resultobj;
16972 int arg1 = (int) wxDateTime::Gregorian ;
16973 int result;
16974 PyObject * obj0 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "cal", NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16980 if (obj0) {
16981 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16982 if (PyErr_Occurred()) SWIG_fail;
16983 }
16984 {
16985 PyThreadState* __tstate = wxPyBeginAllowThreads();
16986 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16987
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 resultobj = SWIG_FromInt((int)result);
16992 return resultobj;
16993 fail:
16994 return NULL;
16995}
16996
16997
16998static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16999 PyObject *resultobj;
17000 int arg1 = (int) wxDateTime::Inv_Year ;
17001 int arg2 = (int) wxDateTime::Gregorian ;
17002 bool result;
17003 PyObject * obj0 = 0 ;
17004 PyObject * obj1 = 0 ;
17005 char *kwnames[] = {
17006 (char *) "year",(char *) "cal", NULL
17007 };
17008
17009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
17010 if (obj0) {
17011 arg1 = (int) SWIG_AsInt(obj0);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 if (obj1) {
17015 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
17021
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 {
17026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17027 }
17028 return resultobj;
17029 fail:
17030 return NULL;
17031}
17032
17033
17034static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
17035 PyObject *resultobj;
17036 int arg1 = (int) wxDateTime::Inv_Year ;
17037 int result;
17038 PyObject * obj0 = 0 ;
17039 char *kwnames[] = {
17040 (char *) "year", NULL
17041 };
17042
17043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
17044 if (obj0) {
17045 arg1 = (int) SWIG_AsInt(obj0);
17046 if (PyErr_Occurred()) SWIG_fail;
17047 }
17048 {
17049 PyThreadState* __tstate = wxPyBeginAllowThreads();
17050 result = (int)wxDateTime::GetCentury(arg1);
17051
17052 wxPyEndAllowThreads(__tstate);
17053 if (PyErr_Occurred()) SWIG_fail;
17054 }
17055 resultobj = SWIG_FromInt((int)result);
17056 return resultobj;
17057 fail:
17058 return NULL;
17059}
17060
17061
17062static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 int arg1 ;
17065 int arg2 = (int) wxDateTime::Gregorian ;
17066 int result;
17067 PyObject * obj0 = 0 ;
17068 PyObject * obj1 = 0 ;
17069 char *kwnames[] = {
17070 (char *) "year",(char *) "cal", NULL
17071 };
17072
17073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
17074 arg1 = (int) SWIG_AsInt(obj0);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 if (obj1) {
17077 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
17078 if (PyErr_Occurred()) SWIG_fail;
17079 }
17080 {
17081 PyThreadState* __tstate = wxPyBeginAllowThreads();
17082 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
17083
17084 wxPyEndAllowThreads(__tstate);
17085 if (PyErr_Occurred()) SWIG_fail;
17086 }
17087 resultobj = SWIG_FromInt((int)result);
17088 return resultobj;
17089 fail:
17090 return NULL;
17091}
17092
17093
17094static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17095 PyObject *resultobj;
17096 int arg1 ;
17097 int arg2 = (int) wxDateTime::Inv_Year ;
17098 int arg3 = (int) wxDateTime::Gregorian ;
17099 int result;
17100 PyObject * obj0 = 0 ;
17101 PyObject * obj1 = 0 ;
17102 PyObject * obj2 = 0 ;
17103 char *kwnames[] = {
17104 (char *) "month",(char *) "year",(char *) "cal", NULL
17105 };
17106
17107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
17108 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 if (obj1) {
17111 arg2 = (int) SWIG_AsInt(obj1);
17112 if (PyErr_Occurred()) SWIG_fail;
17113 }
17114 if (obj2) {
17115 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
17116 if (PyErr_Occurred()) SWIG_fail;
17117 }
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 resultobj = SWIG_FromInt((int)result);
17126 return resultobj;
17127 fail:
17128 return NULL;
17129}
17130
17131
17132static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 int arg1 ;
17135 int arg2 = (int) wxDateTime::Name_Full ;
17136 wxString result;
17137 PyObject * obj0 = 0 ;
17138 PyObject * obj1 = 0 ;
17139 char *kwnames[] = {
17140 (char *) "month",(char *) "flags", NULL
17141 };
17142
17143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
17144 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 if (obj1) {
17147 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17148 if (PyErr_Occurred()) SWIG_fail;
17149 }
17150 {
17151 PyThreadState* __tstate = wxPyBeginAllowThreads();
17152 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
17153
17154 wxPyEndAllowThreads(__tstate);
17155 if (PyErr_Occurred()) SWIG_fail;
17156 }
17157 {
17158#if wxUSE_UNICODE
17159 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17160#else
17161 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17162#endif
17163 }
17164 return resultobj;
17165 fail:
17166 return NULL;
17167}
17168
17169
17170static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
17171 PyObject *resultobj;
17172 int arg1 ;
17173 int arg2 = (int) wxDateTime::Name_Full ;
17174 wxString result;
17175 PyObject * obj0 = 0 ;
17176 PyObject * obj1 = 0 ;
17177 char *kwnames[] = {
17178 (char *) "weekday",(char *) "flags", NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
17182 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
17183 if (PyErr_Occurred()) SWIG_fail;
17184 if (obj1) {
17185 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17186 if (PyErr_Occurred()) SWIG_fail;
17187 }
17188 {
17189 PyThreadState* __tstate = wxPyBeginAllowThreads();
17190 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17191
17192 wxPyEndAllowThreads(__tstate);
17193 if (PyErr_Occurred()) SWIG_fail;
17194 }
17195 {
17196#if wxUSE_UNICODE
17197 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17198#else
17199 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17200#endif
17201 }
17202 return resultobj;
17203 fail:
17204 return NULL;
17205}
17206
17207
17208static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
17209 PyObject *resultobj;
17210 wxString *arg1 = (wxString *) 0 ;
17211 wxString *arg2 = (wxString *) 0 ;
17212 bool temp1 = False ;
17213 bool temp2 = False ;
17214 PyObject * obj0 = 0 ;
17215 PyObject * obj1 = 0 ;
17216 char *kwnames[] = {
17217 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17218 };
17219
17220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17221 {
17222 arg1 = wxString_in_helper(obj0);
17223 if (arg1 == NULL) SWIG_fail;
17224 temp1 = True;
17225 }
17226 {
17227 arg2 = wxString_in_helper(obj1);
17228 if (arg2 == NULL) SWIG_fail;
17229 temp2 = True;
17230 }
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 wxDateTime::GetAmPmStrings(arg1,arg2);
17234
17235 wxPyEndAllowThreads(__tstate);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 }
17238 Py_INCREF(Py_None); resultobj = Py_None;
17239 {
17240 if (temp1)
17241 delete arg1;
17242 }
17243 {
17244 if (temp2)
17245 delete arg2;
17246 }
17247 return resultobj;
17248 fail:
17249 {
17250 if (temp1)
17251 delete arg1;
17252 }
17253 {
17254 if (temp2)
17255 delete arg2;
17256 }
17257 return NULL;
17258}
17259
17260
17261static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
17262 PyObject *resultobj;
17263 int arg1 = (int) wxDateTime::Inv_Year ;
17264 int arg2 = (int) wxDateTime::Country_Default ;
17265 bool result;
17266 PyObject * obj0 = 0 ;
17267 PyObject * obj1 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "year",(char *) "country", NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17273 if (obj0) {
17274 arg1 = (int) SWIG_AsInt(obj0);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 if (obj1) {
17278 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 {
17289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17290 }
17291 return resultobj;
17292 fail:
17293 return NULL;
17294}
17295
17296
17297static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 int arg1 = (int) wxDateTime::Inv_Year ;
17300 int arg2 = (int) wxDateTime::Country_Default ;
17301 wxDateTime result;
17302 PyObject * obj0 = 0 ;
17303 PyObject * obj1 = 0 ;
17304 char *kwnames[] = {
17305 (char *) "year",(char *) "country", NULL
17306 };
17307
17308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17309 if (obj0) {
17310 arg1 = (int) SWIG_AsInt(obj0);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 }
17313 if (obj1) {
17314 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 }
17317 {
17318 PyThreadState* __tstate = wxPyBeginAllowThreads();
17319 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17320
17321 wxPyEndAllowThreads(__tstate);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 {
17325 wxDateTime * resultptr;
17326 resultptr = new wxDateTime((wxDateTime &) result);
17327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17328 }
17329 return resultobj;
17330 fail:
17331 return NULL;
17332}
17333
17334
17335static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17336 PyObject *resultobj;
17337 int arg1 = (int) wxDateTime::Inv_Year ;
17338 int arg2 = (int) wxDateTime::Country_Default ;
17339 wxDateTime result;
17340 PyObject * obj0 = 0 ;
17341 PyObject * obj1 = 0 ;
17342 char *kwnames[] = {
17343 (char *) "year",(char *) "country", NULL
17344 };
17345
17346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17347 if (obj0) {
17348 arg1 = (int) SWIG_AsInt(obj0);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 }
17351 if (obj1) {
17352 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 }
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17358
17359 wxPyEndAllowThreads(__tstate);
17360 if (PyErr_Occurred()) SWIG_fail;
17361 }
17362 {
17363 wxDateTime * resultptr;
17364 resultptr = new wxDateTime((wxDateTime &) result);
17365 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17366 }
17367 return resultobj;
17368 fail:
17369 return NULL;
17370}
17371
17372
17373static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
17374 PyObject *resultobj;
17375 wxDateTime result;
17376 char *kwnames[] = {
17377 NULL
17378 };
17379
17380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17381 {
17382 PyThreadState* __tstate = wxPyBeginAllowThreads();
17383 result = wxDateTime::Now();
17384
17385 wxPyEndAllowThreads(__tstate);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 {
17389 wxDateTime * resultptr;
17390 resultptr = new wxDateTime((wxDateTime &) result);
17391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17392 }
17393 return resultobj;
17394 fail:
17395 return NULL;
17396}
17397
17398
17399static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
17400 PyObject *resultobj;
17401 wxDateTime result;
17402 char *kwnames[] = {
17403 NULL
17404 };
17405
17406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17407 {
17408 PyThreadState* __tstate = wxPyBeginAllowThreads();
17409 result = wxDateTime::UNow();
17410
17411 wxPyEndAllowThreads(__tstate);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 }
17414 {
17415 wxDateTime * resultptr;
17416 resultptr = new wxDateTime((wxDateTime &) result);
17417 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17418 }
17419 return resultobj;
17420 fail:
17421 return NULL;
17422}
17423
17424
17425static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
17426 PyObject *resultobj;
17427 wxDateTime result;
17428 char *kwnames[] = {
17429 NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 result = wxDateTime::Today();
17436
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 {
17441 wxDateTime * resultptr;
17442 resultptr = new wxDateTime((wxDateTime &) result);
17443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17444 }
17445 return resultobj;
17446 fail:
17447 return NULL;
17448}
17449
17450
17451static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17452 PyObject *resultobj;
17453 wxDateTime *result;
17454 char *kwnames[] = {
17455 NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17459 {
17460 PyThreadState* __tstate = wxPyBeginAllowThreads();
17461 result = (wxDateTime *)new wxDateTime();
17462
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17467 return resultobj;
17468 fail:
17469 return NULL;
17470}
17471
17472
17473static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17474 PyObject *resultobj;
17475 time_t arg1 ;
17476 wxDateTime *result;
17477 PyObject * obj0 = 0 ;
17478 char *kwnames[] = {
17479 (char *) "timet", NULL
17480 };
17481
17482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17483 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17484 if (PyErr_Occurred()) SWIG_fail;
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = (wxDateTime *)new wxDateTime(arg1);
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17493 return resultobj;
17494 fail:
17495 return NULL;
17496}
17497
17498
17499static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 double arg1 ;
17502 wxDateTime *result;
17503 PyObject * obj0 = 0 ;
17504 char *kwnames[] = {
17505 (char *) "jdn", NULL
17506 };
17507
17508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17509 arg1 = (double) SWIG_AsDouble(obj0);
17510 if (PyErr_Occurred()) SWIG_fail;
17511 {
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 result = (wxDateTime *)new wxDateTime(arg1);
17514
17515 wxPyEndAllowThreads(__tstate);
17516 if (PyErr_Occurred()) SWIG_fail;
17517 }
17518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17519 return resultobj;
17520 fail:
17521 return NULL;
17522}
17523
17524
17525static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17526 PyObject *resultobj;
17527 int arg1 ;
17528 int arg2 = (int) 0 ;
17529 int arg3 = (int) 0 ;
17530 int arg4 = (int) 0 ;
17531 wxDateTime *result;
17532 PyObject * obj0 = 0 ;
17533 PyObject * obj1 = 0 ;
17534 PyObject * obj2 = 0 ;
17535 PyObject * obj3 = 0 ;
17536 char *kwnames[] = {
17537 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17538 };
17539
17540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17541 arg1 = (int) SWIG_AsInt(obj0);
17542 if (PyErr_Occurred()) SWIG_fail;
17543 if (obj1) {
17544 arg2 = (int) SWIG_AsInt(obj1);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 }
17547 if (obj2) {
17548 arg3 = (int) SWIG_AsInt(obj2);
17549 if (PyErr_Occurred()) SWIG_fail;
17550 }
17551 if (obj3) {
17552 arg4 = (int) SWIG_AsInt(obj3);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17563 return resultobj;
17564 fail:
17565 return NULL;
17566}
17567
17568
17569static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17570 PyObject *resultobj;
17571 int arg1 ;
17572 int arg2 = (int) wxDateTime::Inv_Month ;
17573 int arg3 = (int) wxDateTime::Inv_Year ;
17574 int arg4 = (int) 0 ;
17575 int arg5 = (int) 0 ;
17576 int arg6 = (int) 0 ;
17577 int arg7 = (int) 0 ;
17578 wxDateTime *result;
17579 PyObject * obj0 = 0 ;
17580 PyObject * obj1 = 0 ;
17581 PyObject * obj2 = 0 ;
17582 PyObject * obj3 = 0 ;
17583 PyObject * obj4 = 0 ;
17584 PyObject * obj5 = 0 ;
17585 PyObject * obj6 = 0 ;
17586 char *kwnames[] = {
17587 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17591 arg1 = (int) SWIG_AsInt(obj0);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 if (obj1) {
17594 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17595 if (PyErr_Occurred()) SWIG_fail;
17596 }
17597 if (obj2) {
17598 arg3 = (int) SWIG_AsInt(obj2);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 if (obj3) {
17602 arg4 = (int) SWIG_AsInt(obj3);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 if (obj4) {
17606 arg5 = (int) SWIG_AsInt(obj4);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 if (obj5) {
17610 arg6 = (int) SWIG_AsInt(obj5);
17611 if (PyErr_Occurred()) SWIG_fail;
17612 }
17613 if (obj6) {
17614 arg7 = (int) SWIG_AsInt(obj6);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 {
17618 PyThreadState* __tstate = wxPyBeginAllowThreads();
17619 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17620
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17625 return resultobj;
17626 fail:
17627 return NULL;
17628}
17629
17630
17631static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17632 PyObject *resultobj;
17633 wxDateTime *arg1 = (wxDateTime *) 0 ;
17634 PyObject * obj0 = 0 ;
17635 char *kwnames[] = {
17636 (char *) "self", NULL
17637 };
17638
17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17642 {
17643 PyThreadState* __tstate = wxPyBeginAllowThreads();
17644 delete arg1;
17645
17646 wxPyEndAllowThreads(__tstate);
17647 if (PyErr_Occurred()) SWIG_fail;
17648 }
17649 Py_INCREF(Py_None); resultobj = Py_None;
17650 return resultobj;
17651 fail:
17652 return NULL;
17653}
17654
17655
17656static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17657 PyObject *resultobj;
17658 wxDateTime *arg1 = (wxDateTime *) 0 ;
17659 wxDateTime *result;
17660 PyObject * obj0 = 0 ;
17661 char *kwnames[] = {
17662 (char *) "self", NULL
17663 };
17664
17665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 {
17671 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17672 result = (wxDateTime *) &_result_ref;
17673 }
17674
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17679 return resultobj;
17680 fail:
17681 return NULL;
17682}
17683
17684
17685static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17686 PyObject *resultobj;
17687 wxDateTime *arg1 = (wxDateTime *) 0 ;
17688 time_t arg2 ;
17689 wxDateTime *result;
17690 PyObject * obj0 = 0 ;
17691 PyObject * obj1 = 0 ;
17692 char *kwnames[] = {
17693 (char *) "self",(char *) "timet", NULL
17694 };
17695
17696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17699 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 {
17704 wxDateTime &_result_ref = (arg1)->Set(arg2);
17705 result = (wxDateTime *) &_result_ref;
17706 }
17707
17708 wxPyEndAllowThreads(__tstate);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 }
17711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17712 return resultobj;
17713 fail:
17714 return NULL;
17715}
17716
17717
17718static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17719 PyObject *resultobj;
17720 wxDateTime *arg1 = (wxDateTime *) 0 ;
17721 double arg2 ;
17722 wxDateTime *result;
17723 PyObject * obj0 = 0 ;
17724 PyObject * obj1 = 0 ;
17725 char *kwnames[] = {
17726 (char *) "self",(char *) "jdn", NULL
17727 };
17728
17729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17732 arg2 = (double) SWIG_AsDouble(obj1);
17733 if (PyErr_Occurred()) SWIG_fail;
17734 {
17735 PyThreadState* __tstate = wxPyBeginAllowThreads();
17736 {
17737 wxDateTime &_result_ref = (arg1)->Set(arg2);
17738 result = (wxDateTime *) &_result_ref;
17739 }
17740
17741 wxPyEndAllowThreads(__tstate);
17742 if (PyErr_Occurred()) SWIG_fail;
17743 }
17744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17745 return resultobj;
17746 fail:
17747 return NULL;
17748}
17749
17750
17751static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17752 PyObject *resultobj;
17753 wxDateTime *arg1 = (wxDateTime *) 0 ;
17754 int arg2 ;
17755 int arg3 = (int) 0 ;
17756 int arg4 = (int) 0 ;
17757 int arg5 = (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 char *kwnames[] = {
17765 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17771 arg2 = (int) SWIG_AsInt(obj1);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 if (obj2) {
17774 arg3 = (int) SWIG_AsInt(obj2);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 if (obj3) {
17778 arg4 = (int) SWIG_AsInt(obj3);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
17781 if (obj4) {
17782 arg5 = (int) SWIG_AsInt(obj4);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
17785 {
17786 PyThreadState* __tstate = wxPyBeginAllowThreads();
17787 {
17788 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17789 result = (wxDateTime *) &_result_ref;
17790 }
17791
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17796 return resultobj;
17797 fail:
17798 return NULL;
17799}
17800
17801
17802static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17803 PyObject *resultobj;
17804 wxDateTime *arg1 = (wxDateTime *) 0 ;
17805 int arg2 ;
17806 int arg3 = (int) wxDateTime::Inv_Month ;
17807 int arg4 = (int) wxDateTime::Inv_Year ;
17808 int arg5 = (int) 0 ;
17809 int arg6 = (int) 0 ;
17810 int arg7 = (int) 0 ;
17811 int arg8 = (int) 0 ;
17812 wxDateTime *result;
17813 PyObject * obj0 = 0 ;
17814 PyObject * obj1 = 0 ;
17815 PyObject * obj2 = 0 ;
17816 PyObject * obj3 = 0 ;
17817 PyObject * obj4 = 0 ;
17818 PyObject * obj5 = 0 ;
17819 PyObject * obj6 = 0 ;
17820 PyObject * obj7 = 0 ;
17821 char *kwnames[] = {
17822 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17828 arg2 = (int) SWIG_AsInt(obj1);
17829 if (PyErr_Occurred()) SWIG_fail;
17830 if (obj2) {
17831 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17832 if (PyErr_Occurred()) SWIG_fail;
17833 }
17834 if (obj3) {
17835 arg4 = (int) SWIG_AsInt(obj3);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 if (obj4) {
17839 arg5 = (int) SWIG_AsInt(obj4);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 if (obj5) {
17843 arg6 = (int) SWIG_AsInt(obj5);
17844 if (PyErr_Occurred()) SWIG_fail;
17845 }
17846 if (obj6) {
17847 arg7 = (int) SWIG_AsInt(obj6);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 if (obj7) {
17851 arg8 = (int) SWIG_AsInt(obj7);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 {
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 {
17857 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17858 result = (wxDateTime *) &_result_ref;
17859 }
17860
17861 wxPyEndAllowThreads(__tstate);
17862 if (PyErr_Occurred()) SWIG_fail;
17863 }
17864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17865 return resultobj;
17866 fail:
17867 return NULL;
17868}
17869
17870
17871static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17872 PyObject *resultobj;
17873 wxDateTime *arg1 = (wxDateTime *) 0 ;
17874 wxDateTime *result;
17875 PyObject * obj0 = 0 ;
17876 char *kwnames[] = {
17877 (char *) "self", NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17883 {
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 {
17886 wxDateTime &_result_ref = (arg1)->ResetTime();
17887 result = (wxDateTime *) &_result_ref;
17888 }
17889
17890 wxPyEndAllowThreads(__tstate);
17891 if (PyErr_Occurred()) SWIG_fail;
17892 }
17893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17894 return resultobj;
17895 fail:
17896 return NULL;
17897}
17898
17899
17900static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17901 PyObject *resultobj;
17902 wxDateTime *arg1 = (wxDateTime *) 0 ;
17903 int arg2 ;
17904 wxDateTime *result;
17905 PyObject * obj0 = 0 ;
17906 PyObject * obj1 = 0 ;
17907 char *kwnames[] = {
17908 (char *) "self",(char *) "year", NULL
17909 };
17910
17911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17914 arg2 = (int) SWIG_AsInt(obj1);
17915 if (PyErr_Occurred()) SWIG_fail;
17916 {
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 {
17919 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17920 result = (wxDateTime *) &_result_ref;
17921 }
17922
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17927 return resultobj;
17928 fail:
17929 return NULL;
17930}
17931
17932
17933static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17934 PyObject *resultobj;
17935 wxDateTime *arg1 = (wxDateTime *) 0 ;
17936 int arg2 ;
17937 wxDateTime *result;
17938 PyObject * obj0 = 0 ;
17939 PyObject * obj1 = 0 ;
17940 char *kwnames[] = {
17941 (char *) "self",(char *) "month", NULL
17942 };
17943
17944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17947 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17948 if (PyErr_Occurred()) SWIG_fail;
17949 {
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 {
17952 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17953 result = (wxDateTime *) &_result_ref;
17954 }
17955
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17960 return resultobj;
17961 fail:
17962 return NULL;
17963}
17964
17965
17966static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17967 PyObject *resultobj;
17968 wxDateTime *arg1 = (wxDateTime *) 0 ;
17969 int arg2 ;
17970 wxDateTime *result;
17971 PyObject * obj0 = 0 ;
17972 PyObject * obj1 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self",(char *) "day", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17980 arg2 = (int) SWIG_AsInt(obj1);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 {
17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
17984 {
17985 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17986 result = (wxDateTime *) &_result_ref;
17987 }
17988
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17993 return resultobj;
17994 fail:
17995 return NULL;
17996}
17997
17998
17999static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
18000 PyObject *resultobj;
18001 wxDateTime *arg1 = (wxDateTime *) 0 ;
18002 int arg2 ;
18003 wxDateTime *result;
18004 PyObject * obj0 = 0 ;
18005 PyObject * obj1 = 0 ;
18006 char *kwnames[] = {
18007 (char *) "self",(char *) "hour", NULL
18008 };
18009
18010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
18011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18013 arg2 = (int) SWIG_AsInt(obj1);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 {
18018 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
18019 result = (wxDateTime *) &_result_ref;
18020 }
18021
18022 wxPyEndAllowThreads(__tstate);
18023 if (PyErr_Occurred()) SWIG_fail;
18024 }
18025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18026 return resultobj;
18027 fail:
18028 return NULL;
18029}
18030
18031
18032static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
18033 PyObject *resultobj;
18034 wxDateTime *arg1 = (wxDateTime *) 0 ;
18035 int arg2 ;
18036 wxDateTime *result;
18037 PyObject * obj0 = 0 ;
18038 PyObject * obj1 = 0 ;
18039 char *kwnames[] = {
18040 (char *) "self",(char *) "minute", NULL
18041 };
18042
18043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
18044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18046 arg2 = (int) SWIG_AsInt(obj1);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 {
18051 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
18052 result = (wxDateTime *) &_result_ref;
18053 }
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18059 return resultobj;
18060 fail:
18061 return NULL;
18062}
18063
18064
18065static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxDateTime *arg1 = (wxDateTime *) 0 ;
18068 int arg2 ;
18069 wxDateTime *result;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072 char *kwnames[] = {
18073 (char *) "self",(char *) "second", NULL
18074 };
18075
18076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
18077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18079 arg2 = (int) SWIG_AsInt(obj1);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 {
18082 PyThreadState* __tstate = wxPyBeginAllowThreads();
18083 {
18084 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
18085 result = (wxDateTime *) &_result_ref;
18086 }
18087
18088 wxPyEndAllowThreads(__tstate);
18089 if (PyErr_Occurred()) SWIG_fail;
18090 }
18091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18092 return resultobj;
18093 fail:
18094 return NULL;
18095}
18096
18097
18098static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18099 PyObject *resultobj;
18100 wxDateTime *arg1 = (wxDateTime *) 0 ;
18101 int arg2 ;
18102 wxDateTime *result;
18103 PyObject * obj0 = 0 ;
18104 PyObject * obj1 = 0 ;
18105 char *kwnames[] = {
18106 (char *) "self",(char *) "millisecond", NULL
18107 };
18108
18109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
18110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18112 arg2 = (int) SWIG_AsInt(obj1);
18113 if (PyErr_Occurred()) SWIG_fail;
18114 {
18115 PyThreadState* __tstate = wxPyBeginAllowThreads();
18116 {
18117 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
18118 result = (wxDateTime *) &_result_ref;
18119 }
18120
18121 wxPyEndAllowThreads(__tstate);
18122 if (PyErr_Occurred()) SWIG_fail;
18123 }
18124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18125 return resultobj;
18126 fail:
18127 return NULL;
18128}
18129
18130
18131static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18132 PyObject *resultobj;
18133 wxDateTime *arg1 = (wxDateTime *) 0 ;
18134 int arg2 ;
18135 int arg3 = (int) wxDateTime::Monday_First ;
18136 wxDateTime *result;
18137 PyObject * obj0 = 0 ;
18138 PyObject * obj1 = 0 ;
18139 PyObject * obj2 = 0 ;
18140 char *kwnames[] = {
18141 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18142 };
18143
18144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18147 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18148 if (PyErr_Occurred()) SWIG_fail;
18149 if (obj2) {
18150 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 {
18154 PyThreadState* __tstate = wxPyBeginAllowThreads();
18155 {
18156 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18157 result = (wxDateTime *) &_result_ref;
18158 }
18159
18160 wxPyEndAllowThreads(__tstate);
18161 if (PyErr_Occurred()) SWIG_fail;
18162 }
18163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18164 return resultobj;
18165 fail:
18166 return NULL;
18167}
18168
18169
18170static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18171 PyObject *resultobj;
18172 wxDateTime *arg1 = (wxDateTime *) 0 ;
18173 int arg2 ;
18174 int arg3 = (int) wxDateTime::Monday_First ;
18175 wxDateTime result;
18176 PyObject * obj0 = 0 ;
18177 PyObject * obj1 = 0 ;
18178 PyObject * obj2 = 0 ;
18179 char *kwnames[] = {
18180 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18181 };
18182
18183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18186 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 if (obj2) {
18189 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 {
18193 PyThreadState* __tstate = wxPyBeginAllowThreads();
18194 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18195
18196 wxPyEndAllowThreads(__tstate);
18197 if (PyErr_Occurred()) SWIG_fail;
18198 }
18199 {
18200 wxDateTime * resultptr;
18201 resultptr = new wxDateTime((wxDateTime &) result);
18202 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18203 }
18204 return resultobj;
18205 fail:
18206 return NULL;
18207}
18208
18209
18210static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18211 PyObject *resultobj;
18212 wxDateTime *arg1 = (wxDateTime *) 0 ;
18213 int arg2 ;
18214 wxDateTime *result;
18215 PyObject * obj0 = 0 ;
18216 PyObject * obj1 = 0 ;
18217 char *kwnames[] = {
18218 (char *) "self",(char *) "weekday", NULL
18219 };
18220
18221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18224 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18225 if (PyErr_Occurred()) SWIG_fail;
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 {
18229 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18230 result = (wxDateTime *) &_result_ref;
18231 }
18232
18233 wxPyEndAllowThreads(__tstate);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 }
18236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18237 return resultobj;
18238 fail:
18239 return NULL;
18240}
18241
18242
18243static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18244 PyObject *resultobj;
18245 wxDateTime *arg1 = (wxDateTime *) 0 ;
18246 int arg2 ;
18247 wxDateTime result;
18248 PyObject * obj0 = 0 ;
18249 PyObject * obj1 = 0 ;
18250 char *kwnames[] = {
18251 (char *) "self",(char *) "weekday", NULL
18252 };
18253
18254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18257 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 {
18267 wxDateTime * resultptr;
18268 resultptr = new wxDateTime((wxDateTime &) result);
18269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18270 }
18271 return resultobj;
18272 fail:
18273 return NULL;
18274}
18275
18276
18277static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18278 PyObject *resultobj;
18279 wxDateTime *arg1 = (wxDateTime *) 0 ;
18280 int arg2 ;
18281 wxDateTime *result;
18282 PyObject * obj0 = 0 ;
18283 PyObject * obj1 = 0 ;
18284 char *kwnames[] = {
18285 (char *) "self",(char *) "weekday", NULL
18286 };
18287
18288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18291 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18292 if (PyErr_Occurred()) SWIG_fail;
18293 {
18294 PyThreadState* __tstate = wxPyBeginAllowThreads();
18295 {
18296 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18297 result = (wxDateTime *) &_result_ref;
18298 }
18299
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18304 return resultobj;
18305 fail:
18306 return NULL;
18307}
18308
18309
18310static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18311 PyObject *resultobj;
18312 wxDateTime *arg1 = (wxDateTime *) 0 ;
18313 int arg2 ;
18314 wxDateTime result;
18315 PyObject * obj0 = 0 ;
18316 PyObject * obj1 = 0 ;
18317 char *kwnames[] = {
18318 (char *) "self",(char *) "weekday", NULL
18319 };
18320
18321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18324 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18325 if (PyErr_Occurred()) SWIG_fail;
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 {
18334 wxDateTime * resultptr;
18335 resultptr = new wxDateTime((wxDateTime &) result);
18336 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18337 }
18338 return resultobj;
18339 fail:
18340 return NULL;
18341}
18342
18343
18344static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18345 PyObject *resultobj;
18346 wxDateTime *arg1 = (wxDateTime *) 0 ;
18347 int arg2 ;
18348 int arg3 = (int) 1 ;
18349 int arg4 = (int) wxDateTime::Inv_Month ;
18350 int arg5 = (int) wxDateTime::Inv_Year ;
18351 bool result;
18352 PyObject * obj0 = 0 ;
18353 PyObject * obj1 = 0 ;
18354 PyObject * obj2 = 0 ;
18355 PyObject * obj3 = 0 ;
18356 PyObject * obj4 = 0 ;
18357 char *kwnames[] = {
18358 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18359 };
18360
18361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18364 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 if (obj2) {
18367 arg3 = (int) SWIG_AsInt(obj2);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 if (obj3) {
18371 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 }
18374 if (obj4) {
18375 arg5 = (int) SWIG_AsInt(obj4);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18381
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 {
18386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18387 }
18388 return resultobj;
18389 fail:
18390 return NULL;
18391}
18392
18393
18394static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18395 PyObject *resultobj;
18396 wxDateTime *arg1 = (wxDateTime *) 0 ;
18397 int arg2 ;
18398 int arg3 = (int) wxDateTime::Inv_Month ;
18399 int arg4 = (int) wxDateTime::Inv_Year ;
18400 bool result;
18401 PyObject * obj0 = 0 ;
18402 PyObject * obj1 = 0 ;
18403 PyObject * obj2 = 0 ;
18404 PyObject * obj3 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18412 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 if (obj2) {
18415 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18416 if (PyErr_Occurred()) SWIG_fail;
18417 }
18418 if (obj3) {
18419 arg4 = (int) SWIG_AsInt(obj3);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 {
18423 PyThreadState* __tstate = wxPyBeginAllowThreads();
18424 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18425
18426 wxPyEndAllowThreads(__tstate);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 }
18429 {
18430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18431 }
18432 return resultobj;
18433 fail:
18434 return NULL;
18435}
18436
18437
18438static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18439 PyObject *resultobj;
18440 wxDateTime *arg1 = (wxDateTime *) 0 ;
18441 int arg2 ;
18442 int arg3 = (int) wxDateTime::Inv_Month ;
18443 int arg4 = (int) wxDateTime::Inv_Year ;
18444 wxDateTime result;
18445 PyObject * obj0 = 0 ;
18446 PyObject * obj1 = 0 ;
18447 PyObject * obj2 = 0 ;
18448 PyObject * obj3 = 0 ;
18449 char *kwnames[] = {
18450 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18451 };
18452
18453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18456 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 if (obj2) {
18459 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
18462 if (obj3) {
18463 arg4 = (int) SWIG_AsInt(obj3);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18469
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 {
18474 wxDateTime * resultptr;
18475 resultptr = new wxDateTime((wxDateTime &) result);
18476 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18477 }
18478 return resultobj;
18479 fail:
18480 return NULL;
18481}
18482
18483
18484static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18485 PyObject *resultobj;
18486 wxDateTime *arg1 = (wxDateTime *) 0 ;
18487 int arg2 ;
18488 int arg3 = (int) wxDateTime::Mon ;
18489 int arg4 = (int) wxDateTime::Monday_First ;
18490 bool result;
18491 PyObject * obj0 = 0 ;
18492 PyObject * obj1 = 0 ;
18493 PyObject * obj2 = 0 ;
18494 PyObject * obj3 = 0 ;
18495 char *kwnames[] = {
18496 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18497 };
18498
18499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18502 arg2 = (int) SWIG_AsInt(obj1);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 if (obj2) {
18505 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18506 if (PyErr_Occurred()) SWIG_fail;
18507 }
18508 if (obj3) {
18509 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 {
18513 PyThreadState* __tstate = wxPyBeginAllowThreads();
18514 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18515
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 {
18520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18521 }
18522 return resultobj;
18523 fail:
18524 return NULL;
18525}
18526
18527
18528static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18529 PyObject *resultobj;
18530 wxDateTime *arg1 = (wxDateTime *) 0 ;
18531 int arg2 ;
18532 int arg3 = (int) wxDateTime::Mon ;
18533 int arg4 = (int) wxDateTime::Monday_First ;
18534 wxDateTime result;
18535 PyObject * obj0 = 0 ;
18536 PyObject * obj1 = 0 ;
18537 PyObject * obj2 = 0 ;
18538 PyObject * obj3 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18546 arg2 = (int) SWIG_AsInt(obj1);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 if (obj2) {
18549 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18550 if (PyErr_Occurred()) SWIG_fail;
18551 }
18552 if (obj3) {
18553 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 }
18556 {
18557 PyThreadState* __tstate = wxPyBeginAllowThreads();
18558 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18559
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
18563 {
18564 wxDateTime * resultptr;
18565 resultptr = new wxDateTime((wxDateTime &) result);
18566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18567 }
18568 return resultobj;
18569 fail:
18570 return NULL;
18571}
18572
18573
18574static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18575 PyObject *resultobj;
18576 wxDateTime *arg1 = (wxDateTime *) 0 ;
18577 int arg2 = (int) wxDateTime::Inv_Month ;
18578 int arg3 = (int) wxDateTime::Inv_Year ;
18579 wxDateTime *result;
18580 PyObject * obj0 = 0 ;
18581 PyObject * obj1 = 0 ;
18582 PyObject * obj2 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self",(char *) "month",(char *) "year", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18590 if (obj1) {
18591 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
18594 if (obj2) {
18595 arg3 = (int) SWIG_AsInt(obj2);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 {
18599 PyThreadState* __tstate = wxPyBeginAllowThreads();
18600 {
18601 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18602 result = (wxDateTime *) &_result_ref;
18603 }
18604
18605 wxPyEndAllowThreads(__tstate);
18606 if (PyErr_Occurred()) SWIG_fail;
18607 }
18608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18609 return resultobj;
18610 fail:
18611 return NULL;
18612}
18613
18614
18615static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18616 PyObject *resultobj;
18617 wxDateTime *arg1 = (wxDateTime *) 0 ;
18618 int arg2 = (int) wxDateTime::Inv_Month ;
18619 int arg3 = (int) wxDateTime::Inv_Year ;
18620 wxDateTime result;
18621 PyObject * obj0 = 0 ;
18622 PyObject * obj1 = 0 ;
18623 PyObject * obj2 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self",(char *) "month",(char *) "year", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18631 if (obj1) {
18632 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 if (obj2) {
18636 arg3 = (int) SWIG_AsInt(obj2);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 }
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18642
18643 wxPyEndAllowThreads(__tstate);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
18646 {
18647 wxDateTime * resultptr;
18648 resultptr = new wxDateTime((wxDateTime &) result);
18649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18650 }
18651 return resultobj;
18652 fail:
18653 return NULL;
18654}
18655
18656
18657static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj;
18659 wxDateTime *arg1 = (wxDateTime *) 0 ;
18660 int arg2 ;
18661 wxDateTime *result;
18662 PyObject * obj0 = 0 ;
18663 PyObject * obj1 = 0 ;
18664 char *kwnames[] = {
18665 (char *) "self",(char *) "yday", NULL
18666 };
18667
18668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18671 arg2 = (int) SWIG_AsInt(obj1);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 {
18674 PyThreadState* __tstate = wxPyBeginAllowThreads();
18675 {
18676 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18677 result = (wxDateTime *) &_result_ref;
18678 }
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18684 return resultobj;
18685 fail:
18686 return NULL;
18687}
18688
18689
18690static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18691 PyObject *resultobj;
18692 wxDateTime *arg1 = (wxDateTime *) 0 ;
18693 int arg2 ;
18694 wxDateTime result;
18695 PyObject * obj0 = 0 ;
18696 PyObject * obj1 = 0 ;
18697 char *kwnames[] = {
18698 (char *) "self",(char *) "yday", NULL
18699 };
18700
18701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18704 arg2 = (int) SWIG_AsInt(obj1);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = (arg1)->GetYearDay(arg2);
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 {
18714 wxDateTime * resultptr;
18715 resultptr = new wxDateTime((wxDateTime &) result);
18716 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18717 }
18718 return resultobj;
18719 fail:
18720 return NULL;
18721}
18722
18723
18724static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18725 PyObject *resultobj;
18726 wxDateTime *arg1 = (wxDateTime *) 0 ;
18727 double result;
18728 PyObject * obj0 = 0 ;
18729 char *kwnames[] = {
18730 (char *) "self", NULL
18731 };
18732
18733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18736 {
18737 PyThreadState* __tstate = wxPyBeginAllowThreads();
18738 result = (double)(arg1)->GetJulianDayNumber();
18739
18740 wxPyEndAllowThreads(__tstate);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 }
18743 resultobj = SWIG_FromDouble((double)result);
18744 return resultobj;
18745 fail:
18746 return NULL;
18747}
18748
18749
18750static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj;
18752 wxDateTime *arg1 = (wxDateTime *) 0 ;
18753 double result;
18754 PyObject * obj0 = 0 ;
18755 char *kwnames[] = {
18756 (char *) "self", NULL
18757 };
18758
18759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 result = (double)(arg1)->GetJDN();
18765
18766 wxPyEndAllowThreads(__tstate);
18767 if (PyErr_Occurred()) SWIG_fail;
18768 }
18769 resultobj = SWIG_FromDouble((double)result);
18770 return resultobj;
18771 fail:
18772 return NULL;
18773}
18774
18775
18776static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18777 PyObject *resultobj;
18778 wxDateTime *arg1 = (wxDateTime *) 0 ;
18779 double result;
18780 PyObject * obj0 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18788 {
18789 PyThreadState* __tstate = wxPyBeginAllowThreads();
18790 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18791
18792 wxPyEndAllowThreads(__tstate);
18793 if (PyErr_Occurred()) SWIG_fail;
18794 }
18795 resultobj = SWIG_FromDouble((double)result);
18796 return resultobj;
18797 fail:
18798 return NULL;
18799}
18800
18801
18802static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18803 PyObject *resultobj;
18804 wxDateTime *arg1 = (wxDateTime *) 0 ;
18805 double result;
18806 PyObject * obj0 = 0 ;
18807 char *kwnames[] = {
18808 (char *) "self", NULL
18809 };
18810
18811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 result = (double)(arg1)->GetMJD();
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 resultobj = SWIG_FromDouble((double)result);
18822 return resultobj;
18823 fail:
18824 return NULL;
18825}
18826
18827
18828static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj;
18830 wxDateTime *arg1 = (wxDateTime *) 0 ;
18831 double result;
18832 PyObject * obj0 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "self", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 result = (double)(arg1)->GetRataDie();
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 resultobj = SWIG_FromDouble((double)result);
18848 return resultobj;
18849 fail:
18850 return NULL;
18851}
18852
18853
18854static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj;
18856 wxDateTime *arg1 = (wxDateTime *) 0 ;
18857 wxDateTime::TimeZone *arg2 = 0 ;
18858 bool arg3 = (bool) False ;
18859 wxDateTime result;
18860 bool temp2 = False ;
18861 PyObject * obj0 = 0 ;
18862 PyObject * obj1 = 0 ;
18863 PyObject * obj2 = 0 ;
18864 char *kwnames[] = {
18865 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18866 };
18867
18868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18871 {
18872 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18873 temp2 = True;
18874 }
18875 if (obj2) {
18876 arg3 = (bool) SWIG_AsBool(obj2);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 {
18887 wxDateTime * resultptr;
18888 resultptr = new wxDateTime((wxDateTime &) result);
18889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18890 }
18891 {
18892 if (temp2) delete arg2;
18893 }
18894 return resultobj;
18895 fail:
18896 {
18897 if (temp2) delete arg2;
18898 }
18899 return NULL;
18900}
18901
18902
18903static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxDateTime *arg1 = (wxDateTime *) 0 ;
18906 wxDateTime::TimeZone *arg2 = 0 ;
18907 bool arg3 = (bool) False ;
18908 wxDateTime *result;
18909 bool temp2 = False ;
18910 PyObject * obj0 = 0 ;
18911 PyObject * obj1 = 0 ;
18912 PyObject * obj2 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18920 {
18921 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18922 temp2 = True;
18923 }
18924 if (obj2) {
18925 arg3 = (bool) SWIG_AsBool(obj2);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 }
18928 {
18929 PyThreadState* __tstate = wxPyBeginAllowThreads();
18930 {
18931 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18932 result = (wxDateTime *) &_result_ref;
18933 }
18934
18935 wxPyEndAllowThreads(__tstate);
18936 if (PyErr_Occurred()) SWIG_fail;
18937 }
18938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18939 {
18940 if (temp2) delete arg2;
18941 }
18942 return resultobj;
18943 fail:
18944 {
18945 if (temp2) delete arg2;
18946 }
18947 return NULL;
18948}
18949
18950
18951static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18952 PyObject *resultobj;
18953 wxDateTime *arg1 = (wxDateTime *) 0 ;
18954 bool arg2 = (bool) False ;
18955 wxDateTime result;
18956 PyObject * obj0 = 0 ;
18957 PyObject * obj1 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "self",(char *) "noDST", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18965 if (obj1) {
18966 arg2 = (bool) SWIG_AsBool(obj1);
18967 if (PyErr_Occurred()) SWIG_fail;
18968 }
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 result = (arg1)->ToGMT(arg2);
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 {
18977 wxDateTime * resultptr;
18978 resultptr = new wxDateTime((wxDateTime &) result);
18979 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18980 }
18981 return resultobj;
18982 fail:
18983 return NULL;
18984}
18985
18986
18987static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18988 PyObject *resultobj;
18989 wxDateTime *arg1 = (wxDateTime *) 0 ;
18990 bool arg2 = (bool) False ;
18991 wxDateTime *result;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "noDST", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19001 if (obj1) {
19002 arg2 = (bool) SWIG_AsBool(obj1);
19003 if (PyErr_Occurred()) SWIG_fail;
19004 }
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 {
19008 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
19009 result = (wxDateTime *) &_result_ref;
19010 }
19011
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19016 return resultobj;
19017 fail:
19018 return NULL;
19019}
19020
19021
19022static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj;
19024 wxDateTime *arg1 = (wxDateTime *) 0 ;
19025 int arg2 = (int) wxDateTime::Country_Default ;
19026 int result;
19027 PyObject * obj0 = 0 ;
19028 PyObject * obj1 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self",(char *) "country", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19036 if (obj1) {
19037 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19038 if (PyErr_Occurred()) SWIG_fail;
19039 }
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
19042 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 resultobj = SWIG_FromInt((int)result);
19048 return resultobj;
19049 fail:
19050 return NULL;
19051}
19052
19053
19054static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxDateTime *arg1 = (wxDateTime *) 0 ;
19057 bool result;
19058 PyObject * obj0 = 0 ;
19059 char *kwnames[] = {
19060 (char *) "self", NULL
19061 };
19062
19063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
19064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19066 {
19067 PyThreadState* __tstate = wxPyBeginAllowThreads();
19068 result = (bool)((wxDateTime const *)arg1)->IsValid();
19069
19070 wxPyEndAllowThreads(__tstate);
19071 if (PyErr_Occurred()) SWIG_fail;
19072 }
19073 {
19074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19075 }
19076 return resultobj;
19077 fail:
19078 return NULL;
19079}
19080
19081
19082static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj;
19084 wxDateTime *arg1 = (wxDateTime *) 0 ;
19085 time_t result;
19086 PyObject * obj0 = 0 ;
19087 char *kwnames[] = {
19088 (char *) "self", NULL
19089 };
19090
19091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
19092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
19102 return resultobj;
19103 fail:
19104 return NULL;
19105}
19106
19107
19108static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxDateTime *arg1 = (wxDateTime *) 0 ;
19111 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19112 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19113 int result;
19114 bool temp2 = False ;
19115 PyObject * obj0 = 0 ;
19116 PyObject * obj1 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self",(char *) "tz", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
19122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19124 if (obj1) {
19125 {
19126 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19127 temp2 = True;
19128 }
19129 }
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
19132 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 resultobj = SWIG_FromInt((int)result);
19138 {
19139 if (temp2) delete arg2;
19140 }
19141 return resultobj;
19142 fail:
19143 {
19144 if (temp2) delete arg2;
19145 }
19146 return NULL;
19147}
19148
19149
19150static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxDateTime *arg1 = (wxDateTime *) 0 ;
19153 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19154 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19155 int result;
19156 bool temp2 = False ;
19157 PyObject * obj0 = 0 ;
19158 PyObject * obj1 = 0 ;
19159 char *kwnames[] = {
19160 (char *) "self",(char *) "tz", NULL
19161 };
19162
19163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
19164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19166 if (obj1) {
19167 {
19168 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19169 temp2 = True;
19170 }
19171 }
19172 {
19173 PyThreadState* __tstate = wxPyBeginAllowThreads();
19174 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19175
19176 wxPyEndAllowThreads(__tstate);
19177 if (PyErr_Occurred()) SWIG_fail;
19178 }
19179 resultobj = SWIG_FromInt((int)result);
19180 {
19181 if (temp2) delete arg2;
19182 }
19183 return resultobj;
19184 fail:
19185 {
19186 if (temp2) delete arg2;
19187 }
19188 return NULL;
19189}
19190
19191
19192static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj;
19194 wxDateTime *arg1 = (wxDateTime *) 0 ;
19195 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19196 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19197 int result;
19198 bool temp2 = False ;
19199 PyObject * obj0 = 0 ;
19200 PyObject * obj1 = 0 ;
19201 char *kwnames[] = {
19202 (char *) "self",(char *) "tz", NULL
19203 };
19204
19205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19208 if (obj1) {
19209 {
19210 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19211 temp2 = True;
19212 }
19213 }
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19217
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 resultobj = SWIG_FromInt((int)result);
19222 {
19223 if (temp2) delete arg2;
19224 }
19225 return resultobj;
19226 fail:
19227 {
19228 if (temp2) delete arg2;
19229 }
19230 return NULL;
19231}
19232
19233
19234static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19235 PyObject *resultobj;
19236 wxDateTime *arg1 = (wxDateTime *) 0 ;
19237 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19238 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19239 int result;
19240 bool temp2 = False ;
19241 PyObject * obj0 = 0 ;
19242 PyObject * obj1 = 0 ;
19243 char *kwnames[] = {
19244 (char *) "self",(char *) "tz", NULL
19245 };
19246
19247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19250 if (obj1) {
19251 {
19252 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19253 temp2 = True;
19254 }
19255 }
19256 {
19257 PyThreadState* __tstate = wxPyBeginAllowThreads();
19258 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19259
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
19263 resultobj = SWIG_FromInt((int)result);
19264 {
19265 if (temp2) delete arg2;
19266 }
19267 return resultobj;
19268 fail:
19269 {
19270 if (temp2) delete arg2;
19271 }
19272 return NULL;
19273}
19274
19275
19276static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
19277 PyObject *resultobj;
19278 wxDateTime *arg1 = (wxDateTime *) 0 ;
19279 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19280 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19281 int result;
19282 bool temp2 = False ;
19283 PyObject * obj0 = 0 ;
19284 PyObject * obj1 = 0 ;
19285 char *kwnames[] = {
19286 (char *) "self",(char *) "tz", NULL
19287 };
19288
19289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19292 if (obj1) {
19293 {
19294 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19295 temp2 = True;
19296 }
19297 }
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19301
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
19305 resultobj = SWIG_FromInt((int)result);
19306 {
19307 if (temp2) delete arg2;
19308 }
19309 return resultobj;
19310 fail:
19311 {
19312 if (temp2) delete arg2;
19313 }
19314 return NULL;
19315}
19316
19317
19318static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj;
19320 wxDateTime *arg1 = (wxDateTime *) 0 ;
19321 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19322 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19323 int result;
19324 bool temp2 = False ;
19325 PyObject * obj0 = 0 ;
19326 PyObject * obj1 = 0 ;
19327 char *kwnames[] = {
19328 (char *) "self",(char *) "tz", NULL
19329 };
19330
19331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19334 if (obj1) {
19335 {
19336 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19337 temp2 = True;
19338 }
19339 }
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 resultobj = SWIG_FromInt((int)result);
19348 {
19349 if (temp2) delete arg2;
19350 }
19351 return resultobj;
19352 fail:
19353 {
19354 if (temp2) delete arg2;
19355 }
19356 return NULL;
19357}
19358
19359
19360static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19361 PyObject *resultobj;
19362 wxDateTime *arg1 = (wxDateTime *) 0 ;
19363 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19364 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19365 int result;
19366 bool temp2 = False ;
19367 PyObject * obj0 = 0 ;
19368 PyObject * obj1 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self",(char *) "tz", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19376 if (obj1) {
19377 {
19378 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19379 temp2 = True;
19380 }
19381 }
19382 {
19383 PyThreadState* __tstate = wxPyBeginAllowThreads();
19384 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19385
19386 wxPyEndAllowThreads(__tstate);
19387 if (PyErr_Occurred()) SWIG_fail;
19388 }
19389 resultobj = SWIG_FromInt((int)result);
19390 {
19391 if (temp2) delete arg2;
19392 }
19393 return resultobj;
19394 fail:
19395 {
19396 if (temp2) delete arg2;
19397 }
19398 return NULL;
19399}
19400
19401
19402static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19403 PyObject *resultobj;
19404 wxDateTime *arg1 = (wxDateTime *) 0 ;
19405 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19406 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19407 int result;
19408 bool temp2 = False ;
19409 PyObject * obj0 = 0 ;
19410 PyObject * obj1 = 0 ;
19411 char *kwnames[] = {
19412 (char *) "self",(char *) "tz", NULL
19413 };
19414
19415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19418 if (obj1) {
19419 {
19420 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19421 temp2 = True;
19422 }
19423 }
19424 {
19425 PyThreadState* __tstate = wxPyBeginAllowThreads();
19426 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19427
19428 wxPyEndAllowThreads(__tstate);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 resultobj = SWIG_FromInt((int)result);
19432 {
19433 if (temp2) delete arg2;
19434 }
19435 return resultobj;
19436 fail:
19437 {
19438 if (temp2) delete arg2;
19439 }
19440 return NULL;
19441}
19442
19443
19444static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19445 PyObject *resultobj;
19446 wxDateTime *arg1 = (wxDateTime *) 0 ;
19447 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19448 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19449 int result;
19450 bool temp2 = False ;
19451 PyObject * obj0 = 0 ;
19452 PyObject * obj1 = 0 ;
19453 char *kwnames[] = {
19454 (char *) "self",(char *) "tz", NULL
19455 };
19456
19457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19460 if (obj1) {
19461 {
19462 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19463 temp2 = True;
19464 }
19465 }
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 resultobj = SWIG_FromInt((int)result);
19474 {
19475 if (temp2) delete arg2;
19476 }
19477 return resultobj;
19478 fail:
19479 {
19480 if (temp2) delete arg2;
19481 }
19482 return NULL;
19483}
19484
19485
19486static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19487 PyObject *resultobj;
19488 wxDateTime *arg1 = (wxDateTime *) 0 ;
19489 int arg2 = (int) wxDateTime::Monday_First ;
19490 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19491 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19492 int result;
19493 bool temp3 = False ;
19494 PyObject * obj0 = 0 ;
19495 PyObject * obj1 = 0 ;
19496 PyObject * obj2 = 0 ;
19497 char *kwnames[] = {
19498 (char *) "self",(char *) "flags",(char *) "tz", NULL
19499 };
19500
19501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19504 if (obj1) {
19505 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19506 if (PyErr_Occurred()) SWIG_fail;
19507 }
19508 if (obj2) {
19509 {
19510 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19511 temp3 = True;
19512 }
19513 }
19514 {
19515 PyThreadState* __tstate = wxPyBeginAllowThreads();
19516 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19517
19518 wxPyEndAllowThreads(__tstate);
19519 if (PyErr_Occurred()) SWIG_fail;
19520 }
19521 resultobj = SWIG_FromInt((int)result);
19522 {
19523 if (temp3) delete arg3;
19524 }
19525 return resultobj;
19526 fail:
19527 {
19528 if (temp3) delete arg3;
19529 }
19530 return NULL;
19531}
19532
19533
19534static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19535 PyObject *resultobj;
19536 wxDateTime *arg1 = (wxDateTime *) 0 ;
19537 int arg2 = (int) wxDateTime::Monday_First ;
19538 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19539 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19540 int result;
19541 bool temp3 = False ;
19542 PyObject * obj0 = 0 ;
19543 PyObject * obj1 = 0 ;
19544 PyObject * obj2 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self",(char *) "flags",(char *) "tz", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19552 if (obj1) {
19553 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19554 if (PyErr_Occurred()) SWIG_fail;
19555 }
19556 if (obj2) {
19557 {
19558 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19559 temp3 = True;
19560 }
19561 }
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 resultobj = SWIG_FromInt((int)result);
19570 {
19571 if (temp3) delete arg3;
19572 }
19573 return resultobj;
19574 fail:
19575 {
19576 if (temp3) delete arg3;
19577 }
19578 return NULL;
19579}
19580
19581
19582static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19583 PyObject *resultobj;
19584 wxDateTime *arg1 = (wxDateTime *) 0 ;
19585 int arg2 = (int) wxDateTime::Country_Default ;
19586 bool result;
19587 PyObject * obj0 = 0 ;
19588 PyObject * obj1 = 0 ;
19589 char *kwnames[] = {
19590 (char *) "self",(char *) "country", NULL
19591 };
19592
19593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19596 if (obj1) {
19597 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 {
19608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19609 }
19610 return resultobj;
19611 fail:
19612 return NULL;
19613}
19614
19615
19616static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19617 PyObject *resultobj;
19618 wxDateTime *arg1 = (wxDateTime *) 0 ;
19619 wxDateTime *arg2 = 0 ;
19620 bool result;
19621 PyObject * obj0 = 0 ;
19622 PyObject * obj1 = 0 ;
19623 char *kwnames[] = {
19624 (char *) "self",(char *) "datetime", NULL
19625 };
19626
19627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19631 SWIG_POINTER_EXCEPTION | 0)) == -1)
19632 SWIG_fail;
19633 if (arg2 == NULL) {
19634 PyErr_SetString(PyExc_TypeError,"null reference");
19635 SWIG_fail;
19636 }
19637 {
19638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19639 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19640
19641 wxPyEndAllowThreads(__tstate);
19642 if (PyErr_Occurred()) SWIG_fail;
19643 }
19644 {
19645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19646 }
19647 return resultobj;
19648 fail:
19649 return NULL;
19650}
19651
19652
19653static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19654 PyObject *resultobj;
19655 wxDateTime *arg1 = (wxDateTime *) 0 ;
19656 wxDateTime *arg2 = 0 ;
19657 bool result;
19658 PyObject * obj0 = 0 ;
19659 PyObject * obj1 = 0 ;
19660 char *kwnames[] = {
19661 (char *) "self",(char *) "datetime", NULL
19662 };
19663
19664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19668 SWIG_POINTER_EXCEPTION | 0)) == -1)
19669 SWIG_fail;
19670 if (arg2 == NULL) {
19671 PyErr_SetString(PyExc_TypeError,"null reference");
19672 SWIG_fail;
19673 }
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19677
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 {
19682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19683 }
19684 return resultobj;
19685 fail:
19686 return NULL;
19687}
19688
19689
19690static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj;
19692 wxDateTime *arg1 = (wxDateTime *) 0 ;
19693 wxDateTime *arg2 = 0 ;
19694 bool result;
19695 PyObject * obj0 = 0 ;
19696 PyObject * obj1 = 0 ;
19697 char *kwnames[] = {
19698 (char *) "self",(char *) "datetime", NULL
19699 };
19700
19701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19705 SWIG_POINTER_EXCEPTION | 0)) == -1)
19706 SWIG_fail;
19707 if (arg2 == NULL) {
19708 PyErr_SetString(PyExc_TypeError,"null reference");
19709 SWIG_fail;
19710 }
19711 {
19712 PyThreadState* __tstate = wxPyBeginAllowThreads();
19713 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19714
19715 wxPyEndAllowThreads(__tstate);
19716 if (PyErr_Occurred()) SWIG_fail;
19717 }
19718 {
19719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19720 }
19721 return resultobj;
19722 fail:
19723 return NULL;
19724}
19725
19726
19727static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19728 PyObject *resultobj;
19729 wxDateTime *arg1 = (wxDateTime *) 0 ;
19730 wxDateTime *arg2 = 0 ;
19731 wxDateTime *arg3 = 0 ;
19732 bool result;
19733 PyObject * obj0 = 0 ;
19734 PyObject * obj1 = 0 ;
19735 PyObject * obj2 = 0 ;
19736 char *kwnames[] = {
19737 (char *) "self",(char *) "t1",(char *) "t2", NULL
19738 };
19739
19740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19743 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19744 SWIG_POINTER_EXCEPTION | 0)) == -1)
19745 SWIG_fail;
19746 if (arg2 == NULL) {
19747 PyErr_SetString(PyExc_TypeError,"null reference");
19748 SWIG_fail;
19749 }
19750 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19751 SWIG_POINTER_EXCEPTION | 0)) == -1)
19752 SWIG_fail;
19753 if (arg3 == NULL) {
19754 PyErr_SetString(PyExc_TypeError,"null reference");
19755 SWIG_fail;
19756 }
19757 {
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19760
19761 wxPyEndAllowThreads(__tstate);
19762 if (PyErr_Occurred()) SWIG_fail;
19763 }
19764 {
19765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19766 }
19767 return resultobj;
19768 fail:
19769 return NULL;
19770}
19771
19772
19773static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxDateTime *arg1 = (wxDateTime *) 0 ;
19776 wxDateTime *arg2 = 0 ;
19777 wxDateTime *arg3 = 0 ;
19778 bool result;
19779 PyObject * obj0 = 0 ;
19780 PyObject * obj1 = 0 ;
19781 PyObject * obj2 = 0 ;
19782 char *kwnames[] = {
19783 (char *) "self",(char *) "t1",(char *) "t2", NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19790 SWIG_POINTER_EXCEPTION | 0)) == -1)
19791 SWIG_fail;
19792 if (arg2 == NULL) {
19793 PyErr_SetString(PyExc_TypeError,"null reference");
19794 SWIG_fail;
19795 }
19796 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19797 SWIG_POINTER_EXCEPTION | 0)) == -1)
19798 SWIG_fail;
19799 if (arg3 == NULL) {
19800 PyErr_SetString(PyExc_TypeError,"null reference");
19801 SWIG_fail;
19802 }
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19806
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 {
19811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19812 }
19813 return resultobj;
19814 fail:
19815 return NULL;
19816}
19817
19818
19819static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19820 PyObject *resultobj;
19821 wxDateTime *arg1 = (wxDateTime *) 0 ;
19822 wxDateTime *arg2 = 0 ;
19823 bool result;
19824 PyObject * obj0 = 0 ;
19825 PyObject * obj1 = 0 ;
19826 char *kwnames[] = {
19827 (char *) "self",(char *) "dt", NULL
19828 };
19829
19830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19834 SWIG_POINTER_EXCEPTION | 0)) == -1)
19835 SWIG_fail;
19836 if (arg2 == NULL) {
19837 PyErr_SetString(PyExc_TypeError,"null reference");
19838 SWIG_fail;
19839 }
19840 {
19841 PyThreadState* __tstate = wxPyBeginAllowThreads();
19842 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19843
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 {
19848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19849 }
19850 return resultobj;
19851 fail:
19852 return NULL;
19853}
19854
19855
19856static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19857 PyObject *resultobj;
19858 wxDateTime *arg1 = (wxDateTime *) 0 ;
19859 wxDateTime *arg2 = 0 ;
19860 bool result;
19861 PyObject * obj0 = 0 ;
19862 PyObject * obj1 = 0 ;
19863 char *kwnames[] = {
19864 (char *) "self",(char *) "dt", NULL
19865 };
19866
19867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19871 SWIG_POINTER_EXCEPTION | 0)) == -1)
19872 SWIG_fail;
19873 if (arg2 == NULL) {
19874 PyErr_SetString(PyExc_TypeError,"null reference");
19875 SWIG_fail;
19876 }
19877 {
19878 PyThreadState* __tstate = wxPyBeginAllowThreads();
19879 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19880
19881 wxPyEndAllowThreads(__tstate);
19882 if (PyErr_Occurred()) SWIG_fail;
19883 }
19884 {
19885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19886 }
19887 return resultobj;
19888 fail:
19889 return NULL;
19890}
19891
19892
19893static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19894 PyObject *resultobj;
19895 wxDateTime *arg1 = (wxDateTime *) 0 ;
19896 wxDateTime *arg2 = 0 ;
19897 wxTimeSpan *arg3 = 0 ;
19898 bool result;
19899 PyObject * obj0 = 0 ;
19900 PyObject * obj1 = 0 ;
19901 PyObject * obj2 = 0 ;
19902 char *kwnames[] = {
19903 (char *) "self",(char *) "dt",(char *) "ts", NULL
19904 };
19905
19906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19910 SWIG_POINTER_EXCEPTION | 0)) == -1)
19911 SWIG_fail;
19912 if (arg2 == NULL) {
19913 PyErr_SetString(PyExc_TypeError,"null reference");
19914 SWIG_fail;
19915 }
19916 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19917 SWIG_POINTER_EXCEPTION | 0)) == -1)
19918 SWIG_fail;
19919 if (arg3 == NULL) {
19920 PyErr_SetString(PyExc_TypeError,"null reference");
19921 SWIG_fail;
19922 }
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19926
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 {
19931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19932 }
19933 return resultobj;
19934 fail:
19935 return NULL;
19936}
19937
19938
19939static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj;
19941 wxDateTime *arg1 = (wxDateTime *) 0 ;
19942 wxTimeSpan *arg2 = 0 ;
19943 wxDateTime *result;
19944 PyObject * obj0 = 0 ;
19945 PyObject * obj1 = 0 ;
19946 char *kwnames[] = {
19947 (char *) "self",(char *) "diff", NULL
19948 };
19949
19950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19954 SWIG_POINTER_EXCEPTION | 0)) == -1)
19955 SWIG_fail;
19956 if (arg2 == NULL) {
19957 PyErr_SetString(PyExc_TypeError,"null reference");
19958 SWIG_fail;
19959 }
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 {
19963 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19964 result = (wxDateTime *) &_result_ref;
19965 }
19966
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19971 return resultobj;
19972 fail:
19973 return NULL;
19974}
19975
19976
19977static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19978 PyObject *resultobj;
19979 wxDateTime *arg1 = (wxDateTime *) 0 ;
19980 wxDateSpan *arg2 = 0 ;
19981 wxDateTime *result;
19982 PyObject * obj0 = 0 ;
19983 PyObject * obj1 = 0 ;
19984 char *kwnames[] = {
19985 (char *) "self",(char *) "diff", NULL
19986 };
19987
19988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19992 SWIG_POINTER_EXCEPTION | 0)) == -1)
19993 SWIG_fail;
19994 if (arg2 == NULL) {
19995 PyErr_SetString(PyExc_TypeError,"null reference");
19996 SWIG_fail;
19997 }
19998 {
19999 PyThreadState* __tstate = wxPyBeginAllowThreads();
20000 {
20001 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20002 result = (wxDateTime *) &_result_ref;
20003 }
20004
20005 wxPyEndAllowThreads(__tstate);
20006 if (PyErr_Occurred()) SWIG_fail;
20007 }
20008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20009 return resultobj;
20010 fail:
20011 return NULL;
20012}
20013
20014
20015static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
20016 PyObject *resultobj;
20017 wxDateTime *arg1 = (wxDateTime *) 0 ;
20018 wxTimeSpan *arg2 = 0 ;
20019 wxDateTime *result;
20020 PyObject * obj0 = 0 ;
20021 PyObject * obj1 = 0 ;
20022 char *kwnames[] = {
20023 (char *) "self",(char *) "diff", NULL
20024 };
20025
20026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
20027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20029 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20030 SWIG_POINTER_EXCEPTION | 0)) == -1)
20031 SWIG_fail;
20032 if (arg2 == NULL) {
20033 PyErr_SetString(PyExc_TypeError,"null reference");
20034 SWIG_fail;
20035 }
20036 {
20037 PyThreadState* __tstate = wxPyBeginAllowThreads();
20038 {
20039 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
20040 result = (wxDateTime *) &_result_ref;
20041 }
20042
20043 wxPyEndAllowThreads(__tstate);
20044 if (PyErr_Occurred()) SWIG_fail;
20045 }
20046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20047 return resultobj;
20048 fail:
20049 return NULL;
20050}
20051
20052
20053static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
20054 PyObject *resultobj;
20055 wxDateTime *arg1 = (wxDateTime *) 0 ;
20056 wxDateSpan *arg2 = 0 ;
20057 wxDateTime *result;
20058 PyObject * obj0 = 0 ;
20059 PyObject * obj1 = 0 ;
20060 char *kwnames[] = {
20061 (char *) "self",(char *) "diff", NULL
20062 };
20063
20064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
20065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20068 SWIG_POINTER_EXCEPTION | 0)) == -1)
20069 SWIG_fail;
20070 if (arg2 == NULL) {
20071 PyErr_SetString(PyExc_TypeError,"null reference");
20072 SWIG_fail;
20073 }
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 {
20077 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20078 result = (wxDateTime *) &_result_ref;
20079 }
20080
20081 wxPyEndAllowThreads(__tstate);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
20084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20085 return resultobj;
20086 fail:
20087 return NULL;
20088}
20089
20090
20091static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20092 PyObject *resultobj;
20093 wxDateTime *arg1 = (wxDateTime *) 0 ;
20094 wxDateTime *arg2 = 0 ;
20095 wxTimeSpan result;
20096 PyObject * obj0 = 0 ;
20097 PyObject * obj1 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self",(char *) "dt", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
20103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20106 SWIG_POINTER_EXCEPTION | 0)) == -1)
20107 SWIG_fail;
20108 if (arg2 == NULL) {
20109 PyErr_SetString(PyExc_TypeError,"null reference");
20110 SWIG_fail;
20111 }
20112 {
20113 PyThreadState* __tstate = wxPyBeginAllowThreads();
20114 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
20115
20116 wxPyEndAllowThreads(__tstate);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
20119 {
20120 wxTimeSpan * resultptr;
20121 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20123 }
20124 return resultobj;
20125 fail:
20126 return NULL;
20127}
20128
20129
20130static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
20131 PyObject *resultobj;
20132 wxDateTime *arg1 = (wxDateTime *) 0 ;
20133 wxTimeSpan *arg2 = 0 ;
20134 wxDateTime *result;
20135 PyObject * obj0 = 0 ;
20136 PyObject * obj1 = 0 ;
20137
20138 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20142 SWIG_POINTER_EXCEPTION | 0)) == -1)
20143 SWIG_fail;
20144 if (arg2 == NULL) {
20145 PyErr_SetString(PyExc_TypeError,"null reference");
20146 SWIG_fail;
20147 }
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 {
20151 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
20152 result = (wxDateTime *) &_result_ref;
20153 }
20154
20155 wxPyEndAllowThreads(__tstate);
20156 if (PyErr_Occurred()) SWIG_fail;
20157 }
20158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20159 return resultobj;
20160 fail:
20161 return NULL;
20162}
20163
20164
20165static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
20166 PyObject *resultobj;
20167 wxDateTime *arg1 = (wxDateTime *) 0 ;
20168 wxDateSpan *arg2 = 0 ;
20169 wxDateTime *result;
20170 PyObject * obj0 = 0 ;
20171 PyObject * obj1 = 0 ;
20172
20173 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20177 SWIG_POINTER_EXCEPTION | 0)) == -1)
20178 SWIG_fail;
20179 if (arg2 == NULL) {
20180 PyErr_SetString(PyExc_TypeError,"null reference");
20181 SWIG_fail;
20182 }
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 {
20186 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20187 result = (wxDateTime *) &_result_ref;
20188 }
20189
20190 wxPyEndAllowThreads(__tstate);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 }
20193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20194 return resultobj;
20195 fail:
20196 return NULL;
20197}
20198
20199
20200static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20201 int argc;
20202 PyObject *argv[3];
20203 int ii;
20204
20205 argc = PyObject_Length(args);
20206 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20207 argv[ii] = PyTuple_GetItem(args,ii);
20208 }
20209 if (argc == 2) {
20210 int _v;
20211 {
20212 void *ptr;
20213 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20214 _v = 0;
20215 PyErr_Clear();
20216 } else {
20217 _v = 1;
20218 }
20219 }
20220 if (_v) {
20221 {
20222 void *ptr;
20223 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20224 _v = 0;
20225 PyErr_Clear();
20226 } else {
20227 _v = 1;
20228 }
20229 }
20230 if (_v) {
20231 return _wrap_DateTime___iadd____SWIG_0(self,args);
20232 }
20233 }
20234 }
20235 if (argc == 2) {
20236 int _v;
20237 {
20238 void *ptr;
20239 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20240 _v = 0;
20241 PyErr_Clear();
20242 } else {
20243 _v = 1;
20244 }
20245 }
20246 if (_v) {
20247 {
20248 void *ptr;
20249 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20250 _v = 0;
20251 PyErr_Clear();
20252 } else {
20253 _v = 1;
20254 }
20255 }
20256 if (_v) {
20257 return _wrap_DateTime___iadd____SWIG_1(self,args);
20258 }
20259 }
20260 }
20261
20262 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20263 return NULL;
20264}
20265
20266
20267static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
20268 PyObject *resultobj;
20269 wxDateTime *arg1 = (wxDateTime *) 0 ;
20270 wxTimeSpan *arg2 = 0 ;
20271 wxDateTime *result;
20272 PyObject * obj0 = 0 ;
20273 PyObject * obj1 = 0 ;
20274
20275 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20279 SWIG_POINTER_EXCEPTION | 0)) == -1)
20280 SWIG_fail;
20281 if (arg2 == NULL) {
20282 PyErr_SetString(PyExc_TypeError,"null reference");
20283 SWIG_fail;
20284 }
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 {
20288 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20289 result = (wxDateTime *) &_result_ref;
20290 }
20291
20292 wxPyEndAllowThreads(__tstate);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
20295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20296 return resultobj;
20297 fail:
20298 return NULL;
20299}
20300
20301
20302static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
20303 PyObject *resultobj;
20304 wxDateTime *arg1 = (wxDateTime *) 0 ;
20305 wxDateSpan *arg2 = 0 ;
20306 wxDateTime *result;
20307 PyObject * obj0 = 0 ;
20308 PyObject * obj1 = 0 ;
20309
20310 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20314 SWIG_POINTER_EXCEPTION | 0)) == -1)
20315 SWIG_fail;
20316 if (arg2 == NULL) {
20317 PyErr_SetString(PyExc_TypeError,"null reference");
20318 SWIG_fail;
20319 }
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 {
20323 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20324 result = (wxDateTime *) &_result_ref;
20325 }
20326
20327 wxPyEndAllowThreads(__tstate);
20328 if (PyErr_Occurred()) SWIG_fail;
20329 }
20330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20331 return resultobj;
20332 fail:
20333 return NULL;
20334}
20335
20336
20337static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20338 int argc;
20339 PyObject *argv[3];
20340 int ii;
20341
20342 argc = PyObject_Length(args);
20343 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20344 argv[ii] = PyTuple_GetItem(args,ii);
20345 }
20346 if (argc == 2) {
20347 int _v;
20348 {
20349 void *ptr;
20350 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20351 _v = 0;
20352 PyErr_Clear();
20353 } else {
20354 _v = 1;
20355 }
20356 }
20357 if (_v) {
20358 {
20359 void *ptr;
20360 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20361 _v = 0;
20362 PyErr_Clear();
20363 } else {
20364 _v = 1;
20365 }
20366 }
20367 if (_v) {
20368 return _wrap_DateTime___isub____SWIG_0(self,args);
20369 }
20370 }
20371 }
20372 if (argc == 2) {
20373 int _v;
20374 {
20375 void *ptr;
20376 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20377 _v = 0;
20378 PyErr_Clear();
20379 } else {
20380 _v = 1;
20381 }
20382 }
20383 if (_v) {
20384 {
20385 void *ptr;
20386 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20387 _v = 0;
20388 PyErr_Clear();
20389 } else {
20390 _v = 1;
20391 }
20392 }
20393 if (_v) {
20394 return _wrap_DateTime___isub____SWIG_1(self,args);
20395 }
20396 }
20397 }
20398
20399 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20400 return NULL;
20401}
20402
20403
20404static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
20405 PyObject *resultobj;
20406 wxDateTime *arg1 = (wxDateTime *) 0 ;
20407 wxTimeSpan *arg2 = 0 ;
20408 wxDateTime result;
20409 PyObject * obj0 = 0 ;
20410 PyObject * obj1 = 0 ;
20411
20412 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20416 SWIG_POINTER_EXCEPTION | 0)) == -1)
20417 SWIG_fail;
20418 if (arg2 == NULL) {
20419 PyErr_SetString(PyExc_TypeError,"null reference");
20420 SWIG_fail;
20421 }
20422 {
20423 PyThreadState* __tstate = wxPyBeginAllowThreads();
20424 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20425
20426 wxPyEndAllowThreads(__tstate);
20427 if (PyErr_Occurred()) SWIG_fail;
20428 }
20429 {
20430 wxDateTime * resultptr;
20431 resultptr = new wxDateTime((wxDateTime &) result);
20432 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20433 }
20434 return resultobj;
20435 fail:
20436 return NULL;
20437}
20438
20439
20440static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
20441 PyObject *resultobj;
20442 wxDateTime *arg1 = (wxDateTime *) 0 ;
20443 wxDateSpan *arg2 = 0 ;
20444 wxDateTime result;
20445 PyObject * obj0 = 0 ;
20446 PyObject * obj1 = 0 ;
20447
20448 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20452 SWIG_POINTER_EXCEPTION | 0)) == -1)
20453 SWIG_fail;
20454 if (arg2 == NULL) {
20455 PyErr_SetString(PyExc_TypeError,"null reference");
20456 SWIG_fail;
20457 }
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20461
20462 wxPyEndAllowThreads(__tstate);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 }
20465 {
20466 wxDateTime * resultptr;
20467 resultptr = new wxDateTime((wxDateTime &) result);
20468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20469 }
20470 return resultobj;
20471 fail:
20472 return NULL;
20473}
20474
20475
20476static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20477 int argc;
20478 PyObject *argv[3];
20479 int ii;
20480
20481 argc = PyObject_Length(args);
20482 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20483 argv[ii] = PyTuple_GetItem(args,ii);
20484 }
20485 if (argc == 2) {
20486 int _v;
20487 {
20488 void *ptr;
20489 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20490 _v = 0;
20491 PyErr_Clear();
20492 } else {
20493 _v = 1;
20494 }
20495 }
20496 if (_v) {
20497 {
20498 void *ptr;
20499 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20500 _v = 0;
20501 PyErr_Clear();
20502 } else {
20503 _v = 1;
20504 }
20505 }
20506 if (_v) {
20507 return _wrap_DateTime___add____SWIG_0(self,args);
20508 }
20509 }
20510 }
20511 if (argc == 2) {
20512 int _v;
20513 {
20514 void *ptr;
20515 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20516 _v = 0;
20517 PyErr_Clear();
20518 } else {
20519 _v = 1;
20520 }
20521 }
20522 if (_v) {
20523 {
20524 void *ptr;
20525 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20526 _v = 0;
20527 PyErr_Clear();
20528 } else {
20529 _v = 1;
20530 }
20531 }
20532 if (_v) {
20533 return _wrap_DateTime___add____SWIG_1(self,args);
20534 }
20535 }
20536 }
20537
20538 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20539 return NULL;
20540}
20541
20542
20543static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20544 PyObject *resultobj;
20545 wxDateTime *arg1 = (wxDateTime *) 0 ;
20546 wxDateTime *arg2 = 0 ;
20547 wxTimeSpan result;
20548 PyObject * obj0 = 0 ;
20549 PyObject * obj1 = 0 ;
20550
20551 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20555 SWIG_POINTER_EXCEPTION | 0)) == -1)
20556 SWIG_fail;
20557 if (arg2 == NULL) {
20558 PyErr_SetString(PyExc_TypeError,"null reference");
20559 SWIG_fail;
20560 }
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20564
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 {
20569 wxTimeSpan * resultptr;
20570 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20572 }
20573 return resultobj;
20574 fail:
20575 return NULL;
20576}
20577
20578
20579static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20580 PyObject *resultobj;
20581 wxDateTime *arg1 = (wxDateTime *) 0 ;
20582 wxTimeSpan *arg2 = 0 ;
20583 wxDateTime result;
20584 PyObject * obj0 = 0 ;
20585 PyObject * obj1 = 0 ;
20586
20587 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20591 SWIG_POINTER_EXCEPTION | 0)) == -1)
20592 SWIG_fail;
20593 if (arg2 == NULL) {
20594 PyErr_SetString(PyExc_TypeError,"null reference");
20595 SWIG_fail;
20596 }
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 {
20605 wxDateTime * resultptr;
20606 resultptr = new wxDateTime((wxDateTime &) result);
20607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20608 }
20609 return resultobj;
20610 fail:
20611 return NULL;
20612}
20613
20614
20615static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20616 PyObject *resultobj;
20617 wxDateTime *arg1 = (wxDateTime *) 0 ;
20618 wxDateSpan *arg2 = 0 ;
20619 wxDateTime result;
20620 PyObject * obj0 = 0 ;
20621 PyObject * obj1 = 0 ;
20622
20623 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20627 SWIG_POINTER_EXCEPTION | 0)) == -1)
20628 SWIG_fail;
20629 if (arg2 == NULL) {
20630 PyErr_SetString(PyExc_TypeError,"null reference");
20631 SWIG_fail;
20632 }
20633 {
20634 PyThreadState* __tstate = wxPyBeginAllowThreads();
20635 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20636
20637 wxPyEndAllowThreads(__tstate);
20638 if (PyErr_Occurred()) SWIG_fail;
20639 }
20640 {
20641 wxDateTime * resultptr;
20642 resultptr = new wxDateTime((wxDateTime &) result);
20643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20644 }
20645 return resultobj;
20646 fail:
20647 return NULL;
20648}
20649
20650
20651static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20652 int argc;
20653 PyObject *argv[3];
20654 int ii;
20655
20656 argc = PyObject_Length(args);
20657 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20658 argv[ii] = PyTuple_GetItem(args,ii);
20659 }
20660 if (argc == 2) {
20661 int _v;
20662 {
20663 void *ptr;
20664 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20665 _v = 0;
20666 PyErr_Clear();
20667 } else {
20668 _v = 1;
20669 }
20670 }
20671 if (_v) {
20672 {
20673 void *ptr;
20674 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20675 _v = 0;
20676 PyErr_Clear();
20677 } else {
20678 _v = 1;
20679 }
20680 }
20681 if (_v) {
20682 return _wrap_DateTime___sub____SWIG_0(self,args);
20683 }
20684 }
20685 }
20686 if (argc == 2) {
20687 int _v;
20688 {
20689 void *ptr;
20690 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20691 _v = 0;
20692 PyErr_Clear();
20693 } else {
20694 _v = 1;
20695 }
20696 }
20697 if (_v) {
20698 {
20699 void *ptr;
20700 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20701 _v = 0;
20702 PyErr_Clear();
20703 } else {
20704 _v = 1;
20705 }
20706 }
20707 if (_v) {
20708 return _wrap_DateTime___sub____SWIG_1(self,args);
20709 }
20710 }
20711 }
20712 if (argc == 2) {
20713 int _v;
20714 {
20715 void *ptr;
20716 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20717 _v = 0;
20718 PyErr_Clear();
20719 } else {
20720 _v = 1;
20721 }
20722 }
20723 if (_v) {
20724 {
20725 void *ptr;
20726 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20727 _v = 0;
20728 PyErr_Clear();
20729 } else {
20730 _v = 1;
20731 }
20732 }
20733 if (_v) {
20734 return _wrap_DateTime___sub____SWIG_2(self,args);
20735 }
20736 }
20737 }
20738
20739 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20740 return NULL;
20741}
20742
20743
20744static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20745 PyObject *resultobj;
20746 wxDateTime *arg1 = (wxDateTime *) 0 ;
20747 wxDateTime *arg2 = (wxDateTime *) 0 ;
20748 bool result;
20749 PyObject * obj0 = 0 ;
20750 PyObject * obj1 = 0 ;
20751
20752 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
20760
20761 wxPyEndAllowThreads(__tstate);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 }
20764 {
20765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20766 }
20767 return resultobj;
20768 fail:
20769 return NULL;
20770}
20771
20772
20773static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20774 PyObject *resultobj;
20775 wxDateTime *arg1 = (wxDateTime *) 0 ;
20776 wxDateTime *arg2 = (wxDateTime *) 0 ;
20777 bool result;
20778 PyObject * obj0 = 0 ;
20779 PyObject * obj1 = 0 ;
20780
20781 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20786 {
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
20788 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
20789
20790 wxPyEndAllowThreads(__tstate);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 }
20793 {
20794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20795 }
20796 return resultobj;
20797 fail:
20798 return NULL;
20799}
20800
20801
20802static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20803 PyObject *resultobj;
20804 wxDateTime *arg1 = (wxDateTime *) 0 ;
20805 wxDateTime *arg2 = (wxDateTime *) 0 ;
20806 bool result;
20807 PyObject * obj0 = 0 ;
20808 PyObject * obj1 = 0 ;
20809
20810 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20815 {
20816 PyThreadState* __tstate = wxPyBeginAllowThreads();
20817 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
20818
20819 wxPyEndAllowThreads(__tstate);
20820 if (PyErr_Occurred()) SWIG_fail;
20821 }
20822 {
20823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20824 }
20825 return resultobj;
20826 fail:
20827 return NULL;
20828}
20829
20830
20831static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20832 PyObject *resultobj;
20833 wxDateTime *arg1 = (wxDateTime *) 0 ;
20834 wxDateTime *arg2 = (wxDateTime *) 0 ;
20835 bool result;
20836 PyObject * obj0 = 0 ;
20837 PyObject * obj1 = 0 ;
20838
20839 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
20847
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 {
20852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20853 }
20854 return resultobj;
20855 fail:
20856 return NULL;
20857}
20858
20859
20860static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20861 PyObject *resultobj;
20862 wxDateTime *arg1 = (wxDateTime *) 0 ;
20863 wxDateTime *arg2 = (wxDateTime *) 0 ;
20864 bool result;
20865 PyObject * obj0 = 0 ;
20866 PyObject * obj1 = 0 ;
20867
20868 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20871 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20873 {
20874 PyThreadState* __tstate = wxPyBeginAllowThreads();
20875 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
20876
20877 wxPyEndAllowThreads(__tstate);
20878 if (PyErr_Occurred()) SWIG_fail;
20879 }
20880 {
20881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20882 }
20883 return resultobj;
20884 fail:
20885 return NULL;
20886}
20887
20888
20889static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20890 PyObject *resultobj;
20891 wxDateTime *arg1 = (wxDateTime *) 0 ;
20892 wxDateTime *arg2 = (wxDateTime *) 0 ;
20893 bool result;
20894 PyObject * obj0 = 0 ;
20895 PyObject * obj1 = 0 ;
20896
20897 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20902 {
20903 PyThreadState* __tstate = wxPyBeginAllowThreads();
20904 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
20905
20906 wxPyEndAllowThreads(__tstate);
20907 if (PyErr_Occurred()) SWIG_fail;
20908 }
20909 {
20910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20911 }
20912 return resultobj;
20913 fail:
20914 return NULL;
20915}
20916
20917
20918static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20919 PyObject *resultobj;
20920 wxDateTime *arg1 = (wxDateTime *) 0 ;
20921 wxString *arg2 = 0 ;
20922 int result;
20923 bool temp2 = False ;
20924 PyObject * obj0 = 0 ;
20925 PyObject * obj1 = 0 ;
20926 char *kwnames[] = {
20927 (char *) "self",(char *) "date", NULL
20928 };
20929
20930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20933 {
20934 arg2 = wxString_in_helper(obj1);
20935 if (arg2 == NULL) SWIG_fail;
20936 temp2 = True;
20937 }
20938 {
20939 PyThreadState* __tstate = wxPyBeginAllowThreads();
20940 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20941
20942 wxPyEndAllowThreads(__tstate);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 }
20945 resultobj = SWIG_FromInt((int)result);
20946 {
20947 if (temp2)
20948 delete arg2;
20949 }
20950 return resultobj;
20951 fail:
20952 {
20953 if (temp2)
20954 delete arg2;
20955 }
20956 return NULL;
20957}
20958
20959
20960static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj;
20962 wxDateTime *arg1 = (wxDateTime *) 0 ;
20963 wxString *arg2 = 0 ;
20964 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20965 wxString *arg3 = (wxString *) &arg3_defvalue ;
20966 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20967 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20968 int result;
20969 bool temp2 = False ;
20970 bool temp3 = False ;
20971 PyObject * obj0 = 0 ;
20972 PyObject * obj1 = 0 ;
20973 PyObject * obj2 = 0 ;
20974 PyObject * obj3 = 0 ;
20975 char *kwnames[] = {
20976 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20977 };
20978
20979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20982 {
20983 arg2 = wxString_in_helper(obj1);
20984 if (arg2 == NULL) SWIG_fail;
20985 temp2 = True;
20986 }
20987 if (obj2) {
20988 {
20989 arg3 = wxString_in_helper(obj2);
20990 if (arg3 == NULL) SWIG_fail;
20991 temp3 = True;
20992 }
20993 }
20994 if (obj3) {
20995 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20996 SWIG_POINTER_EXCEPTION | 0)) == -1)
20997 SWIG_fail;
20998 if (arg4 == NULL) {
20999 PyErr_SetString(PyExc_TypeError,"null reference");
21000 SWIG_fail;
21001 }
21002 }
21003 {
21004 PyThreadState* __tstate = wxPyBeginAllowThreads();
21005 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
21006
21007 wxPyEndAllowThreads(__tstate);
21008 if (PyErr_Occurred()) SWIG_fail;
21009 }
21010 resultobj = SWIG_FromInt((int)result);
21011 {
21012 if (temp2)
21013 delete arg2;
21014 }
21015 {
21016 if (temp3)
21017 delete arg3;
21018 }
21019 return resultobj;
21020 fail:
21021 {
21022 if (temp2)
21023 delete arg2;
21024 }
21025 {
21026 if (temp3)
21027 delete arg3;
21028 }
21029 return NULL;
21030}
21031
21032
21033static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21034 PyObject *resultobj;
21035 wxDateTime *arg1 = (wxDateTime *) 0 ;
21036 wxString *arg2 = 0 ;
21037 int result;
21038 bool temp2 = False ;
21039 PyObject * obj0 = 0 ;
21040 PyObject * obj1 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "self",(char *) "datetime", NULL
21043 };
21044
21045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
21046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21048 {
21049 arg2 = wxString_in_helper(obj1);
21050 if (arg2 == NULL) SWIG_fail;
21051 temp2 = True;
21052 }
21053 {
21054 PyThreadState* __tstate = wxPyBeginAllowThreads();
21055 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
21056
21057 wxPyEndAllowThreads(__tstate);
21058 if (PyErr_Occurred()) SWIG_fail;
21059 }
21060 resultobj = SWIG_FromInt((int)result);
21061 {
21062 if (temp2)
21063 delete arg2;
21064 }
21065 return resultobj;
21066 fail:
21067 {
21068 if (temp2)
21069 delete arg2;
21070 }
21071 return NULL;
21072}
21073
21074
21075static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21076 PyObject *resultobj;
21077 wxDateTime *arg1 = (wxDateTime *) 0 ;
21078 wxString *arg2 = 0 ;
21079 int result;
21080 bool temp2 = False ;
21081 PyObject * obj0 = 0 ;
21082 PyObject * obj1 = 0 ;
21083 char *kwnames[] = {
21084 (char *) "self",(char *) "date", NULL
21085 };
21086
21087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
21088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21090 {
21091 arg2 = wxString_in_helper(obj1);
21092 if (arg2 == NULL) SWIG_fail;
21093 temp2 = True;
21094 }
21095 {
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
21098
21099 wxPyEndAllowThreads(__tstate);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 }
21102 resultobj = SWIG_FromInt((int)result);
21103 {
21104 if (temp2)
21105 delete arg2;
21106 }
21107 return resultobj;
21108 fail:
21109 {
21110 if (temp2)
21111 delete arg2;
21112 }
21113 return NULL;
21114}
21115
21116
21117static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21118 PyObject *resultobj;
21119 wxDateTime *arg1 = (wxDateTime *) 0 ;
21120 wxString *arg2 = 0 ;
21121 int result;
21122 bool temp2 = False ;
21123 PyObject * obj0 = 0 ;
21124 PyObject * obj1 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self",(char *) "time", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
21130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21132 {
21133 arg2 = wxString_in_helper(obj1);
21134 if (arg2 == NULL) SWIG_fail;
21135 temp2 = True;
21136 }
21137 {
21138 PyThreadState* __tstate = wxPyBeginAllowThreads();
21139 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
21140
21141 wxPyEndAllowThreads(__tstate);
21142 if (PyErr_Occurred()) SWIG_fail;
21143 }
21144 resultobj = SWIG_FromInt((int)result);
21145 {
21146 if (temp2)
21147 delete arg2;
21148 }
21149 return resultobj;
21150 fail:
21151 {
21152 if (temp2)
21153 delete arg2;
21154 }
21155 return NULL;
21156}
21157
21158
21159static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
21160 PyObject *resultobj;
21161 wxDateTime *arg1 = (wxDateTime *) 0 ;
21162 wxString const &arg2_defvalue = wxPyDateFormatStr ;
21163 wxString *arg2 = (wxString *) &arg2_defvalue ;
21164 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21165 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21166 wxString result;
21167 bool temp2 = False ;
21168 bool temp3 = False ;
21169 PyObject * obj0 = 0 ;
21170 PyObject * obj1 = 0 ;
21171 PyObject * obj2 = 0 ;
21172 char *kwnames[] = {
21173 (char *) "self",(char *) "format",(char *) "tz", NULL
21174 };
21175
21176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21179 if (obj1) {
21180 {
21181 arg2 = wxString_in_helper(obj1);
21182 if (arg2 == NULL) SWIG_fail;
21183 temp2 = True;
21184 }
21185 }
21186 if (obj2) {
21187 {
21188 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21189 temp3 = True;
21190 }
21191 }
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 {
21200#if wxUSE_UNICODE
21201 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21202#else
21203 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21204#endif
21205 }
21206 {
21207 if (temp2)
21208 delete arg2;
21209 }
21210 {
21211 if (temp3) delete arg3;
21212 }
21213 return resultobj;
21214 fail:
21215 {
21216 if (temp2)
21217 delete arg2;
21218 }
21219 {
21220 if (temp3) delete arg3;
21221 }
21222 return NULL;
21223}
21224
21225
21226static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21227 PyObject *resultobj;
21228 wxDateTime *arg1 = (wxDateTime *) 0 ;
21229 wxString result;
21230 PyObject * obj0 = 0 ;
21231 char *kwnames[] = {
21232 (char *) "self", NULL
21233 };
21234
21235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 result = ((wxDateTime const *)arg1)->FormatDate();
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 {
21246#if wxUSE_UNICODE
21247 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21248#else
21249 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21250#endif
21251 }
21252 return resultobj;
21253 fail:
21254 return NULL;
21255}
21256
21257
21258static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21259 PyObject *resultobj;
21260 wxDateTime *arg1 = (wxDateTime *) 0 ;
21261 wxString result;
21262 PyObject * obj0 = 0 ;
21263 char *kwnames[] = {
21264 (char *) "self", NULL
21265 };
21266
21267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21270 {
21271 PyThreadState* __tstate = wxPyBeginAllowThreads();
21272 result = ((wxDateTime const *)arg1)->FormatTime();
21273
21274 wxPyEndAllowThreads(__tstate);
21275 if (PyErr_Occurred()) SWIG_fail;
21276 }
21277 {
21278#if wxUSE_UNICODE
21279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21280#else
21281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21282#endif
21283 }
21284 return resultobj;
21285 fail:
21286 return NULL;
21287}
21288
21289
21290static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
21291 PyObject *resultobj;
21292 wxDateTime *arg1 = (wxDateTime *) 0 ;
21293 wxString result;
21294 PyObject * obj0 = 0 ;
21295 char *kwnames[] = {
21296 (char *) "self", NULL
21297 };
21298
21299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21302 {
21303 PyThreadState* __tstate = wxPyBeginAllowThreads();
21304 result = ((wxDateTime const *)arg1)->FormatISODate();
21305
21306 wxPyEndAllowThreads(__tstate);
21307 if (PyErr_Occurred()) SWIG_fail;
21308 }
21309 {
21310#if wxUSE_UNICODE
21311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21312#else
21313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21314#endif
21315 }
21316 return resultobj;
21317 fail:
21318 return NULL;
21319}
21320
21321
21322static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21323 PyObject *resultobj;
21324 wxDateTime *arg1 = (wxDateTime *) 0 ;
21325 wxString result;
21326 PyObject * obj0 = 0 ;
21327 char *kwnames[] = {
21328 (char *) "self", NULL
21329 };
21330
21331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 result = ((wxDateTime const *)arg1)->FormatISOTime();
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 {
21342#if wxUSE_UNICODE
21343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21344#else
21345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21346#endif
21347 }
21348 return resultobj;
21349 fail:
21350 return NULL;
21351}
21352
21353
21354static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
21355 PyObject *obj;
21356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21357 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21358 Py_INCREF(obj);
21359 return Py_BuildValue((char *)"");
21360}
21361static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21362 PyObject *resultobj;
21363 long arg1 ;
21364 wxTimeSpan result;
21365 PyObject * obj0 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "sec", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21371 arg1 = (long) SWIG_AsLong(obj0);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 {
21374 PyThreadState* __tstate = wxPyBeginAllowThreads();
21375 result = wxTimeSpan::Seconds(arg1);
21376
21377 wxPyEndAllowThreads(__tstate);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 {
21381 wxTimeSpan * resultptr;
21382 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21384 }
21385 return resultobj;
21386 fail:
21387 return NULL;
21388}
21389
21390
21391static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
21392 PyObject *resultobj;
21393 wxTimeSpan result;
21394 char *kwnames[] = {
21395 NULL
21396 };
21397
21398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21399 {
21400 PyThreadState* __tstate = wxPyBeginAllowThreads();
21401 result = wxTimeSpan::Second();
21402
21403 wxPyEndAllowThreads(__tstate);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 }
21406 {
21407 wxTimeSpan * resultptr;
21408 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21410 }
21411 return resultobj;
21412 fail:
21413 return NULL;
21414}
21415
21416
21417static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
21418 PyObject *resultobj;
21419 long arg1 ;
21420 wxTimeSpan result;
21421 PyObject * obj0 = 0 ;
21422 char *kwnames[] = {
21423 (char *) "min", NULL
21424 };
21425
21426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21427 arg1 = (long) SWIG_AsLong(obj0);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 {
21430 PyThreadState* __tstate = wxPyBeginAllowThreads();
21431 result = wxTimeSpan::Minutes(arg1);
21432
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 {
21437 wxTimeSpan * resultptr;
21438 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21440 }
21441 return resultobj;
21442 fail:
21443 return NULL;
21444}
21445
21446
21447static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
21448 PyObject *resultobj;
21449 wxTimeSpan result;
21450 char *kwnames[] = {
21451 NULL
21452 };
21453
21454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21455 {
21456 PyThreadState* __tstate = wxPyBeginAllowThreads();
21457 result = wxTimeSpan::Minute();
21458
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 {
21463 wxTimeSpan * resultptr;
21464 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21466 }
21467 return resultobj;
21468 fail:
21469 return NULL;
21470}
21471
21472
21473static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
21474 PyObject *resultobj;
21475 long arg1 ;
21476 wxTimeSpan result;
21477 PyObject * obj0 = 0 ;
21478 char *kwnames[] = {
21479 (char *) "hours", NULL
21480 };
21481
21482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21483 arg1 = (long) SWIG_AsLong(obj0);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 {
21486 PyThreadState* __tstate = wxPyBeginAllowThreads();
21487 result = wxTimeSpan::Hours(arg1);
21488
21489 wxPyEndAllowThreads(__tstate);
21490 if (PyErr_Occurred()) SWIG_fail;
21491 }
21492 {
21493 wxTimeSpan * resultptr;
21494 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21496 }
21497 return resultobj;
21498 fail:
21499 return NULL;
21500}
21501
21502
21503static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
21504 PyObject *resultobj;
21505 wxTimeSpan result;
21506 char *kwnames[] = {
21507 NULL
21508 };
21509
21510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21511 {
21512 PyThreadState* __tstate = wxPyBeginAllowThreads();
21513 result = wxTimeSpan::Hour();
21514
21515 wxPyEndAllowThreads(__tstate);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 {
21519 wxTimeSpan * resultptr;
21520 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21521 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21522 }
21523 return resultobj;
21524 fail:
21525 return NULL;
21526}
21527
21528
21529static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21530 PyObject *resultobj;
21531 long arg1 ;
21532 wxTimeSpan result;
21533 PyObject * obj0 = 0 ;
21534 char *kwnames[] = {
21535 (char *) "days", NULL
21536 };
21537
21538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21539 arg1 = (long) SWIG_AsLong(obj0);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 result = wxTimeSpan::Days(arg1);
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 {
21549 wxTimeSpan * resultptr;
21550 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21552 }
21553 return resultobj;
21554 fail:
21555 return NULL;
21556}
21557
21558
21559static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21560 PyObject *resultobj;
21561 wxTimeSpan result;
21562 char *kwnames[] = {
21563 NULL
21564 };
21565
21566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21567 {
21568 PyThreadState* __tstate = wxPyBeginAllowThreads();
21569 result = wxTimeSpan::Day();
21570
21571 wxPyEndAllowThreads(__tstate);
21572 if (PyErr_Occurred()) SWIG_fail;
21573 }
21574 {
21575 wxTimeSpan * resultptr;
21576 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21578 }
21579 return resultobj;
21580 fail:
21581 return NULL;
21582}
21583
21584
21585static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21586 PyObject *resultobj;
21587 long arg1 ;
21588 wxTimeSpan result;
21589 PyObject * obj0 = 0 ;
21590 char *kwnames[] = {
21591 (char *) "days", NULL
21592 };
21593
21594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21595 arg1 = (long) SWIG_AsLong(obj0);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 result = wxTimeSpan::Weeks(arg1);
21600
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 {
21605 wxTimeSpan * resultptr;
21606 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21608 }
21609 return resultobj;
21610 fail:
21611 return NULL;
21612}
21613
21614
21615static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21616 PyObject *resultobj;
21617 wxTimeSpan result;
21618 char *kwnames[] = {
21619 NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21623 {
21624 PyThreadState* __tstate = wxPyBeginAllowThreads();
21625 result = wxTimeSpan::Week();
21626
21627 wxPyEndAllowThreads(__tstate);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 {
21631 wxTimeSpan * resultptr;
21632 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21634 }
21635 return resultobj;
21636 fail:
21637 return NULL;
21638}
21639
21640
21641static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21642 PyObject *resultobj;
21643 long arg1 = (long) 0 ;
21644 long arg2 = (long) 0 ;
21645 long arg3 = (long) 0 ;
21646 long arg4 = (long) 0 ;
21647 wxTimeSpan *result;
21648 PyObject * obj0 = 0 ;
21649 PyObject * obj1 = 0 ;
21650 PyObject * obj2 = 0 ;
21651 PyObject * obj3 = 0 ;
21652 char *kwnames[] = {
21653 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21654 };
21655
21656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21657 if (obj0) {
21658 arg1 = (long) SWIG_AsLong(obj0);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 }
21661 if (obj1) {
21662 arg2 = (long) SWIG_AsLong(obj1);
21663 if (PyErr_Occurred()) SWIG_fail;
21664 }
21665 if (obj2) {
21666 arg3 = (long) SWIG_AsLong(obj2);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 }
21669 if (obj3) {
21670 arg4 = (long) SWIG_AsLong(obj3);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 {
21674 PyThreadState* __tstate = wxPyBeginAllowThreads();
21675 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21676
21677 wxPyEndAllowThreads(__tstate);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 }
21680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21681 return resultobj;
21682 fail:
21683 return NULL;
21684}
21685
21686
21687static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21688 PyObject *resultobj;
21689 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21690 PyObject * obj0 = 0 ;
21691 char *kwnames[] = {
21692 (char *) "self", NULL
21693 };
21694
21695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21698 {
21699 PyThreadState* __tstate = wxPyBeginAllowThreads();
21700 delete arg1;
21701
21702 wxPyEndAllowThreads(__tstate);
21703 if (PyErr_Occurred()) SWIG_fail;
21704 }
21705 Py_INCREF(Py_None); resultobj = Py_None;
21706 return resultobj;
21707 fail:
21708 return NULL;
21709}
21710
21711
21712static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21713 PyObject *resultobj;
21714 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21715 wxTimeSpan *arg2 = 0 ;
21716 wxTimeSpan *result;
21717 PyObject * obj0 = 0 ;
21718 PyObject * obj1 = 0 ;
21719 char *kwnames[] = {
21720 (char *) "self",(char *) "diff", NULL
21721 };
21722
21723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21727 SWIG_POINTER_EXCEPTION | 0)) == -1)
21728 SWIG_fail;
21729 if (arg2 == NULL) {
21730 PyErr_SetString(PyExc_TypeError,"null reference");
21731 SWIG_fail;
21732 }
21733 {
21734 PyThreadState* __tstate = wxPyBeginAllowThreads();
21735 {
21736 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21737 result = (wxTimeSpan *) &_result_ref;
21738 }
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21744 return resultobj;
21745 fail:
21746 return NULL;
21747}
21748
21749
21750static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21751 PyObject *resultobj;
21752 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21753 wxTimeSpan *arg2 = 0 ;
21754 wxTimeSpan *result;
21755 PyObject * obj0 = 0 ;
21756 PyObject * obj1 = 0 ;
21757 char *kwnames[] = {
21758 (char *) "self",(char *) "diff", NULL
21759 };
21760
21761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21764 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21765 SWIG_POINTER_EXCEPTION | 0)) == -1)
21766 SWIG_fail;
21767 if (arg2 == NULL) {
21768 PyErr_SetString(PyExc_TypeError,"null reference");
21769 SWIG_fail;
21770 }
21771 {
21772 PyThreadState* __tstate = wxPyBeginAllowThreads();
21773 {
21774 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21775 result = (wxTimeSpan *) &_result_ref;
21776 }
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
21781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21782 return resultobj;
21783 fail:
21784 return NULL;
21785}
21786
21787
21788static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21789 PyObject *resultobj;
21790 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21791 int arg2 ;
21792 wxTimeSpan *result;
21793 PyObject * obj0 = 0 ;
21794 PyObject * obj1 = 0 ;
21795 char *kwnames[] = {
21796 (char *) "self",(char *) "n", NULL
21797 };
21798
21799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21802 arg2 = (int) SWIG_AsInt(obj1);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 {
21807 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21808 result = (wxTimeSpan *) &_result_ref;
21809 }
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21815 return resultobj;
21816 fail:
21817 return NULL;
21818}
21819
21820
21821static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21822 PyObject *resultobj;
21823 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21824 wxTimeSpan *result;
21825 PyObject * obj0 = 0 ;
21826 char *kwnames[] = {
21827 (char *) "self", NULL
21828 };
21829
21830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21833 {
21834 PyThreadState* __tstate = wxPyBeginAllowThreads();
21835 {
21836 wxTimeSpan &_result_ref = (arg1)->Neg();
21837 result = (wxTimeSpan *) &_result_ref;
21838 }
21839
21840 wxPyEndAllowThreads(__tstate);
21841 if (PyErr_Occurred()) SWIG_fail;
21842 }
21843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21844 return resultobj;
21845 fail:
21846 return NULL;
21847}
21848
21849
21850static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21851 PyObject *resultobj;
21852 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21853 wxTimeSpan result;
21854 PyObject * obj0 = 0 ;
21855 char *kwnames[] = {
21856 (char *) "self", NULL
21857 };
21858
21859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21862 {
21863 PyThreadState* __tstate = wxPyBeginAllowThreads();
21864 result = ((wxTimeSpan const *)arg1)->Abs();
21865
21866 wxPyEndAllowThreads(__tstate);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 {
21870 wxTimeSpan * resultptr;
21871 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21873 }
21874 return resultobj;
21875 fail:
21876 return NULL;
21877}
21878
21879
21880static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21881 PyObject *resultobj;
21882 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21883 wxTimeSpan *arg2 = 0 ;
21884 wxTimeSpan *result;
21885 PyObject * obj0 = 0 ;
21886 PyObject * obj1 = 0 ;
21887 char *kwnames[] = {
21888 (char *) "self",(char *) "diff", NULL
21889 };
21890
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21895 SWIG_POINTER_EXCEPTION | 0)) == -1)
21896 SWIG_fail;
21897 if (arg2 == NULL) {
21898 PyErr_SetString(PyExc_TypeError,"null reference");
21899 SWIG_fail;
21900 }
21901 {
21902 PyThreadState* __tstate = wxPyBeginAllowThreads();
21903 {
21904 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21905 result = (wxTimeSpan *) &_result_ref;
21906 }
21907
21908 wxPyEndAllowThreads(__tstate);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 }
21911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21912 return resultobj;
21913 fail:
21914 return NULL;
21915}
21916
21917
21918static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21919 PyObject *resultobj;
21920 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21921 wxTimeSpan *arg2 = 0 ;
21922 wxTimeSpan *result;
21923 PyObject * obj0 = 0 ;
21924 PyObject * obj1 = 0 ;
21925 char *kwnames[] = {
21926 (char *) "self",(char *) "diff", NULL
21927 };
21928
21929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21933 SWIG_POINTER_EXCEPTION | 0)) == -1)
21934 SWIG_fail;
21935 if (arg2 == NULL) {
21936 PyErr_SetString(PyExc_TypeError,"null reference");
21937 SWIG_fail;
21938 }
21939 {
21940 PyThreadState* __tstate = wxPyBeginAllowThreads();
21941 {
21942 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21943 result = (wxTimeSpan *) &_result_ref;
21944 }
21945
21946 wxPyEndAllowThreads(__tstate);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21950 return resultobj;
21951 fail:
21952 return NULL;
21953}
21954
21955
21956static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21957 PyObject *resultobj;
21958 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21959 int arg2 ;
21960 wxTimeSpan *result;
21961 PyObject * obj0 = 0 ;
21962 PyObject * obj1 = 0 ;
21963 char *kwnames[] = {
21964 (char *) "self",(char *) "n", NULL
21965 };
21966
21967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21970 arg2 = (int) SWIG_AsInt(obj1);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 {
21975 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21976 result = (wxTimeSpan *) &_result_ref;
21977 }
21978
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21983 return resultobj;
21984 fail:
21985 return NULL;
21986}
21987
21988
21989static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21990 PyObject *resultobj;
21991 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21992 wxTimeSpan *result;
21993 PyObject * obj0 = 0 ;
21994 char *kwnames[] = {
21995 (char *) "self", NULL
21996 };
21997
21998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22001 {
22002 PyThreadState* __tstate = wxPyBeginAllowThreads();
22003 {
22004 wxTimeSpan &_result_ref = (arg1)->operator -();
22005 result = (wxTimeSpan *) &_result_ref;
22006 }
22007
22008 wxPyEndAllowThreads(__tstate);
22009 if (PyErr_Occurred()) SWIG_fail;
22010 }
22011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22012 return resultobj;
22013 fail:
22014 return NULL;
22015}
22016
22017
22018static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
22019 PyObject *resultobj;
22020 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22021 wxTimeSpan *arg2 = 0 ;
22022 wxTimeSpan result;
22023 PyObject * obj0 = 0 ;
22024 PyObject * obj1 = 0 ;
22025 char *kwnames[] = {
22026 (char *) "self",(char *) "other", NULL
22027 };
22028
22029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
22030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22033 SWIG_POINTER_EXCEPTION | 0)) == -1)
22034 SWIG_fail;
22035 if (arg2 == NULL) {
22036 PyErr_SetString(PyExc_TypeError,"null reference");
22037 SWIG_fail;
22038 }
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
22042
22043 wxPyEndAllowThreads(__tstate);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
22046 {
22047 wxTimeSpan * resultptr;
22048 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22050 }
22051 return resultobj;
22052 fail:
22053 return NULL;
22054}
22055
22056
22057static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
22058 PyObject *resultobj;
22059 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22060 wxTimeSpan *arg2 = 0 ;
22061 wxTimeSpan result;
22062 PyObject * obj0 = 0 ;
22063 PyObject * obj1 = 0 ;
22064 char *kwnames[] = {
22065 (char *) "self",(char *) "other", NULL
22066 };
22067
22068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
22069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22072 SWIG_POINTER_EXCEPTION | 0)) == -1)
22073 SWIG_fail;
22074 if (arg2 == NULL) {
22075 PyErr_SetString(PyExc_TypeError,"null reference");
22076 SWIG_fail;
22077 }
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 {
22086 wxTimeSpan * resultptr;
22087 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22089 }
22090 return resultobj;
22091 fail:
22092 return NULL;
22093}
22094
22095
22096static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22097 PyObject *resultobj;
22098 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22099 int arg2 ;
22100 wxTimeSpan result;
22101 PyObject * obj0 = 0 ;
22102 PyObject * obj1 = 0 ;
22103 char *kwnames[] = {
22104 (char *) "self",(char *) "n", NULL
22105 };
22106
22107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
22108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22110 arg2 = (int) SWIG_AsInt(obj1);
22111 if (PyErr_Occurred()) SWIG_fail;
22112 {
22113 PyThreadState* __tstate = wxPyBeginAllowThreads();
22114 result = wxTimeSpan___mul__(arg1,arg2);
22115
22116 wxPyEndAllowThreads(__tstate);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
22119 {
22120 wxTimeSpan * resultptr;
22121 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22123 }
22124 return resultobj;
22125 fail:
22126 return NULL;
22127}
22128
22129
22130static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22131 PyObject *resultobj;
22132 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22133 int arg2 ;
22134 wxTimeSpan result;
22135 PyObject * obj0 = 0 ;
22136 PyObject * obj1 = 0 ;
22137 char *kwnames[] = {
22138 (char *) "self",(char *) "n", NULL
22139 };
22140
22141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
22142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22144 arg2 = (int) SWIG_AsInt(obj1);
22145 if (PyErr_Occurred()) SWIG_fail;
22146 {
22147 PyThreadState* __tstate = wxPyBeginAllowThreads();
22148 result = wxTimeSpan___rmul__(arg1,arg2);
22149
22150 wxPyEndAllowThreads(__tstate);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 }
22153 {
22154 wxTimeSpan * resultptr;
22155 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22157 }
22158 return resultobj;
22159 fail:
22160 return NULL;
22161}
22162
22163
22164static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22167 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22168 bool result;
22169 PyObject * obj0 = 0 ;
22170 PyObject * obj1 = 0 ;
22171 char *kwnames[] = {
22172 (char *) "self",(char *) "other", NULL
22173 };
22174
22175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
22176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22183
22184 wxPyEndAllowThreads(__tstate);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 {
22188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22189 }
22190 return resultobj;
22191 fail:
22192 return NULL;
22193}
22194
22195
22196static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
22197 PyObject *resultobj;
22198 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22199 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22200 bool result;
22201 PyObject * obj0 = 0 ;
22202 PyObject * obj1 = 0 ;
22203 char *kwnames[] = {
22204 (char *) "self",(char *) "other", NULL
22205 };
22206
22207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22212 {
22213 PyThreadState* __tstate = wxPyBeginAllowThreads();
22214 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 {
22220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22221 }
22222 return resultobj;
22223 fail:
22224 return NULL;
22225}
22226
22227
22228static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22229 PyObject *resultobj;
22230 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22231 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22232 bool result;
22233 PyObject * obj0 = 0 ;
22234 PyObject * obj1 = 0 ;
22235 char *kwnames[] = {
22236 (char *) "self",(char *) "other", NULL
22237 };
22238
22239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22242 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 {
22252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22253 }
22254 return resultobj;
22255 fail:
22256 return NULL;
22257}
22258
22259
22260static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
22261 PyObject *resultobj;
22262 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22263 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22264 bool result;
22265 PyObject * obj0 = 0 ;
22266 PyObject * obj1 = 0 ;
22267 char *kwnames[] = {
22268 (char *) "self",(char *) "other", NULL
22269 };
22270
22271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22276 {
22277 PyThreadState* __tstate = wxPyBeginAllowThreads();
22278 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22279
22280 wxPyEndAllowThreads(__tstate);
22281 if (PyErr_Occurred()) SWIG_fail;
22282 }
22283 {
22284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22285 }
22286 return resultobj;
22287 fail:
22288 return NULL;
22289}
22290
22291
22292static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22293 PyObject *resultobj;
22294 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22295 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22296 bool result;
22297 PyObject * obj0 = 0 ;
22298 PyObject * obj1 = 0 ;
22299 char *kwnames[] = {
22300 (char *) "self",(char *) "other", NULL
22301 };
22302
22303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 {
22316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22317 }
22318 return resultobj;
22319 fail:
22320 return NULL;
22321}
22322
22323
22324static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22325 PyObject *resultobj;
22326 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22327 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22328 bool result;
22329 PyObject * obj0 = 0 ;
22330 PyObject * obj1 = 0 ;
22331 char *kwnames[] = {
22332 (char *) "self",(char *) "other", NULL
22333 };
22334
22335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22340 {
22341 PyThreadState* __tstate = wxPyBeginAllowThreads();
22342 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22343
22344 wxPyEndAllowThreads(__tstate);
22345 if (PyErr_Occurred()) SWIG_fail;
22346 }
22347 {
22348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22349 }
22350 return resultobj;
22351 fail:
22352 return NULL;
22353}
22354
22355
22356static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
22357 PyObject *resultobj;
22358 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22359 bool result;
22360 PyObject * obj0 = 0 ;
22361 char *kwnames[] = {
22362 (char *) "self", NULL
22363 };
22364
22365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22368 {
22369 PyThreadState* __tstate = wxPyBeginAllowThreads();
22370 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22371
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
22375 {
22376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22377 }
22378 return resultobj;
22379 fail:
22380 return NULL;
22381}
22382
22383
22384static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
22385 PyObject *resultobj;
22386 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22387 bool result;
22388 PyObject * obj0 = 0 ;
22389 char *kwnames[] = {
22390 (char *) "self", NULL
22391 };
22392
22393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22396 {
22397 PyThreadState* __tstate = wxPyBeginAllowThreads();
22398 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22399
22400 wxPyEndAllowThreads(__tstate);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
22403 {
22404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22405 }
22406 return resultobj;
22407 fail:
22408 return NULL;
22409}
22410
22411
22412static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
22413 PyObject *resultobj;
22414 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22415 bool result;
22416 PyObject * obj0 = 0 ;
22417 char *kwnames[] = {
22418 (char *) "self", NULL
22419 };
22420
22421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22424 {
22425 PyThreadState* __tstate = wxPyBeginAllowThreads();
22426 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22427
22428 wxPyEndAllowThreads(__tstate);
22429 if (PyErr_Occurred()) SWIG_fail;
22430 }
22431 {
22432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22433 }
22434 return resultobj;
22435 fail:
22436 return NULL;
22437}
22438
22439
22440static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22441 PyObject *resultobj;
22442 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22443 wxTimeSpan *arg2 = 0 ;
22444 bool result;
22445 PyObject * obj0 = 0 ;
22446 PyObject * obj1 = 0 ;
22447 char *kwnames[] = {
22448 (char *) "self",(char *) "ts", NULL
22449 };
22450
22451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22454 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22455 SWIG_POINTER_EXCEPTION | 0)) == -1)
22456 SWIG_fail;
22457 if (arg2 == NULL) {
22458 PyErr_SetString(PyExc_TypeError,"null reference");
22459 SWIG_fail;
22460 }
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22464
22465 wxPyEndAllowThreads(__tstate);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
22468 {
22469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22470 }
22471 return resultobj;
22472 fail:
22473 return NULL;
22474}
22475
22476
22477static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22478 PyObject *resultobj;
22479 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22480 wxTimeSpan *arg2 = 0 ;
22481 bool result;
22482 PyObject * obj0 = 0 ;
22483 PyObject * obj1 = 0 ;
22484 char *kwnames[] = {
22485 (char *) "self",(char *) "ts", NULL
22486 };
22487
22488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22492 SWIG_POINTER_EXCEPTION | 0)) == -1)
22493 SWIG_fail;
22494 if (arg2 == NULL) {
22495 PyErr_SetString(PyExc_TypeError,"null reference");
22496 SWIG_fail;
22497 }
22498 {
22499 PyThreadState* __tstate = wxPyBeginAllowThreads();
22500 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22501
22502 wxPyEndAllowThreads(__tstate);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 }
22505 {
22506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22507 }
22508 return resultobj;
22509 fail:
22510 return NULL;
22511}
22512
22513
22514static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22515 PyObject *resultobj;
22516 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22517 wxTimeSpan *arg2 = 0 ;
22518 bool result;
22519 PyObject * obj0 = 0 ;
22520 PyObject * obj1 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self",(char *) "t", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22529 SWIG_POINTER_EXCEPTION | 0)) == -1)
22530 SWIG_fail;
22531 if (arg2 == NULL) {
22532 PyErr_SetString(PyExc_TypeError,"null reference");
22533 SWIG_fail;
22534 }
22535 {
22536 PyThreadState* __tstate = wxPyBeginAllowThreads();
22537 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22538
22539 wxPyEndAllowThreads(__tstate);
22540 if (PyErr_Occurred()) SWIG_fail;
22541 }
22542 {
22543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22544 }
22545 return resultobj;
22546 fail:
22547 return NULL;
22548}
22549
22550
22551static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22552 PyObject *resultobj;
22553 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22554 int result;
22555 PyObject * obj0 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22566
22567 wxPyEndAllowThreads(__tstate);
22568 if (PyErr_Occurred()) SWIG_fail;
22569 }
22570 resultobj = SWIG_FromInt((int)result);
22571 return resultobj;
22572 fail:
22573 return NULL;
22574}
22575
22576
22577static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22578 PyObject *resultobj;
22579 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22580 int result;
22581 PyObject * obj0 = 0 ;
22582 char *kwnames[] = {
22583 (char *) "self", NULL
22584 };
22585
22586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22589 {
22590 PyThreadState* __tstate = wxPyBeginAllowThreads();
22591 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22592
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
22596 resultobj = SWIG_FromInt((int)result);
22597 return resultobj;
22598 fail:
22599 return NULL;
22600}
22601
22602
22603static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22604 PyObject *resultobj;
22605 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22606 int result;
22607 PyObject * obj0 = 0 ;
22608 char *kwnames[] = {
22609 (char *) "self", NULL
22610 };
22611
22612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22617 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
22622 resultobj = SWIG_FromInt((int)result);
22623 return resultobj;
22624 fail:
22625 return NULL;
22626}
22627
22628
22629static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22632 int result;
22633 PyObject * obj0 = 0 ;
22634 char *kwnames[] = {
22635 (char *) "self", NULL
22636 };
22637
22638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22641 {
22642 PyThreadState* __tstate = wxPyBeginAllowThreads();
22643 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22644
22645 wxPyEndAllowThreads(__tstate);
22646 if (PyErr_Occurred()) SWIG_fail;
22647 }
22648 resultobj = SWIG_FromInt((int)result);
22649 return resultobj;
22650 fail:
22651 return NULL;
22652}
22653
22654
22655static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22656 PyObject *resultobj;
22657 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22658 wxLongLong result;
22659 PyObject * obj0 = 0 ;
22660 char *kwnames[] = {
22661 (char *) "self", NULL
22662 };
22663
22664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22667 {
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 {
22675 PyObject *hi, *lo, *shifter, *shifted;
22676 hi = PyLong_FromLong( (&result)->GetHi() );
22677 lo = PyLong_FromLong( (&result)->GetLo() );
22678 shifter = PyLong_FromLong(32);
22679 shifted = PyNumber_Lshift(hi, shifter);
22680 resultobj = PyNumber_Or(shifted, lo);
22681 Py_DECREF(hi);
22682 Py_DECREF(lo);
22683 Py_DECREF(shifter);
22684 Py_DECREF(shifted);
22685 }
22686 return resultobj;
22687 fail:
22688 return NULL;
22689}
22690
22691
22692static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22695 wxLongLong result;
22696 PyObject * obj0 = 0 ;
22697 char *kwnames[] = {
22698 (char *) "self", NULL
22699 };
22700
22701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22704 {
22705 PyThreadState* __tstate = wxPyBeginAllowThreads();
22706 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22707
22708 wxPyEndAllowThreads(__tstate);
22709 if (PyErr_Occurred()) SWIG_fail;
22710 }
22711 {
22712 PyObject *hi, *lo, *shifter, *shifted;
22713 hi = PyLong_FromLong( (&result)->GetHi() );
22714 lo = PyLong_FromLong( (&result)->GetLo() );
22715 shifter = PyLong_FromLong(32);
22716 shifted = PyNumber_Lshift(hi, shifter);
22717 resultobj = PyNumber_Or(shifted, lo);
22718 Py_DECREF(hi);
22719 Py_DECREF(lo);
22720 Py_DECREF(shifter);
22721 Py_DECREF(shifted);
22722 }
22723 return resultobj;
22724 fail:
22725 return NULL;
22726}
22727
22728
22729static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22730 PyObject *resultobj;
22731 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22732 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22733 wxString *arg2 = (wxString *) &arg2_defvalue ;
22734 wxString result;
22735 bool temp2 = False ;
22736 PyObject * obj0 = 0 ;
22737 PyObject * obj1 = 0 ;
22738 char *kwnames[] = {
22739 (char *) "self",(char *) "format", NULL
22740 };
22741
22742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22745 if (obj1) {
22746 {
22747 arg2 = wxString_in_helper(obj1);
22748 if (arg2 == NULL) SWIG_fail;
22749 temp2 = True;
22750 }
22751 }
22752 {
22753 PyThreadState* __tstate = wxPyBeginAllowThreads();
22754 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22755
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 {
22760#if wxUSE_UNICODE
22761 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22762#else
22763 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22764#endif
22765 }
22766 {
22767 if (temp2)
22768 delete arg2;
22769 }
22770 return resultobj;
22771 fail:
22772 {
22773 if (temp2)
22774 delete arg2;
22775 }
22776 return NULL;
22777}
22778
22779
22780static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22781 PyObject *obj;
22782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22783 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22784 Py_INCREF(obj);
22785 return Py_BuildValue((char *)"");
22786}
22787static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22788 PyObject *resultobj;
22789 int arg1 = (int) 0 ;
22790 int arg2 = (int) 0 ;
22791 int arg3 = (int) 0 ;
22792 int arg4 = (int) 0 ;
22793 wxDateSpan *result;
22794 PyObject * obj0 = 0 ;
22795 PyObject * obj1 = 0 ;
22796 PyObject * obj2 = 0 ;
22797 PyObject * obj3 = 0 ;
22798 char *kwnames[] = {
22799 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22800 };
22801
22802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22803 if (obj0) {
22804 arg1 = (int) SWIG_AsInt(obj0);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 if (obj1) {
22808 arg2 = (int) SWIG_AsInt(obj1);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 if (obj2) {
22812 arg3 = (int) SWIG_AsInt(obj2);
22813 if (PyErr_Occurred()) SWIG_fail;
22814 }
22815 if (obj3) {
22816 arg4 = (int) SWIG_AsInt(obj3);
22817 if (PyErr_Occurred()) SWIG_fail;
22818 }
22819 {
22820 PyThreadState* __tstate = wxPyBeginAllowThreads();
22821 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22822
22823 wxPyEndAllowThreads(__tstate);
22824 if (PyErr_Occurred()) SWIG_fail;
22825 }
22826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
22827 return resultobj;
22828 fail:
22829 return NULL;
22830}
22831
22832
22833static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22834 PyObject *resultobj;
22835 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22836 PyObject * obj0 = 0 ;
22837 char *kwnames[] = {
22838 (char *) "self", NULL
22839 };
22840
22841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22844 {
22845 PyThreadState* __tstate = wxPyBeginAllowThreads();
22846 delete arg1;
22847
22848 wxPyEndAllowThreads(__tstate);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 }
22851 Py_INCREF(Py_None); resultobj = Py_None;
22852 return resultobj;
22853 fail:
22854 return NULL;
22855}
22856
22857
22858static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22859 PyObject *resultobj;
22860 int arg1 ;
22861 wxDateSpan result;
22862 PyObject * obj0 = 0 ;
22863 char *kwnames[] = {
22864 (char *) "days", NULL
22865 };
22866
22867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22868 arg1 = (int) SWIG_AsInt(obj0);
22869 if (PyErr_Occurred()) SWIG_fail;
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22872 result = wxDateSpan::Days(arg1);
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
22877 {
22878 wxDateSpan * resultptr;
22879 resultptr = new wxDateSpan((wxDateSpan &) result);
22880 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22881 }
22882 return resultobj;
22883 fail:
22884 return NULL;
22885}
22886
22887
22888static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22889 PyObject *resultobj;
22890 wxDateSpan result;
22891 char *kwnames[] = {
22892 NULL
22893 };
22894
22895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 result = wxDateSpan::Day();
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 {
22904 wxDateSpan * resultptr;
22905 resultptr = new wxDateSpan((wxDateSpan &) result);
22906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22907 }
22908 return resultobj;
22909 fail:
22910 return NULL;
22911}
22912
22913
22914static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22915 PyObject *resultobj;
22916 int arg1 ;
22917 wxDateSpan result;
22918 PyObject * obj0 = 0 ;
22919 char *kwnames[] = {
22920 (char *) "weeks", NULL
22921 };
22922
22923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22924 arg1 = (int) SWIG_AsInt(obj0);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 result = wxDateSpan::Weeks(arg1);
22929
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 {
22934 wxDateSpan * resultptr;
22935 resultptr = new wxDateSpan((wxDateSpan &) result);
22936 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22937 }
22938 return resultobj;
22939 fail:
22940 return NULL;
22941}
22942
22943
22944static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxDateSpan result;
22947 char *kwnames[] = {
22948 NULL
22949 };
22950
22951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22952 {
22953 PyThreadState* __tstate = wxPyBeginAllowThreads();
22954 result = wxDateSpan::Week();
22955
22956 wxPyEndAllowThreads(__tstate);
22957 if (PyErr_Occurred()) SWIG_fail;
22958 }
22959 {
22960 wxDateSpan * resultptr;
22961 resultptr = new wxDateSpan((wxDateSpan &) result);
22962 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22963 }
22964 return resultobj;
22965 fail:
22966 return NULL;
22967}
22968
22969
22970static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22971 PyObject *resultobj;
22972 int arg1 ;
22973 wxDateSpan result;
22974 PyObject * obj0 = 0 ;
22975 char *kwnames[] = {
22976 (char *) "mon", NULL
22977 };
22978
22979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22980 arg1 = (int) SWIG_AsInt(obj0);
22981 if (PyErr_Occurred()) SWIG_fail;
22982 {
22983 PyThreadState* __tstate = wxPyBeginAllowThreads();
22984 result = wxDateSpan::Months(arg1);
22985
22986 wxPyEndAllowThreads(__tstate);
22987 if (PyErr_Occurred()) SWIG_fail;
22988 }
22989 {
22990 wxDateSpan * resultptr;
22991 resultptr = new wxDateSpan((wxDateSpan &) result);
22992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22993 }
22994 return resultobj;
22995 fail:
22996 return NULL;
22997}
22998
22999
23000static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
23001 PyObject *resultobj;
23002 wxDateSpan result;
23003 char *kwnames[] = {
23004 NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
23008 {
23009 PyThreadState* __tstate = wxPyBeginAllowThreads();
23010 result = wxDateSpan::Month();
23011
23012 wxPyEndAllowThreads(__tstate);
23013 if (PyErr_Occurred()) SWIG_fail;
23014 }
23015 {
23016 wxDateSpan * resultptr;
23017 resultptr = new wxDateSpan((wxDateSpan &) result);
23018 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23019 }
23020 return resultobj;
23021 fail:
23022 return NULL;
23023}
23024
23025
23026static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
23027 PyObject *resultobj;
23028 int arg1 ;
23029 wxDateSpan result;
23030 PyObject * obj0 = 0 ;
23031 char *kwnames[] = {
23032 (char *) "years", NULL
23033 };
23034
23035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
23036 arg1 = (int) SWIG_AsInt(obj0);
23037 if (PyErr_Occurred()) SWIG_fail;
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 result = wxDateSpan::Years(arg1);
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 {
23046 wxDateSpan * resultptr;
23047 resultptr = new wxDateSpan((wxDateSpan &) result);
23048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23049 }
23050 return resultobj;
23051 fail:
23052 return NULL;
23053}
23054
23055
23056static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
23057 PyObject *resultobj;
23058 wxDateSpan result;
23059 char *kwnames[] = {
23060 NULL
23061 };
23062
23063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 result = wxDateSpan::Year();
23067
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 {
23072 wxDateSpan * resultptr;
23073 resultptr = new wxDateSpan((wxDateSpan &) result);
23074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23075 }
23076 return resultobj;
23077 fail:
23078 return NULL;
23079}
23080
23081
23082static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23083 PyObject *resultobj;
23084 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23085 int arg2 ;
23086 wxDateSpan *result;
23087 PyObject * obj0 = 0 ;
23088 PyObject * obj1 = 0 ;
23089 char *kwnames[] = {
23090 (char *) "self",(char *) "n", NULL
23091 };
23092
23093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
23094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23096 arg2 = (int) SWIG_AsInt(obj1);
23097 if (PyErr_Occurred()) SWIG_fail;
23098 {
23099 PyThreadState* __tstate = wxPyBeginAllowThreads();
23100 {
23101 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
23102 result = (wxDateSpan *) &_result_ref;
23103 }
23104
23105 wxPyEndAllowThreads(__tstate);
23106 if (PyErr_Occurred()) SWIG_fail;
23107 }
23108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23109 return resultobj;
23110 fail:
23111 return NULL;
23112}
23113
23114
23115static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23116 PyObject *resultobj;
23117 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23118 int arg2 ;
23119 wxDateSpan *result;
23120 PyObject * obj0 = 0 ;
23121 PyObject * obj1 = 0 ;
23122 char *kwnames[] = {
23123 (char *) "self",(char *) "n", NULL
23124 };
23125
23126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
23127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23129 arg2 = (int) SWIG_AsInt(obj1);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 {
23132 PyThreadState* __tstate = wxPyBeginAllowThreads();
23133 {
23134 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
23135 result = (wxDateSpan *) &_result_ref;
23136 }
23137
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23142 return resultobj;
23143 fail:
23144 return NULL;
23145}
23146
23147
23148static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23149 PyObject *resultobj;
23150 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23151 int arg2 ;
23152 wxDateSpan *result;
23153 PyObject * obj0 = 0 ;
23154 PyObject * obj1 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self",(char *) "n", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
23160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23162 arg2 = (int) SWIG_AsInt(obj1);
23163 if (PyErr_Occurred()) SWIG_fail;
23164 {
23165 PyThreadState* __tstate = wxPyBeginAllowThreads();
23166 {
23167 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
23168 result = (wxDateSpan *) &_result_ref;
23169 }
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23175 return resultobj;
23176 fail:
23177 return NULL;
23178}
23179
23180
23181static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23182 PyObject *resultobj;
23183 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23184 int arg2 ;
23185 wxDateSpan *result;
23186 PyObject * obj0 = 0 ;
23187 PyObject * obj1 = 0 ;
23188 char *kwnames[] = {
23189 (char *) "self",(char *) "n", NULL
23190 };
23191
23192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23195 arg2 = (int) SWIG_AsInt(obj1);
23196 if (PyErr_Occurred()) SWIG_fail;
23197 {
23198 PyThreadState* __tstate = wxPyBeginAllowThreads();
23199 {
23200 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23201 result = (wxDateSpan *) &_result_ref;
23202 }
23203
23204 wxPyEndAllowThreads(__tstate);
23205 if (PyErr_Occurred()) SWIG_fail;
23206 }
23207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23208 return resultobj;
23209 fail:
23210 return NULL;
23211}
23212
23213
23214static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23215 PyObject *resultobj;
23216 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23217 int result;
23218 PyObject * obj0 = 0 ;
23219 char *kwnames[] = {
23220 (char *) "self", NULL
23221 };
23222
23223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23226 {
23227 PyThreadState* __tstate = wxPyBeginAllowThreads();
23228 result = (int)((wxDateSpan const *)arg1)->GetYears();
23229
23230 wxPyEndAllowThreads(__tstate);
23231 if (PyErr_Occurred()) SWIG_fail;
23232 }
23233 resultobj = SWIG_FromInt((int)result);
23234 return resultobj;
23235 fail:
23236 return NULL;
23237}
23238
23239
23240static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23241 PyObject *resultobj;
23242 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23243 int result;
23244 PyObject * obj0 = 0 ;
23245 char *kwnames[] = {
23246 (char *) "self", NULL
23247 };
23248
23249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23252 {
23253 PyThreadState* __tstate = wxPyBeginAllowThreads();
23254 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23255
23256 wxPyEndAllowThreads(__tstate);
23257 if (PyErr_Occurred()) SWIG_fail;
23258 }
23259 resultobj = SWIG_FromInt((int)result);
23260 return resultobj;
23261 fail:
23262 return NULL;
23263}
23264
23265
23266static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23267 PyObject *resultobj;
23268 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23269 int result;
23270 PyObject * obj0 = 0 ;
23271 char *kwnames[] = {
23272 (char *) "self", NULL
23273 };
23274
23275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23278 {
23279 PyThreadState* __tstate = wxPyBeginAllowThreads();
23280 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23281
23282 wxPyEndAllowThreads(__tstate);
23283 if (PyErr_Occurred()) SWIG_fail;
23284 }
23285 resultobj = SWIG_FromInt((int)result);
23286 return resultobj;
23287 fail:
23288 return NULL;
23289}
23290
23291
23292static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23293 PyObject *resultobj;
23294 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23295 int result;
23296 PyObject * obj0 = 0 ;
23297 char *kwnames[] = {
23298 (char *) "self", NULL
23299 };
23300
23301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23304 {
23305 PyThreadState* __tstate = wxPyBeginAllowThreads();
23306 result = (int)((wxDateSpan const *)arg1)->GetDays();
23307
23308 wxPyEndAllowThreads(__tstate);
23309 if (PyErr_Occurred()) SWIG_fail;
23310 }
23311 resultobj = SWIG_FromInt((int)result);
23312 return resultobj;
23313 fail:
23314 return NULL;
23315}
23316
23317
23318static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23319 PyObject *resultobj;
23320 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23321 int result;
23322 PyObject * obj0 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 resultobj = SWIG_FromInt((int)result);
23338 return resultobj;
23339 fail:
23340 return NULL;
23341}
23342
23343
23344static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
23345 PyObject *resultobj;
23346 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23347 wxDateSpan *arg2 = 0 ;
23348 wxDateSpan *result;
23349 PyObject * obj0 = 0 ;
23350 PyObject * obj1 = 0 ;
23351 char *kwnames[] = {
23352 (char *) "self",(char *) "other", NULL
23353 };
23354
23355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23359 SWIG_POINTER_EXCEPTION | 0)) == -1)
23360 SWIG_fail;
23361 if (arg2 == NULL) {
23362 PyErr_SetString(PyExc_TypeError,"null reference");
23363 SWIG_fail;
23364 }
23365 {
23366 PyThreadState* __tstate = wxPyBeginAllowThreads();
23367 {
23368 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23369 result = (wxDateSpan *) &_result_ref;
23370 }
23371
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23376 return resultobj;
23377 fail:
23378 return NULL;
23379}
23380
23381
23382static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
23383 PyObject *resultobj;
23384 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23385 wxDateSpan *arg2 = 0 ;
23386 wxDateSpan *result;
23387 PyObject * obj0 = 0 ;
23388 PyObject * obj1 = 0 ;
23389 char *kwnames[] = {
23390 (char *) "self",(char *) "other", NULL
23391 };
23392
23393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23397 SWIG_POINTER_EXCEPTION | 0)) == -1)
23398 SWIG_fail;
23399 if (arg2 == NULL) {
23400 PyErr_SetString(PyExc_TypeError,"null reference");
23401 SWIG_fail;
23402 }
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 {
23406 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23407 result = (wxDateSpan *) &_result_ref;
23408 }
23409
23410 wxPyEndAllowThreads(__tstate);
23411 if (PyErr_Occurred()) SWIG_fail;
23412 }
23413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23414 return resultobj;
23415 fail:
23416 return NULL;
23417}
23418
23419
23420static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
23421 PyObject *resultobj;
23422 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23423 wxDateSpan *result;
23424 PyObject * obj0 = 0 ;
23425 char *kwnames[] = {
23426 (char *) "self", NULL
23427 };
23428
23429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 {
23435 wxDateSpan &_result_ref = (arg1)->Neg();
23436 result = (wxDateSpan *) &_result_ref;
23437 }
23438
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23443 return resultobj;
23444 fail:
23445 return NULL;
23446}
23447
23448
23449static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
23450 PyObject *resultobj;
23451 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23452 int arg2 ;
23453 wxDateSpan *result;
23454 PyObject * obj0 = 0 ;
23455 PyObject * obj1 = 0 ;
23456 char *kwnames[] = {
23457 (char *) "self",(char *) "factor", NULL
23458 };
23459
23460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23463 arg2 = (int) SWIG_AsInt(obj1);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 {
23466 PyThreadState* __tstate = wxPyBeginAllowThreads();
23467 {
23468 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23469 result = (wxDateSpan *) &_result_ref;
23470 }
23471
23472 wxPyEndAllowThreads(__tstate);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
23475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23476 return resultobj;
23477 fail:
23478 return NULL;
23479}
23480
23481
23482static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
23483 PyObject *resultobj;
23484 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23485 wxDateSpan *arg2 = 0 ;
23486 wxDateSpan *result;
23487 PyObject * obj0 = 0 ;
23488 PyObject * obj1 = 0 ;
23489 char *kwnames[] = {
23490 (char *) "self",(char *) "other", NULL
23491 };
23492
23493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23497 SWIG_POINTER_EXCEPTION | 0)) == -1)
23498 SWIG_fail;
23499 if (arg2 == NULL) {
23500 PyErr_SetString(PyExc_TypeError,"null reference");
23501 SWIG_fail;
23502 }
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
23505 {
23506 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23507 result = (wxDateSpan *) &_result_ref;
23508 }
23509
23510 wxPyEndAllowThreads(__tstate);
23511 if (PyErr_Occurred()) SWIG_fail;
23512 }
23513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23514 return resultobj;
23515 fail:
23516 return NULL;
23517}
23518
23519
23520static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23521 PyObject *resultobj;
23522 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23523 wxDateSpan *arg2 = 0 ;
23524 wxDateSpan *result;
23525 PyObject * obj0 = 0 ;
23526 PyObject * obj1 = 0 ;
23527 char *kwnames[] = {
23528 (char *) "self",(char *) "other", NULL
23529 };
23530
23531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23535 SWIG_POINTER_EXCEPTION | 0)) == -1)
23536 SWIG_fail;
23537 if (arg2 == NULL) {
23538 PyErr_SetString(PyExc_TypeError,"null reference");
23539 SWIG_fail;
23540 }
23541 {
23542 PyThreadState* __tstate = wxPyBeginAllowThreads();
23543 {
23544 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23545 result = (wxDateSpan *) &_result_ref;
23546 }
23547
23548 wxPyEndAllowThreads(__tstate);
23549 if (PyErr_Occurred()) SWIG_fail;
23550 }
23551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23552 return resultobj;
23553 fail:
23554 return NULL;
23555}
23556
23557
23558static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23561 wxDateSpan *result;
23562 PyObject * obj0 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self", NULL
23565 };
23566
23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 {
23573 wxDateSpan &_result_ref = (arg1)->operator -();
23574 result = (wxDateSpan *) &_result_ref;
23575 }
23576
23577 wxPyEndAllowThreads(__tstate);
23578 if (PyErr_Occurred()) SWIG_fail;
23579 }
23580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23581 return resultobj;
23582 fail:
23583 return NULL;
23584}
23585
23586
23587static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23588 PyObject *resultobj;
23589 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23590 int arg2 ;
23591 wxDateSpan *result;
23592 PyObject * obj0 = 0 ;
23593 PyObject * obj1 = 0 ;
23594 char *kwnames[] = {
23595 (char *) "self",(char *) "factor", NULL
23596 };
23597
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23601 arg2 = (int) SWIG_AsInt(obj1);
23602 if (PyErr_Occurred()) SWIG_fail;
23603 {
23604 PyThreadState* __tstate = wxPyBeginAllowThreads();
23605 {
23606 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23607 result = (wxDateSpan *) &_result_ref;
23608 }
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23614 return resultobj;
23615 fail:
23616 return NULL;
23617}
23618
23619
23620static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23621 PyObject *resultobj;
23622 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23623 wxDateSpan *arg2 = 0 ;
23624 wxDateSpan result;
23625 PyObject * obj0 = 0 ;
23626 PyObject * obj1 = 0 ;
23627 char *kwnames[] = {
23628 (char *) "self",(char *) "other", NULL
23629 };
23630
23631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23635 SWIG_POINTER_EXCEPTION | 0)) == -1)
23636 SWIG_fail;
23637 if (arg2 == NULL) {
23638 PyErr_SetString(PyExc_TypeError,"null reference");
23639 SWIG_fail;
23640 }
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23644
23645 wxPyEndAllowThreads(__tstate);
23646 if (PyErr_Occurred()) SWIG_fail;
23647 }
23648 {
23649 wxDateSpan * resultptr;
23650 resultptr = new wxDateSpan((wxDateSpan &) result);
23651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23652 }
23653 return resultobj;
23654 fail:
23655 return NULL;
23656}
23657
23658
23659static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23660 PyObject *resultobj;
23661 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23662 wxDateSpan *arg2 = 0 ;
23663 wxDateSpan result;
23664 PyObject * obj0 = 0 ;
23665 PyObject * obj1 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self",(char *) "other", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23674 SWIG_POINTER_EXCEPTION | 0)) == -1)
23675 SWIG_fail;
23676 if (arg2 == NULL) {
23677 PyErr_SetString(PyExc_TypeError,"null reference");
23678 SWIG_fail;
23679 }
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23683
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 {
23688 wxDateSpan * resultptr;
23689 resultptr = new wxDateSpan((wxDateSpan &) result);
23690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23691 }
23692 return resultobj;
23693 fail:
23694 return NULL;
23695}
23696
23697
23698static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23699 PyObject *resultobj;
23700 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23701 int arg2 ;
23702 wxDateSpan result;
23703 PyObject * obj0 = 0 ;
23704 PyObject * obj1 = 0 ;
23705 char *kwnames[] = {
23706 (char *) "self",(char *) "n", NULL
23707 };
23708
23709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23712 arg2 = (int) SWIG_AsInt(obj1);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 result = wxDateSpan___mul__(arg1,arg2);
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 {
23722 wxDateSpan * resultptr;
23723 resultptr = new wxDateSpan((wxDateSpan &) result);
23724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23725 }
23726 return resultobj;
23727 fail:
23728 return NULL;
23729}
23730
23731
23732static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23733 PyObject *resultobj;
23734 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23735 int arg2 ;
23736 wxDateSpan result;
23737 PyObject * obj0 = 0 ;
23738 PyObject * obj1 = 0 ;
23739 char *kwnames[] = {
23740 (char *) "self",(char *) "n", NULL
23741 };
23742
23743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23746 arg2 = (int) SWIG_AsInt(obj1);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 result = wxDateSpan___rmul__(arg1,arg2);
23751
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 {
23756 wxDateSpan * resultptr;
23757 resultptr = new wxDateSpan((wxDateSpan &) result);
23758 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23759 }
23760 return resultobj;
23761 fail:
23762 return NULL;
23763}
23764
23765
23766static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23767 PyObject *resultobj;
23768 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23769 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23770 bool result;
23771 PyObject * obj0 = 0 ;
23772 PyObject * obj1 = 0 ;
23773 char *kwnames[] = {
23774 (char *) "self",(char *) "other", NULL
23775 };
23776
23777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23782 {
23783 PyThreadState* __tstate = wxPyBeginAllowThreads();
23784 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
23785
23786 wxPyEndAllowThreads(__tstate);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 }
23789 {
23790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23791 }
23792 return resultobj;
23793 fail:
23794 return NULL;
23795}
23796
23797
23798static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23799 PyObject *resultobj;
23800 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23801 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23802 bool result;
23803 PyObject * obj0 = 0 ;
23804 PyObject * obj1 = 0 ;
23805 char *kwnames[] = {
23806 (char *) "self",(char *) "other", NULL
23807 };
23808
23809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 {
23822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23823 }
23824 return resultobj;
23825 fail:
23826 return NULL;
23827}
23828
23829
23830static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23831 PyObject *obj;
23832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23833 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23834 Py_INCREF(obj);
23835 return Py_BuildValue((char *)"");
23836}
23837static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23838 PyObject *resultobj;
23839 long result;
23840 char *kwnames[] = {
23841 NULL
23842 };
23843
23844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 result = (long)wxGetLocalTime();
23848
23849 wxPyEndAllowThreads(__tstate);
23850 if (PyErr_Occurred()) SWIG_fail;
23851 }
23852 resultobj = SWIG_FromLong((long)result);
23853 return resultobj;
23854 fail:
23855 return NULL;
23856}
23857
23858
23859static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23860 PyObject *resultobj;
23861 long result;
23862 char *kwnames[] = {
23863 NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23867 {
23868 PyThreadState* __tstate = wxPyBeginAllowThreads();
23869 result = (long)wxGetUTCTime();
23870
23871 wxPyEndAllowThreads(__tstate);
23872 if (PyErr_Occurred()) SWIG_fail;
23873 }
23874 resultobj = SWIG_FromLong((long)result);
23875 return resultobj;
23876 fail:
23877 return NULL;
23878}
23879
23880
23881static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23882 PyObject *resultobj;
23883 long result;
23884 char *kwnames[] = {
23885 NULL
23886 };
23887
23888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23889 {
23890 PyThreadState* __tstate = wxPyBeginAllowThreads();
23891 result = (long)wxGetCurrentTime();
23892
23893 wxPyEndAllowThreads(__tstate);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 }
23896 resultobj = SWIG_FromLong((long)result);
23897 return resultobj;
23898 fail:
23899 return NULL;
23900}
23901
23902
23903static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23904 PyObject *resultobj;
23905 wxLongLong result;
23906 char *kwnames[] = {
23907 NULL
23908 };
23909
23910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = wxGetLocalTimeMillis();
23914
23915 wxPyEndAllowThreads(__tstate);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 }
23918 {
23919 PyObject *hi, *lo, *shifter, *shifted;
23920 hi = PyLong_FromLong( (&result)->GetHi() );
23921 lo = PyLong_FromLong( (&result)->GetLo() );
23922 shifter = PyLong_FromLong(32);
23923 shifted = PyNumber_Lshift(hi, shifter);
23924 resultobj = PyNumber_Or(shifted, lo);
23925 Py_DECREF(hi);
23926 Py_DECREF(lo);
23927 Py_DECREF(shifter);
23928 Py_DECREF(shifted);
23929 }
23930 return resultobj;
23931 fail:
23932 return NULL;
23933}
23934
23935
23936static int _wrap_DefaultDateTime_set(PyObject *_val) {
23937 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23938 return 1;
23939}
23940
23941
23942static PyObject *_wrap_DefaultDateTime_get() {
23943 PyObject *pyobj;
23944
23945 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
23946 return pyobj;
23947}
23948
23949
23950static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23951 PyObject *resultobj;
23952 int arg1 ;
23953 wxDataFormat *result;
23954 PyObject * obj0 = 0 ;
23955 char *kwnames[] = {
23956 (char *) "type", NULL
23957 };
23958
23959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23960 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23961 if (PyErr_Occurred()) SWIG_fail;
23962 {
23963 PyThreadState* __tstate = wxPyBeginAllowThreads();
23964 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23965
23966 wxPyEndAllowThreads(__tstate);
23967 if (PyErr_Occurred()) SWIG_fail;
23968 }
23969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23970 return resultobj;
23971 fail:
23972 return NULL;
23973}
23974
23975
23976static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23977 PyObject *resultobj;
23978 wxString *arg1 = 0 ;
23979 wxDataFormat *result;
23980 bool temp1 = False ;
23981 PyObject * obj0 = 0 ;
23982 char *kwnames[] = {
23983 (char *) "format", NULL
23984 };
23985
23986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23987 {
23988 arg1 = wxString_in_helper(obj0);
23989 if (arg1 == NULL) SWIG_fail;
23990 temp1 = True;
23991 }
23992 {
23993 PyThreadState* __tstate = wxPyBeginAllowThreads();
23994 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23995
23996 wxPyEndAllowThreads(__tstate);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 }
23999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
24000 {
24001 if (temp1)
24002 delete arg1;
24003 }
24004 return resultobj;
24005 fail:
24006 {
24007 if (temp1)
24008 delete arg1;
24009 }
24010 return NULL;
24011}
24012
24013
24014static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24015 PyObject *resultobj;
24016 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24017 PyObject * obj0 = 0 ;
24018 char *kwnames[] = {
24019 (char *) "self", NULL
24020 };
24021
24022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
24023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24025 {
24026 PyThreadState* __tstate = wxPyBeginAllowThreads();
24027 delete arg1;
24028
24029 wxPyEndAllowThreads(__tstate);
24030 if (PyErr_Occurred()) SWIG_fail;
24031 }
24032 Py_INCREF(Py_None); resultobj = Py_None;
24033 return resultobj;
24034 fail:
24035 return NULL;
24036}
24037
24038
24039static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
24040 PyObject *resultobj;
24041 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24042 int arg2 ;
24043 bool result;
24044 PyObject * obj0 = 0 ;
24045 PyObject * obj1 = 0 ;
24046
24047 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24050 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
24055
24056 wxPyEndAllowThreads(__tstate);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 }
24059 {
24060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24061 }
24062 return resultobj;
24063 fail:
24064 return NULL;
24065}
24066
24067
24068static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
24069 PyObject *resultobj;
24070 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24071 int arg2 ;
24072 bool result;
24073 PyObject * obj0 = 0 ;
24074 PyObject * obj1 = 0 ;
24075
24076 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24079 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
24084
24085 wxPyEndAllowThreads(__tstate);
24086 if (PyErr_Occurred()) SWIG_fail;
24087 }
24088 {
24089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24090 }
24091 return resultobj;
24092 fail:
24093 return NULL;
24094}
24095
24096
24097static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
24098 PyObject *resultobj;
24099 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24100 wxDataFormat *arg2 = 0 ;
24101 bool result;
24102 PyObject * obj0 = 0 ;
24103 PyObject * obj1 = 0 ;
24104
24105 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24108 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24109 SWIG_POINTER_EXCEPTION | 0)) == -1)
24110 SWIG_fail;
24111 if (arg2 == NULL) {
24112 PyErr_SetString(PyExc_TypeError,"null reference");
24113 SWIG_fail;
24114 }
24115 {
24116 PyThreadState* __tstate = wxPyBeginAllowThreads();
24117 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
24118
24119 wxPyEndAllowThreads(__tstate);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 {
24123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24124 }
24125 return resultobj;
24126 fail:
24127 return NULL;
24128}
24129
24130
24131static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
24132 int argc;
24133 PyObject *argv[3];
24134 int ii;
24135
24136 argc = PyObject_Length(args);
24137 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24138 argv[ii] = PyTuple_GetItem(args,ii);
24139 }
24140 if (argc == 2) {
24141 int _v;
24142 {
24143 void *ptr;
24144 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24145 _v = 0;
24146 PyErr_Clear();
24147 } else {
24148 _v = 1;
24149 }
24150 }
24151 if (_v) {
24152 {
24153 void *ptr;
24154 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24155 _v = 0;
24156 PyErr_Clear();
24157 } else {
24158 _v = 1;
24159 }
24160 }
24161 if (_v) {
24162 return _wrap_DataFormat___eq____SWIG_1(self,args);
24163 }
24164 }
24165 }
24166 if (argc == 2) {
24167 int _v;
24168 {
24169 void *ptr;
24170 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24171 _v = 0;
24172 PyErr_Clear();
24173 } else {
24174 _v = 1;
24175 }
24176 }
24177 if (_v) {
24178 _v = SWIG_CheckInt(argv[1]);
24179 if (_v) {
24180 return _wrap_DataFormat___eq____SWIG_0(self,args);
24181 }
24182 }
24183 }
24184
24185 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24186 return NULL;
24187}
24188
24189
24190static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
24191 PyObject *resultobj;
24192 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24193 wxDataFormat *arg2 = 0 ;
24194 bool result;
24195 PyObject * obj0 = 0 ;
24196 PyObject * obj1 = 0 ;
24197
24198 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24202 SWIG_POINTER_EXCEPTION | 0)) == -1)
24203 SWIG_fail;
24204 if (arg2 == NULL) {
24205 PyErr_SetString(PyExc_TypeError,"null reference");
24206 SWIG_fail;
24207 }
24208 {
24209 PyThreadState* __tstate = wxPyBeginAllowThreads();
24210 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24211
24212 wxPyEndAllowThreads(__tstate);
24213 if (PyErr_Occurred()) SWIG_fail;
24214 }
24215 {
24216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24217 }
24218 return resultobj;
24219 fail:
24220 return NULL;
24221}
24222
24223
24224static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24225 int argc;
24226 PyObject *argv[3];
24227 int ii;
24228
24229 argc = PyObject_Length(args);
24230 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24231 argv[ii] = PyTuple_GetItem(args,ii);
24232 }
24233 if (argc == 2) {
24234 int _v;
24235 {
24236 void *ptr;
24237 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24238 _v = 0;
24239 PyErr_Clear();
24240 } else {
24241 _v = 1;
24242 }
24243 }
24244 if (_v) {
24245 {
24246 void *ptr;
24247 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24248 _v = 0;
24249 PyErr_Clear();
24250 } else {
24251 _v = 1;
24252 }
24253 }
24254 if (_v) {
24255 return _wrap_DataFormat___ne____SWIG_1(self,args);
24256 }
24257 }
24258 }
24259 if (argc == 2) {
24260 int _v;
24261 {
24262 void *ptr;
24263 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24264 _v = 0;
24265 PyErr_Clear();
24266 } else {
24267 _v = 1;
24268 }
24269 }
24270 if (_v) {
24271 _v = SWIG_CheckInt(argv[1]);
24272 if (_v) {
24273 return _wrap_DataFormat___ne____SWIG_0(self,args);
24274 }
24275 }
24276 }
24277
24278 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24279 return NULL;
24280}
24281
24282
24283static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24284 PyObject *resultobj;
24285 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24286 int arg2 ;
24287 PyObject * obj0 = 0 ;
24288 PyObject * obj1 = 0 ;
24289 char *kwnames[] = {
24290 (char *) "self",(char *) "format", NULL
24291 };
24292
24293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24296 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24297 if (PyErr_Occurred()) SWIG_fail;
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 (arg1)->SetType((wxDataFormatId )arg2);
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 Py_INCREF(Py_None); resultobj = Py_None;
24306 return resultobj;
24307 fail:
24308 return NULL;
24309}
24310
24311
24312static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj;
24314 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24315 int result;
24316 PyObject * obj0 = 0 ;
24317 char *kwnames[] = {
24318 (char *) "self", NULL
24319 };
24320
24321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24324 {
24325 PyThreadState* __tstate = wxPyBeginAllowThreads();
24326 result = (int)((wxDataFormat const *)arg1)->GetType();
24327
24328 wxPyEndAllowThreads(__tstate);
24329 if (PyErr_Occurred()) SWIG_fail;
24330 }
24331 resultobj = SWIG_FromInt((int)result);
24332 return resultobj;
24333 fail:
24334 return NULL;
24335}
24336
24337
24338static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24339 PyObject *resultobj;
24340 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24341 wxString result;
24342 PyObject * obj0 = 0 ;
24343 char *kwnames[] = {
24344 (char *) "self", NULL
24345 };
24346
24347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24350 {
24351 PyThreadState* __tstate = wxPyBeginAllowThreads();
24352 result = ((wxDataFormat const *)arg1)->GetId();
24353
24354 wxPyEndAllowThreads(__tstate);
24355 if (PyErr_Occurred()) SWIG_fail;
24356 }
24357 {
24358#if wxUSE_UNICODE
24359 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24360#else
24361 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24362#endif
24363 }
24364 return resultobj;
24365 fail:
24366 return NULL;
24367}
24368
24369
24370static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24371 PyObject *resultobj;
24372 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24373 wxString *arg2 = 0 ;
24374 bool temp2 = False ;
24375 PyObject * obj0 = 0 ;
24376 PyObject * obj1 = 0 ;
24377 char *kwnames[] = {
24378 (char *) "self",(char *) "format", NULL
24379 };
24380
24381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24384 {
24385 arg2 = wxString_in_helper(obj1);
24386 if (arg2 == NULL) SWIG_fail;
24387 temp2 = True;
24388 }
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 (arg1)->SetId((wxString const &)*arg2);
24392
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 Py_INCREF(Py_None); resultobj = Py_None;
24397 {
24398 if (temp2)
24399 delete arg2;
24400 }
24401 return resultobj;
24402 fail:
24403 {
24404 if (temp2)
24405 delete arg2;
24406 }
24407 return NULL;
24408}
24409
24410
24411static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
24412 PyObject *obj;
24413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24414 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24415 Py_INCREF(obj);
24416 return Py_BuildValue((char *)"");
24417}
24418static int _wrap_FormatInvalid_set(PyObject *_val) {
24419 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24420 return 1;
24421}
24422
24423
24424static PyObject *_wrap_FormatInvalid_get() {
24425 PyObject *pyobj;
24426
24427 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24428 return pyobj;
24429}
24430
24431
24432static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24433 PyObject *resultobj;
24434 wxDataObject *arg1 = (wxDataObject *) 0 ;
24435 PyObject * obj0 = 0 ;
24436 char *kwnames[] = {
24437 (char *) "self", NULL
24438 };
24439
24440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 delete arg1;
24446
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 Py_INCREF(Py_None); resultobj = Py_None;
24451 return resultobj;
24452 fail:
24453 return NULL;
24454}
24455
24456
24457static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24458 PyObject *resultobj;
24459 wxDataObject *arg1 = (wxDataObject *) 0 ;
24460 int arg2 = (int) wxDataObject::Get ;
24461 SwigValueWrapper< wxDataFormat > result;
24462 PyObject * obj0 = 0 ;
24463 PyObject * obj1 = 0 ;
24464 char *kwnames[] = {
24465 (char *) "self",(char *) "dir", NULL
24466 };
24467
24468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24471 if (obj1) {
24472 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24473 if (PyErr_Occurred()) SWIG_fail;
24474 }
24475 {
24476 PyThreadState* __tstate = wxPyBeginAllowThreads();
24477 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24478
24479 wxPyEndAllowThreads(__tstate);
24480 if (PyErr_Occurred()) SWIG_fail;
24481 }
24482 {
24483 wxDataFormat * resultptr;
24484 resultptr = new wxDataFormat((wxDataFormat &) result);
24485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24486 }
24487 return resultobj;
24488 fail:
24489 return NULL;
24490}
24491
24492
24493static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24494 PyObject *resultobj;
24495 wxDataObject *arg1 = (wxDataObject *) 0 ;
24496 int arg2 = (int) wxDataObject::Get ;
24497 size_t result;
24498 PyObject * obj0 = 0 ;
24499 PyObject * obj1 = 0 ;
24500 char *kwnames[] = {
24501 (char *) "self",(char *) "dir", NULL
24502 };
24503
24504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24507 if (obj1) {
24508 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24509 if (PyErr_Occurred()) SWIG_fail;
24510 }
24511 {
24512 PyThreadState* __tstate = wxPyBeginAllowThreads();
24513 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24514
24515 wxPyEndAllowThreads(__tstate);
24516 if (PyErr_Occurred()) SWIG_fail;
24517 }
24518 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24519 return resultobj;
24520 fail:
24521 return NULL;
24522}
24523
24524
24525static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24526 PyObject *resultobj;
24527 wxDataObject *arg1 = (wxDataObject *) 0 ;
24528 wxDataFormat *arg2 = 0 ;
24529 int arg3 = (int) wxDataObject::Get ;
24530 bool result;
24531 PyObject * obj0 = 0 ;
24532 PyObject * obj1 = 0 ;
24533 PyObject * obj2 = 0 ;
24534 char *kwnames[] = {
24535 (char *) "self",(char *) "format",(char *) "dir", NULL
24536 };
24537
24538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24542 SWIG_POINTER_EXCEPTION | 0)) == -1)
24543 SWIG_fail;
24544 if (arg2 == NULL) {
24545 PyErr_SetString(PyExc_TypeError,"null reference");
24546 SWIG_fail;
24547 }
24548 if (obj2) {
24549 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24550 if (PyErr_Occurred()) SWIG_fail;
24551 }
24552 {
24553 PyThreadState* __tstate = wxPyBeginAllowThreads();
24554 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24555
24556 wxPyEndAllowThreads(__tstate);
24557 if (PyErr_Occurred()) SWIG_fail;
24558 }
24559 {
24560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24561 }
24562 return resultobj;
24563 fail:
24564 return NULL;
24565}
24566
24567
24568static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24569 PyObject *resultobj;
24570 wxDataObject *arg1 = (wxDataObject *) 0 ;
24571 wxDataFormat *arg2 = 0 ;
24572 size_t result;
24573 PyObject * obj0 = 0 ;
24574 PyObject * obj1 = 0 ;
24575 char *kwnames[] = {
24576 (char *) "self",(char *) "format", NULL
24577 };
24578
24579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24583 SWIG_POINTER_EXCEPTION | 0)) == -1)
24584 SWIG_fail;
24585 if (arg2 == NULL) {
24586 PyErr_SetString(PyExc_TypeError,"null reference");
24587 SWIG_fail;
24588 }
24589 {
24590 PyThreadState* __tstate = wxPyBeginAllowThreads();
24591 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24592
24593 wxPyEndAllowThreads(__tstate);
24594 if (PyErr_Occurred()) SWIG_fail;
24595 }
24596 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24597 return resultobj;
24598 fail:
24599 return NULL;
24600}
24601
24602
24603static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24604 PyObject *resultobj;
24605 wxDataObject *arg1 = (wxDataObject *) 0 ;
68e533f8
RD
24606 int arg2 = (int) wxDataObject::Get ;
24607 PyObject *result;
d55e5bfc
RD
24608 PyObject * obj0 = 0 ;
24609 PyObject * obj1 = 0 ;
d55e5bfc 24610 char *kwnames[] = {
68e533f8 24611 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
24612 };
24613
68e533f8 24614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
24615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
68e533f8
RD
24617 if (obj1) {
24618 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
d55e5bfc
RD
24619 if (PyErr_Occurred()) SWIG_fail;
24620 }
24621 {
24622 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 24623 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
d55e5bfc
RD
24624
24625 wxPyEndAllowThreads(__tstate);
24626 if (PyErr_Occurred()) SWIG_fail;
24627 }
68e533f8 24628 resultobj = result;
d55e5bfc
RD
24629 return resultobj;
24630 fail:
24631 return NULL;
24632}
24633
24634
24635static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24636 PyObject *resultobj;
24637 wxDataObject *arg1 = (wxDataObject *) 0 ;
24638 wxDataFormat *arg2 = 0 ;
68e533f8 24639 PyObject *result;
d55e5bfc
RD
24640 PyObject * obj0 = 0 ;
24641 PyObject * obj1 = 0 ;
d55e5bfc 24642 char *kwnames[] = {
68e533f8 24643 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
24644 };
24645
68e533f8 24646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
24647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24649 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24650 SWIG_POINTER_EXCEPTION | 0)) == -1)
24651 SWIG_fail;
24652 if (arg2 == NULL) {
24653 PyErr_SetString(PyExc_TypeError,"null reference");
24654 SWIG_fail;
24655 }
d55e5bfc
RD
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 24658 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
24659
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
68e533f8 24663 resultobj = result;
d55e5bfc
RD
24664 return resultobj;
24665 fail:
24666 return NULL;
24667}
24668
24669
24670static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24671 PyObject *resultobj;
24672 wxDataObject *arg1 = (wxDataObject *) 0 ;
24673 wxDataFormat *arg2 = 0 ;
68e533f8 24674 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
24675 bool result;
24676 PyObject * obj0 = 0 ;
24677 PyObject * obj1 = 0 ;
24678 PyObject * obj2 = 0 ;
d55e5bfc 24679 char *kwnames[] = {
68e533f8 24680 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
24681 };
24682
68e533f8 24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
24684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24687 SWIG_POINTER_EXCEPTION | 0)) == -1)
24688 SWIG_fail;
24689 if (arg2 == NULL) {
24690 PyErr_SetString(PyExc_TypeError,"null reference");
24691 SWIG_fail;
24692 }
68e533f8 24693 arg3 = obj2;
d55e5bfc
RD
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 24696 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 {
24702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24703 }
24704 return resultobj;
24705 fail:
24706 return NULL;
24707}
24708
24709
24710static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24711 PyObject *obj;
24712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24713 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24714 Py_INCREF(obj);
24715 return Py_BuildValue((char *)"");
24716}
24717static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24718 PyObject *resultobj;
24719 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24720 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24721 wxDataObjectSimple *result;
24722 PyObject * obj0 = 0 ;
24723 char *kwnames[] = {
24724 (char *) "format", NULL
24725 };
24726
24727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24728 if (obj0) {
24729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24730 SWIG_POINTER_EXCEPTION | 0)) == -1)
24731 SWIG_fail;
24732 if (arg1 == NULL) {
24733 PyErr_SetString(PyExc_TypeError,"null reference");
24734 SWIG_fail;
24735 }
24736 }
24737 {
24738 PyThreadState* __tstate = wxPyBeginAllowThreads();
24739 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24740
24741 wxPyEndAllowThreads(__tstate);
24742 if (PyErr_Occurred()) SWIG_fail;
24743 }
24744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
24745 return resultobj;
24746 fail:
24747 return NULL;
24748}
24749
24750
24751static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24752 PyObject *resultobj;
24753 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24754 wxDataFormat *result;
24755 PyObject * obj0 = 0 ;
24756 char *kwnames[] = {
24757 (char *) "self", NULL
24758 };
24759
24760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24763 {
24764 PyThreadState* __tstate = wxPyBeginAllowThreads();
24765 {
24766 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24767 result = (wxDataFormat *) &_result_ref;
24768 }
24769
24770 wxPyEndAllowThreads(__tstate);
24771 if (PyErr_Occurred()) SWIG_fail;
24772 }
24773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
24774 return resultobj;
24775 fail:
24776 return NULL;
24777}
24778
24779
24780static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24781 PyObject *resultobj;
24782 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24783 wxDataFormat *arg2 = 0 ;
24784 PyObject * obj0 = 0 ;
24785 PyObject * obj1 = 0 ;
24786 char *kwnames[] = {
24787 (char *) "self",(char *) "format", NULL
24788 };
24789
24790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24794 SWIG_POINTER_EXCEPTION | 0)) == -1)
24795 SWIG_fail;
24796 if (arg2 == NULL) {
24797 PyErr_SetString(PyExc_TypeError,"null reference");
24798 SWIG_fail;
24799 }
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24803
24804 wxPyEndAllowThreads(__tstate);
24805 if (PyErr_Occurred()) SWIG_fail;
24806 }
24807 Py_INCREF(Py_None); resultobj = Py_None;
24808 return resultobj;
24809 fail:
24810 return NULL;
24811}
24812
24813
68e533f8
RD
24814static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24815 PyObject *resultobj;
24816 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24817 size_t result;
24818 PyObject * obj0 = 0 ;
24819 char *kwnames[] = {
24820 (char *) "self", NULL
24821 };
24822
24823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
24824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24826 {
24827 PyThreadState* __tstate = wxPyBeginAllowThreads();
24828 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
24829
24830 wxPyEndAllowThreads(__tstate);
24831 if (PyErr_Occurred()) SWIG_fail;
24832 }
24833 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24834 return resultobj;
24835 fail:
24836 return NULL;
24837}
24838
24839
24840static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24841 PyObject *resultobj;
24842 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24843 PyObject *result;
24844 PyObject * obj0 = 0 ;
24845 char *kwnames[] = {
24846 (char *) "self", NULL
24847 };
24848
24849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
24850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
24855
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 resultobj = result;
24860 return resultobj;
24861 fail:
24862 return NULL;
24863}
24864
24865
24866static PyObject *_wrap_DataObjectSimple_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24867 PyObject *resultobj;
24868 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24869 PyObject *arg2 = (PyObject *) 0 ;
24870 bool result;
24871 PyObject * obj0 = 0 ;
24872 PyObject * obj1 = 0 ;
24873 char *kwnames[] = {
24874 (char *) "self",(char *) "data", NULL
24875 };
24876
24877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
24878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24880 arg2 = obj1;
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
24884
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
24888 {
24889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24890 }
24891 return resultobj;
24892 fail:
24893 return NULL;
24894}
24895
24896
d55e5bfc
RD
24897static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24898 PyObject *obj;
24899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24900 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24901 Py_INCREF(obj);
24902 return Py_BuildValue((char *)"");
24903}
24904static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24905 PyObject *resultobj;
24906 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24907 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24908 wxPyDataObjectSimple *result;
24909 PyObject * obj0 = 0 ;
24910 char *kwnames[] = {
24911 (char *) "format", NULL
24912 };
24913
24914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24915 if (obj0) {
24916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24917 SWIG_POINTER_EXCEPTION | 0)) == -1)
24918 SWIG_fail;
24919 if (arg1 == NULL) {
24920 PyErr_SetString(PyExc_TypeError,"null reference");
24921 SWIG_fail;
24922 }
24923 }
24924 {
24925 PyThreadState* __tstate = wxPyBeginAllowThreads();
24926 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24927
24928 wxPyEndAllowThreads(__tstate);
24929 if (PyErr_Occurred()) SWIG_fail;
24930 }
24931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
24932 return resultobj;
24933 fail:
24934 return NULL;
24935}
24936
24937
24938static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24939 PyObject *resultobj;
24940 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24941 PyObject *arg2 = (PyObject *) 0 ;
24942 PyObject *arg3 = (PyObject *) 0 ;
24943 PyObject * obj0 = 0 ;
24944 PyObject * obj1 = 0 ;
24945 PyObject * obj2 = 0 ;
24946 char *kwnames[] = {
24947 (char *) "self",(char *) "self",(char *) "_class", NULL
24948 };
24949
24950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24953 arg2 = obj1;
24954 arg3 = obj2;
24955 {
24956 PyThreadState* __tstate = wxPyBeginAllowThreads();
24957 (arg1)->_setCallbackInfo(arg2,arg3);
24958
24959 wxPyEndAllowThreads(__tstate);
24960 if (PyErr_Occurred()) SWIG_fail;
24961 }
24962 Py_INCREF(Py_None); resultobj = Py_None;
24963 return resultobj;
24964 fail:
24965 return NULL;
24966}
24967
24968
24969static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24970 PyObject *obj;
24971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24972 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24973 Py_INCREF(obj);
24974 return Py_BuildValue((char *)"");
24975}
24976static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24977 PyObject *resultobj;
24978 wxDataObjectComposite *result;
24979 char *kwnames[] = {
24980 NULL
24981 };
24982
24983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24987
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
24992 return resultobj;
24993 fail:
24994 return NULL;
24995}
24996
24997
24998static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24999 PyObject *resultobj;
25000 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
25001 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
68e533f8 25002 bool arg3 = (bool) False ;
d55e5bfc
RD
25003 PyObject * obj0 = 0 ;
25004 PyObject * obj1 = 0 ;
25005 PyObject * obj2 = 0 ;
25006 char *kwnames[] = {
25007 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25008 };
25009
25010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
25011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
25012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
25014 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25015 if (obj2) {
68e533f8 25016 arg3 = (bool) SWIG_AsBool(obj2);
d55e5bfc
RD
25017 if (PyErr_Occurred()) SWIG_fail;
25018 }
25019 {
25020 PyThreadState* __tstate = wxPyBeginAllowThreads();
25021 (arg1)->Add(arg2,arg3);
25022
25023 wxPyEndAllowThreads(__tstate);
25024 if (PyErr_Occurred()) SWIG_fail;
25025 }
25026 Py_INCREF(Py_None); resultobj = Py_None;
25027 return resultobj;
25028 fail:
25029 return NULL;
25030}
25031
25032
25033static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
25034 PyObject *obj;
25035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25036 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
25037 Py_INCREF(obj);
25038 return Py_BuildValue((char *)"");
25039}
25040static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25041 PyObject *resultobj;
25042 wxString const &arg1_defvalue = wxPyEmptyString ;
25043 wxString *arg1 = (wxString *) &arg1_defvalue ;
25044 wxTextDataObject *result;
25045 bool temp1 = False ;
25046 PyObject * obj0 = 0 ;
25047 char *kwnames[] = {
25048 (char *) "text", NULL
25049 };
25050
25051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
25052 if (obj0) {
25053 {
25054 arg1 = wxString_in_helper(obj0);
25055 if (arg1 == NULL) SWIG_fail;
25056 temp1 = True;
25057 }
25058 }
25059 {
25060 PyThreadState* __tstate = wxPyBeginAllowThreads();
25061 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
25062
25063 wxPyEndAllowThreads(__tstate);
25064 if (PyErr_Occurred()) SWIG_fail;
25065 }
25066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
25067 {
25068 if (temp1)
25069 delete arg1;
25070 }
25071 return resultobj;
25072 fail:
25073 {
25074 if (temp1)
25075 delete arg1;
25076 }
25077 return NULL;
25078}
25079
25080
25081static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
25082 PyObject *resultobj;
25083 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25084 size_t result;
25085 PyObject * obj0 = 0 ;
25086 char *kwnames[] = {
25087 (char *) "self", NULL
25088 };
25089
25090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
25091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25093 {
25094 PyThreadState* __tstate = wxPyBeginAllowThreads();
25095 result = (size_t)(arg1)->GetTextLength();
25096
25097 wxPyEndAllowThreads(__tstate);
25098 if (PyErr_Occurred()) SWIG_fail;
25099 }
25100 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25101 return resultobj;
25102 fail:
25103 return NULL;
25104}
25105
25106
25107static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25108 PyObject *resultobj;
25109 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25110 wxString result;
25111 PyObject * obj0 = 0 ;
25112 char *kwnames[] = {
25113 (char *) "self", NULL
25114 };
25115
25116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
25117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25119 {
25120 PyThreadState* __tstate = wxPyBeginAllowThreads();
25121 result = (arg1)->GetText();
25122
25123 wxPyEndAllowThreads(__tstate);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
25126 {
25127#if wxUSE_UNICODE
25128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25129#else
25130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25131#endif
25132 }
25133 return resultobj;
25134 fail:
25135 return NULL;
25136}
25137
25138
25139static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25140 PyObject *resultobj;
25141 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25142 wxString *arg2 = 0 ;
25143 bool temp2 = False ;
25144 PyObject * obj0 = 0 ;
25145 PyObject * obj1 = 0 ;
25146 char *kwnames[] = {
25147 (char *) "self",(char *) "text", NULL
25148 };
25149
25150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
25151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25153 {
25154 arg2 = wxString_in_helper(obj1);
25155 if (arg2 == NULL) SWIG_fail;
25156 temp2 = True;
25157 }
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 (arg1)->SetText((wxString const &)*arg2);
25161
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 Py_INCREF(Py_None); resultobj = Py_None;
25166 {
25167 if (temp2)
25168 delete arg2;
25169 }
25170 return resultobj;
25171 fail:
25172 {
25173 if (temp2)
25174 delete arg2;
25175 }
25176 return NULL;
25177}
25178
25179
25180static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
25181 PyObject *obj;
25182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25183 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
25184 Py_INCREF(obj);
25185 return Py_BuildValue((char *)"");
25186}
25187static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25188 PyObject *resultobj;
25189 wxString const &arg1_defvalue = wxPyEmptyString ;
25190 wxString *arg1 = (wxString *) &arg1_defvalue ;
25191 wxPyTextDataObject *result;
25192 bool temp1 = False ;
25193 PyObject * obj0 = 0 ;
25194 char *kwnames[] = {
25195 (char *) "text", NULL
25196 };
25197
25198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
25199 if (obj0) {
25200 {
25201 arg1 = wxString_in_helper(obj0);
25202 if (arg1 == NULL) SWIG_fail;
25203 temp1 = True;
25204 }
25205 }
25206 {
25207 PyThreadState* __tstate = wxPyBeginAllowThreads();
25208 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
25209
25210 wxPyEndAllowThreads(__tstate);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 }
25213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
25214 {
25215 if (temp1)
25216 delete arg1;
25217 }
25218 return resultobj;
25219 fail:
25220 {
25221 if (temp1)
25222 delete arg1;
25223 }
25224 return NULL;
25225}
25226
25227
25228static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25229 PyObject *resultobj;
25230 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
25231 PyObject *arg2 = (PyObject *) 0 ;
25232 PyObject *arg3 = (PyObject *) 0 ;
25233 PyObject * obj0 = 0 ;
25234 PyObject * obj1 = 0 ;
25235 PyObject * obj2 = 0 ;
25236 char *kwnames[] = {
25237 (char *) "self",(char *) "self",(char *) "_class", NULL
25238 };
25239
25240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25243 arg2 = obj1;
25244 arg3 = obj2;
25245 {
25246 PyThreadState* __tstate = wxPyBeginAllowThreads();
25247 (arg1)->_setCallbackInfo(arg2,arg3);
25248
25249 wxPyEndAllowThreads(__tstate);
25250 if (PyErr_Occurred()) SWIG_fail;
25251 }
25252 Py_INCREF(Py_None); resultobj = Py_None;
25253 return resultobj;
25254 fail:
25255 return NULL;
25256}
25257
25258
25259static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
25260 PyObject *obj;
25261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25262 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25263 Py_INCREF(obj);
25264 return Py_BuildValue((char *)"");
25265}
25266static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25267 PyObject *resultobj;
25268 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25269 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25270 wxBitmapDataObject *result;
25271 PyObject * obj0 = 0 ;
25272 char *kwnames[] = {
25273 (char *) "bitmap", NULL
25274 };
25275
25276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25277 if (obj0) {
25278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25279 SWIG_POINTER_EXCEPTION | 0)) == -1)
25280 SWIG_fail;
25281 if (arg1 == NULL) {
25282 PyErr_SetString(PyExc_TypeError,"null reference");
25283 SWIG_fail;
25284 }
25285 }
25286 {
25287 PyThreadState* __tstate = wxPyBeginAllowThreads();
25288 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25289
25290 wxPyEndAllowThreads(__tstate);
25291 if (PyErr_Occurred()) SWIG_fail;
25292 }
25293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25294 return resultobj;
25295 fail:
25296 return NULL;
25297}
25298
25299
25300static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25301 PyObject *resultobj;
25302 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25303 wxBitmap result;
25304 PyObject * obj0 = 0 ;
25305 char *kwnames[] = {
25306 (char *) "self", NULL
25307 };
25308
25309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25312 {
25313 PyThreadState* __tstate = wxPyBeginAllowThreads();
25314 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25315
25316 wxPyEndAllowThreads(__tstate);
25317 if (PyErr_Occurred()) SWIG_fail;
25318 }
25319 {
25320 wxBitmap * resultptr;
25321 resultptr = new wxBitmap((wxBitmap &) result);
25322 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25323 }
25324 return resultobj;
25325 fail:
25326 return NULL;
25327}
25328
25329
25330static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25331 PyObject *resultobj;
25332 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25333 wxBitmap *arg2 = 0 ;
25334 PyObject * obj0 = 0 ;
25335 PyObject * obj1 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "self",(char *) "bitmap", NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25344 SWIG_POINTER_EXCEPTION | 0)) == -1)
25345 SWIG_fail;
25346 if (arg2 == NULL) {
25347 PyErr_SetString(PyExc_TypeError,"null reference");
25348 SWIG_fail;
25349 }
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25353
25354 wxPyEndAllowThreads(__tstate);
25355 if (PyErr_Occurred()) SWIG_fail;
25356 }
25357 Py_INCREF(Py_None); resultobj = Py_None;
25358 return resultobj;
25359 fail:
25360 return NULL;
25361}
25362
25363
25364static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25365 PyObject *obj;
25366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25367 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25368 Py_INCREF(obj);
25369 return Py_BuildValue((char *)"");
25370}
25371static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25372 PyObject *resultobj;
25373 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25374 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25375 wxPyBitmapDataObject *result;
25376 PyObject * obj0 = 0 ;
25377 char *kwnames[] = {
25378 (char *) "bitmap", NULL
25379 };
25380
25381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25382 if (obj0) {
25383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25384 SWIG_POINTER_EXCEPTION | 0)) == -1)
25385 SWIG_fail;
25386 if (arg1 == NULL) {
25387 PyErr_SetString(PyExc_TypeError,"null reference");
25388 SWIG_fail;
25389 }
25390 }
25391 {
25392 PyThreadState* __tstate = wxPyBeginAllowThreads();
25393 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25394
25395 wxPyEndAllowThreads(__tstate);
25396 if (PyErr_Occurred()) SWIG_fail;
25397 }
25398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25399 return resultobj;
25400 fail:
25401 return NULL;
25402}
25403
25404
25405static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25406 PyObject *resultobj;
25407 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25408 PyObject *arg2 = (PyObject *) 0 ;
25409 PyObject *arg3 = (PyObject *) 0 ;
25410 PyObject * obj0 = 0 ;
25411 PyObject * obj1 = 0 ;
25412 PyObject * obj2 = 0 ;
25413 char *kwnames[] = {
25414 (char *) "self",(char *) "self",(char *) "_class", NULL
25415 };
25416
25417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25420 arg2 = obj1;
25421 arg3 = obj2;
25422 {
25423 PyThreadState* __tstate = wxPyBeginAllowThreads();
25424 (arg1)->_setCallbackInfo(arg2,arg3);
25425
25426 wxPyEndAllowThreads(__tstate);
25427 if (PyErr_Occurred()) SWIG_fail;
25428 }
25429 Py_INCREF(Py_None); resultobj = Py_None;
25430 return resultobj;
25431 fail:
25432 return NULL;
25433}
25434
25435
25436static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25437 PyObject *obj;
25438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25439 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25440 Py_INCREF(obj);
25441 return Py_BuildValue((char *)"");
25442}
25443static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25444 PyObject *resultobj;
25445 wxFileDataObject *result;
25446 char *kwnames[] = {
25447 NULL
25448 };
25449
25450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25451 {
25452 PyThreadState* __tstate = wxPyBeginAllowThreads();
25453 result = (wxFileDataObject *)new wxFileDataObject();
25454
25455 wxPyEndAllowThreads(__tstate);
25456 if (PyErr_Occurred()) SWIG_fail;
25457 }
25458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25459 return resultobj;
25460 fail:
25461 return NULL;
25462}
25463
25464
25465static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
25466 PyObject *resultobj;
25467 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25468 wxArrayString *result;
25469 PyObject * obj0 = 0 ;
25470 char *kwnames[] = {
25471 (char *) "self", NULL
25472 };
25473
25474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25477 {
25478 PyThreadState* __tstate = wxPyBeginAllowThreads();
25479 {
25480 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25481 result = (wxArrayString *) &_result_ref;
25482 }
25483
25484 wxPyEndAllowThreads(__tstate);
25485 if (PyErr_Occurred()) SWIG_fail;
25486 }
25487 {
25488 resultobj = wxArrayString2PyList_helper(*result);
25489 }
25490 return resultobj;
25491 fail:
25492 return NULL;
25493}
25494
25495
25496static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25497 PyObject *resultobj;
25498 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25499 wxString *arg2 = 0 ;
25500 bool temp2 = False ;
25501 PyObject * obj0 = 0 ;
25502 PyObject * obj1 = 0 ;
25503 char *kwnames[] = {
25504 (char *) "self",(char *) "filename", NULL
25505 };
25506
25507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25510 {
25511 arg2 = wxString_in_helper(obj1);
25512 if (arg2 == NULL) SWIG_fail;
25513 temp2 = True;
25514 }
25515 {
25516 PyThreadState* __tstate = wxPyBeginAllowThreads();
25517 (arg1)->AddFile((wxString const &)*arg2);
25518
25519 wxPyEndAllowThreads(__tstate);
25520 if (PyErr_Occurred()) SWIG_fail;
25521 }
25522 Py_INCREF(Py_None); resultobj = Py_None;
25523 {
25524 if (temp2)
25525 delete arg2;
25526 }
25527 return resultobj;
25528 fail:
25529 {
25530 if (temp2)
25531 delete arg2;
25532 }
25533 return NULL;
25534}
25535
25536
25537static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
25538 PyObject *obj;
25539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25540 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25541 Py_INCREF(obj);
25542 return Py_BuildValue((char *)"");
25543}
25544static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25545 PyObject *resultobj;
25546 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25547 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25548 wxCustomDataObject *result;
25549 PyObject * obj0 = 0 ;
25550 char *kwnames[] = {
25551 (char *) "format", NULL
25552 };
25553
25554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25555 if (obj0) {
25556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25557 SWIG_POINTER_EXCEPTION | 0)) == -1)
25558 SWIG_fail;
25559 if (arg1 == NULL) {
25560 PyErr_SetString(PyExc_TypeError,"null reference");
25561 SWIG_fail;
25562 }
25563 }
25564 {
25565 PyThreadState* __tstate = wxPyBeginAllowThreads();
25566 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25567
25568 wxPyEndAllowThreads(__tstate);
25569 if (PyErr_Occurred()) SWIG_fail;
25570 }
25571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25572 return resultobj;
25573 fail:
25574 return NULL;
25575}
25576
25577
d55e5bfc
RD
25578static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25579 PyObject *resultobj;
25580 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25581 PyObject *arg2 = (PyObject *) 0 ;
25582 bool result;
25583 PyObject * obj0 = 0 ;
25584 PyObject * obj1 = 0 ;
25585 char *kwnames[] = {
25586 (char *) "self",(char *) "data", NULL
25587 };
25588
25589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25592 arg2 = obj1;
25593 {
25594 PyThreadState* __tstate = wxPyBeginAllowThreads();
25595 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25596
25597 wxPyEndAllowThreads(__tstate);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
25600 {
25601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25602 }
25603 return resultobj;
25604 fail:
25605 return NULL;
25606}
25607
25608
25609static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25610 PyObject *resultobj;
25611 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25612 size_t result;
25613 PyObject * obj0 = 0 ;
25614 char *kwnames[] = {
25615 (char *) "self", NULL
25616 };
25617
25618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25621 {
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 result = (size_t)(arg1)->GetSize();
25624
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25629 return resultobj;
25630 fail:
25631 return NULL;
25632}
25633
25634
25635static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25636 PyObject *resultobj;
25637 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25638 PyObject *result;
25639 PyObject * obj0 = 0 ;
25640 char *kwnames[] = {
25641 (char *) "self", NULL
25642 };
25643
25644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25647 {
25648 PyThreadState* __tstate = wxPyBeginAllowThreads();
25649 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25650
25651 wxPyEndAllowThreads(__tstate);
25652 if (PyErr_Occurred()) SWIG_fail;
25653 }
25654 resultobj = result;
25655 return resultobj;
25656 fail:
25657 return NULL;
25658}
25659
25660
25661static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
25662 PyObject *obj;
25663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25664 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25665 Py_INCREF(obj);
25666 return Py_BuildValue((char *)"");
25667}
25668static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25669 PyObject *resultobj;
25670 wxURLDataObject *result;
25671 char *kwnames[] = {
25672 NULL
25673 };
25674
25675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25676 {
25677 PyThreadState* __tstate = wxPyBeginAllowThreads();
25678 result = (wxURLDataObject *)new wxURLDataObject();
25679
25680 wxPyEndAllowThreads(__tstate);
25681 if (PyErr_Occurred()) SWIG_fail;
25682 }
25683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25684 return resultobj;
25685 fail:
25686 return NULL;
25687}
25688
25689
25690static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25691 PyObject *resultobj;
25692 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25693 wxString result;
25694 PyObject * obj0 = 0 ;
25695 char *kwnames[] = {
25696 (char *) "self", NULL
25697 };
25698
25699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25702 {
25703 PyThreadState* __tstate = wxPyBeginAllowThreads();
25704 result = (arg1)->GetURL();
25705
25706 wxPyEndAllowThreads(__tstate);
25707 if (PyErr_Occurred()) SWIG_fail;
25708 }
25709 {
25710#if wxUSE_UNICODE
25711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25712#else
25713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25714#endif
25715 }
25716 return resultobj;
25717 fail:
25718 return NULL;
25719}
25720
25721
25722static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25723 PyObject *resultobj;
25724 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25725 wxString *arg2 = 0 ;
25726 bool temp2 = False ;
25727 PyObject * obj0 = 0 ;
25728 PyObject * obj1 = 0 ;
25729 char *kwnames[] = {
25730 (char *) "self",(char *) "url", NULL
25731 };
25732
25733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25736 {
25737 arg2 = wxString_in_helper(obj1);
25738 if (arg2 == NULL) SWIG_fail;
25739 temp2 = True;
25740 }
25741 {
25742 PyThreadState* __tstate = wxPyBeginAllowThreads();
25743 (arg1)->SetURL((wxString const &)*arg2);
25744
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 Py_INCREF(Py_None); resultobj = Py_None;
25749 {
25750 if (temp2)
25751 delete arg2;
25752 }
25753 return resultobj;
25754 fail:
25755 {
25756 if (temp2)
25757 delete arg2;
25758 }
25759 return NULL;
25760}
25761
25762
25763static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25764 PyObject *obj;
25765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25766 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25767 Py_INCREF(obj);
25768 return Py_BuildValue((char *)"");
25769}
25770static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25771 PyObject *resultobj;
25772 wxMetafileDataObject *result;
25773 char *kwnames[] = {
25774 NULL
25775 };
25776
25777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25778 {
25779 PyThreadState* __tstate = wxPyBeginAllowThreads();
25780 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25781
25782 wxPyEndAllowThreads(__tstate);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 }
25785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
25786 return resultobj;
25787 fail:
25788 return NULL;
25789}
25790
25791
25792static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25793 PyObject *resultobj;
25794 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25795 wxMetafile *arg2 = 0 ;
25796 PyObject * obj0 = 0 ;
25797 PyObject * obj1 = 0 ;
25798 char *kwnames[] = {
25799 (char *) "self",(char *) "metafile", NULL
25800 };
25801
25802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
25803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25805 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25806 SWIG_POINTER_EXCEPTION | 0)) == -1)
25807 SWIG_fail;
25808 if (arg2 == NULL) {
25809 PyErr_SetString(PyExc_TypeError,"null reference");
25810 SWIG_fail;
25811 }
25812 {
25813 PyThreadState* __tstate = wxPyBeginAllowThreads();
25814 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25815
25816 wxPyEndAllowThreads(__tstate);
25817 if (PyErr_Occurred()) SWIG_fail;
25818 }
25819 Py_INCREF(Py_None); resultobj = Py_None;
25820 return resultobj;
25821 fail:
25822 return NULL;
25823}
25824
25825
25826static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25827 PyObject *resultobj;
25828 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25829 wxMetafile result;
25830 PyObject * obj0 = 0 ;
25831 char *kwnames[] = {
25832 (char *) "self", NULL
25833 };
25834
25835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
25836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25838 {
25839 PyThreadState* __tstate = wxPyBeginAllowThreads();
25840 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25841
25842 wxPyEndAllowThreads(__tstate);
25843 if (PyErr_Occurred()) SWIG_fail;
25844 }
25845 {
25846 wxMetafile * resultptr;
25847 resultptr = new wxMetafile((wxMetafile &) result);
25848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
25849 }
25850 return resultobj;
25851 fail:
25852 return NULL;
25853}
25854
25855
25856static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25857 PyObject *obj;
25858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25859 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25860 Py_INCREF(obj);
25861 return Py_BuildValue((char *)"");
25862}
25863static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25864 PyObject *resultobj;
25865 int arg1 ;
25866 bool result;
25867 PyObject * obj0 = 0 ;
25868 char *kwnames[] = {
25869 (char *) "res", NULL
25870 };
25871
25872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25873 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25874 if (PyErr_Occurred()) SWIG_fail;
25875 {
25876 PyThreadState* __tstate = wxPyBeginAllowThreads();
25877 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25878
25879 wxPyEndAllowThreads(__tstate);
25880 if (PyErr_Occurred()) SWIG_fail;
25881 }
25882 {
25883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25884 }
25885 return resultobj;
25886 fail:
25887 return NULL;
25888}
25889
25890
25891static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25892 PyObject *resultobj;
25893 wxWindow *arg1 = (wxWindow *) 0 ;
25894 wxCursor const &arg2_defvalue = wxNullCursor ;
25895 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25896 wxCursor const &arg3_defvalue = wxNullCursor ;
25897 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25898 wxCursor const &arg4_defvalue = wxNullCursor ;
25899 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25900 wxPyDropSource *result;
25901 PyObject * obj0 = 0 ;
25902 PyObject * obj1 = 0 ;
25903 PyObject * obj2 = 0 ;
25904 PyObject * obj3 = 0 ;
25905 char *kwnames[] = {
25906 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25907 };
25908
25909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25912 if (obj1) {
25913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25914 SWIG_POINTER_EXCEPTION | 0)) == -1)
25915 SWIG_fail;
25916 if (arg2 == NULL) {
25917 PyErr_SetString(PyExc_TypeError,"null reference");
25918 SWIG_fail;
25919 }
25920 }
25921 if (obj2) {
25922 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25923 SWIG_POINTER_EXCEPTION | 0)) == -1)
25924 SWIG_fail;
25925 if (arg3 == NULL) {
25926 PyErr_SetString(PyExc_TypeError,"null reference");
25927 SWIG_fail;
25928 }
25929 }
25930 if (obj3) {
25931 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25932 SWIG_POINTER_EXCEPTION | 0)) == -1)
25933 SWIG_fail;
25934 if (arg4 == NULL) {
25935 PyErr_SetString(PyExc_TypeError,"null reference");
25936 SWIG_fail;
25937 }
25938 }
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25942
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
25947 return resultobj;
25948 fail:
25949 return NULL;
25950}
25951
25952
25953static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25954 PyObject *resultobj;
25955 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25956 PyObject *arg2 = (PyObject *) 0 ;
25957 PyObject *arg3 = (PyObject *) 0 ;
25958 int arg4 ;
25959 PyObject * obj0 = 0 ;
25960 PyObject * obj1 = 0 ;
25961 PyObject * obj2 = 0 ;
25962 PyObject * obj3 = 0 ;
25963 char *kwnames[] = {
25964 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25965 };
25966
25967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25970 arg2 = obj1;
25971 arg3 = obj2;
25972 arg4 = (int) SWIG_AsInt(obj3);
25973 if (PyErr_Occurred()) SWIG_fail;
25974 {
25975 PyThreadState* __tstate = wxPyBeginAllowThreads();
25976 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25977
25978 wxPyEndAllowThreads(__tstate);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 }
25981 Py_INCREF(Py_None); resultobj = Py_None;
25982 return resultobj;
25983 fail:
25984 return NULL;
25985}
25986
25987
25988static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25989 PyObject *resultobj;
25990 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25991 PyObject * obj0 = 0 ;
25992 char *kwnames[] = {
25993 (char *) "self", NULL
25994 };
25995
25996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25999 {
26000 PyThreadState* __tstate = wxPyBeginAllowThreads();
26001 delete arg1;
26002
26003 wxPyEndAllowThreads(__tstate);
26004 if (PyErr_Occurred()) SWIG_fail;
26005 }
26006 Py_INCREF(Py_None); resultobj = Py_None;
26007 return resultobj;
26008 fail:
26009 return NULL;
26010}
26011
26012
26013static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26014 PyObject *resultobj;
26015 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26016 wxDataObject *arg2 = 0 ;
26017 PyObject * obj0 = 0 ;
26018 PyObject * obj1 = 0 ;
26019 char *kwnames[] = {
26020 (char *) "self",(char *) "data", NULL
26021 };
26022
26023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
26024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26027 SWIG_POINTER_EXCEPTION | 0)) == -1)
26028 SWIG_fail;
26029 if (arg2 == NULL) {
26030 PyErr_SetString(PyExc_TypeError,"null reference");
26031 SWIG_fail;
26032 }
26033 {
26034 PyThreadState* __tstate = wxPyBeginAllowThreads();
26035 (arg1)->SetData(*arg2);
26036
26037 wxPyEndAllowThreads(__tstate);
26038 if (PyErr_Occurred()) SWIG_fail;
26039 }
26040 Py_INCREF(Py_None); resultobj = Py_None;
26041 return resultobj;
26042 fail:
26043 return NULL;
26044}
26045
26046
26047static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26048 PyObject *resultobj;
26049 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26050 wxDataObject *result;
26051 PyObject * obj0 = 0 ;
26052 char *kwnames[] = {
26053 (char *) "self", NULL
26054 };
26055
26056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
26057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26059 {
26060 PyThreadState* __tstate = wxPyBeginAllowThreads();
26061 result = (wxDataObject *)(arg1)->GetDataObject();
26062
26063 wxPyEndAllowThreads(__tstate);
26064 if (PyErr_Occurred()) SWIG_fail;
26065 }
26066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26067 return resultobj;
26068 fail:
26069 return NULL;
26070}
26071
26072
26073static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26074 PyObject *resultobj;
26075 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26076 int arg2 ;
26077 wxCursor *arg3 = 0 ;
26078 PyObject * obj0 = 0 ;
26079 PyObject * obj1 = 0 ;
26080 PyObject * obj2 = 0 ;
26081 char *kwnames[] = {
26082 (char *) "self",(char *) "res",(char *) "cursor", NULL
26083 };
26084
26085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
26086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26088 arg2 = (wxDragResult) SWIG_AsInt(obj1);
26089 if (PyErr_Occurred()) SWIG_fail;
26090 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
26091 SWIG_POINTER_EXCEPTION | 0)) == -1)
26092 SWIG_fail;
26093 if (arg3 == NULL) {
26094 PyErr_SetString(PyExc_TypeError,"null reference");
26095 SWIG_fail;
26096 }
26097 {
26098 PyThreadState* __tstate = wxPyBeginAllowThreads();
26099 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
26100
26101 wxPyEndAllowThreads(__tstate);
26102 if (PyErr_Occurred()) SWIG_fail;
26103 }
26104 Py_INCREF(Py_None); resultobj = Py_None;
26105 return resultobj;
26106 fail:
26107 return NULL;
26108}
26109
26110
26111static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26112 PyObject *resultobj;
26113 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26114 int arg2 = (int) wxDrag_CopyOnly ;
26115 int result;
26116 PyObject * obj0 = 0 ;
26117 PyObject * obj1 = 0 ;
26118 char *kwnames[] = {
26119 (char *) "self",(char *) "flags", NULL
26120 };
26121
26122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
26123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26125 if (obj1) {
26126 arg2 = (int) SWIG_AsInt(obj1);
26127 if (PyErr_Occurred()) SWIG_fail;
26128 }
26129 {
26130 PyThreadState* __tstate = wxPyBeginAllowThreads();
26131 result = (int)(arg1)->DoDragDrop(arg2);
26132
26133 wxPyEndAllowThreads(__tstate);
26134 if (PyErr_Occurred()) SWIG_fail;
26135 }
26136 resultobj = SWIG_FromInt((int)result);
26137 return resultobj;
26138 fail:
26139 return NULL;
26140}
26141
26142
26143static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
26144 PyObject *resultobj;
26145 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26146 int arg2 ;
26147 bool result;
26148 PyObject * obj0 = 0 ;
26149 PyObject * obj1 = 0 ;
26150 char *kwnames[] = {
26151 (char *) "self",(char *) "effect", NULL
26152 };
26153
26154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
26155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26157 arg2 = (wxDragResult) SWIG_AsInt(obj1);
26158 if (PyErr_Occurred()) SWIG_fail;
26159 {
26160 PyThreadState* __tstate = wxPyBeginAllowThreads();
26161 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
26162
26163 wxPyEndAllowThreads(__tstate);
26164 if (PyErr_Occurred()) SWIG_fail;
26165 }
26166 {
26167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26168 }
26169 return resultobj;
26170 fail:
26171 return NULL;
26172}
26173
26174
26175static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
26176 PyObject *obj;
26177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26178 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
26179 Py_INCREF(obj);
26180 return Py_BuildValue((char *)"");
26181}
26182static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26183 PyObject *resultobj;
26184 wxDataObject *arg1 = (wxDataObject *) NULL ;
26185 wxPyDropTarget *result;
26186 PyObject * obj0 = 0 ;
26187 char *kwnames[] = {
26188 (char *) "dataObject", NULL
26189 };
26190
26191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
26192 if (obj0) {
26193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
26194 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26195 }
26196 {
26197 PyThreadState* __tstate = wxPyBeginAllowThreads();
26198 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
26199
26200 wxPyEndAllowThreads(__tstate);
26201 if (PyErr_Occurred()) SWIG_fail;
26202 }
26203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
26204 return resultobj;
26205 fail:
26206 return NULL;
26207}
26208
26209
26210static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26211 PyObject *resultobj;
26212 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26213 PyObject *arg2 = (PyObject *) 0 ;
26214 PyObject *arg3 = (PyObject *) 0 ;
26215 PyObject * obj0 = 0 ;
26216 PyObject * obj1 = 0 ;
26217 PyObject * obj2 = 0 ;
26218 char *kwnames[] = {
26219 (char *) "self",(char *) "self",(char *) "_class", NULL
26220 };
26221
26222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26225 arg2 = obj1;
26226 arg3 = obj2;
26227 {
26228 PyThreadState* __tstate = wxPyBeginAllowThreads();
26229 (arg1)->_setCallbackInfo(arg2,arg3);
26230
26231 wxPyEndAllowThreads(__tstate);
26232 if (PyErr_Occurred()) SWIG_fail;
26233 }
26234 Py_INCREF(Py_None); resultobj = Py_None;
26235 return resultobj;
26236 fail:
26237 return NULL;
26238}
26239
26240
26241static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26242 PyObject *resultobj;
26243 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26244 PyObject * obj0 = 0 ;
26245 char *kwnames[] = {
26246 (char *) "self", NULL
26247 };
26248
26249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26252 {
26253 PyThreadState* __tstate = wxPyBeginAllowThreads();
26254 delete arg1;
26255
26256 wxPyEndAllowThreads(__tstate);
26257 if (PyErr_Occurred()) SWIG_fail;
26258 }
26259 Py_INCREF(Py_None); resultobj = Py_None;
26260 return resultobj;
26261 fail:
26262 return NULL;
26263}
26264
26265
26266static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26267 PyObject *resultobj;
26268 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26269 wxDataObject *result;
26270 PyObject * obj0 = 0 ;
26271 char *kwnames[] = {
26272 (char *) "self", NULL
26273 };
26274
26275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26278 {
26279 PyThreadState* __tstate = wxPyBeginAllowThreads();
26280 result = (wxDataObject *)(arg1)->GetDataObject();
26281
26282 wxPyEndAllowThreads(__tstate);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 }
26285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26286 return resultobj;
26287 fail:
26288 return NULL;
26289}
26290
26291
26292static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26293 PyObject *resultobj;
26294 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26295 wxDataObject *arg2 = (wxDataObject *) 0 ;
26296 PyObject * obj0 = 0 ;
26297 PyObject * obj1 = 0 ;
26298 char *kwnames[] = {
26299 (char *) "self",(char *) "dataObject", NULL
26300 };
26301
26302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26305 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26306 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26307 {
26308 PyThreadState* __tstate = wxPyBeginAllowThreads();
26309 (arg1)->SetDataObject(arg2);
26310
26311 wxPyEndAllowThreads(__tstate);
26312 if (PyErr_Occurred()) SWIG_fail;
26313 }
26314 Py_INCREF(Py_None); resultobj = Py_None;
26315 return resultobj;
26316 fail:
26317 return NULL;
26318}
26319
26320
26321static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26322 PyObject *resultobj;
26323 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26324 int arg2 ;
26325 int arg3 ;
26326 int arg4 ;
26327 int result;
26328 PyObject * obj0 = 0 ;
26329 PyObject * obj1 = 0 ;
26330 PyObject * obj2 = 0 ;
26331 PyObject * obj3 = 0 ;
26332 char *kwnames[] = {
26333 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26334 };
26335
26336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26339 arg2 = (int) SWIG_AsInt(obj1);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 arg3 = (int) SWIG_AsInt(obj2);
26342 if (PyErr_Occurred()) SWIG_fail;
26343 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26344 if (PyErr_Occurred()) SWIG_fail;
26345 {
26346 PyThreadState* __tstate = wxPyBeginAllowThreads();
26347 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26348
26349 wxPyEndAllowThreads(__tstate);
26350 if (PyErr_Occurred()) SWIG_fail;
26351 }
26352 resultobj = SWIG_FromInt((int)result);
26353 return resultobj;
26354 fail:
26355 return NULL;
26356}
26357
26358
26359static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26360 PyObject *resultobj;
26361 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26362 int arg2 ;
26363 int arg3 ;
26364 int arg4 ;
26365 int result;
26366 PyObject * obj0 = 0 ;
26367 PyObject * obj1 = 0 ;
26368 PyObject * obj2 = 0 ;
26369 PyObject * obj3 = 0 ;
26370 char *kwnames[] = {
26371 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26372 };
26373
26374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26377 arg2 = (int) SWIG_AsInt(obj1);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 arg3 = (int) SWIG_AsInt(obj2);
26380 if (PyErr_Occurred()) SWIG_fail;
26381 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 {
26384 PyThreadState* __tstate = wxPyBeginAllowThreads();
26385 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26386
26387 wxPyEndAllowThreads(__tstate);
26388 if (PyErr_Occurred()) SWIG_fail;
26389 }
26390 resultobj = SWIG_FromInt((int)result);
26391 return resultobj;
26392 fail:
26393 return NULL;
26394}
26395
26396
26397static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26398 PyObject *resultobj;
26399 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26400 PyObject * obj0 = 0 ;
26401 char *kwnames[] = {
26402 (char *) "self", NULL
26403 };
26404
26405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26408 {
26409 PyThreadState* __tstate = wxPyBeginAllowThreads();
26410 (arg1)->base_OnLeave();
26411
26412 wxPyEndAllowThreads(__tstate);
26413 if (PyErr_Occurred()) SWIG_fail;
26414 }
26415 Py_INCREF(Py_None); resultobj = Py_None;
26416 return resultobj;
26417 fail:
26418 return NULL;
26419}
26420
26421
26422static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26423 PyObject *resultobj;
26424 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26425 int arg2 ;
26426 int arg3 ;
26427 bool result;
26428 PyObject * obj0 = 0 ;
26429 PyObject * obj1 = 0 ;
26430 PyObject * obj2 = 0 ;
26431 char *kwnames[] = {
26432 (char *) "self",(char *) "x",(char *) "y", NULL
26433 };
26434
26435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26438 arg2 = (int) SWIG_AsInt(obj1);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 arg3 = (int) SWIG_AsInt(obj2);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 {
26443 PyThreadState* __tstate = wxPyBeginAllowThreads();
26444 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26445
26446 wxPyEndAllowThreads(__tstate);
26447 if (PyErr_Occurred()) SWIG_fail;
26448 }
26449 {
26450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26451 }
26452 return resultobj;
26453 fail:
26454 return NULL;
26455}
26456
26457
26458static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26459 PyObject *resultobj;
26460 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26461 bool result;
26462 PyObject * obj0 = 0 ;
26463 char *kwnames[] = {
26464 (char *) "self", NULL
26465 };
26466
26467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26470 {
26471 PyThreadState* __tstate = wxPyBeginAllowThreads();
26472 result = (bool)(arg1)->GetData();
26473
26474 wxPyEndAllowThreads(__tstate);
26475 if (PyErr_Occurred()) SWIG_fail;
26476 }
26477 {
26478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26479 }
26480 return resultobj;
26481 fail:
26482 return NULL;
26483}
26484
26485
26486static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
26487 PyObject *obj;
26488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26489 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26490 Py_INCREF(obj);
26491 return Py_BuildValue((char *)"");
26492}
26493static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26494 PyObject *resultobj;
26495 wxPyTextDropTarget *result;
26496 char *kwnames[] = {
26497 NULL
26498 };
26499
26500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26501 {
26502 PyThreadState* __tstate = wxPyBeginAllowThreads();
26503 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26504
26505 wxPyEndAllowThreads(__tstate);
26506 if (PyErr_Occurred()) SWIG_fail;
26507 }
26508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26509 return resultobj;
26510 fail:
26511 return NULL;
26512}
26513
26514
26515static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26516 PyObject *resultobj;
26517 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26518 PyObject *arg2 = (PyObject *) 0 ;
26519 PyObject *arg3 = (PyObject *) 0 ;
26520 PyObject * obj0 = 0 ;
26521 PyObject * obj1 = 0 ;
26522 PyObject * obj2 = 0 ;
26523 char *kwnames[] = {
26524 (char *) "self",(char *) "self",(char *) "_class", NULL
26525 };
26526
26527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26530 arg2 = obj1;
26531 arg3 = obj2;
26532 {
26533 PyThreadState* __tstate = wxPyBeginAllowThreads();
26534 (arg1)->_setCallbackInfo(arg2,arg3);
26535
26536 wxPyEndAllowThreads(__tstate);
26537 if (PyErr_Occurred()) SWIG_fail;
26538 }
26539 Py_INCREF(Py_None); resultobj = Py_None;
26540 return resultobj;
26541 fail:
26542 return NULL;
26543}
26544
26545
26546static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26547 PyObject *resultobj;
26548 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26549 int arg2 ;
26550 int arg3 ;
26551 int arg4 ;
26552 int result;
26553 PyObject * obj0 = 0 ;
26554 PyObject * obj1 = 0 ;
26555 PyObject * obj2 = 0 ;
26556 PyObject * obj3 = 0 ;
26557 char *kwnames[] = {
26558 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26559 };
26560
26561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26564 arg2 = (int) SWIG_AsInt(obj1);
26565 if (PyErr_Occurred()) SWIG_fail;
26566 arg3 = (int) SWIG_AsInt(obj2);
26567 if (PyErr_Occurred()) SWIG_fail;
26568 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26569 if (PyErr_Occurred()) SWIG_fail;
26570 {
26571 PyThreadState* __tstate = wxPyBeginAllowThreads();
26572 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26573
26574 wxPyEndAllowThreads(__tstate);
26575 if (PyErr_Occurred()) SWIG_fail;
26576 }
26577 resultobj = SWIG_FromInt((int)result);
26578 return resultobj;
26579 fail:
26580 return NULL;
26581}
26582
26583
26584static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26585 PyObject *resultobj;
26586 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26587 int arg2 ;
26588 int arg3 ;
26589 int arg4 ;
26590 int result;
26591 PyObject * obj0 = 0 ;
26592 PyObject * obj1 = 0 ;
26593 PyObject * obj2 = 0 ;
26594 PyObject * obj3 = 0 ;
26595 char *kwnames[] = {
26596 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26597 };
26598
26599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26602 arg2 = (int) SWIG_AsInt(obj1);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 arg3 = (int) SWIG_AsInt(obj2);
26605 if (PyErr_Occurred()) SWIG_fail;
26606 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26607 if (PyErr_Occurred()) SWIG_fail;
26608 {
26609 PyThreadState* __tstate = wxPyBeginAllowThreads();
26610 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26611
26612 wxPyEndAllowThreads(__tstate);
26613 if (PyErr_Occurred()) SWIG_fail;
26614 }
26615 resultobj = SWIG_FromInt((int)result);
26616 return resultobj;
26617 fail:
26618 return NULL;
26619}
26620
26621
26622static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26623 PyObject *resultobj;
26624 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26625 PyObject * obj0 = 0 ;
26626 char *kwnames[] = {
26627 (char *) "self", NULL
26628 };
26629
26630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26633 {
26634 PyThreadState* __tstate = wxPyBeginAllowThreads();
26635 (arg1)->base_OnLeave();
26636
26637 wxPyEndAllowThreads(__tstate);
26638 if (PyErr_Occurred()) SWIG_fail;
26639 }
26640 Py_INCREF(Py_None); resultobj = Py_None;
26641 return resultobj;
26642 fail:
26643 return NULL;
26644}
26645
26646
26647static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26648 PyObject *resultobj;
26649 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26650 int arg2 ;
26651 int arg3 ;
26652 bool result;
26653 PyObject * obj0 = 0 ;
26654 PyObject * obj1 = 0 ;
26655 PyObject * obj2 = 0 ;
26656 char *kwnames[] = {
26657 (char *) "self",(char *) "x",(char *) "y", NULL
26658 };
26659
26660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26663 arg2 = (int) SWIG_AsInt(obj1);
26664 if (PyErr_Occurred()) SWIG_fail;
26665 arg3 = (int) SWIG_AsInt(obj2);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 {
26668 PyThreadState* __tstate = wxPyBeginAllowThreads();
26669 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26670
26671 wxPyEndAllowThreads(__tstate);
26672 if (PyErr_Occurred()) SWIG_fail;
26673 }
26674 {
26675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26676 }
26677 return resultobj;
26678 fail:
26679 return NULL;
26680}
26681
26682
26683static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26684 PyObject *resultobj;
26685 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26686 int arg2 ;
26687 int arg3 ;
26688 int arg4 ;
26689 int result;
26690 PyObject * obj0 = 0 ;
26691 PyObject * obj1 = 0 ;
26692 PyObject * obj2 = 0 ;
26693 PyObject * obj3 = 0 ;
26694 char *kwnames[] = {
26695 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26696 };
26697
26698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26701 arg2 = (int) SWIG_AsInt(obj1);
26702 if (PyErr_Occurred()) SWIG_fail;
26703 arg3 = (int) SWIG_AsInt(obj2);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26706 if (PyErr_Occurred()) SWIG_fail;
26707 {
26708 PyThreadState* __tstate = wxPyBeginAllowThreads();
26709 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26710
26711 wxPyEndAllowThreads(__tstate);
26712 if (PyErr_Occurred()) SWIG_fail;
26713 }
26714 resultobj = SWIG_FromInt((int)result);
26715 return resultobj;
26716 fail:
26717 return NULL;
26718}
26719
26720
26721static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26722 PyObject *obj;
26723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26724 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26725 Py_INCREF(obj);
26726 return Py_BuildValue((char *)"");
26727}
26728static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26729 PyObject *resultobj;
26730 wxPyFileDropTarget *result;
26731 char *kwnames[] = {
26732 NULL
26733 };
26734
26735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26736 {
26737 PyThreadState* __tstate = wxPyBeginAllowThreads();
26738 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26739
26740 wxPyEndAllowThreads(__tstate);
26741 if (PyErr_Occurred()) SWIG_fail;
26742 }
26743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26744 return resultobj;
26745 fail:
26746 return NULL;
26747}
26748
26749
26750static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26751 PyObject *resultobj;
26752 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26753 PyObject *arg2 = (PyObject *) 0 ;
26754 PyObject *arg3 = (PyObject *) 0 ;
26755 PyObject * obj0 = 0 ;
26756 PyObject * obj1 = 0 ;
26757 PyObject * obj2 = 0 ;
26758 char *kwnames[] = {
26759 (char *) "self",(char *) "self",(char *) "_class", NULL
26760 };
26761
26762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26765 arg2 = obj1;
26766 arg3 = obj2;
26767 {
26768 PyThreadState* __tstate = wxPyBeginAllowThreads();
26769 (arg1)->_setCallbackInfo(arg2,arg3);
26770
26771 wxPyEndAllowThreads(__tstate);
26772 if (PyErr_Occurred()) SWIG_fail;
26773 }
26774 Py_INCREF(Py_None); resultobj = Py_None;
26775 return resultobj;
26776 fail:
26777 return NULL;
26778}
26779
26780
26781static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26782 PyObject *resultobj;
26783 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26784 int arg2 ;
26785 int arg3 ;
26786 int arg4 ;
26787 int result;
26788 PyObject * obj0 = 0 ;
26789 PyObject * obj1 = 0 ;
26790 PyObject * obj2 = 0 ;
26791 PyObject * obj3 = 0 ;
26792 char *kwnames[] = {
26793 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26794 };
26795
26796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26799 arg2 = (int) SWIG_AsInt(obj1);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 arg3 = (int) SWIG_AsInt(obj2);
26802 if (PyErr_Occurred()) SWIG_fail;
26803 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26804 if (PyErr_Occurred()) SWIG_fail;
26805 {
26806 PyThreadState* __tstate = wxPyBeginAllowThreads();
26807 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26808
26809 wxPyEndAllowThreads(__tstate);
26810 if (PyErr_Occurred()) SWIG_fail;
26811 }
26812 resultobj = SWIG_FromInt((int)result);
26813 return resultobj;
26814 fail:
26815 return NULL;
26816}
26817
26818
26819static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26820 PyObject *resultobj;
26821 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26822 int arg2 ;
26823 int arg3 ;
26824 int arg4 ;
26825 int result;
26826 PyObject * obj0 = 0 ;
26827 PyObject * obj1 = 0 ;
26828 PyObject * obj2 = 0 ;
26829 PyObject * obj3 = 0 ;
26830 char *kwnames[] = {
26831 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26832 };
26833
26834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26837 arg2 = (int) SWIG_AsInt(obj1);
26838 if (PyErr_Occurred()) SWIG_fail;
26839 arg3 = (int) SWIG_AsInt(obj2);
26840 if (PyErr_Occurred()) SWIG_fail;
26841 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26842 if (PyErr_Occurred()) SWIG_fail;
26843 {
26844 PyThreadState* __tstate = wxPyBeginAllowThreads();
26845 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26846
26847 wxPyEndAllowThreads(__tstate);
26848 if (PyErr_Occurred()) SWIG_fail;
26849 }
26850 resultobj = SWIG_FromInt((int)result);
26851 return resultobj;
26852 fail:
26853 return NULL;
26854}
26855
26856
26857static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26858 PyObject *resultobj;
26859 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26860 PyObject * obj0 = 0 ;
26861 char *kwnames[] = {
26862 (char *) "self", NULL
26863 };
26864
26865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26868 {
26869 PyThreadState* __tstate = wxPyBeginAllowThreads();
26870 (arg1)->base_OnLeave();
26871
26872 wxPyEndAllowThreads(__tstate);
26873 if (PyErr_Occurred()) SWIG_fail;
26874 }
26875 Py_INCREF(Py_None); resultobj = Py_None;
26876 return resultobj;
26877 fail:
26878 return NULL;
26879}
26880
26881
26882static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26883 PyObject *resultobj;
26884 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26885 int arg2 ;
26886 int arg3 ;
26887 bool result;
26888 PyObject * obj0 = 0 ;
26889 PyObject * obj1 = 0 ;
26890 PyObject * obj2 = 0 ;
26891 char *kwnames[] = {
26892 (char *) "self",(char *) "x",(char *) "y", NULL
26893 };
26894
26895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26898 arg2 = (int) SWIG_AsInt(obj1);
26899 if (PyErr_Occurred()) SWIG_fail;
26900 arg3 = (int) SWIG_AsInt(obj2);
26901 if (PyErr_Occurred()) SWIG_fail;
26902 {
26903 PyThreadState* __tstate = wxPyBeginAllowThreads();
26904 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26905
26906 wxPyEndAllowThreads(__tstate);
26907 if (PyErr_Occurred()) SWIG_fail;
26908 }
26909 {
26910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26911 }
26912 return resultobj;
26913 fail:
26914 return NULL;
26915}
26916
26917
26918static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26919 PyObject *resultobj;
26920 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26921 int arg2 ;
26922 int arg3 ;
26923 int arg4 ;
26924 int result;
26925 PyObject * obj0 = 0 ;
26926 PyObject * obj1 = 0 ;
26927 PyObject * obj2 = 0 ;
26928 PyObject * obj3 = 0 ;
26929 char *kwnames[] = {
26930 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26931 };
26932
26933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26936 arg2 = (int) SWIG_AsInt(obj1);
26937 if (PyErr_Occurred()) SWIG_fail;
26938 arg3 = (int) SWIG_AsInt(obj2);
26939 if (PyErr_Occurred()) SWIG_fail;
26940 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26941 if (PyErr_Occurred()) SWIG_fail;
26942 {
26943 PyThreadState* __tstate = wxPyBeginAllowThreads();
26944 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26945
26946 wxPyEndAllowThreads(__tstate);
26947 if (PyErr_Occurred()) SWIG_fail;
26948 }
26949 resultobj = SWIG_FromInt((int)result);
26950 return resultobj;
26951 fail:
26952 return NULL;
26953}
26954
26955
26956static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26957 PyObject *obj;
26958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26959 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26960 Py_INCREF(obj);
26961 return Py_BuildValue((char *)"");
26962}
26963static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26964 PyObject *resultobj;
26965 wxClipboard *result;
26966 char *kwnames[] = {
26967 NULL
26968 };
26969
26970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26971 {
26972 PyThreadState* __tstate = wxPyBeginAllowThreads();
26973 result = (wxClipboard *)new wxClipboard();
26974
26975 wxPyEndAllowThreads(__tstate);
26976 if (PyErr_Occurred()) SWIG_fail;
26977 }
26978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
26979 return resultobj;
26980 fail:
26981 return NULL;
26982}
26983
26984
26985static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26986 PyObject *resultobj;
26987 wxClipboard *arg1 = (wxClipboard *) 0 ;
26988 PyObject * obj0 = 0 ;
26989 char *kwnames[] = {
26990 (char *) "self", NULL
26991 };
26992
26993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26996 {
26997 PyThreadState* __tstate = wxPyBeginAllowThreads();
26998 delete arg1;
26999
27000 wxPyEndAllowThreads(__tstate);
27001 if (PyErr_Occurred()) SWIG_fail;
27002 }
27003 Py_INCREF(Py_None); resultobj = Py_None;
27004 return resultobj;
27005 fail:
27006 return NULL;
27007}
27008
27009
27010static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
27011 PyObject *resultobj;
27012 wxClipboard *arg1 = (wxClipboard *) 0 ;
27013 bool result;
27014 PyObject * obj0 = 0 ;
27015 char *kwnames[] = {
27016 (char *) "self", NULL
27017 };
27018
27019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
27020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27022 {
27023 PyThreadState* __tstate = wxPyBeginAllowThreads();
27024 result = (bool)(arg1)->Open();
27025
27026 wxPyEndAllowThreads(__tstate);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 }
27029 {
27030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27031 }
27032 return resultobj;
27033 fail:
27034 return NULL;
27035}
27036
27037
27038static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
27039 PyObject *resultobj;
27040 wxClipboard *arg1 = (wxClipboard *) 0 ;
27041 PyObject * obj0 = 0 ;
27042 char *kwnames[] = {
27043 (char *) "self", NULL
27044 };
27045
27046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
27047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27049 {
27050 PyThreadState* __tstate = wxPyBeginAllowThreads();
27051 (arg1)->Close();
27052
27053 wxPyEndAllowThreads(__tstate);
27054 if (PyErr_Occurred()) SWIG_fail;
27055 }
27056 Py_INCREF(Py_None); resultobj = Py_None;
27057 return resultobj;
27058 fail:
27059 return NULL;
27060}
27061
27062
27063static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
27064 PyObject *resultobj;
27065 wxClipboard *arg1 = (wxClipboard *) 0 ;
27066 bool result;
27067 PyObject * obj0 = 0 ;
27068 char *kwnames[] = {
27069 (char *) "self", NULL
27070 };
27071
27072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
27073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
27077 result = (bool)((wxClipboard const *)arg1)->IsOpened();
27078
27079 wxPyEndAllowThreads(__tstate);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 }
27082 {
27083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27084 }
27085 return resultobj;
27086 fail:
27087 return NULL;
27088}
27089
27090
27091static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
27092 PyObject *resultobj;
27093 wxClipboard *arg1 = (wxClipboard *) 0 ;
27094 wxDataObject *arg2 = (wxDataObject *) 0 ;
27095 bool result;
27096 PyObject * obj0 = 0 ;
27097 PyObject * obj1 = 0 ;
27098 char *kwnames[] = {
27099 (char *) "self",(char *) "data", NULL
27100 };
27101
27102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
27103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27106 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27107 {
27108 PyThreadState* __tstate = wxPyBeginAllowThreads();
27109 result = (bool)(arg1)->AddData(arg2);
27110
27111 wxPyEndAllowThreads(__tstate);
27112 if (PyErr_Occurred()) SWIG_fail;
27113 }
27114 {
27115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27116 }
27117 return resultobj;
27118 fail:
27119 return NULL;
27120}
27121
27122
27123static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27124 PyObject *resultobj;
27125 wxClipboard *arg1 = (wxClipboard *) 0 ;
27126 wxDataObject *arg2 = (wxDataObject *) 0 ;
27127 bool result;
27128 PyObject * obj0 = 0 ;
27129 PyObject * obj1 = 0 ;
27130 char *kwnames[] = {
27131 (char *) "self",(char *) "data", NULL
27132 };
27133
27134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
27135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27138 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27139 {
27140 PyThreadState* __tstate = wxPyBeginAllowThreads();
27141 result = (bool)(arg1)->SetData(arg2);
27142
27143 wxPyEndAllowThreads(__tstate);
27144 if (PyErr_Occurred()) SWIG_fail;
27145 }
27146 {
27147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27148 }
27149 return resultobj;
27150 fail:
27151 return NULL;
27152}
27153
27154
27155static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
27156 PyObject *resultobj;
27157 wxClipboard *arg1 = (wxClipboard *) 0 ;
27158 wxDataFormat *arg2 = 0 ;
27159 bool result;
27160 PyObject * obj0 = 0 ;
27161 PyObject * obj1 = 0 ;
27162 char *kwnames[] = {
27163 (char *) "self",(char *) "format", NULL
27164 };
27165
27166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
27167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
27170 SWIG_POINTER_EXCEPTION | 0)) == -1)
27171 SWIG_fail;
27172 if (arg2 == NULL) {
27173 PyErr_SetString(PyExc_TypeError,"null reference");
27174 SWIG_fail;
27175 }
27176 {
27177 PyThreadState* __tstate = wxPyBeginAllowThreads();
27178 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
27179
27180 wxPyEndAllowThreads(__tstate);
27181 if (PyErr_Occurred()) SWIG_fail;
27182 }
27183 {
27184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27185 }
27186 return resultobj;
27187 fail:
27188 return NULL;
27189}
27190
27191
27192static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27193 PyObject *resultobj;
27194 wxClipboard *arg1 = (wxClipboard *) 0 ;
27195 wxDataObject *arg2 = 0 ;
27196 bool result;
27197 PyObject * obj0 = 0 ;
27198 PyObject * obj1 = 0 ;
27199 char *kwnames[] = {
27200 (char *) "self",(char *) "data", NULL
27201 };
27202
27203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
27204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27207 SWIG_POINTER_EXCEPTION | 0)) == -1)
27208 SWIG_fail;
27209 if (arg2 == NULL) {
27210 PyErr_SetString(PyExc_TypeError,"null reference");
27211 SWIG_fail;
27212 }
27213 {
27214 PyThreadState* __tstate = wxPyBeginAllowThreads();
27215 result = (bool)(arg1)->GetData(*arg2);
27216
27217 wxPyEndAllowThreads(__tstate);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
27220 {
27221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27222 }
27223 return resultobj;
27224 fail:
27225 return NULL;
27226}
27227
27228
27229static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
27230 PyObject *resultobj;
27231 wxClipboard *arg1 = (wxClipboard *) 0 ;
27232 PyObject * obj0 = 0 ;
27233 char *kwnames[] = {
27234 (char *) "self", NULL
27235 };
27236
27237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27240 {
27241 PyThreadState* __tstate = wxPyBeginAllowThreads();
27242 (arg1)->Clear();
27243
27244 wxPyEndAllowThreads(__tstate);
27245 if (PyErr_Occurred()) SWIG_fail;
27246 }
27247 Py_INCREF(Py_None); resultobj = Py_None;
27248 return resultobj;
27249 fail:
27250 return NULL;
27251}
27252
27253
27254static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
27255 PyObject *resultobj;
27256 wxClipboard *arg1 = (wxClipboard *) 0 ;
27257 bool result;
27258 PyObject * obj0 = 0 ;
27259 char *kwnames[] = {
27260 (char *) "self", NULL
27261 };
27262
27263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27266 {
27267 PyThreadState* __tstate = wxPyBeginAllowThreads();
27268 result = (bool)(arg1)->Flush();
27269
27270 wxPyEndAllowThreads(__tstate);
27271 if (PyErr_Occurred()) SWIG_fail;
27272 }
27273 {
27274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27275 }
27276 return resultobj;
27277 fail:
27278 return NULL;
27279}
27280
27281
27282static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27283 PyObject *resultobj;
27284 wxClipboard *arg1 = (wxClipboard *) 0 ;
27285 bool arg2 = (bool) True ;
27286 PyObject * obj0 = 0 ;
27287 PyObject * obj1 = 0 ;
27288 char *kwnames[] = {
27289 (char *) "self",(char *) "primary", NULL
27290 };
27291
27292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27295 if (obj1) {
27296 arg2 = (bool) SWIG_AsBool(obj1);
27297 if (PyErr_Occurred()) SWIG_fail;
27298 }
27299 {
27300 PyThreadState* __tstate = wxPyBeginAllowThreads();
27301 (arg1)->UsePrimarySelection(arg2);
27302
27303 wxPyEndAllowThreads(__tstate);
27304 if (PyErr_Occurred()) SWIG_fail;
27305 }
27306 Py_INCREF(Py_None); resultobj = Py_None;
27307 return resultobj;
27308 fail:
27309 return NULL;
27310}
27311
27312
a001823c
RD
27313static PyObject *_wrap_Clipboard_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
27314 PyObject *resultobj;
27315 wxClipboard *result;
27316 char *kwnames[] = {
27317 NULL
27318 };
27319
27320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
27321 {
27322 PyThreadState* __tstate = wxPyBeginAllowThreads();
27323 result = (wxClipboard *)wxClipboard::Get();
27324
27325 wxPyEndAllowThreads(__tstate);
27326 if (PyErr_Occurred()) SWIG_fail;
27327 }
27328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
27329 return resultobj;
27330 fail:
27331 return NULL;
27332}
27333
27334
d55e5bfc
RD
27335static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
27336 PyObject *obj;
27337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27338 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27339 Py_INCREF(obj);
27340 return Py_BuildValue((char *)"");
27341}
d55e5bfc
RD
27342static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27343 PyObject *resultobj;
27344 wxClipboard *arg1 = (wxClipboard *) NULL ;
27345 wxClipboardLocker *result;
27346 PyObject * obj0 = 0 ;
27347 char *kwnames[] = {
27348 (char *) "clipboard", NULL
27349 };
27350
27351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27352 if (obj0) {
27353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27355 }
27356 {
27357 PyThreadState* __tstate = wxPyBeginAllowThreads();
27358 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27359
27360 wxPyEndAllowThreads(__tstate);
27361 if (PyErr_Occurred()) SWIG_fail;
27362 }
27363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27364 return resultobj;
27365 fail:
27366 return NULL;
27367}
27368
27369
27370static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27371 PyObject *resultobj;
27372 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27373 PyObject * obj0 = 0 ;
27374 char *kwnames[] = {
27375 (char *) "self", NULL
27376 };
27377
27378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27381 {
27382 PyThreadState* __tstate = wxPyBeginAllowThreads();
27383 delete arg1;
27384
27385 wxPyEndAllowThreads(__tstate);
27386 if (PyErr_Occurred()) SWIG_fail;
27387 }
27388 Py_INCREF(Py_None); resultobj = Py_None;
27389 return resultobj;
27390 fail:
27391 return NULL;
27392}
27393
27394
27395static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
27396 PyObject *resultobj;
27397 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27398 bool result;
27399 PyObject * obj0 = 0 ;
27400 char *kwnames[] = {
27401 (char *) "self", NULL
27402 };
27403
27404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27407 {
27408 PyThreadState* __tstate = wxPyBeginAllowThreads();
27409 result = (bool)wxClipboardLocker___nonzero__(arg1);
27410
27411 wxPyEndAllowThreads(__tstate);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 }
27414 {
27415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27416 }
27417 return resultobj;
27418 fail:
27419 return NULL;
27420}
27421
27422
27423static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
27424 PyObject *obj;
27425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27426 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27427 Py_INCREF(obj);
27428 return Py_BuildValue((char *)"");
27429}
27430static PyObject *_wrap_new_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27431 PyObject *resultobj;
27432 int arg1 = (int) 0 ;
27433 int arg2 = (int) 0 ;
27434 int arg3 = (int) 0 ;
27435 int arg4 = (int) 0 ;
27436 wxVideoMode *result;
27437 PyObject * obj0 = 0 ;
27438 PyObject * obj1 = 0 ;
27439 PyObject * obj2 = 0 ;
27440 PyObject * obj3 = 0 ;
27441 char *kwnames[] = {
27442 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27443 };
27444
27445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27446 if (obj0) {
27447 arg1 = (int) SWIG_AsInt(obj0);
27448 if (PyErr_Occurred()) SWIG_fail;
27449 }
27450 if (obj1) {
27451 arg2 = (int) SWIG_AsInt(obj1);
27452 if (PyErr_Occurred()) SWIG_fail;
27453 }
27454 if (obj2) {
27455 arg3 = (int) SWIG_AsInt(obj2);
27456 if (PyErr_Occurred()) SWIG_fail;
27457 }
27458 if (obj3) {
27459 arg4 = (int) SWIG_AsInt(obj3);
27460 if (PyErr_Occurred()) SWIG_fail;
27461 }
27462 {
27463 PyThreadState* __tstate = wxPyBeginAllowThreads();
27464 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27465
27466 wxPyEndAllowThreads(__tstate);
27467 if (PyErr_Occurred()) SWIG_fail;
27468 }
27469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27470 return resultobj;
27471 fail:
27472 return NULL;
27473}
27474
27475
27476static PyObject *_wrap_delete_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27477 PyObject *resultobj;
27478 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27479 PyObject * obj0 = 0 ;
27480 char *kwnames[] = {
27481 (char *) "self", NULL
27482 };
27483
27484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27487 {
27488 PyThreadState* __tstate = wxPyBeginAllowThreads();
27489 delete arg1;
27490
27491 wxPyEndAllowThreads(__tstate);
27492 if (PyErr_Occurred()) SWIG_fail;
27493 }
27494 Py_INCREF(Py_None); resultobj = Py_None;
27495 return resultobj;
27496 fail:
27497 return NULL;
27498}
27499
27500
27501static PyObject *_wrap_VideoMode_Matches(PyObject *self, PyObject *args, PyObject *kwargs) {
27502 PyObject *resultobj;
27503 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27504 wxVideoMode *arg2 = 0 ;
27505 bool result;
27506 PyObject * obj0 = 0 ;
27507 PyObject * obj1 = 0 ;
27508 char *kwnames[] = {
27509 (char *) "self",(char *) "other", NULL
27510 };
27511
27512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27516 SWIG_POINTER_EXCEPTION | 0)) == -1)
27517 SWIG_fail;
27518 if (arg2 == NULL) {
27519 PyErr_SetString(PyExc_TypeError,"null reference");
27520 SWIG_fail;
27521 }
27522 {
27523 PyThreadState* __tstate = wxPyBeginAllowThreads();
27524 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27525
27526 wxPyEndAllowThreads(__tstate);
27527 if (PyErr_Occurred()) SWIG_fail;
27528 }
27529 {
27530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27531 }
27532 return resultobj;
27533 fail:
27534 return NULL;
27535}
27536
27537
27538static PyObject *_wrap_VideoMode_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
27539 PyObject *resultobj;
27540 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27541 int result;
27542 PyObject * obj0 = 0 ;
27543 char *kwnames[] = {
27544 (char *) "self", NULL
27545 };
27546
27547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27550 {
27551 PyThreadState* __tstate = wxPyBeginAllowThreads();
27552 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27553
27554 wxPyEndAllowThreads(__tstate);
27555 if (PyErr_Occurred()) SWIG_fail;
27556 }
27557 resultobj = SWIG_FromInt((int)result);
27558 return resultobj;
27559 fail:
27560 return NULL;
27561}
27562
27563
27564static PyObject *_wrap_VideoMode_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
27565 PyObject *resultobj;
27566 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27567 int result;
27568 PyObject * obj0 = 0 ;
27569 char *kwnames[] = {
27570 (char *) "self", NULL
27571 };
27572
27573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27576 {
27577 PyThreadState* __tstate = wxPyBeginAllowThreads();
27578 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27579
27580 wxPyEndAllowThreads(__tstate);
27581 if (PyErr_Occurred()) SWIG_fail;
27582 }
27583 resultobj = SWIG_FromInt((int)result);
27584 return resultobj;
27585 fail:
27586 return NULL;
27587}
27588
27589
27590static PyObject *_wrap_VideoMode_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
27591 PyObject *resultobj;
27592 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27593 int result;
27594 PyObject * obj0 = 0 ;
27595 char *kwnames[] = {
27596 (char *) "self", NULL
27597 };
27598
27599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27602 {
27603 PyThreadState* __tstate = wxPyBeginAllowThreads();
27604 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27605
27606 wxPyEndAllowThreads(__tstate);
27607 if (PyErr_Occurred()) SWIG_fail;
27608 }
27609 resultobj = SWIG_FromInt((int)result);
27610 return resultobj;
27611 fail:
27612 return NULL;
27613}
27614
27615
27616static PyObject *_wrap_VideoMode_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27617 PyObject *resultobj;
27618 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27619 bool result;
27620 PyObject * obj0 = 0 ;
27621 char *kwnames[] = {
27622 (char *) "self", NULL
27623 };
27624
27625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27628 {
27629 PyThreadState* __tstate = wxPyBeginAllowThreads();
27630 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27631
27632 wxPyEndAllowThreads(__tstate);
27633 if (PyErr_Occurred()) SWIG_fail;
27634 }
27635 {
27636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27637 }
27638 return resultobj;
27639 fail:
27640 return NULL;
27641}
27642
27643
27644static PyObject *_wrap_VideoMode___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
27645 PyObject *resultobj;
27646 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27647 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27648 bool result;
27649 PyObject * obj0 = 0 ;
27650 PyObject * obj1 = 0 ;
27651 char *kwnames[] = {
27652 (char *) "self",(char *) "other", NULL
27653 };
27654
27655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27660 {
27661 PyThreadState* __tstate = wxPyBeginAllowThreads();
27662 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27663
27664 wxPyEndAllowThreads(__tstate);
27665 if (PyErr_Occurred()) SWIG_fail;
27666 }
27667 {
27668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27669 }
27670 return resultobj;
27671 fail:
27672 return NULL;
27673}
27674
27675
27676static PyObject *_wrap_VideoMode___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
27677 PyObject *resultobj;
27678 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27679 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27680 bool result;
27681 PyObject * obj0 = 0 ;
27682 PyObject * obj1 = 0 ;
27683 char *kwnames[] = {
27684 (char *) "self",(char *) "other", NULL
27685 };
27686
27687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27692 {
27693 PyThreadState* __tstate = wxPyBeginAllowThreads();
27694 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27695
27696 wxPyEndAllowThreads(__tstate);
27697 if (PyErr_Occurred()) SWIG_fail;
27698 }
27699 {
27700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27701 }
27702 return resultobj;
27703 fail:
27704 return NULL;
27705}
27706
27707
27708static PyObject *_wrap_VideoMode_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27709 PyObject *resultobj;
27710 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27711 int arg2 ;
27712 PyObject * obj0 = 0 ;
27713 PyObject * obj1 = 0 ;
27714 char *kwnames[] = {
27715 (char *) "self",(char *) "w", NULL
27716 };
27717
27718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27721 arg2 = (int) SWIG_AsInt(obj1);
27722 if (PyErr_Occurred()) SWIG_fail;
27723 if (arg1) (arg1)->w = arg2;
27724
27725 Py_INCREF(Py_None); resultobj = Py_None;
27726 return resultobj;
27727 fail:
27728 return NULL;
27729}
27730
27731
27732static PyObject *_wrap_VideoMode_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27733 PyObject *resultobj;
27734 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27735 int result;
27736 PyObject * obj0 = 0 ;
27737 char *kwnames[] = {
27738 (char *) "self", NULL
27739 };
27740
27741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27744 result = (int) ((arg1)->w);
27745
27746 resultobj = SWIG_FromInt((int)result);
27747 return resultobj;
27748 fail:
27749 return NULL;
27750}
27751
27752
27753static PyObject *_wrap_VideoMode_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27754 PyObject *resultobj;
27755 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27756 int arg2 ;
27757 PyObject * obj0 = 0 ;
27758 PyObject * obj1 = 0 ;
27759 char *kwnames[] = {
27760 (char *) "self",(char *) "h", NULL
27761 };
27762
27763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27766 arg2 = (int) SWIG_AsInt(obj1);
27767 if (PyErr_Occurred()) SWIG_fail;
27768 if (arg1) (arg1)->h = arg2;
27769
27770 Py_INCREF(Py_None); resultobj = Py_None;
27771 return resultobj;
27772 fail:
27773 return NULL;
27774}
27775
27776
27777static PyObject *_wrap_VideoMode_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27778 PyObject *resultobj;
27779 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27780 int result;
27781 PyObject * obj0 = 0 ;
27782 char *kwnames[] = {
27783 (char *) "self", NULL
27784 };
27785
27786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27789 result = (int) ((arg1)->h);
27790
27791 resultobj = SWIG_FromInt((int)result);
27792 return resultobj;
27793 fail:
27794 return NULL;
27795}
27796
27797
27798static PyObject *_wrap_VideoMode_bpp_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27799 PyObject *resultobj;
27800 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27801 int arg2 ;
27802 PyObject * obj0 = 0 ;
27803 PyObject * obj1 = 0 ;
27804 char *kwnames[] = {
27805 (char *) "self",(char *) "bpp", NULL
27806 };
27807
27808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27811 arg2 = (int) SWIG_AsInt(obj1);
27812 if (PyErr_Occurred()) SWIG_fail;
27813 if (arg1) (arg1)->bpp = arg2;
27814
27815 Py_INCREF(Py_None); resultobj = Py_None;
27816 return resultobj;
27817 fail:
27818 return NULL;
27819}
27820
27821
27822static PyObject *_wrap_VideoMode_bpp_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27823 PyObject *resultobj;
27824 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27825 int result;
27826 PyObject * obj0 = 0 ;
27827 char *kwnames[] = {
27828 (char *) "self", NULL
27829 };
27830
27831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27834 result = (int) ((arg1)->bpp);
27835
27836 resultobj = SWIG_FromInt((int)result);
27837 return resultobj;
27838 fail:
27839 return NULL;
27840}
27841
27842
27843static PyObject *_wrap_VideoMode_refresh_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27844 PyObject *resultobj;
27845 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27846 int arg2 ;
27847 PyObject * obj0 = 0 ;
27848 PyObject * obj1 = 0 ;
27849 char *kwnames[] = {
27850 (char *) "self",(char *) "refresh", NULL
27851 };
27852
27853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27856 arg2 = (int) SWIG_AsInt(obj1);
27857 if (PyErr_Occurred()) SWIG_fail;
27858 if (arg1) (arg1)->refresh = arg2;
27859
27860 Py_INCREF(Py_None); resultobj = Py_None;
27861 return resultobj;
27862 fail:
27863 return NULL;
27864}
27865
27866
27867static PyObject *_wrap_VideoMode_refresh_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27868 PyObject *resultobj;
27869 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27870 int result;
27871 PyObject * obj0 = 0 ;
27872 char *kwnames[] = {
27873 (char *) "self", NULL
27874 };
27875
27876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27879 result = (int) ((arg1)->refresh);
27880
27881 resultobj = SWIG_FromInt((int)result);
27882 return resultobj;
27883 fail:
27884 return NULL;
27885}
27886
27887
27888static PyObject * VideoMode_swigregister(PyObject *self, PyObject *args) {
27889 PyObject *obj;
27890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27891 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27892 Py_INCREF(obj);
27893 return Py_BuildValue((char *)"");
27894}
27895static int _wrap_DefaultVideoMode_set(PyObject *_val) {
27896 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27897 return 1;
27898}
27899
27900
27901static PyObject *_wrap_DefaultVideoMode_get() {
27902 PyObject *pyobj;
27903
27904 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27905 return pyobj;
27906}
27907
27908
27909static PyObject *_wrap_new_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27910 PyObject *resultobj;
27911 size_t arg1 = (size_t) 0 ;
27912 wxDisplay *result;
27913 PyObject * obj0 = 0 ;
27914 char *kwnames[] = {
27915 (char *) "index", NULL
27916 };
27917
27918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27919 if (obj0) {
27920 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27921 if (PyErr_Occurred()) SWIG_fail;
27922 }
27923 {
27924 PyThreadState* __tstate = wxPyBeginAllowThreads();
27925 result = (wxDisplay *)new wxDisplay(arg1);
27926
27927 wxPyEndAllowThreads(__tstate);
27928 if (PyErr_Occurred()) SWIG_fail;
27929 }
27930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27931 return resultobj;
27932 fail:
27933 return NULL;
27934}
27935
27936
27937static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27938 PyObject *resultobj;
27939 wxDisplay *arg1 = (wxDisplay *) 0 ;
27940 PyObject * obj0 = 0 ;
27941 char *kwnames[] = {
27942 (char *) "self", NULL
27943 };
27944
27945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27948 {
27949 PyThreadState* __tstate = wxPyBeginAllowThreads();
27950 delete arg1;
27951
27952 wxPyEndAllowThreads(__tstate);
27953 if (PyErr_Occurred()) SWIG_fail;
27954 }
27955 Py_INCREF(Py_None); resultobj = Py_None;
27956 return resultobj;
27957 fail:
27958 return NULL;
27959}
27960
27961
27962static PyObject *_wrap_Display_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
27963 PyObject *resultobj;
27964 size_t result;
27965 char *kwnames[] = {
27966 NULL
27967 };
27968
27969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27970 {
27971 PyThreadState* __tstate = wxPyBeginAllowThreads();
27972 result = (size_t)wxDisplay::GetCount();
27973
27974 wxPyEndAllowThreads(__tstate);
27975 if (PyErr_Occurred()) SWIG_fail;
27976 }
27977 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27978 return resultobj;
27979 fail:
27980 return NULL;
27981}
27982
27983
27984static PyObject *_wrap_Display_GetFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
27985 PyObject *resultobj;
27986 wxPoint *arg1 = 0 ;
27987 int result;
27988 wxPoint temp1 ;
27989 PyObject * obj0 = 0 ;
27990 char *kwnames[] = {
27991 (char *) "pt", NULL
27992 };
27993
27994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27995 {
27996 arg1 = &temp1;
27997 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27998 }
27999 {
28000 PyThreadState* __tstate = wxPyBeginAllowThreads();
28001 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
28002
28003 wxPyEndAllowThreads(__tstate);
28004 if (PyErr_Occurred()) SWIG_fail;
28005 }
28006 resultobj = SWIG_FromInt((int)result);
28007 return resultobj;
28008 fail:
28009 return NULL;
28010}
28011
28012
28013static PyObject *_wrap_Display_GetFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28014 PyObject *resultobj;
28015 wxWindow *arg1 = (wxWindow *) 0 ;
28016 int result;
28017 PyObject * obj0 = 0 ;
28018 char *kwnames[] = {
28019 (char *) "window", NULL
28020 };
28021
28022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
28023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28025 {
28026 PyThreadState* __tstate = wxPyBeginAllowThreads();
28027 result = (int)Display_GetFromWindow(arg1);
28028
28029 wxPyEndAllowThreads(__tstate);
28030 if (PyErr_Occurred()) SWIG_fail;
28031 }
28032 resultobj = SWIG_FromInt((int)result);
28033 return resultobj;
28034 fail:
28035 return NULL;
28036}
28037
28038
28039static PyObject *_wrap_Display_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
28040 PyObject *resultobj;
28041 wxDisplay *arg1 = (wxDisplay *) 0 ;
28042 bool result;
28043 PyObject * obj0 = 0 ;
28044 char *kwnames[] = {
28045 (char *) "self", NULL
28046 };
28047
28048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
28049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28051 {
28052 PyThreadState* __tstate = wxPyBeginAllowThreads();
28053 result = (bool)((wxDisplay const *)arg1)->IsOk();
28054
28055 wxPyEndAllowThreads(__tstate);
28056 if (PyErr_Occurred()) SWIG_fail;
28057 }
28058 {
28059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28060 }
28061 return resultobj;
28062 fail:
28063 return NULL;
28064}
28065
28066
28067static PyObject *_wrap_Display_GetGeometry(PyObject *self, PyObject *args, PyObject *kwargs) {
28068 PyObject *resultobj;
28069 wxDisplay *arg1 = (wxDisplay *) 0 ;
28070 wxRect result;
28071 PyObject * obj0 = 0 ;
28072 char *kwnames[] = {
28073 (char *) "self", NULL
28074 };
28075
28076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",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 = ((wxDisplay const *)arg1)->GetGeometry();
28082
28083 wxPyEndAllowThreads(__tstate);
28084 if (PyErr_Occurred()) SWIG_fail;
28085 }
28086 {
28087 wxRect * resultptr;
28088 resultptr = new wxRect((wxRect &) result);
28089 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
28090 }
28091 return resultobj;
28092 fail:
28093 return NULL;
28094}
28095
28096
28097static PyObject *_wrap_Display_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
28098 PyObject *resultobj;
28099 wxDisplay *arg1 = (wxDisplay *) 0 ;
28100 wxString result;
28101 PyObject * obj0 = 0 ;
28102 char *kwnames[] = {
28103 (char *) "self", NULL
28104 };
28105
28106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
28107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28109 {
28110 PyThreadState* __tstate = wxPyBeginAllowThreads();
28111 result = ((wxDisplay const *)arg1)->GetName();
28112
28113 wxPyEndAllowThreads(__tstate);
28114 if (PyErr_Occurred()) SWIG_fail;
28115 }
28116 {
28117#if wxUSE_UNICODE
28118 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28119#else
28120 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28121#endif
28122 }
28123 return resultobj;
28124 fail:
28125 return NULL;
28126}
28127
28128
28129static PyObject *_wrap_Display_IsPrimary(PyObject *self, PyObject *args, PyObject *kwargs) {
28130 PyObject *resultobj;
28131 wxDisplay *arg1 = (wxDisplay *) 0 ;
28132 bool result;
28133 PyObject * obj0 = 0 ;
28134 char *kwnames[] = {
28135 (char *) "self", NULL
28136 };
28137
28138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
28139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28141 {
28142 PyThreadState* __tstate = wxPyBeginAllowThreads();
28143 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
28144
28145 wxPyEndAllowThreads(__tstate);
28146 if (PyErr_Occurred()) SWIG_fail;
28147 }
28148 {
28149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28150 }
28151 return resultobj;
28152 fail:
28153 return NULL;
28154}
28155
28156
28157static PyObject *_wrap_Display_GetModes(PyObject *self, PyObject *args, PyObject *kwargs) {
28158 PyObject *resultobj;
28159 wxDisplay *arg1 = (wxDisplay *) 0 ;
28160 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28161 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28162 PyObject *result;
28163 PyObject * obj0 = 0 ;
28164 PyObject * obj1 = 0 ;
28165 char *kwnames[] = {
28166 (char *) "self",(char *) "mode", NULL
28167 };
28168
28169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
28170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28172 if (obj1) {
28173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28174 SWIG_POINTER_EXCEPTION | 0)) == -1)
28175 SWIG_fail;
28176 if (arg2 == NULL) {
28177 PyErr_SetString(PyExc_TypeError,"null reference");
28178 SWIG_fail;
28179 }
28180 }
28181 {
28182 PyThreadState* __tstate = wxPyBeginAllowThreads();
28183 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
28184
28185 wxPyEndAllowThreads(__tstate);
28186 if (PyErr_Occurred()) SWIG_fail;
28187 }
28188 resultobj = result;
28189 return resultobj;
28190 fail:
28191 return NULL;
28192}
28193
28194
28195static PyObject *_wrap_Display_GetCurrentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28196 PyObject *resultobj;
28197 wxDisplay *arg1 = (wxDisplay *) 0 ;
28198 wxVideoMode result;
28199 PyObject * obj0 = 0 ;
28200 char *kwnames[] = {
28201 (char *) "self", NULL
28202 };
28203
28204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
28205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28207 {
28208 PyThreadState* __tstate = wxPyBeginAllowThreads();
28209 result = ((wxDisplay const *)arg1)->GetCurrentMode();
28210
28211 wxPyEndAllowThreads(__tstate);
28212 if (PyErr_Occurred()) SWIG_fail;
28213 }
28214 {
28215 wxVideoMode * resultptr;
28216 resultptr = new wxVideoMode((wxVideoMode &) result);
28217 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
28218 }
28219 return resultobj;
28220 fail:
28221 return NULL;
28222}
28223
28224
28225static PyObject *_wrap_Display_ChangeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28226 PyObject *resultobj;
28227 wxDisplay *arg1 = (wxDisplay *) 0 ;
28228 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28229 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28230 bool result;
28231 PyObject * obj0 = 0 ;
28232 PyObject * obj1 = 0 ;
28233 char *kwnames[] = {
28234 (char *) "self",(char *) "mode", NULL
28235 };
28236
28237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28240 if (obj1) {
28241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28242 SWIG_POINTER_EXCEPTION | 0)) == -1)
28243 SWIG_fail;
28244 if (arg2 == NULL) {
28245 PyErr_SetString(PyExc_TypeError,"null reference");
28246 SWIG_fail;
28247 }
28248 }
28249 {
28250 PyThreadState* __tstate = wxPyBeginAllowThreads();
28251 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28252
28253 wxPyEndAllowThreads(__tstate);
28254 if (PyErr_Occurred()) SWIG_fail;
28255 }
28256 {
28257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28258 }
28259 return resultobj;
28260 fail:
28261 return NULL;
28262}
28263
28264
28265static PyObject *_wrap_Display_ResetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28266 PyObject *resultobj;
28267 wxDisplay *arg1 = (wxDisplay *) 0 ;
28268 PyObject * obj0 = 0 ;
28269 char *kwnames[] = {
28270 (char *) "self", NULL
28271 };
28272
28273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28276 {
28277 PyThreadState* __tstate = wxPyBeginAllowThreads();
28278 (arg1)->ResetMode();
28279
28280 wxPyEndAllowThreads(__tstate);
28281 if (PyErr_Occurred()) SWIG_fail;
28282 }
28283 Py_INCREF(Py_None); resultobj = Py_None;
28284 return resultobj;
28285 fail:
28286 return NULL;
28287}
28288
28289
28290static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
28291 PyObject *obj;
28292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28293 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28294 Py_INCREF(obj);
28295 return Py_BuildValue((char *)"");
28296}
28297static PyMethodDef SwigMethods[] = {
28298 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
28299 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
28300 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
28301 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
28302 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
28303 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
28304 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
28305 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
28306 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
28307 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
28308 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
28309 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
28310 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
28311 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
28312 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
28313 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
28314 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
28315 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
28316 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
28317 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
28318 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
28319 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
28320 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
28321 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
28322 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
28323 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
28324 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
28325 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
28326 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
28327 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
bf26d883
RD
28328 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS },
28329 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28330 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
28331 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
28332 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
28333 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
28334 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
28335 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
28336 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
28337 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
28338 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
28339 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
28340 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
28341 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
28342 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
28343 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
28344 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
28345 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
28346 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
28347 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
28348 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
28349 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
28350 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
28351 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
28352 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
28353 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
28354 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
28355 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
28356 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28357 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28358 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28359 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28360 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
28361 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
28362 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
28363 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28364 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28365 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
28366 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
28367 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
28368 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
28369 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
28370 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28371 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28372 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
28373 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
28374 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
28375 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
28376 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
28377 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
28378 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
28379 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
28380 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
28381 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
28382 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
28383 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
28384 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
28385 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
28386 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
28387 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
28388 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
28389 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
28390 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
28391 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
28392 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
28393 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
28394 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
28395 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
28396 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
28397 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28398 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28399 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28400 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28401 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
28402 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28403 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28404 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
28405 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28406 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28407 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
28408 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
28409 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
28410 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
28411 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
28412 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
28413 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
28414 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
28415 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
28416 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
28417 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
28418 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
28419 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
28420 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
28421 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
28422 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
28423 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
28424 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
28425 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
28426 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
28427 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
28428 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28429 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28430 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28431 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
28432 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
28433 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
28434 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
28435 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
28436 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
28437 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
28438 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
28439 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
28440 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
28441 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28442 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
28443 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
28444 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
28445 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
28446 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
28447 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28448 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
1a6bba1e 28449 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28450 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
28451 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
28452 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
28453 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
28454 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
28455 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
28456 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
28457 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
28458 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
28459 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
28460 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
28461 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
28462 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
28463 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
28464 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
28465 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
28466 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
28467 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
28468 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
28469 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
28470 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28471 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28472 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
28473 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
28474 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
28475 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
28476 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28477 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
28478 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
28479 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
28480 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
28481 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
28482 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
28483 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
28484 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
28485 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
28486 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
28487 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
28488 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
28489 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
28490 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
28491 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
28492 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
28493 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
28494 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
28495 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
28496 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
28497 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
28498 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
28499 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
28500 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28501 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28502 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
28503 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
28504 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
28505 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
28506 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
28507 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28508 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28509 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
28510 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
28511 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
28512 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
28513 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
28514 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
28515 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
28516 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
28517 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
28518 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
28519 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
28520 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
28521 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
28522 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
28523 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
28524 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
28525 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
28526 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
28527 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
28528 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
28529 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28530 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
28531 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
28532 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
28533 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
28534 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
28535 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28536 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
28537 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
28538 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
28539 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
28540 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
28541 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
28542 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
28543 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
28544 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
28545 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
28546 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
28547 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
28548 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
28549 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
28550 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
28551 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
28552 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
28553 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
28554 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
28555 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
28556 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
28557 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
28558 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
28559 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
28560 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28561 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28562 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
28563 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
28564 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
28565 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
28566 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
28567 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28568 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28569 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
28570 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
28571 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
28572 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
28573 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
28574 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
28575 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
28576 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
28577 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
28578 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
28579 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
28580 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
28581 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
28582 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
28583 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
28584 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
28585 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
28586 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
28587 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
28588 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
28589 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
28590 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
28591 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
28592 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
28593 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
28594 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
28595 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
28596 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
28597 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
28598 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
28599 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
28600 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
28601 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
28602 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
28603 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
28604 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
28605 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
28606 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
28607 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
28608 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
28609 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
28610 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
28611 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
28612 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
28613 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
28614 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28615 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28616 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
28617 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
28618 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
28619 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
28620 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
28621 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
28622 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
28623 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
28624 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
28625 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
28626 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
28627 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
28628 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
28629 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
0346c964
RD
28630 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS },
28631 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc 28632 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
0346c964
RD
28633 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS },
28634 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc 28635 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
0346c964
RD
28636 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS },
28637 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28638 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
28639 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
28640 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28641 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
28642 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28643 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
28644 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
28645 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
28646 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28647 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28648 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28649 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
28650 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
28651 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28652 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
28653 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
28654 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
28655 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
28656 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
28657 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
28658 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28659 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
28660 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28661 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
28662 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
28663 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
28664 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28665 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28666 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
28667 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
28668 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
28669 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
28670 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
28671 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
28672 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
28673 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28674 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
28675 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
28676 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
28677 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
28678 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
28679 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
28680 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
28681 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
28682 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
28683 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
28684 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28685 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
28686 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
28687 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28688 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
28689 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
28690 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
28691 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28692 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
28693 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
28694 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
28695 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
28696 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
28697 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
28698 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
28699 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28700 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
28701 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
28702 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
28703 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
28704 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
28705 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
28706 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
28707 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
28708 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
28709 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
28710 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
28711 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
28712 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
28713 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
28714 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
28715 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
28716 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
28717 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
28718 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
28719 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
28720 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
28721 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
28722 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
28723 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
28724 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
28725 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
28726 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28727 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
28728 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
28729 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
28730 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28731 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
28732 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
28733 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
28734 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
28735 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
28736 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
28737 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
28738 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
28739 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
28740 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
28741 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
28742 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
28743 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
28744 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28745 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28746 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
28747 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
28748 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28749 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
28750 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
28751 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
28752 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
28753 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
28754 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
28755 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
28756 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
28757 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
28758 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
28759 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
28760 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
28761 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
28762 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
28763 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
28764 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
28765 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
28766 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
28767 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
28768 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
28769 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
28770 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
28771 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
28772 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
28773 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
28774 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
28775 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
28776 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
28777 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
28778 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
28779 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
28780 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
28781 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
28782 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
28783 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
28784 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
28785 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
28786 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
28787 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28788 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28789 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28790 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28791 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28792 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28793 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
28794 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28795 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28796 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
28797 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
28798 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28799 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28800 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
28801 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
28802 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28803 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
28804 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28805 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
28806 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
28807 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
28808 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
28809 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
28810 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
28811 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
28812 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
28813 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
28814 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
28815 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
28816 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
28817 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
28818 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
28819 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
28820 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
28821 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
28822 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
28823 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
28824 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
28825 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
28826 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28827 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
28828 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
28829 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
28830 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
28831 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
28832 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
28833 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
28834 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
28835 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
28836 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
28837 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
28838 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
28839 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
28840 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
28841 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
28842 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
28843 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
28844 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
28845 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
28846 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
28847 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
28848 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
28849 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
28850 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
28851 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
28852 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
28853 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
28854 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
28855 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
28856 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
28857 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
28858 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
28859 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
28860 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
28861 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
28862 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
28863 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
28864 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
28865 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
28866 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
28867 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
28868 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28869 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
28870 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28871 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28872 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
28873 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28874 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28875 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28876 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
28877 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28878 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28879 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28880 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28881 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
28882 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28883 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28884 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28885 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
28886 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
28887 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
28888 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
28889 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28890 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28891 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
28892 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
28893 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
28894 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28895 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
28896 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
28897 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28898 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28899 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
28900 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
28901 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
28902 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
28903 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
28904 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
28905 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
28906 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
28907 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
28908 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
28909 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28910 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
28911 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
28912 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
28913 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
28914 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
28915 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
28916 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
28917 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
28918 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
28919 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
28920 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
28921 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28922 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28923 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
28924 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
28925 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28926 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28927 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28928 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28929 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28930 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28931 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28932 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
28933 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28934 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28935 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28936 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28937 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28938 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
28939 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
28940 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
28941 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
28942 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
28943 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
28944 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
28945 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
28946 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
28947 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
28948 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
28949 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
28950 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
28951 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
28952 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
28953 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
28954 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
28955 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
28956 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
28957 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28958 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
28959 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28960 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28961 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
28962 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28963 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
28964 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
68e533f8
RD
28965 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28966 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28967 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28968 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
28969 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28970 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28971 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
28972 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
28973 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
28974 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
28975 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
28976 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
28977 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
28978 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
28979 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
28980 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
28981 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28982 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
28983 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28984 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28985 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
28986 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
28987 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28988 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28989 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
28990 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
28991 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
28992 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
28993 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
28994 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28995 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28996 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
28997 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
28998 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
28999 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
29000 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
29001 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
29002 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
29003 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
29004 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
29005 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
29006 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
29007 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
29008 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
29009 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29010 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
29011 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
29012 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
29013 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
29014 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
29015 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
29016 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
29017 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
29018 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29019 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
29020 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
29021 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
29022 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
29023 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
29024 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
29025 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
29026 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
29027 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
29028 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
29029 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29030 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
29031 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
29032 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
29033 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
29034 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
29035 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
29036 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
29037 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29038 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
29039 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
29040 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
29041 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
29042 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
29043 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
29044 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
29045 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
29046 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
29047 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
29048 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
29049 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
29050 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
29051 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
29052 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
29053 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
29054 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
29055 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
a001823c 29056 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
29057 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
29058 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
29059 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
29060 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
29061 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
29062 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS },
29063 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS },
29064 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS },
29065 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS },
29066 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS },
29067 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS },
29068 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS },
29069 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS },
29070 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS },
29071 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS },
29072 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS },
29073 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS },
29074 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS },
29075 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS },
29076 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS },
29077 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS },
29078 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS },
29079 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS },
29080 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS },
29081 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS },
29082 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS },
29083 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS },
29084 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS },
29085 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS },
29086 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS },
29087 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS },
29088 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS },
29089 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS },
29090 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS },
29091 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS },
29092 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS },
29093 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
29094 { NULL, NULL }
29095};
29096
29097
29098/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29099
29100static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29101 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29102}
29103static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29104 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29105}
29106static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29107 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29108}
29109static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29110 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29111}
29112static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29113 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29114}
29115static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29116 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29117}
29118static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
29119 return (void *)((wxEvent *) ((wxTimerEvent *) x));
29120}
29121static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29122 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29123}
29124static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29125 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29126}
29127static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29128 return (void *)((wxEvent *) ((wxPyEvent *) x));
29129}
29130static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29131 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29132}
29133static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
29134 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
29135}
29136static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29137 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29138}
29139static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29140 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29141}
29142static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29143 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29144}
29145static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29146 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29147}
29148static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29149 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29150}
29151static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29152 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29153}
29154static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29155 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29156}
29157static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29158 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29159}
29160static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
29161 return (void *)((wxEvent *) ((wxPaintEvent *) x));
29162}
29163static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
29164 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
29165}
29166static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
29167 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
29168}
29169static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
29170 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
29171}
29172static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
29173 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
29174}
29175static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
29176 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29177}
29178static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
29179 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
29180}
29181static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
29182 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
29183}
29184static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
29185 return (void *)((wxEvent *) ((wxFocusEvent *) x));
29186}
29187static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
29188 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
29189}
29190static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
29191 return (void *)((wxEvent *) ((wxProcessEvent *) x));
29192}
29193static void *_p_wxShowEventTo_p_wxEvent(void *x) {
29194 return (void *)((wxEvent *) ((wxShowEvent *) x));
29195}
29196static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
29197 return (void *)((wxEvent *) ((wxCommandEvent *) x));
29198}
29199static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
29200 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
29201}
29202static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
29203 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29204}
29205static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
29206 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
29207}
29208static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
29209 return (void *)((wxEvent *) ((wxKeyEvent *) x));
29210}
29211static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
29212 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
29213}
29214static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
29215 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
29216}
29217static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
29218 return (void *)((wxConfigBase *) ((wxConfig *) x));
29219}
29220static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
29221 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29222}
29223static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
29224 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
29225}
29226static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
29227 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
29228}
29229static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
29230 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29231}
29232static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
29233 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
29234}
29235static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
29236 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
29237}
29238static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29239 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29240}
29241static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29242 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29243}
29244static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29245 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29246}
29247static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29248 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29249}
29250static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29251 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29252}
29253static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29254 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29255}
29256static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29257 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29258}
29259static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29260 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29261}
29262static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29263 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29264}
29265static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29266 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29267}
29268static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29269 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29270}
29271static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29272 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29273}
29274static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29275 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29276}
29277static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29278 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29279}
29280static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29281 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29282}
29283static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29284 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29285}
29286static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29287 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29288}
29289static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29290 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29291}
29292static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29293 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29294}
29295static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29296 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29297}
29298static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29299 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29300}
29301static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29302 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29303}
29304static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29305 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29306}
29307static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29308 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29309}
29310static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29311 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29312}
29313static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29314 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29315}
29316static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29317 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29318}
29319static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29320 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29321}
29322static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29323 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29324}
29325static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29326 return (void *)((wxObject *) ((wxSizerItem *) x));
29327}
29328static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29329 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29330}
29331static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29332 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29333}
29334static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29335 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29336}
29337static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29338 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29339}
29340static void *_p_wxSizerTo_p_wxObject(void *x) {
29341 return (void *)((wxObject *) ((wxSizer *) x));
29342}
29343static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29344 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29345}
29346static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29347 return (void *)((wxObject *) ((wxFileHistory *) x));
29348}
29349static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29350 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29351}
29352static void *_p_wxEventTo_p_wxObject(void *x) {
29353 return (void *)((wxObject *) ((wxEvent *) x));
29354}
29355static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29356 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29357}
29358static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29359 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29360}
29361static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29362 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29363}
29364static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29365 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29366}
29367static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29368 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29369}
29370static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29371 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29372}
29373static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29374 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29375}
29376static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29377 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29378}
29379static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29380 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29381}
29382static void *_p_wxControlTo_p_wxObject(void *x) {
29383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29384}
29385static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29386 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29387}
29388static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29389 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29390}
29391static void *_p_wxFSFileTo_p_wxObject(void *x) {
29392 return (void *)((wxObject *) ((wxFSFile *) x));
29393}
29394static void *_p_wxClipboardTo_p_wxObject(void *x) {
29395 return (void *)((wxObject *) ((wxClipboard *) x));
29396}
29397static void *_p_wxPySizerTo_p_wxObject(void *x) {
29398 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29399}
29400static void *_p_wxPyEventTo_p_wxObject(void *x) {
29401 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29402}
29403static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29404 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29405}
29406static void *_p_wxShowEventTo_p_wxObject(void *x) {
29407 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29408}
29409static void *_p_wxToolTipTo_p_wxObject(void *x) {
29410 return (void *)((wxObject *) ((wxToolTip *) x));
29411}
29412static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29413 return (void *)((wxObject *) ((wxMenuItem *) x));
29414}
29415static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29416 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29417}
29418static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29419 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29420}
29421static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29422 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29423}
29424static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29425 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29426}
29427static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29428 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29429}
29430static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29431 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29432}
29433static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29434 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29435}
29436static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29437 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29438}
29439static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29440 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29441}
29442static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29443 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29444}
29445static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29446 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29447}
29448static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29449 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29450}
29451static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29452 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29453}
29454static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29455 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29456}
29457static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29458 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29459}
29460static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29461 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29462}
29463static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29464 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29465}
29466static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29467 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29468}
29469static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29470 return (void *)((wxObject *) ((wxImageHandler *) x));
29471}
29472static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29473 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29474}
29475static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29476 return (void *)((wxObject *) ((wxEvtHandler *) x));
29477}
29478static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29479 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29480}
29481static void *_p_wxImageTo_p_wxObject(void *x) {
29482 return (void *)((wxObject *) ((wxImage *) x));
29483}
29484static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29485 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29486}
29487static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29488 return (void *)((wxObject *) ((wxSystemOptions *) x));
29489}
29490static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29491 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29492}
29493static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29494 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29495}
29496static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29497 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29498}
29499static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29500 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29501}
29502static void *_p_wxWindowTo_p_wxObject(void *x) {
29503 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29504}
29505static void *_p_wxMenuTo_p_wxObject(void *x) {
29506 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29507}
29508static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29510}
29511static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29512 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29513}
29514static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29515 return (void *)((wxObject *) ((wxFileSystem *) x));
29516}
29517static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29518 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29519}
29520static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29521 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29522}
29523static void *_p_wxPyAppTo_p_wxObject(void *x) {
29524 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29525}
29526static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29527 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29528}
29529static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29530 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29531}
29532static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29533 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29534}
29535static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29536 return (void *)((wxObject *) ((wxBusyInfo *) x));
29537}
29538static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29540}
29541static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29542 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29543}
29544static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29545 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29546}
29547static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29548 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29549}
29550static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29551 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29552}
29553static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29554 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29555}
29556static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29558}
29559static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29560 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29561}
29562static void *_p_wxValidatorTo_p_wxObject(void *x) {
29563 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29564}
29565static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29566 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29567}
29568static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29569 return (void *)((wxLog *) ((wxLogStderr *) x));
29570}
29571static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29572 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29573}
29574static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29575 return (void *)((wxLog *) ((wxLogWindow *) x));
29576}
29577static void *_p_wxLogChainTo_p_wxLog(void *x) {
29578 return (void *)((wxLog *) ((wxLogChain *) x));
29579}
29580static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29581 return (void *)((wxLog *) ((wxLogGui *) x));
29582}
29583static void *_p_wxPyLogTo_p_wxLog(void *x) {
29584 return (void *)((wxLog *) ((wxPyLog *) x));
29585}
29586static void *_p_wxControlTo_p_wxWindow(void *x) {
29587 return (void *)((wxWindow *) ((wxControl *) x));
29588}
29589static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29590 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29591}
29592static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29593 return (void *)((wxWindow *) ((wxMenuBar *) x));
29594}
29595static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29596 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29597}
29598static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29599 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29600}
29601static 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}};
29602static 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}};
29603static 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}};
29604static 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}};
29605static 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}};
29606static 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}};
29607static 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}};
29608static 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}};
29609static 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}};
29610static 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}};
29611static 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}};
29612static 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}};
29613static 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}};
29614static 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}};
29615static 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}};
29616static 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}};
29617static 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}};
29618static 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}};
29619static 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}};
29620static 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}};
29621static 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}};
29622static 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}};
29623static 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}};
29624static 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}};
29625static 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}};
29626static 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}};
29627static 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}};
0346c964 29628static 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
29629static 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}};
29630static 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}};
29631static 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}};
29632static 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
29633static 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}};
29634static 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}};
29635static 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}};
29636static 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}};
29637static 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}};
29638static 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}};
29639static 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}};
29640static 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}};
29641static 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}};
29642static 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}};
29643static 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}};
29644static 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}};
29645static 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}};
29646static 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}};
29647static 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}};
29648static 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}};
29649static 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}};
29650static 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}};
29651static 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}};
29652static 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}};
29653static 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}};
29654static 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}};
29655static 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}};
29656static 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}};
29657static 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}};
29658static 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}};
29659static 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}};
29660static 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}};
29661static 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}};
29662static 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}};
29663static 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}};
29664static 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}};
29665static 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}};
29666static 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}};
29667static 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}};
29668static 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}};
29669static 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}};
29670static 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}};
29671static 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}};
29672static 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}};
29673static 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}};
29674static 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}};
29675static 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}};
29676static 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}};
29677static 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}};
29678static 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}};
29679static 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}};
29680static 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}};
29681static 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}};
29682static 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}};
29683static 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
29684static 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}};
29685static 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}};
29686static 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}};
29687
29688static swig_type_info *swig_types_initial[] = {
29689_swigt__p_wxLogChain,
29690_swigt__p_wxMutexGuiLocker,
29691_swigt__p_wxMetafile,
29692_swigt__p_wxFileHistory,
29693_swigt__p_wxLog,
29694_swigt__p_wxDateTime__TimeZone,
29695_swigt__p_wxMenu,
29696_swigt__p_wxEvent,
29697_swigt__p_wxConfigBase,
29698_swigt__p_wxDisplay,
29699_swigt__p_wxFileType,
29700_swigt__p_wxLogGui,
29701_swigt__p_wxFont,
29702_swigt__p_wxDataFormat,
29703_swigt__p_wxTimerEvent,
29704_swigt__p_wxCaret,
29705_swigt__p_int,
29706_swigt__p_wxSize,
29707_swigt__p_wxClipboard,
29708_swigt__p_wxStopWatch,
29709_swigt__p_wxDC,
29710_swigt__p_wxClipboardLocker,
29711_swigt__p_wxIcon,
29712_swigt__p_wxLogStderr,
29713_swigt__p_wxLogTextCtrl,
29714_swigt__p_wxTextCtrl,
29715_swigt__p_wxBusyCursor,
0346c964 29716_swigt__p_wxPyBitmapDataObject,
d55e5bfc
RD
29717_swigt__p_wxPyTextDataObject,
29718_swigt__p_wxBitmapDataObject,
29719_swigt__p_wxTextDataObject,
29720_swigt__p_wxDataObject,
d55e5bfc
RD
29721_swigt__p_wxFileDataObject,
29722_swigt__p_wxCustomDataObject,
29723_swigt__p_wxURLDataObject,
29724_swigt__p_wxMetafileDataObject,
29725_swigt__p_wxSound,
29726_swigt__p_wxTimerRunner,
29727_swigt__p_wxLogWindow,
29728_swigt__p_wxTimeSpan,
29729_swigt__p_wxArrayString,
29730_swigt__p_wxWindowDisabler,
29731_swigt__p_wxToolTip,
29732_swigt__p_wxDataObjectComposite,
29733_swigt__p_wxFileConfig,
29734_swigt__p_wxSystemSettings,
29735_swigt__p_wxVideoMode,
29736_swigt__p_wxPyDataObjectSimple,
29737_swigt__p_wxDataObjectSimple,
29738_swigt__p_wxEvtHandler,
29739_swigt__p_wxRect,
29740_swigt__p_char,
29741_swigt__p_wxSingleInstanceChecker,
29742_swigt__p_wxFileTypeInfo,
29743_swigt__p_wxFrame,
29744_swigt__p_wxTimer,
29745_swigt__p_wxMimeTypesManager,
29746_swigt__p_wxPyArtProvider,
29747_swigt__p_wxPyTipProvider,
29748_swigt__p_wxTipProvider,
29749_swigt__p_wxJoystick,
29750_swigt__p_wxSystemOptions,
29751_swigt__p_wxPoint,
29752_swigt__p_wxJoystickEvent,
29753_swigt__p_wxCursor,
29754_swigt__p_wxObject,
29755_swigt__p_wxOutputStream,
29756_swigt__p_wxDateTime,
29757_swigt__p_wxPyDropSource,
29758_swigt__p_wxWindow,
29759_swigt__p_wxString,
29760_swigt__p_wxPyProcess,
29761_swigt__p_wxBitmap,
29762_swigt__p_wxConfig,
29763_swigt__p_wxChar,
29764_swigt__p_wxBusyInfo,
29765_swigt__p_wxPyDropTarget,
29766_swigt__p_wxPyTextDropTarget,
29767_swigt__p_wxPyFileDropTarget,
29768_swigt__p_wxProcessEvent,
29769_swigt__p_wxPyLog,
29770_swigt__p_wxLogNull,
29771_swigt__p_wxColour,
d55e5bfc
RD
29772_swigt__p_wxConfigPathChanger,
29773_swigt__p_wxPyTimer,
29774_swigt__p_wxDateSpan,
297750
29776};
29777
29778
29779/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29780
29781static swig_const_info swig_const_table[] = {
29782{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29783{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29784{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29785{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29786{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
29787{0}};
29788
29789#ifdef __cplusplus
29790}
29791#endif
29792
29793#ifdef __cplusplus
29794extern "C"
29795#endif
29796SWIGEXPORT(void) SWIG_init(void) {
29797 static PyObject *SWIG_globals = 0;
29798 static int typeinit = 0;
29799 PyObject *m, *d;
29800 int i;
29801 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29802 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29803 d = PyModule_GetDict(m);
29804
29805 if (!typeinit) {
29806 for (i = 0; swig_types_initial[i]; i++) {
29807 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29808 }
29809 typeinit = 1;
29810 }
29811 SWIG_InstallConstants(d,swig_const_table);
29812
29813 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29814 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29815 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29816 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29817 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29818 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29819 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29820 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29821 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29822 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29823 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29824 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29825 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29826 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29827 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29828 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29829 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29830 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29831 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29832 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29833 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29834 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29835 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29836 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29837 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29838 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29839 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29840 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29841 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29842 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29843 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29844 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29845 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29846 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29847 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29848 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29849 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29850 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29851 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29852 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29853 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29854 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29855 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29856 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29857 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29858 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29859 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29860 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29861 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29862 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29863 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29864 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29865 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29866 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29867 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29868 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29869 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29870 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29871 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29872 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29873 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29874 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29875 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29876 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29877 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29878 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29879 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29880 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29881 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29882 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29883 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29884 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29885 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29886 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29887 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29888 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29889 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29890 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29891 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29892 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29893 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29894 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29895 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29896 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29897 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29898 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29899 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29900 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29901 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29902 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29903 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
29904 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29905 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29906 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29907 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29908 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29909 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29910 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29911 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
29912 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
1a6bba1e
RD
29913
29914 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29915
d55e5bfc
RD
29916 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29917 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29918 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29919 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29920 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29921 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29922 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29923 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29924 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29925 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29926 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29927 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29928 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29929 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29930 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29931 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29932 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29933 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29934 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29935 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29936 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29937 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29938 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29939 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29940 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29941 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29942 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29943 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29944 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29945 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29946 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29947 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29948 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29949 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29950 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29951 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29952 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29953 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29954 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29955 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29956 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29957 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29958 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29959 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29960 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
29961 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
29962 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29963 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29964 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29965 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
29966
29967 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29968
29969 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29970 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29971 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29972 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29973 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29974 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29975 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
29976 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29977 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29978 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29979 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
29980 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29981 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29982 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29983 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29984 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29985 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29986 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29987 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
29988 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29989 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29990 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29991 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29992 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29993 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29994 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
4cf4100f 29995 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
d55e5bfc
RD
29996 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29997 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29998 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29999 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
30000 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
30001 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
30002 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
30003 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
30004 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
30005 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
30006 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
30007 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
30008 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
30009 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
30010 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
30011 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
30012 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
30013 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
30014 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
30015 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
30016 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
30017 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
30018 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
30019 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
30020 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
30021 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
30022 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
30023 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
30024 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
30025 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
30026 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
30027 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
30028
30029 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30030
30031 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
30032 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
30033 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
30034 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
30035 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
30036 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
30037 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
30038 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
30039 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
30040 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
30041 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
30042 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
30043 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
30044 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
30045 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
30046 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
30047 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
30048 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
30049 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
30050 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
30051 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
30052 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
30053 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
30054 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
30055 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
30056 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
30057 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
30058 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
30059 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
30060 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
30061 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
30062 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
30063 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
30064 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
30065 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
30066 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
30067 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
30068 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
30069 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
30070 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
30071 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
30072 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
30073 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
30074 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
30075 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
30076 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
30077 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
30078 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
30079 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
30080 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
30081 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
30082 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
30083 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
30084 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
30085 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
30086 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
30087 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
30088 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
30089 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
30090 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
30091 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
30092 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
30093 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
30094 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
30095 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
30096 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
30097 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
30098 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
30099 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
30100 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
30101 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
30102 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
30103 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
30104 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
30105 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
30106 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
30107 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
30108 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
30109 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
30110 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
30111 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
30112 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
30113 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
30114 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
30115 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
30116 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
30117 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
30118 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
30119 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
30120 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
30121 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
30122 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
30123 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
30124 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
30125 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
30126 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
30127 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
30128 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
30129 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
30130 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
30131 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
30132 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
30133 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
30134 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
30135 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
30136 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
30137 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
30138 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
30139 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
30140 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
30141 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
30142 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
30143 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
30144 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
30145 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
30146 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
30147 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
30148 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
30149 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
30150 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
30151 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
30152 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
30153 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
30154 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
30155 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
30156 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
30157 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
30158 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
30159 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
30160 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
30161 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
30162 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
30163 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
30164 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
30165 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
30166 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
30167 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
30168 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
30169 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
30170 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
30171 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
30172 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
30173 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
30174 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
30175 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
30176 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
30177 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
30178 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
30179 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
30180 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
30181 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
30182 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
30183 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
30184 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
30185 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
30186 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
30187 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
30188 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
30189 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
30190 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
30191 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
30192 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
30193 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
30194 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
30195 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
30196 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
30197 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
30198 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
30199 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
30200 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
30201 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
30202 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
30203 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
30204 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
30205 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
30206 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
30207 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
30208 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
30209 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
30210 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
30211 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
30212 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
30213 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
30214 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
30215 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
30216 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
30217 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
30218 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
30219 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
30220 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
30221 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
30222 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
30223 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
30224 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
30225 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
30226 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
30227 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
30228 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
30229 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
30230 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
30231
30232 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30233 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30234 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30235 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30236
d55e5bfc
RD
30237 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
30238}
30239