]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_misc_wrap.cpp
reSWIGed
[wxWidgets.git] / wxPython / src / msw / _misc_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
82#else
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
85#endif
86
87#ifdef SWIG_GLOBAL
88# define SWIGRUNTIME(a) SWIGEXPORT(a)
89#else
90# define SWIGRUNTIME(a) static a
91#endif
92
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202#ifdef __cplusplus
203}
204#endif
205
206
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLogChain swig_types[0]
210#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211#define SWIGTYPE_p_wxMetafile swig_types[2]
212#define SWIGTYPE_p_wxFileHistory swig_types[3]
213#define SWIGTYPE_p_wxLog swig_types[4]
214#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215#define SWIGTYPE_p_wxMenu swig_types[6]
216#define SWIGTYPE_p_wxEvent swig_types[7]
217#define SWIGTYPE_p_wxConfigBase swig_types[8]
218#define SWIGTYPE_p_wxDisplay swig_types[9]
219#define SWIGTYPE_p_wxFileType swig_types[10]
220#define SWIGTYPE_p_wxLogGui swig_types[11]
221#define SWIGTYPE_p_wxFont swig_types[12]
222#define SWIGTYPE_p_wxDataFormat swig_types[13]
223#define SWIGTYPE_p_wxTimerEvent swig_types[14]
224#define SWIGTYPE_p_wxCaret swig_types[15]
225#define SWIGTYPE_p_int swig_types[16]
226#define SWIGTYPE_p_wxSize swig_types[17]
227#define SWIGTYPE_p_wxClipboard swig_types[18]
228#define SWIGTYPE_p_wxStopWatch swig_types[19]
229#define SWIGTYPE_p_wxDC swig_types[20]
230#define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231#define SWIGTYPE_p_wxIcon swig_types[22]
232#define SWIGTYPE_p_wxLogStderr swig_types[23]
233#define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234#define SWIGTYPE_p_wxTextCtrl swig_types[25]
235#define SWIGTYPE_p_wxBusyCursor swig_types[26]
b1f29bf7
RD
236#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
237#define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
238#define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
239#define SWIGTYPE_p_wxTextDataObject swig_types[30]
240#define SWIGTYPE_p_wxDataObject swig_types[31]
d55e5bfc
RD
241#define SWIGTYPE_p_wxFileDataObject swig_types[32]
242#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243#define SWIGTYPE_p_wxURLDataObject swig_types[34]
244#define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245#define SWIGTYPE_p_wxSound swig_types[36]
246#define SWIGTYPE_p_wxTimerRunner swig_types[37]
247#define SWIGTYPE_p_wxLogWindow swig_types[38]
248#define SWIGTYPE_p_wxTimeSpan swig_types[39]
249#define SWIGTYPE_p_wxArrayString swig_types[40]
250#define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251#define SWIGTYPE_p_wxToolTip swig_types[42]
252#define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253#define SWIGTYPE_p_wxFileConfig swig_types[44]
254#define SWIGTYPE_p_wxSystemSettings swig_types[45]
255#define SWIGTYPE_p_wxVideoMode swig_types[46]
256#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257#define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258#define SWIGTYPE_p_wxEvtHandler swig_types[49]
259#define SWIGTYPE_p_wxRect swig_types[50]
260#define SWIGTYPE_p_char swig_types[51]
261#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262#define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263#define SWIGTYPE_p_wxFrame swig_types[54]
264#define SWIGTYPE_p_wxTimer swig_types[55]
265#define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266#define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267#define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268#define SWIGTYPE_p_wxTipProvider swig_types[59]
269#define SWIGTYPE_p_wxJoystick swig_types[60]
270#define SWIGTYPE_p_wxSystemOptions swig_types[61]
271#define SWIGTYPE_p_wxPoint swig_types[62]
272#define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273#define SWIGTYPE_p_wxCursor swig_types[64]
274#define SWIGTYPE_p_wxObject swig_types[65]
275#define SWIGTYPE_p_wxOutputStream swig_types[66]
276#define SWIGTYPE_p_wxDateTime swig_types[67]
277#define SWIGTYPE_p_wxPyDropSource swig_types[68]
278#define SWIGTYPE_p_wxWindow swig_types[69]
279#define SWIGTYPE_p_wxString swig_types[70]
280#define SWIGTYPE_p_wxPyProcess swig_types[71]
281#define SWIGTYPE_p_wxBitmap swig_types[72]
282#define SWIGTYPE_p_wxConfig swig_types[73]
283#define SWIGTYPE_p_wxChar swig_types[74]
284#define SWIGTYPE_p_wxBusyInfo swig_types[75]
285#define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286#define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287#define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288#define SWIGTYPE_p_wxProcessEvent swig_types[79]
289#define SWIGTYPE_p_wxPyLog swig_types[80]
290#define SWIGTYPE_p_wxLogNull swig_types[81]
291#define SWIGTYPE_p_wxColour swig_types[82]
b1f29bf7
RD
292#define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293#define SWIGTYPE_p_wxPyTimer swig_types[84]
294#define SWIGTYPE_p_wxDateSpan swig_types[85]
295static swig_type_info *swig_types[87];
d55e5bfc
RD
296
297/* -------- TYPES TABLE (END) -------- */
298
299
300/*-----------------------------------------------
301 @(target):= _misc_.so
302 ------------------------------------------------*/
303#define SWIG_init init_misc_
304
305#define SWIG_name "_misc_"
306
307/* Auxiliar swig macros */
308
309#ifdef __cplusplus
310#define SWIGSTATICINLINE(a) static inline a
311#define SWIGSTATIC(a) static a
312#define swig_new_array(type, size) (new type[(size)])
313#define swig_delete_array(cptr) delete[] cptr
314#define swig_const_cast(type,a) const_cast<type>(a)
315#define swig_static_cast(type,a) static_cast<type>(a)
316#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317
318#ifdef HAVE_NUMERIC_CAST
319#define swig_numeric_cast(type,a) numeric_cast<type>(a)
320#else
321#define swig_numeric_cast(type,a) static_cast<type>(a)
322#endif
323
324#else /* C case */
325
326#define SWIGSTATICINLINE(a) static a
327#define SWIGSTATIC(a) static a
328#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329#define swig_delete_array(cptr) free((char*)cptr)
330#define swig_const_cast(type,a) (type)(a)
331#define swig_static_cast(type,a) (type)(a)
332#define swig_reinterpret_cast(type,a) (type)(a)
333#define swig_numeric_cast(type,a) (type)(a)
334
335#endif /* __cplusplus */
336
337
338#define SWIG_FromSignedChar PyInt_FromLong
339#define SWIG_FromUnsignedChar PyInt_FromLong
340#define SWIG_FromShort PyInt_FromLong
341#define SWIG_FromUnsignedShort PyInt_FromLong
342#define SWIG_FromInt PyInt_FromLong
343#define SWIG_FromLong PyInt_FromLong
344#define SWIG_FromFloat PyFloat_FromDouble
345#define SWIG_FromDouble PyFloat_FromDouble
346#define SWIG_FromFloat PyFloat_FromDouble
347#define SWIG_FromDouble PyFloat_FromDouble
348
349
350#include "wx/wxPython/wxPython.h"
351#include "wx/wxPython/pyclasses.h"
0439c23b 352#include "wx/wxPython/pyistream.h"
d55e5bfc
RD
353
354 static const wxString wxPyEmptyString(wxEmptyString);
355
356
357
358#include <limits.h>
359
360
361SWIGSTATICINLINE(long)
362SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364{
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
382}
383
384
385SWIGSTATICINLINE(long)
386SWIG_AsLong(PyObject * obj)
387{
388 if (PyNumber_Check(obj))
389 return PyInt_AsLong(obj);
390 else {
391 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
392 obj->ob_type->tp_name);
393 PyErr_SetObject(PyExc_TypeError, errmsg);
394 Py_DECREF(errmsg);
395 return 0;
396 }
397}
398
399
400#if INT_MAX != LONG_MAX
401SWIGSTATICINLINE(int)
402SWIG_AsInt(PyObject *obj)
403{
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj),
406 "int", INT_MIN, INT_MAX));
407}
408#else
409#define SWIG_AsInt SWIG_AsLong
410#endif
411
412
413SWIGSTATICINLINE(int)
414SWIG_CheckInt(PyObject* obj)
415{
416 SWIG_AsInt(obj);
417 if (PyErr_Occurred()) {
418 PyErr_Clear();
419 return 0;
420 } else {
421 return 1;
422 }
423}
424
425 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
426 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
427 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
428
429SWIGSTATICINLINE(int)
430SWIG_CheckLong(PyObject* obj)
431{
432 SWIG_AsLong(obj);
433 if (PyErr_Occurred()) {
434 PyErr_Clear();
435 return 0;
436 } else {
437 return 1;
438 }
439}
440
441
442SWIGSTATICINLINE(bool)
443SWIG_AsBool(PyObject *obj)
444{
445 return PyObject_IsTrue(obj) ? true : false;
446}
447
448
449SWIGSTATICINLINE(int)
450SWIG_CheckBool(PyObject* obj)
451{
452 SWIG_AsBool(obj);
453 if (PyErr_Occurred()) {
454 PyErr_Clear();
455 return 0;
456 } else {
457 return 1;
458 }
459}
460
461
462static PyObject* t_output_helper(PyObject* target, PyObject* o) {
463 PyObject* o2;
464 PyObject* o3;
465
466 if (!target) {
467 target = o;
468 } else if (target == Py_None) {
469 Py_DECREF(Py_None);
470 target = o;
471 } else {
472 if (!PyTuple_Check(target)) {
473 o2 = target;
474 target = PyTuple_New(1);
475 PyTuple_SetItem(target, 0, o2);
476 }
477 o3 = PyTuple_New(1);
478 PyTuple_SetItem(o3, 0, o);
479
480 o2 = target;
481 target = PySequence_Concat(o2, o3);
482 Py_DECREF(o2);
483 Py_DECREF(o3);
484 }
485 return target;
486}
487
488
489SWIGSTATICINLINE(unsigned long)
490SWIG_AsUnsignedLong(PyObject * obj)
491{
492 if (PyLong_Check(obj)) {
493 return PyLong_AsUnsignedLong(obj);
494 } else {
495 long i = SWIG_AsLong(obj);
496 if ( !PyErr_Occurred() && (i < 0)) {
497 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
498 }
499 return i;
500 }
501}
502
503
504SWIGSTATICINLINE(int)
505SWIG_CheckUnsignedLong(PyObject* obj)
506{
507 SWIG_AsUnsignedLong(obj);
508 if (PyErr_Occurred()) {
509 PyErr_Clear();
510 return 0;
511 } else {
512 return 1;
513 }
514}
515
516
517SWIGSTATICINLINE(PyObject* )
518SWIG_FromUnsignedLong(unsigned long value)
519{
520 return (value > LONG_MAX) ?
521 PyLong_FromUnsignedLong(value)
522 : PyInt_FromLong(swig_numeric_cast(long,value));
523}
524
525
526 bool wxThread_IsMain() {
527#ifdef WXP_WITH_THREAD
528 return wxThread::IsMain();
529#else
530 return True;
531#endif
532 }
533
534
535 int wxCaret_GetBlinkTime() {
536 return wxCaret::GetBlinkTime();
537 }
538
539 void wxCaret_SetBlinkTime(int milliseconds) {
540 wxCaret::SetBlinkTime(milliseconds);
541 }
542
543
544#include <wx/snglinst.h>
545
546
547#ifdef __WXMSW__
548#include <wx/msw/private.h>
549#include <wx/dynload.h>
550#endif
551
552
553
554void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
555{
556#ifdef __WXMSW__
557
558 switch (method)
559 {
560 case 1:
561 // This one only partially works. Appears to be an undocumented
562 // "standard" convention that not all widgets adhear to. For
563 // example, for some widgets backgrounds or non-client areas may
564 // not be painted.
565 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
566 break;
567
568 case 2:
569 // This one works much better, except for on XP. On Win2k nearly
570 // all widgets and their children are captured correctly[**]. On
571 // XP with Themes activated most native widgets draw only
572 // partially, if at all. Without themes it works just like on
573 // Win2k.
574 //
575 // ** For example the radio buttons in a wxRadioBox are not its
576 // children by default, but you can capture it via the panel
577 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
578 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
579 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
580 PRF_ERASEBKGND | PRF_OWNED );
581 break;
582
583 case 3:
584 // This one is only defined in the latest SDK and is only
585 // available on XP. MSDN says it is similar to sending WM_PRINT
586 // so I expect that it will work similar to the above. Since it
587 // is avaialble only on XP, it can't be compiled like this and
588 // will have to be loaded dynamically.
589 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
590
591 // fall through
592
593 case 4:
594 // Use PrintWindow if available, or fallback to WM_PRINT
595 // otherwise. Unfortunately using PrintWindow is even worse than
596 // WM_PRINT. For most native widgets nothing is drawn to the dc
597 // at all, with or without Themes.
598 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
599 static bool s_triedToLoad = False;
600 static PrintWindow_t pfnPrintWindow = NULL;
601 if ( !s_triedToLoad )
602 {
603
604 s_triedToLoad = True;
605 wxDynamicLibrary dllUser32(_T("user32.dll"));
606 if ( dllUser32.IsLoaded() )
607 {
608 wxLogNull nolog; // Don't report errors here
609 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
610 }
611 }
612 if (pfnPrintWindow)
613 {
614 printf("Using PrintWindow\n");
615 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
616 }
617 else
618 {
619 printf("Using WM_PRINT\n");
620 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
621 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
622 }
623 }
624#endif
625}
626
627
628
629#include <wx/tipdlg.h>
630
631
632class wxPyTipProvider : public wxTipProvider {
633public:
634 wxPyTipProvider(size_t currentTip)
635 : wxTipProvider(currentTip) {}
636
637 DEC_PYCALLBACK_STRING__pure(GetTip);
638 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
639 PYPRIVATE;
640};
641
642IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
643IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
644
645
646//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
647
1a6bba1e
RD
648IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
649
d55e5bfc
RD
650void wxPyTimer::Notify() {
651 bool found;
652 bool blocked = wxPyBeginBlockThreads();
653 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
654 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked);
656 if (! found)
657 wxTimer::Notify();
658}
659void wxPyTimer::base_Notify() {
660 wxTimer::Notify();
661}
662
663
664
665SWIGSTATICINLINE(PyObject *)
666SWIG_FromCharPtr(const char* cptr)
667{
668 size_t size = cptr ? strlen(cptr) : 0;
669 if (cptr) {
670 if (size > INT_MAX) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
672 SWIG_TypeQuery("char *"), 0);
673 } else {
674 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
675 }
676 } else {
677 Py_INCREF(Py_None);
678 return Py_None;
679 }
680}
681
682
683SWIGSTATICINLINE(unsigned long)
684SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
685 unsigned long max_value)
686{
687 if (!PyErr_Occurred()) {
688 if (value > max_value) {
689 PyObject *err =
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value, type, max_value);
692 PyErr_SetObject(PyExc_OverflowError, err);
693 Py_DECREF(err);
694 }
695 }
696 return value;
697}
698
699
700#if UINT_MAX != ULONG_MAX
701SWIGSTATICINLINE(unsigned int)
702SWIG_AsUnsignedInt(PyObject *obj)
703{
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
706 "unsigned int", UINT_MAX));
707}
708#else
709#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
710#endif
711
712
713SWIGSTATICINLINE(int)
714SWIG_CheckUnsignedInt(PyObject* obj)
715{
716 SWIG_AsUnsignedInt(obj);
717 if (PyErr_Occurred()) {
718 PyErr_Clear();
719 return 0;
720 } else {
721 return 1;
722 }
723}
724
725wxString Log_TimeStamp(){
726 wxString msg;
727 wxLog::TimeStamp(&msg);
728 return msg;
729 }
730void wxLog_Destroy(wxLog *self){ delete self; }
731
732// A wxLog class that can be derived from in wxPython
733class wxPyLog : public wxLog {
734public:
735 wxPyLog() : wxLog() {}
736
737 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
738 bool found;
739 bool blocked = wxPyBeginBlockThreads();
740 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
741 PyObject* s = wx2PyString(szString);
742 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
743 Py_DECREF(s);
744 }
745 wxPyEndBlockThreads(blocked);
746 if (! found)
747 wxLog::DoLog(level, szString, t);
748 }
749
750 virtual void DoLogString(const wxChar *szString, time_t t) {
751 bool found;
752 bool blocked = wxPyBeginBlockThreads();
753 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
754 PyObject* s = wx2PyString(szString);
755 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
756 Py_DECREF(s);
757 }
758 wxPyEndBlockThreads(blocked);
759 if (! found)
760 wxLog::DoLogString(szString, t);
761 }
762
763 PYPRIVATE;
764};
765
766
767
768
769IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
770
771
772#include <wx/joystick.h>
773
774
775#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776// A C++ stub class for wxJoystick for platforms that don't have it.
777class wxJoystick : public wxObject {
778public:
779 wxJoystick(int joystick = wxJOYSTICK1) {
780 bool blocked = wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked);
784 }
785 wxPoint GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold) {}
795
796 bool IsOk(void) { return False; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
79fccf9d 800 wxString GetProductName() { return wxEmptyString; }
d55e5bfc
RD
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
819
820 bool HasRudder() { return False; }
821 bool HasZ() { return False; }
822 bool HasU() { return False; }
823 bool HasV() { return False; }
824 bool HasPOV() { return False; }
825 bool HasPOV4Dir() { return False; }
826 bool HasPOVCTS() { return False; }
827
828 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
829 bool ReleaseCapture() { return False; }
830};
831#endif
832
833
834#include <wx/sound.h>
835
836
837#if !wxUSE_SOUND
838// A C++ stub class for wxWave for platforms that don't have it.
839class wxSound : public wxObject
840{
841public:
842 wxSound() {
843 bool blocked = wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked);
847 }
b1f29bf7 848 wxSound(const wxString&/*, bool*/) {
d55e5bfc
RD
849 bool blocked = wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked);
853 }
854 wxSound(int, const wxByte*) {
855 bool blocked = wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked);
859 }
860
861 ~wxSound() {};
862
b1f29bf7 863 bool Create(const wxString&/*, bool*/) { return false; }
d55e5bfc
RD
864 bool Create(int, const wxByte*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString&, unsigned) { return false; }
868 static void Stop() {}
869};
870
871#endif
872
b1f29bf7
RD
873wxSound *new_wxSound(wxString const &fileName){
874 if (fileName.Length() == 0)
875 return new wxSound;
876 else
877 return new wxSound(fileName);
878 }
879wxSound *new_wxSound(PyObject *data){
880 unsigned char* buffer; int size;
881 wxSound *sound = NULL;
882
883 bool blocked = wxPyBeginBlockThreads();
884 if (!PyArg_Parse(data, "t#", &buffer, &size))
885 goto done;
886 sound = new wxSound(size, buffer);
887 done:
888 wxPyEndBlockThreads(blocked);
889 return sound;
890 }
891bool wxSound_CreateFromData(wxSound *self,PyObject *data){
892 #ifndef __WXMAC__
893 unsigned char* buffer;
894 int size;
895 bool rv = False;
896
897 bool blocked = wxPyBeginBlockThreads();
898 if (!PyArg_Parse(data, "t#", &buffer, &size))
899 goto done;
900 rv = self->Create(size, buffer);
901 done:
902 wxPyEndBlockThreads(blocked);
903 return rv;
904 #else
905 bool blocked = wxPyBeginBlockThreads();
906 PyErr_SetString(PyExc_NotImplementedError,
907 "Create from data is not available on this platform.");
908 wxPyEndBlockThreads(blocked);
909 return False;
910 #endif
911 }
d55e5bfc
RD
912
913#include <wx/mimetype.h>
914
915PyObject *wxFileType_GetMimeType(wxFileType *self){
916 wxString str;
917 if (self->GetMimeType(&str))
918 return wx2PyString(str);
919 else
920 RETURN_NONE();
921 }
922PyObject *wxFileType_GetMimeTypes(wxFileType *self){
923 wxArrayString arr;
924 if (self->GetMimeTypes(arr))
925 return wxArrayString2PyList_helper(arr);
926 else
927 RETURN_NONE();
928 }
929PyObject *wxFileType_GetExtensions(wxFileType *self){
930 wxArrayString arr;
931 if (self->GetExtensions(arr))
932 return wxArrayString2PyList_helper(arr);
933 else
934 RETURN_NONE();
935 }
936wxIcon *wxFileType_GetIcon(wxFileType *self){
937 wxIconLocation loc;
938 if (self->GetIcon(&loc))
939 return new wxIcon(loc);
940 else
941 return NULL;
942 }
943PyObject *wxFileType_GetIconInfo(wxFileType *self){
944 wxIconLocation loc;
945 if (self->GetIcon(&loc)) {
946 wxString iconFile = loc.GetFileName();
947 int iconIndex = -1;
948
949 iconIndex = loc.GetIndex();
950
951 // Make a tuple and put the values in it
952 bool blocked = wxPyBeginBlockThreads();
953 PyObject* tuple = PyTuple_New(3);
954 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
955 wxT("wxIcon"), True));
956 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
957 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
958 wxPyEndBlockThreads(blocked);
959 return tuple;
960 }
961 else
962 RETURN_NONE();
963 }
964PyObject *wxFileType_GetDescription(wxFileType *self){
965 wxString str;
966 if (self->GetDescription(&str))
967 return wx2PyString(str);
968 else
969 RETURN_NONE();
970 }
971PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
972 wxString str;
973 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
974 return wx2PyString(str);
975 else
976 RETURN_NONE();
977 }
978PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
979 wxString str;
980 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
981 return wx2PyString(str);
982 else
983 RETURN_NONE();
984 }
985PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
986 wxArrayString verbs;
987 wxArrayString commands;
988 if (self->GetAllCommands(&verbs, &commands,
989 wxFileType::MessageParameters(filename, mimetype))) {
990 bool blocked = wxPyBeginBlockThreads();
991 PyObject* tuple = PyTuple_New(2);
992 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
993 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
994 wxPyEndBlockThreads(blocked);
995 return tuple;
996 }
997 else
998 RETURN_NONE();
999 }
1000wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
1001 return wxFileType::ExpandCommand(command,
1002 wxFileType::MessageParameters(filename, mimetype));
1003 }
1004PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
1005 wxArrayString arr;
1006 self->EnumAllFileTypes(arr);
1007 return wxArrayString2PyList_helper(arr);
1008 }
1009
1010#include <wx/artprov.h>
1011
1012 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
1013 static const wxString wxPyART_MENU(wxART_MENU);
1014 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
1015 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
1016 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
1017 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
4cf4100f 1018 static const wxString wxPyART_BUTTON(wxART_BUTTON);
d55e5bfc
RD
1019 static const wxString wxPyART_OTHER(wxART_OTHER);
1020 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
1021 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
1022 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
1023 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
1024 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
1025 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
1026 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
1027 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
1028 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
1029 static const wxString wxPyART_GO_UP(wxART_GO_UP);
1030 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
1031 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
1032 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
1033 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
1034 static const wxString wxPyART_PRINT(wxART_PRINT);
1035 static const wxString wxPyART_HELP(wxART_HELP);
1036 static const wxString wxPyART_TIP(wxART_TIP);
1037 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
1038 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
1039 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
1040 static const wxString wxPyART_FOLDER(wxART_FOLDER);
1041 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1042 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1043 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1044 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1045 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1046 static const wxString wxPyART_ERROR(wxART_ERROR);
1047 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1048 static const wxString wxPyART_WARNING(wxART_WARNING);
1049 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1050 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1051 // Python aware wxArtProvider
1052class wxPyArtProvider : public wxArtProvider {
1053public:
1054
1055 virtual wxBitmap CreateBitmap(const wxArtID& id,
1056 const wxArtClient& client,
1057 const wxSize& size) {
1058 wxBitmap rval = wxNullBitmap;
1059 bool blocked = wxPyBeginBlockThreads();
1060 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1061 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1062 PyObject* ro;
1063 wxBitmap* ptr;
1064 PyObject* s1, *s2;
1065 s1 = wx2PyString(id);
1066 s2 = wx2PyString(client);
1067 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1068 Py_DECREF(so);
1069 Py_DECREF(s1);
1070 Py_DECREF(s2);
1071 if (ro) {
1072 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1073 rval = *ptr;
1074 Py_DECREF(ro);
1075 }
1076 }
1077 wxPyEndBlockThreads(blocked);
1078 return rval;
1079 }
1080
1081 PYPRIVATE;
1082};
1083
1084void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
1085
1086
1087
1088 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1089 PyObject* ret = PyTuple_New(3);
1090 if (ret) {
1091 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1092 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1093 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1094 }
1095 return ret;
1096 }
1097
1098PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1099 bool cont;
1100 long index = 0;
1101 wxString value;
1102
1103 cont = self->GetFirstGroup(value, index);
1104 return __EnumerationHelper(cont, value, index);
1105 }
1106PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1107 bool cont;
1108 wxString value;
1109
1110 cont = self->GetNextGroup(value, index);
1111 return __EnumerationHelper(cont, value, index);
1112 }
1113PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1114 bool cont;
1115 long index = 0;
1116 wxString value;
1117
1118 cont = self->GetFirstEntry(value, index);
1119 return __EnumerationHelper(cont, value, index);
1120 }
1121PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1122 bool cont;
1123 wxString value;
1124
1125 cont = self->GetNextEntry(value, index);
1126 return __EnumerationHelper(cont, value, index);
1127 }
1128long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1129 long rv;
1130 self->Read(key, &rv, defaultVal);
1131 return rv;
1132 }
1133
1134SWIGSTATICINLINE(double)
1135SWIG_AsDouble(PyObject *obj)
1136{
1137 if (PyNumber_Check(obj))
1138 return PyFloat_AsDouble(obj);
1139 else {
1140 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1141 obj->ob_type->tp_name);
1142 PyErr_SetObject(PyExc_TypeError, errmsg);
1143 Py_DECREF(errmsg);
1144 return 0;
1145 }
1146}
1147
1148
1149SWIGSTATICINLINE(int)
1150SWIG_CheckDouble(PyObject* obj)
1151{
1152 SWIG_AsDouble(obj);
1153 if (PyErr_Occurred()) {
1154 PyErr_Clear();
1155 return 0;
1156 } else {
1157 return 1;
1158 }
1159}
1160
1161double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1162 double rv;
1163 self->Read(key, &rv, defaultVal);
1164 return rv;
1165 }
1166bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1167 bool rv;
1168 self->Read(key, &rv, defaultVal);
1169 return rv;
1170 }
1171
1172#include <wx/datetime.h>
1173
1174
1175 static const wxString wxPyDateFormatStr(wxT("%c"));
1176 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1177
1178#define LOCAL_TZ wxDateTime::Local
1179
1180
1181#if UINT_MAX < LONG_MAX
1182#define SWIG_FromUnsignedInt SWIG_FromLong
1183#else
1184#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1185#endif
1186
1187wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1188wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1189wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1190wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1191wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
1192bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
1193 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
1194 return (*self < *other);
1195 }
1196bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
1197 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
1198 return (*self <= *other);
1199 }
1200bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
1201 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
1202 return (*self > *other);
1203 }
1204bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
1205 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
1206 return (*self >= *other);
1207 }
1208bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
1209 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
1210 return (*self == *other);
1211 }
1212bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
1213 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
1214 return (*self != *other);
1215 }
1216int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1217 const wxChar* rv;
1218 const wxChar* _date = date;
1219 rv = self->ParseRfc822Date(_date);
1220 if (rv == NULL) return -1;
1221 return rv - _date;
1222 }
1223int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1224 const wxChar* rv;
1225 const wxChar* _date = date;
1226 rv = self->ParseFormat(_date, format, dateDef);
1227 if (rv == NULL) return -1;
1228 return rv - _date;
1229 }
1230int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1231 const wxChar* rv;
1232 const wxChar* _datetime = datetime;
1233 rv = self->ParseDateTime(_datetime);
1234 if (rv == NULL) return -1;
1235 return rv - _datetime;
1236 }
1237int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1238 const wxChar* rv;
1239 const wxChar* _date = date;
1240 rv = self->ParseDate(_date);
1241 if (rv == NULL) return -1;
1242 return rv - _date;
1243 }
1244int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1245 const wxChar* rv;
1246 const wxChar* _time = time;
1247 rv = self->ParseTime(_time);
1248 if (rv == NULL) return -1;
1249 return rv - _time;
1250 }
1251wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1252wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1253wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1254wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1255bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1256bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1257bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1258bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1259bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1260bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
1261wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1262wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1263wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1264wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1265bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1266bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
1267
1268#include <wx/dataobj.h>
1269
a07a67e6
RD
1270PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir){
1271 size_t count = self->GetFormatCount(dir);
1272 wxDataFormat* formats = new wxDataFormat[count];
1273 self->GetAllFormats(formats, dir);
1274
1275 bool blocked = wxPyBeginBlockThreads();
1276 PyObject* list = PyList_New(count);
1277 for (size_t i=0; i<count; i++) {
1278 wxDataFormat* format = new wxDataFormat(formats[i]);
1279 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), True);
1280 PyList_Append(list, obj);
1281 Py_DECREF(obj);
1282 }
1283 wxPyEndBlockThreads(blocked);
1284 delete [] formats;
1285 return list;
1286 }
1287PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
1288 PyObject* rval = NULL;
1289 size_t size = self->GetDataSize(format);
1290 bool blocked = wxPyBeginBlockThreads();
1291 if (size) {
1292 char* buf = new char[size];
1293 if (self->GetDataHere(format, buf))
1294 rval = PyString_FromStringAndSize(buf, size);
1295 delete [] buf;
1296 }
1297 if (! rval) {
1298 rval = Py_None;
1299 Py_INCREF(rval);
1300 }
1301 wxPyEndBlockThreads(blocked);
1302 return rval;
1303 }
1304bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
1305 bool rval;
1306 bool blocked = wxPyBeginBlockThreads();
1307 if (PyString_Check(data)) {
1308 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
1309 }
1310 else {
1311 // raise a TypeError if not a string
1312 PyErr_SetString(PyExc_TypeError, "String expected.");
1313 rval = False;
1314 }
1315 wxPyEndBlockThreads(blocked);
1316 return rval;
1317 }
1318PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
1319 PyObject* rval = NULL;
1320 size_t size = self->GetDataSize();
1321 bool blocked = wxPyBeginBlockThreads();
1322 if (size) {
1323 char* buf = new char[size];
1324 if (self->GetDataHere(buf))
1325 rval = PyString_FromStringAndSize(buf, size);
1326 delete [] buf;
1327 }
1328 if (! rval) {
1329 rval = Py_None;
1330 Py_INCREF(rval);
1331 }
1332 wxPyEndBlockThreads(blocked);
1333 return rval;
1334 }
1335bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
1336 bool rval;
1337 bool blocked = wxPyBeginBlockThreads();
1338 if (PyString_Check(data)) {
1339 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
1340 }
1341 else {
1342 // raise a TypeError if not a string
1343 PyErr_SetString(PyExc_TypeError, "String expected.");
1344 rval = False;
1345 }
1346 wxPyEndBlockThreads(blocked);
1347 return rval;
1348 }
d55e5bfc
RD
1349 // Create a new class for wxPython to use
1350class wxPyDataObjectSimple : public wxDataObjectSimple {
1351public:
1352 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1353 : wxDataObjectSimple(format) {}
1354
1355 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1356 bool GetDataHere(void *buf) const;
1357 bool SetData(size_t len, const void *buf) const;
1358 PYPRIVATE;
1359};
1360
1361IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1362
1363bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1364 // We need to get the data for this object and write it to buf. I think
1365 // the best way to do this for wxPython is to have the Python method
1366 // return either a string or None and then act appropriately with the
1367 // C++ version.
1368
1369 bool rval = False;
1370 bool blocked = wxPyBeginBlockThreads();
1371 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1372 PyObject* ro;
1373 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1374 if (ro) {
1375 rval = (ro != Py_None && PyString_Check(ro));
1376 if (rval)
1377 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1378 Py_DECREF(ro);
1379 }
1380 }
1381 wxPyEndBlockThreads(blocked);
1382 return rval;
1383}
1384
1385bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1386 // For this one we simply need to make a string from buf and len
1387 // and send it to the Python method.
1388 bool rval = False;
1389 bool blocked = wxPyBeginBlockThreads();
1390 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1391 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1392 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1393 Py_DECREF(data);
1394 }
1395 wxPyEndBlockThreads(blocked);
1396 return rval;
1397}
1398
1399 // Create a new class for wxPython to use
1400class wxPyTextDataObject : public wxTextDataObject {
1401public:
1402 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1403 : wxTextDataObject(text) {}
1404
1405 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1406 DEC_PYCALLBACK_STRING__const(GetText);
1407 DEC_PYCALLBACK__STRING(SetText);
1408 PYPRIVATE;
1409};
1410
1411IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1412IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1413IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1414
1415
1416 // Create a new class for wxPython to use
1417class wxPyBitmapDataObject : public wxBitmapDataObject {
1418public:
1419 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1420 : wxBitmapDataObject(bitmap) {}
1421
1422 wxBitmap GetBitmap() const;
1423 void SetBitmap(const wxBitmap& bitmap);
1424 PYPRIVATE;
1425};
1426
1427wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1428 wxBitmap* rval = &wxNullBitmap;
1429 bool blocked = wxPyBeginBlockThreads();
1430 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1431 PyObject* ro;
1432 wxBitmap* ptr;
1433 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1434 if (ro) {
1435 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1436 rval = ptr;
1437 Py_DECREF(ro);
1438 }
1439 }
1440 wxPyEndBlockThreads(blocked);
1441 return *rval;
1442}
a07a67e6 1443
d55e5bfc
RD
1444void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1445 bool blocked = wxPyBeginBlockThreads();
1446 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1447 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1448 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1449 Py_DECREF(bo);
1450 }
1451 wxPyEndBlockThreads(blocked);
1452}
1453
d55e5bfc 1454bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
a07a67e6
RD
1455 bool rval;
1456 bool blocked = wxPyBeginBlockThreads();
d55e5bfc 1457 if (PyString_Check(data)) {
a07a67e6 1458 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
d55e5bfc
RD
1459 }
1460 else {
1461 // raise a TypeError if not a string
1462 PyErr_SetString(PyExc_TypeError, "String expected.");
a07a67e6 1463 rval = False;
d55e5bfc 1464 }
a07a67e6
RD
1465 wxPyEndBlockThreads(blocked);
1466 return rval;
d55e5bfc
RD
1467 }
1468PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
a07a67e6
RD
1469 PyObject* obj;
1470 bool blocked = wxPyBeginBlockThreads();
1471 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1472 wxPyEndBlockThreads(blocked);
1473 return obj;
d55e5bfc
RD
1474 }
1475
1476#include <wx/metafile.h>
1477
1478
1479IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1480
1481
1482IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1483IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1484IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1485IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1486IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1487
1488
1489class wxPyTextDropTarget : public wxTextDropTarget {
1490public:
1491 wxPyTextDropTarget() {}
1492
1493 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1494
1495 DEC_PYCALLBACK__(OnLeave);
1496 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1498 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1499 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1500
1501 PYPRIVATE;
1502};
1503
1504IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1505IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1506IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1507IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1508IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1509IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1510
1511
1512
1513class wxPyFileDropTarget : public wxFileDropTarget {
1514public:
1515 wxPyFileDropTarget() {}
1516
1517 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1518
1519 DEC_PYCALLBACK__(OnLeave);
1520 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1522 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1523 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1524
1525 PYPRIVATE;
1526};
1527
1528bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1529 const wxArrayString& filenames) {
1530 bool rval = False;
1531 bool blocked = wxPyBeginBlockThreads();
1532 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1533 PyObject* list = wxArrayString2PyList_helper(filenames);
1534 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1535 Py_DECREF(list);
1536 }
1537 wxPyEndBlockThreads(blocked);
1538 return rval;
1539}
1540
1541
1542
1543IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1544IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1545IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1546IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1547IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1548
1549
1550
1551
1552bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1553
6923d0a9 1554#include <wx/display.h>
d55e5bfc
RD
1555
1556bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
1557bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
6923d0a9
RD
1558
1559// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1560#if !wxUSE_DISPLAY
1561#include <wx/dynarray.h>
1562#include <wx/vidmode.h>
1563
1564WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
1565#include "wx/arrimpl.cpp"
1566WX_DEFINE_OBJARRAY(wxArrayVideoModes);
1567const wxVideoMode wxDefaultVideoMode;
1568
1569class wxDisplay
1570{
1571public:
1572 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
1573 ~wxDisplay() {}
1574
1575 static size_t GetCount()
1576 { wxPyRaiseNotImplemented(); return 0; }
1577
1578 static int GetFromPoint(const wxPoint& pt)
1579 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1580 static int GetFromWindow(wxWindow *window)
1581 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1582
1583 virtual bool IsOk() const { return false; }
1584 virtual wxRect GetGeometry() const { wxRect r; return r; }
1585 virtual wxString GetName() const { return wxEmptyString; }
1586 bool IsPrimary() const { return false; }
1587
1588 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
1589 { wxArrayVideoModes a; return a; }
1590
1591 virtual wxVideoMode GetCurrentMode() const
1592 { return wxDefaultVideoMode; }
1593
1594 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
1595 { return false; }
1596
1597 void ResetMode() {}
1598};
1599#endif
1600
d55e5bfc
RD
1601PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1602 PyObject* pyList = NULL;
1603 wxArrayVideoModes arr = self->GetModes(mode);
1604 bool blocked = wxPyBeginBlockThreads();
1605 pyList = PyList_New(0);
1606 for (int i=0; i < arr.GetCount(); i++) {
1607 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1608 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1609 PyList_Append(pyList, pyObj);
a07a67e6 1610 Py_DECREF(pyObj);
d55e5bfc
RD
1611 }
1612 wxPyEndBlockThreads(blocked);
1613 return pyList;
1614 }
1615#ifdef __cplusplus
1616extern "C" {
1617#endif
1618static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1619 PyObject *resultobj;
1620 int arg1 ;
1621 wxColour result;
1622 PyObject * obj0 = 0 ;
1623 char *kwnames[] = {
1624 (char *) "index", NULL
1625 };
1626
1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1628 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1629 if (PyErr_Occurred()) SWIG_fail;
1630 {
0439c23b 1631 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1632 PyThreadState* __tstate = wxPyBeginAllowThreads();
1633 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1634
1635 wxPyEndAllowThreads(__tstate);
110da5b0 1636 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1637 }
1638 {
1639 wxColour * resultptr;
1640 resultptr = new wxColour((wxColour &) result);
1641 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1642 }
1643 return resultobj;
1644 fail:
1645 return NULL;
1646}
1647
1648
1649static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1650 PyObject *resultobj;
1651 int arg1 ;
1652 wxFont result;
1653 PyObject * obj0 = 0 ;
1654 char *kwnames[] = {
1655 (char *) "index", NULL
1656 };
1657
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1659 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1660 if (PyErr_Occurred()) SWIG_fail;
1661 {
0439c23b 1662 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1663 PyThreadState* __tstate = wxPyBeginAllowThreads();
1664 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1665
1666 wxPyEndAllowThreads(__tstate);
110da5b0 1667 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1668 }
1669 {
1670 wxFont * resultptr;
1671 resultptr = new wxFont((wxFont &) result);
1672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1673 }
1674 return resultobj;
1675 fail:
1676 return NULL;
1677}
1678
1679
1680static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject *resultobj;
1682 int arg1 ;
1683 int result;
1684 PyObject * obj0 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "index", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1690 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 {
0439c23b 1693 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1694 PyThreadState* __tstate = wxPyBeginAllowThreads();
1695 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1696
1697 wxPyEndAllowThreads(__tstate);
110da5b0 1698 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1699 }
1700 resultobj = SWIG_FromInt((int)result);
1701 return resultobj;
1702 fail:
1703 return NULL;
1704}
1705
1706
1707static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1708 PyObject *resultobj;
1709 int arg1 ;
1710 bool result;
1711 PyObject * obj0 = 0 ;
1712 char *kwnames[] = {
1713 (char *) "index", NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1717 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1718 if (PyErr_Occurred()) SWIG_fail;
1719 {
0439c23b 1720 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1723
1724 wxPyEndAllowThreads(__tstate);
110da5b0 1725 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1726 }
1727 {
1728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1729 }
1730 return resultobj;
1731 fail:
1732 return NULL;
1733}
1734
1735
1736static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject *resultobj;
1738 int result;
1739 char *kwnames[] = {
1740 NULL
1741 };
1742
1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1744 {
0439c23b 1745 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1746 PyThreadState* __tstate = wxPyBeginAllowThreads();
1747 result = (int)wxSystemSettings::GetScreenType();
1748
1749 wxPyEndAllowThreads(__tstate);
110da5b0 1750 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1751 }
1752 resultobj = SWIG_FromInt((int)result);
1753 return resultobj;
1754 fail:
1755 return NULL;
1756}
1757
1758
1759static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1760 PyObject *resultobj;
1761 int arg1 ;
1762 PyObject * obj0 = 0 ;
1763 char *kwnames[] = {
1764 (char *) "screen", NULL
1765 };
1766
1767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1768 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1769 if (PyErr_Occurred()) SWIG_fail;
1770 {
0439c23b 1771 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1774
1775 wxPyEndAllowThreads(__tstate);
110da5b0 1776 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1777 }
1778 Py_INCREF(Py_None); resultobj = Py_None;
1779 return resultobj;
1780 fail:
1781 return NULL;
1782}
1783
1784
1785static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1786 PyObject *obj;
1787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1788 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1789 Py_INCREF(obj);
1790 return Py_BuildValue((char *)"");
1791}
1792static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxSystemOptions *result;
1795 char *kwnames[] = {
1796 NULL
1797 };
1798
1799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1800 {
1801 PyThreadState* __tstate = wxPyBeginAllowThreads();
1802 result = (wxSystemOptions *)new wxSystemOptions();
1803
1804 wxPyEndAllowThreads(__tstate);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 }
1807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1808 return resultobj;
1809 fail:
1810 return NULL;
1811}
1812
1813
1814static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 wxString *arg1 = 0 ;
1817 wxString *arg2 = 0 ;
1818 bool temp1 = False ;
1819 bool temp2 = False ;
1820 PyObject * obj0 = 0 ;
1821 PyObject * obj1 = 0 ;
1822 char *kwnames[] = {
1823 (char *) "name",(char *) "value", NULL
1824 };
1825
1826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1827 {
1828 arg1 = wxString_in_helper(obj0);
1829 if (arg1 == NULL) SWIG_fail;
1830 temp1 = True;
1831 }
1832 {
1833 arg2 = wxString_in_helper(obj1);
1834 if (arg2 == NULL) SWIG_fail;
1835 temp2 = True;
1836 }
1837 {
1838 PyThreadState* __tstate = wxPyBeginAllowThreads();
1839 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1840
1841 wxPyEndAllowThreads(__tstate);
1842 if (PyErr_Occurred()) SWIG_fail;
1843 }
1844 Py_INCREF(Py_None); resultobj = Py_None;
1845 {
1846 if (temp1)
1847 delete arg1;
1848 }
1849 {
1850 if (temp2)
1851 delete arg2;
1852 }
1853 return resultobj;
1854 fail:
1855 {
1856 if (temp1)
1857 delete arg1;
1858 }
1859 {
1860 if (temp2)
1861 delete arg2;
1862 }
1863 return NULL;
1864}
1865
1866
1867static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1868 PyObject *resultobj;
1869 wxString *arg1 = 0 ;
1870 int arg2 ;
1871 bool temp1 = False ;
1872 PyObject * obj0 = 0 ;
1873 PyObject * obj1 = 0 ;
1874 char *kwnames[] = {
1875 (char *) "name",(char *) "value", NULL
1876 };
1877
1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1879 {
1880 arg1 = wxString_in_helper(obj0);
1881 if (arg1 == NULL) SWIG_fail;
1882 temp1 = True;
1883 }
1884 arg2 = (int) SWIG_AsInt(obj1);
1885 if (PyErr_Occurred()) SWIG_fail;
1886 {
1887 PyThreadState* __tstate = wxPyBeginAllowThreads();
1888 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1889
1890 wxPyEndAllowThreads(__tstate);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 }
1893 Py_INCREF(Py_None); resultobj = Py_None;
1894 {
1895 if (temp1)
1896 delete arg1;
1897 }
1898 return resultobj;
1899 fail:
1900 {
1901 if (temp1)
1902 delete arg1;
1903 }
1904 return NULL;
1905}
1906
1907
1908static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject *resultobj;
1910 wxString *arg1 = 0 ;
1911 wxString result;
1912 bool temp1 = False ;
1913 PyObject * obj0 = 0 ;
1914 char *kwnames[] = {
1915 (char *) "name", NULL
1916 };
1917
1918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1919 {
1920 arg1 = wxString_in_helper(obj0);
1921 if (arg1 == NULL) SWIG_fail;
1922 temp1 = True;
1923 }
1924 {
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1927
1928 wxPyEndAllowThreads(__tstate);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 {
1932#if wxUSE_UNICODE
1933 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1934#else
1935 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1936#endif
1937 }
1938 {
1939 if (temp1)
1940 delete arg1;
1941 }
1942 return resultobj;
1943 fail:
1944 {
1945 if (temp1)
1946 delete arg1;
1947 }
1948 return NULL;
1949}
1950
1951
1952static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1953 PyObject *resultobj;
1954 wxString *arg1 = 0 ;
1955 int result;
1956 bool temp1 = False ;
1957 PyObject * obj0 = 0 ;
1958 char *kwnames[] = {
1959 (char *) "name", NULL
1960 };
1961
1962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1963 {
1964 arg1 = wxString_in_helper(obj0);
1965 if (arg1 == NULL) SWIG_fail;
1966 temp1 = True;
1967 }
1968 {
1969 PyThreadState* __tstate = wxPyBeginAllowThreads();
1970 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1971
1972 wxPyEndAllowThreads(__tstate);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 }
1975 resultobj = SWIG_FromInt((int)result);
1976 {
1977 if (temp1)
1978 delete arg1;
1979 }
1980 return resultobj;
1981 fail:
1982 {
1983 if (temp1)
1984 delete arg1;
1985 }
1986 return NULL;
1987}
1988
1989
1990static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1991 PyObject *resultobj;
1992 wxString *arg1 = 0 ;
1993 bool result;
1994 bool temp1 = False ;
1995 PyObject * obj0 = 0 ;
1996 char *kwnames[] = {
1997 (char *) "name", NULL
1998 };
1999
2000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
2001 {
2002 arg1 = wxString_in_helper(obj0);
2003 if (arg1 == NULL) SWIG_fail;
2004 temp1 = True;
2005 }
2006 {
2007 PyThreadState* __tstate = wxPyBeginAllowThreads();
2008 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
2009
2010 wxPyEndAllowThreads(__tstate);
2011 if (PyErr_Occurred()) SWIG_fail;
2012 }
2013 {
2014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2015 }
2016 {
2017 if (temp1)
2018 delete arg1;
2019 }
2020 return resultobj;
2021 fail:
2022 {
2023 if (temp1)
2024 delete arg1;
2025 }
2026 return NULL;
2027}
2028
2029
2030static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
2031 PyObject *obj;
2032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2033 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
2034 Py_INCREF(obj);
2035 return Py_BuildValue((char *)"");
2036}
2037static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
2038 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
2039 return 1;
2040}
2041
2042
2043static PyObject *_wrap_FileSelectorPromptStr_get() {
2044 PyObject *pyobj;
2045
2046 {
2047#if wxUSE_UNICODE
2048 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2049#else
2050 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2051#endif
2052 }
2053 return pyobj;
2054}
2055
2056
2057static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
2058 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
2059 return 1;
2060}
2061
2062
2063static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
2064 PyObject *pyobj;
2065
2066 {
2067#if wxUSE_UNICODE
2068 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2069#else
2070 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2071#endif
2072 }
2073 return pyobj;
2074}
2075
2076
2077static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
2078 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
2079 return 1;
2080}
2081
2082
2083static PyObject *_wrap_DirSelectorPromptStr_get() {
2084 PyObject *pyobj;
2085
2086 {
2087#if wxUSE_UNICODE
2088 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2089#else
2090 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2091#endif
2092 }
2093 return pyobj;
2094}
2095
2096
2097static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
2098 PyObject *resultobj;
2099 long result;
2100 char *kwnames[] = {
2101 NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
2105 {
2106 PyThreadState* __tstate = wxPyBeginAllowThreads();
2107 result = (long)wxNewId();
2108
2109 wxPyEndAllowThreads(__tstate);
2110 if (PyErr_Occurred()) SWIG_fail;
2111 }
2112 resultobj = SWIG_FromLong((long)result);
2113 return resultobj;
2114 fail:
2115 return NULL;
2116}
2117
2118
2119static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
2120 PyObject *resultobj;
2121 long arg1 ;
2122 PyObject * obj0 = 0 ;
2123 char *kwnames[] = {
2124 (char *) "id", NULL
2125 };
2126
2127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
2128 arg1 = (long) SWIG_AsLong(obj0);
2129 if (PyErr_Occurred()) SWIG_fail;
2130 {
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
2132 wxRegisterId(arg1);
2133
2134 wxPyEndAllowThreads(__tstate);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 }
2137 Py_INCREF(Py_None); resultobj = Py_None;
2138 return resultobj;
2139 fail:
2140 return NULL;
2141}
2142
2143
2144static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
2145 PyObject *resultobj;
2146 long result;
2147 char *kwnames[] = {
2148 NULL
2149 };
2150
2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
2152 {
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 result = (long)wxGetCurrentId();
2155
2156 wxPyEndAllowThreads(__tstate);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
2159 resultobj = SWIG_FromLong((long)result);
2160 return resultobj;
2161 fail:
2162 return NULL;
2163}
2164
2165
2166static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject *resultobj;
2168 char *kwnames[] = {
2169 NULL
2170 };
2171
2172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
2173 {
0439c23b 2174 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2175 PyThreadState* __tstate = wxPyBeginAllowThreads();
2176 wxBell();
2177
2178 wxPyEndAllowThreads(__tstate);
110da5b0 2179 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2180 }
2181 Py_INCREF(Py_None); resultobj = Py_None;
2182 return resultobj;
2183 fail:
2184 return NULL;
2185}
2186
2187
2188static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2189 PyObject *resultobj;
2190 char *kwnames[] = {
2191 NULL
2192 };
2193
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2195 {
0439c23b 2196 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
2198 wxEndBusyCursor();
2199
2200 wxPyEndAllowThreads(__tstate);
110da5b0 2201 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2202 }
2203 Py_INCREF(Py_None); resultobj = Py_None;
2204 return resultobj;
2205 fail:
2206 return NULL;
2207}
2208
2209
2210static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2211 PyObject *resultobj;
2212 bool arg1 = (bool) True ;
2213 long result;
2214 PyObject * obj0 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "resetTimer", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2220 if (obj0) {
2221 arg1 = (bool) SWIG_AsBool(obj0);
2222 if (PyErr_Occurred()) SWIG_fail;
2223 }
2224 {
2225 PyThreadState* __tstate = wxPyBeginAllowThreads();
2226 result = (long)wxGetElapsedTime(arg1);
2227
2228 wxPyEndAllowThreads(__tstate);
2229 if (PyErr_Occurred()) SWIG_fail;
2230 }
2231 resultobj = SWIG_FromLong((long)result);
2232 return resultobj;
2233 fail:
2234 return NULL;
2235}
2236
2237
2238static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2239 PyObject *resultobj;
2240 int *arg1 = (int *) 0 ;
2241 int *arg2 = (int *) 0 ;
2242 int temp1 ;
2243 int temp2 ;
2244 char *kwnames[] = {
2245 NULL
2246 };
2247
2248 arg1 = &temp1;
2249 arg2 = &temp2;
2250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2251 {
0439c23b 2252 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2253 PyThreadState* __tstate = wxPyBeginAllowThreads();
2254 wxGetMousePosition(arg1,arg2);
2255
2256 wxPyEndAllowThreads(__tstate);
110da5b0 2257 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2258 }
2259 Py_INCREF(Py_None); resultobj = Py_None;
2260 {
2261 PyObject *o = PyInt_FromLong((long) (*arg1));
2262 resultobj = t_output_helper(resultobj,o);
2263 }
2264 {
2265 PyObject *o = PyInt_FromLong((long) (*arg2));
2266 resultobj = t_output_helper(resultobj,o);
2267 }
2268 return resultobj;
2269 fail:
2270 return NULL;
2271}
2272
2273
2274static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
2275 PyObject *resultobj;
2276 bool result;
2277 char *kwnames[] = {
2278 NULL
2279 };
2280
2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2282 {
2283 PyThreadState* __tstate = wxPyBeginAllowThreads();
2284 result = (bool)wxIsBusy();
2285
2286 wxPyEndAllowThreads(__tstate);
2287 if (PyErr_Occurred()) SWIG_fail;
2288 }
2289 {
2290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2291 }
2292 return resultobj;
2293 fail:
2294 return NULL;
2295}
2296
2297
2298static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
2299 PyObject *resultobj;
2300 wxString result;
2301 char *kwnames[] = {
2302 NULL
2303 };
2304
2305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2306 {
2307 PyThreadState* __tstate = wxPyBeginAllowThreads();
2308 result = wxNow();
2309
2310 wxPyEndAllowThreads(__tstate);
2311 if (PyErr_Occurred()) SWIG_fail;
2312 }
2313 {
2314#if wxUSE_UNICODE
2315 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2316#else
2317 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2318#endif
2319 }
2320 return resultobj;
2321 fail:
2322 return NULL;
2323}
2324
2325
2326static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
2327 PyObject *resultobj;
2328 wxString const &arg1_defvalue = wxPyEmptyString ;
2329 wxString *arg1 = (wxString *) &arg1_defvalue ;
2330 bool result;
2331 bool temp1 = False ;
2332 PyObject * obj0 = 0 ;
2333 char *kwnames[] = {
2334 (char *) "command", NULL
2335 };
2336
2337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2338 if (obj0) {
2339 {
2340 arg1 = wxString_in_helper(obj0);
2341 if (arg1 == NULL) SWIG_fail;
2342 temp1 = True;
2343 }
2344 }
2345 {
2346 PyThreadState* __tstate = wxPyBeginAllowThreads();
2347 result = (bool)wxShell((wxString const &)*arg1);
2348
2349 wxPyEndAllowThreads(__tstate);
2350 if (PyErr_Occurred()) SWIG_fail;
2351 }
2352 {
2353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2354 }
2355 {
2356 if (temp1)
2357 delete arg1;
2358 }
2359 return resultobj;
2360 fail:
2361 {
2362 if (temp1)
2363 delete arg1;
2364 }
2365 return NULL;
2366}
2367
2368
2369static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2370 PyObject *resultobj;
2371 char *kwnames[] = {
2372 NULL
2373 };
2374
2375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2376 {
2377 PyThreadState* __tstate = wxPyBeginAllowThreads();
2378 wxStartTimer();
2379
2380 wxPyEndAllowThreads(__tstate);
2381 if (PyErr_Occurred()) SWIG_fail;
2382 }
2383 Py_INCREF(Py_None); resultobj = Py_None;
2384 return resultobj;
2385 fail:
2386 return NULL;
2387}
2388
2389
2390static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2391 PyObject *resultobj;
2392 int *arg1 = (int *) 0 ;
2393 int *arg2 = (int *) 0 ;
2394 int result;
2395 int temp1 ;
2396 int temp2 ;
2397 char *kwnames[] = {
2398 NULL
2399 };
2400
2401 arg1 = &temp1;
2402 arg2 = &temp2;
2403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 result = (int)wxGetOsVersion(arg1,arg2);
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 resultobj = SWIG_FromInt((int)result);
2412 {
2413 PyObject *o = PyInt_FromLong((long) (*arg1));
2414 resultobj = t_output_helper(resultobj,o);
2415 }
2416 {
2417 PyObject *o = PyInt_FromLong((long) (*arg2));
2418 resultobj = t_output_helper(resultobj,o);
2419 }
2420 return resultobj;
2421 fail:
2422 return NULL;
2423}
2424
2425
2426static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2427 PyObject *resultobj;
2428 wxString result;
2429 char *kwnames[] = {
2430 NULL
2431 };
2432
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2434 {
2435 PyThreadState* __tstate = wxPyBeginAllowThreads();
2436 result = wxGetOsDescription();
2437
2438 wxPyEndAllowThreads(__tstate);
2439 if (PyErr_Occurred()) SWIG_fail;
2440 }
2441 {
2442#if wxUSE_UNICODE
2443 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2444#else
2445 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2446#endif
2447 }
2448 return resultobj;
2449 fail:
2450 return NULL;
2451}
2452
2453
2454static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2455 PyObject *resultobj;
2456 long result;
2457 char *kwnames[] = {
2458 NULL
2459 };
2460
2461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2462 {
2463 PyThreadState* __tstate = wxPyBeginAllowThreads();
2464 result = (long)wxGetFreeMemory();
2465
2466 wxPyEndAllowThreads(__tstate);
2467 if (PyErr_Occurred()) SWIG_fail;
2468 }
2469 resultobj = SWIG_FromLong((long)result);
2470 return resultobj;
2471 fail:
2472 return NULL;
2473}
2474
2475
2476static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2477 PyObject *resultobj;
2478 int arg1 ;
2479 bool result;
2480 PyObject * obj0 = 0 ;
2481 char *kwnames[] = {
2482 (char *) "wFlags", NULL
2483 };
2484
2485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2486 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2487 if (PyErr_Occurred()) SWIG_fail;
2488 {
0439c23b 2489 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2490 PyThreadState* __tstate = wxPyBeginAllowThreads();
2491 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2492
2493 wxPyEndAllowThreads(__tstate);
110da5b0 2494 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2495 }
2496 {
2497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2498 }
2499 return resultobj;
2500 fail:
2501 return NULL;
2502}
2503
2504
2505static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2506 PyObject *resultobj;
2507 int arg1 ;
2508 PyObject * obj0 = 0 ;
2509 char *kwnames[] = {
2510 (char *) "secs", NULL
2511 };
2512
2513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2514 arg1 = (int) SWIG_AsInt(obj0);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 wxSleep(arg1);
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 Py_INCREF(Py_None); resultobj = Py_None;
2524 return resultobj;
2525 fail:
2526 return NULL;
2527}
2528
2529
bf26d883 2530static PyObject *_wrap_MilliSleep(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2531 PyObject *resultobj;
2532 unsigned long arg1 ;
2533 PyObject * obj0 = 0 ;
2534 char *kwnames[] = {
2535 (char *) "milliseconds", NULL
2536 };
2537
bf26d883 2538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
d55e5bfc
RD
2539 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2540 if (PyErr_Occurred()) SWIG_fail;
2541 {
2542 PyThreadState* __tstate = wxPyBeginAllowThreads();
bf26d883
RD
2543 wxMilliSleep(arg1);
2544
2545 wxPyEndAllowThreads(__tstate);
2546 if (PyErr_Occurred()) SWIG_fail;
2547 }
2548 Py_INCREF(Py_None); resultobj = Py_None;
2549 return resultobj;
2550 fail:
2551 return NULL;
2552}
2553
2554
2555static PyObject *_wrap_MicroSleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2556 PyObject *resultobj;
2557 unsigned long arg1 ;
2558 PyObject * obj0 = 0 ;
2559 char *kwnames[] = {
2560 (char *) "microseconds", NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
2564 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2565 if (PyErr_Occurred()) SWIG_fail;
2566 {
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 wxMicroSleep(arg1);
d55e5bfc
RD
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 }
2573 Py_INCREF(Py_None); resultobj = Py_None;
2574 return resultobj;
2575 fail:
2576 return NULL;
2577}
2578
2579
2580static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 bool arg1 ;
2583 PyObject * obj0 = 0 ;
2584 char *kwnames[] = {
2585 (char *) "enable", NULL
2586 };
2587
2588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2589 arg1 = (bool) SWIG_AsBool(obj0);
2590 if (PyErr_Occurred()) SWIG_fail;
2591 {
2592 PyThreadState* __tstate = wxPyBeginAllowThreads();
2593 wxEnableTopLevelWindows(arg1);
2594
2595 wxPyEndAllowThreads(__tstate);
2596 if (PyErr_Occurred()) SWIG_fail;
2597 }
2598 Py_INCREF(Py_None); resultobj = Py_None;
2599 return resultobj;
2600 fail:
2601 return NULL;
2602}
2603
2604
2605static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2606 PyObject *resultobj;
2607 wxString *arg1 = 0 ;
2608 wxString result;
2609 bool temp1 = False ;
2610 PyObject * obj0 = 0 ;
2611 char *kwnames[] = {
2612 (char *) "in", NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2616 {
2617 arg1 = wxString_in_helper(obj0);
2618 if (arg1 == NULL) SWIG_fail;
2619 temp1 = True;
2620 }
2621 {
2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
2623 result = wxStripMenuCodes((wxString const &)*arg1);
2624
2625 wxPyEndAllowThreads(__tstate);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 {
2629#if wxUSE_UNICODE
2630 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2631#else
2632 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2633#endif
2634 }
2635 {
2636 if (temp1)
2637 delete arg1;
2638 }
2639 return resultobj;
2640 fail:
2641 {
2642 if (temp1)
2643 delete arg1;
2644 }
2645 return NULL;
2646}
2647
2648
2649static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2650 PyObject *resultobj;
2651 wxString result;
2652 char *kwnames[] = {
2653 NULL
2654 };
2655
2656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2657 {
2658 PyThreadState* __tstate = wxPyBeginAllowThreads();
2659 result = wxGetEmailAddress();
2660
2661 wxPyEndAllowThreads(__tstate);
2662 if (PyErr_Occurred()) SWIG_fail;
2663 }
2664 {
2665#if wxUSE_UNICODE
2666 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2667#else
2668 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2669#endif
2670 }
2671 return resultobj;
2672 fail:
2673 return NULL;
2674}
2675
2676
2677static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2678 PyObject *resultobj;
2679 wxString result;
2680 char *kwnames[] = {
2681 NULL
2682 };
2683
2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 result = wxGetHostName();
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 {
2693#if wxUSE_UNICODE
2694 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2695#else
2696 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2697#endif
2698 }
2699 return resultobj;
2700 fail:
2701 return NULL;
2702}
2703
2704
2705static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2706 PyObject *resultobj;
2707 wxString result;
2708 char *kwnames[] = {
2709 NULL
2710 };
2711
2712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2713 {
2714 PyThreadState* __tstate = wxPyBeginAllowThreads();
2715 result = wxGetFullHostName();
2716
2717 wxPyEndAllowThreads(__tstate);
2718 if (PyErr_Occurred()) SWIG_fail;
2719 }
2720 {
2721#if wxUSE_UNICODE
2722 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2723#else
2724 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2725#endif
2726 }
2727 return resultobj;
2728 fail:
2729 return NULL;
2730}
2731
2732
2733static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 wxString result;
2736 char *kwnames[] = {
2737 NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2741 {
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 result = wxGetUserId();
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2748 {
2749#if wxUSE_UNICODE
2750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2751#else
2752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2753#endif
2754 }
2755 return resultobj;
2756 fail:
2757 return NULL;
2758}
2759
2760
2761static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2762 PyObject *resultobj;
2763 wxString result;
2764 char *kwnames[] = {
2765 NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2769 {
2770 PyThreadState* __tstate = wxPyBeginAllowThreads();
2771 result = wxGetUserName();
2772
2773 wxPyEndAllowThreads(__tstate);
2774 if (PyErr_Occurred()) SWIG_fail;
2775 }
2776 {
2777#if wxUSE_UNICODE
2778 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2779#else
2780 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2781#endif
2782 }
2783 return resultobj;
2784 fail:
2785 return NULL;
2786}
2787
2788
2789static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2790 PyObject *resultobj;
2791 wxString result;
2792 char *kwnames[] = {
2793 NULL
2794 };
2795
2796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2797 {
2798 PyThreadState* __tstate = wxPyBeginAllowThreads();
2799 result = wxGetHomeDir();
2800
2801 wxPyEndAllowThreads(__tstate);
2802 if (PyErr_Occurred()) SWIG_fail;
2803 }
2804 {
2805#if wxUSE_UNICODE
2806 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2807#else
2808 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2809#endif
2810 }
2811 return resultobj;
2812 fail:
2813 return NULL;
2814}
2815
2816
2817static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2818 PyObject *resultobj;
2819 wxString const &arg1_defvalue = wxPyEmptyString ;
2820 wxString *arg1 = (wxString *) &arg1_defvalue ;
2821 wxString result;
2822 bool temp1 = False ;
2823 PyObject * obj0 = 0 ;
2824 char *kwnames[] = {
2825 (char *) "user", NULL
2826 };
2827
2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2829 if (obj0) {
2830 {
2831 arg1 = wxString_in_helper(obj0);
2832 if (arg1 == NULL) SWIG_fail;
2833 temp1 = True;
2834 }
2835 }
2836 {
2837 PyThreadState* __tstate = wxPyBeginAllowThreads();
2838 result = wxGetUserHome((wxString const &)*arg1);
2839
2840 wxPyEndAllowThreads(__tstate);
2841 if (PyErr_Occurred()) SWIG_fail;
2842 }
2843 {
2844#if wxUSE_UNICODE
2845 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2846#else
2847 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2848#endif
2849 }
2850 {
2851 if (temp1)
2852 delete arg1;
2853 }
2854 return resultobj;
2855 fail:
2856 {
2857 if (temp1)
2858 delete arg1;
2859 }
2860 return NULL;
2861}
2862
2863
2864static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2865 PyObject *resultobj;
2866 unsigned long result;
2867 char *kwnames[] = {
2868 NULL
2869 };
2870
2871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2872 {
2873 PyThreadState* __tstate = wxPyBeginAllowThreads();
2874 result = (unsigned long)wxGetProcessId();
2875
2876 wxPyEndAllowThreads(__tstate);
2877 if (PyErr_Occurred()) SWIG_fail;
2878 }
2879 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
2880 return resultobj;
2881 fail:
2882 return NULL;
2883}
2884
2885
2886static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2887 PyObject *resultobj;
2888 char *kwnames[] = {
2889 NULL
2890 };
2891
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 wxTrap();
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 Py_INCREF(Py_None); resultobj = Py_None;
2901 return resultobj;
2902 fail:
2903 return NULL;
2904}
2905
2906
2907static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj;
2909 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2910 wxString *arg1 = (wxString *) &arg1_defvalue ;
2911 wxString const &arg2_defvalue = wxPyEmptyString ;
2912 wxString *arg2 = (wxString *) &arg2_defvalue ;
2913 wxString const &arg3_defvalue = wxPyEmptyString ;
2914 wxString *arg3 = (wxString *) &arg3_defvalue ;
2915 wxString const &arg4_defvalue = wxPyEmptyString ;
2916 wxString *arg4 = (wxString *) &arg4_defvalue ;
2917 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2918 wxString *arg5 = (wxString *) &arg5_defvalue ;
2919 int arg6 = (int) 0 ;
2920 wxWindow *arg7 = (wxWindow *) NULL ;
2921 int arg8 = (int) -1 ;
2922 int arg9 = (int) -1 ;
2923 wxString result;
2924 bool temp1 = False ;
2925 bool temp2 = False ;
2926 bool temp3 = False ;
2927 bool temp4 = False ;
2928 bool temp5 = False ;
2929 PyObject * obj0 = 0 ;
2930 PyObject * obj1 = 0 ;
2931 PyObject * obj2 = 0 ;
2932 PyObject * obj3 = 0 ;
2933 PyObject * obj4 = 0 ;
2934 PyObject * obj5 = 0 ;
2935 PyObject * obj6 = 0 ;
2936 PyObject * obj7 = 0 ;
2937 PyObject * obj8 = 0 ;
2938 char *kwnames[] = {
2939 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2940 };
2941
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2943 if (obj0) {
2944 {
2945 arg1 = wxString_in_helper(obj0);
2946 if (arg1 == NULL) SWIG_fail;
2947 temp1 = True;
2948 }
2949 }
2950 if (obj1) {
2951 {
2952 arg2 = wxString_in_helper(obj1);
2953 if (arg2 == NULL) SWIG_fail;
2954 temp2 = True;
2955 }
2956 }
2957 if (obj2) {
2958 {
2959 arg3 = wxString_in_helper(obj2);
2960 if (arg3 == NULL) SWIG_fail;
2961 temp3 = True;
2962 }
2963 }
2964 if (obj3) {
2965 {
2966 arg4 = wxString_in_helper(obj3);
2967 if (arg4 == NULL) SWIG_fail;
2968 temp4 = True;
2969 }
2970 }
2971 if (obj4) {
2972 {
2973 arg5 = wxString_in_helper(obj4);
2974 if (arg5 == NULL) SWIG_fail;
2975 temp5 = True;
2976 }
2977 }
2978 if (obj5) {
2979 arg6 = (int) SWIG_AsInt(obj5);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 }
2982 if (obj6) {
2983 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2985 }
2986 if (obj7) {
2987 arg8 = (int) SWIG_AsInt(obj7);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 if (obj8) {
2991 arg9 = (int) SWIG_AsInt(obj8);
2992 if (PyErr_Occurred()) SWIG_fail;
2993 }
2994 {
0439c23b 2995 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2998
2999 wxPyEndAllowThreads(__tstate);
110da5b0 3000 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3001 }
3002 {
3003#if wxUSE_UNICODE
3004 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3005#else
3006 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3007#endif
3008 }
3009 {
3010 if (temp1)
3011 delete arg1;
3012 }
3013 {
3014 if (temp2)
3015 delete arg2;
3016 }
3017 {
3018 if (temp3)
3019 delete arg3;
3020 }
3021 {
3022 if (temp4)
3023 delete arg4;
3024 }
3025 {
3026 if (temp5)
3027 delete arg5;
3028 }
3029 return resultobj;
3030 fail:
3031 {
3032 if (temp1)
3033 delete arg1;
3034 }
3035 {
3036 if (temp2)
3037 delete arg2;
3038 }
3039 {
3040 if (temp3)
3041 delete arg3;
3042 }
3043 {
3044 if (temp4)
3045 delete arg4;
3046 }
3047 {
3048 if (temp5)
3049 delete arg5;
3050 }
3051 return NULL;
3052}
3053
3054
3055static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3056 PyObject *resultobj;
3057 wxString *arg1 = 0 ;
3058 wxString *arg2 = 0 ;
3059 wxString const &arg3_defvalue = wxPyEmptyString ;
3060 wxString *arg3 = (wxString *) &arg3_defvalue ;
3061 wxWindow *arg4 = (wxWindow *) NULL ;
3062 wxString result;
3063 bool temp1 = False ;
3064 bool temp2 = False ;
3065 bool temp3 = False ;
3066 PyObject * obj0 = 0 ;
3067 PyObject * obj1 = 0 ;
3068 PyObject * obj2 = 0 ;
3069 PyObject * obj3 = 0 ;
3070 char *kwnames[] = {
3071 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3072 };
3073
3074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3075 {
3076 arg1 = wxString_in_helper(obj0);
3077 if (arg1 == NULL) SWIG_fail;
3078 temp1 = True;
3079 }
3080 {
3081 arg2 = wxString_in_helper(obj1);
3082 if (arg2 == NULL) SWIG_fail;
3083 temp2 = True;
3084 }
3085 if (obj2) {
3086 {
3087 arg3 = wxString_in_helper(obj2);
3088 if (arg3 == NULL) SWIG_fail;
3089 temp3 = True;
3090 }
3091 }
3092 if (obj3) {
3093 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3095 }
3096 {
0439c23b 3097 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3100
3101 wxPyEndAllowThreads(__tstate);
110da5b0 3102 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3103 }
3104 {
3105#if wxUSE_UNICODE
3106 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3107#else
3108 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3109#endif
3110 }
3111 {
3112 if (temp1)
3113 delete arg1;
3114 }
3115 {
3116 if (temp2)
3117 delete arg2;
3118 }
3119 {
3120 if (temp3)
3121 delete arg3;
3122 }
3123 return resultobj;
3124 fail:
3125 {
3126 if (temp1)
3127 delete arg1;
3128 }
3129 {
3130 if (temp2)
3131 delete arg2;
3132 }
3133 {
3134 if (temp3)
3135 delete arg3;
3136 }
3137 return NULL;
3138}
3139
3140
3141static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxString *arg1 = 0 ;
3144 wxString *arg2 = 0 ;
3145 wxString const &arg3_defvalue = wxPyEmptyString ;
3146 wxString *arg3 = (wxString *) &arg3_defvalue ;
3147 wxWindow *arg4 = (wxWindow *) NULL ;
3148 wxString result;
3149 bool temp1 = False ;
3150 bool temp2 = False ;
3151 bool temp3 = False ;
3152 PyObject * obj0 = 0 ;
3153 PyObject * obj1 = 0 ;
3154 PyObject * obj2 = 0 ;
3155 PyObject * obj3 = 0 ;
3156 char *kwnames[] = {
3157 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3158 };
3159
3160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3161 {
3162 arg1 = wxString_in_helper(obj0);
3163 if (arg1 == NULL) SWIG_fail;
3164 temp1 = True;
3165 }
3166 {
3167 arg2 = wxString_in_helper(obj1);
3168 if (arg2 == NULL) SWIG_fail;
3169 temp2 = True;
3170 }
3171 if (obj2) {
3172 {
3173 arg3 = wxString_in_helper(obj2);
3174 if (arg3 == NULL) SWIG_fail;
3175 temp3 = True;
3176 }
3177 }
3178 if (obj3) {
3179 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3181 }
3182 {
0439c23b 3183 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3186
3187 wxPyEndAllowThreads(__tstate);
110da5b0 3188 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3189 }
3190 {
3191#if wxUSE_UNICODE
3192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3193#else
3194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3195#endif
3196 }
3197 {
3198 if (temp1)
3199 delete arg1;
3200 }
3201 {
3202 if (temp2)
3203 delete arg2;
3204 }
3205 {
3206 if (temp3)
3207 delete arg3;
3208 }
3209 return resultobj;
3210 fail:
3211 {
3212 if (temp1)
3213 delete arg1;
3214 }
3215 {
3216 if (temp2)
3217 delete arg2;
3218 }
3219 {
3220 if (temp3)
3221 delete arg3;
3222 }
3223 return NULL;
3224}
3225
3226
3227static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3228 PyObject *resultobj;
3229 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3230 wxString *arg1 = (wxString *) &arg1_defvalue ;
3231 wxString const &arg2_defvalue = wxPyEmptyString ;
3232 wxString *arg2 = (wxString *) &arg2_defvalue ;
3233 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3234 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3235 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3236 wxWindow *arg5 = (wxWindow *) NULL ;
3237 wxString result;
3238 bool temp1 = False ;
3239 bool temp2 = False ;
3240 wxPoint temp4 ;
3241 PyObject * obj0 = 0 ;
3242 PyObject * obj1 = 0 ;
3243 PyObject * obj2 = 0 ;
3244 PyObject * obj3 = 0 ;
3245 PyObject * obj4 = 0 ;
3246 char *kwnames[] = {
3247 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3248 };
3249
3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3251 if (obj0) {
3252 {
3253 arg1 = wxString_in_helper(obj0);
3254 if (arg1 == NULL) SWIG_fail;
3255 temp1 = True;
3256 }
3257 }
3258 if (obj1) {
3259 {
3260 arg2 = wxString_in_helper(obj1);
3261 if (arg2 == NULL) SWIG_fail;
3262 temp2 = True;
3263 }
3264 }
3265 if (obj2) {
3266 arg3 = (long) SWIG_AsLong(obj2);
3267 if (PyErr_Occurred()) SWIG_fail;
3268 }
3269 if (obj3) {
3270 {
3271 arg4 = &temp4;
3272 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3273 }
3274 }
3275 if (obj4) {
3276 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3278 }
3279 {
0439c23b 3280 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3283
3284 wxPyEndAllowThreads(__tstate);
110da5b0 3285 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3286 }
3287 {
3288#if wxUSE_UNICODE
3289 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3290#else
3291 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3292#endif
3293 }
3294 {
3295 if (temp1)
3296 delete arg1;
3297 }
3298 {
3299 if (temp2)
3300 delete arg2;
3301 }
3302 return resultobj;
3303 fail:
3304 {
3305 if (temp1)
3306 delete arg1;
3307 }
3308 {
3309 if (temp2)
3310 delete arg2;
3311 }
3312 return NULL;
3313}
3314
3315
3316static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject *resultobj;
3318 wxString *arg1 = 0 ;
3319 wxString const &arg2_defvalue = wxPyEmptyString ;
3320 wxString *arg2 = (wxString *) &arg2_defvalue ;
3321 wxString const &arg3_defvalue = wxPyEmptyString ;
3322 wxString *arg3 = (wxString *) &arg3_defvalue ;
3323 wxWindow *arg4 = (wxWindow *) NULL ;
3324 int arg5 = (int) -1 ;
3325 int arg6 = (int) -1 ;
3326 bool arg7 = (bool) True ;
3327 wxString result;
3328 bool temp1 = False ;
3329 bool temp2 = False ;
3330 bool temp3 = False ;
3331 PyObject * obj0 = 0 ;
3332 PyObject * obj1 = 0 ;
3333 PyObject * obj2 = 0 ;
3334 PyObject * obj3 = 0 ;
3335 PyObject * obj4 = 0 ;
3336 PyObject * obj5 = 0 ;
3337 PyObject * obj6 = 0 ;
3338 char *kwnames[] = {
3339 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3340 };
3341
3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3343 {
3344 arg1 = wxString_in_helper(obj0);
3345 if (arg1 == NULL) SWIG_fail;
3346 temp1 = True;
3347 }
3348 if (obj1) {
3349 {
3350 arg2 = wxString_in_helper(obj1);
3351 if (arg2 == NULL) SWIG_fail;
3352 temp2 = True;
3353 }
3354 }
3355 if (obj2) {
3356 {
3357 arg3 = wxString_in_helper(obj2);
3358 if (arg3 == NULL) SWIG_fail;
3359 temp3 = True;
3360 }
3361 }
3362 if (obj3) {
3363 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3365 }
3366 if (obj4) {
3367 arg5 = (int) SWIG_AsInt(obj4);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 if (obj5) {
3371 arg6 = (int) SWIG_AsInt(obj5);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 if (obj6) {
3375 arg7 = (bool) SWIG_AsBool(obj6);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 {
0439c23b 3379 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3382
3383 wxPyEndAllowThreads(__tstate);
110da5b0 3384 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3385 }
3386 {
3387#if wxUSE_UNICODE
3388 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3389#else
3390 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3391#endif
3392 }
3393 {
3394 if (temp1)
3395 delete arg1;
3396 }
3397 {
3398 if (temp2)
3399 delete arg2;
3400 }
3401 {
3402 if (temp3)
3403 delete arg3;
3404 }
3405 return resultobj;
3406 fail:
3407 {
3408 if (temp1)
3409 delete arg1;
3410 }
3411 {
3412 if (temp2)
3413 delete arg2;
3414 }
3415 {
3416 if (temp3)
3417 delete arg3;
3418 }
3419 return NULL;
3420}
3421
3422
3423static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3424 PyObject *resultobj;
3425 wxString *arg1 = 0 ;
3426 wxString const &arg2_defvalue = wxPyEmptyString ;
3427 wxString *arg2 = (wxString *) &arg2_defvalue ;
3428 wxString const &arg3_defvalue = wxPyEmptyString ;
3429 wxString *arg3 = (wxString *) &arg3_defvalue ;
3430 wxWindow *arg4 = (wxWindow *) NULL ;
3431 wxString result;
3432 bool temp1 = False ;
3433 bool temp2 = False ;
3434 bool temp3 = False ;
3435 PyObject * obj0 = 0 ;
3436 PyObject * obj1 = 0 ;
3437 PyObject * obj2 = 0 ;
3438 PyObject * obj3 = 0 ;
3439 char *kwnames[] = {
3440 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3441 };
3442
3443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3444 {
3445 arg1 = wxString_in_helper(obj0);
3446 if (arg1 == NULL) SWIG_fail;
3447 temp1 = True;
3448 }
3449 if (obj1) {
3450 {
3451 arg2 = wxString_in_helper(obj1);
3452 if (arg2 == NULL) SWIG_fail;
3453 temp2 = True;
3454 }
3455 }
3456 if (obj2) {
3457 {
3458 arg3 = wxString_in_helper(obj2);
3459 if (arg3 == NULL) SWIG_fail;
3460 temp3 = True;
3461 }
3462 }
3463 if (obj3) {
3464 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3466 }
3467 {
0439c23b 3468 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3471
3472 wxPyEndAllowThreads(__tstate);
110da5b0 3473 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3474 }
3475 {
3476#if wxUSE_UNICODE
3477 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3478#else
3479 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3480#endif
3481 }
3482 {
3483 if (temp1)
3484 delete arg1;
3485 }
3486 {
3487 if (temp2)
3488 delete arg2;
3489 }
3490 {
3491 if (temp3)
3492 delete arg3;
3493 }
3494 return resultobj;
3495 fail:
3496 {
3497 if (temp1)
3498 delete arg1;
3499 }
3500 {
3501 if (temp2)
3502 delete arg2;
3503 }
3504 {
3505 if (temp3)
3506 delete arg3;
3507 }
3508 return NULL;
3509}
3510
3511
3512static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxString *arg1 = 0 ;
3515 wxString *arg2 = 0 ;
3516 int arg3 ;
3517 wxString *arg4 = (wxString *) 0 ;
3518 wxWindow *arg5 = (wxWindow *) NULL ;
3519 int arg6 = (int) -1 ;
3520 int arg7 = (int) -1 ;
3521 bool arg8 = (bool) True ;
3522 int arg9 = (int) 150 ;
3523 int arg10 = (int) 200 ;
3524 wxString result;
3525 bool temp1 = False ;
3526 bool temp2 = False ;
3527 PyObject * obj0 = 0 ;
3528 PyObject * obj1 = 0 ;
3529 PyObject * obj2 = 0 ;
3530 PyObject * obj3 = 0 ;
3531 PyObject * obj4 = 0 ;
3532 PyObject * obj5 = 0 ;
3533 PyObject * obj6 = 0 ;
3534 PyObject * obj7 = 0 ;
3535 PyObject * obj8 = 0 ;
3536 char *kwnames[] = {
3537 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3538 };
3539
3540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3541 {
3542 arg1 = wxString_in_helper(obj0);
3543 if (arg1 == NULL) SWIG_fail;
3544 temp1 = True;
3545 }
3546 {
3547 arg2 = wxString_in_helper(obj1);
3548 if (arg2 == NULL) SWIG_fail;
3549 temp2 = True;
3550 }
3551 {
3552 arg3 = PyList_Size(obj2);
3553 arg4 = wxString_LIST_helper(obj2);
3554 if (arg4 == NULL) SWIG_fail;
3555 }
3556 if (obj3) {
3557 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3559 }
3560 if (obj4) {
3561 arg6 = (int) SWIG_AsInt(obj4);
3562 if (PyErr_Occurred()) SWIG_fail;
3563 }
3564 if (obj5) {
3565 arg7 = (int) SWIG_AsInt(obj5);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 }
3568 if (obj6) {
3569 arg8 = (bool) SWIG_AsBool(obj6);
3570 if (PyErr_Occurred()) SWIG_fail;
3571 }
3572 if (obj7) {
3573 arg9 = (int) SWIG_AsInt(obj7);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 if (obj8) {
3577 arg10 = (int) SWIG_AsInt(obj8);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 {
0439c23b 3581 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3584
3585 wxPyEndAllowThreads(__tstate);
110da5b0 3586 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3587 }
3588 {
3589#if wxUSE_UNICODE
3590 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3591#else
3592 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3593#endif
3594 }
3595 {
3596 if (temp1)
3597 delete arg1;
3598 }
3599 {
3600 if (temp2)
3601 delete arg2;
3602 }
3603 {
3604 if (arg4) delete [] arg4;
3605 }
3606 return resultobj;
3607 fail:
3608 {
3609 if (temp1)
3610 delete arg1;
3611 }
3612 {
3613 if (temp2)
3614 delete arg2;
3615 }
3616 {
3617 if (arg4) delete [] arg4;
3618 }
3619 return NULL;
3620}
3621
3622
3623static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3624 PyObject *resultobj;
3625 wxString *arg1 = 0 ;
3626 wxString *arg2 = 0 ;
3627 int arg3 ;
3628 wxString *arg4 = (wxString *) 0 ;
3629 wxWindow *arg5 = (wxWindow *) NULL ;
3630 int arg6 = (int) -1 ;
3631 int arg7 = (int) -1 ;
3632 bool arg8 = (bool) True ;
3633 int arg9 = (int) 150 ;
3634 int arg10 = (int) 200 ;
3635 int result;
3636 bool temp1 = False ;
3637 bool temp2 = False ;
3638 PyObject * obj0 = 0 ;
3639 PyObject * obj1 = 0 ;
3640 PyObject * obj2 = 0 ;
3641 PyObject * obj3 = 0 ;
3642 PyObject * obj4 = 0 ;
3643 PyObject * obj5 = 0 ;
3644 PyObject * obj6 = 0 ;
3645 PyObject * obj7 = 0 ;
3646 PyObject * obj8 = 0 ;
3647 char *kwnames[] = {
3648 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3649 };
3650
3651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3652 {
3653 arg1 = wxString_in_helper(obj0);
3654 if (arg1 == NULL) SWIG_fail;
3655 temp1 = True;
3656 }
3657 {
3658 arg2 = wxString_in_helper(obj1);
3659 if (arg2 == NULL) SWIG_fail;
3660 temp2 = True;
3661 }
3662 {
3663 arg3 = PyList_Size(obj2);
3664 arg4 = wxString_LIST_helper(obj2);
3665 if (arg4 == NULL) SWIG_fail;
3666 }
3667 if (obj3) {
3668 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3670 }
3671 if (obj4) {
3672 arg6 = (int) SWIG_AsInt(obj4);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 if (obj5) {
3676 arg7 = (int) SWIG_AsInt(obj5);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 if (obj6) {
3680 arg8 = (bool) SWIG_AsBool(obj6);
3681 if (PyErr_Occurred()) SWIG_fail;
3682 }
3683 if (obj7) {
3684 arg9 = (int) SWIG_AsInt(obj7);
3685 if (PyErr_Occurred()) SWIG_fail;
3686 }
3687 if (obj8) {
3688 arg10 = (int) SWIG_AsInt(obj8);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
0439c23b 3692 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3695
3696 wxPyEndAllowThreads(__tstate);
110da5b0 3697 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3698 }
3699 resultobj = SWIG_FromInt((int)result);
3700 {
3701 if (temp1)
3702 delete arg1;
3703 }
3704 {
3705 if (temp2)
3706 delete arg2;
3707 }
3708 {
3709 if (arg4) delete [] arg4;
3710 }
3711 return resultobj;
3712 fail:
3713 {
3714 if (temp1)
3715 delete arg1;
3716 }
3717 {
3718 if (temp2)
3719 delete arg2;
3720 }
3721 {
3722 if (arg4) delete [] arg4;
3723 }
3724 return NULL;
3725}
3726
3727
3728static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3729 PyObject *resultobj;
3730 wxString *arg1 = 0 ;
3731 wxString const &arg2_defvalue = wxPyEmptyString ;
3732 wxString *arg2 = (wxString *) &arg2_defvalue ;
3733 int arg3 = (int) wxOK|wxCENTRE ;
3734 wxWindow *arg4 = (wxWindow *) NULL ;
3735 int arg5 = (int) -1 ;
3736 int arg6 = (int) -1 ;
3737 int result;
3738 bool temp1 = False ;
3739 bool temp2 = False ;
3740 PyObject * obj0 = 0 ;
3741 PyObject * obj1 = 0 ;
3742 PyObject * obj2 = 0 ;
3743 PyObject * obj3 = 0 ;
3744 PyObject * obj4 = 0 ;
3745 PyObject * obj5 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3751 {
3752 arg1 = wxString_in_helper(obj0);
3753 if (arg1 == NULL) SWIG_fail;
3754 temp1 = True;
3755 }
3756 if (obj1) {
3757 {
3758 arg2 = wxString_in_helper(obj1);
3759 if (arg2 == NULL) SWIG_fail;
3760 temp2 = True;
3761 }
3762 }
3763 if (obj2) {
3764 arg3 = (int) SWIG_AsInt(obj2);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 if (obj3) {
3768 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3770 }
3771 if (obj4) {
3772 arg5 = (int) SWIG_AsInt(obj4);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 if (obj5) {
3776 arg6 = (int) SWIG_AsInt(obj5);
3777 if (PyErr_Occurred()) SWIG_fail;
3778 }
3779 {
0439c23b 3780 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3781 PyThreadState* __tstate = wxPyBeginAllowThreads();
3782 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3783
3784 wxPyEndAllowThreads(__tstate);
110da5b0 3785 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3786 }
3787 resultobj = SWIG_FromInt((int)result);
3788 {
3789 if (temp1)
3790 delete arg1;
3791 }
3792 {
3793 if (temp2)
3794 delete arg2;
3795 }
3796 return resultobj;
3797 fail:
3798 {
3799 if (temp1)
3800 delete arg1;
3801 }
3802 {
3803 if (temp2)
3804 delete arg2;
3805 }
3806 return NULL;
3807}
3808
3809
3810static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3811 PyObject *resultobj;
3812 wxString *arg1 = 0 ;
3813 wxString *arg2 = 0 ;
3814 wxString *arg3 = 0 ;
3815 long arg4 ;
3816 long arg5 = (long) 0 ;
3817 long arg6 = (long) 100 ;
3818 wxWindow *arg7 = (wxWindow *) NULL ;
3819 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3820 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3821 long result;
3822 bool temp1 = False ;
3823 bool temp2 = False ;
3824 bool temp3 = False ;
3825 wxPoint temp8 ;
3826 PyObject * obj0 = 0 ;
3827 PyObject * obj1 = 0 ;
3828 PyObject * obj2 = 0 ;
3829 PyObject * obj3 = 0 ;
3830 PyObject * obj4 = 0 ;
3831 PyObject * obj5 = 0 ;
3832 PyObject * obj6 = 0 ;
3833 PyObject * obj7 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3839 {
3840 arg1 = wxString_in_helper(obj0);
3841 if (arg1 == NULL) SWIG_fail;
3842 temp1 = True;
3843 }
3844 {
3845 arg2 = wxString_in_helper(obj1);
3846 if (arg2 == NULL) SWIG_fail;
3847 temp2 = True;
3848 }
3849 {
3850 arg3 = wxString_in_helper(obj2);
3851 if (arg3 == NULL) SWIG_fail;
3852 temp3 = True;
3853 }
3854 arg4 = (long) SWIG_AsLong(obj3);
3855 if (PyErr_Occurred()) SWIG_fail;
3856 if (obj4) {
3857 arg5 = (long) SWIG_AsLong(obj4);
3858 if (PyErr_Occurred()) SWIG_fail;
3859 }
3860 if (obj5) {
3861 arg6 = (long) SWIG_AsLong(obj5);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 if (obj6) {
3865 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3867 }
3868 if (obj7) {
3869 {
3870 arg8 = &temp8;
3871 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3872 }
3873 }
3874 {
0439c23b 3875 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3878
3879 wxPyEndAllowThreads(__tstate);
110da5b0 3880 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3881 }
3882 resultobj = SWIG_FromLong((long)result);
3883 {
3884 if (temp1)
3885 delete arg1;
3886 }
3887 {
3888 if (temp2)
3889 delete arg2;
3890 }
3891 {
3892 if (temp3)
3893 delete arg3;
3894 }
3895 return resultobj;
3896 fail:
3897 {
3898 if (temp1)
3899 delete arg1;
3900 }
3901 {
3902 if (temp2)
3903 delete arg2;
3904 }
3905 {
3906 if (temp3)
3907 delete arg3;
3908 }
3909 return NULL;
3910}
3911
3912
3913static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3914 PyObject *resultobj;
3915 bool result;
3916 char *kwnames[] = {
3917 NULL
3918 };
3919
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3921 {
0439c23b 3922 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3923 PyThreadState* __tstate = wxPyBeginAllowThreads();
3924 result = (bool)wxColourDisplay();
3925
3926 wxPyEndAllowThreads(__tstate);
110da5b0 3927 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3928 }
3929 {
3930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3931 }
3932 return resultobj;
3933 fail:
3934 return NULL;
3935}
3936
3937
3938static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3939 PyObject *resultobj;
3940 int result;
3941 char *kwnames[] = {
3942 NULL
3943 };
3944
3945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3946 {
0439c23b 3947 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3948 PyThreadState* __tstate = wxPyBeginAllowThreads();
3949 result = (int)wxDisplayDepth();
3950
3951 wxPyEndAllowThreads(__tstate);
110da5b0 3952 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3953 }
3954 resultobj = SWIG_FromInt((int)result);
3955 return resultobj;
3956 fail:
3957 return NULL;
3958}
3959
3960
3961static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3962 PyObject *resultobj;
3963 int result;
3964 char *kwnames[] = {
3965 NULL
3966 };
3967
3968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3969 {
0439c23b 3970 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
3972 result = (int)wxGetDisplayDepth();
3973
3974 wxPyEndAllowThreads(__tstate);
110da5b0 3975 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3976 }
3977 resultobj = SWIG_FromInt((int)result);
3978 return resultobj;
3979 fail:
3980 return NULL;
3981}
3982
3983
3984static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3985 PyObject *resultobj;
3986 int *arg1 = (int *) 0 ;
3987 int *arg2 = (int *) 0 ;
3988 int temp1 ;
3989 int temp2 ;
3990 char *kwnames[] = {
3991 NULL
3992 };
3993
3994 arg1 = &temp1;
3995 arg2 = &temp2;
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3997 {
0439c23b 3998 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 wxDisplaySize(arg1,arg2);
4001
4002 wxPyEndAllowThreads(__tstate);
110da5b0 4003 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4004 }
4005 Py_INCREF(Py_None); resultobj = Py_None;
4006 {
4007 PyObject *o = PyInt_FromLong((long) (*arg1));
4008 resultobj = t_output_helper(resultobj,o);
4009 }
4010 {
4011 PyObject *o = PyInt_FromLong((long) (*arg2));
4012 resultobj = t_output_helper(resultobj,o);
4013 }
4014 return resultobj;
4015 fail:
4016 return NULL;
4017}
4018
4019
4020static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxSize result;
4023 char *kwnames[] = {
4024 NULL
4025 };
4026
4027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
4028 {
0439c23b 4029 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4030 PyThreadState* __tstate = wxPyBeginAllowThreads();
4031 result = wxGetDisplaySize();
4032
4033 wxPyEndAllowThreads(__tstate);
110da5b0 4034 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4035 }
4036 {
4037 wxSize * resultptr;
4038 resultptr = new wxSize((wxSize &) result);
4039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4040 }
4041 return resultobj;
4042 fail:
4043 return NULL;
4044}
4045
4046
4047static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4048 PyObject *resultobj;
4049 int *arg1 = (int *) 0 ;
4050 int *arg2 = (int *) 0 ;
4051 int temp1 ;
4052 int temp2 ;
4053 char *kwnames[] = {
4054 NULL
4055 };
4056
4057 arg1 = &temp1;
4058 arg2 = &temp2;
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
4060 {
0439c23b 4061 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 wxDisplaySizeMM(arg1,arg2);
4064
4065 wxPyEndAllowThreads(__tstate);
110da5b0 4066 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4067 }
4068 Py_INCREF(Py_None); resultobj = Py_None;
4069 {
4070 PyObject *o = PyInt_FromLong((long) (*arg1));
4071 resultobj = t_output_helper(resultobj,o);
4072 }
4073 {
4074 PyObject *o = PyInt_FromLong((long) (*arg2));
4075 resultobj = t_output_helper(resultobj,o);
4076 }
4077 return resultobj;
4078 fail:
4079 return NULL;
4080}
4081
4082
4083static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4084 PyObject *resultobj;
4085 wxSize result;
4086 char *kwnames[] = {
4087 NULL
4088 };
4089
4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
4091 {
0439c23b 4092 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 result = wxGetDisplaySizeMM();
4095
4096 wxPyEndAllowThreads(__tstate);
110da5b0 4097 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4098 }
4099 {
4100 wxSize * resultptr;
4101 resultptr = new wxSize((wxSize &) result);
4102 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4103 }
4104 return resultobj;
4105 fail:
4106 return NULL;
4107}
4108
4109
4110static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4111 PyObject *resultobj;
4112 int *arg1 = (int *) 0 ;
4113 int *arg2 = (int *) 0 ;
4114 int *arg3 = (int *) 0 ;
4115 int *arg4 = (int *) 0 ;
4116 int temp1 ;
4117 int temp2 ;
4118 int temp3 ;
4119 int temp4 ;
4120 char *kwnames[] = {
4121 NULL
4122 };
4123
4124 arg1 = &temp1;
4125 arg2 = &temp2;
4126 arg3 = &temp3;
4127 arg4 = &temp4;
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
4129 {
0439c23b 4130 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 wxClientDisplayRect(arg1,arg2,arg3,arg4);
4133
4134 wxPyEndAllowThreads(__tstate);
110da5b0 4135 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4136 }
4137 Py_INCREF(Py_None); resultobj = Py_None;
4138 {
4139 PyObject *o = PyInt_FromLong((long) (*arg1));
4140 resultobj = t_output_helper(resultobj,o);
4141 }
4142 {
4143 PyObject *o = PyInt_FromLong((long) (*arg2));
4144 resultobj = t_output_helper(resultobj,o);
4145 }
4146 {
4147 PyObject *o = PyInt_FromLong((long) (*arg3));
4148 resultobj = t_output_helper(resultobj,o);
4149 }
4150 {
4151 PyObject *o = PyInt_FromLong((long) (*arg4));
4152 resultobj = t_output_helper(resultobj,o);
4153 }
4154 return resultobj;
4155 fail:
4156 return NULL;
4157}
4158
4159
4160static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxRect result;
4163 char *kwnames[] = {
4164 NULL
4165 };
4166
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
4168 {
0439c23b 4169 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 result = wxGetClientDisplayRect();
4172
4173 wxPyEndAllowThreads(__tstate);
110da5b0 4174 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4175 }
4176 {
4177 wxRect * resultptr;
4178 resultptr = new wxRect((wxRect &) result);
4179 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4180 }
4181 return resultobj;
4182 fail:
4183 return NULL;
4184}
4185
4186
4187static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4188 PyObject *resultobj;
4189 wxCursor *arg1 = 0 ;
4190 PyObject * obj0 = 0 ;
4191 char *kwnames[] = {
4192 (char *) "cursor", NULL
4193 };
4194
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
4196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4197 SWIG_POINTER_EXCEPTION | 0)) == -1)
4198 SWIG_fail;
4199 if (arg1 == NULL) {
4200 PyErr_SetString(PyExc_TypeError,"null reference");
4201 SWIG_fail;
4202 }
4203 {
0439c23b 4204 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
4206 wxSetCursor(*arg1);
4207
4208 wxPyEndAllowThreads(__tstate);
110da5b0 4209 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4210 }
4211 Py_INCREF(Py_None); resultobj = Py_None;
4212 return resultobj;
4213 fail:
4214 return NULL;
4215}
4216
4217
4218static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4221 PyObject * obj0 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "cursor", NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4227 if (obj0) {
4228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4230 }
4231 {
0439c23b 4232 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 wxBeginBusyCursor(arg1);
4235
4236 wxPyEndAllowThreads(__tstate);
110da5b0 4237 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4238 }
4239 Py_INCREF(Py_None); resultobj = Py_None;
4240 return resultobj;
4241 fail:
4242 return NULL;
4243}
4244
4245
4246static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj;
4248 wxWindow *result;
4249 char *kwnames[] = {
4250 NULL
4251 };
4252
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4254 {
0439c23b 4255 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 result = (wxWindow *)wxGetActiveWindow();
4258
4259 wxPyEndAllowThreads(__tstate);
110da5b0 4260 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4261 }
4262 {
412d302d 4263 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4264 }
4265 return resultobj;
4266 fail:
4267 return NULL;
4268}
4269
4270
4271static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4272 PyObject *resultobj;
4273 wxPoint *arg1 = 0 ;
4274 wxWindow *result;
4275 wxPoint temp1 ;
4276 PyObject * obj0 = 0 ;
4277 char *kwnames[] = {
4278 (char *) "pt", NULL
4279 };
4280
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4282 {
4283 arg1 = &temp1;
4284 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4285 }
4286 {
0439c23b 4287 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4290
4291 wxPyEndAllowThreads(__tstate);
110da5b0 4292 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4293 }
4294 {
412d302d 4295 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4296 }
4297 return resultobj;
4298 fail:
4299 return NULL;
4300}
4301
4302
4303static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj;
4305 wxPoint *arg1 = 0 ;
4306 wxWindow *result;
4307 wxPoint temp1 ;
4308 PyObject * obj0 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "pt", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4314 {
4315 arg1 = &temp1;
4316 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4317 }
4318 {
0439c23b 4319 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4322
4323 wxPyEndAllowThreads(__tstate);
110da5b0 4324 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4325 }
4326 {
412d302d 4327 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4328 }
4329 return resultobj;
4330 fail:
4331 return NULL;
4332}
4333
4334
4335static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxWindow *arg1 = (wxWindow *) 0 ;
4338 wxWindow *result;
4339 PyObject * obj0 = 0 ;
4340 char *kwnames[] = {
4341 (char *) "win", NULL
4342 };
4343
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4347 {
0439c23b 4348 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 result = (wxWindow *)wxGetTopLevelParent(arg1);
4351
4352 wxPyEndAllowThreads(__tstate);
110da5b0 4353 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4354 }
4355 {
412d302d 4356 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4357 }
4358 return resultobj;
4359 fail:
4360 return NULL;
4361}
4362
4363
4364static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
4365 PyObject *resultobj;
4366 int arg1 ;
4367 bool result;
4368 PyObject * obj0 = 0 ;
4369 char *kwnames[] = {
4370 (char *) "key", NULL
4371 };
4372
4373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4374 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 {
0439c23b 4377 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4380
4381 wxPyEndAllowThreads(__tstate);
110da5b0 4382 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4383 }
4384 {
4385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4386 }
4387 return resultobj;
4388 fail:
4389 return NULL;
4390}
4391
4392
4393static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj;
4395 char *kwnames[] = {
4396 NULL
4397 };
4398
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4400 {
0439c23b 4401 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 wxWakeUpMainThread();
4404
4405 wxPyEndAllowThreads(__tstate);
110da5b0 4406 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4407 }
4408 Py_INCREF(Py_None); resultobj = Py_None;
4409 return resultobj;
4410 fail:
4411 return NULL;
4412}
4413
4414
4415static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4416 PyObject *resultobj;
4417 char *kwnames[] = {
4418 NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4422 {
0439c23b 4423 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4424 PyThreadState* __tstate = wxPyBeginAllowThreads();
4425 wxMutexGuiEnter();
4426
4427 wxPyEndAllowThreads(__tstate);
110da5b0 4428 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4429 }
4430 Py_INCREF(Py_None); resultobj = Py_None;
4431 return resultobj;
4432 fail:
4433 return NULL;
4434}
4435
4436
4437static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4438 PyObject *resultobj;
4439 char *kwnames[] = {
4440 NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4444 {
0439c23b 4445 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4446 PyThreadState* __tstate = wxPyBeginAllowThreads();
4447 wxMutexGuiLeave();
4448
4449 wxPyEndAllowThreads(__tstate);
110da5b0 4450 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4451 }
4452 Py_INCREF(Py_None); resultobj = Py_None;
4453 return resultobj;
4454 fail:
4455 return NULL;
4456}
4457
4458
4459static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4460 PyObject *resultobj;
4461 wxMutexGuiLocker *result;
4462 char *kwnames[] = {
4463 NULL
4464 };
4465
4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4467 {
0439c23b 4468 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4469 PyThreadState* __tstate = wxPyBeginAllowThreads();
4470 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4471
4472 wxPyEndAllowThreads(__tstate);
110da5b0 4473 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4474 }
4475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4476 return resultobj;
4477 fail:
4478 return NULL;
4479}
4480
4481
4482static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4483 PyObject *resultobj;
4484 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4485 PyObject * obj0 = 0 ;
4486 char *kwnames[] = {
4487 (char *) "self", NULL
4488 };
4489
4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4493 {
4494 PyThreadState* __tstate = wxPyBeginAllowThreads();
4495 delete arg1;
4496
4497 wxPyEndAllowThreads(__tstate);
4498 if (PyErr_Occurred()) SWIG_fail;
4499 }
4500 Py_INCREF(Py_None); resultobj = Py_None;
4501 return resultobj;
4502 fail:
4503 return NULL;
4504}
4505
4506
4507static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4508 PyObject *obj;
4509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4510 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4511 Py_INCREF(obj);
4512 return Py_BuildValue((char *)"");
4513}
4514static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4515 PyObject *resultobj;
4516 bool result;
4517 char *kwnames[] = {
4518 NULL
4519 };
4520
4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4522 {
4523 PyThreadState* __tstate = wxPyBeginAllowThreads();
4524 result = (bool)wxThread_IsMain();
4525
4526 wxPyEndAllowThreads(__tstate);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 }
4529 {
4530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4531 }
4532 return resultobj;
4533 fail:
4534 return NULL;
4535}
4536
4537
4538static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4539 PyObject *resultobj;
4540 wxString *arg1 = 0 ;
4541 wxToolTip *result;
4542 bool temp1 = False ;
4543 PyObject * obj0 = 0 ;
4544 char *kwnames[] = {
4545 (char *) "tip", NULL
4546 };
4547
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4549 {
4550 arg1 = wxString_in_helper(obj0);
4551 if (arg1 == NULL) SWIG_fail;
4552 temp1 = True;
4553 }
4554 {
0439c23b 4555 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4558
4559 wxPyEndAllowThreads(__tstate);
110da5b0 4560 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4561 }
4562 {
412d302d 4563 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
4564 }
4565 {
4566 if (temp1)
4567 delete arg1;
4568 }
4569 return resultobj;
4570 fail:
4571 {
4572 if (temp1)
4573 delete arg1;
4574 }
4575 return NULL;
4576}
4577
4578
4579static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxToolTip *arg1 = (wxToolTip *) 0 ;
4582 wxString *arg2 = 0 ;
4583 bool temp2 = False ;
4584 PyObject * obj0 = 0 ;
4585 PyObject * obj1 = 0 ;
4586 char *kwnames[] = {
4587 (char *) "self",(char *) "tip", NULL
4588 };
4589
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4593 {
4594 arg2 = wxString_in_helper(obj1);
4595 if (arg2 == NULL) SWIG_fail;
4596 temp2 = True;
4597 }
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 (arg1)->SetTip((wxString const &)*arg2);
4601
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 Py_INCREF(Py_None); resultobj = Py_None;
4606 {
4607 if (temp2)
4608 delete arg2;
4609 }
4610 return resultobj;
4611 fail:
4612 {
4613 if (temp2)
4614 delete arg2;
4615 }
4616 return NULL;
4617}
4618
4619
4620static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4621 PyObject *resultobj;
4622 wxToolTip *arg1 = (wxToolTip *) 0 ;
4623 wxString result;
4624 PyObject * obj0 = 0 ;
4625 char *kwnames[] = {
4626 (char *) "self", NULL
4627 };
4628
4629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4632 {
4633 PyThreadState* __tstate = wxPyBeginAllowThreads();
4634 result = (arg1)->GetTip();
4635
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 {
4640#if wxUSE_UNICODE
4641 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4642#else
4643 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4644#endif
4645 }
4646 return resultobj;
4647 fail:
4648 return NULL;
4649}
4650
4651
4652static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4653 PyObject *resultobj;
4654 wxToolTip *arg1 = (wxToolTip *) 0 ;
4655 wxWindow *result;
4656 PyObject * obj0 = 0 ;
4657 char *kwnames[] = {
4658 (char *) "self", NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4664 {
4665 PyThreadState* __tstate = wxPyBeginAllowThreads();
4666 result = (wxWindow *)(arg1)->GetWindow();
4667
4668 wxPyEndAllowThreads(__tstate);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 }
4671 {
412d302d 4672 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4673 }
4674 return resultobj;
4675 fail:
4676 return NULL;
4677}
4678
4679
4680static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4681 PyObject *resultobj;
4682 bool arg1 ;
4683 PyObject * obj0 = 0 ;
4684 char *kwnames[] = {
4685 (char *) "flag", NULL
4686 };
4687
4688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4689 arg1 = (bool) SWIG_AsBool(obj0);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 wxToolTip::Enable(arg1);
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 Py_INCREF(Py_None); resultobj = Py_None;
4699 return resultobj;
4700 fail:
4701 return NULL;
4702}
4703
4704
4705static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 long arg1 ;
4708 PyObject * obj0 = 0 ;
4709 char *kwnames[] = {
4710 (char *) "milliseconds", NULL
4711 };
4712
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4714 arg1 = (long) SWIG_AsLong(obj0);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 wxToolTip::SetDelay(arg1);
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 Py_INCREF(Py_None); resultobj = Py_None;
4724 return resultobj;
4725 fail:
4726 return NULL;
4727}
4728
4729
4730static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4731 PyObject *obj;
4732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4733 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4734 Py_INCREF(obj);
4735 return Py_BuildValue((char *)"");
4736}
4737static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject *resultobj;
4739 wxWindow *arg1 = (wxWindow *) 0 ;
4740 wxSize *arg2 = 0 ;
4741 wxCaret *result;
4742 wxSize temp2 ;
4743 PyObject * obj0 = 0 ;
4744 PyObject * obj1 = 0 ;
4745 char *kwnames[] = {
4746 (char *) "window",(char *) "size", NULL
4747 };
4748
4749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4752 {
4753 arg2 = &temp2;
4754 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4755 }
4756 {
0439c23b 4757 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4760
4761 wxPyEndAllowThreads(__tstate);
110da5b0 4762 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4763 }
4764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
4765 return resultobj;
4766 fail:
4767 return NULL;
4768}
4769
4770
4771static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxCaret *arg1 = (wxCaret *) 0 ;
4774 PyObject * obj0 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 delete arg1;
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 Py_INCREF(Py_None); resultobj = Py_None;
4790 return resultobj;
4791 fail:
4792 return NULL;
4793}
4794
4795
4796static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4797 PyObject *resultobj;
4798 wxCaret *arg1 = (wxCaret *) 0 ;
4799 bool result;
4800 PyObject * obj0 = 0 ;
4801 char *kwnames[] = {
4802 (char *) "self", NULL
4803 };
4804
4805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4808 {
4809 PyThreadState* __tstate = wxPyBeginAllowThreads();
4810 result = (bool)(arg1)->IsOk();
4811
4812 wxPyEndAllowThreads(__tstate);
4813 if (PyErr_Occurred()) SWIG_fail;
4814 }
4815 {
4816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4817 }
4818 return resultobj;
4819 fail:
4820 return NULL;
4821}
4822
4823
4824static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxCaret *arg1 = (wxCaret *) 0 ;
4827 bool result;
4828 PyObject * obj0 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 result = (bool)(arg1)->IsVisible();
4839
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 {
4844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4845 }
4846 return resultobj;
4847 fail:
4848 return NULL;
4849}
4850
4851
4852static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj;
4854 wxCaret *arg1 = (wxCaret *) 0 ;
4855 wxPoint result;
4856 PyObject * obj0 = 0 ;
4857 char *kwnames[] = {
4858 (char *) "self", NULL
4859 };
4860
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4864 {
4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4866 result = (arg1)->GetPosition();
4867
4868 wxPyEndAllowThreads(__tstate);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 }
4871 {
4872 wxPoint * resultptr;
4873 resultptr = new wxPoint((wxPoint &) result);
4874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4875 }
4876 return resultobj;
4877 fail:
4878 return NULL;
4879}
4880
4881
4882static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4883 PyObject *resultobj;
4884 wxCaret *arg1 = (wxCaret *) 0 ;
4885 int *arg2 = (int *) 0 ;
4886 int *arg3 = (int *) 0 ;
4887 int temp2 ;
4888 int temp3 ;
4889 PyObject * obj0 = 0 ;
4890 char *kwnames[] = {
4891 (char *) "self", NULL
4892 };
4893
4894 arg2 = &temp2;
4895 arg3 = &temp3;
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 (arg1)->GetPosition(arg2,arg3);
4902
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 Py_INCREF(Py_None); resultobj = Py_None;
4907 {
4908 PyObject *o = PyInt_FromLong((long) (*arg2));
4909 resultobj = t_output_helper(resultobj,o);
4910 }
4911 {
4912 PyObject *o = PyInt_FromLong((long) (*arg3));
4913 resultobj = t_output_helper(resultobj,o);
4914 }
4915 return resultobj;
4916 fail:
4917 return NULL;
4918}
4919
4920
4921static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4922 PyObject *resultobj;
4923 wxCaret *arg1 = (wxCaret *) 0 ;
4924 wxSize result;
4925 PyObject * obj0 = 0 ;
4926 char *kwnames[] = {
4927 (char *) "self", NULL
4928 };
4929
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4933 {
4934 PyThreadState* __tstate = wxPyBeginAllowThreads();
4935 result = (arg1)->GetSize();
4936
4937 wxPyEndAllowThreads(__tstate);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 }
4940 {
4941 wxSize * resultptr;
4942 resultptr = new wxSize((wxSize &) result);
4943 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4944 }
4945 return resultobj;
4946 fail:
4947 return NULL;
4948}
4949
4950
4951static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4952 PyObject *resultobj;
4953 wxCaret *arg1 = (wxCaret *) 0 ;
4954 int *arg2 = (int *) 0 ;
4955 int *arg3 = (int *) 0 ;
4956 int temp2 ;
4957 int temp3 ;
4958 PyObject * obj0 = 0 ;
4959 char *kwnames[] = {
4960 (char *) "self", NULL
4961 };
4962
4963 arg2 = &temp2;
4964 arg3 = &temp3;
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4970 (arg1)->GetSize(arg2,arg3);
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
4975 Py_INCREF(Py_None); resultobj = Py_None;
4976 {
4977 PyObject *o = PyInt_FromLong((long) (*arg2));
4978 resultobj = t_output_helper(resultobj,o);
4979 }
4980 {
4981 PyObject *o = PyInt_FromLong((long) (*arg3));
4982 resultobj = t_output_helper(resultobj,o);
4983 }
4984 return resultobj;
4985 fail:
4986 return NULL;
4987}
4988
4989
4990static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxCaret *arg1 = (wxCaret *) 0 ;
4993 wxWindow *result;
4994 PyObject * obj0 = 0 ;
4995 char *kwnames[] = {
4996 (char *) "self", NULL
4997 };
4998
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
5000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5002 {
5003 PyThreadState* __tstate = wxPyBeginAllowThreads();
5004 result = (wxWindow *)(arg1)->GetWindow();
5005
5006 wxPyEndAllowThreads(__tstate);
5007 if (PyErr_Occurred()) SWIG_fail;
5008 }
5009 {
412d302d 5010 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5011 }
5012 return resultobj;
5013 fail:
5014 return NULL;
5015}
5016
5017
5018static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj;
5020 wxCaret *arg1 = (wxCaret *) 0 ;
5021 int arg2 ;
5022 int arg3 ;
5023 PyObject * obj0 = 0 ;
5024 PyObject * obj1 = 0 ;
5025 PyObject * obj2 = 0 ;
5026 char *kwnames[] = {
5027 (char *) "self",(char *) "x",(char *) "y", NULL
5028 };
5029
5030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
5031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5033 arg2 = (int) SWIG_AsInt(obj1);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 arg3 = (int) SWIG_AsInt(obj2);
5036 if (PyErr_Occurred()) SWIG_fail;
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 (arg1)->Move(arg2,arg3);
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 Py_INCREF(Py_None); resultobj = Py_None;
5045 return resultobj;
5046 fail:
5047 return NULL;
5048}
5049
5050
5051static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj;
5053 wxCaret *arg1 = (wxCaret *) 0 ;
5054 wxPoint *arg2 = 0 ;
5055 wxPoint temp2 ;
5056 PyObject * obj0 = 0 ;
5057 PyObject * obj1 = 0 ;
5058 char *kwnames[] = {
5059 (char *) "self",(char *) "pt", NULL
5060 };
5061
5062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
5063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5065 {
5066 arg2 = &temp2;
5067 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5068 }
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 (arg1)->Move((wxPoint const &)*arg2);
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 Py_INCREF(Py_None); resultobj = Py_None;
5077 return resultobj;
5078 fail:
5079 return NULL;
5080}
5081
5082
5083static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
5084 PyObject *resultobj;
5085 wxCaret *arg1 = (wxCaret *) 0 ;
5086 int arg2 ;
5087 int arg3 ;
5088 PyObject * obj0 = 0 ;
5089 PyObject * obj1 = 0 ;
5090 PyObject * obj2 = 0 ;
5091 char *kwnames[] = {
5092 (char *) "self",(char *) "width",(char *) "height", NULL
5093 };
5094
5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
5096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5098 arg2 = (int) SWIG_AsInt(obj1);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 arg3 = (int) SWIG_AsInt(obj2);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 (arg1)->SetSize(arg2,arg3);
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 Py_INCREF(Py_None); resultobj = Py_None;
5110 return resultobj;
5111 fail:
5112 return NULL;
5113}
5114
5115
5116static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5117 PyObject *resultobj;
5118 wxCaret *arg1 = (wxCaret *) 0 ;
5119 wxSize *arg2 = 0 ;
5120 wxSize temp2 ;
5121 PyObject * obj0 = 0 ;
5122 PyObject * obj1 = 0 ;
5123 char *kwnames[] = {
5124 (char *) "self",(char *) "size", NULL
5125 };
5126
5127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
5128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5130 {
5131 arg2 = &temp2;
5132 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5133 }
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 (arg1)->SetSize((wxSize const &)*arg2);
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 Py_INCREF(Py_None); resultobj = Py_None;
5142 return resultobj;
5143 fail:
5144 return NULL;
5145}
5146
5147
5148static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5149 PyObject *resultobj;
5150 wxCaret *arg1 = (wxCaret *) 0 ;
5151 int arg2 = (int) True ;
5152 PyObject * obj0 = 0 ;
5153 PyObject * obj1 = 0 ;
5154 char *kwnames[] = {
5155 (char *) "self",(char *) "show", NULL
5156 };
5157
5158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
5159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5161 if (obj1) {
5162 arg2 = (int) SWIG_AsInt(obj1);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 (arg1)->Show(arg2);
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 Py_INCREF(Py_None); resultobj = Py_None;
5173 return resultobj;
5174 fail:
5175 return NULL;
5176}
5177
5178
5179static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
5180 PyObject *resultobj;
5181 wxCaret *arg1 = (wxCaret *) 0 ;
5182 PyObject * obj0 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "self", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
5188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 (arg1)->Hide();
5193
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 Py_INCREF(Py_None); resultobj = Py_None;
5198 return resultobj;
5199 fail:
5200 return NULL;
5201}
5202
5203
5204static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
5205 PyObject *obj;
5206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5207 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
5208 Py_INCREF(obj);
5209 return Py_BuildValue((char *)"");
5210}
5211static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 int result;
5214 char *kwnames[] = {
5215 NULL
5216 };
5217
5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 result = (int)wxCaret_GetBlinkTime();
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 resultobj = SWIG_FromInt((int)result);
5227 return resultobj;
5228 fail:
5229 return NULL;
5230}
5231
5232
5233static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5234 PyObject *resultobj;
5235 int arg1 ;
5236 PyObject * obj0 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "milliseconds", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
5242 arg1 = (int) SWIG_AsInt(obj0);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 {
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 wxCaret_SetBlinkTime(arg1);
5247
5248 wxPyEndAllowThreads(__tstate);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 Py_INCREF(Py_None); resultobj = Py_None;
5252 return resultobj;
5253 fail:
5254 return NULL;
5255}
5256
5257
5258static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5261 wxBusyCursor *result;
5262 PyObject * obj0 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "cursor", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5268 if (obj0) {
5269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5271 }
5272 {
0439c23b 5273 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5276
5277 wxPyEndAllowThreads(__tstate);
110da5b0 5278 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5279 }
5280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5281 return resultobj;
5282 fail:
5283 return NULL;
5284}
5285
5286
5287static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5290 PyObject * obj0 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 delete arg1;
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 Py_INCREF(Py_None); resultobj = Py_None;
5306 return resultobj;
5307 fail:
5308 return NULL;
5309}
5310
5311
5312static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
5313 PyObject *obj;
5314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5315 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5316 Py_INCREF(obj);
5317 return Py_BuildValue((char *)"");
5318}
5319static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5320 PyObject *resultobj;
5321 wxWindow *arg1 = (wxWindow *) NULL ;
5322 wxWindowDisabler *result;
5323 PyObject * obj0 = 0 ;
5324 char *kwnames[] = {
5325 (char *) "winToSkip", NULL
5326 };
5327
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5329 if (obj0) {
5330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5332 }
5333 {
0439c23b 5334 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5337
5338 wxPyEndAllowThreads(__tstate);
110da5b0 5339 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5340 }
5341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5342 return resultobj;
5343 fail:
5344 return NULL;
5345}
5346
5347
5348static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5349 PyObject *resultobj;
5350 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5351 PyObject * obj0 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "self", NULL
5354 };
5355
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5359 {
5360 PyThreadState* __tstate = wxPyBeginAllowThreads();
5361 delete arg1;
5362
5363 wxPyEndAllowThreads(__tstate);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 Py_INCREF(Py_None); resultobj = Py_None;
5367 return resultobj;
5368 fail:
5369 return NULL;
5370}
5371
5372
5373static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
5374 PyObject *obj;
5375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5376 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5377 Py_INCREF(obj);
5378 return Py_BuildValue((char *)"");
5379}
5380static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5381 PyObject *resultobj;
5382 wxString *arg1 = 0 ;
5383 wxBusyInfo *result;
5384 bool temp1 = False ;
5385 PyObject * obj0 = 0 ;
5386 char *kwnames[] = {
5387 (char *) "message", NULL
5388 };
5389
5390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5391 {
5392 arg1 = wxString_in_helper(obj0);
5393 if (arg1 == NULL) SWIG_fail;
5394 temp1 = True;
5395 }
5396 {
0439c23b 5397 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5400
5401 wxPyEndAllowThreads(__tstate);
110da5b0 5402 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5403 }
5404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5405 {
5406 if (temp1)
5407 delete arg1;
5408 }
5409 return resultobj;
5410 fail:
5411 {
5412 if (temp1)
5413 delete arg1;
5414 }
5415 return NULL;
5416}
5417
5418
5419static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5420 PyObject *resultobj;
5421 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5422 PyObject * obj0 = 0 ;
5423 char *kwnames[] = {
5424 (char *) "self", NULL
5425 };
5426
5427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 delete arg1;
5433
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
5437 Py_INCREF(Py_None); resultobj = Py_None;
5438 return resultobj;
5439 fail:
5440 return NULL;
5441}
5442
5443
5444static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5445 PyObject *obj;
5446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5447 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5448 Py_INCREF(obj);
5449 return Py_BuildValue((char *)"");
5450}
5451static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5452 PyObject *resultobj;
5453 wxStopWatch *result;
5454 char *kwnames[] = {
5455 NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5459 {
5460 PyThreadState* __tstate = wxPyBeginAllowThreads();
5461 result = (wxStopWatch *)new wxStopWatch();
5462
5463 wxPyEndAllowThreads(__tstate);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5467 return resultobj;
5468 fail:
5469 return NULL;
5470}
5471
5472
5473static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj;
5475 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5476 long arg2 = (long) 0 ;
5477 PyObject * obj0 = 0 ;
5478 PyObject * obj1 = 0 ;
5479 char *kwnames[] = {
5480 (char *) "self",(char *) "t0", NULL
5481 };
5482
5483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5486 if (obj1) {
5487 arg2 = (long) SWIG_AsLong(obj1);
5488 if (PyErr_Occurred()) SWIG_fail;
5489 }
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 (arg1)->Start(arg2);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 Py_INCREF(Py_None); resultobj = Py_None;
5498 return resultobj;
5499 fail:
5500 return NULL;
5501}
5502
5503
5504static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5505 PyObject *resultobj;
5506 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5507 PyObject * obj0 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "self", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5515 {
5516 PyThreadState* __tstate = wxPyBeginAllowThreads();
5517 (arg1)->Pause();
5518
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 Py_INCREF(Py_None); resultobj = Py_None;
5523 return resultobj;
5524 fail:
5525 return NULL;
5526}
5527
5528
5529static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5530 PyObject *resultobj;
5531 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5532 PyObject * obj0 = 0 ;
5533 char *kwnames[] = {
5534 (char *) "self", NULL
5535 };
5536
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 (arg1)->Resume();
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 Py_INCREF(Py_None); resultobj = Py_None;
5548 return resultobj;
5549 fail:
5550 return NULL;
5551}
5552
5553
5554static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5555 PyObject *resultobj;
5556 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5557 long result;
5558 PyObject * obj0 = 0 ;
5559 char *kwnames[] = {
5560 (char *) "self", NULL
5561 };
5562
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 result = (long)((wxStopWatch const *)arg1)->Time();
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 resultobj = SWIG_FromLong((long)result);
5574 return resultobj;
5575 fail:
5576 return NULL;
5577}
5578
5579
5580static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5581 PyObject *obj;
5582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5583 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5584 Py_INCREF(obj);
5585 return Py_BuildValue((char *)"");
5586}
5587static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5588 PyObject *resultobj;
5589 int arg1 = (int) 9 ;
4cf4100f 5590 int arg2 = (int) wxID_FILE1 ;
d55e5bfc
RD
5591 wxFileHistory *result;
5592 PyObject * obj0 = 0 ;
4cf4100f 5593 PyObject * obj1 = 0 ;
d55e5bfc 5594 char *kwnames[] = {
4cf4100f 5595 (char *) "maxFiles",(char *) "idBase", NULL
d55e5bfc
RD
5596 };
5597
4cf4100f 5598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
5599 if (obj0) {
5600 arg1 = (int) SWIG_AsInt(obj0);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
4cf4100f
RD
5603 if (obj1) {
5604 arg2 = (int) SWIG_AsInt(obj1);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
d55e5bfc
RD
5607 {
5608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 5609 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
d55e5bfc
RD
5610
5611 wxPyEndAllowThreads(__tstate);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 }
5614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5615 return resultobj;
5616 fail:
5617 return NULL;
5618}
5619
5620
5621static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5622 PyObject *resultobj;
5623 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5624 PyObject * obj0 = 0 ;
5625 char *kwnames[] = {
5626 (char *) "self", NULL
5627 };
5628
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 delete arg1;
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 Py_INCREF(Py_None); resultobj = Py_None;
5640 return resultobj;
5641 fail:
5642 return NULL;
5643}
5644
5645
5646static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5647 PyObject *resultobj;
5648 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5649 wxString *arg2 = 0 ;
5650 bool temp2 = False ;
5651 PyObject * obj0 = 0 ;
5652 PyObject * obj1 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self",(char *) "file", NULL
5655 };
5656
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5660 {
5661 arg2 = wxString_in_helper(obj1);
5662 if (arg2 == NULL) SWIG_fail;
5663 temp2 = True;
5664 }
5665 {
5666 PyThreadState* __tstate = wxPyBeginAllowThreads();
5667 (arg1)->AddFileToHistory((wxString const &)*arg2);
5668
5669 wxPyEndAllowThreads(__tstate);
5670 if (PyErr_Occurred()) SWIG_fail;
5671 }
5672 Py_INCREF(Py_None); resultobj = Py_None;
5673 {
5674 if (temp2)
5675 delete arg2;
5676 }
5677 return resultobj;
5678 fail:
5679 {
5680 if (temp2)
5681 delete arg2;
5682 }
5683 return NULL;
5684}
5685
5686
5687static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5690 int arg2 ;
5691 PyObject * obj0 = 0 ;
5692 PyObject * obj1 = 0 ;
5693 char *kwnames[] = {
5694 (char *) "self",(char *) "i", NULL
5695 };
5696
5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5700 arg2 = (int) SWIG_AsInt(obj1);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 (arg1)->RemoveFileFromHistory(arg2);
5705
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 Py_INCREF(Py_None); resultobj = Py_None;
5710 return resultobj;
5711 fail:
5712 return NULL;
5713}
5714
5715
5716static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5717 PyObject *resultobj;
5718 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5719 int result;
5720 PyObject * obj0 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5731
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
5735 resultobj = SWIG_FromInt((int)result);
5736 return resultobj;
5737 fail:
5738 return NULL;
5739}
5740
5741
5742static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5745 wxMenu *arg2 = (wxMenu *) 0 ;
5746 PyObject * obj0 = 0 ;
5747 PyObject * obj1 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self",(char *) "menu", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 (arg1)->UseMenu(arg2);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 Py_INCREF(Py_None); resultobj = Py_None;
5765 return resultobj;
5766 fail:
5767 return NULL;
5768}
5769
5770
5771static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5774 wxMenu *arg2 = (wxMenu *) 0 ;
5775 PyObject * obj0 = 0 ;
5776 PyObject * obj1 = 0 ;
5777 char *kwnames[] = {
5778 (char *) "self",(char *) "menu", NULL
5779 };
5780
5781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5786 {
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 (arg1)->RemoveMenu(arg2);
5789
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 Py_INCREF(Py_None); resultobj = Py_None;
5794 return resultobj;
5795 fail:
5796 return NULL;
5797}
5798
5799
5800static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5801 PyObject *resultobj;
5802 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5803 wxConfigBase *arg2 = 0 ;
5804 PyObject * obj0 = 0 ;
5805 PyObject * obj1 = 0 ;
5806 char *kwnames[] = {
5807 (char *) "self",(char *) "config", NULL
5808 };
5809
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5814 SWIG_POINTER_EXCEPTION | 0)) == -1)
5815 SWIG_fail;
5816 if (arg2 == NULL) {
5817 PyErr_SetString(PyExc_TypeError,"null reference");
5818 SWIG_fail;
5819 }
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 (arg1)->Load(*arg2);
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 Py_INCREF(Py_None); resultobj = Py_None;
5828 return resultobj;
5829 fail:
5830 return NULL;
5831}
5832
5833
5834static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj;
5836 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5837 wxConfigBase *arg2 = 0 ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 char *kwnames[] = {
5841 (char *) "self",(char *) "config", NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5848 SWIG_POINTER_EXCEPTION | 0)) == -1)
5849 SWIG_fail;
5850 if (arg2 == NULL) {
5851 PyErr_SetString(PyExc_TypeError,"null reference");
5852 SWIG_fail;
5853 }
5854 {
5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
5856 (arg1)->Save(*arg2);
5857
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 Py_INCREF(Py_None); resultobj = Py_None;
5862 return resultobj;
5863 fail:
5864 return NULL;
5865}
5866
5867
5868static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5869 PyObject *resultobj;
5870 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5871 PyObject * obj0 = 0 ;
5872 char *kwnames[] = {
5873 (char *) "self", NULL
5874 };
5875
5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->AddFilesToMenu();
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890}
5891
5892
5893static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj;
5895 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5896 wxMenu *arg2 = (wxMenu *) 0 ;
5897 PyObject * obj0 = 0 ;
5898 PyObject * obj1 = 0 ;
5899 char *kwnames[] = {
5900 (char *) "self",(char *) "menu", NULL
5901 };
5902
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 (arg1)->AddFilesToMenu(arg2);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 }
5915 Py_INCREF(Py_None); resultobj = Py_None;
5916 return resultobj;
5917 fail:
5918 return NULL;
5919}
5920
5921
5922static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj;
5924 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5925 int arg2 ;
5926 wxString result;
5927 PyObject * obj0 = 0 ;
5928 PyObject * obj1 = 0 ;
5929 char *kwnames[] = {
5930 (char *) "self",(char *) "i", NULL
5931 };
5932
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5936 arg2 = (int) SWIG_AsInt(obj1);
5937 if (PyErr_Occurred()) SWIG_fail;
5938 {
5939 PyThreadState* __tstate = wxPyBeginAllowThreads();
5940 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5941
5942 wxPyEndAllowThreads(__tstate);
5943 if (PyErr_Occurred()) SWIG_fail;
5944 }
5945 {
5946#if wxUSE_UNICODE
5947 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5948#else
5949 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5950#endif
5951 }
5952 return resultobj;
5953 fail:
5954 return NULL;
5955}
5956
5957
5958static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5959 PyObject *resultobj;
5960 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5961 int result;
5962 PyObject * obj0 = 0 ;
5963 char *kwnames[] = {
5964 (char *) "self", NULL
5965 };
5966
5967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5970 {
5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
5972 result = (int)((wxFileHistory const *)arg1)->GetCount();
5973
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 resultobj = SWIG_FromInt((int)result);
5978 return resultobj;
5979 fail:
5980 return NULL;
5981}
5982
5983
5984static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5985 PyObject *obj;
5986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5987 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5988 Py_INCREF(obj);
5989 return Py_BuildValue((char *)"");
5990}
5991static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj;
5993 wxString *arg1 = 0 ;
5994 wxString const &arg2_defvalue = wxPyEmptyString ;
5995 wxString *arg2 = (wxString *) &arg2_defvalue ;
5996 wxSingleInstanceChecker *result;
5997 bool temp1 = False ;
5998 bool temp2 = False ;
5999 PyObject * obj0 = 0 ;
6000 PyObject * obj1 = 0 ;
6001 char *kwnames[] = {
6002 (char *) "name",(char *) "path", NULL
6003 };
6004
6005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
6006 {
6007 arg1 = wxString_in_helper(obj0);
6008 if (arg1 == NULL) SWIG_fail;
6009 temp1 = True;
6010 }
6011 if (obj1) {
6012 {
6013 arg2 = wxString_in_helper(obj1);
6014 if (arg2 == NULL) SWIG_fail;
6015 temp2 = True;
6016 }
6017 }
6018 {
6019 PyThreadState* __tstate = wxPyBeginAllowThreads();
6020 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
6021
6022 wxPyEndAllowThreads(__tstate);
6023 if (PyErr_Occurred()) SWIG_fail;
6024 }
6025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6026 {
6027 if (temp1)
6028 delete arg1;
6029 }
6030 {
6031 if (temp2)
6032 delete arg2;
6033 }
6034 return resultobj;
6035 fail:
6036 {
6037 if (temp1)
6038 delete arg1;
6039 }
6040 {
6041 if (temp2)
6042 delete arg2;
6043 }
6044 return NULL;
6045}
6046
6047
6048static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
6049 PyObject *resultobj;
6050 wxSingleInstanceChecker *result;
6051 char *kwnames[] = {
6052 NULL
6053 };
6054
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
6059
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6064 return resultobj;
6065 fail:
6066 return NULL;
6067}
6068
6069
6070static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
6071 PyObject *resultobj;
6072 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6073 PyObject * obj0 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6081 {
6082 PyThreadState* __tstate = wxPyBeginAllowThreads();
6083 delete arg1;
6084
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 }
6088 Py_INCREF(Py_None); resultobj = Py_None;
6089 return resultobj;
6090 fail:
6091 return NULL;
6092}
6093
6094
6095static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6096 PyObject *resultobj;
6097 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6098 wxString *arg2 = 0 ;
6099 wxString const &arg3_defvalue = wxPyEmptyString ;
6100 wxString *arg3 = (wxString *) &arg3_defvalue ;
6101 bool result;
6102 bool temp2 = False ;
6103 bool temp3 = False ;
6104 PyObject * obj0 = 0 ;
6105 PyObject * obj1 = 0 ;
6106 PyObject * obj2 = 0 ;
6107 char *kwnames[] = {
6108 (char *) "self",(char *) "name",(char *) "path", NULL
6109 };
6110
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
6112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6114 {
6115 arg2 = wxString_in_helper(obj1);
6116 if (arg2 == NULL) SWIG_fail;
6117 temp2 = True;
6118 }
6119 if (obj2) {
6120 {
6121 arg3 = wxString_in_helper(obj2);
6122 if (arg3 == NULL) SWIG_fail;
6123 temp3 = True;
6124 }
6125 }
6126 {
6127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6128 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
6129
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 {
6134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6135 }
6136 {
6137 if (temp2)
6138 delete arg2;
6139 }
6140 {
6141 if (temp3)
6142 delete arg3;
6143 }
6144 return resultobj;
6145 fail:
6146 {
6147 if (temp2)
6148 delete arg2;
6149 }
6150 {
6151 if (temp3)
6152 delete arg3;
6153 }
6154 return NULL;
6155}
6156
6157
6158static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6161 bool result;
6162 PyObject * obj0 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6170 {
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
6173
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 {
6178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6179 }
6180 return resultobj;
6181 fail:
6182 return NULL;
6183}
6184
6185
6186static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
6187 PyObject *obj;
6188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6189 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
6190 Py_INCREF(obj);
6191 return Py_BuildValue((char *)"");
6192}
6193static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject *resultobj;
6195 wxWindow *arg1 = (wxWindow *) 0 ;
6196 wxDC *arg2 = 0 ;
6197 int arg3 ;
6198 PyObject * obj0 = 0 ;
6199 PyObject * obj1 = 0 ;
6200 PyObject * obj2 = 0 ;
6201 char *kwnames[] = {
6202 (char *) "window",(char *) "dc",(char *) "method", NULL
6203 };
6204
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
6206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6209 SWIG_POINTER_EXCEPTION | 0)) == -1)
6210 SWIG_fail;
6211 if (arg2 == NULL) {
6212 PyErr_SetString(PyExc_TypeError,"null reference");
6213 SWIG_fail;
6214 }
6215 arg3 = (int) SWIG_AsInt(obj2);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 Py_INCREF(Py_None); resultobj = Py_None;
6225 return resultobj;
6226 fail:
6227 return NULL;
6228}
6229
6230
6231static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6232 PyObject *resultobj;
6233 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6234 PyObject * obj0 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6242 {
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 delete arg1;
6245
6246 wxPyEndAllowThreads(__tstate);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
6249 Py_INCREF(Py_None); resultobj = Py_None;
6250 return resultobj;
6251 fail:
6252 return NULL;
6253}
6254
6255
6256static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6257 PyObject *resultobj;
6258 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6259 wxString result;
6260 PyObject * obj0 = 0 ;
6261 char *kwnames[] = {
6262 (char *) "self", NULL
6263 };
6264
6265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 result = (arg1)->GetTip();
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 {
6276#if wxUSE_UNICODE
6277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6278#else
6279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6280#endif
6281 }
6282 return resultobj;
6283 fail:
6284 return NULL;
6285}
6286
6287
6288static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6289 PyObject *resultobj;
6290 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6291 size_t result;
6292 PyObject * obj0 = 0 ;
6293 char *kwnames[] = {
6294 (char *) "self", NULL
6295 };
6296
6297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 result = (size_t)(arg1)->GetCurrentTip();
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
6308 return resultobj;
6309 fail:
6310 return NULL;
6311}
6312
6313
6314static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj;
6316 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6317 wxString *arg2 = 0 ;
6318 wxString result;
6319 bool temp2 = False ;
6320 PyObject * obj0 = 0 ;
6321 PyObject * obj1 = 0 ;
6322 char *kwnames[] = {
6323 (char *) "self",(char *) "tip", NULL
6324 };
6325
6326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6329 {
6330 arg2 = wxString_in_helper(obj1);
6331 if (arg2 == NULL) SWIG_fail;
6332 temp2 = True;
6333 }
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 {
6342#if wxUSE_UNICODE
6343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6344#else
6345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6346#endif
6347 }
6348 {
6349 if (temp2)
6350 delete arg2;
6351 }
6352 return resultobj;
6353 fail:
6354 {
6355 if (temp2)
6356 delete arg2;
6357 }
6358 return NULL;
6359}
6360
6361
6362static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
6363 PyObject *obj;
6364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6365 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6366 Py_INCREF(obj);
6367 return Py_BuildValue((char *)"");
6368}
6369static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj;
6371 size_t arg1 ;
6372 wxPyTipProvider *result;
6373 PyObject * obj0 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "currentTip", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6379 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
6388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6389 return resultobj;
6390 fail:
6391 return NULL;
6392}
6393
6394
6395static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6398 PyObject *arg2 = (PyObject *) 0 ;
6399 PyObject *arg3 = (PyObject *) 0 ;
6400 PyObject * obj0 = 0 ;
6401 PyObject * obj1 = 0 ;
6402 PyObject * obj2 = 0 ;
6403 char *kwnames[] = {
6404 (char *) "self",(char *) "self",(char *) "_class", NULL
6405 };
6406
6407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6410 arg2 = obj1;
6411 arg3 = obj2;
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 (arg1)->_setCallbackInfo(arg2,arg3);
6415
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 Py_INCREF(Py_None); resultobj = Py_None;
6420 return resultobj;
6421 fail:
6422 return NULL;
6423}
6424
6425
6426static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
6427 PyObject *obj;
6428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6429 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6430 Py_INCREF(obj);
6431 return Py_BuildValue((char *)"");
6432}
6433static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6434 PyObject *resultobj;
6435 wxWindow *arg1 = (wxWindow *) 0 ;
6436 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6437 bool arg3 = (bool) True ;
6438 bool result;
6439 PyObject * obj0 = 0 ;
6440 PyObject * obj1 = 0 ;
6441 PyObject * obj2 = 0 ;
6442 char *kwnames[] = {
6443 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6444 };
6445
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6449 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6451 if (obj2) {
6452 arg3 = (bool) SWIG_AsBool(obj2);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 {
0439c23b 6456 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 result = (bool)wxShowTip(arg1,arg2,arg3);
6459
6460 wxPyEndAllowThreads(__tstate);
110da5b0 6461 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6462 }
6463 {
6464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6465 }
6466 return resultobj;
6467 fail:
6468 return NULL;
6469}
6470
6471
6472static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6473 PyObject *resultobj;
6474 wxString *arg1 = 0 ;
6475 size_t arg2 ;
6476 wxTipProvider *result;
6477 bool temp1 = False ;
6478 PyObject * obj0 = 0 ;
6479 PyObject * obj1 = 0 ;
6480 char *kwnames[] = {
6481 (char *) "filename",(char *) "currentTip", NULL
6482 };
6483
6484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6485 {
6486 arg1 = wxString_in_helper(obj0);
6487 if (arg1 == NULL) SWIG_fail;
6488 temp1 = True;
6489 }
6490 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6491 if (PyErr_Occurred()) SWIG_fail;
6492 {
0439c23b 6493 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
6495 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6496
6497 wxPyEndAllowThreads(__tstate);
110da5b0 6498 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6499 }
6500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6501 {
6502 if (temp1)
6503 delete arg1;
6504 }
6505 return resultobj;
6506 fail:
6507 {
6508 if (temp1)
6509 delete arg1;
6510 }
6511 return NULL;
6512}
6513
6514
6515static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj;
6517 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6518 int arg2 = (int) -1 ;
6519 wxPyTimer *result;
6520 PyObject * obj0 = 0 ;
6521 PyObject * obj1 = 0 ;
6522 char *kwnames[] = {
6523 (char *) "owner",(char *) "id", NULL
6524 };
6525
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6527 if (obj0) {
6528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6530 }
6531 if (obj1) {
6532 arg2 = (int) SWIG_AsInt(obj1);
6533 if (PyErr_Occurred()) SWIG_fail;
6534 }
6535 {
0439c23b 6536 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6539
6540 wxPyEndAllowThreads(__tstate);
110da5b0 6541 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6542 }
6543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6544 return resultobj;
6545 fail:
6546 return NULL;
6547}
6548
6549
6550static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6551 PyObject *resultobj;
6552 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6553 PyObject * obj0 = 0 ;
6554 char *kwnames[] = {
6555 (char *) "self", NULL
6556 };
6557
6558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 delete arg1;
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 Py_INCREF(Py_None); resultobj = Py_None;
6569 return resultobj;
6570 fail:
6571 return NULL;
6572}
6573
6574
6575static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj;
6577 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6578 PyObject *arg2 = (PyObject *) 0 ;
6579 PyObject *arg3 = (PyObject *) 0 ;
6580 int arg4 = (int) 1 ;
6581 PyObject * obj0 = 0 ;
6582 PyObject * obj1 = 0 ;
6583 PyObject * obj2 = 0 ;
6584 PyObject * obj3 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6592 arg2 = obj1;
6593 arg3 = obj2;
6594 if (obj3) {
6595 arg4 = (int) SWIG_AsInt(obj3);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 Py_INCREF(Py_None); resultobj = Py_None;
6606 return resultobj;
6607 fail:
6608 return NULL;
6609}
6610
6611
6612static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject *resultobj;
6614 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6615 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6616 int arg3 = (int) -1 ;
6617 PyObject * obj0 = 0 ;
6618 PyObject * obj1 = 0 ;
6619 PyObject * obj2 = 0 ;
6620 char *kwnames[] = {
6621 (char *) "self",(char *) "owner",(char *) "id", NULL
6622 };
6623
6624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6629 if (obj2) {
6630 arg3 = (int) SWIG_AsInt(obj2);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 }
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 (arg1)->SetOwner(arg2,arg3);
6636
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 Py_INCREF(Py_None); resultobj = Py_None;
6641 return resultobj;
6642 fail:
6643 return NULL;
6644}
6645
6646
1a6bba1e
RD
6647static PyObject *_wrap_Timer_GetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6648 PyObject *resultobj;
6649 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6650 wxEvtHandler *result;
6651 PyObject * obj0 = 0 ;
6652 char *kwnames[] = {
6653 (char *) "self", NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
6657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 result = (wxEvtHandler *)(arg1)->GetOwner();
6662
6663 wxPyEndAllowThreads(__tstate);
6664 if (PyErr_Occurred()) SWIG_fail;
6665 }
6666 {
412d302d 6667 resultobj = wxPyMake_wxObject(result, 0);
1a6bba1e
RD
6668 }
6669 return resultobj;
6670 fail:
6671 return NULL;
6672}
6673
6674
d55e5bfc
RD
6675static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6676 PyObject *resultobj;
6677 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6678 int arg2 = (int) -1 ;
6679 bool arg3 = (bool) False ;
6680 bool result;
6681 PyObject * obj0 = 0 ;
6682 PyObject * obj1 = 0 ;
6683 PyObject * obj2 = 0 ;
6684 char *kwnames[] = {
6685 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6686 };
6687
6688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6691 if (obj1) {
6692 arg2 = (int) SWIG_AsInt(obj1);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 }
6695 if (obj2) {
6696 arg3 = (bool) SWIG_AsBool(obj2);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = (bool)(arg1)->Start(arg2,arg3);
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 {
6707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6708 }
6709 return resultobj;
6710 fail:
6711 return NULL;
6712}
6713
6714
6715static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6716 PyObject *resultobj;
6717 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6718 PyObject * obj0 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 (arg1)->Stop();
6729
6730 wxPyEndAllowThreads(__tstate);
6731 if (PyErr_Occurred()) SWIG_fail;
6732 }
6733 Py_INCREF(Py_None); resultobj = Py_None;
6734 return resultobj;
6735 fail:
6736 return NULL;
6737}
6738
6739
6740static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6741 PyObject *resultobj;
6742 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6743 bool result;
6744 PyObject * obj0 = 0 ;
6745 char *kwnames[] = {
6746 (char *) "self", NULL
6747 };
6748
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6752 {
6753 PyThreadState* __tstate = wxPyBeginAllowThreads();
6754 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6755
6756 wxPyEndAllowThreads(__tstate);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 }
6759 {
6760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6761 }
6762 return resultobj;
6763 fail:
6764 return NULL;
6765}
6766
6767
6768static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj;
6770 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6771 int result;
6772 PyObject * obj0 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "self", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6780 {
6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
6782 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6783
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
6787 resultobj = SWIG_FromInt((int)result);
6788 return resultobj;
6789 fail:
6790 return NULL;
6791}
6792
6793
6794static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6795 PyObject *resultobj;
6796 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6797 bool result;
6798 PyObject * obj0 = 0 ;
6799 char *kwnames[] = {
6800 (char *) "self", NULL
6801 };
6802
6803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 {
6814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6815 }
6816 return resultobj;
6817 fail:
6818 return NULL;
6819}
6820
6821
6822static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6823 PyObject *resultobj;
6824 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6825 int result;
6826 PyObject * obj0 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 result = (int)((wxPyTimer const *)arg1)->GetId();
6837
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 resultobj = SWIG_FromInt((int)result);
6842 return resultobj;
6843 fail:
6844 return NULL;
6845}
6846
6847
6848static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6849 PyObject *obj;
6850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6851 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6852 Py_INCREF(obj);
6853 return Py_BuildValue((char *)"");
6854}
6855static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 int arg1 = (int) 0 ;
6858 int arg2 = (int) 0 ;
6859 wxTimerEvent *result;
6860 PyObject * obj0 = 0 ;
6861 PyObject * obj1 = 0 ;
6862 char *kwnames[] = {
6863 (char *) "timerid",(char *) "interval", NULL
6864 };
6865
6866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6867 if (obj0) {
6868 arg1 = (int) SWIG_AsInt(obj0);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 if (obj1) {
6872 arg2 = (int) SWIG_AsInt(obj1);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 }
6875 {
6876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6877 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6878
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
6883 return resultobj;
6884 fail:
6885 return NULL;
6886}
6887
6888
6889static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6890 PyObject *resultobj;
6891 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6892 int result;
6893 PyObject * obj0 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "self", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6904
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 resultobj = SWIG_FromInt((int)result);
6909 return resultobj;
6910 fail:
6911 return NULL;
6912}
6913
6914
6915static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6916 PyObject *obj;
6917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6918 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6919 Py_INCREF(obj);
6920 return Py_BuildValue((char *)"");
6921}
6922static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6923 PyObject *resultobj;
6924 wxTimer *arg1 = 0 ;
6925 wxTimerRunner *result;
6926 PyObject * obj0 = 0 ;
6927
6928 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6930 SWIG_POINTER_EXCEPTION | 0)) == -1)
6931 SWIG_fail;
6932 if (arg1 == NULL) {
6933 PyErr_SetString(PyExc_TypeError,"null reference");
6934 SWIG_fail;
6935 }
6936 {
0439c23b 6937 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6940
6941 wxPyEndAllowThreads(__tstate);
110da5b0 6942 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6943 }
6944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6945 return resultobj;
6946 fail:
6947 return NULL;
6948}
6949
6950
6951static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6952 PyObject *resultobj;
6953 wxTimer *arg1 = 0 ;
6954 int arg2 ;
6955 bool arg3 = (bool) False ;
6956 wxTimerRunner *result;
6957 PyObject * obj0 = 0 ;
6958 PyObject * obj1 = 0 ;
6959 PyObject * obj2 = 0 ;
6960
6961 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6963 SWIG_POINTER_EXCEPTION | 0)) == -1)
6964 SWIG_fail;
6965 if (arg1 == NULL) {
6966 PyErr_SetString(PyExc_TypeError,"null reference");
6967 SWIG_fail;
6968 }
6969 arg2 = (int) SWIG_AsInt(obj1);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 if (obj2) {
6972 arg3 = (bool) SWIG_AsBool(obj2);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 {
0439c23b 6976 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6979
6980 wxPyEndAllowThreads(__tstate);
110da5b0 6981 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6982 }
6983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6984 return resultobj;
6985 fail:
6986 return NULL;
6987}
6988
6989
6990static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6991 int argc;
6992 PyObject *argv[4];
6993 int ii;
6994
6995 argc = PyObject_Length(args);
6996 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6997 argv[ii] = PyTuple_GetItem(args,ii);
6998 }
6999 if (argc == 1) {
7000 int _v;
7001 {
7002 void *ptr;
7003 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7004 _v = 0;
7005 PyErr_Clear();
7006 } else {
7007 _v = 1;
7008 }
7009 }
7010 if (_v) {
7011 return _wrap_new_TimerRunner__SWIG_0(self,args);
7012 }
7013 }
7014 if ((argc >= 2) && (argc <= 3)) {
7015 int _v;
7016 {
7017 void *ptr;
7018 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7019 _v = 0;
7020 PyErr_Clear();
7021 } else {
7022 _v = 1;
7023 }
7024 }
7025 if (_v) {
7026 _v = SWIG_CheckInt(argv[1]);
7027 if (_v) {
7028 if (argc <= 2) {
7029 return _wrap_new_TimerRunner__SWIG_1(self,args);
7030 }
7031 _v = SWIG_CheckBool(argv[2]);
7032 if (_v) {
7033 return _wrap_new_TimerRunner__SWIG_1(self,args);
7034 }
7035 }
7036 }
7037 }
7038
7039 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
7040 return NULL;
7041}
7042
7043
7044static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7047 PyObject * obj0 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
7053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 delete arg1;
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 Py_INCREF(Py_None); resultobj = Py_None;
7063 return resultobj;
7064 fail:
7065 return NULL;
7066}
7067
7068
7069static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
7070 PyObject *resultobj;
7071 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7072 int arg2 ;
7073 bool arg3 = (bool) False ;
7074 PyObject * obj0 = 0 ;
7075 PyObject * obj1 = 0 ;
7076 PyObject * obj2 = 0 ;
7077 char *kwnames[] = {
7078 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7079 };
7080
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
7082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7084 arg2 = (int) SWIG_AsInt(obj1);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 if (obj2) {
7087 arg3 = (bool) SWIG_AsBool(obj2);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 (arg1)->Start(arg2,arg3);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 Py_INCREF(Py_None); resultobj = Py_None;
7098 return resultobj;
7099 fail:
7100 return NULL;
7101}
7102
7103
7104static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
7105 PyObject *obj;
7106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7107 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
7108 Py_INCREF(obj);
7109 return Py_BuildValue((char *)"");
7110}
7111static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj;
7113 wxLog *result;
7114 char *kwnames[] = {
7115 NULL
7116 };
7117
7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 result = (wxLog *)new wxLog();
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
7127 return resultobj;
7128 fail:
7129 return NULL;
7130}
7131
7132
7133static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 bool result;
7136 char *kwnames[] = {
7137 NULL
7138 };
7139
7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 result = (bool)wxLog::IsEnabled();
7144
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 {
7149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7150 }
7151 return resultobj;
7152 fail:
7153 return NULL;
7154}
7155
7156
7157static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
7158 PyObject *resultobj;
7159 bool arg1 = (bool) True ;
7160 bool result;
7161 PyObject * obj0 = 0 ;
7162 char *kwnames[] = {
7163 (char *) "doIt", NULL
7164 };
7165
7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
7167 if (obj0) {
7168 arg1 = (bool) SWIG_AsBool(obj0);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 {
7172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7173 result = (bool)wxLog::EnableLogging(arg1);
7174
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 {
7179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7180 }
7181 return resultobj;
7182 fail:
7183 return NULL;
7184}
7185
7186
7187static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7188 PyObject *resultobj;
7189 wxLogLevel arg1 ;
7190 wxChar *arg2 = (wxChar *) 0 ;
7191 time_t arg3 ;
7192 PyObject * obj0 = 0 ;
7193 PyObject * obj1 = 0 ;
7194 PyObject * obj2 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "level",(char *) "szString",(char *) "t", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
7200 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
7203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7204 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 Py_INCREF(Py_None); resultobj = Py_None;
7214 return resultobj;
7215 fail:
7216 return NULL;
7217}
7218
7219
7220static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
7221 PyObject *resultobj;
7222 wxLog *arg1 = (wxLog *) 0 ;
7223 PyObject * obj0 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 (arg1)->Flush();
7234
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 Py_INCREF(Py_None); resultobj = Py_None;
7239 return resultobj;
7240 fail:
7241 return NULL;
7242}
7243
7244
7245static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
7246 PyObject *resultobj;
7247 char *kwnames[] = {
7248 NULL
7249 };
7250
7251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 wxLog::FlushActive();
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 Py_INCREF(Py_None); resultobj = Py_None;
7260 return resultobj;
7261 fail:
7262 return NULL;
7263}
7264
7265
7266static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj;
7268 wxLog *result;
7269 char *kwnames[] = {
7270 NULL
7271 };
7272
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
7274 {
7275 PyThreadState* __tstate = wxPyBeginAllowThreads();
7276 result = (wxLog *)wxLog::GetActiveTarget();
7277
7278 wxPyEndAllowThreads(__tstate);
7279 if (PyErr_Occurred()) SWIG_fail;
7280 }
7281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7282 return resultobj;
7283 fail:
7284 return NULL;
7285}
7286
7287
7288static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7289 PyObject *resultobj;
7290 wxLog *arg1 = (wxLog *) 0 ;
7291 wxLog *result;
7292 PyObject * obj0 = 0 ;
7293 char *kwnames[] = {
7294 (char *) "pLogger", NULL
7295 };
7296
7297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7300 {
7301 PyThreadState* __tstate = wxPyBeginAllowThreads();
7302 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7303
7304 wxPyEndAllowThreads(__tstate);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 }
7307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7308 return resultobj;
7309 fail:
7310 return NULL;
7311}
7312
7313
7314static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
7315 PyObject *resultobj;
7316 char *kwnames[] = {
7317 NULL
7318 };
7319
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 wxLog::Suspend();
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 Py_INCREF(Py_None); resultobj = Py_None;
7329 return resultobj;
7330 fail:
7331 return NULL;
7332}
7333
7334
7335static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj;
7337 char *kwnames[] = {
7338 NULL
7339 };
7340
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 wxLog::Resume();
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 Py_INCREF(Py_None); resultobj = Py_None;
7350 return resultobj;
7351 fail:
7352 return NULL;
7353}
7354
7355
7356static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7357 PyObject *resultobj;
7358 bool arg1 = (bool) True ;
7359 PyObject * obj0 = 0 ;
7360 char *kwnames[] = {
7361 (char *) "bVerbose", NULL
7362 };
7363
7364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7365 if (obj0) {
7366 arg1 = (bool) SWIG_AsBool(obj0);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 wxLog::SetVerbose(arg1);
7372
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 Py_INCREF(Py_None); resultobj = Py_None;
7377 return resultobj;
7378 fail:
7379 return NULL;
7380}
7381
7382
7383static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7384 PyObject *resultobj;
7385 wxLogLevel arg1 ;
7386 PyObject * obj0 = 0 ;
7387 char *kwnames[] = {
7388 (char *) "logLevel", NULL
7389 };
7390
7391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7392 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 wxLog::SetLogLevel(arg1);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 Py_INCREF(Py_None); resultobj = Py_None;
7402 return resultobj;
7403 fail:
7404 return NULL;
7405}
7406
7407
7408static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 char *kwnames[] = {
7411 NULL
7412 };
7413
7414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 wxLog::DontCreateOnDemand();
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 Py_INCREF(Py_None); resultobj = Py_None;
7423 return resultobj;
7424 fail:
7425 return NULL;
7426}
7427
7428
7429static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7430 PyObject *resultobj;
7431 wxTraceMask arg1 ;
7432 PyObject * obj0 = 0 ;
7433 char *kwnames[] = {
7434 (char *) "ulMask", NULL
7435 };
7436
7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7438 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7439 if (PyErr_Occurred()) SWIG_fail;
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 wxLog::SetTraceMask(arg1);
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 Py_INCREF(Py_None); resultobj = Py_None;
7448 return resultobj;
7449 fail:
7450 return NULL;
7451}
7452
7453
7454static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7455 PyObject *resultobj;
7456 wxString *arg1 = 0 ;
7457 bool temp1 = False ;
7458 PyObject * obj0 = 0 ;
7459 char *kwnames[] = {
7460 (char *) "str", NULL
7461 };
7462
7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7464 {
7465 arg1 = wxString_in_helper(obj0);
7466 if (arg1 == NULL) SWIG_fail;
7467 temp1 = True;
7468 }
7469 {
7470 PyThreadState* __tstate = wxPyBeginAllowThreads();
7471 wxLog::AddTraceMask((wxString const &)*arg1);
7472
7473 wxPyEndAllowThreads(__tstate);
7474 if (PyErr_Occurred()) SWIG_fail;
7475 }
7476 Py_INCREF(Py_None); resultobj = Py_None;
7477 {
7478 if (temp1)
7479 delete arg1;
7480 }
7481 return resultobj;
7482 fail:
7483 {
7484 if (temp1)
7485 delete arg1;
7486 }
7487 return NULL;
7488}
7489
7490
7491static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7492 PyObject *resultobj;
7493 wxString *arg1 = 0 ;
7494 bool temp1 = False ;
7495 PyObject * obj0 = 0 ;
7496 char *kwnames[] = {
7497 (char *) "str", NULL
7498 };
7499
7500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7501 {
7502 arg1 = wxString_in_helper(obj0);
7503 if (arg1 == NULL) SWIG_fail;
7504 temp1 = True;
7505 }
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 wxLog::RemoveTraceMask((wxString const &)*arg1);
7509
7510 wxPyEndAllowThreads(__tstate);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 Py_INCREF(Py_None); resultobj = Py_None;
7514 {
7515 if (temp1)
7516 delete arg1;
7517 }
7518 return resultobj;
7519 fail:
7520 {
7521 if (temp1)
7522 delete arg1;
7523 }
7524 return NULL;
7525}
7526
7527
7528static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj;
7530 char *kwnames[] = {
7531 NULL
7532 };
7533
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 wxLog::ClearTraceMasks();
7538
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 Py_INCREF(Py_None); resultobj = Py_None;
7543 return resultobj;
7544 fail:
7545 return NULL;
7546}
7547
7548
7549static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7550 PyObject *resultobj;
7551 wxArrayString *result;
7552 char *kwnames[] = {
7553 NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 {
7560 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7561 result = (wxArrayString *) &_result_ref;
7562 }
7563
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 {
7568 resultobj = wxArrayString2PyList_helper(*result);
7569 }
7570 return resultobj;
7571 fail:
7572 return NULL;
7573}
7574
7575
7576static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxChar *arg1 = (wxChar *) 0 ;
7579 PyObject * obj0 = 0 ;
7580 char *kwnames[] = {
7581 (char *) "ts", NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7587 {
7588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7589 wxLog::SetTimestamp((wxChar const *)arg1);
7590
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
7594 Py_INCREF(Py_None); resultobj = Py_None;
7595 return resultobj;
7596 fail:
7597 return NULL;
7598}
7599
7600
7601static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7602 PyObject *resultobj;
7603 bool result;
7604 char *kwnames[] = {
7605 NULL
7606 };
7607
7608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 result = (bool)wxLog::GetVerbose();
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 {
7617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7618 }
7619 return resultobj;
7620 fail:
7621 return NULL;
7622}
7623
7624
7625static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7626 PyObject *resultobj;
7627 wxTraceMask result;
7628 char *kwnames[] = {
7629 NULL
7630 };
7631
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7633 {
7634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7635 result = (wxTraceMask)wxLog::GetTraceMask();
7636
7637 wxPyEndAllowThreads(__tstate);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7641 return resultobj;
7642 fail:
7643 return NULL;
7644}
7645
7646
7647static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7648 PyObject *resultobj;
7649 wxChar *arg1 = (wxChar *) 0 ;
7650 bool result;
7651 PyObject * obj0 = 0 ;
7652 char *kwnames[] = {
7653 (char *) "mask", NULL
7654 };
7655
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 {
7667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7668 }
7669 return resultobj;
7670 fail:
7671 return NULL;
7672}
7673
7674
7675static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7676 PyObject *resultobj;
7677 wxLogLevel result;
7678 char *kwnames[] = {
7679 NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 result = (wxLogLevel)wxLog::GetLogLevel();
7686
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7691 return resultobj;
7692 fail:
7693 return NULL;
7694}
7695
7696
7697static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj;
7699 wxChar *result;
7700 char *kwnames[] = {
7701 NULL
7702 };
7703
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 result = (wxChar *)wxLog::GetTimestamp();
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7713 return resultobj;
7714 fail:
7715 return NULL;
7716}
7717
7718
7719static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj;
7721 wxString result;
7722 char *kwnames[] = {
7723 NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = Log_TimeStamp();
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 {
7735#if wxUSE_UNICODE
7736 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7737#else
7738 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7739#endif
7740 }
7741 return resultobj;
7742 fail:
7743 return NULL;
7744}
7745
7746
7747static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject *resultobj;
7749 wxLog *arg1 = (wxLog *) 0 ;
7750 PyObject * obj0 = 0 ;
7751 char *kwnames[] = {
7752 (char *) "self", NULL
7753 };
7754
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
7760 wxLog_Destroy(arg1);
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
7765 Py_INCREF(Py_None); resultobj = Py_None;
7766 return resultobj;
7767 fail:
7768 return NULL;
7769}
7770
7771
7772static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7773 PyObject *obj;
7774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7775 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7776 Py_INCREF(obj);
7777 return Py_BuildValue((char *)"");
7778}
7779static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj;
7781 wxLogStderr *result;
7782 char *kwnames[] = {
7783 NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 result = (wxLogStderr *)new wxLogStderr();
7790
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
7795 return resultobj;
7796 fail:
7797 return NULL;
7798}
7799
7800
7801static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7802 PyObject *obj;
7803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7804 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7805 Py_INCREF(obj);
7806 return Py_BuildValue((char *)"");
7807}
7808static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj;
7810 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7811 wxLogTextCtrl *result;
7812 PyObject * obj0 = 0 ;
7813 char *kwnames[] = {
7814 (char *) "pTextCtrl", NULL
7815 };
7816
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
7828 return resultobj;
7829 fail:
7830 return NULL;
7831}
7832
7833
7834static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7835 PyObject *obj;
7836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7837 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7838 Py_INCREF(obj);
7839 return Py_BuildValue((char *)"");
7840}
7841static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7842 PyObject *resultobj;
7843 wxLogGui *result;
7844 char *kwnames[] = {
7845 NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 result = (wxLogGui *)new wxLogGui();
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
7857 return resultobj;
7858 fail:
7859 return NULL;
7860}
7861
7862
7863static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7864 PyObject *obj;
7865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7866 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7867 Py_INCREF(obj);
7868 return Py_BuildValue((char *)"");
7869}
7870static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7871 PyObject *resultobj;
7872 wxFrame *arg1 = (wxFrame *) 0 ;
7873 wxString *arg2 = 0 ;
7874 bool arg3 = (bool) True ;
7875 bool arg4 = (bool) True ;
7876 wxLogWindow *result;
7877 bool temp2 = False ;
7878 PyObject * obj0 = 0 ;
7879 PyObject * obj1 = 0 ;
7880 PyObject * obj2 = 0 ;
7881 PyObject * obj3 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7889 {
7890 arg2 = wxString_in_helper(obj1);
7891 if (arg2 == NULL) SWIG_fail;
7892 temp2 = True;
7893 }
7894 if (obj2) {
7895 arg3 = (bool) SWIG_AsBool(obj2);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 if (obj3) {
7899 arg4 = (bool) SWIG_AsBool(obj3);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 }
7902 {
7903 PyThreadState* __tstate = wxPyBeginAllowThreads();
7904 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7905
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
7909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
7910 {
7911 if (temp2)
7912 delete arg2;
7913 }
7914 return resultobj;
7915 fail:
7916 {
7917 if (temp2)
7918 delete arg2;
7919 }
7920 return NULL;
7921}
7922
7923
7924static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7927 bool arg2 = (bool) True ;
7928 PyObject * obj0 = 0 ;
7929 PyObject * obj1 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self",(char *) "bShow", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7937 if (obj1) {
7938 arg2 = (bool) SWIG_AsBool(obj1);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 (arg1)->Show(arg2);
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 Py_INCREF(Py_None); resultobj = Py_None;
7949 return resultobj;
7950 fail:
7951 return NULL;
7952}
7953
7954
7955static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7956 PyObject *resultobj;
7957 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7958 wxFrame *result;
7959 PyObject * obj0 = 0 ;
7960 char *kwnames[] = {
7961 (char *) "self", NULL
7962 };
7963
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7967 {
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7970
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) SWIG_fail;
7973 }
7974 {
412d302d 7975 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7976 }
7977 return resultobj;
7978 fail:
7979 return NULL;
7980}
7981
7982
7983static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7984 PyObject *resultobj;
7985 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7986 wxLog *result;
7987 PyObject * obj0 = 0 ;
7988 char *kwnames[] = {
7989 (char *) "self", NULL
7990 };
7991
7992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8003 return resultobj;
8004 fail:
8005 return NULL;
8006}
8007
8008
8009static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8010 PyObject *resultobj;
8011 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8012 bool result;
8013 PyObject * obj0 = 0 ;
8014 char *kwnames[] = {
8015 (char *) "self", NULL
8016 };
8017
8018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
8019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8021 {
8022 PyThreadState* __tstate = wxPyBeginAllowThreads();
8023 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
8024
8025 wxPyEndAllowThreads(__tstate);
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 {
8029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8030 }
8031 return resultobj;
8032 fail:
8033 return NULL;
8034}
8035
8036
8037static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8040 bool arg2 ;
8041 PyObject * obj0 = 0 ;
8042 PyObject * obj1 = 0 ;
8043 char *kwnames[] = {
8044 (char *) "self",(char *) "bDoPass", NULL
8045 };
8046
8047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8050 arg2 = (bool) SWIG_AsBool(obj1);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 {
8053 PyThreadState* __tstate = wxPyBeginAllowThreads();
8054 (arg1)->PassMessages(arg2);
8055
8056 wxPyEndAllowThreads(__tstate);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 }
8059 Py_INCREF(Py_None); resultobj = Py_None;
8060 return resultobj;
8061 fail:
8062 return NULL;
8063}
8064
8065
8066static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
8067 PyObject *obj;
8068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8069 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
8070 Py_INCREF(obj);
8071 return Py_BuildValue((char *)"");
8072}
8073static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
8074 PyObject *resultobj;
8075 wxLog *arg1 = (wxLog *) 0 ;
8076 wxLogChain *result;
8077 PyObject * obj0 = 0 ;
8078 char *kwnames[] = {
8079 (char *) "logger", NULL
8080 };
8081
8082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
8083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 result = (wxLogChain *)new wxLogChain(arg1);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
8093 return resultobj;
8094 fail:
8095 return NULL;
8096}
8097
8098
8099static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxLogChain *arg1 = (wxLogChain *) 0 ;
8102 wxLog *arg2 = (wxLog *) 0 ;
8103 PyObject * obj0 = 0 ;
8104 PyObject * obj1 = 0 ;
8105 char *kwnames[] = {
8106 (char *) "self",(char *) "logger", NULL
8107 };
8108
8109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
8110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
8113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8114 {
8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
8116 (arg1)->SetLog(arg2);
8117
8118 wxPyEndAllowThreads(__tstate);
8119 if (PyErr_Occurred()) SWIG_fail;
8120 }
8121 Py_INCREF(Py_None); resultobj = Py_None;
8122 return resultobj;
8123 fail:
8124 return NULL;
8125}
8126
8127
8128static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8129 PyObject *resultobj;
8130 wxLogChain *arg1 = (wxLogChain *) 0 ;
8131 bool arg2 ;
8132 PyObject * obj0 = 0 ;
8133 PyObject * obj1 = 0 ;
8134 char *kwnames[] = {
8135 (char *) "self",(char *) "bDoPass", NULL
8136 };
8137
8138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8141 arg2 = (bool) SWIG_AsBool(obj1);
8142 if (PyErr_Occurred()) SWIG_fail;
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 (arg1)->PassMessages(arg2);
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 Py_INCREF(Py_None); resultobj = Py_None;
8151 return resultobj;
8152 fail:
8153 return NULL;
8154}
8155
8156
8157static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8158 PyObject *resultobj;
8159 wxLogChain *arg1 = (wxLogChain *) 0 ;
8160 bool result;
8161 PyObject * obj0 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "self", NULL
8164 };
8165
8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
8167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 result = (bool)(arg1)->IsPassingMessages();
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 {
8177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8178 }
8179 return resultobj;
8180 fail:
8181 return NULL;
8182}
8183
8184
8185static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj;
8187 wxLogChain *arg1 = (wxLogChain *) 0 ;
8188 wxLog *result;
8189 PyObject * obj0 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "self", NULL
8192 };
8193
8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
8195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 result = (wxLog *)(arg1)->GetOldLog();
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8205 return resultobj;
8206 fail:
8207 return NULL;
8208}
8209
8210
8211static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
8212 PyObject *obj;
8213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8214 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
8215 Py_INCREF(obj);
8216 return Py_BuildValue((char *)"");
8217}
8218static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8219 PyObject *resultobj;
8220 unsigned long result;
8221 char *kwnames[] = {
8222 NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (unsigned long)wxSysErrorCode();
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
8234 return resultobj;
8235 fail:
8236 return NULL;
8237}
8238
8239
8240static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 unsigned long arg1 = (unsigned long) 0 ;
8243 wxString result;
8244 PyObject * obj0 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "nErrCode", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
8250 if (obj0) {
8251 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 }
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8256 result = wxSysErrorMsg(arg1);
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 {
8262#if wxUSE_UNICODE
8263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8264#else
8265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8266#endif
8267 }
8268 return resultobj;
8269 fail:
8270 return NULL;
8271}
8272
8273
8274static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
8275 PyObject *resultobj;
8276 wxString *arg1 = 0 ;
8277 bool temp1 = False ;
8278 PyObject * obj0 = 0 ;
8279 char *kwnames[] = {
8280 (char *) "msg", NULL
8281 };
8282
8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8284 {
8285 arg1 = wxString_in_helper(obj0);
8286 if (arg1 == NULL) SWIG_fail;
8287 temp1 = True;
8288 }
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 wxLogFatalError((wxString const &)*arg1);
8292
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 Py_INCREF(Py_None); resultobj = Py_None;
8297 {
8298 if (temp1)
8299 delete arg1;
8300 }
8301 return resultobj;
8302 fail:
8303 {
8304 if (temp1)
8305 delete arg1;
8306 }
8307 return NULL;
8308}
8309
8310
8311static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj;
8313 wxString *arg1 = 0 ;
8314 bool temp1 = False ;
8315 PyObject * obj0 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "msg", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8321 {
8322 arg1 = wxString_in_helper(obj0);
8323 if (arg1 == NULL) SWIG_fail;
8324 temp1 = True;
8325 }
8326 {
8327 PyThreadState* __tstate = wxPyBeginAllowThreads();
8328 wxLogError((wxString const &)*arg1);
8329
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 Py_INCREF(Py_None); resultobj = Py_None;
8334 {
8335 if (temp1)
8336 delete arg1;
8337 }
8338 return resultobj;
8339 fail:
8340 {
8341 if (temp1)
8342 delete arg1;
8343 }
8344 return NULL;
8345}
8346
8347
8348static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
8349 PyObject *resultobj;
8350 wxString *arg1 = 0 ;
8351 bool temp1 = False ;
8352 PyObject * obj0 = 0 ;
8353 char *kwnames[] = {
8354 (char *) "msg", NULL
8355 };
8356
8357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8358 {
8359 arg1 = wxString_in_helper(obj0);
8360 if (arg1 == NULL) SWIG_fail;
8361 temp1 = True;
8362 }
8363 {
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 wxLogWarning((wxString const &)*arg1);
8366
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 }
8370 Py_INCREF(Py_None); resultobj = Py_None;
8371 {
8372 if (temp1)
8373 delete arg1;
8374 }
8375 return resultobj;
8376 fail:
8377 {
8378 if (temp1)
8379 delete arg1;
8380 }
8381 return NULL;
8382}
8383
8384
8385static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxString *arg1 = 0 ;
8388 bool temp1 = False ;
8389 PyObject * obj0 = 0 ;
8390 char *kwnames[] = {
8391 (char *) "msg", NULL
8392 };
8393
8394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8395 {
8396 arg1 = wxString_in_helper(obj0);
8397 if (arg1 == NULL) SWIG_fail;
8398 temp1 = True;
8399 }
8400 {
8401 PyThreadState* __tstate = wxPyBeginAllowThreads();
8402 wxLogMessage((wxString const &)*arg1);
8403
8404 wxPyEndAllowThreads(__tstate);
8405 if (PyErr_Occurred()) SWIG_fail;
8406 }
8407 Py_INCREF(Py_None); resultobj = Py_None;
8408 {
8409 if (temp1)
8410 delete arg1;
8411 }
8412 return resultobj;
8413 fail:
8414 {
8415 if (temp1)
8416 delete arg1;
8417 }
8418 return NULL;
8419}
8420
8421
8422static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj;
8424 wxString *arg1 = 0 ;
8425 bool temp1 = False ;
8426 PyObject * obj0 = 0 ;
8427 char *kwnames[] = {
8428 (char *) "msg", NULL
8429 };
8430
8431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8432 {
8433 arg1 = wxString_in_helper(obj0);
8434 if (arg1 == NULL) SWIG_fail;
8435 temp1 = True;
8436 }
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 wxLogInfo((wxString const &)*arg1);
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 Py_INCREF(Py_None); resultobj = Py_None;
8445 {
8446 if (temp1)
8447 delete arg1;
8448 }
8449 return resultobj;
8450 fail:
8451 {
8452 if (temp1)
8453 delete arg1;
8454 }
8455 return NULL;
8456}
8457
8458
8459static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
8460 PyObject *resultobj;
8461 wxString *arg1 = 0 ;
8462 bool temp1 = False ;
8463 PyObject * obj0 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "msg", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8469 {
8470 arg1 = wxString_in_helper(obj0);
8471 if (arg1 == NULL) SWIG_fail;
8472 temp1 = True;
8473 }
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 wxLogDebug((wxString const &)*arg1);
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 Py_INCREF(Py_None); resultobj = Py_None;
8482 {
8483 if (temp1)
8484 delete arg1;
8485 }
8486 return resultobj;
8487 fail:
8488 {
8489 if (temp1)
8490 delete arg1;
8491 }
8492 return NULL;
8493}
8494
8495
8496static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8497 PyObject *resultobj;
8498 wxString *arg1 = 0 ;
8499 bool temp1 = False ;
8500 PyObject * obj0 = 0 ;
8501 char *kwnames[] = {
8502 (char *) "msg", NULL
8503 };
8504
8505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8506 {
8507 arg1 = wxString_in_helper(obj0);
8508 if (arg1 == NULL) SWIG_fail;
8509 temp1 = True;
8510 }
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 wxLogVerbose((wxString const &)*arg1);
8514
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 Py_INCREF(Py_None); resultobj = Py_None;
8519 {
8520 if (temp1)
8521 delete arg1;
8522 }
8523 return resultobj;
8524 fail:
8525 {
8526 if (temp1)
8527 delete arg1;
8528 }
8529 return NULL;
8530}
8531
8532
8533static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxString *arg1 = 0 ;
8536 bool temp1 = False ;
8537 PyObject * obj0 = 0 ;
8538 char *kwnames[] = {
8539 (char *) "msg", NULL
8540 };
8541
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8543 {
8544 arg1 = wxString_in_helper(obj0);
8545 if (arg1 == NULL) SWIG_fail;
8546 temp1 = True;
8547 }
8548 {
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 wxLogStatus((wxString const &)*arg1);
8551
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 Py_INCREF(Py_None); resultobj = Py_None;
8556 {
8557 if (temp1)
8558 delete arg1;
8559 }
8560 return resultobj;
8561 fail:
8562 {
8563 if (temp1)
8564 delete arg1;
8565 }
8566 return NULL;
8567}
8568
8569
8570static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8571 PyObject *resultobj;
8572 wxFrame *arg1 = (wxFrame *) 0 ;
8573 wxString *arg2 = 0 ;
8574 bool temp2 = False ;
8575 PyObject * obj0 = 0 ;
8576 PyObject * obj1 = 0 ;
8577 char *kwnames[] = {
8578 (char *) "pFrame",(char *) "msg", NULL
8579 };
8580
8581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8584 {
8585 arg2 = wxString_in_helper(obj1);
8586 if (arg2 == NULL) SWIG_fail;
8587 temp2 = True;
8588 }
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 wxLogStatus(arg1,(wxString const &)*arg2);
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 Py_INCREF(Py_None); resultobj = Py_None;
8597 {
8598 if (temp2)
8599 delete arg2;
8600 }
8601 return resultobj;
8602 fail:
8603 {
8604 if (temp2)
8605 delete arg2;
8606 }
8607 return NULL;
8608}
8609
8610
8611static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8612 PyObject *resultobj;
8613 wxString *arg1 = 0 ;
8614 bool temp1 = False ;
8615 PyObject * obj0 = 0 ;
8616 char *kwnames[] = {
8617 (char *) "msg", NULL
8618 };
8619
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8621 {
8622 arg1 = wxString_in_helper(obj0);
8623 if (arg1 == NULL) SWIG_fail;
8624 temp1 = True;
8625 }
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 wxLogSysError((wxString const &)*arg1);
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 Py_INCREF(Py_None); resultobj = Py_None;
8634 {
8635 if (temp1)
8636 delete arg1;
8637 }
8638 return resultobj;
8639 fail:
8640 {
8641 if (temp1)
8642 delete arg1;
8643 }
8644 return NULL;
8645}
8646
8647
8648static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
8649 PyObject *resultobj;
8650 unsigned long arg1 ;
8651 wxString *arg2 = 0 ;
8652 bool temp2 = False ;
8653 PyObject * obj0 = 0 ;
8654 PyObject * obj1 = 0 ;
8655
8656 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8657 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8658 if (PyErr_Occurred()) SWIG_fail;
8659 {
8660 arg2 = wxString_in_helper(obj1);
8661 if (arg2 == NULL) SWIG_fail;
8662 temp2 = True;
8663 }
8664 {
8665 PyThreadState* __tstate = wxPyBeginAllowThreads();
8666 wxLogTrace(arg1,(wxString const &)*arg2);
8667
8668 wxPyEndAllowThreads(__tstate);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 Py_INCREF(Py_None); resultobj = Py_None;
8672 {
8673 if (temp2)
8674 delete arg2;
8675 }
8676 return resultobj;
8677 fail:
8678 {
8679 if (temp2)
8680 delete arg2;
8681 }
8682 return NULL;
8683}
8684
8685
8686static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
8687 PyObject *resultobj;
8688 wxString *arg1 = 0 ;
8689 wxString *arg2 = 0 ;
8690 bool temp1 = False ;
8691 bool temp2 = False ;
8692 PyObject * obj0 = 0 ;
8693 PyObject * obj1 = 0 ;
8694
8695 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8696 {
8697 arg1 = wxString_in_helper(obj0);
8698 if (arg1 == NULL) SWIG_fail;
8699 temp1 = True;
8700 }
8701 {
8702 arg2 = wxString_in_helper(obj1);
8703 if (arg2 == NULL) SWIG_fail;
8704 temp2 = True;
8705 }
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 Py_INCREF(Py_None); resultobj = Py_None;
8714 {
8715 if (temp1)
8716 delete arg1;
8717 }
8718 {
8719 if (temp2)
8720 delete arg2;
8721 }
8722 return resultobj;
8723 fail:
8724 {
8725 if (temp1)
8726 delete arg1;
8727 }
8728 {
8729 if (temp2)
8730 delete arg2;
8731 }
8732 return NULL;
8733}
8734
8735
8736static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8737 int argc;
8738 PyObject *argv[3];
8739 int ii;
8740
8741 argc = PyObject_Length(args);
8742 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8743 argv[ii] = PyTuple_GetItem(args,ii);
8744 }
8745 if (argc == 2) {
8746 int _v;
8747 {
8748 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8749 }
8750 if (_v) {
8751 {
8752 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8753 }
8754 if (_v) {
8755 return _wrap_LogTrace__SWIG_1(self,args);
8756 }
8757 }
8758 }
8759 if (argc == 2) {
8760 int _v;
8761 _v = SWIG_CheckUnsignedLong(argv[0]);
8762 if (_v) {
8763 {
8764 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8765 }
8766 if (_v) {
8767 return _wrap_LogTrace__SWIG_0(self,args);
8768 }
8769 }
8770 }
8771
8772 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8773 return NULL;
8774}
8775
8776
8777static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8778 PyObject *resultobj;
8779 unsigned long arg1 ;
8780 wxString *arg2 = 0 ;
8781 bool temp2 = False ;
8782 PyObject * obj0 = 0 ;
8783 PyObject * obj1 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "level",(char *) "msg", NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8789 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8790 if (PyErr_Occurred()) SWIG_fail;
8791 {
8792 arg2 = wxString_in_helper(obj1);
8793 if (arg2 == NULL) SWIG_fail;
8794 temp2 = True;
8795 }
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 wxLogGeneric(arg1,(wxString const &)*arg2);
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 Py_INCREF(Py_None); resultobj = Py_None;
8804 {
8805 if (temp2)
8806 delete arg2;
8807 }
8808 return resultobj;
8809 fail:
8810 {
8811 if (temp2)
8812 delete arg2;
8813 }
8814 return NULL;
8815}
8816
8817
8818static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8819 PyObject *resultobj;
8820 wxString *arg1 = 0 ;
8821 wxString *arg2 = 0 ;
8822 bool temp1 = False ;
8823 bool temp2 = False ;
8824 PyObject * obj0 = 0 ;
8825 PyObject * obj1 = 0 ;
8826 char *kwnames[] = {
8827 (char *) "title",(char *) "text", NULL
8828 };
8829
8830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8831 {
8832 arg1 = wxString_in_helper(obj0);
8833 if (arg1 == NULL) SWIG_fail;
8834 temp1 = True;
8835 }
8836 {
8837 arg2 = wxString_in_helper(obj1);
8838 if (arg2 == NULL) SWIG_fail;
8839 temp2 = True;
8840 }
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 Py_INCREF(Py_None); resultobj = Py_None;
8849 {
8850 if (temp1)
8851 delete arg1;
8852 }
8853 {
8854 if (temp2)
8855 delete arg2;
8856 }
8857 return resultobj;
8858 fail:
8859 {
8860 if (temp1)
8861 delete arg1;
8862 }
8863 {
8864 if (temp2)
8865 delete arg2;
8866 }
8867 return NULL;
8868}
8869
8870
8871static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8872 PyObject *resultobj;
8873 wxLogNull *result;
8874 char *kwnames[] = {
8875 NULL
8876 };
8877
8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 result = (wxLogNull *)new wxLogNull();
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
8887 return resultobj;
8888 fail:
8889 return NULL;
8890}
8891
8892
8893static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8894 PyObject *resultobj;
8895 wxLogNull *arg1 = (wxLogNull *) 0 ;
8896 PyObject * obj0 = 0 ;
8897 char *kwnames[] = {
8898 (char *) "self", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 delete arg1;
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 Py_INCREF(Py_None); resultobj = Py_None;
8912 return resultobj;
8913 fail:
8914 return NULL;
8915}
8916
8917
8918static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8919 PyObject *obj;
8920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8921 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8922 Py_INCREF(obj);
8923 return Py_BuildValue((char *)"");
8924}
8925static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8926 PyObject *resultobj;
8927 wxPyLog *result;
8928 char *kwnames[] = {
8929 NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 result = (wxPyLog *)new wxPyLog();
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
8941 return resultobj;
8942 fail:
8943 return NULL;
8944}
8945
8946
8947static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxPyLog *arg1 = (wxPyLog *) 0 ;
8950 PyObject *arg2 = (PyObject *) 0 ;
8951 PyObject *arg3 = (PyObject *) 0 ;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 PyObject * obj2 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self",(char *) "self",(char *) "_class", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8962 arg2 = obj1;
8963 arg3 = obj2;
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->_setCallbackInfo(arg2,arg3);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 Py_INCREF(Py_None); resultobj = Py_None;
8972 return resultobj;
8973 fail:
8974 return NULL;
8975}
8976
8977
8978static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8979 PyObject *obj;
8980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8981 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8982 Py_INCREF(obj);
8983 return Py_BuildValue((char *)"");
8984}
8985static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8986 PyObject *resultobj;
8987 int arg1 ;
8988 int arg2 = (int) wxSIGTERM ;
8989 int result;
8990 PyObject * obj0 = 0 ;
8991 PyObject * obj1 = 0 ;
8992 char *kwnames[] = {
8993 (char *) "pid",(char *) "sig", NULL
8994 };
8995
8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8997 arg1 = (int) SWIG_AsInt(obj0);
8998 if (PyErr_Occurred()) SWIG_fail;
8999 if (obj1) {
9000 arg2 = (wxSignal) SWIG_AsInt(obj1);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 {
9004 PyThreadState* __tstate = wxPyBeginAllowThreads();
9005 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
9006
9007 wxPyEndAllowThreads(__tstate);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 }
9010 resultobj = SWIG_FromInt((int)result);
9011 return resultobj;
9012 fail:
9013 return NULL;
9014}
9015
9016
9017static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
9018 PyObject *resultobj;
9019 int arg1 ;
9020 bool result;
9021 PyObject * obj0 = 0 ;
9022 char *kwnames[] = {
9023 (char *) "pid", NULL
9024 };
9025
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
9027 arg1 = (int) SWIG_AsInt(obj0);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 result = (bool)wxPyProcess::Exists(arg1);
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 {
9037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9038 }
9039 return resultobj;
9040 fail:
9041 return NULL;
9042}
9043
9044
9045static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxString *arg1 = 0 ;
9048 int arg2 = (int) wxEXEC_ASYNC ;
9049 wxPyProcess *result;
9050 bool temp1 = False ;
9051 PyObject * obj0 = 0 ;
9052 PyObject * obj1 = 0 ;
9053 char *kwnames[] = {
9054 (char *) "cmd",(char *) "flags", NULL
9055 };
9056
9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
9058 {
9059 arg1 = wxString_in_helper(obj0);
9060 if (arg1 == NULL) SWIG_fail;
9061 temp1 = True;
9062 }
9063 if (obj1) {
9064 arg2 = (int) SWIG_AsInt(obj1);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
9075 {
9076 if (temp1)
9077 delete arg1;
9078 }
9079 return resultobj;
9080 fail:
9081 {
9082 if (temp1)
9083 delete arg1;
9084 }
9085 return NULL;
9086}
9087
9088
9089static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
9090 PyObject *resultobj;
9091 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9092 int arg2 = (int) -1 ;
9093 wxPyProcess *result;
9094 PyObject * obj0 = 0 ;
9095 PyObject * obj1 = 0 ;
9096 char *kwnames[] = {
9097 (char *) "parent",(char *) "id", NULL
9098 };
9099
9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
9101 if (obj0) {
9102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
9103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9104 }
9105 if (obj1) {
9106 arg2 = (int) SWIG_AsInt(obj1);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 }
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
9117 return resultobj;
9118 fail:
9119 return NULL;
9120}
9121
9122
9123static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9124 PyObject *resultobj;
9125 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9126 PyObject *arg2 = (PyObject *) 0 ;
9127 PyObject *arg3 = (PyObject *) 0 ;
9128 PyObject * obj0 = 0 ;
9129 PyObject * obj1 = 0 ;
9130 PyObject * obj2 = 0 ;
9131 char *kwnames[] = {
9132 (char *) "self",(char *) "self",(char *) "_class", NULL
9133 };
9134
9135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9138 arg2 = obj1;
9139 arg3 = obj2;
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 (arg1)->_setCallbackInfo(arg2,arg3);
9143
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 Py_INCREF(Py_None); resultobj = Py_None;
9148 return resultobj;
9149 fail:
9150 return NULL;
9151}
9152
9153
9154static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
9155 PyObject *resultobj;
9156 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9157 int arg2 ;
9158 int arg3 ;
9159 PyObject * obj0 = 0 ;
9160 PyObject * obj1 = 0 ;
9161 PyObject * obj2 = 0 ;
9162 char *kwnames[] = {
9163 (char *) "self",(char *) "pid",(char *) "status", NULL
9164 };
9165
9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9169 arg2 = (int) SWIG_AsInt(obj1);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 arg3 = (int) SWIG_AsInt(obj2);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 {
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 (arg1)->base_OnTerminate(arg2,arg3);
9176
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 }
9180 Py_INCREF(Py_None); resultobj = Py_None;
9181 return resultobj;
9182 fail:
9183 return NULL;
9184}
9185
9186
9187static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
9188 PyObject *resultobj;
9189 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9190 PyObject * obj0 = 0 ;
9191 char *kwnames[] = {
9192 (char *) "self", NULL
9193 };
9194
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
9196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 (arg1)->Redirect();
9201
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 Py_INCREF(Py_None); resultobj = Py_None;
9206 return resultobj;
9207 fail:
9208 return NULL;
9209}
9210
9211
9212static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj;
9214 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9215 bool result;
9216 PyObject * obj0 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
9222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 result = (bool)(arg1)->IsRedirected();
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 {
9232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9233 }
9234 return resultobj;
9235 fail:
9236 return NULL;
9237}
9238
9239
9240static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9243 PyObject * obj0 = 0 ;
9244 char *kwnames[] = {
9245 (char *) "self", NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
9249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 (arg1)->Detach();
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 Py_INCREF(Py_None); resultobj = Py_None;
9259 return resultobj;
9260 fail:
9261 return NULL;
9262}
9263
9264
9265static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9266 PyObject *resultobj;
9267 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9268 wxInputStream *result;
9269 PyObject * obj0 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
9275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 result = (wxInputStream *)(arg1)->GetInputStream();
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 {
9285 wxPyInputStream * _ptr = NULL;
9286
9287 if (result) {
9288 _ptr = new wxPyInputStream(result);
9289 }
9290 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9291 }
9292 return resultobj;
9293 fail:
9294 return NULL;
9295}
9296
9297
9298static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj;
9300 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9301 wxInputStream *result;
9302 PyObject * obj0 = 0 ;
9303 char *kwnames[] = {
9304 (char *) "self", NULL
9305 };
9306
9307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 result = (wxInputStream *)(arg1)->GetErrorStream();
9313
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
9317 {
9318 wxPyInputStream * _ptr = NULL;
9319
9320 if (result) {
9321 _ptr = new wxPyInputStream(result);
9322 }
9323 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9324 }
9325 return resultobj;
9326 fail:
9327 return NULL;
9328}
9329
9330
9331static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9334 wxOutputStream *result;
9335 PyObject * obj0 = 0 ;
9336 char *kwnames[] = {
9337 (char *) "self", NULL
9338 };
9339
9340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9343 {
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 result = (wxOutputStream *)(arg1)->GetOutputStream();
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9351 return resultobj;
9352 fail:
9353 return NULL;
9354}
9355
9356
9357static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj;
9359 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9360 PyObject * obj0 = 0 ;
9361 char *kwnames[] = {
9362 (char *) "self", NULL
9363 };
9364
9365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 (arg1)->CloseOutput();
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 Py_INCREF(Py_None); resultobj = Py_None;
9376 return resultobj;
9377 fail:
9378 return NULL;
9379}
9380
9381
9382static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
9383 PyObject *resultobj;
9384 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9385 bool result;
9386 PyObject * obj0 = 0 ;
9387 char *kwnames[] = {
9388 (char *) "self", NULL
9389 };
9390
9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9394 {
9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
9396 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9397
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 {
9402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9403 }
9404 return resultobj;
9405 fail:
9406 return NULL;
9407}
9408
9409
9410static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj;
9412 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9413 bool result;
9414 PyObject * obj0 = 0 ;
9415 char *kwnames[] = {
9416 (char *) "self", NULL
9417 };
9418
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 {
9430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9431 }
9432 return resultobj;
9433 fail:
9434 return NULL;
9435}
9436
9437
9438static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9439 PyObject *resultobj;
9440 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9441 bool result;
9442 PyObject * obj0 = 0 ;
9443 char *kwnames[] = {
9444 (char *) "self", NULL
9445 };
9446
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 {
9458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9459 }
9460 return resultobj;
9461 fail:
9462 return NULL;
9463}
9464
9465
9466static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
9467 PyObject *obj;
9468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9469 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9470 Py_INCREF(obj);
9471 return Py_BuildValue((char *)"");
9472}
9473static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9474 PyObject *resultobj;
9475 int arg1 = (int) 0 ;
9476 int arg2 = (int) 0 ;
9477 int arg3 = (int) 0 ;
9478 wxProcessEvent *result;
9479 PyObject * obj0 = 0 ;
9480 PyObject * obj1 = 0 ;
9481 PyObject * obj2 = 0 ;
9482 char *kwnames[] = {
9483 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9484 };
9485
9486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9487 if (obj0) {
9488 arg1 = (int) SWIG_AsInt(obj0);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 if (obj1) {
9492 arg2 = (int) SWIG_AsInt(obj1);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 if (obj2) {
9496 arg3 = (int) SWIG_AsInt(obj2);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
9506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9507 return resultobj;
9508 fail:
9509 return NULL;
9510}
9511
9512
9513static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9514 PyObject *resultobj;
9515 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9516 int result;
9517 PyObject * obj0 = 0 ;
9518 char *kwnames[] = {
9519 (char *) "self", NULL
9520 };
9521
9522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9525 {
9526 PyThreadState* __tstate = wxPyBeginAllowThreads();
9527 result = (int)(arg1)->GetPid();
9528
9529 wxPyEndAllowThreads(__tstate);
9530 if (PyErr_Occurred()) SWIG_fail;
9531 }
9532 resultobj = SWIG_FromInt((int)result);
9533 return resultobj;
9534 fail:
9535 return NULL;
9536}
9537
9538
9539static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9540 PyObject *resultobj;
9541 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9542 int result;
9543 PyObject * obj0 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "self", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (int)(arg1)->GetExitCode();
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 resultobj = SWIG_FromInt((int)result);
9559 return resultobj;
9560 fail:
9561 return NULL;
9562}
9563
9564
9565static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9566 PyObject *resultobj;
9567 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9568 int arg2 ;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self",(char *) "m_pid", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9578 arg2 = (int) SWIG_AsInt(obj1);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 if (arg1) (arg1)->m_pid = arg2;
9581
9582 Py_INCREF(Py_None); resultobj = Py_None;
9583 return resultobj;
9584 fail:
9585 return NULL;
9586}
9587
9588
9589static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9590 PyObject *resultobj;
9591 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9592 int result;
9593 PyObject * obj0 = 0 ;
9594 char *kwnames[] = {
9595 (char *) "self", NULL
9596 };
9597
9598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9601 result = (int) ((arg1)->m_pid);
9602
9603 resultobj = SWIG_FromInt((int)result);
9604 return resultobj;
9605 fail:
9606 return NULL;
9607}
9608
9609
9610static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9611 PyObject *resultobj;
9612 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9613 int arg2 ;
9614 PyObject * obj0 = 0 ;
9615 PyObject * obj1 = 0 ;
9616 char *kwnames[] = {
9617 (char *) "self",(char *) "m_exitcode", NULL
9618 };
9619
9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9623 arg2 = (int) SWIG_AsInt(obj1);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 if (arg1) (arg1)->m_exitcode = arg2;
9626
9627 Py_INCREF(Py_None); resultobj = Py_None;
9628 return resultobj;
9629 fail:
9630 return NULL;
9631}
9632
9633
9634static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj;
9636 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9637 int result;
9638 PyObject * obj0 = 0 ;
9639 char *kwnames[] = {
9640 (char *) "self", NULL
9641 };
9642
9643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9646 result = (int) ((arg1)->m_exitcode);
9647
9648 resultobj = SWIG_FromInt((int)result);
9649 return resultobj;
9650 fail:
9651 return NULL;
9652}
9653
9654
9655static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9656 PyObject *obj;
9657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9658 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9659 Py_INCREF(obj);
9660 return Py_BuildValue((char *)"");
9661}
9662static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxString *arg1 = 0 ;
9665 int arg2 = (int) wxEXEC_ASYNC ;
9666 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9667 long result;
9668 bool temp1 = False ;
9669 PyObject * obj0 = 0 ;
9670 PyObject * obj1 = 0 ;
9671 PyObject * obj2 = 0 ;
9672 char *kwnames[] = {
9673 (char *) "command",(char *) "flags",(char *) "process", NULL
9674 };
9675
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9677 {
9678 arg1 = wxString_in_helper(obj0);
9679 if (arg1 == NULL) SWIG_fail;
9680 temp1 = True;
9681 }
9682 if (obj1) {
9683 arg2 = (int) SWIG_AsInt(obj1);
9684 if (PyErr_Occurred()) SWIG_fail;
9685 }
9686 if (obj2) {
9687 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9689 }
9690 {
0439c23b 9691 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9694
9695 wxPyEndAllowThreads(__tstate);
110da5b0 9696 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9697 }
9698 resultobj = SWIG_FromLong((long)result);
9699 {
9700 if (temp1)
9701 delete arg1;
9702 }
9703 return resultobj;
9704 fail:
9705 {
9706 if (temp1)
9707 delete arg1;
9708 }
9709 return NULL;
9710}
9711
9712
9713static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9714 PyObject *resultobj;
9715 int arg1 = (int) wxJOYSTICK1 ;
9716 wxJoystick *result;
9717 PyObject * obj0 = 0 ;
9718 char *kwnames[] = {
9719 (char *) "joystick", NULL
9720 };
9721
9722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9723 if (obj0) {
9724 arg1 = (int) SWIG_AsInt(obj0);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 {
0439c23b 9728 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (wxJoystick *)new wxJoystick(arg1);
9731
9732 wxPyEndAllowThreads(__tstate);
110da5b0 9733 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9734 }
9735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
9736 return resultobj;
9737 fail:
9738 return NULL;
9739}
9740
9741
9742static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9743 PyObject *resultobj;
9744 wxJoystick *arg1 = (wxJoystick *) 0 ;
9745 PyObject * obj0 = 0 ;
9746 char *kwnames[] = {
9747 (char *) "self", NULL
9748 };
9749
9750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 delete arg1;
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 Py_INCREF(Py_None); resultobj = Py_None;
9761 return resultobj;
9762 fail:
9763 return NULL;
9764}
9765
9766
9767static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9768 PyObject *resultobj;
9769 wxJoystick *arg1 = (wxJoystick *) 0 ;
9770 wxPoint result;
9771 PyObject * obj0 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 result = (arg1)->GetPosition();
9782
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
9786 {
9787 wxPoint * resultptr;
9788 resultptr = new wxPoint((wxPoint &) result);
9789 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9790 }
9791 return resultobj;
9792 fail:
9793 return NULL;
9794}
9795
9796
9797static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj;
9799 wxJoystick *arg1 = (wxJoystick *) 0 ;
9800 int result;
9801 PyObject * obj0 = 0 ;
9802 char *kwnames[] = {
9803 (char *) "self", NULL
9804 };
9805
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 result = (int)(arg1)->GetZPosition();
9812
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 resultobj = SWIG_FromInt((int)result);
9817 return resultobj;
9818 fail:
9819 return NULL;
9820}
9821
9822
9823static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9824 PyObject *resultobj;
9825 wxJoystick *arg1 = (wxJoystick *) 0 ;
9826 int result;
9827 PyObject * obj0 = 0 ;
9828 char *kwnames[] = {
9829 (char *) "self", NULL
9830 };
9831
9832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9835 {
9836 PyThreadState* __tstate = wxPyBeginAllowThreads();
9837 result = (int)(arg1)->GetButtonState();
9838
9839 wxPyEndAllowThreads(__tstate);
9840 if (PyErr_Occurred()) SWIG_fail;
9841 }
9842 resultobj = SWIG_FromInt((int)result);
9843 return resultobj;
9844 fail:
9845 return NULL;
9846}
9847
9848
9849static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9850 PyObject *resultobj;
9851 wxJoystick *arg1 = (wxJoystick *) 0 ;
9852 int result;
9853 PyObject * obj0 = 0 ;
9854 char *kwnames[] = {
9855 (char *) "self", NULL
9856 };
9857
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9861 {
9862 PyThreadState* __tstate = wxPyBeginAllowThreads();
9863 result = (int)(arg1)->GetPOVPosition();
9864
9865 wxPyEndAllowThreads(__tstate);
9866 if (PyErr_Occurred()) SWIG_fail;
9867 }
9868 resultobj = SWIG_FromInt((int)result);
9869 return resultobj;
9870 fail:
9871 return NULL;
9872}
9873
9874
9875static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9876 PyObject *resultobj;
9877 wxJoystick *arg1 = (wxJoystick *) 0 ;
9878 int result;
9879 PyObject * obj0 = 0 ;
9880 char *kwnames[] = {
9881 (char *) "self", NULL
9882 };
9883
9884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 result = (int)(arg1)->GetPOVCTSPosition();
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 resultobj = SWIG_FromInt((int)result);
9895 return resultobj;
9896 fail:
9897 return NULL;
9898}
9899
9900
9901static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj;
9903 wxJoystick *arg1 = (wxJoystick *) 0 ;
9904 int result;
9905 PyObject * obj0 = 0 ;
9906 char *kwnames[] = {
9907 (char *) "self", NULL
9908 };
9909
9910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9913 {
9914 PyThreadState* __tstate = wxPyBeginAllowThreads();
9915 result = (int)(arg1)->GetRudderPosition();
9916
9917 wxPyEndAllowThreads(__tstate);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 resultobj = SWIG_FromInt((int)result);
9921 return resultobj;
9922 fail:
9923 return NULL;
9924}
9925
9926
9927static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9928 PyObject *resultobj;
9929 wxJoystick *arg1 = (wxJoystick *) 0 ;
9930 int result;
9931 PyObject * obj0 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "self", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (int)(arg1)->GetUPosition();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 resultobj = SWIG_FromInt((int)result);
9947 return resultobj;
9948 fail:
9949 return NULL;
9950}
9951
9952
9953static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxJoystick *arg1 = (wxJoystick *) 0 ;
9956 int result;
9957 PyObject * obj0 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 result = (int)(arg1)->GetVPosition();
9968
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 resultobj = SWIG_FromInt((int)result);
9973 return resultobj;
9974 fail:
9975 return NULL;
9976}
9977
9978
9979static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9980 PyObject *resultobj;
9981 wxJoystick *arg1 = (wxJoystick *) 0 ;
9982 int result;
9983 PyObject * obj0 = 0 ;
9984 char *kwnames[] = {
9985 (char *) "self", NULL
9986 };
9987
9988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = (int)(arg1)->GetMovementThreshold();
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 resultobj = SWIG_FromInt((int)result);
9999 return resultobj;
10000 fail:
10001 return NULL;
10002}
10003
10004
10005static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
10006 PyObject *resultobj;
10007 wxJoystick *arg1 = (wxJoystick *) 0 ;
10008 int arg2 ;
10009 PyObject * obj0 = 0 ;
10010 PyObject * obj1 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self",(char *) "threshold", NULL
10013 };
10014
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
10016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10018 arg2 = (int) SWIG_AsInt(obj1);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 (arg1)->SetMovementThreshold(arg2);
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 Py_INCREF(Py_None); resultobj = Py_None;
10028 return resultobj;
10029 fail:
10030 return NULL;
10031}
10032
10033
10034static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10035 PyObject *resultobj;
10036 wxJoystick *arg1 = (wxJoystick *) 0 ;
10037 bool result;
10038 PyObject * obj0 = 0 ;
10039 char *kwnames[] = {
10040 (char *) "self", NULL
10041 };
10042
10043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
10044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10046 {
10047 PyThreadState* __tstate = wxPyBeginAllowThreads();
10048 result = (bool)(arg1)->IsOk();
10049
10050 wxPyEndAllowThreads(__tstate);
10051 if (PyErr_Occurred()) SWIG_fail;
10052 }
10053 {
10054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10055 }
10056 return resultobj;
10057 fail:
10058 return NULL;
10059}
10060
10061
10062static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
10063 PyObject *resultobj;
10064 wxJoystick *arg1 = (wxJoystick *) 0 ;
10065 int result;
10066 PyObject * obj0 = 0 ;
10067 char *kwnames[] = {
10068 (char *) "self", NULL
10069 };
10070
10071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
10072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (int)(arg1)->GetNumberJoysticks();
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 resultobj = SWIG_FromInt((int)result);
10082 return resultobj;
10083 fail:
10084 return NULL;
10085}
10086
10087
10088static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxJoystick *arg1 = (wxJoystick *) 0 ;
10091 int result;
10092 PyObject * obj0 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
10098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 result = (int)(arg1)->GetManufacturerId();
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = SWIG_FromInt((int)result);
10108 return resultobj;
10109 fail:
10110 return NULL;
10111}
10112
10113
10114static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
10115 PyObject *resultobj;
10116 wxJoystick *arg1 = (wxJoystick *) 0 ;
10117 int result;
10118 PyObject * obj0 = 0 ;
10119 char *kwnames[] = {
10120 (char *) "self", NULL
10121 };
10122
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
10124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10126 {
10127 PyThreadState* __tstate = wxPyBeginAllowThreads();
10128 result = (int)(arg1)->GetProductId();
10129
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
10133 resultobj = SWIG_FromInt((int)result);
10134 return resultobj;
10135 fail:
10136 return NULL;
10137}
10138
10139
10140static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj;
10142 wxJoystick *arg1 = (wxJoystick *) 0 ;
10143 wxString result;
10144 PyObject * obj0 = 0 ;
10145 char *kwnames[] = {
10146 (char *) "self", NULL
10147 };
10148
10149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
10150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10152 {
10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
10154 result = (arg1)->GetProductName();
10155
10156 wxPyEndAllowThreads(__tstate);
10157 if (PyErr_Occurred()) SWIG_fail;
10158 }
10159 {
10160#if wxUSE_UNICODE
10161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10162#else
10163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10164#endif
10165 }
10166 return resultobj;
10167 fail:
10168 return NULL;
10169}
10170
10171
10172static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10173 PyObject *resultobj;
10174 wxJoystick *arg1 = (wxJoystick *) 0 ;
10175 int result;
10176 PyObject * obj0 = 0 ;
10177 char *kwnames[] = {
10178 (char *) "self", NULL
10179 };
10180
10181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
10182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = (int)(arg1)->GetXMin();
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 resultobj = SWIG_FromInt((int)result);
10192 return resultobj;
10193 fail:
10194 return NULL;
10195}
10196
10197
10198static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10199 PyObject *resultobj;
10200 wxJoystick *arg1 = (wxJoystick *) 0 ;
10201 int result;
10202 PyObject * obj0 = 0 ;
10203 char *kwnames[] = {
10204 (char *) "self", NULL
10205 };
10206
10207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
10208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10210 {
10211 PyThreadState* __tstate = wxPyBeginAllowThreads();
10212 result = (int)(arg1)->GetYMin();
10213
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 resultobj = SWIG_FromInt((int)result);
10218 return resultobj;
10219 fail:
10220 return NULL;
10221}
10222
10223
10224static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10225 PyObject *resultobj;
10226 wxJoystick *arg1 = (wxJoystick *) 0 ;
10227 int result;
10228 PyObject * obj0 = 0 ;
10229 char *kwnames[] = {
10230 (char *) "self", NULL
10231 };
10232
10233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
10234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10236 {
10237 PyThreadState* __tstate = wxPyBeginAllowThreads();
10238 result = (int)(arg1)->GetZMin();
10239
10240 wxPyEndAllowThreads(__tstate);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 }
10243 resultobj = SWIG_FromInt((int)result);
10244 return resultobj;
10245 fail:
10246 return NULL;
10247}
10248
10249
10250static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10251 PyObject *resultobj;
10252 wxJoystick *arg1 = (wxJoystick *) 0 ;
10253 int result;
10254 PyObject * obj0 = 0 ;
10255 char *kwnames[] = {
10256 (char *) "self", NULL
10257 };
10258
10259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
10260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
10264 result = (int)(arg1)->GetXMax();
10265
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 resultobj = SWIG_FromInt((int)result);
10270 return resultobj;
10271 fail:
10272 return NULL;
10273}
10274
10275
10276static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10277 PyObject *resultobj;
10278 wxJoystick *arg1 = (wxJoystick *) 0 ;
10279 int result;
10280 PyObject * obj0 = 0 ;
10281 char *kwnames[] = {
10282 (char *) "self", NULL
10283 };
10284
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
10286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10288 {
10289 PyThreadState* __tstate = wxPyBeginAllowThreads();
10290 result = (int)(arg1)->GetYMax();
10291
10292 wxPyEndAllowThreads(__tstate);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
10295 resultobj = SWIG_FromInt((int)result);
10296 return resultobj;
10297 fail:
10298 return NULL;
10299}
10300
10301
10302static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10303 PyObject *resultobj;
10304 wxJoystick *arg1 = (wxJoystick *) 0 ;
10305 int result;
10306 PyObject * obj0 = 0 ;
10307 char *kwnames[] = {
10308 (char *) "self", NULL
10309 };
10310
10311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 result = (int)(arg1)->GetZMax();
10317
10318 wxPyEndAllowThreads(__tstate);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 resultobj = SWIG_FromInt((int)result);
10322 return resultobj;
10323 fail:
10324 return NULL;
10325}
10326
10327
10328static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10329 PyObject *resultobj;
10330 wxJoystick *arg1 = (wxJoystick *) 0 ;
10331 int result;
10332 PyObject * obj0 = 0 ;
10333 char *kwnames[] = {
10334 (char *) "self", NULL
10335 };
10336
10337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10340 {
10341 PyThreadState* __tstate = wxPyBeginAllowThreads();
10342 result = (int)(arg1)->GetNumberButtons();
10343
10344 wxPyEndAllowThreads(__tstate);
10345 if (PyErr_Occurred()) SWIG_fail;
10346 }
10347 resultobj = SWIG_FromInt((int)result);
10348 return resultobj;
10349 fail:
10350 return NULL;
10351}
10352
10353
10354static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10355 PyObject *resultobj;
10356 wxJoystick *arg1 = (wxJoystick *) 0 ;
10357 int result;
10358 PyObject * obj0 = 0 ;
10359 char *kwnames[] = {
10360 (char *) "self", NULL
10361 };
10362
10363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 result = (int)(arg1)->GetNumberAxes();
10369
10370 wxPyEndAllowThreads(__tstate);
10371 if (PyErr_Occurred()) SWIG_fail;
10372 }
10373 resultobj = SWIG_FromInt((int)result);
10374 return resultobj;
10375 fail:
10376 return NULL;
10377}
10378
10379
10380static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10381 PyObject *resultobj;
10382 wxJoystick *arg1 = (wxJoystick *) 0 ;
10383 int result;
10384 PyObject * obj0 = 0 ;
10385 char *kwnames[] = {
10386 (char *) "self", NULL
10387 };
10388
10389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10392 {
10393 PyThreadState* __tstate = wxPyBeginAllowThreads();
10394 result = (int)(arg1)->GetMaxButtons();
10395
10396 wxPyEndAllowThreads(__tstate);
10397 if (PyErr_Occurred()) SWIG_fail;
10398 }
10399 resultobj = SWIG_FromInt((int)result);
10400 return resultobj;
10401 fail:
10402 return NULL;
10403}
10404
10405
10406static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10407 PyObject *resultobj;
10408 wxJoystick *arg1 = (wxJoystick *) 0 ;
10409 int result;
10410 PyObject * obj0 = 0 ;
10411 char *kwnames[] = {
10412 (char *) "self", NULL
10413 };
10414
10415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 result = (int)(arg1)->GetMaxAxes();
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 resultobj = SWIG_FromInt((int)result);
10426 return resultobj;
10427 fail:
10428 return NULL;
10429}
10430
10431
10432static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10433 PyObject *resultobj;
10434 wxJoystick *arg1 = (wxJoystick *) 0 ;
10435 int result;
10436 PyObject * obj0 = 0 ;
10437 char *kwnames[] = {
10438 (char *) "self", NULL
10439 };
10440
10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 result = (int)(arg1)->GetPollingMin();
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 resultobj = SWIG_FromInt((int)result);
10452 return resultobj;
10453 fail:
10454 return NULL;
10455}
10456
10457
10458static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxJoystick *arg1 = (wxJoystick *) 0 ;
10461 int result;
10462 PyObject * obj0 = 0 ;
10463 char *kwnames[] = {
10464 (char *) "self", NULL
10465 };
10466
10467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 result = (int)(arg1)->GetPollingMax();
10473
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
10477 resultobj = SWIG_FromInt((int)result);
10478 return resultobj;
10479 fail:
10480 return NULL;
10481}
10482
10483
10484static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10485 PyObject *resultobj;
10486 wxJoystick *arg1 = (wxJoystick *) 0 ;
10487 int result;
10488 PyObject * obj0 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 result = (int)(arg1)->GetRudderMin();
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 resultobj = SWIG_FromInt((int)result);
10504 return resultobj;
10505 fail:
10506 return NULL;
10507}
10508
10509
10510static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10511 PyObject *resultobj;
10512 wxJoystick *arg1 = (wxJoystick *) 0 ;
10513 int result;
10514 PyObject * obj0 = 0 ;
10515 char *kwnames[] = {
10516 (char *) "self", NULL
10517 };
10518
10519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 result = (int)(arg1)->GetRudderMax();
10525
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 resultobj = SWIG_FromInt((int)result);
10530 return resultobj;
10531 fail:
10532 return NULL;
10533}
10534
10535
10536static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10537 PyObject *resultobj;
10538 wxJoystick *arg1 = (wxJoystick *) 0 ;
10539 int result;
10540 PyObject * obj0 = 0 ;
10541 char *kwnames[] = {
10542 (char *) "self", NULL
10543 };
10544
10545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 result = (int)(arg1)->GetUMin();
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
10555 resultobj = SWIG_FromInt((int)result);
10556 return resultobj;
10557 fail:
10558 return NULL;
10559}
10560
10561
10562static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxJoystick *arg1 = (wxJoystick *) 0 ;
10565 int result;
10566 PyObject * obj0 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10574 {
10575 PyThreadState* __tstate = wxPyBeginAllowThreads();
10576 result = (int)(arg1)->GetUMax();
10577
10578 wxPyEndAllowThreads(__tstate);
10579 if (PyErr_Occurred()) SWIG_fail;
10580 }
10581 resultobj = SWIG_FromInt((int)result);
10582 return resultobj;
10583 fail:
10584 return NULL;
10585}
10586
10587
10588static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10589 PyObject *resultobj;
10590 wxJoystick *arg1 = (wxJoystick *) 0 ;
10591 int result;
10592 PyObject * obj0 = 0 ;
10593 char *kwnames[] = {
10594 (char *) "self", NULL
10595 };
10596
10597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 result = (int)(arg1)->GetVMin();
10603
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 resultobj = SWIG_FromInt((int)result);
10608 return resultobj;
10609 fail:
10610 return NULL;
10611}
10612
10613
10614static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10615 PyObject *resultobj;
10616 wxJoystick *arg1 = (wxJoystick *) 0 ;
10617 int result;
10618 PyObject * obj0 = 0 ;
10619 char *kwnames[] = {
10620 (char *) "self", NULL
10621 };
10622
10623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 result = (int)(arg1)->GetVMax();
10629
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
10633 resultobj = SWIG_FromInt((int)result);
10634 return resultobj;
10635 fail:
10636 return NULL;
10637}
10638
10639
10640static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10641 PyObject *resultobj;
10642 wxJoystick *arg1 = (wxJoystick *) 0 ;
10643 bool result;
10644 PyObject * obj0 = 0 ;
10645 char *kwnames[] = {
10646 (char *) "self", NULL
10647 };
10648
10649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10652 {
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 result = (bool)(arg1)->HasRudder();
10655
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 {
10660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10661 }
10662 return resultobj;
10663 fail:
10664 return NULL;
10665}
10666
10667
10668static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10669 PyObject *resultobj;
10670 wxJoystick *arg1 = (wxJoystick *) 0 ;
10671 bool result;
10672 PyObject * obj0 = 0 ;
10673 char *kwnames[] = {
10674 (char *) "self", NULL
10675 };
10676
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 result = (bool)(arg1)->HasZ();
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) SWIG_fail;
10686 }
10687 {
10688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10689 }
10690 return resultobj;
10691 fail:
10692 return NULL;
10693}
10694
10695
10696static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxJoystick *arg1 = (wxJoystick *) 0 ;
10699 bool result;
10700 PyObject * obj0 = 0 ;
10701 char *kwnames[] = {
10702 (char *) "self", NULL
10703 };
10704
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 result = (bool)(arg1)->HasU();
10711
10712 wxPyEndAllowThreads(__tstate);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 }
10715 {
10716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10717 }
10718 return resultobj;
10719 fail:
10720 return NULL;
10721}
10722
10723
10724static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10725 PyObject *resultobj;
10726 wxJoystick *arg1 = (wxJoystick *) 0 ;
10727 bool result;
10728 PyObject * obj0 = 0 ;
10729 char *kwnames[] = {
10730 (char *) "self", NULL
10731 };
10732
10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (bool)(arg1)->HasV();
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 {
10744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10745 }
10746 return resultobj;
10747 fail:
10748 return NULL;
10749}
10750
10751
10752static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10753 PyObject *resultobj;
10754 wxJoystick *arg1 = (wxJoystick *) 0 ;
10755 bool result;
10756 PyObject * obj0 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "self", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 result = (bool)(arg1)->HasPOV();
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
10771 {
10772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10773 }
10774 return resultobj;
10775 fail:
10776 return NULL;
10777}
10778
10779
10780static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10781 PyObject *resultobj;
10782 wxJoystick *arg1 = (wxJoystick *) 0 ;
10783 bool result;
10784 PyObject * obj0 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "self", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10792 {
10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
10794 result = (bool)(arg1)->HasPOV4Dir();
10795
10796 wxPyEndAllowThreads(__tstate);
10797 if (PyErr_Occurred()) SWIG_fail;
10798 }
10799 {
10800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10801 }
10802 return resultobj;
10803 fail:
10804 return NULL;
10805}
10806
10807
10808static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10809 PyObject *resultobj;
10810 wxJoystick *arg1 = (wxJoystick *) 0 ;
10811 bool result;
10812 PyObject * obj0 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 result = (bool)(arg1)->HasPOVCTS();
10823
10824 wxPyEndAllowThreads(__tstate);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 {
10828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10829 }
10830 return resultobj;
10831 fail:
10832 return NULL;
10833}
10834
10835
10836static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10837 PyObject *resultobj;
10838 wxJoystick *arg1 = (wxJoystick *) 0 ;
10839 wxWindow *arg2 = (wxWindow *) 0 ;
10840 int arg3 = (int) 0 ;
10841 bool result;
10842 PyObject * obj0 = 0 ;
10843 PyObject * obj1 = 0 ;
10844 PyObject * obj2 = 0 ;
10845 char *kwnames[] = {
10846 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10847 };
10848
10849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10854 if (obj2) {
10855 arg3 = (int) SWIG_AsInt(obj2);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 {
10859 PyThreadState* __tstate = wxPyBeginAllowThreads();
10860 result = (bool)(arg1)->SetCapture(arg2,arg3);
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 {
10866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10867 }
10868 return resultobj;
10869 fail:
10870 return NULL;
10871}
10872
10873
10874static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10875 PyObject *resultobj;
10876 wxJoystick *arg1 = (wxJoystick *) 0 ;
10877 bool result;
10878 PyObject * obj0 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10886 {
10887 PyThreadState* __tstate = wxPyBeginAllowThreads();
10888 result = (bool)(arg1)->ReleaseCapture();
10889
10890 wxPyEndAllowThreads(__tstate);
10891 if (PyErr_Occurred()) SWIG_fail;
10892 }
10893 {
10894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10895 }
10896 return resultobj;
10897 fail:
10898 return NULL;
10899}
10900
10901
10902static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10903 PyObject *obj;
10904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10905 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10906 Py_INCREF(obj);
10907 return Py_BuildValue((char *)"");
10908}
10909static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10910 PyObject *resultobj;
10911 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10912 wxPoint *arg2 = (wxPoint *) 0 ;
10913 PyObject * obj0 = 0 ;
10914 PyObject * obj1 = 0 ;
10915 char *kwnames[] = {
10916 (char *) "self",(char *) "m_pos", NULL
10917 };
10918
10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10924 if (arg1) (arg1)->m_pos = *arg2;
10925
10926 Py_INCREF(Py_None); resultobj = Py_None;
10927 return resultobj;
10928 fail:
10929 return NULL;
10930}
10931
10932
10933static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10934 PyObject *resultobj;
10935 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10936 wxPoint *result;
10937 PyObject * obj0 = 0 ;
10938 char *kwnames[] = {
10939 (char *) "self", NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10945 result = (wxPoint *)& ((arg1)->m_pos);
10946
10947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
10948 return resultobj;
10949 fail:
10950 return NULL;
10951}
10952
10953
10954static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj;
10956 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10957 int arg2 ;
10958 PyObject * obj0 = 0 ;
10959 PyObject * obj1 = 0 ;
10960 char *kwnames[] = {
10961 (char *) "self",(char *) "m_zPosition", NULL
10962 };
10963
10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10967 arg2 = (int) SWIG_AsInt(obj1);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 if (arg1) (arg1)->m_zPosition = arg2;
10970
10971 Py_INCREF(Py_None); resultobj = Py_None;
10972 return resultobj;
10973 fail:
10974 return NULL;
10975}
10976
10977
10978static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10979 PyObject *resultobj;
10980 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10981 int result;
10982 PyObject * obj0 = 0 ;
10983 char *kwnames[] = {
10984 (char *) "self", NULL
10985 };
10986
10987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10990 result = (int) ((arg1)->m_zPosition);
10991
10992 resultobj = SWIG_FromInt((int)result);
10993 return resultobj;
10994 fail:
10995 return NULL;
10996}
10997
10998
10999static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11000 PyObject *resultobj;
11001 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11002 int arg2 ;
11003 PyObject * obj0 = 0 ;
11004 PyObject * obj1 = 0 ;
11005 char *kwnames[] = {
11006 (char *) "self",(char *) "m_buttonChange", NULL
11007 };
11008
11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
11010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11012 arg2 = (int) SWIG_AsInt(obj1);
11013 if (PyErr_Occurred()) SWIG_fail;
11014 if (arg1) (arg1)->m_buttonChange = arg2;
11015
11016 Py_INCREF(Py_None); resultobj = Py_None;
11017 return resultobj;
11018 fail:
11019 return NULL;
11020}
11021
11022
11023static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11024 PyObject *resultobj;
11025 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11026 int result;
11027 PyObject * obj0 = 0 ;
11028 char *kwnames[] = {
11029 (char *) "self", NULL
11030 };
11031
11032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
11033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11035 result = (int) ((arg1)->m_buttonChange);
11036
11037 resultobj = SWIG_FromInt((int)result);
11038 return resultobj;
11039 fail:
11040 return NULL;
11041}
11042
11043
11044static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11045 PyObject *resultobj;
11046 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11047 int arg2 ;
11048 PyObject * obj0 = 0 ;
11049 PyObject * obj1 = 0 ;
11050 char *kwnames[] = {
11051 (char *) "self",(char *) "m_buttonState", NULL
11052 };
11053
11054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
11055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11057 arg2 = (int) SWIG_AsInt(obj1);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 if (arg1) (arg1)->m_buttonState = arg2;
11060
11061 Py_INCREF(Py_None); resultobj = Py_None;
11062 return resultobj;
11063 fail:
11064 return NULL;
11065}
11066
11067
11068static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11069 PyObject *resultobj;
11070 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11071 int result;
11072 PyObject * obj0 = 0 ;
11073 char *kwnames[] = {
11074 (char *) "self", NULL
11075 };
11076
11077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
11078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11080 result = (int) ((arg1)->m_buttonState);
11081
11082 resultobj = SWIG_FromInt((int)result);
11083 return resultobj;
11084 fail:
11085 return NULL;
11086}
11087
11088
11089static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11090 PyObject *resultobj;
11091 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11092 int arg2 ;
11093 PyObject * obj0 = 0 ;
11094 PyObject * obj1 = 0 ;
11095 char *kwnames[] = {
11096 (char *) "self",(char *) "m_joyStick", NULL
11097 };
11098
11099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
11100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11102 arg2 = (int) SWIG_AsInt(obj1);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 if (arg1) (arg1)->m_joyStick = arg2;
11105
11106 Py_INCREF(Py_None); resultobj = Py_None;
11107 return resultobj;
11108 fail:
11109 return NULL;
11110}
11111
11112
11113static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj;
11115 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11116 int result;
11117 PyObject * obj0 = 0 ;
11118 char *kwnames[] = {
11119 (char *) "self", NULL
11120 };
11121
11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
11123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11125 result = (int) ((arg1)->m_joyStick);
11126
11127 resultobj = SWIG_FromInt((int)result);
11128 return resultobj;
11129 fail:
11130 return NULL;
11131}
11132
11133
11134static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11135 PyObject *resultobj;
11136 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11137 int arg2 = (int) 0 ;
11138 int arg3 = (int) wxJOYSTICK1 ;
11139 int arg4 = (int) 0 ;
11140 wxJoystickEvent *result;
11141 PyObject * obj0 = 0 ;
11142 PyObject * obj1 = 0 ;
11143 PyObject * obj2 = 0 ;
11144 PyObject * obj3 = 0 ;
11145 char *kwnames[] = {
11146 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11147 };
11148
11149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11150 if (obj0) {
11151 arg1 = (wxEventType) SWIG_AsInt(obj0);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 if (obj1) {
11155 arg2 = (int) SWIG_AsInt(obj1);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
11158 if (obj2) {
11159 arg3 = (int) SWIG_AsInt(obj2);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 if (obj3) {
11163 arg4 = (int) SWIG_AsInt(obj3);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
11169
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
11174 return resultobj;
11175 fail:
11176 return NULL;
11177}
11178
11179
11180static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11181 PyObject *resultobj;
11182 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11183 wxPoint result;
11184 PyObject * obj0 = 0 ;
11185 char *kwnames[] = {
11186 (char *) "self", NULL
11187 };
11188
11189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
11190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11192 {
11193 PyThreadState* __tstate = wxPyBeginAllowThreads();
11194 result = ((wxJoystickEvent const *)arg1)->GetPosition();
11195
11196 wxPyEndAllowThreads(__tstate);
11197 if (PyErr_Occurred()) SWIG_fail;
11198 }
11199 {
11200 wxPoint * resultptr;
11201 resultptr = new wxPoint((wxPoint &) result);
11202 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11203 }
11204 return resultobj;
11205 fail:
11206 return NULL;
11207}
11208
11209
11210static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11211 PyObject *resultobj;
11212 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11213 int result;
11214 PyObject * obj0 = 0 ;
11215 char *kwnames[] = {
11216 (char *) "self", NULL
11217 };
11218
11219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
11220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
11225
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 resultobj = SWIG_FromInt((int)result);
11230 return resultobj;
11231 fail:
11232 return NULL;
11233}
11234
11235
11236static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11237 PyObject *resultobj;
11238 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11239 int result;
11240 PyObject * obj0 = 0 ;
11241 char *kwnames[] = {
11242 (char *) "self", NULL
11243 };
11244
11245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
11246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11248 {
11249 PyThreadState* __tstate = wxPyBeginAllowThreads();
11250 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
11251
11252 wxPyEndAllowThreads(__tstate);
11253 if (PyErr_Occurred()) SWIG_fail;
11254 }
11255 resultobj = SWIG_FromInt((int)result);
11256 return resultobj;
11257 fail:
11258 return NULL;
11259}
11260
11261
11262static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11263 PyObject *resultobj;
11264 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11265 int result;
11266 PyObject * obj0 = 0 ;
11267 char *kwnames[] = {
11268 (char *) "self", NULL
11269 };
11270
11271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
11272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
11277
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 resultobj = SWIG_FromInt((int)result);
11282 return resultobj;
11283 fail:
11284 return NULL;
11285}
11286
11287
11288static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj;
11290 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11291 int result;
11292 PyObject * obj0 = 0 ;
11293 char *kwnames[] = {
11294 (char *) "self", NULL
11295 };
11296
11297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11300 {
11301 PyThreadState* __tstate = wxPyBeginAllowThreads();
11302 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11303
11304 wxPyEndAllowThreads(__tstate);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 }
11307 resultobj = SWIG_FromInt((int)result);
11308 return resultobj;
11309 fail:
11310 return NULL;
11311}
11312
11313
11314static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11315 PyObject *resultobj;
11316 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11317 int arg2 ;
11318 PyObject * obj0 = 0 ;
11319 PyObject * obj1 = 0 ;
11320 char *kwnames[] = {
11321 (char *) "self",(char *) "stick", NULL
11322 };
11323
11324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11327 arg2 = (int) SWIG_AsInt(obj1);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 {
11330 PyThreadState* __tstate = wxPyBeginAllowThreads();
11331 (arg1)->SetJoystick(arg2);
11332
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 Py_INCREF(Py_None); resultobj = Py_None;
11337 return resultobj;
11338 fail:
11339 return NULL;
11340}
11341
11342
11343static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11344 PyObject *resultobj;
11345 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11346 int arg2 ;
11347 PyObject * obj0 = 0 ;
11348 PyObject * obj1 = 0 ;
11349 char *kwnames[] = {
11350 (char *) "self",(char *) "state", NULL
11351 };
11352
11353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11356 arg2 = (int) SWIG_AsInt(obj1);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 (arg1)->SetButtonState(arg2);
11361
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 Py_INCREF(Py_None); resultobj = Py_None;
11366 return resultobj;
11367 fail:
11368 return NULL;
11369}
11370
11371
11372static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11373 PyObject *resultobj;
11374 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11375 int arg2 ;
11376 PyObject * obj0 = 0 ;
11377 PyObject * obj1 = 0 ;
11378 char *kwnames[] = {
11379 (char *) "self",(char *) "change", NULL
11380 };
11381
11382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11385 arg2 = (int) SWIG_AsInt(obj1);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 {
11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
11389 (arg1)->SetButtonChange(arg2);
11390
11391 wxPyEndAllowThreads(__tstate);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
11394 Py_INCREF(Py_None); resultobj = Py_None;
11395 return resultobj;
11396 fail:
11397 return NULL;
11398}
11399
11400
11401static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11402 PyObject *resultobj;
11403 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11404 wxPoint *arg2 = 0 ;
11405 wxPoint temp2 ;
11406 PyObject * obj0 = 0 ;
11407 PyObject * obj1 = 0 ;
11408 char *kwnames[] = {
11409 (char *) "self",(char *) "pos", NULL
11410 };
11411
11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11415 {
11416 arg2 = &temp2;
11417 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11418 }
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 (arg1)->SetPosition((wxPoint const &)*arg2);
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 Py_INCREF(Py_None); resultobj = Py_None;
11427 return resultobj;
11428 fail:
11429 return NULL;
11430}
11431
11432
11433static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj;
11435 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11436 int arg2 ;
11437 PyObject * obj0 = 0 ;
11438 PyObject * obj1 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self",(char *) "zPos", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11446 arg2 = (int) SWIG_AsInt(obj1);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 {
11449 PyThreadState* __tstate = wxPyBeginAllowThreads();
11450 (arg1)->SetZPosition(arg2);
11451
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 Py_INCREF(Py_None); resultobj = Py_None;
11456 return resultobj;
11457 fail:
11458 return NULL;
11459}
11460
11461
11462static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11463 PyObject *resultobj;
11464 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11465 bool result;
11466 PyObject * obj0 = 0 ;
11467 char *kwnames[] = {
11468 (char *) "self", NULL
11469 };
11470
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 {
11482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11483 }
11484 return resultobj;
11485 fail:
11486 return NULL;
11487}
11488
11489
11490static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11491 PyObject *resultobj;
11492 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11493 bool result;
11494 PyObject * obj0 = 0 ;
11495 char *kwnames[] = {
11496 (char *) "self", NULL
11497 };
11498
11499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
11504 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 {
11510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11511 }
11512 return resultobj;
11513 fail:
11514 return NULL;
11515}
11516
11517
11518static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11519 PyObject *resultobj;
11520 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11521 bool result;
11522 PyObject * obj0 = 0 ;
11523 char *kwnames[] = {
11524 (char *) "self", NULL
11525 };
11526
11527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 {
11538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11539 }
11540 return resultobj;
11541 fail:
11542 return NULL;
11543}
11544
11545
11546static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj;
11548 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11549 int arg2 = (int) wxJOY_BUTTON_ANY ;
11550 bool result;
11551 PyObject * obj0 = 0 ;
11552 PyObject * obj1 = 0 ;
11553 char *kwnames[] = {
11554 (char *) "self",(char *) "but", NULL
11555 };
11556
11557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11560 if (obj1) {
11561 arg2 = (int) SWIG_AsInt(obj1);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 {
11565 PyThreadState* __tstate = wxPyBeginAllowThreads();
11566 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11567
11568 wxPyEndAllowThreads(__tstate);
11569 if (PyErr_Occurred()) SWIG_fail;
11570 }
11571 {
11572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11573 }
11574 return resultobj;
11575 fail:
11576 return NULL;
11577}
11578
11579
11580static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11581 PyObject *resultobj;
11582 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11583 int arg2 = (int) wxJOY_BUTTON_ANY ;
11584 bool result;
11585 PyObject * obj0 = 0 ;
11586 PyObject * obj1 = 0 ;
11587 char *kwnames[] = {
11588 (char *) "self",(char *) "but", NULL
11589 };
11590
11591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11594 if (obj1) {
11595 arg2 = (int) SWIG_AsInt(obj1);
11596 if (PyErr_Occurred()) SWIG_fail;
11597 }
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 {
11606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11607 }
11608 return resultobj;
11609 fail:
11610 return NULL;
11611}
11612
11613
11614static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11615 PyObject *resultobj;
11616 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11617 int arg2 = (int) wxJOY_BUTTON_ANY ;
11618 bool result;
11619 PyObject * obj0 = 0 ;
11620 PyObject * obj1 = 0 ;
11621 char *kwnames[] = {
11622 (char *) "self",(char *) "but", NULL
11623 };
11624
11625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11628 if (obj1) {
11629 arg2 = (int) SWIG_AsInt(obj1);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 {
11640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11641 }
11642 return resultobj;
11643 fail:
11644 return NULL;
11645}
11646
11647
11648static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11649 PyObject *obj;
11650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11651 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11652 Py_INCREF(obj);
11653 return Py_BuildValue((char *)"");
11654}
b1f29bf7 11655static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 11656 PyObject *resultobj;
b1f29bf7
RD
11657 wxString const &arg1_defvalue = wxPyEmptyString ;
11658 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc
RD
11659 wxSound *result;
11660 bool temp1 = False ;
11661 PyObject * obj0 = 0 ;
b1f29bf7
RD
11662 char *kwnames[] = {
11663 (char *) "fileName", NULL
11664 };
d55e5bfc 11665
b1f29bf7
RD
11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
11667 if (obj0) {
11668 {
11669 arg1 = wxString_in_helper(obj0);
11670 if (arg1 == NULL) SWIG_fail;
11671 temp1 = True;
11672 }
d55e5bfc
RD
11673 }
11674 {
0439c23b 11675 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11677 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
11678
11679 wxPyEndAllowThreads(__tstate);
110da5b0 11680 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11681 }
11682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11683 {
11684 if (temp1)
11685 delete arg1;
11686 }
11687 return resultobj;
11688 fail:
11689 {
11690 if (temp1)
11691 delete arg1;
11692 }
11693 return NULL;
11694}
11695
11696
b1f29bf7 11697static PyObject *_wrap_new_SoundFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 11698 PyObject *resultobj;
b1f29bf7 11699 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
11700 wxSound *result;
11701 PyObject * obj0 = 0 ;
b1f29bf7
RD
11702 char *kwnames[] = {
11703 (char *) "data", NULL
11704 };
d55e5bfc 11705
b1f29bf7
RD
11706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
11707 arg1 = obj0;
d55e5bfc 11708 {
0439c23b 11709 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11710 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11711 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
11712
11713 wxPyEndAllowThreads(__tstate);
110da5b0 11714 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11715 }
11716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11717 return resultobj;
11718 fail:
11719 return NULL;
11720}
11721
11722
d55e5bfc
RD
11723static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj;
11725 wxSound *arg1 = (wxSound *) 0 ;
11726 PyObject * obj0 = 0 ;
11727 char *kwnames[] = {
11728 (char *) "self", NULL
11729 };
11730
11731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 delete arg1;
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 Py_INCREF(Py_None); resultobj = Py_None;
11742 return resultobj;
11743 fail:
11744 return NULL;
11745}
11746
11747
b1f29bf7 11748static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11749 PyObject *resultobj;
11750 wxSound *arg1 = (wxSound *) 0 ;
11751 wxString *arg2 = 0 ;
d55e5bfc
RD
11752 bool result;
11753 bool temp2 = False ;
11754 PyObject * obj0 = 0 ;
11755 PyObject * obj1 = 0 ;
b1f29bf7
RD
11756 char *kwnames[] = {
11757 (char *) "self",(char *) "fileName", NULL
11758 };
d55e5bfc 11759
b1f29bf7 11760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11763 {
11764 arg2 = wxString_in_helper(obj1);
11765 if (arg2 == NULL) SWIG_fail;
11766 temp2 = True;
11767 }
d55e5bfc
RD
11768 {
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11770 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
11775 {
11776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11777 }
11778 {
11779 if (temp2)
11780 delete arg2;
11781 }
11782 return resultobj;
11783 fail:
11784 {
11785 if (temp2)
11786 delete arg2;
11787 }
11788 return NULL;
11789}
11790
11791
b1f29bf7 11792static PyObject *_wrap_Sound_CreateFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11793 PyObject *resultobj;
11794 wxSound *arg1 = (wxSound *) 0 ;
b1f29bf7 11795 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
11796 bool result;
11797 PyObject * obj0 = 0 ;
11798 PyObject * obj1 = 0 ;
b1f29bf7
RD
11799 char *kwnames[] = {
11800 (char *) "self",(char *) "data", NULL
11801 };
d55e5bfc 11802
b1f29bf7 11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b1f29bf7 11806 arg2 = obj1;
d55e5bfc
RD
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11809 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 {
11815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11816 }
11817 return resultobj;
11818 fail:
11819 return NULL;
11820}
11821
11822
d55e5bfc
RD
11823static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj;
11825 wxSound *arg1 = (wxSound *) 0 ;
11826 bool result;
11827 PyObject * obj0 = 0 ;
11828 char *kwnames[] = {
11829 (char *) "self", NULL
11830 };
11831
11832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 result = (bool)(arg1)->IsOk();
11838
11839 wxPyEndAllowThreads(__tstate);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 }
11842 {
11843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11844 }
11845 return resultobj;
11846 fail:
11847 return NULL;
11848}
11849
11850
b1f29bf7 11851static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11852 PyObject *resultobj;
11853 wxSound *arg1 = (wxSound *) 0 ;
11854 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11855 bool result;
11856 PyObject * obj0 = 0 ;
11857 PyObject * obj1 = 0 ;
b1f29bf7
RD
11858 char *kwnames[] = {
11859 (char *) "self",(char *) "flags", NULL
11860 };
d55e5bfc 11861
b1f29bf7 11862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11865 if (obj1) {
11866 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 {
0439c23b 11870 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11871 PyThreadState* __tstate = wxPyBeginAllowThreads();
11872 result = (bool)((wxSound const *)arg1)->Play(arg2);
11873
11874 wxPyEndAllowThreads(__tstate);
110da5b0 11875 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11876 }
11877 {
11878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11879 }
11880 return resultobj;
11881 fail:
11882 return NULL;
11883}
11884
11885
b1f29bf7 11886static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11887 PyObject *resultobj;
11888 wxString *arg1 = 0 ;
11889 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11890 bool result;
11891 bool temp1 = False ;
11892 PyObject * obj0 = 0 ;
11893 PyObject * obj1 = 0 ;
b1f29bf7
RD
11894 char *kwnames[] = {
11895 (char *) "filename",(char *) "flags", NULL
11896 };
d55e5bfc 11897
b1f29bf7 11898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11899 {
11900 arg1 = wxString_in_helper(obj0);
11901 if (arg1 == NULL) SWIG_fail;
11902 temp1 = True;
11903 }
11904 if (obj1) {
11905 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11906 if (PyErr_Occurred()) SWIG_fail;
11907 }
11908 {
0439c23b 11909 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11912
11913 wxPyEndAllowThreads(__tstate);
110da5b0 11914 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11915 }
11916 {
11917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11918 }
11919 {
11920 if (temp1)
11921 delete arg1;
11922 }
11923 return resultobj;
11924 fail:
11925 {
11926 if (temp1)
11927 delete arg1;
11928 }
11929 return NULL;
11930}
11931
11932
11933static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11934 PyObject *resultobj;
11935 char *kwnames[] = {
11936 NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11940 {
0439c23b 11941 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 wxSound::Stop();
11944
11945 wxPyEndAllowThreads(__tstate);
110da5b0 11946 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11947 }
11948 Py_INCREF(Py_None); resultobj = Py_None;
11949 return resultobj;
11950 fail:
11951 return NULL;
11952}
11953
11954
11955static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
11956 PyObject *obj;
11957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11958 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11959 Py_INCREF(obj);
11960 return Py_BuildValue((char *)"");
11961}
11962static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj;
11964 wxString *arg1 = 0 ;
11965 wxString *arg2 = 0 ;
11966 wxString *arg3 = 0 ;
11967 wxString *arg4 = 0 ;
11968 wxFileTypeInfo *result;
11969 bool temp1 = False ;
11970 bool temp2 = False ;
11971 bool temp3 = False ;
11972 bool temp4 = False ;
11973 PyObject * obj0 = 0 ;
11974 PyObject * obj1 = 0 ;
11975 PyObject * obj2 = 0 ;
11976 PyObject * obj3 = 0 ;
11977 char *kwnames[] = {
11978 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11979 };
11980
11981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11982 {
11983 arg1 = wxString_in_helper(obj0);
11984 if (arg1 == NULL) SWIG_fail;
11985 temp1 = True;
11986 }
11987 {
11988 arg2 = wxString_in_helper(obj1);
11989 if (arg2 == NULL) SWIG_fail;
11990 temp2 = True;
11991 }
11992 {
11993 arg3 = wxString_in_helper(obj2);
11994 if (arg3 == NULL) SWIG_fail;
11995 temp3 = True;
11996 }
11997 {
11998 arg4 = wxString_in_helper(obj3);
11999 if (arg4 == NULL) SWIG_fail;
12000 temp4 = True;
12001 }
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
12009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12010 {
12011 if (temp1)
12012 delete arg1;
12013 }
12014 {
12015 if (temp2)
12016 delete arg2;
12017 }
12018 {
12019 if (temp3)
12020 delete arg3;
12021 }
12022 {
12023 if (temp4)
12024 delete arg4;
12025 }
12026 return resultobj;
12027 fail:
12028 {
12029 if (temp1)
12030 delete arg1;
12031 }
12032 {
12033 if (temp2)
12034 delete arg2;
12035 }
12036 {
12037 if (temp3)
12038 delete arg3;
12039 }
12040 {
12041 if (temp4)
12042 delete arg4;
12043 }
12044 return NULL;
12045}
12046
12047
12048static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj;
12050 wxArrayString *arg1 = 0 ;
12051 wxFileTypeInfo *result;
12052 bool temp1 = False ;
12053 PyObject * obj0 = 0 ;
12054 char *kwnames[] = {
12055 (char *) "sArray", NULL
12056 };
12057
12058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
12059 {
12060 if (! PySequence_Check(obj0)) {
12061 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12062 SWIG_fail;
12063 }
12064 arg1 = new wxArrayString;
12065 temp1 = True;
12066 int i, len=PySequence_Length(obj0);
12067 for (i=0; i<len; i++) {
12068 PyObject* item = PySequence_GetItem(obj0, i);
12069#if wxUSE_UNICODE
12070 PyObject* str = PyObject_Unicode(item);
12071#else
12072 PyObject* str = PyObject_Str(item);
12073#endif
12074 if (PyErr_Occurred()) SWIG_fail;
12075 arg1->Add(Py2wxString(str));
12076 Py_DECREF(item);
12077 Py_DECREF(str);
12078 }
12079 }
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12088 {
12089 if (temp1) delete arg1;
12090 }
12091 return resultobj;
12092 fail:
12093 {
12094 if (temp1) delete arg1;
12095 }
12096 return NULL;
12097}
12098
12099
12100static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12101 PyObject *resultobj;
12102 wxFileTypeInfo *result;
12103 char *kwnames[] = {
12104 NULL
12105 };
12106
12107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 result = (wxFileTypeInfo *)new wxFileTypeInfo();
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12116 return resultobj;
12117 fail:
12118 return NULL;
12119}
12120
12121
12122static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
12123 PyObject *resultobj;
12124 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12125 bool result;
12126 PyObject * obj0 = 0 ;
12127 char *kwnames[] = {
12128 (char *) "self", NULL
12129 };
12130
12131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
12132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12134 {
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
12137
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 {
12142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12143 }
12144 return resultobj;
12145 fail:
12146 return NULL;
12147}
12148
12149
12150static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12151 PyObject *resultobj;
12152 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12153 wxString *arg2 = 0 ;
12154 int arg3 = (int) 0 ;
12155 bool temp2 = False ;
12156 PyObject * obj0 = 0 ;
12157 PyObject * obj1 = 0 ;
12158 PyObject * obj2 = 0 ;
12159 char *kwnames[] = {
12160 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12161 };
12162
12163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12166 {
12167 arg2 = wxString_in_helper(obj1);
12168 if (arg2 == NULL) SWIG_fail;
12169 temp2 = True;
12170 }
12171 if (obj2) {
12172 arg3 = (int) SWIG_AsInt(obj2);
12173 if (PyErr_Occurred()) SWIG_fail;
12174 }
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 Py_INCREF(Py_None); resultobj = Py_None;
12183 {
12184 if (temp2)
12185 delete arg2;
12186 }
12187 return resultobj;
12188 fail:
12189 {
12190 if (temp2)
12191 delete arg2;
12192 }
12193 return NULL;
12194}
12195
12196
12197static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj;
12199 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12200 wxString *arg2 = 0 ;
12201 bool temp2 = False ;
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self",(char *) "shortDesc", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12211 {
12212 arg2 = wxString_in_helper(obj1);
12213 if (arg2 == NULL) SWIG_fail;
12214 temp2 = True;
12215 }
12216 {
12217 PyThreadState* __tstate = wxPyBeginAllowThreads();
12218 (arg1)->SetShortDesc((wxString const &)*arg2);
12219
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 Py_INCREF(Py_None); resultobj = Py_None;
12224 {
12225 if (temp2)
12226 delete arg2;
12227 }
12228 return resultobj;
12229 fail:
12230 {
12231 if (temp2)
12232 delete arg2;
12233 }
12234 return NULL;
12235}
12236
12237
12238static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12241 wxString *result;
12242 PyObject * obj0 = 0 ;
12243 char *kwnames[] = {
12244 (char *) "self", NULL
12245 };
12246
12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 {
12253 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12254 result = (wxString *) &_result_ref;
12255 }
12256
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 {
12261#if wxUSE_UNICODE
12262 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12263#else
12264 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12265#endif
12266 }
12267 return resultobj;
12268 fail:
12269 return NULL;
12270}
12271
12272
12273static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12274 PyObject *resultobj;
12275 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12276 wxString *result;
12277 PyObject * obj0 = 0 ;
12278 char *kwnames[] = {
12279 (char *) "self", NULL
12280 };
12281
12282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 {
12288 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12289 result = (wxString *) &_result_ref;
12290 }
12291
12292 wxPyEndAllowThreads(__tstate);
12293 if (PyErr_Occurred()) SWIG_fail;
12294 }
12295 {
12296#if wxUSE_UNICODE
12297 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12298#else
12299 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12300#endif
12301 }
12302 return resultobj;
12303 fail:
12304 return NULL;
12305}
12306
12307
12308static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj;
12310 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12311 wxString *result;
12312 PyObject * obj0 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 {
12323 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12324 result = (wxString *) &_result_ref;
12325 }
12326
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 {
12331#if wxUSE_UNICODE
12332 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12333#else
12334 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12335#endif
12336 }
12337 return resultobj;
12338 fail:
12339 return NULL;
12340}
12341
12342
12343static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12344 PyObject *resultobj;
12345 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12346 wxString *result;
12347 PyObject * obj0 = 0 ;
12348 char *kwnames[] = {
12349 (char *) "self", NULL
12350 };
12351
12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12355 {
12356 PyThreadState* __tstate = wxPyBeginAllowThreads();
12357 {
12358 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12359 result = (wxString *) &_result_ref;
12360 }
12361
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 {
12366#if wxUSE_UNICODE
12367 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12368#else
12369 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12370#endif
12371 }
12372 return resultobj;
12373 fail:
12374 return NULL;
12375}
12376
12377
12378static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12381 wxString *result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 {
12393 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12394 result = (wxString *) &_result_ref;
12395 }
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 {
12401#if wxUSE_UNICODE
12402 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12403#else
12404 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12405#endif
12406 }
12407 return resultobj;
12408 fail:
12409 return NULL;
12410}
12411
12412
12413static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12414 PyObject *resultobj;
12415 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12416 wxArrayString *result;
12417 PyObject * obj0 = 0 ;
12418 char *kwnames[] = {
12419 (char *) "self", NULL
12420 };
12421
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 {
12428 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12429 result = (wxArrayString *) &_result_ref;
12430 }
12431
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 {
12436 resultobj = wxArrayString2PyList_helper(*result);
12437 }
12438 return resultobj;
12439 fail:
12440 return NULL;
12441}
12442
12443
12444static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12445 PyObject *resultobj;
12446 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12447 int result;
12448 PyObject * obj0 = 0 ;
12449 char *kwnames[] = {
12450 (char *) "self", NULL
12451 };
12452
12453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12456 {
12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
12458 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12459
12460 wxPyEndAllowThreads(__tstate);
12461 if (PyErr_Occurred()) SWIG_fail;
12462 }
12463 resultobj = SWIG_FromInt((int)result);
12464 return resultobj;
12465 fail:
12466 return NULL;
12467}
12468
12469
12470static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12471 PyObject *resultobj;
12472 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12473 wxString *result;
12474 PyObject * obj0 = 0 ;
12475 char *kwnames[] = {
12476 (char *) "self", NULL
12477 };
12478
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 {
12485 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12486 result = (wxString *) &_result_ref;
12487 }
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 {
12493#if wxUSE_UNICODE
12494 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12495#else
12496 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12497#endif
12498 }
12499 return resultobj;
12500 fail:
12501 return NULL;
12502}
12503
12504
12505static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12506 PyObject *resultobj;
12507 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12508 int result;
12509 PyObject * obj0 = 0 ;
12510 char *kwnames[] = {
12511 (char *) "self", NULL
12512 };
12513
12514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12517 {
12518 PyThreadState* __tstate = wxPyBeginAllowThreads();
12519 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12520
12521 wxPyEndAllowThreads(__tstate);
12522 if (PyErr_Occurred()) SWIG_fail;
12523 }
12524 resultobj = SWIG_FromInt((int)result);
12525 return resultobj;
12526 fail:
12527 return NULL;
12528}
12529
12530
12531static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12532 PyObject *obj;
12533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12534 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12535 Py_INCREF(obj);
12536 return Py_BuildValue((char *)"");
12537}
12538static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12539 PyObject *resultobj;
12540 wxFileTypeInfo *arg1 = 0 ;
12541 wxFileType *result;
12542 PyObject * obj0 = 0 ;
12543 char *kwnames[] = {
12544 (char *) "ftInfo", NULL
12545 };
12546
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12549 SWIG_POINTER_EXCEPTION | 0)) == -1)
12550 SWIG_fail;
12551 if (arg1 == NULL) {
12552 PyErr_SetString(PyExc_TypeError,"null reference");
12553 SWIG_fail;
12554 }
12555 {
12556 PyThreadState* __tstate = wxPyBeginAllowThreads();
12557 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12558
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12563 return resultobj;
12564 fail:
12565 return NULL;
12566}
12567
12568
12569static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12570 PyObject *resultobj;
12571 wxFileType *arg1 = (wxFileType *) 0 ;
12572 PyObject * obj0 = 0 ;
12573 char *kwnames[] = {
12574 (char *) "self", NULL
12575 };
12576
12577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12580 {
12581 PyThreadState* __tstate = wxPyBeginAllowThreads();
12582 delete arg1;
12583
12584 wxPyEndAllowThreads(__tstate);
12585 if (PyErr_Occurred()) SWIG_fail;
12586 }
12587 Py_INCREF(Py_None); resultobj = Py_None;
12588 return resultobj;
12589 fail:
12590 return NULL;
12591}
12592
12593
12594static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12595 PyObject *resultobj;
12596 wxFileType *arg1 = (wxFileType *) 0 ;
12597 PyObject *result;
12598 PyObject * obj0 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 result = (PyObject *)wxFileType_GetMimeType(arg1);
12609
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 resultobj = result;
12614 return resultobj;
12615 fail:
12616 return NULL;
12617}
12618
12619
12620static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12621 PyObject *resultobj;
12622 wxFileType *arg1 = (wxFileType *) 0 ;
12623 PyObject *result;
12624 PyObject * obj0 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "self", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 resultobj = result;
12640 return resultobj;
12641 fail:
12642 return NULL;
12643}
12644
12645
12646static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj;
12648 wxFileType *arg1 = (wxFileType *) 0 ;
12649 PyObject *result;
12650 PyObject * obj0 = 0 ;
12651 char *kwnames[] = {
12652 (char *) "self", NULL
12653 };
12654
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 result = (PyObject *)wxFileType_GetExtensions(arg1);
12661
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 resultobj = result;
12666 return resultobj;
12667 fail:
12668 return NULL;
12669}
12670
12671
12672static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12673 PyObject *resultobj;
12674 wxFileType *arg1 = (wxFileType *) 0 ;
12675 wxIcon *result;
12676 PyObject * obj0 = 0 ;
12677 char *kwnames[] = {
12678 (char *) "self", NULL
12679 };
12680
12681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 result = (wxIcon *)wxFileType_GetIcon(arg1);
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12692 return resultobj;
12693 fail:
12694 return NULL;
12695}
12696
12697
12698static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12699 PyObject *resultobj;
12700 wxFileType *arg1 = (wxFileType *) 0 ;
12701 PyObject *result;
12702 PyObject * obj0 = 0 ;
12703 char *kwnames[] = {
12704 (char *) "self", NULL
12705 };
12706
12707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12710 {
12711 PyThreadState* __tstate = wxPyBeginAllowThreads();
12712 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12713
12714 wxPyEndAllowThreads(__tstate);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 resultobj = result;
12718 return resultobj;
12719 fail:
12720 return NULL;
12721}
12722
12723
12724static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12725 PyObject *resultobj;
12726 wxFileType *arg1 = (wxFileType *) 0 ;
12727 PyObject *result;
12728 PyObject * obj0 = 0 ;
12729 char *kwnames[] = {
12730 (char *) "self", NULL
12731 };
12732
12733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 result = (PyObject *)wxFileType_GetDescription(arg1);
12739
12740 wxPyEndAllowThreads(__tstate);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 }
12743 resultobj = result;
12744 return resultobj;
12745 fail:
12746 return NULL;
12747}
12748
12749
12750static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12751 PyObject *resultobj;
12752 wxFileType *arg1 = (wxFileType *) 0 ;
12753 wxString *arg2 = 0 ;
12754 wxString const &arg3_defvalue = wxPyEmptyString ;
12755 wxString *arg3 = (wxString *) &arg3_defvalue ;
12756 PyObject *result;
12757 bool temp2 = False ;
12758 bool temp3 = False ;
12759 PyObject * obj0 = 0 ;
12760 PyObject * obj1 = 0 ;
12761 PyObject * obj2 = 0 ;
12762 char *kwnames[] = {
12763 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12764 };
12765
12766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12769 {
12770 arg2 = wxString_in_helper(obj1);
12771 if (arg2 == NULL) SWIG_fail;
12772 temp2 = True;
12773 }
12774 if (obj2) {
12775 {
12776 arg3 = wxString_in_helper(obj2);
12777 if (arg3 == NULL) SWIG_fail;
12778 temp3 = True;
12779 }
12780 }
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12784
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 resultobj = result;
12789 {
12790 if (temp2)
12791 delete arg2;
12792 }
12793 {
12794 if (temp3)
12795 delete arg3;
12796 }
12797 return resultobj;
12798 fail:
12799 {
12800 if (temp2)
12801 delete arg2;
12802 }
12803 {
12804 if (temp3)
12805 delete arg3;
12806 }
12807 return NULL;
12808}
12809
12810
12811static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12812 PyObject *resultobj;
12813 wxFileType *arg1 = (wxFileType *) 0 ;
12814 wxString *arg2 = 0 ;
12815 wxString const &arg3_defvalue = wxPyEmptyString ;
12816 wxString *arg3 = (wxString *) &arg3_defvalue ;
12817 PyObject *result;
12818 bool temp2 = False ;
12819 bool temp3 = False ;
12820 PyObject * obj0 = 0 ;
12821 PyObject * obj1 = 0 ;
12822 PyObject * obj2 = 0 ;
12823 char *kwnames[] = {
12824 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12830 {
12831 arg2 = wxString_in_helper(obj1);
12832 if (arg2 == NULL) SWIG_fail;
12833 temp2 = True;
12834 }
12835 if (obj2) {
12836 {
12837 arg3 = wxString_in_helper(obj2);
12838 if (arg3 == NULL) SWIG_fail;
12839 temp3 = True;
12840 }
12841 }
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 resultobj = result;
12850 {
12851 if (temp2)
12852 delete arg2;
12853 }
12854 {
12855 if (temp3)
12856 delete arg3;
12857 }
12858 return resultobj;
12859 fail:
12860 {
12861 if (temp2)
12862 delete arg2;
12863 }
12864 {
12865 if (temp3)
12866 delete arg3;
12867 }
12868 return NULL;
12869}
12870
12871
12872static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxFileType *arg1 = (wxFileType *) 0 ;
12875 wxString *arg2 = 0 ;
12876 wxString const &arg3_defvalue = wxPyEmptyString ;
12877 wxString *arg3 = (wxString *) &arg3_defvalue ;
12878 PyObject *result;
12879 bool temp2 = False ;
12880 bool temp3 = False ;
12881 PyObject * obj0 = 0 ;
12882 PyObject * obj1 = 0 ;
12883 PyObject * obj2 = 0 ;
12884 char *kwnames[] = {
12885 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12886 };
12887
12888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12891 {
12892 arg2 = wxString_in_helper(obj1);
12893 if (arg2 == NULL) SWIG_fail;
12894 temp2 = True;
12895 }
12896 if (obj2) {
12897 {
12898 arg3 = wxString_in_helper(obj2);
12899 if (arg3 == NULL) SWIG_fail;
12900 temp3 = True;
12901 }
12902 }
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12906
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 resultobj = result;
12911 {
12912 if (temp2)
12913 delete arg2;
12914 }
12915 {
12916 if (temp3)
12917 delete arg3;
12918 }
12919 return resultobj;
12920 fail:
12921 {
12922 if (temp2)
12923 delete arg2;
12924 }
12925 {
12926 if (temp3)
12927 delete arg3;
12928 }
12929 return NULL;
12930}
12931
12932
12933static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12934 PyObject *resultobj;
12935 wxFileType *arg1 = (wxFileType *) 0 ;
12936 wxString *arg2 = 0 ;
12937 wxString *arg3 = 0 ;
12938 bool arg4 = (bool) True ;
12939 bool result;
12940 bool temp2 = False ;
12941 bool temp3 = False ;
12942 PyObject * obj0 = 0 ;
12943 PyObject * obj1 = 0 ;
12944 PyObject * obj2 = 0 ;
12945 PyObject * obj3 = 0 ;
12946 char *kwnames[] = {
12947 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12948 };
12949
12950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12953 {
12954 arg2 = wxString_in_helper(obj1);
12955 if (arg2 == NULL) SWIG_fail;
12956 temp2 = True;
12957 }
12958 {
12959 arg3 = wxString_in_helper(obj2);
12960 if (arg3 == NULL) SWIG_fail;
12961 temp3 = True;
12962 }
12963 if (obj3) {
12964 arg4 = (bool) SWIG_AsBool(obj3);
12965 if (PyErr_Occurred()) SWIG_fail;
12966 }
12967 {
12968 PyThreadState* __tstate = wxPyBeginAllowThreads();
12969 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12970
12971 wxPyEndAllowThreads(__tstate);
12972 if (PyErr_Occurred()) SWIG_fail;
12973 }
12974 {
12975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12976 }
12977 {
12978 if (temp2)
12979 delete arg2;
12980 }
12981 {
12982 if (temp3)
12983 delete arg3;
12984 }
12985 return resultobj;
12986 fail:
12987 {
12988 if (temp2)
12989 delete arg2;
12990 }
12991 {
12992 if (temp3)
12993 delete arg3;
12994 }
12995 return NULL;
12996}
12997
12998
12999static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj;
13001 wxFileType *arg1 = (wxFileType *) 0 ;
13002 wxString const &arg2_defvalue = wxPyEmptyString ;
13003 wxString *arg2 = (wxString *) &arg2_defvalue ;
13004 int arg3 = (int) 0 ;
13005 bool result;
13006 bool temp2 = False ;
13007 PyObject * obj0 = 0 ;
13008 PyObject * obj1 = 0 ;
13009 PyObject * obj2 = 0 ;
13010 char *kwnames[] = {
13011 (char *) "self",(char *) "cmd",(char *) "index", NULL
13012 };
13013
13014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13017 if (obj1) {
13018 {
13019 arg2 = wxString_in_helper(obj1);
13020 if (arg2 == NULL) SWIG_fail;
13021 temp2 = True;
13022 }
13023 }
13024 if (obj2) {
13025 arg3 = (int) SWIG_AsInt(obj2);
13026 if (PyErr_Occurred()) SWIG_fail;
13027 }
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 {
13036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13037 }
13038 {
13039 if (temp2)
13040 delete arg2;
13041 }
13042 return resultobj;
13043 fail:
13044 {
13045 if (temp2)
13046 delete arg2;
13047 }
13048 return NULL;
13049}
13050
13051
13052static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13053 PyObject *resultobj;
13054 wxFileType *arg1 = (wxFileType *) 0 ;
13055 bool result;
13056 PyObject * obj0 = 0 ;
13057 char *kwnames[] = {
13058 (char *) "self", NULL
13059 };
13060
13061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
13062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13064 {
13065 PyThreadState* __tstate = wxPyBeginAllowThreads();
13066 result = (bool)(arg1)->Unassociate();
13067
13068 wxPyEndAllowThreads(__tstate);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 }
13071 {
13072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13073 }
13074 return resultobj;
13075 fail:
13076 return NULL;
13077}
13078
13079
13080static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj;
13082 wxString *arg1 = 0 ;
13083 wxString *arg2 = 0 ;
13084 wxString const &arg3_defvalue = wxPyEmptyString ;
13085 wxString *arg3 = (wxString *) &arg3_defvalue ;
13086 wxString result;
13087 bool temp1 = False ;
13088 bool temp2 = False ;
13089 bool temp3 = False ;
13090 PyObject * obj0 = 0 ;
13091 PyObject * obj1 = 0 ;
13092 PyObject * obj2 = 0 ;
13093 char *kwnames[] = {
13094 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13095 };
13096
13097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13098 {
13099 arg1 = wxString_in_helper(obj0);
13100 if (arg1 == NULL) SWIG_fail;
13101 temp1 = True;
13102 }
13103 {
13104 arg2 = wxString_in_helper(obj1);
13105 if (arg2 == NULL) SWIG_fail;
13106 temp2 = True;
13107 }
13108 if (obj2) {
13109 {
13110 arg3 = wxString_in_helper(obj2);
13111 if (arg3 == NULL) SWIG_fail;
13112 temp3 = True;
13113 }
13114 }
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13118
13119 wxPyEndAllowThreads(__tstate);
13120 if (PyErr_Occurred()) SWIG_fail;
13121 }
13122 {
13123#if wxUSE_UNICODE
13124 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13125#else
13126 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13127#endif
13128 }
13129 {
13130 if (temp1)
13131 delete arg1;
13132 }
13133 {
13134 if (temp2)
13135 delete arg2;
13136 }
13137 {
13138 if (temp3)
13139 delete arg3;
13140 }
13141 return resultobj;
13142 fail:
13143 {
13144 if (temp1)
13145 delete arg1;
13146 }
13147 {
13148 if (temp2)
13149 delete arg2;
13150 }
13151 {
13152 if (temp3)
13153 delete arg3;
13154 }
13155 return NULL;
13156}
13157
13158
13159static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
13160 PyObject *obj;
13161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13162 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13163 Py_INCREF(obj);
13164 return Py_BuildValue((char *)"");
13165}
13166static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
13167 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13168 return 1;
13169}
13170
13171
13172static PyObject *_wrap_TheMimeTypesManager_get() {
13173 PyObject *pyobj;
13174
13175 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13176 return pyobj;
13177}
13178
13179
13180static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
13181 PyObject *resultobj;
13182 wxString *arg1 = 0 ;
13183 wxString *arg2 = 0 ;
13184 bool result;
13185 bool temp1 = False ;
13186 bool temp2 = False ;
13187 PyObject * obj0 = 0 ;
13188 PyObject * obj1 = 0 ;
13189 char *kwnames[] = {
13190 (char *) "mimeType",(char *) "wildcard", NULL
13191 };
13192
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13194 {
13195 arg1 = wxString_in_helper(obj0);
13196 if (arg1 == NULL) SWIG_fail;
13197 temp1 = True;
13198 }
13199 {
13200 arg2 = wxString_in_helper(obj1);
13201 if (arg2 == NULL) SWIG_fail;
13202 temp2 = True;
13203 }
13204 {
13205 PyThreadState* __tstate = wxPyBeginAllowThreads();
13206 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13207
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 {
13212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13213 }
13214 {
13215 if (temp1)
13216 delete arg1;
13217 }
13218 {
13219 if (temp2)
13220 delete arg2;
13221 }
13222 return resultobj;
13223 fail:
13224 {
13225 if (temp1)
13226 delete arg1;
13227 }
13228 {
13229 if (temp2)
13230 delete arg2;
13231 }
13232 return NULL;
13233}
13234
13235
13236static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj;
13238 wxMimeTypesManager *result;
13239 char *kwnames[] = {
13240 NULL
13241 };
13242
13243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13244 {
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13247
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13252 return resultobj;
13253 fail:
13254 return NULL;
13255}
13256
13257
13258static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
13259 PyObject *resultobj;
13260 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13261 int arg2 = (int) wxMAILCAP_ALL ;
13262 wxString const &arg3_defvalue = wxPyEmptyString ;
13263 wxString *arg3 = (wxString *) &arg3_defvalue ;
13264 bool temp3 = False ;
13265 PyObject * obj0 = 0 ;
13266 PyObject * obj1 = 0 ;
13267 PyObject * obj2 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13275 if (obj1) {
13276 arg2 = (int) SWIG_AsInt(obj1);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 }
13279 if (obj2) {
13280 {
13281 arg3 = wxString_in_helper(obj2);
13282 if (arg3 == NULL) SWIG_fail;
13283 temp3 = True;
13284 }
13285 }
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 Py_INCREF(Py_None); resultobj = Py_None;
13294 {
13295 if (temp3)
13296 delete arg3;
13297 }
13298 return resultobj;
13299 fail:
13300 {
13301 if (temp3)
13302 delete arg3;
13303 }
13304 return NULL;
13305}
13306
13307
13308static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj;
13310 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13311 PyObject * obj0 = 0 ;
13312 char *kwnames[] = {
13313 (char *) "self", NULL
13314 };
13315
13316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13319 {
13320 PyThreadState* __tstate = wxPyBeginAllowThreads();
13321 (arg1)->ClearData();
13322
13323 wxPyEndAllowThreads(__tstate);
13324 if (PyErr_Occurred()) SWIG_fail;
13325 }
13326 Py_INCREF(Py_None); resultobj = Py_None;
13327 return resultobj;
13328 fail:
13329 return NULL;
13330}
13331
13332
13333static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
13334 PyObject *resultobj;
13335 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13336 wxString *arg2 = 0 ;
13337 wxFileType *result;
13338 bool temp2 = False ;
13339 PyObject * obj0 = 0 ;
13340 PyObject * obj1 = 0 ;
13341 char *kwnames[] = {
13342 (char *) "self",(char *) "ext", NULL
13343 };
13344
13345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13348 {
13349 arg2 = wxString_in_helper(obj1);
13350 if (arg2 == NULL) SWIG_fail;
13351 temp2 = True;
13352 }
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13361 {
13362 if (temp2)
13363 delete arg2;
13364 }
13365 return resultobj;
13366 fail:
13367 {
13368 if (temp2)
13369 delete arg2;
13370 }
13371 return NULL;
13372}
13373
13374
13375static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13378 wxString *arg2 = 0 ;
13379 wxFileType *result;
13380 bool temp2 = False ;
13381 PyObject * obj0 = 0 ;
13382 PyObject * obj1 = 0 ;
13383 char *kwnames[] = {
13384 (char *) "self",(char *) "mimeType", NULL
13385 };
13386
13387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13390 {
13391 arg2 = wxString_in_helper(obj1);
13392 if (arg2 == NULL) SWIG_fail;
13393 temp2 = True;
13394 }
13395 {
13396 PyThreadState* __tstate = wxPyBeginAllowThreads();
13397 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13398
13399 wxPyEndAllowThreads(__tstate);
13400 if (PyErr_Occurred()) SWIG_fail;
13401 }
13402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13403 {
13404 if (temp2)
13405 delete arg2;
13406 }
13407 return resultobj;
13408 fail:
13409 {
13410 if (temp2)
13411 delete arg2;
13412 }
13413 return NULL;
13414}
13415
13416
13417static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13418 PyObject *resultobj;
13419 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13420 wxString *arg2 = 0 ;
13421 bool arg3 = (bool) False ;
13422 bool result;
13423 bool temp2 = False ;
13424 PyObject * obj0 = 0 ;
13425 PyObject * obj1 = 0 ;
13426 PyObject * obj2 = 0 ;
13427 char *kwnames[] = {
13428 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13429 };
13430
13431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13434 {
13435 arg2 = wxString_in_helper(obj1);
13436 if (arg2 == NULL) SWIG_fail;
13437 temp2 = True;
13438 }
13439 if (obj2) {
13440 arg3 = (bool) SWIG_AsBool(obj2);
13441 if (PyErr_Occurred()) SWIG_fail;
13442 }
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 {
13451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13452 }
13453 {
13454 if (temp2)
13455 delete arg2;
13456 }
13457 return resultobj;
13458 fail:
13459 {
13460 if (temp2)
13461 delete arg2;
13462 }
13463 return NULL;
13464}
13465
13466
13467static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13468 PyObject *resultobj;
13469 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13470 wxString *arg2 = 0 ;
13471 bool result;
13472 bool temp2 = False ;
13473 PyObject * obj0 = 0 ;
13474 PyObject * obj1 = 0 ;
13475 char *kwnames[] = {
13476 (char *) "self",(char *) "filename", NULL
13477 };
13478
13479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13482 {
13483 arg2 = wxString_in_helper(obj1);
13484 if (arg2 == NULL) SWIG_fail;
13485 temp2 = True;
13486 }
13487 {
13488 PyThreadState* __tstate = wxPyBeginAllowThreads();
13489 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13490
13491 wxPyEndAllowThreads(__tstate);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 }
13494 {
13495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13496 }
13497 {
13498 if (temp2)
13499 delete arg2;
13500 }
13501 return resultobj;
13502 fail:
13503 {
13504 if (temp2)
13505 delete arg2;
13506 }
13507 return NULL;
13508}
13509
13510
13511static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13512 PyObject *resultobj;
13513 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13514 PyObject *result;
13515 PyObject * obj0 = 0 ;
13516 char *kwnames[] = {
13517 (char *) "self", NULL
13518 };
13519
13520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13523 {
13524 PyThreadState* __tstate = wxPyBeginAllowThreads();
13525 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13526
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 resultobj = result;
13531 return resultobj;
13532 fail:
13533 return NULL;
13534}
13535
13536
13537static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13538 PyObject *resultobj;
13539 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13540 wxFileTypeInfo *arg2 = 0 ;
13541 PyObject * obj0 = 0 ;
13542 PyObject * obj1 = 0 ;
13543 char *kwnames[] = {
13544 (char *) "self",(char *) "ft", NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13551 SWIG_POINTER_EXCEPTION | 0)) == -1)
13552 SWIG_fail;
13553 if (arg2 == NULL) {
13554 PyErr_SetString(PyExc_TypeError,"null reference");
13555 SWIG_fail;
13556 }
13557 {
13558 PyThreadState* __tstate = wxPyBeginAllowThreads();
13559 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13560
13561 wxPyEndAllowThreads(__tstate);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 Py_INCREF(Py_None); resultobj = Py_None;
13565 return resultobj;
13566 fail:
13567 return NULL;
13568}
13569
13570
13571static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13572 PyObject *resultobj;
13573 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13574 wxFileTypeInfo *arg2 = 0 ;
13575 wxFileType *result;
13576 PyObject * obj0 = 0 ;
13577 PyObject * obj1 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "self",(char *) "ftInfo", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13586 SWIG_POINTER_EXCEPTION | 0)) == -1)
13587 SWIG_fail;
13588 if (arg2 == NULL) {
13589 PyErr_SetString(PyExc_TypeError,"null reference");
13590 SWIG_fail;
13591 }
13592 {
13593 PyThreadState* __tstate = wxPyBeginAllowThreads();
13594 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13595
13596 wxPyEndAllowThreads(__tstate);
13597 if (PyErr_Occurred()) SWIG_fail;
13598 }
13599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13600 return resultobj;
13601 fail:
13602 return NULL;
13603}
13604
13605
13606static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13607 PyObject *resultobj;
13608 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13609 wxFileType *arg2 = (wxFileType *) 0 ;
13610 bool result;
13611 PyObject * obj0 = 0 ;
13612 PyObject * obj1 = 0 ;
13613 char *kwnames[] = {
13614 (char *) "self",(char *) "ft", NULL
13615 };
13616
13617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13620 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13622 {
13623 PyThreadState* __tstate = wxPyBeginAllowThreads();
13624 result = (bool)(arg1)->Unassociate(arg2);
13625
13626 wxPyEndAllowThreads(__tstate);
13627 if (PyErr_Occurred()) SWIG_fail;
13628 }
13629 {
13630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13631 }
13632 return resultobj;
13633 fail:
13634 return NULL;
13635}
13636
13637
13638static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13639 PyObject *resultobj;
13640 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13641 PyObject * obj0 = 0 ;
13642 char *kwnames[] = {
13643 (char *) "self", NULL
13644 };
13645
13646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13649 {
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 delete arg1;
13652
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 Py_INCREF(Py_None); resultobj = Py_None;
13657 return resultobj;
13658 fail:
13659 return NULL;
13660}
13661
13662
13663static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13664 PyObject *obj;
13665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13666 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13667 Py_INCREF(obj);
13668 return Py_BuildValue((char *)"");
13669}
13670static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
13671 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13672 return 1;
13673}
13674
13675
13676static PyObject *_wrap_ART_TOOLBAR_get() {
13677 PyObject *pyobj;
13678
13679 {
13680#if wxUSE_UNICODE
13681 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13682#else
13683 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13684#endif
13685 }
13686 return pyobj;
13687}
13688
13689
13690static int _wrap_ART_MENU_set(PyObject *_val) {
13691 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13692 return 1;
13693}
13694
13695
13696static PyObject *_wrap_ART_MENU_get() {
13697 PyObject *pyobj;
13698
13699 {
13700#if wxUSE_UNICODE
13701 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13702#else
13703 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13704#endif
13705 }
13706 return pyobj;
13707}
13708
13709
13710static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13711 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13712 return 1;
13713}
13714
13715
13716static PyObject *_wrap_ART_FRAME_ICON_get() {
13717 PyObject *pyobj;
13718
13719 {
13720#if wxUSE_UNICODE
13721 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13722#else
13723 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13724#endif
13725 }
13726 return pyobj;
13727}
13728
13729
13730static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13731 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13732 return 1;
13733}
13734
13735
13736static PyObject *_wrap_ART_CMN_DIALOG_get() {
13737 PyObject *pyobj;
13738
13739 {
13740#if wxUSE_UNICODE
13741 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13742#else
13743 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13744#endif
13745 }
13746 return pyobj;
13747}
13748
13749
13750static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13751 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13752 return 1;
13753}
13754
13755
13756static PyObject *_wrap_ART_HELP_BROWSER_get() {
13757 PyObject *pyobj;
13758
13759 {
13760#if wxUSE_UNICODE
13761 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13762#else
13763 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13764#endif
13765 }
13766 return pyobj;
13767}
13768
13769
13770static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13771 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13772 return 1;
13773}
13774
13775
13776static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13777 PyObject *pyobj;
13778
13779 {
13780#if wxUSE_UNICODE
13781 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13782#else
13783 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13784#endif
13785 }
13786 return pyobj;
13787}
13788
13789
4cf4100f
RD
13790static int _wrap_ART_BUTTON_set(PyObject *_val) {
13791 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
13792 return 1;
13793}
13794
13795
13796static PyObject *_wrap_ART_BUTTON_get() {
13797 PyObject *pyobj;
13798
13799 {
13800#if wxUSE_UNICODE
13801 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
13802#else
13803 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
13804#endif
13805 }
13806 return pyobj;
13807}
13808
13809
d55e5bfc
RD
13810static int _wrap_ART_OTHER_set(PyObject *_val) {
13811 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13812 return 1;
13813}
13814
13815
13816static PyObject *_wrap_ART_OTHER_get() {
13817 PyObject *pyobj;
13818
13819 {
13820#if wxUSE_UNICODE
13821 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13822#else
13823 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13824#endif
13825 }
13826 return pyobj;
13827}
13828
13829
13830static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13831 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13832 return 1;
13833}
13834
13835
13836static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13837 PyObject *pyobj;
13838
13839 {
13840#if wxUSE_UNICODE
13841 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13842#else
13843 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13844#endif
13845 }
13846 return pyobj;
13847}
13848
13849
13850static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13851 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13852 return 1;
13853}
13854
13855
13856static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13857 PyObject *pyobj;
13858
13859 {
13860#if wxUSE_UNICODE
13861 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13862#else
13863 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13864#endif
13865 }
13866 return pyobj;
13867}
13868
13869
13870static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13871 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13872 return 1;
13873}
13874
13875
13876static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13877 PyObject *pyobj;
13878
13879 {
13880#if wxUSE_UNICODE
13881 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13882#else
13883 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13884#endif
13885 }
13886 return pyobj;
13887}
13888
13889
13890static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13891 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13892 return 1;
13893}
13894
13895
13896static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13897 PyObject *pyobj;
13898
13899 {
13900#if wxUSE_UNICODE
13901 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13902#else
13903 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13904#endif
13905 }
13906 return pyobj;
13907}
13908
13909
13910static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13911 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13912 return 1;
13913}
13914
13915
13916static PyObject *_wrap_ART_HELP_BOOK_get() {
13917 PyObject *pyobj;
13918
13919 {
13920#if wxUSE_UNICODE
13921 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13922#else
13923 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13924#endif
13925 }
13926 return pyobj;
13927}
13928
13929
13930static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13931 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13932 return 1;
13933}
13934
13935
13936static PyObject *_wrap_ART_HELP_FOLDER_get() {
13937 PyObject *pyobj;
13938
13939 {
13940#if wxUSE_UNICODE
13941 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13942#else
13943 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13944#endif
13945 }
13946 return pyobj;
13947}
13948
13949
13950static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13951 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13952 return 1;
13953}
13954
13955
13956static PyObject *_wrap_ART_HELP_PAGE_get() {
13957 PyObject *pyobj;
13958
13959 {
13960#if wxUSE_UNICODE
13961 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13962#else
13963 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13964#endif
13965 }
13966 return pyobj;
13967}
13968
13969
13970static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13971 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13972 return 1;
13973}
13974
13975
13976static PyObject *_wrap_ART_GO_BACK_get() {
13977 PyObject *pyobj;
13978
13979 {
13980#if wxUSE_UNICODE
13981 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13982#else
13983 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13984#endif
13985 }
13986 return pyobj;
13987}
13988
13989
13990static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13991 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13992 return 1;
13993}
13994
13995
13996static PyObject *_wrap_ART_GO_FORWARD_get() {
13997 PyObject *pyobj;
13998
13999 {
14000#if wxUSE_UNICODE
14001 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14002#else
14003 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14004#endif
14005 }
14006 return pyobj;
14007}
14008
14009
14010static int _wrap_ART_GO_UP_set(PyObject *_val) {
14011 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
14012 return 1;
14013}
14014
14015
14016static PyObject *_wrap_ART_GO_UP_get() {
14017 PyObject *pyobj;
14018
14019 {
14020#if wxUSE_UNICODE
14021 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14022#else
14023 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14024#endif
14025 }
14026 return pyobj;
14027}
14028
14029
14030static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
14031 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
14032 return 1;
14033}
14034
14035
14036static PyObject *_wrap_ART_GO_DOWN_get() {
14037 PyObject *pyobj;
14038
14039 {
14040#if wxUSE_UNICODE
14041 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14042#else
14043 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14044#endif
14045 }
14046 return pyobj;
14047}
14048
14049
14050static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
14051 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
14052 return 1;
14053}
14054
14055
14056static PyObject *_wrap_ART_GO_TO_PARENT_get() {
14057 PyObject *pyobj;
14058
14059 {
14060#if wxUSE_UNICODE
14061 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14062#else
14063 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14064#endif
14065 }
14066 return pyobj;
14067}
14068
14069
14070static int _wrap_ART_GO_HOME_set(PyObject *_val) {
14071 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
14072 return 1;
14073}
14074
14075
14076static PyObject *_wrap_ART_GO_HOME_get() {
14077 PyObject *pyobj;
14078
14079 {
14080#if wxUSE_UNICODE
14081 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14082#else
14083 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14084#endif
14085 }
14086 return pyobj;
14087}
14088
14089
14090static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
14091 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
14092 return 1;
14093}
14094
14095
14096static PyObject *_wrap_ART_FILE_OPEN_get() {
14097 PyObject *pyobj;
14098
14099 {
14100#if wxUSE_UNICODE
14101 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14102#else
14103 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14104#endif
14105 }
14106 return pyobj;
14107}
14108
14109
14110static int _wrap_ART_PRINT_set(PyObject *_val) {
14111 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
14112 return 1;
14113}
14114
14115
14116static PyObject *_wrap_ART_PRINT_get() {
14117 PyObject *pyobj;
14118
14119 {
14120#if wxUSE_UNICODE
14121 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14122#else
14123 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14124#endif
14125 }
14126 return pyobj;
14127}
14128
14129
14130static int _wrap_ART_HELP_set(PyObject *_val) {
14131 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
14132 return 1;
14133}
14134
14135
14136static PyObject *_wrap_ART_HELP_get() {
14137 PyObject *pyobj;
14138
14139 {
14140#if wxUSE_UNICODE
14141 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14142#else
14143 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14144#endif
14145 }
14146 return pyobj;
14147}
14148
14149
14150static int _wrap_ART_TIP_set(PyObject *_val) {
14151 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
14152 return 1;
14153}
14154
14155
14156static PyObject *_wrap_ART_TIP_get() {
14157 PyObject *pyobj;
14158
14159 {
14160#if wxUSE_UNICODE
14161 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14162#else
14163 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14164#endif
14165 }
14166 return pyobj;
14167}
14168
14169
14170static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
14171 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14172 return 1;
14173}
14174
14175
14176static PyObject *_wrap_ART_REPORT_VIEW_get() {
14177 PyObject *pyobj;
14178
14179 {
14180#if wxUSE_UNICODE
14181 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14182#else
14183 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14184#endif
14185 }
14186 return pyobj;
14187}
14188
14189
14190static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
14191 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14192 return 1;
14193}
14194
14195
14196static PyObject *_wrap_ART_LIST_VIEW_get() {
14197 PyObject *pyobj;
14198
14199 {
14200#if wxUSE_UNICODE
14201 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14202#else
14203 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14204#endif
14205 }
14206 return pyobj;
14207}
14208
14209
14210static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
14211 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14212 return 1;
14213}
14214
14215
14216static PyObject *_wrap_ART_NEW_DIR_get() {
14217 PyObject *pyobj;
14218
14219 {
14220#if wxUSE_UNICODE
14221 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14222#else
14223 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14224#endif
14225 }
14226 return pyobj;
14227}
14228
14229
14230static int _wrap_ART_FOLDER_set(PyObject *_val) {
14231 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14232 return 1;
14233}
14234
14235
14236static PyObject *_wrap_ART_FOLDER_get() {
14237 PyObject *pyobj;
14238
14239 {
14240#if wxUSE_UNICODE
14241 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14242#else
14243 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14244#endif
14245 }
14246 return pyobj;
14247}
14248
14249
14250static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
14251 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14252 return 1;
14253}
14254
14255
14256static PyObject *_wrap_ART_GO_DIR_UP_get() {
14257 PyObject *pyobj;
14258
14259 {
14260#if wxUSE_UNICODE
14261 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14262#else
14263 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14264#endif
14265 }
14266 return pyobj;
14267}
14268
14269
14270static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
14271 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14272 return 1;
14273}
14274
14275
14276static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14277 PyObject *pyobj;
14278
14279 {
14280#if wxUSE_UNICODE
14281 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14282#else
14283 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14284#endif
14285 }
14286 return pyobj;
14287}
14288
14289
14290static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
14291 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14292 return 1;
14293}
14294
14295
14296static PyObject *_wrap_ART_NORMAL_FILE_get() {
14297 PyObject *pyobj;
14298
14299 {
14300#if wxUSE_UNICODE
14301 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14302#else
14303 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14304#endif
14305 }
14306 return pyobj;
14307}
14308
14309
14310static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
14311 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14312 return 1;
14313}
14314
14315
14316static PyObject *_wrap_ART_TICK_MARK_get() {
14317 PyObject *pyobj;
14318
14319 {
14320#if wxUSE_UNICODE
14321 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14322#else
14323 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14324#endif
14325 }
14326 return pyobj;
14327}
14328
14329
14330static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
14331 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14332 return 1;
14333}
14334
14335
14336static PyObject *_wrap_ART_CROSS_MARK_get() {
14337 PyObject *pyobj;
14338
14339 {
14340#if wxUSE_UNICODE
14341 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14342#else
14343 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14344#endif
14345 }
14346 return pyobj;
14347}
14348
14349
14350static int _wrap_ART_ERROR_set(PyObject *_val) {
14351 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14352 return 1;
14353}
14354
14355
14356static PyObject *_wrap_ART_ERROR_get() {
14357 PyObject *pyobj;
14358
14359 {
14360#if wxUSE_UNICODE
14361 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14362#else
14363 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14364#endif
14365 }
14366 return pyobj;
14367}
14368
14369
14370static int _wrap_ART_QUESTION_set(PyObject *_val) {
14371 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14372 return 1;
14373}
14374
14375
14376static PyObject *_wrap_ART_QUESTION_get() {
14377 PyObject *pyobj;
14378
14379 {
14380#if wxUSE_UNICODE
14381 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14382#else
14383 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14384#endif
14385 }
14386 return pyobj;
14387}
14388
14389
14390static int _wrap_ART_WARNING_set(PyObject *_val) {
14391 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14392 return 1;
14393}
14394
14395
14396static PyObject *_wrap_ART_WARNING_get() {
14397 PyObject *pyobj;
14398
14399 {
14400#if wxUSE_UNICODE
14401 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14402#else
14403 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14404#endif
14405 }
14406 return pyobj;
14407}
14408
14409
14410static int _wrap_ART_INFORMATION_set(PyObject *_val) {
14411 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14412 return 1;
14413}
14414
14415
14416static PyObject *_wrap_ART_INFORMATION_get() {
14417 PyObject *pyobj;
14418
14419 {
14420#if wxUSE_UNICODE
14421 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14422#else
14423 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14424#endif
14425 }
14426 return pyobj;
14427}
14428
14429
14430static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
14431 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14432 return 1;
14433}
14434
14435
14436static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14437 PyObject *pyobj;
14438
14439 {
14440#if wxUSE_UNICODE
14441 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14442#else
14443 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14444#endif
14445 }
14446 return pyobj;
14447}
14448
14449
14450static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxPyArtProvider *result;
14453 char *kwnames[] = {
14454 NULL
14455 };
14456
14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14458 {
0439c23b 14459 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14460 PyThreadState* __tstate = wxPyBeginAllowThreads();
14461 result = (wxPyArtProvider *)new wxPyArtProvider();
14462
14463 wxPyEndAllowThreads(__tstate);
110da5b0 14464 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14465 }
14466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14467 return resultobj;
14468 fail:
14469 return NULL;
14470}
14471
14472
14473static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14474 PyObject *resultobj;
14475 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14476 PyObject *arg2 = (PyObject *) 0 ;
14477 PyObject *arg3 = (PyObject *) 0 ;
14478 PyObject * obj0 = 0 ;
14479 PyObject * obj1 = 0 ;
14480 PyObject * obj2 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "self",(char *) "self",(char *) "_class", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14488 arg2 = obj1;
14489 arg3 = obj2;
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 (arg1)->_setCallbackInfo(arg2,arg3);
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 Py_INCREF(Py_None); resultobj = Py_None;
14498 return resultobj;
14499 fail:
14500 return NULL;
14501}
14502
14503
14504static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14505 PyObject *resultobj;
14506 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14507 PyObject * obj0 = 0 ;
14508 char *kwnames[] = {
14509 (char *) "provider", NULL
14510 };
14511
14512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14515 {
14516 PyThreadState* __tstate = wxPyBeginAllowThreads();
14517 wxPyArtProvider::PushProvider(arg1);
14518
14519 wxPyEndAllowThreads(__tstate);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 Py_INCREF(Py_None); resultobj = Py_None;
14523 return resultobj;
14524 fail:
14525 return NULL;
14526}
14527
14528
14529static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14530 PyObject *resultobj;
14531 bool result;
14532 char *kwnames[] = {
14533 NULL
14534 };
14535
14536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14537 {
14538 PyThreadState* __tstate = wxPyBeginAllowThreads();
14539 result = (bool)wxPyArtProvider::PopProvider();
14540
14541 wxPyEndAllowThreads(__tstate);
14542 if (PyErr_Occurred()) SWIG_fail;
14543 }
14544 {
14545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14546 }
14547 return resultobj;
14548 fail:
14549 return NULL;
14550}
14551
14552
14553static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj;
14555 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14556 bool result;
14557 PyObject * obj0 = 0 ;
14558 char *kwnames[] = {
14559 (char *) "provider", NULL
14560 };
14561
14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14565 {
14566 PyThreadState* __tstate = wxPyBeginAllowThreads();
14567 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14568
14569 wxPyEndAllowThreads(__tstate);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 }
14572 {
14573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14574 }
14575 return resultobj;
14576 fail:
14577 return NULL;
14578}
14579
14580
14581static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14582 PyObject *resultobj;
14583 wxString *arg1 = 0 ;
14584 wxString const &arg2_defvalue = wxPyART_OTHER ;
14585 wxString *arg2 = (wxString *) &arg2_defvalue ;
14586 wxSize const &arg3_defvalue = wxDefaultSize ;
14587 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14588 wxBitmap result;
14589 bool temp1 = False ;
14590 bool temp2 = False ;
14591 wxSize temp3 ;
14592 PyObject * obj0 = 0 ;
14593 PyObject * obj1 = 0 ;
14594 PyObject * obj2 = 0 ;
14595 char *kwnames[] = {
14596 (char *) "id",(char *) "client",(char *) "size", NULL
14597 };
14598
14599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14600 {
14601 arg1 = wxString_in_helper(obj0);
14602 if (arg1 == NULL) SWIG_fail;
14603 temp1 = True;
14604 }
14605 if (obj1) {
14606 {
14607 arg2 = wxString_in_helper(obj1);
14608 if (arg2 == NULL) SWIG_fail;
14609 temp2 = True;
14610 }
14611 }
14612 if (obj2) {
14613 {
14614 arg3 = &temp3;
14615 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14616 }
14617 }
14618 {
0439c23b 14619 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14622
14623 wxPyEndAllowThreads(__tstate);
110da5b0 14624 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14625 }
14626 {
14627 wxBitmap * resultptr;
14628 resultptr = new wxBitmap((wxBitmap &) result);
14629 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14630 }
14631 {
14632 if (temp1)
14633 delete arg1;
14634 }
14635 {
14636 if (temp2)
14637 delete arg2;
14638 }
14639 return resultobj;
14640 fail:
14641 {
14642 if (temp1)
14643 delete arg1;
14644 }
14645 {
14646 if (temp2)
14647 delete arg2;
14648 }
14649 return NULL;
14650}
14651
14652
14653static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14654 PyObject *resultobj;
14655 wxString *arg1 = 0 ;
14656 wxString const &arg2_defvalue = wxPyART_OTHER ;
14657 wxString *arg2 = (wxString *) &arg2_defvalue ;
14658 wxSize const &arg3_defvalue = wxDefaultSize ;
14659 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14660 wxIcon result;
14661 bool temp1 = False ;
14662 bool temp2 = False ;
14663 wxSize temp3 ;
14664 PyObject * obj0 = 0 ;
14665 PyObject * obj1 = 0 ;
14666 PyObject * obj2 = 0 ;
14667 char *kwnames[] = {
14668 (char *) "id",(char *) "client",(char *) "size", NULL
14669 };
14670
14671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14672 {
14673 arg1 = wxString_in_helper(obj0);
14674 if (arg1 == NULL) SWIG_fail;
14675 temp1 = True;
14676 }
14677 if (obj1) {
14678 {
14679 arg2 = wxString_in_helper(obj1);
14680 if (arg2 == NULL) SWIG_fail;
14681 temp2 = True;
14682 }
14683 }
14684 if (obj2) {
14685 {
14686 arg3 = &temp3;
14687 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14688 }
14689 }
14690 {
0439c23b 14691 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14692 PyThreadState* __tstate = wxPyBeginAllowThreads();
14693 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14694
14695 wxPyEndAllowThreads(__tstate);
110da5b0 14696 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14697 }
14698 {
14699 wxIcon * resultptr;
14700 resultptr = new wxIcon((wxIcon &) result);
14701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14702 }
14703 {
14704 if (temp1)
14705 delete arg1;
14706 }
14707 {
14708 if (temp2)
14709 delete arg2;
14710 }
14711 return resultobj;
14712 fail:
14713 {
14714 if (temp1)
14715 delete arg1;
14716 }
14717 {
14718 if (temp2)
14719 delete arg2;
14720 }
14721 return NULL;
14722}
14723
14724
14725static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14726 PyObject *resultobj;
14727 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14728 PyObject * obj0 = 0 ;
14729 char *kwnames[] = {
14730 (char *) "self", NULL
14731 };
14732
14733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14736 {
14737 PyThreadState* __tstate = wxPyBeginAllowThreads();
14738 wxPyArtProvider_Destroy(arg1);
14739
14740 wxPyEndAllowThreads(__tstate);
14741 if (PyErr_Occurred()) SWIG_fail;
14742 }
14743 Py_INCREF(Py_None); resultobj = Py_None;
14744 return resultobj;
14745 fail:
14746 return NULL;
14747}
14748
14749
14750static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14751 PyObject *obj;
14752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14753 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14754 Py_INCREF(obj);
14755 return Py_BuildValue((char *)"");
14756}
14757static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14758 PyObject *resultobj;
14759 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14760 PyObject * obj0 = 0 ;
14761 char *kwnames[] = {
14762 (char *) "self", NULL
14763 };
14764
14765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14768 {
14769 PyThreadState* __tstate = wxPyBeginAllowThreads();
14770 delete arg1;
14771
14772 wxPyEndAllowThreads(__tstate);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
14775 Py_INCREF(Py_None); resultobj = Py_None;
14776 return resultobj;
14777 fail:
14778 return NULL;
14779}
14780
14781
14782static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj;
14784 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14785 wxConfigBase *result;
14786 PyObject * obj0 = 0 ;
14787 char *kwnames[] = {
14788 (char *) "config", NULL
14789 };
14790
14791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14794 {
14795 PyThreadState* __tstate = wxPyBeginAllowThreads();
14796 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14797
14798 wxPyEndAllowThreads(__tstate);
14799 if (PyErr_Occurred()) SWIG_fail;
14800 }
14801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14802 return resultobj;
14803 fail:
14804 return NULL;
14805}
14806
14807
14808static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14809 PyObject *resultobj;
14810 bool arg1 = (bool) True ;
14811 wxConfigBase *result;
14812 PyObject * obj0 = 0 ;
14813 char *kwnames[] = {
14814 (char *) "createOnDemand", NULL
14815 };
14816
14817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14818 if (obj0) {
14819 arg1 = (bool) SWIG_AsBool(obj0);
14820 if (PyErr_Occurred()) SWIG_fail;
14821 }
14822 {
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
14824 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14825
14826 wxPyEndAllowThreads(__tstate);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14830 return resultobj;
14831 fail:
14832 return NULL;
14833}
14834
14835
14836static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14837 PyObject *resultobj;
14838 wxConfigBase *result;
14839 char *kwnames[] = {
14840 NULL
14841 };
14842
14843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14844 {
14845 PyThreadState* __tstate = wxPyBeginAllowThreads();
14846 result = (wxConfigBase *)wxConfigBase::Create();
14847
14848 wxPyEndAllowThreads(__tstate);
14849 if (PyErr_Occurred()) SWIG_fail;
14850 }
14851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14852 return resultobj;
14853 fail:
14854 return NULL;
14855}
14856
14857
14858static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14859 PyObject *resultobj;
14860 char *kwnames[] = {
14861 NULL
14862 };
14863
14864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14865 {
14866 PyThreadState* __tstate = wxPyBeginAllowThreads();
14867 wxConfigBase::DontCreateOnDemand();
14868
14869 wxPyEndAllowThreads(__tstate);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 Py_INCREF(Py_None); resultobj = Py_None;
14873 return resultobj;
14874 fail:
14875 return NULL;
14876}
14877
14878
14879static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14880 PyObject *resultobj;
14881 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14882 wxString *arg2 = 0 ;
14883 bool temp2 = False ;
14884 PyObject * obj0 = 0 ;
14885 PyObject * obj1 = 0 ;
14886 char *kwnames[] = {
14887 (char *) "self",(char *) "path", NULL
14888 };
14889
14890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14893 {
14894 arg2 = wxString_in_helper(obj1);
14895 if (arg2 == NULL) SWIG_fail;
14896 temp2 = True;
14897 }
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 (arg1)->SetPath((wxString const &)*arg2);
14901
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 Py_INCREF(Py_None); resultobj = Py_None;
14906 {
14907 if (temp2)
14908 delete arg2;
14909 }
14910 return resultobj;
14911 fail:
14912 {
14913 if (temp2)
14914 delete arg2;
14915 }
14916 return NULL;
14917}
14918
14919
14920static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14921 PyObject *resultobj;
14922 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14923 wxString *result;
14924 PyObject * obj0 = 0 ;
14925 char *kwnames[] = {
14926 (char *) "self", NULL
14927 };
14928
14929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14932 {
14933 PyThreadState* __tstate = wxPyBeginAllowThreads();
14934 {
14935 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14936 result = (wxString *) &_result_ref;
14937 }
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 {
14943#if wxUSE_UNICODE
14944 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14945#else
14946 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14947#endif
14948 }
14949 return resultobj;
14950 fail:
14951 return NULL;
14952}
14953
14954
14955static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj;
14957 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14958 PyObject *result;
14959 PyObject * obj0 = 0 ;
14960 char *kwnames[] = {
14961 (char *) "self", NULL
14962 };
14963
14964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14970
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 resultobj = result;
14975 return resultobj;
14976 fail:
14977 return NULL;
14978}
14979
14980
14981static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14982 PyObject *resultobj;
14983 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14984 long arg2 ;
14985 PyObject *result;
14986 PyObject * obj0 = 0 ;
14987 PyObject * obj1 = 0 ;
14988 char *kwnames[] = {
14989 (char *) "self",(char *) "index", NULL
14990 };
14991
14992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14995 arg2 = (long) SWIG_AsLong(obj1);
14996 if (PyErr_Occurred()) SWIG_fail;
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 resultobj = result;
15005 return resultobj;
15006 fail:
15007 return NULL;
15008}
15009
15010
15011static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj;
15013 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15014 PyObject *result;
15015 PyObject * obj0 = 0 ;
15016 char *kwnames[] = {
15017 (char *) "self", NULL
15018 };
15019
15020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
15021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15023 {
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
15026
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 resultobj = result;
15031 return resultobj;
15032 fail:
15033 return NULL;
15034}
15035
15036
15037static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15038 PyObject *resultobj;
15039 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15040 long arg2 ;
15041 PyObject *result;
15042 PyObject * obj0 = 0 ;
15043 PyObject * obj1 = 0 ;
15044 char *kwnames[] = {
15045 (char *) "self",(char *) "index", NULL
15046 };
15047
15048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
15049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15051 arg2 = (long) SWIG_AsLong(obj1);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
15056
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 resultobj = result;
15061 return resultobj;
15062 fail:
15063 return NULL;
15064}
15065
15066
15067static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
15068 PyObject *resultobj;
15069 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15070 bool arg2 = (bool) False ;
15071 size_t result;
15072 PyObject * obj0 = 0 ;
15073 PyObject * obj1 = 0 ;
15074 char *kwnames[] = {
15075 (char *) "self",(char *) "recursive", NULL
15076 };
15077
15078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
15079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15081 if (obj1) {
15082 arg2 = (bool) SWIG_AsBool(obj1);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 {
15086 PyThreadState* __tstate = wxPyBeginAllowThreads();
15087 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
15088
15089 wxPyEndAllowThreads(__tstate);
15090 if (PyErr_Occurred()) SWIG_fail;
15091 }
15092 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
15093 return resultobj;
15094 fail:
15095 return NULL;
15096}
15097
15098
15099static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
15100 PyObject *resultobj;
15101 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15102 bool arg2 = (bool) False ;
15103 size_t result;
15104 PyObject * obj0 = 0 ;
15105 PyObject * obj1 = 0 ;
15106 char *kwnames[] = {
15107 (char *) "self",(char *) "recursive", NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
15111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15113 if (obj1) {
15114 arg2 = (bool) SWIG_AsBool(obj1);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 {
15118 PyThreadState* __tstate = wxPyBeginAllowThreads();
15119 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
15120
15121 wxPyEndAllowThreads(__tstate);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
15125 return resultobj;
15126 fail:
15127 return NULL;
15128}
15129
15130
15131static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15132 PyObject *resultobj;
15133 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15134 wxString *arg2 = 0 ;
15135 bool result;
15136 bool temp2 = False ;
15137 PyObject * obj0 = 0 ;
15138 PyObject * obj1 = 0 ;
15139 char *kwnames[] = {
15140 (char *) "self",(char *) "name", NULL
15141 };
15142
15143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
15144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15146 {
15147 arg2 = wxString_in_helper(obj1);
15148 if (arg2 == NULL) SWIG_fail;
15149 temp2 = True;
15150 }
15151 {
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
15154
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 {
15159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15160 }
15161 {
15162 if (temp2)
15163 delete arg2;
15164 }
15165 return resultobj;
15166 fail:
15167 {
15168 if (temp2)
15169 delete arg2;
15170 }
15171 return NULL;
15172}
15173
15174
15175static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15176 PyObject *resultobj;
15177 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15178 wxString *arg2 = 0 ;
15179 bool result;
15180 bool temp2 = False ;
15181 PyObject * obj0 = 0 ;
15182 PyObject * obj1 = 0 ;
15183 char *kwnames[] = {
15184 (char *) "self",(char *) "name", NULL
15185 };
15186
15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15190 {
15191 arg2 = wxString_in_helper(obj1);
15192 if (arg2 == NULL) SWIG_fail;
15193 temp2 = True;
15194 }
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15198
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
15202 {
15203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15204 }
15205 {
15206 if (temp2)
15207 delete arg2;
15208 }
15209 return resultobj;
15210 fail:
15211 {
15212 if (temp2)
15213 delete arg2;
15214 }
15215 return NULL;
15216}
15217
15218
15219static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15222 wxString *arg2 = 0 ;
15223 bool result;
15224 bool temp2 = False ;
15225 PyObject * obj0 = 0 ;
15226 PyObject * obj1 = 0 ;
15227 char *kwnames[] = {
15228 (char *) "self",(char *) "name", NULL
15229 };
15230
15231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15234 {
15235 arg2 = wxString_in_helper(obj1);
15236 if (arg2 == NULL) SWIG_fail;
15237 temp2 = True;
15238 }
15239 {
15240 PyThreadState* __tstate = wxPyBeginAllowThreads();
15241 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15242
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 {
15247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15248 }
15249 {
15250 if (temp2)
15251 delete arg2;
15252 }
15253 return resultobj;
15254 fail:
15255 {
15256 if (temp2)
15257 delete arg2;
15258 }
15259 return NULL;
15260}
15261
15262
15263static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15266 wxString *arg2 = 0 ;
15267 int result;
15268 bool temp2 = False ;
15269 PyObject * obj0 = 0 ;
15270 PyObject * obj1 = 0 ;
15271 char *kwnames[] = {
15272 (char *) "self",(char *) "name", NULL
15273 };
15274
15275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15278 {
15279 arg2 = wxString_in_helper(obj1);
15280 if (arg2 == NULL) SWIG_fail;
15281 temp2 = True;
15282 }
15283 {
15284 PyThreadState* __tstate = wxPyBeginAllowThreads();
15285 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15286
15287 wxPyEndAllowThreads(__tstate);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 resultobj = SWIG_FromInt((int)result);
15291 {
15292 if (temp2)
15293 delete arg2;
15294 }
15295 return resultobj;
15296 fail:
15297 {
15298 if (temp2)
15299 delete arg2;
15300 }
15301 return NULL;
15302}
15303
15304
15305static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15308 wxString *arg2 = 0 ;
15309 wxString const &arg3_defvalue = wxPyEmptyString ;
15310 wxString *arg3 = (wxString *) &arg3_defvalue ;
15311 wxString result;
15312 bool temp2 = False ;
15313 bool temp3 = False ;
15314 PyObject * obj0 = 0 ;
15315 PyObject * obj1 = 0 ;
15316 PyObject * obj2 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15324 {
15325 arg2 = wxString_in_helper(obj1);
15326 if (arg2 == NULL) SWIG_fail;
15327 temp2 = True;
15328 }
15329 if (obj2) {
15330 {
15331 arg3 = wxString_in_helper(obj2);
15332 if (arg3 == NULL) SWIG_fail;
15333 temp3 = True;
15334 }
15335 }
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 {
15344#if wxUSE_UNICODE
15345 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15346#else
15347 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15348#endif
15349 }
15350 {
15351 if (temp2)
15352 delete arg2;
15353 }
15354 {
15355 if (temp3)
15356 delete arg3;
15357 }
15358 return resultobj;
15359 fail:
15360 {
15361 if (temp2)
15362 delete arg2;
15363 }
15364 {
15365 if (temp3)
15366 delete arg3;
15367 }
15368 return NULL;
15369}
15370
15371
15372static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15373 PyObject *resultobj;
15374 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15375 wxString *arg2 = 0 ;
15376 long arg3 = (long) 0 ;
15377 long result;
15378 bool temp2 = False ;
15379 PyObject * obj0 = 0 ;
15380 PyObject * obj1 = 0 ;
15381 PyObject * obj2 = 0 ;
15382 char *kwnames[] = {
15383 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15389 {
15390 arg2 = wxString_in_helper(obj1);
15391 if (arg2 == NULL) SWIG_fail;
15392 temp2 = True;
15393 }
15394 if (obj2) {
15395 arg3 = (long) SWIG_AsLong(obj2);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15401
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 resultobj = SWIG_FromLong((long)result);
15406 {
15407 if (temp2)
15408 delete arg2;
15409 }
15410 return resultobj;
15411 fail:
15412 {
15413 if (temp2)
15414 delete arg2;
15415 }
15416 return NULL;
15417}
15418
15419
15420static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15421 PyObject *resultobj;
15422 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15423 wxString *arg2 = 0 ;
15424 double arg3 = (double) 0.0 ;
15425 double result;
15426 bool temp2 = False ;
15427 PyObject * obj0 = 0 ;
15428 PyObject * obj1 = 0 ;
15429 PyObject * obj2 = 0 ;
15430 char *kwnames[] = {
15431 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15432 };
15433
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15437 {
15438 arg2 = wxString_in_helper(obj1);
15439 if (arg2 == NULL) SWIG_fail;
15440 temp2 = True;
15441 }
15442 if (obj2) {
15443 arg3 = (double) SWIG_AsDouble(obj2);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 resultobj = SWIG_FromDouble((double)result);
15454 {
15455 if (temp2)
15456 delete arg2;
15457 }
15458 return resultobj;
15459 fail:
15460 {
15461 if (temp2)
15462 delete arg2;
15463 }
15464 return NULL;
15465}
15466
15467
15468static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15469 PyObject *resultobj;
15470 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15471 wxString *arg2 = 0 ;
15472 bool arg3 = (bool) False ;
15473 bool result;
15474 bool temp2 = False ;
15475 PyObject * obj0 = 0 ;
15476 PyObject * obj1 = 0 ;
15477 PyObject * obj2 = 0 ;
15478 char *kwnames[] = {
15479 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15480 };
15481
15482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15485 {
15486 arg2 = wxString_in_helper(obj1);
15487 if (arg2 == NULL) SWIG_fail;
15488 temp2 = True;
15489 }
15490 if (obj2) {
15491 arg3 = (bool) SWIG_AsBool(obj2);
15492 if (PyErr_Occurred()) SWIG_fail;
15493 }
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 {
15502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15503 }
15504 {
15505 if (temp2)
15506 delete arg2;
15507 }
15508 return resultobj;
15509 fail:
15510 {
15511 if (temp2)
15512 delete arg2;
15513 }
15514 return NULL;
15515}
15516
15517
15518static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15519 PyObject *resultobj;
15520 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15521 wxString *arg2 = 0 ;
15522 wxString *arg3 = 0 ;
15523 bool result;
15524 bool temp2 = False ;
15525 bool temp3 = False ;
15526 PyObject * obj0 = 0 ;
15527 PyObject * obj1 = 0 ;
15528 PyObject * obj2 = 0 ;
15529 char *kwnames[] = {
15530 (char *) "self",(char *) "key",(char *) "value", NULL
15531 };
15532
15533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15536 {
15537 arg2 = wxString_in_helper(obj1);
15538 if (arg2 == NULL) SWIG_fail;
15539 temp2 = True;
15540 }
15541 {
15542 arg3 = wxString_in_helper(obj2);
15543 if (arg3 == NULL) SWIG_fail;
15544 temp3 = True;
15545 }
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15549
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 {
15554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15555 }
15556 {
15557 if (temp2)
15558 delete arg2;
15559 }
15560 {
15561 if (temp3)
15562 delete arg3;
15563 }
15564 return resultobj;
15565 fail:
15566 {
15567 if (temp2)
15568 delete arg2;
15569 }
15570 {
15571 if (temp3)
15572 delete arg3;
15573 }
15574 return NULL;
15575}
15576
15577
15578static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15581 wxString *arg2 = 0 ;
15582 long arg3 ;
15583 bool result;
15584 bool temp2 = False ;
15585 PyObject * obj0 = 0 ;
15586 PyObject * obj1 = 0 ;
15587 PyObject * obj2 = 0 ;
15588 char *kwnames[] = {
15589 (char *) "self",(char *) "key",(char *) "value", NULL
15590 };
15591
15592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15595 {
15596 arg2 = wxString_in_helper(obj1);
15597 if (arg2 == NULL) SWIG_fail;
15598 temp2 = True;
15599 }
15600 arg3 = (long) SWIG_AsLong(obj2);
15601 if (PyErr_Occurred()) SWIG_fail;
15602 {
15603 PyThreadState* __tstate = wxPyBeginAllowThreads();
15604 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15605
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 {
15610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15611 }
15612 {
15613 if (temp2)
15614 delete arg2;
15615 }
15616 return resultobj;
15617 fail:
15618 {
15619 if (temp2)
15620 delete arg2;
15621 }
15622 return NULL;
15623}
15624
15625
15626static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15629 wxString *arg2 = 0 ;
15630 double arg3 ;
15631 bool result;
15632 bool temp2 = False ;
15633 PyObject * obj0 = 0 ;
15634 PyObject * obj1 = 0 ;
15635 PyObject * obj2 = 0 ;
15636 char *kwnames[] = {
15637 (char *) "self",(char *) "key",(char *) "value", NULL
15638 };
15639
15640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15643 {
15644 arg2 = wxString_in_helper(obj1);
15645 if (arg2 == NULL) SWIG_fail;
15646 temp2 = True;
15647 }
15648 arg3 = (double) SWIG_AsDouble(obj2);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 {
15651 PyThreadState* __tstate = wxPyBeginAllowThreads();
15652 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15653
15654 wxPyEndAllowThreads(__tstate);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 }
15657 {
15658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15659 }
15660 {
15661 if (temp2)
15662 delete arg2;
15663 }
15664 return resultobj;
15665 fail:
15666 {
15667 if (temp2)
15668 delete arg2;
15669 }
15670 return NULL;
15671}
15672
15673
15674static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15675 PyObject *resultobj;
15676 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15677 wxString *arg2 = 0 ;
15678 bool arg3 ;
15679 bool result;
15680 bool temp2 = False ;
15681 PyObject * obj0 = 0 ;
15682 PyObject * obj1 = 0 ;
15683 PyObject * obj2 = 0 ;
15684 char *kwnames[] = {
15685 (char *) "self",(char *) "key",(char *) "value", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15691 {
15692 arg2 = wxString_in_helper(obj1);
15693 if (arg2 == NULL) SWIG_fail;
15694 temp2 = True;
15695 }
15696 arg3 = (bool) SWIG_AsBool(obj2);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15701
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 {
15706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15707 }
15708 {
15709 if (temp2)
15710 delete arg2;
15711 }
15712 return resultobj;
15713 fail:
15714 {
15715 if (temp2)
15716 delete arg2;
15717 }
15718 return NULL;
15719}
15720
15721
15722static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15723 PyObject *resultobj;
15724 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15725 bool arg2 = (bool) False ;
15726 bool result;
15727 PyObject * obj0 = 0 ;
15728 PyObject * obj1 = 0 ;
15729 char *kwnames[] = {
15730 (char *) "self",(char *) "currentOnly", NULL
15731 };
15732
15733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15736 if (obj1) {
15737 arg2 = (bool) SWIG_AsBool(obj1);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 result = (bool)(arg1)->Flush(arg2);
15743
15744 wxPyEndAllowThreads(__tstate);
15745 if (PyErr_Occurred()) SWIG_fail;
15746 }
15747 {
15748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15749 }
15750 return resultobj;
15751 fail:
15752 return NULL;
15753}
15754
15755
15756static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15757 PyObject *resultobj;
15758 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15759 wxString *arg2 = 0 ;
15760 wxString *arg3 = 0 ;
15761 bool result;
15762 bool temp2 = False ;
15763 bool temp3 = False ;
15764 PyObject * obj0 = 0 ;
15765 PyObject * obj1 = 0 ;
15766 PyObject * obj2 = 0 ;
15767 char *kwnames[] = {
15768 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15769 };
15770
15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15774 {
15775 arg2 = wxString_in_helper(obj1);
15776 if (arg2 == NULL) SWIG_fail;
15777 temp2 = True;
15778 }
15779 {
15780 arg3 = wxString_in_helper(obj2);
15781 if (arg3 == NULL) SWIG_fail;
15782 temp3 = True;
15783 }
15784 {
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15787
15788 wxPyEndAllowThreads(__tstate);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 }
15791 {
15792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15793 }
15794 {
15795 if (temp2)
15796 delete arg2;
15797 }
15798 {
15799 if (temp3)
15800 delete arg3;
15801 }
15802 return resultobj;
15803 fail:
15804 {
15805 if (temp2)
15806 delete arg2;
15807 }
15808 {
15809 if (temp3)
15810 delete arg3;
15811 }
15812 return NULL;
15813}
15814
15815
15816static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15817 PyObject *resultobj;
15818 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15819 wxString *arg2 = 0 ;
15820 wxString *arg3 = 0 ;
15821 bool result;
15822 bool temp2 = False ;
15823 bool temp3 = False ;
15824 PyObject * obj0 = 0 ;
15825 PyObject * obj1 = 0 ;
15826 PyObject * obj2 = 0 ;
15827 char *kwnames[] = {
15828 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15829 };
15830
15831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15834 {
15835 arg2 = wxString_in_helper(obj1);
15836 if (arg2 == NULL) SWIG_fail;
15837 temp2 = True;
15838 }
15839 {
15840 arg3 = wxString_in_helper(obj2);
15841 if (arg3 == NULL) SWIG_fail;
15842 temp3 = True;
15843 }
15844 {
15845 PyThreadState* __tstate = wxPyBeginAllowThreads();
15846 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15847
15848 wxPyEndAllowThreads(__tstate);
15849 if (PyErr_Occurred()) SWIG_fail;
15850 }
15851 {
15852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15853 }
15854 {
15855 if (temp2)
15856 delete arg2;
15857 }
15858 {
15859 if (temp3)
15860 delete arg3;
15861 }
15862 return resultobj;
15863 fail:
15864 {
15865 if (temp2)
15866 delete arg2;
15867 }
15868 {
15869 if (temp3)
15870 delete arg3;
15871 }
15872 return NULL;
15873}
15874
15875
15876static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15877 PyObject *resultobj;
15878 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15879 wxString *arg2 = 0 ;
15880 bool arg3 = (bool) True ;
15881 bool result;
15882 bool temp2 = False ;
15883 PyObject * obj0 = 0 ;
15884 PyObject * obj1 = 0 ;
15885 PyObject * obj2 = 0 ;
15886 char *kwnames[] = {
15887 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15888 };
15889
15890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15893 {
15894 arg2 = wxString_in_helper(obj1);
15895 if (arg2 == NULL) SWIG_fail;
15896 temp2 = True;
15897 }
15898 if (obj2) {
15899 arg3 = (bool) SWIG_AsBool(obj2);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 {
15903 PyThreadState* __tstate = wxPyBeginAllowThreads();
15904 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15905
15906 wxPyEndAllowThreads(__tstate);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 {
15910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15911 }
15912 {
15913 if (temp2)
15914 delete arg2;
15915 }
15916 return resultobj;
15917 fail:
15918 {
15919 if (temp2)
15920 delete arg2;
15921 }
15922 return NULL;
15923}
15924
15925
15926static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15927 PyObject *resultobj;
15928 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15929 wxString *arg2 = 0 ;
15930 bool result;
15931 bool temp2 = False ;
15932 PyObject * obj0 = 0 ;
15933 PyObject * obj1 = 0 ;
15934 char *kwnames[] = {
15935 (char *) "self",(char *) "key", NULL
15936 };
15937
15938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15941 {
15942 arg2 = wxString_in_helper(obj1);
15943 if (arg2 == NULL) SWIG_fail;
15944 temp2 = True;
15945 }
15946 {
15947 PyThreadState* __tstate = wxPyBeginAllowThreads();
15948 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15949
15950 wxPyEndAllowThreads(__tstate);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 }
15953 {
15954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15955 }
15956 {
15957 if (temp2)
15958 delete arg2;
15959 }
15960 return resultobj;
15961 fail:
15962 {
15963 if (temp2)
15964 delete arg2;
15965 }
15966 return NULL;
15967}
15968
15969
15970static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15971 PyObject *resultobj;
15972 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15973 bool result;
15974 PyObject * obj0 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15982 {
15983 PyThreadState* __tstate = wxPyBeginAllowThreads();
15984 result = (bool)(arg1)->DeleteAll();
15985
15986 wxPyEndAllowThreads(__tstate);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 }
15989 {
15990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15991 }
15992 return resultobj;
15993 fail:
15994 return NULL;
15995}
15996
15997
15998static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15999 PyObject *resultobj;
16000 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16001 bool arg2 = (bool) True ;
16002 PyObject * obj0 = 0 ;
16003 PyObject * obj1 = 0 ;
16004 char *kwnames[] = {
16005 (char *) "self",(char *) "doIt", NULL
16006 };
16007
16008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16011 if (obj1) {
16012 arg2 = (bool) SWIG_AsBool(obj1);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
16015 {
16016 PyThreadState* __tstate = wxPyBeginAllowThreads();
16017 (arg1)->SetExpandEnvVars(arg2);
16018
16019 wxPyEndAllowThreads(__tstate);
16020 if (PyErr_Occurred()) SWIG_fail;
16021 }
16022 Py_INCREF(Py_None); resultobj = Py_None;
16023 return resultobj;
16024 fail:
16025 return NULL;
16026}
16027
16028
16029static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16030 PyObject *resultobj;
16031 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16032 bool result;
16033 PyObject * obj0 = 0 ;
16034 char *kwnames[] = {
16035 (char *) "self", NULL
16036 };
16037
16038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
16039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16041 {
16042 PyThreadState* __tstate = wxPyBeginAllowThreads();
16043 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
16044
16045 wxPyEndAllowThreads(__tstate);
16046 if (PyErr_Occurred()) SWIG_fail;
16047 }
16048 {
16049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16050 }
16051 return resultobj;
16052 fail:
16053 return NULL;
16054}
16055
16056
16057static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
16058 PyObject *resultobj;
16059 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16060 bool arg2 = (bool) True ;
16061 PyObject * obj0 = 0 ;
16062 PyObject * obj1 = 0 ;
16063 char *kwnames[] = {
16064 (char *) "self",(char *) "doIt", NULL
16065 };
16066
16067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
16068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16070 if (obj1) {
16071 arg2 = (bool) SWIG_AsBool(obj1);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 }
16074 {
16075 PyThreadState* __tstate = wxPyBeginAllowThreads();
16076 (arg1)->SetRecordDefaults(arg2);
16077
16078 wxPyEndAllowThreads(__tstate);
16079 if (PyErr_Occurred()) SWIG_fail;
16080 }
16081 Py_INCREF(Py_None); resultobj = Py_None;
16082 return resultobj;
16083 fail:
16084 return NULL;
16085}
16086
16087
16088static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
16089 PyObject *resultobj;
16090 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16091 bool result;
16092 PyObject * obj0 = 0 ;
16093 char *kwnames[] = {
16094 (char *) "self", NULL
16095 };
16096
16097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
16098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16100 {
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
16103
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 {
16108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16109 }
16110 return resultobj;
16111 fail:
16112 return NULL;
16113}
16114
16115
16116static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16117 PyObject *resultobj;
16118 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16119 wxString *arg2 = 0 ;
16120 wxString result;
16121 bool temp2 = False ;
16122 PyObject * obj0 = 0 ;
16123 PyObject * obj1 = 0 ;
16124 char *kwnames[] = {
16125 (char *) "self",(char *) "str", NULL
16126 };
16127
16128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16131 {
16132 arg2 = wxString_in_helper(obj1);
16133 if (arg2 == NULL) SWIG_fail;
16134 temp2 = True;
16135 }
16136 {
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
16139
16140 wxPyEndAllowThreads(__tstate);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 }
16143 {
16144#if wxUSE_UNICODE
16145 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16146#else
16147 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16148#endif
16149 }
16150 {
16151 if (temp2)
16152 delete arg2;
16153 }
16154 return resultobj;
16155 fail:
16156 {
16157 if (temp2)
16158 delete arg2;
16159 }
16160 return NULL;
16161}
16162
16163
16164static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16167 wxString result;
16168 PyObject * obj0 = 0 ;
16169 char *kwnames[] = {
16170 (char *) "self", NULL
16171 };
16172
16173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
16174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16176 {
16177 PyThreadState* __tstate = wxPyBeginAllowThreads();
16178 result = ((wxConfigBase const *)arg1)->GetAppName();
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 {
16184#if wxUSE_UNICODE
16185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16186#else
16187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16188#endif
16189 }
16190 return resultobj;
16191 fail:
16192 return NULL;
16193}
16194
16195
16196static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16197 PyObject *resultobj;
16198 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16199 wxString result;
16200 PyObject * obj0 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
16210 result = ((wxConfigBase const *)arg1)->GetVendorName();
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 {
16216#if wxUSE_UNICODE
16217 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16218#else
16219 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16220#endif
16221 }
16222 return resultobj;
16223 fail:
16224 return NULL;
16225}
16226
16227
16228static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj;
16230 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16231 wxString *arg2 = 0 ;
16232 bool temp2 = False ;
16233 PyObject * obj0 = 0 ;
16234 PyObject * obj1 = 0 ;
16235 char *kwnames[] = {
16236 (char *) "self",(char *) "appName", NULL
16237 };
16238
16239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16242 {
16243 arg2 = wxString_in_helper(obj1);
16244 if (arg2 == NULL) SWIG_fail;
16245 temp2 = True;
16246 }
16247 {
16248 PyThreadState* __tstate = wxPyBeginAllowThreads();
16249 (arg1)->SetAppName((wxString const &)*arg2);
16250
16251 wxPyEndAllowThreads(__tstate);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 Py_INCREF(Py_None); resultobj = Py_None;
16255 {
16256 if (temp2)
16257 delete arg2;
16258 }
16259 return resultobj;
16260 fail:
16261 {
16262 if (temp2)
16263 delete arg2;
16264 }
16265 return NULL;
16266}
16267
16268
16269static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16270 PyObject *resultobj;
16271 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16272 wxString *arg2 = 0 ;
16273 bool temp2 = False ;
16274 PyObject * obj0 = 0 ;
16275 PyObject * obj1 = 0 ;
16276 char *kwnames[] = {
16277 (char *) "self",(char *) "vendorName", NULL
16278 };
16279
16280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16283 {
16284 arg2 = wxString_in_helper(obj1);
16285 if (arg2 == NULL) SWIG_fail;
16286 temp2 = True;
16287 }
16288 {
16289 PyThreadState* __tstate = wxPyBeginAllowThreads();
16290 (arg1)->SetVendorName((wxString const &)*arg2);
16291
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 Py_INCREF(Py_None); resultobj = Py_None;
16296 {
16297 if (temp2)
16298 delete arg2;
16299 }
16300 return resultobj;
16301 fail:
16302 {
16303 if (temp2)
16304 delete arg2;
16305 }
16306 return NULL;
16307}
16308
16309
16310static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16311 PyObject *resultobj;
16312 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16313 long arg2 ;
16314 PyObject * obj0 = 0 ;
16315 PyObject * obj1 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self",(char *) "style", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16323 arg2 = (long) SWIG_AsLong(obj1);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
16327 (arg1)->SetStyle(arg2);
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
16332 Py_INCREF(Py_None); resultobj = Py_None;
16333 return resultobj;
16334 fail:
16335 return NULL;
16336}
16337
16338
16339static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16342 long result;
16343 PyObject * obj0 = 0 ;
16344 char *kwnames[] = {
16345 (char *) "self", NULL
16346 };
16347
16348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 resultobj = SWIG_FromLong((long)result);
16359 return resultobj;
16360 fail:
16361 return NULL;
16362}
16363
16364
16365static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
16366 PyObject *obj;
16367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16368 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16369 Py_INCREF(obj);
16370 return Py_BuildValue((char *)"");
16371}
16372static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16373 PyObject *resultobj;
16374 wxString const &arg1_defvalue = wxPyEmptyString ;
16375 wxString *arg1 = (wxString *) &arg1_defvalue ;
16376 wxString const &arg2_defvalue = wxPyEmptyString ;
16377 wxString *arg2 = (wxString *) &arg2_defvalue ;
16378 wxString const &arg3_defvalue = wxPyEmptyString ;
16379 wxString *arg3 = (wxString *) &arg3_defvalue ;
16380 wxString const &arg4_defvalue = wxPyEmptyString ;
16381 wxString *arg4 = (wxString *) &arg4_defvalue ;
16382 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16383 wxConfig *result;
16384 bool temp1 = False ;
16385 bool temp2 = False ;
16386 bool temp3 = False ;
16387 bool temp4 = False ;
16388 PyObject * obj0 = 0 ;
16389 PyObject * obj1 = 0 ;
16390 PyObject * obj2 = 0 ;
16391 PyObject * obj3 = 0 ;
16392 PyObject * obj4 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16398 if (obj0) {
16399 {
16400 arg1 = wxString_in_helper(obj0);
16401 if (arg1 == NULL) SWIG_fail;
16402 temp1 = True;
16403 }
16404 }
16405 if (obj1) {
16406 {
16407 arg2 = wxString_in_helper(obj1);
16408 if (arg2 == NULL) SWIG_fail;
16409 temp2 = True;
16410 }
16411 }
16412 if (obj2) {
16413 {
16414 arg3 = wxString_in_helper(obj2);
16415 if (arg3 == NULL) SWIG_fail;
16416 temp3 = True;
16417 }
16418 }
16419 if (obj3) {
16420 {
16421 arg4 = wxString_in_helper(obj3);
16422 if (arg4 == NULL) SWIG_fail;
16423 temp4 = True;
16424 }
16425 }
16426 if (obj4) {
16427 arg5 = (long) SWIG_AsLong(obj4);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16438 {
16439 if (temp1)
16440 delete arg1;
16441 }
16442 {
16443 if (temp2)
16444 delete arg2;
16445 }
16446 {
16447 if (temp3)
16448 delete arg3;
16449 }
16450 {
16451 if (temp4)
16452 delete arg4;
16453 }
16454 return resultobj;
16455 fail:
16456 {
16457 if (temp1)
16458 delete arg1;
16459 }
16460 {
16461 if (temp2)
16462 delete arg2;
16463 }
16464 {
16465 if (temp3)
16466 delete arg3;
16467 }
16468 {
16469 if (temp4)
16470 delete arg4;
16471 }
16472 return NULL;
16473}
16474
16475
16476static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxConfig *arg1 = (wxConfig *) 0 ;
16479 PyObject * obj0 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 delete arg1;
16490
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 Py_INCREF(Py_None); resultobj = Py_None;
16495 return resultobj;
16496 fail:
16497 return NULL;
16498}
16499
16500
16501static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16502 PyObject *obj;
16503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16504 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16505 Py_INCREF(obj);
16506 return Py_BuildValue((char *)"");
16507}
16508static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16509 PyObject *resultobj;
16510 wxString const &arg1_defvalue = wxPyEmptyString ;
16511 wxString *arg1 = (wxString *) &arg1_defvalue ;
16512 wxString const &arg2_defvalue = wxPyEmptyString ;
16513 wxString *arg2 = (wxString *) &arg2_defvalue ;
16514 wxString const &arg3_defvalue = wxPyEmptyString ;
16515 wxString *arg3 = (wxString *) &arg3_defvalue ;
16516 wxString const &arg4_defvalue = wxPyEmptyString ;
16517 wxString *arg4 = (wxString *) &arg4_defvalue ;
16518 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16519 wxFileConfig *result;
16520 bool temp1 = False ;
16521 bool temp2 = False ;
16522 bool temp3 = False ;
16523 bool temp4 = False ;
16524 PyObject * obj0 = 0 ;
16525 PyObject * obj1 = 0 ;
16526 PyObject * obj2 = 0 ;
16527 PyObject * obj3 = 0 ;
16528 PyObject * obj4 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16534 if (obj0) {
16535 {
16536 arg1 = wxString_in_helper(obj0);
16537 if (arg1 == NULL) SWIG_fail;
16538 temp1 = True;
16539 }
16540 }
16541 if (obj1) {
16542 {
16543 arg2 = wxString_in_helper(obj1);
16544 if (arg2 == NULL) SWIG_fail;
16545 temp2 = True;
16546 }
16547 }
16548 if (obj2) {
16549 {
16550 arg3 = wxString_in_helper(obj2);
16551 if (arg3 == NULL) SWIG_fail;
16552 temp3 = True;
16553 }
16554 }
16555 if (obj3) {
16556 {
16557 arg4 = wxString_in_helper(obj3);
16558 if (arg4 == NULL) SWIG_fail;
16559 temp4 = True;
16560 }
16561 }
16562 if (obj4) {
16563 arg5 = (long) SWIG_AsLong(obj4);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16574 {
16575 if (temp1)
16576 delete arg1;
16577 }
16578 {
16579 if (temp2)
16580 delete arg2;
16581 }
16582 {
16583 if (temp3)
16584 delete arg3;
16585 }
16586 {
16587 if (temp4)
16588 delete arg4;
16589 }
16590 return resultobj;
16591 fail:
16592 {
16593 if (temp1)
16594 delete arg1;
16595 }
16596 {
16597 if (temp2)
16598 delete arg2;
16599 }
16600 {
16601 if (temp3)
16602 delete arg3;
16603 }
16604 {
16605 if (temp4)
16606 delete arg4;
16607 }
16608 return NULL;
16609}
16610
16611
16612static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16613 PyObject *resultobj;
16614 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16615 PyObject * obj0 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 delete arg1;
16626
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 Py_INCREF(Py_None); resultobj = Py_None;
16631 return resultobj;
16632 fail:
16633 return NULL;
16634}
16635
16636
16637static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16638 PyObject *obj;
16639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16640 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16641 Py_INCREF(obj);
16642 return Py_BuildValue((char *)"");
16643}
16644static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj;
16646 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16647 wxString *arg2 = 0 ;
16648 wxConfigPathChanger *result;
16649 bool temp2 = False ;
16650 PyObject * obj0 = 0 ;
16651 PyObject * obj1 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "config",(char *) "entry", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16659 {
16660 arg2 = wxString_in_helper(obj1);
16661 if (arg2 == NULL) SWIG_fail;
16662 temp2 = True;
16663 }
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16672 {
16673 if (temp2)
16674 delete arg2;
16675 }
16676 return resultobj;
16677 fail:
16678 {
16679 if (temp2)
16680 delete arg2;
16681 }
16682 return NULL;
16683}
16684
16685
16686static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16687 PyObject *resultobj;
16688 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16689 PyObject * obj0 = 0 ;
16690 char *kwnames[] = {
16691 (char *) "self", NULL
16692 };
16693
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16697 {
16698 PyThreadState* __tstate = wxPyBeginAllowThreads();
16699 delete arg1;
16700
16701 wxPyEndAllowThreads(__tstate);
16702 if (PyErr_Occurred()) SWIG_fail;
16703 }
16704 Py_INCREF(Py_None); resultobj = Py_None;
16705 return resultobj;
16706 fail:
16707 return NULL;
16708}
16709
16710
16711static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
16712 PyObject *resultobj;
16713 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16714 wxString *result;
16715 PyObject * obj0 = 0 ;
16716 char *kwnames[] = {
16717 (char *) "self", NULL
16718 };
16719
16720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 {
16726 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16727 result = (wxString *) &_result_ref;
16728 }
16729
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
16733 {
16734#if wxUSE_UNICODE
16735 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16736#else
16737 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16738#endif
16739 }
16740 return resultobj;
16741 fail:
16742 return NULL;
16743}
16744
16745
16746static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
16747 PyObject *obj;
16748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16749 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16750 Py_INCREF(obj);
16751 return Py_BuildValue((char *)"");
16752}
16753static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16754 PyObject *resultobj;
16755 wxString *arg1 = 0 ;
16756 wxString result;
16757 bool temp1 = False ;
16758 PyObject * obj0 = 0 ;
16759 char *kwnames[] = {
16760 (char *) "sz", NULL
16761 };
16762
16763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16764 {
16765 arg1 = wxString_in_helper(obj0);
16766 if (arg1 == NULL) SWIG_fail;
16767 temp1 = True;
16768 }
16769 {
16770 PyThreadState* __tstate = wxPyBeginAllowThreads();
16771 result = wxExpandEnvVars((wxString const &)*arg1);
16772
16773 wxPyEndAllowThreads(__tstate);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 }
16776 {
16777#if wxUSE_UNICODE
16778 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16779#else
16780 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16781#endif
16782 }
16783 {
16784 if (temp1)
16785 delete arg1;
16786 }
16787 return resultobj;
16788 fail:
16789 {
16790 if (temp1)
16791 delete arg1;
16792 }
16793 return NULL;
16794}
16795
16796
16797static int _wrap_DateFormatStr_set(PyObject *_val) {
16798 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16799 return 1;
16800}
16801
16802
16803static PyObject *_wrap_DateFormatStr_get() {
16804 PyObject *pyobj;
16805
16806 {
16807#if wxUSE_UNICODE
16808 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16809#else
16810 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16811#endif
16812 }
16813 return pyobj;
16814}
16815
16816
16817static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16818 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16819 return 1;
16820}
16821
16822
16823static PyObject *_wrap_TimeSpanFormatStr_get() {
16824 PyObject *pyobj;
16825
16826 {
16827#if wxUSE_UNICODE
16828 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16829#else
16830 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16831#endif
16832 }
16833 return pyobj;
16834}
16835
16836
16837static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 int arg1 ;
16840 PyObject * obj0 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "country", NULL
16843 };
16844
16845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16846 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16851
16852 wxPyEndAllowThreads(__tstate);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 Py_INCREF(Py_None); resultobj = Py_None;
16856 return resultobj;
16857 fail:
16858 return NULL;
16859}
16860
16861
16862static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16863 PyObject *resultobj;
16864 int result;
16865 char *kwnames[] = {
16866 NULL
16867 };
16868
16869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16870 {
16871 PyThreadState* __tstate = wxPyBeginAllowThreads();
16872 result = (int)wxDateTime::GetCountry();
16873
16874 wxPyEndAllowThreads(__tstate);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 resultobj = SWIG_FromInt((int)result);
16878 return resultobj;
16879 fail:
16880 return NULL;
16881}
16882
16883
16884static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16885 PyObject *resultobj;
16886 int arg1 = (int) wxDateTime::Country_Default ;
16887 bool result;
16888 PyObject * obj0 = 0 ;
16889 char *kwnames[] = {
16890 (char *) "country", NULL
16891 };
16892
16893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16894 if (obj0) {
16895 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 {
16899 PyThreadState* __tstate = wxPyBeginAllowThreads();
16900 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16901
16902 wxPyEndAllowThreads(__tstate);
16903 if (PyErr_Occurred()) SWIG_fail;
16904 }
16905 {
16906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16907 }
16908 return resultobj;
16909 fail:
16910 return NULL;
16911}
16912
16913
16914static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj;
16916 int arg1 = (int) wxDateTime::Gregorian ;
16917 int result;
16918 PyObject * obj0 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "cal", NULL
16921 };
16922
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16924 if (obj0) {
16925 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 resultobj = SWIG_FromInt((int)result);
16936 return resultobj;
16937 fail:
16938 return NULL;
16939}
16940
16941
16942static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 int arg1 ;
16945 int result;
16946 PyObject * obj0 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "year", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16952 arg1 = (int) SWIG_AsInt(obj0);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 result = (int)wxDateTime::ConvertYearToBC(arg1);
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 resultobj = SWIG_FromInt((int)result);
16962 return resultobj;
16963 fail:
16964 return NULL;
16965}
16966
16967
16968static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16969 PyObject *resultobj;
16970 int arg1 = (int) wxDateTime::Gregorian ;
16971 int result;
16972 PyObject * obj0 = 0 ;
16973 char *kwnames[] = {
16974 (char *) "cal", NULL
16975 };
16976
16977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16978 if (obj0) {
16979 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 {
16983 PyThreadState* __tstate = wxPyBeginAllowThreads();
16984 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16985
16986 wxPyEndAllowThreads(__tstate);
16987 if (PyErr_Occurred()) SWIG_fail;
16988 }
16989 resultobj = SWIG_FromInt((int)result);
16990 return resultobj;
16991 fail:
16992 return NULL;
16993}
16994
16995
16996static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16997 PyObject *resultobj;
16998 int arg1 = (int) wxDateTime::Inv_Year ;
16999 int arg2 = (int) wxDateTime::Gregorian ;
17000 bool result;
17001 PyObject * obj0 = 0 ;
17002 PyObject * obj1 = 0 ;
17003 char *kwnames[] = {
17004 (char *) "year",(char *) "cal", NULL
17005 };
17006
17007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
17008 if (obj0) {
17009 arg1 = (int) SWIG_AsInt(obj0);
17010 if (PyErr_Occurred()) SWIG_fail;
17011 }
17012 if (obj1) {
17013 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
17018 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
17019
17020 wxPyEndAllowThreads(__tstate);
17021 if (PyErr_Occurred()) SWIG_fail;
17022 }
17023 {
17024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17025 }
17026 return resultobj;
17027 fail:
17028 return NULL;
17029}
17030
17031
17032static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 int arg1 = (int) wxDateTime::Inv_Year ;
17035 int result;
17036 PyObject * obj0 = 0 ;
17037 char *kwnames[] = {
17038 (char *) "year", NULL
17039 };
17040
17041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
17042 if (obj0) {
17043 arg1 = (int) SWIG_AsInt(obj0);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 result = (int)wxDateTime::GetCentury(arg1);
17049
17050 wxPyEndAllowThreads(__tstate);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 }
17053 resultobj = SWIG_FromInt((int)result);
17054 return resultobj;
17055 fail:
17056 return NULL;
17057}
17058
17059
17060static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 int arg1 ;
17063 int arg2 = (int) wxDateTime::Gregorian ;
17064 int result;
17065 PyObject * obj0 = 0 ;
17066 PyObject * obj1 = 0 ;
17067 char *kwnames[] = {
17068 (char *) "year",(char *) "cal", NULL
17069 };
17070
17071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
17072 arg1 = (int) SWIG_AsInt(obj0);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 if (obj1) {
17075 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 resultobj = SWIG_FromInt((int)result);
17086 return resultobj;
17087 fail:
17088 return NULL;
17089}
17090
17091
17092static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 int arg1 ;
17095 int arg2 = (int) wxDateTime::Inv_Year ;
17096 int arg3 = (int) wxDateTime::Gregorian ;
17097 int result;
17098 PyObject * obj0 = 0 ;
17099 PyObject * obj1 = 0 ;
17100 PyObject * obj2 = 0 ;
17101 char *kwnames[] = {
17102 (char *) "month",(char *) "year",(char *) "cal", NULL
17103 };
17104
17105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
17106 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17107 if (PyErr_Occurred()) SWIG_fail;
17108 if (obj1) {
17109 arg2 = (int) SWIG_AsInt(obj1);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 if (obj2) {
17113 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
17114 if (PyErr_Occurred()) SWIG_fail;
17115 }
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
17119
17120 wxPyEndAllowThreads(__tstate);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 resultobj = SWIG_FromInt((int)result);
17124 return resultobj;
17125 fail:
17126 return NULL;
17127}
17128
17129
17130static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj;
17132 int arg1 ;
17133 int arg2 = (int) wxDateTime::Name_Full ;
17134 wxString result;
17135 PyObject * obj0 = 0 ;
17136 PyObject * obj1 = 0 ;
17137 char *kwnames[] = {
17138 (char *) "month",(char *) "flags", NULL
17139 };
17140
17141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
17142 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 if (obj1) {
17145 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
17148 {
17149 PyThreadState* __tstate = wxPyBeginAllowThreads();
17150 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
17151
17152 wxPyEndAllowThreads(__tstate);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 }
17155 {
17156#if wxUSE_UNICODE
17157 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17158#else
17159 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17160#endif
17161 }
17162 return resultobj;
17163 fail:
17164 return NULL;
17165}
17166
17167
17168static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj;
17170 int arg1 ;
17171 int arg2 = (int) wxDateTime::Name_Full ;
17172 wxString result;
17173 PyObject * obj0 = 0 ;
17174 PyObject * obj1 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "weekday",(char *) "flags", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
17180 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
17181 if (PyErr_Occurred()) SWIG_fail;
17182 if (obj1) {
17183 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 {
17194#if wxUSE_UNICODE
17195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17196#else
17197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17198#endif
17199 }
17200 return resultobj;
17201 fail:
17202 return NULL;
17203}
17204
17205
17206static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxString *arg1 = (wxString *) 0 ;
17209 wxString *arg2 = (wxString *) 0 ;
17210 bool temp1 = False ;
17211 bool temp2 = False ;
17212 PyObject * obj0 = 0 ;
17213 PyObject * obj1 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17219 {
17220 arg1 = wxString_in_helper(obj0);
17221 if (arg1 == NULL) SWIG_fail;
17222 temp1 = True;
17223 }
17224 {
17225 arg2 = wxString_in_helper(obj1);
17226 if (arg2 == NULL) SWIG_fail;
17227 temp2 = True;
17228 }
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 wxDateTime::GetAmPmStrings(arg1,arg2);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 Py_INCREF(Py_None); resultobj = Py_None;
17237 {
17238 if (temp1)
17239 delete arg1;
17240 }
17241 {
17242 if (temp2)
17243 delete arg2;
17244 }
17245 return resultobj;
17246 fail:
17247 {
17248 if (temp1)
17249 delete arg1;
17250 }
17251 {
17252 if (temp2)
17253 delete arg2;
17254 }
17255 return NULL;
17256}
17257
17258
17259static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
17260 PyObject *resultobj;
17261 int arg1 = (int) wxDateTime::Inv_Year ;
17262 int arg2 = (int) wxDateTime::Country_Default ;
17263 bool result;
17264 PyObject * obj0 = 0 ;
17265 PyObject * obj1 = 0 ;
17266 char *kwnames[] = {
17267 (char *) "year",(char *) "country", NULL
17268 };
17269
17270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17271 if (obj0) {
17272 arg1 = (int) SWIG_AsInt(obj0);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
17275 if (obj1) {
17276 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17277 if (PyErr_Occurred()) SWIG_fail;
17278 }
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17282
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 {
17287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17288 }
17289 return resultobj;
17290 fail:
17291 return NULL;
17292}
17293
17294
17295static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17296 PyObject *resultobj;
17297 int arg1 = (int) wxDateTime::Inv_Year ;
17298 int arg2 = (int) wxDateTime::Country_Default ;
17299 wxDateTime result;
17300 PyObject * obj0 = 0 ;
17301 PyObject * obj1 = 0 ;
17302 char *kwnames[] = {
17303 (char *) "year",(char *) "country", NULL
17304 };
17305
17306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17307 if (obj0) {
17308 arg1 = (int) SWIG_AsInt(obj0);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 if (obj1) {
17312 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
17315 {
17316 PyThreadState* __tstate = wxPyBeginAllowThreads();
17317 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17318
17319 wxPyEndAllowThreads(__tstate);
17320 if (PyErr_Occurred()) SWIG_fail;
17321 }
17322 {
17323 wxDateTime * resultptr;
17324 resultptr = new wxDateTime((wxDateTime &) result);
17325 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17326 }
17327 return resultobj;
17328 fail:
17329 return NULL;
17330}
17331
17332
17333static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17334 PyObject *resultobj;
17335 int arg1 = (int) wxDateTime::Inv_Year ;
17336 int arg2 = (int) wxDateTime::Country_Default ;
17337 wxDateTime result;
17338 PyObject * obj0 = 0 ;
17339 PyObject * obj1 = 0 ;
17340 char *kwnames[] = {
17341 (char *) "year",(char *) "country", NULL
17342 };
17343
17344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17345 if (obj0) {
17346 arg1 = (int) SWIG_AsInt(obj0);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 if (obj1) {
17350 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 {
17361 wxDateTime * resultptr;
17362 resultptr = new wxDateTime((wxDateTime &) result);
17363 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17364 }
17365 return resultobj;
17366 fail:
17367 return NULL;
17368}
17369
17370
17371static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxDateTime result;
17374 char *kwnames[] = {
17375 NULL
17376 };
17377
17378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17379 {
17380 PyThreadState* __tstate = wxPyBeginAllowThreads();
17381 result = wxDateTime::Now();
17382
17383 wxPyEndAllowThreads(__tstate);
17384 if (PyErr_Occurred()) SWIG_fail;
17385 }
17386 {
17387 wxDateTime * resultptr;
17388 resultptr = new wxDateTime((wxDateTime &) result);
17389 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17390 }
17391 return resultobj;
17392 fail:
17393 return NULL;
17394}
17395
17396
17397static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
17398 PyObject *resultobj;
17399 wxDateTime result;
17400 char *kwnames[] = {
17401 NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 result = wxDateTime::UNow();
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 {
17413 wxDateTime * resultptr;
17414 resultptr = new wxDateTime((wxDateTime &) result);
17415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17416 }
17417 return resultobj;
17418 fail:
17419 return NULL;
17420}
17421
17422
17423static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxDateTime result;
17426 char *kwnames[] = {
17427 NULL
17428 };
17429
17430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 result = wxDateTime::Today();
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439 wxDateTime * resultptr;
17440 resultptr = new wxDateTime((wxDateTime &) result);
17441 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17442 }
17443 return resultobj;
17444 fail:
17445 return NULL;
17446}
17447
17448
17449static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17450 PyObject *resultobj;
17451 wxDateTime *result;
17452 char *kwnames[] = {
17453 NULL
17454 };
17455
17456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17457 {
17458 PyThreadState* __tstate = wxPyBeginAllowThreads();
17459 result = (wxDateTime *)new wxDateTime();
17460
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
17464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17465 return resultobj;
17466 fail:
17467 return NULL;
17468}
17469
17470
17471static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17472 PyObject *resultobj;
17473 time_t arg1 ;
17474 wxDateTime *result;
17475 PyObject * obj0 = 0 ;
17476 char *kwnames[] = {
17477 (char *) "timet", NULL
17478 };
17479
17480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17481 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17482 if (PyErr_Occurred()) SWIG_fail;
17483 {
17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
17485 result = (wxDateTime *)new wxDateTime(arg1);
17486
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17491 return resultobj;
17492 fail:
17493 return NULL;
17494}
17495
17496
17497static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17498 PyObject *resultobj;
17499 double arg1 ;
17500 wxDateTime *result;
17501 PyObject * obj0 = 0 ;
17502 char *kwnames[] = {
17503 (char *) "jdn", NULL
17504 };
17505
17506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17507 arg1 = (double) SWIG_AsDouble(obj0);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 {
17510 PyThreadState* __tstate = wxPyBeginAllowThreads();
17511 result = (wxDateTime *)new wxDateTime(arg1);
17512
17513 wxPyEndAllowThreads(__tstate);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 }
17516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17517 return resultobj;
17518 fail:
17519 return NULL;
17520}
17521
17522
17523static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17524 PyObject *resultobj;
17525 int arg1 ;
17526 int arg2 = (int) 0 ;
17527 int arg3 = (int) 0 ;
17528 int arg4 = (int) 0 ;
17529 wxDateTime *result;
17530 PyObject * obj0 = 0 ;
17531 PyObject * obj1 = 0 ;
17532 PyObject * obj2 = 0 ;
17533 PyObject * obj3 = 0 ;
17534 char *kwnames[] = {
17535 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17536 };
17537
17538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17539 arg1 = (int) SWIG_AsInt(obj0);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 if (obj1) {
17542 arg2 = (int) SWIG_AsInt(obj1);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 if (obj2) {
17546 arg3 = (int) SWIG_AsInt(obj2);
17547 if (PyErr_Occurred()) SWIG_fail;
17548 }
17549 if (obj3) {
17550 arg4 = (int) SWIG_AsInt(obj3);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
17553 {
17554 PyThreadState* __tstate = wxPyBeginAllowThreads();
17555 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17556
17557 wxPyEndAllowThreads(__tstate);
17558 if (PyErr_Occurred()) SWIG_fail;
17559 }
17560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17561 return resultobj;
17562 fail:
17563 return NULL;
17564}
17565
17566
17567static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17568 PyObject *resultobj;
17569 int arg1 ;
17570 int arg2 = (int) wxDateTime::Inv_Month ;
17571 int arg3 = (int) wxDateTime::Inv_Year ;
17572 int arg4 = (int) 0 ;
17573 int arg5 = (int) 0 ;
17574 int arg6 = (int) 0 ;
17575 int arg7 = (int) 0 ;
17576 wxDateTime *result;
17577 PyObject * obj0 = 0 ;
17578 PyObject * obj1 = 0 ;
17579 PyObject * obj2 = 0 ;
17580 PyObject * obj3 = 0 ;
17581 PyObject * obj4 = 0 ;
17582 PyObject * obj5 = 0 ;
17583 PyObject * obj6 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17589 arg1 = (int) SWIG_AsInt(obj0);
17590 if (PyErr_Occurred()) SWIG_fail;
17591 if (obj1) {
17592 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 if (obj2) {
17596 arg3 = (int) SWIG_AsInt(obj2);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 }
17599 if (obj3) {
17600 arg4 = (int) SWIG_AsInt(obj3);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 if (obj4) {
17604 arg5 = (int) SWIG_AsInt(obj4);
17605 if (PyErr_Occurred()) SWIG_fail;
17606 }
17607 if (obj5) {
17608 arg6 = (int) SWIG_AsInt(obj5);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 if (obj6) {
17612 arg7 = (int) SWIG_AsInt(obj6);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 {
17616 PyThreadState* __tstate = wxPyBeginAllowThreads();
17617 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17618
17619 wxPyEndAllowThreads(__tstate);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 }
17622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17623 return resultobj;
17624 fail:
17625 return NULL;
17626}
17627
17628
17629static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17630 PyObject *resultobj;
17631 wxDateTime *arg1 = (wxDateTime *) 0 ;
17632 PyObject * obj0 = 0 ;
17633 char *kwnames[] = {
17634 (char *) "self", NULL
17635 };
17636
17637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17640 {
17641 PyThreadState* __tstate = wxPyBeginAllowThreads();
17642 delete arg1;
17643
17644 wxPyEndAllowThreads(__tstate);
17645 if (PyErr_Occurred()) SWIG_fail;
17646 }
17647 Py_INCREF(Py_None); resultobj = Py_None;
17648 return resultobj;
17649 fail:
17650 return NULL;
17651}
17652
17653
17654static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17655 PyObject *resultobj;
17656 wxDateTime *arg1 = (wxDateTime *) 0 ;
17657 wxDateTime *result;
17658 PyObject * obj0 = 0 ;
17659 char *kwnames[] = {
17660 (char *) "self", NULL
17661 };
17662
17663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17666 {
17667 PyThreadState* __tstate = wxPyBeginAllowThreads();
17668 {
17669 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17670 result = (wxDateTime *) &_result_ref;
17671 }
17672
17673 wxPyEndAllowThreads(__tstate);
17674 if (PyErr_Occurred()) SWIG_fail;
17675 }
17676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17677 return resultobj;
17678 fail:
17679 return NULL;
17680}
17681
17682
17683static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17684 PyObject *resultobj;
17685 wxDateTime *arg1 = (wxDateTime *) 0 ;
17686 time_t arg2 ;
17687 wxDateTime *result;
17688 PyObject * obj0 = 0 ;
17689 PyObject * obj1 = 0 ;
17690 char *kwnames[] = {
17691 (char *) "self",(char *) "timet", NULL
17692 };
17693
17694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17697 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 {
17702 wxDateTime &_result_ref = (arg1)->Set(arg2);
17703 result = (wxDateTime *) &_result_ref;
17704 }
17705
17706 wxPyEndAllowThreads(__tstate);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 }
17709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17710 return resultobj;
17711 fail:
17712 return NULL;
17713}
17714
17715
17716static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17717 PyObject *resultobj;
17718 wxDateTime *arg1 = (wxDateTime *) 0 ;
17719 double arg2 ;
17720 wxDateTime *result;
17721 PyObject * obj0 = 0 ;
17722 PyObject * obj1 = 0 ;
17723 char *kwnames[] = {
17724 (char *) "self",(char *) "jdn", NULL
17725 };
17726
17727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17730 arg2 = (double) SWIG_AsDouble(obj1);
17731 if (PyErr_Occurred()) SWIG_fail;
17732 {
17733 PyThreadState* __tstate = wxPyBeginAllowThreads();
17734 {
17735 wxDateTime &_result_ref = (arg1)->Set(arg2);
17736 result = (wxDateTime *) &_result_ref;
17737 }
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17743 return resultobj;
17744 fail:
17745 return NULL;
17746}
17747
17748
17749static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17750 PyObject *resultobj;
17751 wxDateTime *arg1 = (wxDateTime *) 0 ;
17752 int arg2 ;
17753 int arg3 = (int) 0 ;
17754 int arg4 = (int) 0 ;
17755 int arg5 = (int) 0 ;
17756 wxDateTime *result;
17757 PyObject * obj0 = 0 ;
17758 PyObject * obj1 = 0 ;
17759 PyObject * obj2 = 0 ;
17760 PyObject * obj3 = 0 ;
17761 PyObject * obj4 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17769 arg2 = (int) SWIG_AsInt(obj1);
17770 if (PyErr_Occurred()) SWIG_fail;
17771 if (obj2) {
17772 arg3 = (int) SWIG_AsInt(obj2);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 if (obj3) {
17776 arg4 = (int) SWIG_AsInt(obj3);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 if (obj4) {
17780 arg5 = (int) SWIG_AsInt(obj4);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 {
17786 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17787 result = (wxDateTime *) &_result_ref;
17788 }
17789
17790 wxPyEndAllowThreads(__tstate);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17794 return resultobj;
17795 fail:
17796 return NULL;
17797}
17798
17799
17800static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17801 PyObject *resultobj;
17802 wxDateTime *arg1 = (wxDateTime *) 0 ;
17803 int arg2 ;
17804 int arg3 = (int) wxDateTime::Inv_Month ;
17805 int arg4 = (int) wxDateTime::Inv_Year ;
17806 int arg5 = (int) 0 ;
17807 int arg6 = (int) 0 ;
17808 int arg7 = (int) 0 ;
17809 int arg8 = (int) 0 ;
17810 wxDateTime *result;
17811 PyObject * obj0 = 0 ;
17812 PyObject * obj1 = 0 ;
17813 PyObject * obj2 = 0 ;
17814 PyObject * obj3 = 0 ;
17815 PyObject * obj4 = 0 ;
17816 PyObject * obj5 = 0 ;
17817 PyObject * obj6 = 0 ;
17818 PyObject * obj7 = 0 ;
17819 char *kwnames[] = {
17820 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17821 };
17822
17823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17826 arg2 = (int) SWIG_AsInt(obj1);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 if (obj2) {
17829 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 if (obj3) {
17833 arg4 = (int) SWIG_AsInt(obj3);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 if (obj4) {
17837 arg5 = (int) SWIG_AsInt(obj4);
17838 if (PyErr_Occurred()) SWIG_fail;
17839 }
17840 if (obj5) {
17841 arg6 = (int) SWIG_AsInt(obj5);
17842 if (PyErr_Occurred()) SWIG_fail;
17843 }
17844 if (obj6) {
17845 arg7 = (int) SWIG_AsInt(obj6);
17846 if (PyErr_Occurred()) SWIG_fail;
17847 }
17848 if (obj7) {
17849 arg8 = (int) SWIG_AsInt(obj7);
17850 if (PyErr_Occurred()) SWIG_fail;
17851 }
17852 {
17853 PyThreadState* __tstate = wxPyBeginAllowThreads();
17854 {
17855 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17856 result = (wxDateTime *) &_result_ref;
17857 }
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17863 return resultobj;
17864 fail:
17865 return NULL;
17866}
17867
17868
17869static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxDateTime *arg1 = (wxDateTime *) 0 ;
17872 wxDateTime *result;
17873 PyObject * obj0 = 0 ;
17874 char *kwnames[] = {
17875 (char *) "self", NULL
17876 };
17877
17878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17881 {
17882 PyThreadState* __tstate = wxPyBeginAllowThreads();
17883 {
17884 wxDateTime &_result_ref = (arg1)->ResetTime();
17885 result = (wxDateTime *) &_result_ref;
17886 }
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17892 return resultobj;
17893 fail:
17894 return NULL;
17895}
17896
17897
17898static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17899 PyObject *resultobj;
17900 wxDateTime *arg1 = (wxDateTime *) 0 ;
17901 int arg2 ;
17902 wxDateTime *result;
17903 PyObject * obj0 = 0 ;
17904 PyObject * obj1 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self",(char *) "year", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17912 arg2 = (int) SWIG_AsInt(obj1);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 {
17915 PyThreadState* __tstate = wxPyBeginAllowThreads();
17916 {
17917 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17918 result = (wxDateTime *) &_result_ref;
17919 }
17920
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17925 return resultobj;
17926 fail:
17927 return NULL;
17928}
17929
17930
17931static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17932 PyObject *resultobj;
17933 wxDateTime *arg1 = (wxDateTime *) 0 ;
17934 int arg2 ;
17935 wxDateTime *result;
17936 PyObject * obj0 = 0 ;
17937 PyObject * obj1 = 0 ;
17938 char *kwnames[] = {
17939 (char *) "self",(char *) "month", NULL
17940 };
17941
17942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17945 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 {
17948 PyThreadState* __tstate = wxPyBeginAllowThreads();
17949 {
17950 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17951 result = (wxDateTime *) &_result_ref;
17952 }
17953
17954 wxPyEndAllowThreads(__tstate);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 }
17957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17958 return resultobj;
17959 fail:
17960 return NULL;
17961}
17962
17963
17964static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17965 PyObject *resultobj;
17966 wxDateTime *arg1 = (wxDateTime *) 0 ;
17967 int arg2 ;
17968 wxDateTime *result;
17969 PyObject * obj0 = 0 ;
17970 PyObject * obj1 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self",(char *) "day", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17978 arg2 = (int) SWIG_AsInt(obj1);
17979 if (PyErr_Occurred()) SWIG_fail;
17980 {
17981 PyThreadState* __tstate = wxPyBeginAllowThreads();
17982 {
17983 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17984 result = (wxDateTime *) &_result_ref;
17985 }
17986
17987 wxPyEndAllowThreads(__tstate);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17991 return resultobj;
17992 fail:
17993 return NULL;
17994}
17995
17996
17997static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17998 PyObject *resultobj;
17999 wxDateTime *arg1 = (wxDateTime *) 0 ;
18000 int arg2 ;
18001 wxDateTime *result;
18002 PyObject * obj0 = 0 ;
18003 PyObject * obj1 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self",(char *) "hour", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18011 arg2 = (int) SWIG_AsInt(obj1);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 {
18014 PyThreadState* __tstate = wxPyBeginAllowThreads();
18015 {
18016 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
18017 result = (wxDateTime *) &_result_ref;
18018 }
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18024 return resultobj;
18025 fail:
18026 return NULL;
18027}
18028
18029
18030static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj;
18032 wxDateTime *arg1 = (wxDateTime *) 0 ;
18033 int arg2 ;
18034 wxDateTime *result;
18035 PyObject * obj0 = 0 ;
18036 PyObject * obj1 = 0 ;
18037 char *kwnames[] = {
18038 (char *) "self",(char *) "minute", NULL
18039 };
18040
18041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
18042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18044 arg2 = (int) SWIG_AsInt(obj1);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 {
18047 PyThreadState* __tstate = wxPyBeginAllowThreads();
18048 {
18049 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
18050 result = (wxDateTime *) &_result_ref;
18051 }
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18057 return resultobj;
18058 fail:
18059 return NULL;
18060}
18061
18062
18063static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18064 PyObject *resultobj;
18065 wxDateTime *arg1 = (wxDateTime *) 0 ;
18066 int arg2 ;
18067 wxDateTime *result;
18068 PyObject * obj0 = 0 ;
18069 PyObject * obj1 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self",(char *) "second", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
18075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18077 arg2 = (int) SWIG_AsInt(obj1);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 {
18080 PyThreadState* __tstate = wxPyBeginAllowThreads();
18081 {
18082 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
18083 result = (wxDateTime *) &_result_ref;
18084 }
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18090 return resultobj;
18091 fail:
18092 return NULL;
18093}
18094
18095
18096static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18097 PyObject *resultobj;
18098 wxDateTime *arg1 = (wxDateTime *) 0 ;
18099 int arg2 ;
18100 wxDateTime *result;
18101 PyObject * obj0 = 0 ;
18102 PyObject * obj1 = 0 ;
18103 char *kwnames[] = {
18104 (char *) "self",(char *) "millisecond", NULL
18105 };
18106
18107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
18108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18110 arg2 = (int) SWIG_AsInt(obj1);
18111 if (PyErr_Occurred()) SWIG_fail;
18112 {
18113 PyThreadState* __tstate = wxPyBeginAllowThreads();
18114 {
18115 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
18116 result = (wxDateTime *) &_result_ref;
18117 }
18118
18119 wxPyEndAllowThreads(__tstate);
18120 if (PyErr_Occurred()) SWIG_fail;
18121 }
18122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18123 return resultobj;
18124 fail:
18125 return NULL;
18126}
18127
18128
18129static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18130 PyObject *resultobj;
18131 wxDateTime *arg1 = (wxDateTime *) 0 ;
18132 int arg2 ;
18133 int arg3 = (int) wxDateTime::Monday_First ;
18134 wxDateTime *result;
18135 PyObject * obj0 = 0 ;
18136 PyObject * obj1 = 0 ;
18137 PyObject * obj2 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18145 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18146 if (PyErr_Occurred()) SWIG_fail;
18147 if (obj2) {
18148 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 {
18154 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18155 result = (wxDateTime *) &_result_ref;
18156 }
18157
18158 wxPyEndAllowThreads(__tstate);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18162 return resultobj;
18163 fail:
18164 return NULL;
18165}
18166
18167
18168static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18169 PyObject *resultobj;
18170 wxDateTime *arg1 = (wxDateTime *) 0 ;
18171 int arg2 ;
18172 int arg3 = (int) wxDateTime::Monday_First ;
18173 wxDateTime result;
18174 PyObject * obj0 = 0 ;
18175 PyObject * obj1 = 0 ;
18176 PyObject * obj2 = 0 ;
18177 char *kwnames[] = {
18178 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18179 };
18180
18181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18184 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18185 if (PyErr_Occurred()) SWIG_fail;
18186 if (obj2) {
18187 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18193
18194 wxPyEndAllowThreads(__tstate);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 }
18197 {
18198 wxDateTime * resultptr;
18199 resultptr = new wxDateTime((wxDateTime &) result);
18200 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18201 }
18202 return resultobj;
18203 fail:
18204 return NULL;
18205}
18206
18207
18208static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj;
18210 wxDateTime *arg1 = (wxDateTime *) 0 ;
18211 int arg2 ;
18212 wxDateTime *result;
18213 PyObject * obj0 = 0 ;
18214 PyObject * obj1 = 0 ;
18215 char *kwnames[] = {
18216 (char *) "self",(char *) "weekday", NULL
18217 };
18218
18219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18222 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18223 if (PyErr_Occurred()) SWIG_fail;
18224 {
18225 PyThreadState* __tstate = wxPyBeginAllowThreads();
18226 {
18227 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18228 result = (wxDateTime *) &_result_ref;
18229 }
18230
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18235 return resultobj;
18236 fail:
18237 return NULL;
18238}
18239
18240
18241static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18242 PyObject *resultobj;
18243 wxDateTime *arg1 = (wxDateTime *) 0 ;
18244 int arg2 ;
18245 wxDateTime result;
18246 PyObject * obj0 = 0 ;
18247 PyObject * obj1 = 0 ;
18248 char *kwnames[] = {
18249 (char *) "self",(char *) "weekday", NULL
18250 };
18251
18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18255 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 {
18265 wxDateTime * resultptr;
18266 resultptr = new wxDateTime((wxDateTime &) result);
18267 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18268 }
18269 return resultobj;
18270 fail:
18271 return NULL;
18272}
18273
18274
18275static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18276 PyObject *resultobj;
18277 wxDateTime *arg1 = (wxDateTime *) 0 ;
18278 int arg2 ;
18279 wxDateTime *result;
18280 PyObject * obj0 = 0 ;
18281 PyObject * obj1 = 0 ;
18282 char *kwnames[] = {
18283 (char *) "self",(char *) "weekday", NULL
18284 };
18285
18286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18289 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 {
18292 PyThreadState* __tstate = wxPyBeginAllowThreads();
18293 {
18294 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18295 result = (wxDateTime *) &_result_ref;
18296 }
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18302 return resultobj;
18303 fail:
18304 return NULL;
18305}
18306
18307
18308static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
18310 wxDateTime *arg1 = (wxDateTime *) 0 ;
18311 int arg2 ;
18312 wxDateTime result;
18313 PyObject * obj0 = 0 ;
18314 PyObject * obj1 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self",(char *) "weekday", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18322 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 {
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 {
18332 wxDateTime * resultptr;
18333 resultptr = new wxDateTime((wxDateTime &) result);
18334 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18335 }
18336 return resultobj;
18337 fail:
18338 return NULL;
18339}
18340
18341
18342static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18343 PyObject *resultobj;
18344 wxDateTime *arg1 = (wxDateTime *) 0 ;
18345 int arg2 ;
18346 int arg3 = (int) 1 ;
18347 int arg4 = (int) wxDateTime::Inv_Month ;
18348 int arg5 = (int) wxDateTime::Inv_Year ;
18349 bool result;
18350 PyObject * obj0 = 0 ;
18351 PyObject * obj1 = 0 ;
18352 PyObject * obj2 = 0 ;
18353 PyObject * obj3 = 0 ;
18354 PyObject * obj4 = 0 ;
18355 char *kwnames[] = {
18356 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18357 };
18358
18359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18362 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 if (obj2) {
18365 arg3 = (int) SWIG_AsInt(obj2);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 }
18368 if (obj3) {
18369 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 if (obj4) {
18373 arg5 = (int) SWIG_AsInt(obj4);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 {
18377 PyThreadState* __tstate = wxPyBeginAllowThreads();
18378 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18379
18380 wxPyEndAllowThreads(__tstate);
18381 if (PyErr_Occurred()) SWIG_fail;
18382 }
18383 {
18384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18385 }
18386 return resultobj;
18387 fail:
18388 return NULL;
18389}
18390
18391
18392static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18393 PyObject *resultobj;
18394 wxDateTime *arg1 = (wxDateTime *) 0 ;
18395 int arg2 ;
18396 int arg3 = (int) wxDateTime::Inv_Month ;
18397 int arg4 = (int) wxDateTime::Inv_Year ;
18398 bool result;
18399 PyObject * obj0 = 0 ;
18400 PyObject * obj1 = 0 ;
18401 PyObject * obj2 = 0 ;
18402 PyObject * obj3 = 0 ;
18403 char *kwnames[] = {
18404 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18405 };
18406
18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18410 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18411 if (PyErr_Occurred()) SWIG_fail;
18412 if (obj2) {
18413 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
18416 if (obj3) {
18417 arg4 = (int) SWIG_AsInt(obj3);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 {
18428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18429 }
18430 return resultobj;
18431 fail:
18432 return NULL;
18433}
18434
18435
18436static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18437 PyObject *resultobj;
18438 wxDateTime *arg1 = (wxDateTime *) 0 ;
18439 int arg2 ;
18440 int arg3 = (int) wxDateTime::Inv_Month ;
18441 int arg4 = (int) wxDateTime::Inv_Year ;
18442 wxDateTime result;
18443 PyObject * obj0 = 0 ;
18444 PyObject * obj1 = 0 ;
18445 PyObject * obj2 = 0 ;
18446 PyObject * obj3 = 0 ;
18447 char *kwnames[] = {
18448 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18449 };
18450
18451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18454 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18455 if (PyErr_Occurred()) SWIG_fail;
18456 if (obj2) {
18457 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 if (obj3) {
18461 arg4 = (int) SWIG_AsInt(obj3);
18462 if (PyErr_Occurred()) SWIG_fail;
18463 }
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18467
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 {
18472 wxDateTime * resultptr;
18473 resultptr = new wxDateTime((wxDateTime &) result);
18474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18475 }
18476 return resultobj;
18477 fail:
18478 return NULL;
18479}
18480
18481
18482static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxDateTime *arg1 = (wxDateTime *) 0 ;
18485 int arg2 ;
18486 int arg3 = (int) wxDateTime::Mon ;
18487 int arg4 = (int) wxDateTime::Monday_First ;
18488 bool result;
18489 PyObject * obj0 = 0 ;
18490 PyObject * obj1 = 0 ;
18491 PyObject * obj2 = 0 ;
18492 PyObject * obj3 = 0 ;
18493 char *kwnames[] = {
18494 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18495 };
18496
18497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18500 arg2 = (int) SWIG_AsInt(obj1);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 if (obj2) {
18503 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 if (obj3) {
18507 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 {
18518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18519 }
18520 return resultobj;
18521 fail:
18522 return NULL;
18523}
18524
18525
18526static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj;
18528 wxDateTime *arg1 = (wxDateTime *) 0 ;
18529 int arg2 ;
18530 int arg3 = (int) wxDateTime::Mon ;
18531 int arg4 = (int) wxDateTime::Monday_First ;
18532 wxDateTime result;
18533 PyObject * obj0 = 0 ;
18534 PyObject * obj1 = 0 ;
18535 PyObject * obj2 = 0 ;
18536 PyObject * obj3 = 0 ;
18537 char *kwnames[] = {
18538 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18539 };
18540
18541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18544 arg2 = (int) SWIG_AsInt(obj1);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 if (obj2) {
18547 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
18550 if (obj3) {
18551 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18552 if (PyErr_Occurred()) SWIG_fail;
18553 }
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 {
18562 wxDateTime * resultptr;
18563 resultptr = new wxDateTime((wxDateTime &) result);
18564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18565 }
18566 return resultobj;
18567 fail:
18568 return NULL;
18569}
18570
18571
18572static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj;
18574 wxDateTime *arg1 = (wxDateTime *) 0 ;
18575 int arg2 = (int) wxDateTime::Inv_Month ;
18576 int arg3 = (int) wxDateTime::Inv_Year ;
18577 wxDateTime *result;
18578 PyObject * obj0 = 0 ;
18579 PyObject * obj1 = 0 ;
18580 PyObject * obj2 = 0 ;
18581 char *kwnames[] = {
18582 (char *) "self",(char *) "month",(char *) "year", NULL
18583 };
18584
18585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18588 if (obj1) {
18589 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18590 if (PyErr_Occurred()) SWIG_fail;
18591 }
18592 if (obj2) {
18593 arg3 = (int) SWIG_AsInt(obj2);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 {
18599 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18600 result = (wxDateTime *) &_result_ref;
18601 }
18602
18603 wxPyEndAllowThreads(__tstate);
18604 if (PyErr_Occurred()) SWIG_fail;
18605 }
18606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18607 return resultobj;
18608 fail:
18609 return NULL;
18610}
18611
18612
18613static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18614 PyObject *resultobj;
18615 wxDateTime *arg1 = (wxDateTime *) 0 ;
18616 int arg2 = (int) wxDateTime::Inv_Month ;
18617 int arg3 = (int) wxDateTime::Inv_Year ;
18618 wxDateTime result;
18619 PyObject * obj0 = 0 ;
18620 PyObject * obj1 = 0 ;
18621 PyObject * obj2 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self",(char *) "month",(char *) "year", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18629 if (obj1) {
18630 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 if (obj2) {
18634 arg3 = (int) SWIG_AsInt(obj2);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 {
18645 wxDateTime * resultptr;
18646 resultptr = new wxDateTime((wxDateTime &) result);
18647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18648 }
18649 return resultobj;
18650 fail:
18651 return NULL;
18652}
18653
18654
18655static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj;
18657 wxDateTime *arg1 = (wxDateTime *) 0 ;
18658 int arg2 ;
18659 wxDateTime *result;
18660 PyObject * obj0 = 0 ;
18661 PyObject * obj1 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "self",(char *) "yday", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18669 arg2 = (int) SWIG_AsInt(obj1);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 {
18672 PyThreadState* __tstate = wxPyBeginAllowThreads();
18673 {
18674 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18675 result = (wxDateTime *) &_result_ref;
18676 }
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18682 return resultobj;
18683 fail:
18684 return NULL;
18685}
18686
18687
18688static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj;
18690 wxDateTime *arg1 = (wxDateTime *) 0 ;
18691 int arg2 ;
18692 wxDateTime result;
18693 PyObject * obj0 = 0 ;
18694 PyObject * obj1 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "self",(char *) "yday", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18702 arg2 = (int) SWIG_AsInt(obj1);
18703 if (PyErr_Occurred()) SWIG_fail;
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
18706 result = (arg1)->GetYearDay(arg2);
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 {
18712 wxDateTime * resultptr;
18713 resultptr = new wxDateTime((wxDateTime &) result);
18714 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18715 }
18716 return resultobj;
18717 fail:
18718 return NULL;
18719}
18720
18721
18722static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18723 PyObject *resultobj;
18724 wxDateTime *arg1 = (wxDateTime *) 0 ;
18725 double result;
18726 PyObject * obj0 = 0 ;
18727 char *kwnames[] = {
18728 (char *) "self", NULL
18729 };
18730
18731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18734 {
18735 PyThreadState* __tstate = wxPyBeginAllowThreads();
18736 result = (double)(arg1)->GetJulianDayNumber();
18737
18738 wxPyEndAllowThreads(__tstate);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 }
18741 resultobj = SWIG_FromDouble((double)result);
18742 return resultobj;
18743 fail:
18744 return NULL;
18745}
18746
18747
18748static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18749 PyObject *resultobj;
18750 wxDateTime *arg1 = (wxDateTime *) 0 ;
18751 double result;
18752 PyObject * obj0 = 0 ;
18753 char *kwnames[] = {
18754 (char *) "self", NULL
18755 };
18756
18757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 result = (double)(arg1)->GetJDN();
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 resultobj = SWIG_FromDouble((double)result);
18768 return resultobj;
18769 fail:
18770 return NULL;
18771}
18772
18773
18774static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj;
18776 wxDateTime *arg1 = (wxDateTime *) 0 ;
18777 double result;
18778 PyObject * obj0 = 0 ;
18779 char *kwnames[] = {
18780 (char *) "self", NULL
18781 };
18782
18783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18786 {
18787 PyThreadState* __tstate = wxPyBeginAllowThreads();
18788 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18789
18790 wxPyEndAllowThreads(__tstate);
18791 if (PyErr_Occurred()) SWIG_fail;
18792 }
18793 resultobj = SWIG_FromDouble((double)result);
18794 return resultobj;
18795 fail:
18796 return NULL;
18797}
18798
18799
18800static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18801 PyObject *resultobj;
18802 wxDateTime *arg1 = (wxDateTime *) 0 ;
18803 double result;
18804 PyObject * obj0 = 0 ;
18805 char *kwnames[] = {
18806 (char *) "self", NULL
18807 };
18808
18809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18812 {
18813 PyThreadState* __tstate = wxPyBeginAllowThreads();
18814 result = (double)(arg1)->GetMJD();
18815
18816 wxPyEndAllowThreads(__tstate);
18817 if (PyErr_Occurred()) SWIG_fail;
18818 }
18819 resultobj = SWIG_FromDouble((double)result);
18820 return resultobj;
18821 fail:
18822 return NULL;
18823}
18824
18825
18826static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18827 PyObject *resultobj;
18828 wxDateTime *arg1 = (wxDateTime *) 0 ;
18829 double result;
18830 PyObject * obj0 = 0 ;
18831 char *kwnames[] = {
18832 (char *) "self", NULL
18833 };
18834
18835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18838 {
18839 PyThreadState* __tstate = wxPyBeginAllowThreads();
18840 result = (double)(arg1)->GetRataDie();
18841
18842 wxPyEndAllowThreads(__tstate);
18843 if (PyErr_Occurred()) SWIG_fail;
18844 }
18845 resultobj = SWIG_FromDouble((double)result);
18846 return resultobj;
18847 fail:
18848 return NULL;
18849}
18850
18851
18852static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18853 PyObject *resultobj;
18854 wxDateTime *arg1 = (wxDateTime *) 0 ;
18855 wxDateTime::TimeZone *arg2 = 0 ;
18856 bool arg3 = (bool) False ;
18857 wxDateTime result;
18858 bool temp2 = False ;
18859 PyObject * obj0 = 0 ;
18860 PyObject * obj1 = 0 ;
18861 PyObject * obj2 = 0 ;
18862 char *kwnames[] = {
18863 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18864 };
18865
18866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18869 {
18870 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18871 temp2 = True;
18872 }
18873 if (obj2) {
18874 arg3 = (bool) SWIG_AsBool(obj2);
18875 if (PyErr_Occurred()) SWIG_fail;
18876 }
18877 {
18878 PyThreadState* __tstate = wxPyBeginAllowThreads();
18879 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18880
18881 wxPyEndAllowThreads(__tstate);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 {
18885 wxDateTime * resultptr;
18886 resultptr = new wxDateTime((wxDateTime &) result);
18887 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18888 }
18889 {
18890 if (temp2) delete arg2;
18891 }
18892 return resultobj;
18893 fail:
18894 {
18895 if (temp2) delete arg2;
18896 }
18897 return NULL;
18898}
18899
18900
18901static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18902 PyObject *resultobj;
18903 wxDateTime *arg1 = (wxDateTime *) 0 ;
18904 wxDateTime::TimeZone *arg2 = 0 ;
18905 bool arg3 = (bool) False ;
18906 wxDateTime *result;
18907 bool temp2 = False ;
18908 PyObject * obj0 = 0 ;
18909 PyObject * obj1 = 0 ;
18910 PyObject * obj2 = 0 ;
18911 char *kwnames[] = {
18912 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18913 };
18914
18915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18918 {
18919 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18920 temp2 = True;
18921 }
18922 if (obj2) {
18923 arg3 = (bool) SWIG_AsBool(obj2);
18924 if (PyErr_Occurred()) SWIG_fail;
18925 }
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 {
18929 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18930 result = (wxDateTime *) &_result_ref;
18931 }
18932
18933 wxPyEndAllowThreads(__tstate);
18934 if (PyErr_Occurred()) SWIG_fail;
18935 }
18936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18937 {
18938 if (temp2) delete arg2;
18939 }
18940 return resultobj;
18941 fail:
18942 {
18943 if (temp2) delete arg2;
18944 }
18945 return NULL;
18946}
18947
18948
18949static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18950 PyObject *resultobj;
18951 wxDateTime *arg1 = (wxDateTime *) 0 ;
18952 bool arg2 = (bool) False ;
18953 wxDateTime result;
18954 PyObject * obj0 = 0 ;
18955 PyObject * obj1 = 0 ;
18956 char *kwnames[] = {
18957 (char *) "self",(char *) "noDST", NULL
18958 };
18959
18960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18963 if (obj1) {
18964 arg2 = (bool) SWIG_AsBool(obj1);
18965 if (PyErr_Occurred()) SWIG_fail;
18966 }
18967 {
18968 PyThreadState* __tstate = wxPyBeginAllowThreads();
18969 result = (arg1)->ToGMT(arg2);
18970
18971 wxPyEndAllowThreads(__tstate);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 {
18975 wxDateTime * resultptr;
18976 resultptr = new wxDateTime((wxDateTime &) result);
18977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18978 }
18979 return resultobj;
18980 fail:
18981 return NULL;
18982}
18983
18984
18985static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxDateTime *arg1 = (wxDateTime *) 0 ;
18988 bool arg2 = (bool) False ;
18989 wxDateTime *result;
18990 PyObject * obj0 = 0 ;
18991 PyObject * obj1 = 0 ;
18992 char *kwnames[] = {
18993 (char *) "self",(char *) "noDST", NULL
18994 };
18995
18996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18999 if (obj1) {
19000 arg2 = (bool) SWIG_AsBool(obj1);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 {
19004 PyThreadState* __tstate = wxPyBeginAllowThreads();
19005 {
19006 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
19007 result = (wxDateTime *) &_result_ref;
19008 }
19009
19010 wxPyEndAllowThreads(__tstate);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19014 return resultobj;
19015 fail:
19016 return NULL;
19017}
19018
19019
19020static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
19021 PyObject *resultobj;
19022 wxDateTime *arg1 = (wxDateTime *) 0 ;
19023 int arg2 = (int) wxDateTime::Country_Default ;
19024 int result;
19025 PyObject * obj0 = 0 ;
19026 PyObject * obj1 = 0 ;
19027 char *kwnames[] = {
19028 (char *) "self",(char *) "country", NULL
19029 };
19030
19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
19032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19034 if (obj1) {
19035 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19036 if (PyErr_Occurred()) SWIG_fail;
19037 }
19038 {
19039 PyThreadState* __tstate = wxPyBeginAllowThreads();
19040 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
19041
19042 wxPyEndAllowThreads(__tstate);
19043 if (PyErr_Occurred()) SWIG_fail;
19044 }
19045 resultobj = SWIG_FromInt((int)result);
19046 return resultobj;
19047 fail:
19048 return NULL;
19049}
19050
19051
19052static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
19053 PyObject *resultobj;
19054 wxDateTime *arg1 = (wxDateTime *) 0 ;
19055 bool result;
19056 PyObject * obj0 = 0 ;
19057 char *kwnames[] = {
19058 (char *) "self", NULL
19059 };
19060
19061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
19062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 result = (bool)((wxDateTime const *)arg1)->IsValid();
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 {
19072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19073 }
19074 return resultobj;
19075 fail:
19076 return NULL;
19077}
19078
19079
19080static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
19081 PyObject *resultobj;
19082 wxDateTime *arg1 = (wxDateTime *) 0 ;
19083 time_t result;
19084 PyObject * obj0 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
19090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
19100 return resultobj;
19101 fail:
19102 return NULL;
19103}
19104
19105
19106static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxDateTime *arg1 = (wxDateTime *) 0 ;
19109 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19110 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19111 int result;
19112 bool temp2 = False ;
19113 PyObject * obj0 = 0 ;
19114 PyObject * obj1 = 0 ;
19115 char *kwnames[] = {
19116 (char *) "self",(char *) "tz", NULL
19117 };
19118
19119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
19120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19122 if (obj1) {
19123 {
19124 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19125 temp2 = True;
19126 }
19127 }
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
19131
19132 wxPyEndAllowThreads(__tstate);
19133 if (PyErr_Occurred()) SWIG_fail;
19134 }
19135 resultobj = SWIG_FromInt((int)result);
19136 {
19137 if (temp2) delete arg2;
19138 }
19139 return resultobj;
19140 fail:
19141 {
19142 if (temp2) delete arg2;
19143 }
19144 return NULL;
19145}
19146
19147
19148static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19149 PyObject *resultobj;
19150 wxDateTime *arg1 = (wxDateTime *) 0 ;
19151 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19152 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19153 int result;
19154 bool temp2 = False ;
19155 PyObject * obj0 = 0 ;
19156 PyObject * obj1 = 0 ;
19157 char *kwnames[] = {
19158 (char *) "self",(char *) "tz", NULL
19159 };
19160
19161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
19162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19164 if (obj1) {
19165 {
19166 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19167 temp2 = True;
19168 }
19169 }
19170 {
19171 PyThreadState* __tstate = wxPyBeginAllowThreads();
19172 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19173
19174 wxPyEndAllowThreads(__tstate);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 }
19177 resultobj = SWIG_FromInt((int)result);
19178 {
19179 if (temp2) delete arg2;
19180 }
19181 return resultobj;
19182 fail:
19183 {
19184 if (temp2) delete arg2;
19185 }
19186 return NULL;
19187}
19188
19189
19190static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxDateTime *arg1 = (wxDateTime *) 0 ;
19193 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19194 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19195 int result;
19196 bool temp2 = False ;
19197 PyObject * obj0 = 0 ;
19198 PyObject * obj1 = 0 ;
19199 char *kwnames[] = {
19200 (char *) "self",(char *) "tz", NULL
19201 };
19202
19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19206 if (obj1) {
19207 {
19208 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19209 temp2 = True;
19210 }
19211 }
19212 {
19213 PyThreadState* __tstate = wxPyBeginAllowThreads();
19214 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19215
19216 wxPyEndAllowThreads(__tstate);
19217 if (PyErr_Occurred()) SWIG_fail;
19218 }
19219 resultobj = SWIG_FromInt((int)result);
19220 {
19221 if (temp2) delete arg2;
19222 }
19223 return resultobj;
19224 fail:
19225 {
19226 if (temp2) delete arg2;
19227 }
19228 return NULL;
19229}
19230
19231
19232static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19233 PyObject *resultobj;
19234 wxDateTime *arg1 = (wxDateTime *) 0 ;
19235 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19236 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19237 int result;
19238 bool temp2 = False ;
19239 PyObject * obj0 = 0 ;
19240 PyObject * obj1 = 0 ;
19241 char *kwnames[] = {
19242 (char *) "self",(char *) "tz", NULL
19243 };
19244
19245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19248 if (obj1) {
19249 {
19250 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19251 temp2 = True;
19252 }
19253 }
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 resultobj = SWIG_FromInt((int)result);
19262 {
19263 if (temp2) delete arg2;
19264 }
19265 return resultobj;
19266 fail:
19267 {
19268 if (temp2) delete arg2;
19269 }
19270 return NULL;
19271}
19272
19273
19274static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
19275 PyObject *resultobj;
19276 wxDateTime *arg1 = (wxDateTime *) 0 ;
19277 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19278 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19279 int result;
19280 bool temp2 = False ;
19281 PyObject * obj0 = 0 ;
19282 PyObject * obj1 = 0 ;
19283 char *kwnames[] = {
19284 (char *) "self",(char *) "tz", NULL
19285 };
19286
19287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19290 if (obj1) {
19291 {
19292 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19293 temp2 = True;
19294 }
19295 }
19296 {
19297 PyThreadState* __tstate = wxPyBeginAllowThreads();
19298 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19299
19300 wxPyEndAllowThreads(__tstate);
19301 if (PyErr_Occurred()) SWIG_fail;
19302 }
19303 resultobj = SWIG_FromInt((int)result);
19304 {
19305 if (temp2) delete arg2;
19306 }
19307 return resultobj;
19308 fail:
19309 {
19310 if (temp2) delete arg2;
19311 }
19312 return NULL;
19313}
19314
19315
19316static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
19317 PyObject *resultobj;
19318 wxDateTime *arg1 = (wxDateTime *) 0 ;
19319 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19320 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19321 int result;
19322 bool temp2 = False ;
19323 PyObject * obj0 = 0 ;
19324 PyObject * obj1 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "self",(char *) "tz", NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19332 if (obj1) {
19333 {
19334 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19335 temp2 = True;
19336 }
19337 }
19338 {
19339 PyThreadState* __tstate = wxPyBeginAllowThreads();
19340 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19341
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
19345 resultobj = SWIG_FromInt((int)result);
19346 {
19347 if (temp2) delete arg2;
19348 }
19349 return resultobj;
19350 fail:
19351 {
19352 if (temp2) delete arg2;
19353 }
19354 return NULL;
19355}
19356
19357
19358static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19359 PyObject *resultobj;
19360 wxDateTime *arg1 = (wxDateTime *) 0 ;
19361 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19362 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19363 int result;
19364 bool temp2 = False ;
19365 PyObject * obj0 = 0 ;
19366 PyObject * obj1 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self",(char *) "tz", NULL
19369 };
19370
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19374 if (obj1) {
19375 {
19376 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19377 temp2 = True;
19378 }
19379 }
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 resultobj = SWIG_FromInt((int)result);
19388 {
19389 if (temp2) delete arg2;
19390 }
19391 return resultobj;
19392 fail:
19393 {
19394 if (temp2) delete arg2;
19395 }
19396 return NULL;
19397}
19398
19399
19400static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19401 PyObject *resultobj;
19402 wxDateTime *arg1 = (wxDateTime *) 0 ;
19403 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19404 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19405 int result;
19406 bool temp2 = False ;
19407 PyObject * obj0 = 0 ;
19408 PyObject * obj1 = 0 ;
19409 char *kwnames[] = {
19410 (char *) "self",(char *) "tz", NULL
19411 };
19412
19413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19416 if (obj1) {
19417 {
19418 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19419 temp2 = True;
19420 }
19421 }
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19425
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 resultobj = SWIG_FromInt((int)result);
19430 {
19431 if (temp2) delete arg2;
19432 }
19433 return resultobj;
19434 fail:
19435 {
19436 if (temp2) delete arg2;
19437 }
19438 return NULL;
19439}
19440
19441
19442static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19443 PyObject *resultobj;
19444 wxDateTime *arg1 = (wxDateTime *) 0 ;
19445 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19446 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19447 int result;
19448 bool temp2 = False ;
19449 PyObject * obj0 = 0 ;
19450 PyObject * obj1 = 0 ;
19451 char *kwnames[] = {
19452 (char *) "self",(char *) "tz", NULL
19453 };
19454
19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19458 if (obj1) {
19459 {
19460 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19461 temp2 = True;
19462 }
19463 }
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19467
19468 wxPyEndAllowThreads(__tstate);
19469 if (PyErr_Occurred()) SWIG_fail;
19470 }
19471 resultobj = SWIG_FromInt((int)result);
19472 {
19473 if (temp2) delete arg2;
19474 }
19475 return resultobj;
19476 fail:
19477 {
19478 if (temp2) delete arg2;
19479 }
19480 return NULL;
19481}
19482
19483
19484static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19485 PyObject *resultobj;
19486 wxDateTime *arg1 = (wxDateTime *) 0 ;
19487 int arg2 = (int) wxDateTime::Monday_First ;
19488 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19489 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19490 int result;
19491 bool temp3 = False ;
19492 PyObject * obj0 = 0 ;
19493 PyObject * obj1 = 0 ;
19494 PyObject * obj2 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self",(char *) "flags",(char *) "tz", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19502 if (obj1) {
19503 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 }
19506 if (obj2) {
19507 {
19508 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19509 temp3 = True;
19510 }
19511 }
19512 {
19513 PyThreadState* __tstate = wxPyBeginAllowThreads();
19514 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19515
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 resultobj = SWIG_FromInt((int)result);
19520 {
19521 if (temp3) delete arg3;
19522 }
19523 return resultobj;
19524 fail:
19525 {
19526 if (temp3) delete arg3;
19527 }
19528 return NULL;
19529}
19530
19531
19532static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19533 PyObject *resultobj;
19534 wxDateTime *arg1 = (wxDateTime *) 0 ;
19535 int arg2 = (int) wxDateTime::Monday_First ;
19536 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19537 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19538 int result;
19539 bool temp3 = False ;
19540 PyObject * obj0 = 0 ;
19541 PyObject * obj1 = 0 ;
19542 PyObject * obj2 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self",(char *) "flags",(char *) "tz", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19550 if (obj1) {
19551 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19552 if (PyErr_Occurred()) SWIG_fail;
19553 }
19554 if (obj2) {
19555 {
19556 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19557 temp3 = True;
19558 }
19559 }
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 resultobj = SWIG_FromInt((int)result);
19568 {
19569 if (temp3) delete arg3;
19570 }
19571 return resultobj;
19572 fail:
19573 {
19574 if (temp3) delete arg3;
19575 }
19576 return NULL;
19577}
19578
19579
19580static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19581 PyObject *resultobj;
19582 wxDateTime *arg1 = (wxDateTime *) 0 ;
19583 int arg2 = (int) wxDateTime::Country_Default ;
19584 bool result;
19585 PyObject * obj0 = 0 ;
19586 PyObject * obj1 = 0 ;
19587 char *kwnames[] = {
19588 (char *) "self",(char *) "country", NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19594 if (obj1) {
19595 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19601
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 {
19606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19607 }
19608 return resultobj;
19609 fail:
19610 return NULL;
19611}
19612
19613
19614static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19615 PyObject *resultobj;
19616 wxDateTime *arg1 = (wxDateTime *) 0 ;
19617 wxDateTime *arg2 = 0 ;
19618 bool result;
19619 PyObject * obj0 = 0 ;
19620 PyObject * obj1 = 0 ;
19621 char *kwnames[] = {
19622 (char *) "self",(char *) "datetime", NULL
19623 };
19624
19625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19629 SWIG_POINTER_EXCEPTION | 0)) == -1)
19630 SWIG_fail;
19631 if (arg2 == NULL) {
19632 PyErr_SetString(PyExc_TypeError,"null reference");
19633 SWIG_fail;
19634 }
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19638
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 {
19643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19644 }
19645 return resultobj;
19646 fail:
19647 return NULL;
19648}
19649
19650
19651static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19652 PyObject *resultobj;
19653 wxDateTime *arg1 = (wxDateTime *) 0 ;
19654 wxDateTime *arg2 = 0 ;
19655 bool result;
19656 PyObject * obj0 = 0 ;
19657 PyObject * obj1 = 0 ;
19658 char *kwnames[] = {
19659 (char *) "self",(char *) "datetime", NULL
19660 };
19661
19662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19666 SWIG_POINTER_EXCEPTION | 0)) == -1)
19667 SWIG_fail;
19668 if (arg2 == NULL) {
19669 PyErr_SetString(PyExc_TypeError,"null reference");
19670 SWIG_fail;
19671 }
19672 {
19673 PyThreadState* __tstate = wxPyBeginAllowThreads();
19674 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19675
19676 wxPyEndAllowThreads(__tstate);
19677 if (PyErr_Occurred()) SWIG_fail;
19678 }
19679 {
19680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19681 }
19682 return resultobj;
19683 fail:
19684 return NULL;
19685}
19686
19687
19688static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19689 PyObject *resultobj;
19690 wxDateTime *arg1 = (wxDateTime *) 0 ;
19691 wxDateTime *arg2 = 0 ;
19692 bool result;
19693 PyObject * obj0 = 0 ;
19694 PyObject * obj1 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self",(char *) "datetime", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19703 SWIG_POINTER_EXCEPTION | 0)) == -1)
19704 SWIG_fail;
19705 if (arg2 == NULL) {
19706 PyErr_SetString(PyExc_TypeError,"null reference");
19707 SWIG_fail;
19708 }
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 {
19717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19718 }
19719 return resultobj;
19720 fail:
19721 return NULL;
19722}
19723
19724
19725static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19726 PyObject *resultobj;
19727 wxDateTime *arg1 = (wxDateTime *) 0 ;
19728 wxDateTime *arg2 = 0 ;
19729 wxDateTime *arg3 = 0 ;
19730 bool result;
19731 PyObject * obj0 = 0 ;
19732 PyObject * obj1 = 0 ;
19733 PyObject * obj2 = 0 ;
19734 char *kwnames[] = {
19735 (char *) "self",(char *) "t1",(char *) "t2", NULL
19736 };
19737
19738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19742 SWIG_POINTER_EXCEPTION | 0)) == -1)
19743 SWIG_fail;
19744 if (arg2 == NULL) {
19745 PyErr_SetString(PyExc_TypeError,"null reference");
19746 SWIG_fail;
19747 }
19748 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19749 SWIG_POINTER_EXCEPTION | 0)) == -1)
19750 SWIG_fail;
19751 if (arg3 == NULL) {
19752 PyErr_SetString(PyExc_TypeError,"null reference");
19753 SWIG_fail;
19754 }
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 {
19763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19764 }
19765 return resultobj;
19766 fail:
19767 return NULL;
19768}
19769
19770
19771static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19772 PyObject *resultobj;
19773 wxDateTime *arg1 = (wxDateTime *) 0 ;
19774 wxDateTime *arg2 = 0 ;
19775 wxDateTime *arg3 = 0 ;
19776 bool result;
19777 PyObject * obj0 = 0 ;
19778 PyObject * obj1 = 0 ;
19779 PyObject * obj2 = 0 ;
19780 char *kwnames[] = {
19781 (char *) "self",(char *) "t1",(char *) "t2", NULL
19782 };
19783
19784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19788 SWIG_POINTER_EXCEPTION | 0)) == -1)
19789 SWIG_fail;
19790 if (arg2 == NULL) {
19791 PyErr_SetString(PyExc_TypeError,"null reference");
19792 SWIG_fail;
19793 }
19794 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19795 SWIG_POINTER_EXCEPTION | 0)) == -1)
19796 SWIG_fail;
19797 if (arg3 == NULL) {
19798 PyErr_SetString(PyExc_TypeError,"null reference");
19799 SWIG_fail;
19800 }
19801 {
19802 PyThreadState* __tstate = wxPyBeginAllowThreads();
19803 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19804
19805 wxPyEndAllowThreads(__tstate);
19806 if (PyErr_Occurred()) SWIG_fail;
19807 }
19808 {
19809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19810 }
19811 return resultobj;
19812 fail:
19813 return NULL;
19814}
19815
19816
19817static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19818 PyObject *resultobj;
19819 wxDateTime *arg1 = (wxDateTime *) 0 ;
19820 wxDateTime *arg2 = 0 ;
19821 bool result;
19822 PyObject * obj0 = 0 ;
19823 PyObject * obj1 = 0 ;
19824 char *kwnames[] = {
19825 (char *) "self",(char *) "dt", NULL
19826 };
19827
19828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19832 SWIG_POINTER_EXCEPTION | 0)) == -1)
19833 SWIG_fail;
19834 if (arg2 == NULL) {
19835 PyErr_SetString(PyExc_TypeError,"null reference");
19836 SWIG_fail;
19837 }
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19841
19842 wxPyEndAllowThreads(__tstate);
19843 if (PyErr_Occurred()) SWIG_fail;
19844 }
19845 {
19846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19847 }
19848 return resultobj;
19849 fail:
19850 return NULL;
19851}
19852
19853
19854static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19855 PyObject *resultobj;
19856 wxDateTime *arg1 = (wxDateTime *) 0 ;
19857 wxDateTime *arg2 = 0 ;
19858 bool result;
19859 PyObject * obj0 = 0 ;
19860 PyObject * obj1 = 0 ;
19861 char *kwnames[] = {
19862 (char *) "self",(char *) "dt", NULL
19863 };
19864
19865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19869 SWIG_POINTER_EXCEPTION | 0)) == -1)
19870 SWIG_fail;
19871 if (arg2 == NULL) {
19872 PyErr_SetString(PyExc_TypeError,"null reference");
19873 SWIG_fail;
19874 }
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 {
19883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19884 }
19885 return resultobj;
19886 fail:
19887 return NULL;
19888}
19889
19890
19891static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19892 PyObject *resultobj;
19893 wxDateTime *arg1 = (wxDateTime *) 0 ;
19894 wxDateTime *arg2 = 0 ;
19895 wxTimeSpan *arg3 = 0 ;
19896 bool result;
19897 PyObject * obj0 = 0 ;
19898 PyObject * obj1 = 0 ;
19899 PyObject * obj2 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self",(char *) "dt",(char *) "ts", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19908 SWIG_POINTER_EXCEPTION | 0)) == -1)
19909 SWIG_fail;
19910 if (arg2 == NULL) {
19911 PyErr_SetString(PyExc_TypeError,"null reference");
19912 SWIG_fail;
19913 }
19914 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19915 SWIG_POINTER_EXCEPTION | 0)) == -1)
19916 SWIG_fail;
19917 if (arg3 == NULL) {
19918 PyErr_SetString(PyExc_TypeError,"null reference");
19919 SWIG_fail;
19920 }
19921 {
19922 PyThreadState* __tstate = wxPyBeginAllowThreads();
19923 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19924
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 {
19929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19930 }
19931 return resultobj;
19932 fail:
19933 return NULL;
19934}
19935
19936
19937static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 wxDateTime *arg1 = (wxDateTime *) 0 ;
19940 wxTimeSpan *arg2 = 0 ;
19941 wxDateTime *result;
19942 PyObject * obj0 = 0 ;
19943 PyObject * obj1 = 0 ;
19944 char *kwnames[] = {
19945 (char *) "self",(char *) "diff", NULL
19946 };
19947
19948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19952 SWIG_POINTER_EXCEPTION | 0)) == -1)
19953 SWIG_fail;
19954 if (arg2 == NULL) {
19955 PyErr_SetString(PyExc_TypeError,"null reference");
19956 SWIG_fail;
19957 }
19958 {
19959 PyThreadState* __tstate = wxPyBeginAllowThreads();
19960 {
19961 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19962 result = (wxDateTime *) &_result_ref;
19963 }
19964
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19969 return resultobj;
19970 fail:
19971 return NULL;
19972}
19973
19974
19975static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19976 PyObject *resultobj;
19977 wxDateTime *arg1 = (wxDateTime *) 0 ;
19978 wxDateSpan *arg2 = 0 ;
19979 wxDateTime *result;
19980 PyObject * obj0 = 0 ;
19981 PyObject * obj1 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self",(char *) "diff", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19990 SWIG_POINTER_EXCEPTION | 0)) == -1)
19991 SWIG_fail;
19992 if (arg2 == NULL) {
19993 PyErr_SetString(PyExc_TypeError,"null reference");
19994 SWIG_fail;
19995 }
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 {
19999 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20000 result = (wxDateTime *) &_result_ref;
20001 }
20002
20003 wxPyEndAllowThreads(__tstate);
20004 if (PyErr_Occurred()) SWIG_fail;
20005 }
20006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20007 return resultobj;
20008 fail:
20009 return NULL;
20010}
20011
20012
20013static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
20014 PyObject *resultobj;
20015 wxDateTime *arg1 = (wxDateTime *) 0 ;
20016 wxTimeSpan *arg2 = 0 ;
20017 wxDateTime *result;
20018 PyObject * obj0 = 0 ;
20019 PyObject * obj1 = 0 ;
20020 char *kwnames[] = {
20021 (char *) "self",(char *) "diff", NULL
20022 };
20023
20024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
20025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20028 SWIG_POINTER_EXCEPTION | 0)) == -1)
20029 SWIG_fail;
20030 if (arg2 == NULL) {
20031 PyErr_SetString(PyExc_TypeError,"null reference");
20032 SWIG_fail;
20033 }
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 {
20037 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
20038 result = (wxDateTime *) &_result_ref;
20039 }
20040
20041 wxPyEndAllowThreads(__tstate);
20042 if (PyErr_Occurred()) SWIG_fail;
20043 }
20044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20045 return resultobj;
20046 fail:
20047 return NULL;
20048}
20049
20050
20051static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
20052 PyObject *resultobj;
20053 wxDateTime *arg1 = (wxDateTime *) 0 ;
20054 wxDateSpan *arg2 = 0 ;
20055 wxDateTime *result;
20056 PyObject * obj0 = 0 ;
20057 PyObject * obj1 = 0 ;
20058 char *kwnames[] = {
20059 (char *) "self",(char *) "diff", NULL
20060 };
20061
20062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
20063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20066 SWIG_POINTER_EXCEPTION | 0)) == -1)
20067 SWIG_fail;
20068 if (arg2 == NULL) {
20069 PyErr_SetString(PyExc_TypeError,"null reference");
20070 SWIG_fail;
20071 }
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 {
20075 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20076 result = (wxDateTime *) &_result_ref;
20077 }
20078
20079 wxPyEndAllowThreads(__tstate);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 }
20082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20083 return resultobj;
20084 fail:
20085 return NULL;
20086}
20087
20088
20089static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20090 PyObject *resultobj;
20091 wxDateTime *arg1 = (wxDateTime *) 0 ;
20092 wxDateTime *arg2 = 0 ;
20093 wxTimeSpan result;
20094 PyObject * obj0 = 0 ;
20095 PyObject * obj1 = 0 ;
20096 char *kwnames[] = {
20097 (char *) "self",(char *) "dt", NULL
20098 };
20099
20100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
20101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20104 SWIG_POINTER_EXCEPTION | 0)) == -1)
20105 SWIG_fail;
20106 if (arg2 == NULL) {
20107 PyErr_SetString(PyExc_TypeError,"null reference");
20108 SWIG_fail;
20109 }
20110 {
20111 PyThreadState* __tstate = wxPyBeginAllowThreads();
20112 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
20113
20114 wxPyEndAllowThreads(__tstate);
20115 if (PyErr_Occurred()) SWIG_fail;
20116 }
20117 {
20118 wxTimeSpan * resultptr;
20119 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20121 }
20122 return resultobj;
20123 fail:
20124 return NULL;
20125}
20126
20127
20128static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
20129 PyObject *resultobj;
20130 wxDateTime *arg1 = (wxDateTime *) 0 ;
20131 wxTimeSpan *arg2 = 0 ;
20132 wxDateTime *result;
20133 PyObject * obj0 = 0 ;
20134 PyObject * obj1 = 0 ;
20135
20136 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20140 SWIG_POINTER_EXCEPTION | 0)) == -1)
20141 SWIG_fail;
20142 if (arg2 == NULL) {
20143 PyErr_SetString(PyExc_TypeError,"null reference");
20144 SWIG_fail;
20145 }
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 {
20149 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
20150 result = (wxDateTime *) &_result_ref;
20151 }
20152
20153 wxPyEndAllowThreads(__tstate);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 }
20156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20157 return resultobj;
20158 fail:
20159 return NULL;
20160}
20161
20162
20163static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
20164 PyObject *resultobj;
20165 wxDateTime *arg1 = (wxDateTime *) 0 ;
20166 wxDateSpan *arg2 = 0 ;
20167 wxDateTime *result;
20168 PyObject * obj0 = 0 ;
20169 PyObject * obj1 = 0 ;
20170
20171 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20175 SWIG_POINTER_EXCEPTION | 0)) == -1)
20176 SWIG_fail;
20177 if (arg2 == NULL) {
20178 PyErr_SetString(PyExc_TypeError,"null reference");
20179 SWIG_fail;
20180 }
20181 {
20182 PyThreadState* __tstate = wxPyBeginAllowThreads();
20183 {
20184 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20185 result = (wxDateTime *) &_result_ref;
20186 }
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20192 return resultobj;
20193 fail:
20194 return NULL;
20195}
20196
20197
20198static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20199 int argc;
20200 PyObject *argv[3];
20201 int ii;
20202
20203 argc = PyObject_Length(args);
20204 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20205 argv[ii] = PyTuple_GetItem(args,ii);
20206 }
20207 if (argc == 2) {
20208 int _v;
20209 {
20210 void *ptr;
20211 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20212 _v = 0;
20213 PyErr_Clear();
20214 } else {
20215 _v = 1;
20216 }
20217 }
20218 if (_v) {
20219 {
20220 void *ptr;
20221 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20222 _v = 0;
20223 PyErr_Clear();
20224 } else {
20225 _v = 1;
20226 }
20227 }
20228 if (_v) {
20229 return _wrap_DateTime___iadd____SWIG_0(self,args);
20230 }
20231 }
20232 }
20233 if (argc == 2) {
20234 int _v;
20235 {
20236 void *ptr;
20237 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20238 _v = 0;
20239 PyErr_Clear();
20240 } else {
20241 _v = 1;
20242 }
20243 }
20244 if (_v) {
20245 {
20246 void *ptr;
20247 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20248 _v = 0;
20249 PyErr_Clear();
20250 } else {
20251 _v = 1;
20252 }
20253 }
20254 if (_v) {
20255 return _wrap_DateTime___iadd____SWIG_1(self,args);
20256 }
20257 }
20258 }
20259
20260 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20261 return NULL;
20262}
20263
20264
20265static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
20266 PyObject *resultobj;
20267 wxDateTime *arg1 = (wxDateTime *) 0 ;
20268 wxTimeSpan *arg2 = 0 ;
20269 wxDateTime *result;
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272
20273 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20277 SWIG_POINTER_EXCEPTION | 0)) == -1)
20278 SWIG_fail;
20279 if (arg2 == NULL) {
20280 PyErr_SetString(PyExc_TypeError,"null reference");
20281 SWIG_fail;
20282 }
20283 {
20284 PyThreadState* __tstate = wxPyBeginAllowThreads();
20285 {
20286 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20287 result = (wxDateTime *) &_result_ref;
20288 }
20289
20290 wxPyEndAllowThreads(__tstate);
20291 if (PyErr_Occurred()) SWIG_fail;
20292 }
20293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20294 return resultobj;
20295 fail:
20296 return NULL;
20297}
20298
20299
20300static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
20301 PyObject *resultobj;
20302 wxDateTime *arg1 = (wxDateTime *) 0 ;
20303 wxDateSpan *arg2 = 0 ;
20304 wxDateTime *result;
20305 PyObject * obj0 = 0 ;
20306 PyObject * obj1 = 0 ;
20307
20308 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20312 SWIG_POINTER_EXCEPTION | 0)) == -1)
20313 SWIG_fail;
20314 if (arg2 == NULL) {
20315 PyErr_SetString(PyExc_TypeError,"null reference");
20316 SWIG_fail;
20317 }
20318 {
20319 PyThreadState* __tstate = wxPyBeginAllowThreads();
20320 {
20321 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20322 result = (wxDateTime *) &_result_ref;
20323 }
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20329 return resultobj;
20330 fail:
20331 return NULL;
20332}
20333
20334
20335static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20336 int argc;
20337 PyObject *argv[3];
20338 int ii;
20339
20340 argc = PyObject_Length(args);
20341 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20342 argv[ii] = PyTuple_GetItem(args,ii);
20343 }
20344 if (argc == 2) {
20345 int _v;
20346 {
20347 void *ptr;
20348 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20349 _v = 0;
20350 PyErr_Clear();
20351 } else {
20352 _v = 1;
20353 }
20354 }
20355 if (_v) {
20356 {
20357 void *ptr;
20358 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20359 _v = 0;
20360 PyErr_Clear();
20361 } else {
20362 _v = 1;
20363 }
20364 }
20365 if (_v) {
20366 return _wrap_DateTime___isub____SWIG_0(self,args);
20367 }
20368 }
20369 }
20370 if (argc == 2) {
20371 int _v;
20372 {
20373 void *ptr;
20374 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20375 _v = 0;
20376 PyErr_Clear();
20377 } else {
20378 _v = 1;
20379 }
20380 }
20381 if (_v) {
20382 {
20383 void *ptr;
20384 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20385 _v = 0;
20386 PyErr_Clear();
20387 } else {
20388 _v = 1;
20389 }
20390 }
20391 if (_v) {
20392 return _wrap_DateTime___isub____SWIG_1(self,args);
20393 }
20394 }
20395 }
20396
20397 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20398 return NULL;
20399}
20400
20401
20402static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
20403 PyObject *resultobj;
20404 wxDateTime *arg1 = (wxDateTime *) 0 ;
20405 wxTimeSpan *arg2 = 0 ;
20406 wxDateTime result;
20407 PyObject * obj0 = 0 ;
20408 PyObject * obj1 = 0 ;
20409
20410 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20414 SWIG_POINTER_EXCEPTION | 0)) == -1)
20415 SWIG_fail;
20416 if (arg2 == NULL) {
20417 PyErr_SetString(PyExc_TypeError,"null reference");
20418 SWIG_fail;
20419 }
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 {
20428 wxDateTime * resultptr;
20429 resultptr = new wxDateTime((wxDateTime &) result);
20430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20431 }
20432 return resultobj;
20433 fail:
20434 return NULL;
20435}
20436
20437
20438static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
20439 PyObject *resultobj;
20440 wxDateTime *arg1 = (wxDateTime *) 0 ;
20441 wxDateSpan *arg2 = 0 ;
20442 wxDateTime result;
20443 PyObject * obj0 = 0 ;
20444 PyObject * obj1 = 0 ;
20445
20446 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20449 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20450 SWIG_POINTER_EXCEPTION | 0)) == -1)
20451 SWIG_fail;
20452 if (arg2 == NULL) {
20453 PyErr_SetString(PyExc_TypeError,"null reference");
20454 SWIG_fail;
20455 }
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 {
20464 wxDateTime * resultptr;
20465 resultptr = new wxDateTime((wxDateTime &) result);
20466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20467 }
20468 return resultobj;
20469 fail:
20470 return NULL;
20471}
20472
20473
20474static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20475 int argc;
20476 PyObject *argv[3];
20477 int ii;
20478
20479 argc = PyObject_Length(args);
20480 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20481 argv[ii] = PyTuple_GetItem(args,ii);
20482 }
20483 if (argc == 2) {
20484 int _v;
20485 {
20486 void *ptr;
20487 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20488 _v = 0;
20489 PyErr_Clear();
20490 } else {
20491 _v = 1;
20492 }
20493 }
20494 if (_v) {
20495 {
20496 void *ptr;
20497 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20498 _v = 0;
20499 PyErr_Clear();
20500 } else {
20501 _v = 1;
20502 }
20503 }
20504 if (_v) {
20505 return _wrap_DateTime___add____SWIG_0(self,args);
20506 }
20507 }
20508 }
20509 if (argc == 2) {
20510 int _v;
20511 {
20512 void *ptr;
20513 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20514 _v = 0;
20515 PyErr_Clear();
20516 } else {
20517 _v = 1;
20518 }
20519 }
20520 if (_v) {
20521 {
20522 void *ptr;
20523 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20524 _v = 0;
20525 PyErr_Clear();
20526 } else {
20527 _v = 1;
20528 }
20529 }
20530 if (_v) {
20531 return _wrap_DateTime___add____SWIG_1(self,args);
20532 }
20533 }
20534 }
20535
20536 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20537 return NULL;
20538}
20539
20540
20541static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20542 PyObject *resultobj;
20543 wxDateTime *arg1 = (wxDateTime *) 0 ;
20544 wxDateTime *arg2 = 0 ;
20545 wxTimeSpan result;
20546 PyObject * obj0 = 0 ;
20547 PyObject * obj1 = 0 ;
20548
20549 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20553 SWIG_POINTER_EXCEPTION | 0)) == -1)
20554 SWIG_fail;
20555 if (arg2 == NULL) {
20556 PyErr_SetString(PyExc_TypeError,"null reference");
20557 SWIG_fail;
20558 }
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 {
20567 wxTimeSpan * resultptr;
20568 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20569 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20570 }
20571 return resultobj;
20572 fail:
20573 return NULL;
20574}
20575
20576
20577static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20578 PyObject *resultobj;
20579 wxDateTime *arg1 = (wxDateTime *) 0 ;
20580 wxTimeSpan *arg2 = 0 ;
20581 wxDateTime result;
20582 PyObject * obj0 = 0 ;
20583 PyObject * obj1 = 0 ;
20584
20585 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20589 SWIG_POINTER_EXCEPTION | 0)) == -1)
20590 SWIG_fail;
20591 if (arg2 == NULL) {
20592 PyErr_SetString(PyExc_TypeError,"null reference");
20593 SWIG_fail;
20594 }
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20598
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
20602 {
20603 wxDateTime * resultptr;
20604 resultptr = new wxDateTime((wxDateTime &) result);
20605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20606 }
20607 return resultobj;
20608 fail:
20609 return NULL;
20610}
20611
20612
20613static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20614 PyObject *resultobj;
20615 wxDateTime *arg1 = (wxDateTime *) 0 ;
20616 wxDateSpan *arg2 = 0 ;
20617 wxDateTime result;
20618 PyObject * obj0 = 0 ;
20619 PyObject * obj1 = 0 ;
20620
20621 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20625 SWIG_POINTER_EXCEPTION | 0)) == -1)
20626 SWIG_fail;
20627 if (arg2 == NULL) {
20628 PyErr_SetString(PyExc_TypeError,"null reference");
20629 SWIG_fail;
20630 }
20631 {
20632 PyThreadState* __tstate = wxPyBeginAllowThreads();
20633 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20634
20635 wxPyEndAllowThreads(__tstate);
20636 if (PyErr_Occurred()) SWIG_fail;
20637 }
20638 {
20639 wxDateTime * resultptr;
20640 resultptr = new wxDateTime((wxDateTime &) result);
20641 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20642 }
20643 return resultobj;
20644 fail:
20645 return NULL;
20646}
20647
20648
20649static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20650 int argc;
20651 PyObject *argv[3];
20652 int ii;
20653
20654 argc = PyObject_Length(args);
20655 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20656 argv[ii] = PyTuple_GetItem(args,ii);
20657 }
20658 if (argc == 2) {
20659 int _v;
20660 {
20661 void *ptr;
20662 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20663 _v = 0;
20664 PyErr_Clear();
20665 } else {
20666 _v = 1;
20667 }
20668 }
20669 if (_v) {
20670 {
20671 void *ptr;
20672 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20673 _v = 0;
20674 PyErr_Clear();
20675 } else {
20676 _v = 1;
20677 }
20678 }
20679 if (_v) {
20680 return _wrap_DateTime___sub____SWIG_0(self,args);
20681 }
20682 }
20683 }
20684 if (argc == 2) {
20685 int _v;
20686 {
20687 void *ptr;
20688 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20689 _v = 0;
20690 PyErr_Clear();
20691 } else {
20692 _v = 1;
20693 }
20694 }
20695 if (_v) {
20696 {
20697 void *ptr;
20698 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20699 _v = 0;
20700 PyErr_Clear();
20701 } else {
20702 _v = 1;
20703 }
20704 }
20705 if (_v) {
20706 return _wrap_DateTime___sub____SWIG_1(self,args);
20707 }
20708 }
20709 }
20710 if (argc == 2) {
20711 int _v;
20712 {
20713 void *ptr;
20714 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20715 _v = 0;
20716 PyErr_Clear();
20717 } else {
20718 _v = 1;
20719 }
20720 }
20721 if (_v) {
20722 {
20723 void *ptr;
20724 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20725 _v = 0;
20726 PyErr_Clear();
20727 } else {
20728 _v = 1;
20729 }
20730 }
20731 if (_v) {
20732 return _wrap_DateTime___sub____SWIG_2(self,args);
20733 }
20734 }
20735 }
20736
20737 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20738 return NULL;
20739}
20740
20741
20742static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20743 PyObject *resultobj;
20744 wxDateTime *arg1 = (wxDateTime *) 0 ;
20745 wxDateTime *arg2 = (wxDateTime *) 0 ;
20746 bool result;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj1 = 0 ;
20749
20750 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20755 {
20756 PyThreadState* __tstate = wxPyBeginAllowThreads();
20757 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
20758
20759 wxPyEndAllowThreads(__tstate);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 }
20762 {
20763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20764 }
20765 return resultobj;
20766 fail:
20767 return NULL;
20768}
20769
20770
20771static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20772 PyObject *resultobj;
20773 wxDateTime *arg1 = (wxDateTime *) 0 ;
20774 wxDateTime *arg2 = (wxDateTime *) 0 ;
20775 bool result;
20776 PyObject * obj0 = 0 ;
20777 PyObject * obj1 = 0 ;
20778
20779 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20784 {
20785 PyThreadState* __tstate = wxPyBeginAllowThreads();
20786 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
20787
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 {
20792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20793 }
20794 return resultobj;
20795 fail:
20796 return NULL;
20797}
20798
20799
20800static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20801 PyObject *resultobj;
20802 wxDateTime *arg1 = (wxDateTime *) 0 ;
20803 wxDateTime *arg2 = (wxDateTime *) 0 ;
20804 bool result;
20805 PyObject * obj0 = 0 ;
20806 PyObject * obj1 = 0 ;
20807
20808 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20813 {
20814 PyThreadState* __tstate = wxPyBeginAllowThreads();
20815 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
20816
20817 wxPyEndAllowThreads(__tstate);
20818 if (PyErr_Occurred()) SWIG_fail;
20819 }
20820 {
20821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20822 }
20823 return resultobj;
20824 fail:
20825 return NULL;
20826}
20827
20828
20829static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20830 PyObject *resultobj;
20831 wxDateTime *arg1 = (wxDateTime *) 0 ;
20832 wxDateTime *arg2 = (wxDateTime *) 0 ;
20833 bool result;
20834 PyObject * obj0 = 0 ;
20835 PyObject * obj1 = 0 ;
20836
20837 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20842 {
20843 PyThreadState* __tstate = wxPyBeginAllowThreads();
20844 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
20845
20846 wxPyEndAllowThreads(__tstate);
20847 if (PyErr_Occurred()) SWIG_fail;
20848 }
20849 {
20850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20851 }
20852 return resultobj;
20853 fail:
20854 return NULL;
20855}
20856
20857
20858static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20859 PyObject *resultobj;
20860 wxDateTime *arg1 = (wxDateTime *) 0 ;
20861 wxDateTime *arg2 = (wxDateTime *) 0 ;
20862 bool result;
20863 PyObject * obj0 = 0 ;
20864 PyObject * obj1 = 0 ;
20865
20866 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20871 {
20872 PyThreadState* __tstate = wxPyBeginAllowThreads();
20873 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
20874
20875 wxPyEndAllowThreads(__tstate);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 {
20879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20880 }
20881 return resultobj;
20882 fail:
20883 return NULL;
20884}
20885
20886
20887static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20888 PyObject *resultobj;
20889 wxDateTime *arg1 = (wxDateTime *) 0 ;
20890 wxDateTime *arg2 = (wxDateTime *) 0 ;
20891 bool result;
20892 PyObject * obj0 = 0 ;
20893 PyObject * obj1 = 0 ;
20894
20895 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20900 {
20901 PyThreadState* __tstate = wxPyBeginAllowThreads();
20902 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
20903
20904 wxPyEndAllowThreads(__tstate);
20905 if (PyErr_Occurred()) SWIG_fail;
20906 }
20907 {
20908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20909 }
20910 return resultobj;
20911 fail:
20912 return NULL;
20913}
20914
20915
20916static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20917 PyObject *resultobj;
20918 wxDateTime *arg1 = (wxDateTime *) 0 ;
20919 wxString *arg2 = 0 ;
20920 int result;
20921 bool temp2 = False ;
20922 PyObject * obj0 = 0 ;
20923 PyObject * obj1 = 0 ;
20924 char *kwnames[] = {
20925 (char *) "self",(char *) "date", NULL
20926 };
20927
20928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20931 {
20932 arg2 = wxString_in_helper(obj1);
20933 if (arg2 == NULL) SWIG_fail;
20934 temp2 = True;
20935 }
20936 {
20937 PyThreadState* __tstate = wxPyBeginAllowThreads();
20938 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20939
20940 wxPyEndAllowThreads(__tstate);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
20943 resultobj = SWIG_FromInt((int)result);
20944 {
20945 if (temp2)
20946 delete arg2;
20947 }
20948 return resultobj;
20949 fail:
20950 {
20951 if (temp2)
20952 delete arg2;
20953 }
20954 return NULL;
20955}
20956
20957
20958static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 wxDateTime *arg1 = (wxDateTime *) 0 ;
20961 wxString *arg2 = 0 ;
20962 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20963 wxString *arg3 = (wxString *) &arg3_defvalue ;
20964 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20965 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20966 int result;
20967 bool temp2 = False ;
20968 bool temp3 = False ;
20969 PyObject * obj0 = 0 ;
20970 PyObject * obj1 = 0 ;
20971 PyObject * obj2 = 0 ;
20972 PyObject * obj3 = 0 ;
20973 char *kwnames[] = {
20974 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20975 };
20976
20977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20980 {
20981 arg2 = wxString_in_helper(obj1);
20982 if (arg2 == NULL) SWIG_fail;
20983 temp2 = True;
20984 }
20985 if (obj2) {
20986 {
20987 arg3 = wxString_in_helper(obj2);
20988 if (arg3 == NULL) SWIG_fail;
20989 temp3 = True;
20990 }
20991 }
20992 if (obj3) {
20993 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20994 SWIG_POINTER_EXCEPTION | 0)) == -1)
20995 SWIG_fail;
20996 if (arg4 == NULL) {
20997 PyErr_SetString(PyExc_TypeError,"null reference");
20998 SWIG_fail;
20999 }
21000 }
21001 {
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
21003 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
21004
21005 wxPyEndAllowThreads(__tstate);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
21008 resultobj = SWIG_FromInt((int)result);
21009 {
21010 if (temp2)
21011 delete arg2;
21012 }
21013 {
21014 if (temp3)
21015 delete arg3;
21016 }
21017 return resultobj;
21018 fail:
21019 {
21020 if (temp2)
21021 delete arg2;
21022 }
21023 {
21024 if (temp3)
21025 delete arg3;
21026 }
21027 return NULL;
21028}
21029
21030
21031static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21032 PyObject *resultobj;
21033 wxDateTime *arg1 = (wxDateTime *) 0 ;
21034 wxString *arg2 = 0 ;
21035 int result;
21036 bool temp2 = False ;
21037 PyObject * obj0 = 0 ;
21038 PyObject * obj1 = 0 ;
21039 char *kwnames[] = {
21040 (char *) "self",(char *) "datetime", NULL
21041 };
21042
21043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
21044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21046 {
21047 arg2 = wxString_in_helper(obj1);
21048 if (arg2 == NULL) SWIG_fail;
21049 temp2 = True;
21050 }
21051 {
21052 PyThreadState* __tstate = wxPyBeginAllowThreads();
21053 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
21054
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 resultobj = SWIG_FromInt((int)result);
21059 {
21060 if (temp2)
21061 delete arg2;
21062 }
21063 return resultobj;
21064 fail:
21065 {
21066 if (temp2)
21067 delete arg2;
21068 }
21069 return NULL;
21070}
21071
21072
21073static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21074 PyObject *resultobj;
21075 wxDateTime *arg1 = (wxDateTime *) 0 ;
21076 wxString *arg2 = 0 ;
21077 int result;
21078 bool temp2 = False ;
21079 PyObject * obj0 = 0 ;
21080 PyObject * obj1 = 0 ;
21081 char *kwnames[] = {
21082 (char *) "self",(char *) "date", NULL
21083 };
21084
21085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
21086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21088 {
21089 arg2 = wxString_in_helper(obj1);
21090 if (arg2 == NULL) SWIG_fail;
21091 temp2 = True;
21092 }
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
21096
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 resultobj = SWIG_FromInt((int)result);
21101 {
21102 if (temp2)
21103 delete arg2;
21104 }
21105 return resultobj;
21106 fail:
21107 {
21108 if (temp2)
21109 delete arg2;
21110 }
21111 return NULL;
21112}
21113
21114
21115static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21116 PyObject *resultobj;
21117 wxDateTime *arg1 = (wxDateTime *) 0 ;
21118 wxString *arg2 = 0 ;
21119 int result;
21120 bool temp2 = False ;
21121 PyObject * obj0 = 0 ;
21122 PyObject * obj1 = 0 ;
21123 char *kwnames[] = {
21124 (char *) "self",(char *) "time", NULL
21125 };
21126
21127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
21128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21130 {
21131 arg2 = wxString_in_helper(obj1);
21132 if (arg2 == NULL) SWIG_fail;
21133 temp2 = True;
21134 }
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 resultobj = SWIG_FromInt((int)result);
21143 {
21144 if (temp2)
21145 delete arg2;
21146 }
21147 return resultobj;
21148 fail:
21149 {
21150 if (temp2)
21151 delete arg2;
21152 }
21153 return NULL;
21154}
21155
21156
21157static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
21158 PyObject *resultobj;
21159 wxDateTime *arg1 = (wxDateTime *) 0 ;
21160 wxString const &arg2_defvalue = wxPyDateFormatStr ;
21161 wxString *arg2 = (wxString *) &arg2_defvalue ;
21162 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21163 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21164 wxString result;
21165 bool temp2 = False ;
21166 bool temp3 = False ;
21167 PyObject * obj0 = 0 ;
21168 PyObject * obj1 = 0 ;
21169 PyObject * obj2 = 0 ;
21170 char *kwnames[] = {
21171 (char *) "self",(char *) "format",(char *) "tz", NULL
21172 };
21173
21174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21177 if (obj1) {
21178 {
21179 arg2 = wxString_in_helper(obj1);
21180 if (arg2 == NULL) SWIG_fail;
21181 temp2 = True;
21182 }
21183 }
21184 if (obj2) {
21185 {
21186 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21187 temp3 = True;
21188 }
21189 }
21190 {
21191 PyThreadState* __tstate = wxPyBeginAllowThreads();
21192 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21193
21194 wxPyEndAllowThreads(__tstate);
21195 if (PyErr_Occurred()) SWIG_fail;
21196 }
21197 {
21198#if wxUSE_UNICODE
21199 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21200#else
21201 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21202#endif
21203 }
21204 {
21205 if (temp2)
21206 delete arg2;
21207 }
21208 {
21209 if (temp3) delete arg3;
21210 }
21211 return resultobj;
21212 fail:
21213 {
21214 if (temp2)
21215 delete arg2;
21216 }
21217 {
21218 if (temp3) delete arg3;
21219 }
21220 return NULL;
21221}
21222
21223
21224static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxDateTime *arg1 = (wxDateTime *) 0 ;
21227 wxString result;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21236 {
21237 PyThreadState* __tstate = wxPyBeginAllowThreads();
21238 result = ((wxDateTime const *)arg1)->FormatDate();
21239
21240 wxPyEndAllowThreads(__tstate);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
21243 {
21244#if wxUSE_UNICODE
21245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21246#else
21247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21248#endif
21249 }
21250 return resultobj;
21251 fail:
21252 return NULL;
21253}
21254
21255
21256static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21257 PyObject *resultobj;
21258 wxDateTime *arg1 = (wxDateTime *) 0 ;
21259 wxString result;
21260 PyObject * obj0 = 0 ;
21261 char *kwnames[] = {
21262 (char *) "self", NULL
21263 };
21264
21265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 result = ((wxDateTime const *)arg1)->FormatTime();
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 {
21276#if wxUSE_UNICODE
21277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21278#else
21279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21280#endif
21281 }
21282 return resultobj;
21283 fail:
21284 return NULL;
21285}
21286
21287
21288static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
21289 PyObject *resultobj;
21290 wxDateTime *arg1 = (wxDateTime *) 0 ;
21291 wxString result;
21292 PyObject * obj0 = 0 ;
21293 char *kwnames[] = {
21294 (char *) "self", NULL
21295 };
21296
21297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 result = ((wxDateTime const *)arg1)->FormatISODate();
21303
21304 wxPyEndAllowThreads(__tstate);
21305 if (PyErr_Occurred()) SWIG_fail;
21306 }
21307 {
21308#if wxUSE_UNICODE
21309 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21310#else
21311 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21312#endif
21313 }
21314 return resultobj;
21315 fail:
21316 return NULL;
21317}
21318
21319
21320static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21321 PyObject *resultobj;
21322 wxDateTime *arg1 = (wxDateTime *) 0 ;
21323 wxString result;
21324 PyObject * obj0 = 0 ;
21325 char *kwnames[] = {
21326 (char *) "self", NULL
21327 };
21328
21329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21332 {
21333 PyThreadState* __tstate = wxPyBeginAllowThreads();
21334 result = ((wxDateTime const *)arg1)->FormatISOTime();
21335
21336 wxPyEndAllowThreads(__tstate);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 }
21339 {
21340#if wxUSE_UNICODE
21341 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21342#else
21343 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21344#endif
21345 }
21346 return resultobj;
21347 fail:
21348 return NULL;
21349}
21350
21351
21352static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
21353 PyObject *obj;
21354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21355 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21356 Py_INCREF(obj);
21357 return Py_BuildValue((char *)"");
21358}
21359static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21360 PyObject *resultobj;
21361 long arg1 ;
21362 wxTimeSpan result;
21363 PyObject * obj0 = 0 ;
21364 char *kwnames[] = {
21365 (char *) "sec", NULL
21366 };
21367
21368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21369 arg1 = (long) SWIG_AsLong(obj0);
21370 if (PyErr_Occurred()) SWIG_fail;
21371 {
21372 PyThreadState* __tstate = wxPyBeginAllowThreads();
21373 result = wxTimeSpan::Seconds(arg1);
21374
21375 wxPyEndAllowThreads(__tstate);
21376 if (PyErr_Occurred()) SWIG_fail;
21377 }
21378 {
21379 wxTimeSpan * resultptr;
21380 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21382 }
21383 return resultobj;
21384 fail:
21385 return NULL;
21386}
21387
21388
21389static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
21390 PyObject *resultobj;
21391 wxTimeSpan result;
21392 char *kwnames[] = {
21393 NULL
21394 };
21395
21396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 result = wxTimeSpan::Second();
21400
21401 wxPyEndAllowThreads(__tstate);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
21404 {
21405 wxTimeSpan * resultptr;
21406 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21407 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21408 }
21409 return resultobj;
21410 fail:
21411 return NULL;
21412}
21413
21414
21415static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
21416 PyObject *resultobj;
21417 long arg1 ;
21418 wxTimeSpan result;
21419 PyObject * obj0 = 0 ;
21420 char *kwnames[] = {
21421 (char *) "min", NULL
21422 };
21423
21424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21425 arg1 = (long) SWIG_AsLong(obj0);
21426 if (PyErr_Occurred()) SWIG_fail;
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 result = wxTimeSpan::Minutes(arg1);
21430
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 {
21435 wxTimeSpan * resultptr;
21436 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21438 }
21439 return resultobj;
21440 fail:
21441 return NULL;
21442}
21443
21444
21445static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
21446 PyObject *resultobj;
21447 wxTimeSpan result;
21448 char *kwnames[] = {
21449 NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21453 {
21454 PyThreadState* __tstate = wxPyBeginAllowThreads();
21455 result = wxTimeSpan::Minute();
21456
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 {
21461 wxTimeSpan * resultptr;
21462 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21464 }
21465 return resultobj;
21466 fail:
21467 return NULL;
21468}
21469
21470
21471static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
21472 PyObject *resultobj;
21473 long arg1 ;
21474 wxTimeSpan result;
21475 PyObject * obj0 = 0 ;
21476 char *kwnames[] = {
21477 (char *) "hours", NULL
21478 };
21479
21480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21481 arg1 = (long) SWIG_AsLong(obj0);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 result = wxTimeSpan::Hours(arg1);
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 {
21491 wxTimeSpan * resultptr;
21492 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21493 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21494 }
21495 return resultobj;
21496 fail:
21497 return NULL;
21498}
21499
21500
21501static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
21502 PyObject *resultobj;
21503 wxTimeSpan result;
21504 char *kwnames[] = {
21505 NULL
21506 };
21507
21508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21509 {
21510 PyThreadState* __tstate = wxPyBeginAllowThreads();
21511 result = wxTimeSpan::Hour();
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 {
21517 wxTimeSpan * resultptr;
21518 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21519 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21520 }
21521 return resultobj;
21522 fail:
21523 return NULL;
21524}
21525
21526
21527static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21528 PyObject *resultobj;
21529 long arg1 ;
21530 wxTimeSpan result;
21531 PyObject * obj0 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "days", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21537 arg1 = (long) SWIG_AsLong(obj0);
21538 if (PyErr_Occurred()) SWIG_fail;
21539 {
21540 PyThreadState* __tstate = wxPyBeginAllowThreads();
21541 result = wxTimeSpan::Days(arg1);
21542
21543 wxPyEndAllowThreads(__tstate);
21544 if (PyErr_Occurred()) SWIG_fail;
21545 }
21546 {
21547 wxTimeSpan * resultptr;
21548 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21549 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21550 }
21551 return resultobj;
21552 fail:
21553 return NULL;
21554}
21555
21556
21557static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21558 PyObject *resultobj;
21559 wxTimeSpan result;
21560 char *kwnames[] = {
21561 NULL
21562 };
21563
21564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21565 {
21566 PyThreadState* __tstate = wxPyBeginAllowThreads();
21567 result = wxTimeSpan::Day();
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
21572 {
21573 wxTimeSpan * resultptr;
21574 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21575 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21576 }
21577 return resultobj;
21578 fail:
21579 return NULL;
21580}
21581
21582
21583static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21584 PyObject *resultobj;
21585 long arg1 ;
21586 wxTimeSpan result;
21587 PyObject * obj0 = 0 ;
21588 char *kwnames[] = {
21589 (char *) "days", NULL
21590 };
21591
21592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21593 arg1 = (long) SWIG_AsLong(obj0);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 {
21596 PyThreadState* __tstate = wxPyBeginAllowThreads();
21597 result = wxTimeSpan::Weeks(arg1);
21598
21599 wxPyEndAllowThreads(__tstate);
21600 if (PyErr_Occurred()) SWIG_fail;
21601 }
21602 {
21603 wxTimeSpan * resultptr;
21604 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21606 }
21607 return resultobj;
21608 fail:
21609 return NULL;
21610}
21611
21612
21613static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxTimeSpan result;
21616 char *kwnames[] = {
21617 NULL
21618 };
21619
21620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21621 {
21622 PyThreadState* __tstate = wxPyBeginAllowThreads();
21623 result = wxTimeSpan::Week();
21624
21625 wxPyEndAllowThreads(__tstate);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 }
21628 {
21629 wxTimeSpan * resultptr;
21630 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21632 }
21633 return resultobj;
21634 fail:
21635 return NULL;
21636}
21637
21638
21639static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21640 PyObject *resultobj;
21641 long arg1 = (long) 0 ;
21642 long arg2 = (long) 0 ;
21643 long arg3 = (long) 0 ;
21644 long arg4 = (long) 0 ;
21645 wxTimeSpan *result;
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 PyObject * obj2 = 0 ;
21649 PyObject * obj3 = 0 ;
21650 char *kwnames[] = {
21651 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21652 };
21653
21654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21655 if (obj0) {
21656 arg1 = (long) SWIG_AsLong(obj0);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 if (obj1) {
21660 arg2 = (long) SWIG_AsLong(obj1);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
21663 if (obj2) {
21664 arg3 = (long) SWIG_AsLong(obj2);
21665 if (PyErr_Occurred()) SWIG_fail;
21666 }
21667 if (obj3) {
21668 arg4 = (long) SWIG_AsLong(obj3);
21669 if (PyErr_Occurred()) SWIG_fail;
21670 }
21671 {
21672 PyThreadState* __tstate = wxPyBeginAllowThreads();
21673 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21674
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21679 return resultobj;
21680 fail:
21681 return NULL;
21682}
21683
21684
21685static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21686 PyObject *resultobj;
21687 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21688 PyObject * obj0 = 0 ;
21689 char *kwnames[] = {
21690 (char *) "self", NULL
21691 };
21692
21693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21696 {
21697 PyThreadState* __tstate = wxPyBeginAllowThreads();
21698 delete arg1;
21699
21700 wxPyEndAllowThreads(__tstate);
21701 if (PyErr_Occurred()) SWIG_fail;
21702 }
21703 Py_INCREF(Py_None); resultobj = Py_None;
21704 return resultobj;
21705 fail:
21706 return NULL;
21707}
21708
21709
21710static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21711 PyObject *resultobj;
21712 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21713 wxTimeSpan *arg2 = 0 ;
21714 wxTimeSpan *result;
21715 PyObject * obj0 = 0 ;
21716 PyObject * obj1 = 0 ;
21717 char *kwnames[] = {
21718 (char *) "self",(char *) "diff", NULL
21719 };
21720
21721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21725 SWIG_POINTER_EXCEPTION | 0)) == -1)
21726 SWIG_fail;
21727 if (arg2 == NULL) {
21728 PyErr_SetString(PyExc_TypeError,"null reference");
21729 SWIG_fail;
21730 }
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 {
21734 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21735 result = (wxTimeSpan *) &_result_ref;
21736 }
21737
21738 wxPyEndAllowThreads(__tstate);
21739 if (PyErr_Occurred()) SWIG_fail;
21740 }
21741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21742 return resultobj;
21743 fail:
21744 return NULL;
21745}
21746
21747
21748static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21749 PyObject *resultobj;
21750 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21751 wxTimeSpan *arg2 = 0 ;
21752 wxTimeSpan *result;
21753 PyObject * obj0 = 0 ;
21754 PyObject * obj1 = 0 ;
21755 char *kwnames[] = {
21756 (char *) "self",(char *) "diff", NULL
21757 };
21758
21759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21763 SWIG_POINTER_EXCEPTION | 0)) == -1)
21764 SWIG_fail;
21765 if (arg2 == NULL) {
21766 PyErr_SetString(PyExc_TypeError,"null reference");
21767 SWIG_fail;
21768 }
21769 {
21770 PyThreadState* __tstate = wxPyBeginAllowThreads();
21771 {
21772 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21773 result = (wxTimeSpan *) &_result_ref;
21774 }
21775
21776 wxPyEndAllowThreads(__tstate);
21777 if (PyErr_Occurred()) SWIG_fail;
21778 }
21779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21780 return resultobj;
21781 fail:
21782 return NULL;
21783}
21784
21785
21786static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21787 PyObject *resultobj;
21788 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21789 int arg2 ;
21790 wxTimeSpan *result;
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 char *kwnames[] = {
21794 (char *) "self",(char *) "n", NULL
21795 };
21796
21797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21800 arg2 = (int) SWIG_AsInt(obj1);
21801 if (PyErr_Occurred()) SWIG_fail;
21802 {
21803 PyThreadState* __tstate = wxPyBeginAllowThreads();
21804 {
21805 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21806 result = (wxTimeSpan *) &_result_ref;
21807 }
21808
21809 wxPyEndAllowThreads(__tstate);
21810 if (PyErr_Occurred()) SWIG_fail;
21811 }
21812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21813 return resultobj;
21814 fail:
21815 return NULL;
21816}
21817
21818
21819static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21820 PyObject *resultobj;
21821 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21822 wxTimeSpan *result;
21823 PyObject * obj0 = 0 ;
21824 char *kwnames[] = {
21825 (char *) "self", NULL
21826 };
21827
21828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 {
21834 wxTimeSpan &_result_ref = (arg1)->Neg();
21835 result = (wxTimeSpan *) &_result_ref;
21836 }
21837
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21842 return resultobj;
21843 fail:
21844 return NULL;
21845}
21846
21847
21848static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21849 PyObject *resultobj;
21850 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21851 wxTimeSpan result;
21852 PyObject * obj0 = 0 ;
21853 char *kwnames[] = {
21854 (char *) "self", NULL
21855 };
21856
21857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21860 {
21861 PyThreadState* __tstate = wxPyBeginAllowThreads();
21862 result = ((wxTimeSpan const *)arg1)->Abs();
21863
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 {
21868 wxTimeSpan * resultptr;
21869 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21870 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21871 }
21872 return resultobj;
21873 fail:
21874 return NULL;
21875}
21876
21877
21878static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21879 PyObject *resultobj;
21880 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21881 wxTimeSpan *arg2 = 0 ;
21882 wxTimeSpan *result;
21883 PyObject * obj0 = 0 ;
21884 PyObject * obj1 = 0 ;
21885 char *kwnames[] = {
21886 (char *) "self",(char *) "diff", NULL
21887 };
21888
21889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21893 SWIG_POINTER_EXCEPTION | 0)) == -1)
21894 SWIG_fail;
21895 if (arg2 == NULL) {
21896 PyErr_SetString(PyExc_TypeError,"null reference");
21897 SWIG_fail;
21898 }
21899 {
21900 PyThreadState* __tstate = wxPyBeginAllowThreads();
21901 {
21902 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21903 result = (wxTimeSpan *) &_result_ref;
21904 }
21905
21906 wxPyEndAllowThreads(__tstate);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 }
21909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21910 return resultobj;
21911 fail:
21912 return NULL;
21913}
21914
21915
21916static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21917 PyObject *resultobj;
21918 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21919 wxTimeSpan *arg2 = 0 ;
21920 wxTimeSpan *result;
21921 PyObject * obj0 = 0 ;
21922 PyObject * obj1 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "self",(char *) "diff", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21930 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21931 SWIG_POINTER_EXCEPTION | 0)) == -1)
21932 SWIG_fail;
21933 if (arg2 == NULL) {
21934 PyErr_SetString(PyExc_TypeError,"null reference");
21935 SWIG_fail;
21936 }
21937 {
21938 PyThreadState* __tstate = wxPyBeginAllowThreads();
21939 {
21940 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21941 result = (wxTimeSpan *) &_result_ref;
21942 }
21943
21944 wxPyEndAllowThreads(__tstate);
21945 if (PyErr_Occurred()) SWIG_fail;
21946 }
21947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21948 return resultobj;
21949 fail:
21950 return NULL;
21951}
21952
21953
21954static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21955 PyObject *resultobj;
21956 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21957 int arg2 ;
21958 wxTimeSpan *result;
21959 PyObject * obj0 = 0 ;
21960 PyObject * obj1 = 0 ;
21961 char *kwnames[] = {
21962 (char *) "self",(char *) "n", NULL
21963 };
21964
21965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21968 arg2 = (int) SWIG_AsInt(obj1);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 {
21971 PyThreadState* __tstate = wxPyBeginAllowThreads();
21972 {
21973 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21974 result = (wxTimeSpan *) &_result_ref;
21975 }
21976
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21981 return resultobj;
21982 fail:
21983 return NULL;
21984}
21985
21986
21987static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21988 PyObject *resultobj;
21989 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21990 wxTimeSpan *result;
21991 PyObject * obj0 = 0 ;
21992 char *kwnames[] = {
21993 (char *) "self", NULL
21994 };
21995
21996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 {
22002 wxTimeSpan &_result_ref = (arg1)->operator -();
22003 result = (wxTimeSpan *) &_result_ref;
22004 }
22005
22006 wxPyEndAllowThreads(__tstate);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 }
22009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22010 return resultobj;
22011 fail:
22012 return NULL;
22013}
22014
22015
22016static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
22017 PyObject *resultobj;
22018 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22019 wxTimeSpan *arg2 = 0 ;
22020 wxTimeSpan result;
22021 PyObject * obj0 = 0 ;
22022 PyObject * obj1 = 0 ;
22023 char *kwnames[] = {
22024 (char *) "self",(char *) "other", NULL
22025 };
22026
22027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
22028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22030 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22031 SWIG_POINTER_EXCEPTION | 0)) == -1)
22032 SWIG_fail;
22033 if (arg2 == NULL) {
22034 PyErr_SetString(PyExc_TypeError,"null reference");
22035 SWIG_fail;
22036 }
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
22040
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 {
22045 wxTimeSpan * resultptr;
22046 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22047 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22048 }
22049 return resultobj;
22050 fail:
22051 return NULL;
22052}
22053
22054
22055static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
22056 PyObject *resultobj;
22057 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22058 wxTimeSpan *arg2 = 0 ;
22059 wxTimeSpan result;
22060 PyObject * obj0 = 0 ;
22061 PyObject * obj1 = 0 ;
22062 char *kwnames[] = {
22063 (char *) "self",(char *) "other", NULL
22064 };
22065
22066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
22067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22070 SWIG_POINTER_EXCEPTION | 0)) == -1)
22071 SWIG_fail;
22072 if (arg2 == NULL) {
22073 PyErr_SetString(PyExc_TypeError,"null reference");
22074 SWIG_fail;
22075 }
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
22079
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 {
22084 wxTimeSpan * resultptr;
22085 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22087 }
22088 return resultobj;
22089 fail:
22090 return NULL;
22091}
22092
22093
22094static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22095 PyObject *resultobj;
22096 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22097 int arg2 ;
22098 wxTimeSpan result;
22099 PyObject * obj0 = 0 ;
22100 PyObject * obj1 = 0 ;
22101 char *kwnames[] = {
22102 (char *) "self",(char *) "n", NULL
22103 };
22104
22105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
22106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22108 arg2 = (int) SWIG_AsInt(obj1);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 {
22111 PyThreadState* __tstate = wxPyBeginAllowThreads();
22112 result = wxTimeSpan___mul__(arg1,arg2);
22113
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 {
22118 wxTimeSpan * resultptr;
22119 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22121 }
22122 return resultobj;
22123 fail:
22124 return NULL;
22125}
22126
22127
22128static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22129 PyObject *resultobj;
22130 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22131 int arg2 ;
22132 wxTimeSpan result;
22133 PyObject * obj0 = 0 ;
22134 PyObject * obj1 = 0 ;
22135 char *kwnames[] = {
22136 (char *) "self",(char *) "n", NULL
22137 };
22138
22139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
22140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22142 arg2 = (int) SWIG_AsInt(obj1);
22143 if (PyErr_Occurred()) SWIG_fail;
22144 {
22145 PyThreadState* __tstate = wxPyBeginAllowThreads();
22146 result = wxTimeSpan___rmul__(arg1,arg2);
22147
22148 wxPyEndAllowThreads(__tstate);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
22151 {
22152 wxTimeSpan * resultptr;
22153 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22154 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22155 }
22156 return resultobj;
22157 fail:
22158 return NULL;
22159}
22160
22161
22162static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22163 PyObject *resultobj;
22164 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22165 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22166 bool result;
22167 PyObject * obj0 = 0 ;
22168 PyObject * obj1 = 0 ;
22169 char *kwnames[] = {
22170 (char *) "self",(char *) "other", NULL
22171 };
22172
22173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
22174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22178 {
22179 PyThreadState* __tstate = wxPyBeginAllowThreads();
22180 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22181
22182 wxPyEndAllowThreads(__tstate);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
22185 {
22186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22187 }
22188 return resultobj;
22189 fail:
22190 return NULL;
22191}
22192
22193
22194static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
22195 PyObject *resultobj;
22196 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22197 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22198 bool result;
22199 PyObject * obj0 = 0 ;
22200 PyObject * obj1 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "self",(char *) "other", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 {
22218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22219 }
22220 return resultobj;
22221 fail:
22222 return NULL;
22223}
22224
22225
22226static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj;
22228 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22229 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22230 bool result;
22231 PyObject * obj0 = 0 ;
22232 PyObject * obj1 = 0 ;
22233 char *kwnames[] = {
22234 (char *) "self",(char *) "other", NULL
22235 };
22236
22237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22245
22246 wxPyEndAllowThreads(__tstate);
22247 if (PyErr_Occurred()) SWIG_fail;
22248 }
22249 {
22250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22251 }
22252 return resultobj;
22253 fail:
22254 return NULL;
22255}
22256
22257
22258static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
22259 PyObject *resultobj;
22260 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22261 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22262 bool result;
22263 PyObject * obj0 = 0 ;
22264 PyObject * obj1 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self",(char *) "other", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22272 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22274 {
22275 PyThreadState* __tstate = wxPyBeginAllowThreads();
22276 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22277
22278 wxPyEndAllowThreads(__tstate);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 }
22281 {
22282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22283 }
22284 return resultobj;
22285 fail:
22286 return NULL;
22287}
22288
22289
22290static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22291 PyObject *resultobj;
22292 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22293 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22294 bool result;
22295 PyObject * obj0 = 0 ;
22296 PyObject * obj1 = 0 ;
22297 char *kwnames[] = {
22298 (char *) "self",(char *) "other", NULL
22299 };
22300
22301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 {
22314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22315 }
22316 return resultobj;
22317 fail:
22318 return NULL;
22319}
22320
22321
22322static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22323 PyObject *resultobj;
22324 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22325 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22326 bool result;
22327 PyObject * obj0 = 0 ;
22328 PyObject * obj1 = 0 ;
22329 char *kwnames[] = {
22330 (char *) "self",(char *) "other", NULL
22331 };
22332
22333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22336 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 {
22346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22347 }
22348 return resultobj;
22349 fail:
22350 return NULL;
22351}
22352
22353
22354static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
22355 PyObject *resultobj;
22356 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22357 bool result;
22358 PyObject * obj0 = 0 ;
22359 char *kwnames[] = {
22360 (char *) "self", NULL
22361 };
22362
22363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 {
22374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22375 }
22376 return resultobj;
22377 fail:
22378 return NULL;
22379}
22380
22381
22382static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
22383 PyObject *resultobj;
22384 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22385 bool result;
22386 PyObject * obj0 = 0 ;
22387 char *kwnames[] = {
22388 (char *) "self", NULL
22389 };
22390
22391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 {
22402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22403 }
22404 return resultobj;
22405 fail:
22406 return NULL;
22407}
22408
22409
22410static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
22411 PyObject *resultobj;
22412 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22413 bool result;
22414 PyObject * obj0 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "self", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22422 {
22423 PyThreadState* __tstate = wxPyBeginAllowThreads();
22424 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22425
22426 wxPyEndAllowThreads(__tstate);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
22429 {
22430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22431 }
22432 return resultobj;
22433 fail:
22434 return NULL;
22435}
22436
22437
22438static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22439 PyObject *resultobj;
22440 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22441 wxTimeSpan *arg2 = 0 ;
22442 bool result;
22443 PyObject * obj0 = 0 ;
22444 PyObject * obj1 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self",(char *) "ts", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22453 SWIG_POINTER_EXCEPTION | 0)) == -1)
22454 SWIG_fail;
22455 if (arg2 == NULL) {
22456 PyErr_SetString(PyExc_TypeError,"null reference");
22457 SWIG_fail;
22458 }
22459 {
22460 PyThreadState* __tstate = wxPyBeginAllowThreads();
22461 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22462
22463 wxPyEndAllowThreads(__tstate);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 {
22467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22468 }
22469 return resultobj;
22470 fail:
22471 return NULL;
22472}
22473
22474
22475static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22476 PyObject *resultobj;
22477 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22478 wxTimeSpan *arg2 = 0 ;
22479 bool result;
22480 PyObject * obj0 = 0 ;
22481 PyObject * obj1 = 0 ;
22482 char *kwnames[] = {
22483 (char *) "self",(char *) "ts", NULL
22484 };
22485
22486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22490 SWIG_POINTER_EXCEPTION | 0)) == -1)
22491 SWIG_fail;
22492 if (arg2 == NULL) {
22493 PyErr_SetString(PyExc_TypeError,"null reference");
22494 SWIG_fail;
22495 }
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22499
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 {
22504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22505 }
22506 return resultobj;
22507 fail:
22508 return NULL;
22509}
22510
22511
22512static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj;
22514 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22515 wxTimeSpan *arg2 = 0 ;
22516 bool result;
22517 PyObject * obj0 = 0 ;
22518 PyObject * obj1 = 0 ;
22519 char *kwnames[] = {
22520 (char *) "self",(char *) "t", NULL
22521 };
22522
22523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22526 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22527 SWIG_POINTER_EXCEPTION | 0)) == -1)
22528 SWIG_fail;
22529 if (arg2 == NULL) {
22530 PyErr_SetString(PyExc_TypeError,"null reference");
22531 SWIG_fail;
22532 }
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 {
22541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22542 }
22543 return resultobj;
22544 fail:
22545 return NULL;
22546}
22547
22548
22549static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22550 PyObject *resultobj;
22551 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22552 int result;
22553 PyObject * obj0 = 0 ;
22554 char *kwnames[] = {
22555 (char *) "self", NULL
22556 };
22557
22558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22561 {
22562 PyThreadState* __tstate = wxPyBeginAllowThreads();
22563 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22564
22565 wxPyEndAllowThreads(__tstate);
22566 if (PyErr_Occurred()) SWIG_fail;
22567 }
22568 resultobj = SWIG_FromInt((int)result);
22569 return resultobj;
22570 fail:
22571 return NULL;
22572}
22573
22574
22575static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22576 PyObject *resultobj;
22577 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22578 int result;
22579 PyObject * obj0 = 0 ;
22580 char *kwnames[] = {
22581 (char *) "self", NULL
22582 };
22583
22584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22587 {
22588 PyThreadState* __tstate = wxPyBeginAllowThreads();
22589 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22590
22591 wxPyEndAllowThreads(__tstate);
22592 if (PyErr_Occurred()) SWIG_fail;
22593 }
22594 resultobj = SWIG_FromInt((int)result);
22595 return resultobj;
22596 fail:
22597 return NULL;
22598}
22599
22600
22601static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22602 PyObject *resultobj;
22603 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22604 int result;
22605 PyObject * obj0 = 0 ;
22606 char *kwnames[] = {
22607 (char *) "self", NULL
22608 };
22609
22610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22616
22617 wxPyEndAllowThreads(__tstate);
22618 if (PyErr_Occurred()) SWIG_fail;
22619 }
22620 resultobj = SWIG_FromInt((int)result);
22621 return resultobj;
22622 fail:
22623 return NULL;
22624}
22625
22626
22627static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22628 PyObject *resultobj;
22629 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22630 int result;
22631 PyObject * obj0 = 0 ;
22632 char *kwnames[] = {
22633 (char *) "self", NULL
22634 };
22635
22636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22639 {
22640 PyThreadState* __tstate = wxPyBeginAllowThreads();
22641 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22642
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
22646 resultobj = SWIG_FromInt((int)result);
22647 return resultobj;
22648 fail:
22649 return NULL;
22650}
22651
22652
22653static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22654 PyObject *resultobj;
22655 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22656 wxLongLong result;
22657 PyObject * obj0 = 0 ;
22658 char *kwnames[] = {
22659 (char *) "self", NULL
22660 };
22661
22662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22665 {
22666 PyThreadState* __tstate = wxPyBeginAllowThreads();
22667 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22668
22669 wxPyEndAllowThreads(__tstate);
22670 if (PyErr_Occurred()) SWIG_fail;
22671 }
22672 {
22673 PyObject *hi, *lo, *shifter, *shifted;
22674 hi = PyLong_FromLong( (&result)->GetHi() );
22675 lo = PyLong_FromLong( (&result)->GetLo() );
22676 shifter = PyLong_FromLong(32);
22677 shifted = PyNumber_Lshift(hi, shifter);
22678 resultobj = PyNumber_Or(shifted, lo);
22679 Py_DECREF(hi);
22680 Py_DECREF(lo);
22681 Py_DECREF(shifter);
22682 Py_DECREF(shifted);
22683 }
22684 return resultobj;
22685 fail:
22686 return NULL;
22687}
22688
22689
22690static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22691 PyObject *resultobj;
22692 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22693 wxLongLong result;
22694 PyObject * obj0 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 {
22710 PyObject *hi, *lo, *shifter, *shifted;
22711 hi = PyLong_FromLong( (&result)->GetHi() );
22712 lo = PyLong_FromLong( (&result)->GetLo() );
22713 shifter = PyLong_FromLong(32);
22714 shifted = PyNumber_Lshift(hi, shifter);
22715 resultobj = PyNumber_Or(shifted, lo);
22716 Py_DECREF(hi);
22717 Py_DECREF(lo);
22718 Py_DECREF(shifter);
22719 Py_DECREF(shifted);
22720 }
22721 return resultobj;
22722 fail:
22723 return NULL;
22724}
22725
22726
22727static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22728 PyObject *resultobj;
22729 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22730 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22731 wxString *arg2 = (wxString *) &arg2_defvalue ;
22732 wxString result;
22733 bool temp2 = False ;
22734 PyObject * obj0 = 0 ;
22735 PyObject * obj1 = 0 ;
22736 char *kwnames[] = {
22737 (char *) "self",(char *) "format", NULL
22738 };
22739
22740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22743 if (obj1) {
22744 {
22745 arg2 = wxString_in_helper(obj1);
22746 if (arg2 == NULL) SWIG_fail;
22747 temp2 = True;
22748 }
22749 }
22750 {
22751 PyThreadState* __tstate = wxPyBeginAllowThreads();
22752 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22753
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 {
22758#if wxUSE_UNICODE
22759 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22760#else
22761 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22762#endif
22763 }
22764 {
22765 if (temp2)
22766 delete arg2;
22767 }
22768 return resultobj;
22769 fail:
22770 {
22771 if (temp2)
22772 delete arg2;
22773 }
22774 return NULL;
22775}
22776
22777
22778static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22779 PyObject *obj;
22780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22781 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22782 Py_INCREF(obj);
22783 return Py_BuildValue((char *)"");
22784}
22785static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22786 PyObject *resultobj;
22787 int arg1 = (int) 0 ;
22788 int arg2 = (int) 0 ;
22789 int arg3 = (int) 0 ;
22790 int arg4 = (int) 0 ;
22791 wxDateSpan *result;
22792 PyObject * obj0 = 0 ;
22793 PyObject * obj1 = 0 ;
22794 PyObject * obj2 = 0 ;
22795 PyObject * obj3 = 0 ;
22796 char *kwnames[] = {
22797 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22798 };
22799
22800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22801 if (obj0) {
22802 arg1 = (int) SWIG_AsInt(obj0);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 if (obj1) {
22806 arg2 = (int) SWIG_AsInt(obj1);
22807 if (PyErr_Occurred()) SWIG_fail;
22808 }
22809 if (obj2) {
22810 arg3 = (int) SWIG_AsInt(obj2);
22811 if (PyErr_Occurred()) SWIG_fail;
22812 }
22813 if (obj3) {
22814 arg4 = (int) SWIG_AsInt(obj3);
22815 if (PyErr_Occurred()) SWIG_fail;
22816 }
22817 {
22818 PyThreadState* __tstate = wxPyBeginAllowThreads();
22819 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22820
22821 wxPyEndAllowThreads(__tstate);
22822 if (PyErr_Occurred()) SWIG_fail;
22823 }
22824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
22825 return resultobj;
22826 fail:
22827 return NULL;
22828}
22829
22830
22831static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22832 PyObject *resultobj;
22833 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22834 PyObject * obj0 = 0 ;
22835 char *kwnames[] = {
22836 (char *) "self", NULL
22837 };
22838
22839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22842 {
22843 PyThreadState* __tstate = wxPyBeginAllowThreads();
22844 delete arg1;
22845
22846 wxPyEndAllowThreads(__tstate);
22847 if (PyErr_Occurred()) SWIG_fail;
22848 }
22849 Py_INCREF(Py_None); resultobj = Py_None;
22850 return resultobj;
22851 fail:
22852 return NULL;
22853}
22854
22855
22856static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22857 PyObject *resultobj;
22858 int arg1 ;
22859 wxDateSpan result;
22860 PyObject * obj0 = 0 ;
22861 char *kwnames[] = {
22862 (char *) "days", NULL
22863 };
22864
22865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22866 arg1 = (int) SWIG_AsInt(obj0);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 {
22869 PyThreadState* __tstate = wxPyBeginAllowThreads();
22870 result = wxDateSpan::Days(arg1);
22871
22872 wxPyEndAllowThreads(__tstate);
22873 if (PyErr_Occurred()) SWIG_fail;
22874 }
22875 {
22876 wxDateSpan * resultptr;
22877 resultptr = new wxDateSpan((wxDateSpan &) result);
22878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22879 }
22880 return resultobj;
22881 fail:
22882 return NULL;
22883}
22884
22885
22886static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22887 PyObject *resultobj;
22888 wxDateSpan result;
22889 char *kwnames[] = {
22890 NULL
22891 };
22892
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 result = wxDateSpan::Day();
22897
22898 wxPyEndAllowThreads(__tstate);
22899 if (PyErr_Occurred()) SWIG_fail;
22900 }
22901 {
22902 wxDateSpan * resultptr;
22903 resultptr = new wxDateSpan((wxDateSpan &) result);
22904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22905 }
22906 return resultobj;
22907 fail:
22908 return NULL;
22909}
22910
22911
22912static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22913 PyObject *resultobj;
22914 int arg1 ;
22915 wxDateSpan result;
22916 PyObject * obj0 = 0 ;
22917 char *kwnames[] = {
22918 (char *) "weeks", NULL
22919 };
22920
22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22922 arg1 = (int) SWIG_AsInt(obj0);
22923 if (PyErr_Occurred()) SWIG_fail;
22924 {
22925 PyThreadState* __tstate = wxPyBeginAllowThreads();
22926 result = wxDateSpan::Weeks(arg1);
22927
22928 wxPyEndAllowThreads(__tstate);
22929 if (PyErr_Occurred()) SWIG_fail;
22930 }
22931 {
22932 wxDateSpan * resultptr;
22933 resultptr = new wxDateSpan((wxDateSpan &) result);
22934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22935 }
22936 return resultobj;
22937 fail:
22938 return NULL;
22939}
22940
22941
22942static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22943 PyObject *resultobj;
22944 wxDateSpan result;
22945 char *kwnames[] = {
22946 NULL
22947 };
22948
22949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22950 {
22951 PyThreadState* __tstate = wxPyBeginAllowThreads();
22952 result = wxDateSpan::Week();
22953
22954 wxPyEndAllowThreads(__tstate);
22955 if (PyErr_Occurred()) SWIG_fail;
22956 }
22957 {
22958 wxDateSpan * resultptr;
22959 resultptr = new wxDateSpan((wxDateSpan &) result);
22960 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22961 }
22962 return resultobj;
22963 fail:
22964 return NULL;
22965}
22966
22967
22968static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22969 PyObject *resultobj;
22970 int arg1 ;
22971 wxDateSpan result;
22972 PyObject * obj0 = 0 ;
22973 char *kwnames[] = {
22974 (char *) "mon", NULL
22975 };
22976
22977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22978 arg1 = (int) SWIG_AsInt(obj0);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 {
22981 PyThreadState* __tstate = wxPyBeginAllowThreads();
22982 result = wxDateSpan::Months(arg1);
22983
22984 wxPyEndAllowThreads(__tstate);
22985 if (PyErr_Occurred()) SWIG_fail;
22986 }
22987 {
22988 wxDateSpan * resultptr;
22989 resultptr = new wxDateSpan((wxDateSpan &) result);
22990 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22991 }
22992 return resultobj;
22993 fail:
22994 return NULL;
22995}
22996
22997
22998static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22999 PyObject *resultobj;
23000 wxDateSpan result;
23001 char *kwnames[] = {
23002 NULL
23003 };
23004
23005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
23006 {
23007 PyThreadState* __tstate = wxPyBeginAllowThreads();
23008 result = wxDateSpan::Month();
23009
23010 wxPyEndAllowThreads(__tstate);
23011 if (PyErr_Occurred()) SWIG_fail;
23012 }
23013 {
23014 wxDateSpan * resultptr;
23015 resultptr = new wxDateSpan((wxDateSpan &) result);
23016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23017 }
23018 return resultobj;
23019 fail:
23020 return NULL;
23021}
23022
23023
23024static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
23025 PyObject *resultobj;
23026 int arg1 ;
23027 wxDateSpan result;
23028 PyObject * obj0 = 0 ;
23029 char *kwnames[] = {
23030 (char *) "years", NULL
23031 };
23032
23033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
23034 arg1 = (int) SWIG_AsInt(obj0);
23035 if (PyErr_Occurred()) SWIG_fail;
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 result = wxDateSpan::Years(arg1);
23039
23040 wxPyEndAllowThreads(__tstate);
23041 if (PyErr_Occurred()) SWIG_fail;
23042 }
23043 {
23044 wxDateSpan * resultptr;
23045 resultptr = new wxDateSpan((wxDateSpan &) result);
23046 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23047 }
23048 return resultobj;
23049 fail:
23050 return NULL;
23051}
23052
23053
23054static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
23055 PyObject *resultobj;
23056 wxDateSpan result;
23057 char *kwnames[] = {
23058 NULL
23059 };
23060
23061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
23062 {
23063 PyThreadState* __tstate = wxPyBeginAllowThreads();
23064 result = wxDateSpan::Year();
23065
23066 wxPyEndAllowThreads(__tstate);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 }
23069 {
23070 wxDateSpan * resultptr;
23071 resultptr = new wxDateSpan((wxDateSpan &) result);
23072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23073 }
23074 return resultobj;
23075 fail:
23076 return NULL;
23077}
23078
23079
23080static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23081 PyObject *resultobj;
23082 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23083 int arg2 ;
23084 wxDateSpan *result;
23085 PyObject * obj0 = 0 ;
23086 PyObject * obj1 = 0 ;
23087 char *kwnames[] = {
23088 (char *) "self",(char *) "n", NULL
23089 };
23090
23091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
23092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23094 arg2 = (int) SWIG_AsInt(obj1);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 {
23099 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
23100 result = (wxDateSpan *) &_result_ref;
23101 }
23102
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23107 return resultobj;
23108 fail:
23109 return NULL;
23110}
23111
23112
23113static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23114 PyObject *resultobj;
23115 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23116 int arg2 ;
23117 wxDateSpan *result;
23118 PyObject * obj0 = 0 ;
23119 PyObject * obj1 = 0 ;
23120 char *kwnames[] = {
23121 (char *) "self",(char *) "n", NULL
23122 };
23123
23124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
23125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23127 arg2 = (int) SWIG_AsInt(obj1);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 {
23130 PyThreadState* __tstate = wxPyBeginAllowThreads();
23131 {
23132 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
23133 result = (wxDateSpan *) &_result_ref;
23134 }
23135
23136 wxPyEndAllowThreads(__tstate);
23137 if (PyErr_Occurred()) SWIG_fail;
23138 }
23139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23140 return resultobj;
23141 fail:
23142 return NULL;
23143}
23144
23145
23146static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23147 PyObject *resultobj;
23148 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23149 int arg2 ;
23150 wxDateSpan *result;
23151 PyObject * obj0 = 0 ;
23152 PyObject * obj1 = 0 ;
23153 char *kwnames[] = {
23154 (char *) "self",(char *) "n", NULL
23155 };
23156
23157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
23158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23160 arg2 = (int) SWIG_AsInt(obj1);
23161 if (PyErr_Occurred()) SWIG_fail;
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 {
23165 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
23166 result = (wxDateSpan *) &_result_ref;
23167 }
23168
23169 wxPyEndAllowThreads(__tstate);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 }
23172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23173 return resultobj;
23174 fail:
23175 return NULL;
23176}
23177
23178
23179static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23180 PyObject *resultobj;
23181 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23182 int arg2 ;
23183 wxDateSpan *result;
23184 PyObject * obj0 = 0 ;
23185 PyObject * obj1 = 0 ;
23186 char *kwnames[] = {
23187 (char *) "self",(char *) "n", NULL
23188 };
23189
23190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23193 arg2 = (int) SWIG_AsInt(obj1);
23194 if (PyErr_Occurred()) SWIG_fail;
23195 {
23196 PyThreadState* __tstate = wxPyBeginAllowThreads();
23197 {
23198 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23199 result = (wxDateSpan *) &_result_ref;
23200 }
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23206 return resultobj;
23207 fail:
23208 return NULL;
23209}
23210
23211
23212static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23213 PyObject *resultobj;
23214 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23215 int result;
23216 PyObject * obj0 = 0 ;
23217 char *kwnames[] = {
23218 (char *) "self", NULL
23219 };
23220
23221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23224 {
23225 PyThreadState* __tstate = wxPyBeginAllowThreads();
23226 result = (int)((wxDateSpan const *)arg1)->GetYears();
23227
23228 wxPyEndAllowThreads(__tstate);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 }
23231 resultobj = SWIG_FromInt((int)result);
23232 return resultobj;
23233 fail:
23234 return NULL;
23235}
23236
23237
23238static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23239 PyObject *resultobj;
23240 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23241 int result;
23242 PyObject * obj0 = 0 ;
23243 char *kwnames[] = {
23244 (char *) "self", NULL
23245 };
23246
23247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23253
23254 wxPyEndAllowThreads(__tstate);
23255 if (PyErr_Occurred()) SWIG_fail;
23256 }
23257 resultobj = SWIG_FromInt((int)result);
23258 return resultobj;
23259 fail:
23260 return NULL;
23261}
23262
23263
23264static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23265 PyObject *resultobj;
23266 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23267 int result;
23268 PyObject * obj0 = 0 ;
23269 char *kwnames[] = {
23270 (char *) "self", NULL
23271 };
23272
23273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23276 {
23277 PyThreadState* __tstate = wxPyBeginAllowThreads();
23278 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23279
23280 wxPyEndAllowThreads(__tstate);
23281 if (PyErr_Occurred()) SWIG_fail;
23282 }
23283 resultobj = SWIG_FromInt((int)result);
23284 return resultobj;
23285 fail:
23286 return NULL;
23287}
23288
23289
23290static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23291 PyObject *resultobj;
23292 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23293 int result;
23294 PyObject * obj0 = 0 ;
23295 char *kwnames[] = {
23296 (char *) "self", NULL
23297 };
23298
23299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 result = (int)((wxDateSpan const *)arg1)->GetDays();
23305
23306 wxPyEndAllowThreads(__tstate);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
23309 resultobj = SWIG_FromInt((int)result);
23310 return resultobj;
23311 fail:
23312 return NULL;
23313}
23314
23315
23316static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23317 PyObject *resultobj;
23318 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23319 int result;
23320 PyObject * obj0 = 0 ;
23321 char *kwnames[] = {
23322 (char *) "self", NULL
23323 };
23324
23325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23328 {
23329 PyThreadState* __tstate = wxPyBeginAllowThreads();
23330 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23331
23332 wxPyEndAllowThreads(__tstate);
23333 if (PyErr_Occurred()) SWIG_fail;
23334 }
23335 resultobj = SWIG_FromInt((int)result);
23336 return resultobj;
23337 fail:
23338 return NULL;
23339}
23340
23341
23342static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
23343 PyObject *resultobj;
23344 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23345 wxDateSpan *arg2 = 0 ;
23346 wxDateSpan *result;
23347 PyObject * obj0 = 0 ;
23348 PyObject * obj1 = 0 ;
23349 char *kwnames[] = {
23350 (char *) "self",(char *) "other", NULL
23351 };
23352
23353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23357 SWIG_POINTER_EXCEPTION | 0)) == -1)
23358 SWIG_fail;
23359 if (arg2 == NULL) {
23360 PyErr_SetString(PyExc_TypeError,"null reference");
23361 SWIG_fail;
23362 }
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
23365 {
23366 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23367 result = (wxDateSpan *) &_result_ref;
23368 }
23369
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23374 return resultobj;
23375 fail:
23376 return NULL;
23377}
23378
23379
23380static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
23381 PyObject *resultobj;
23382 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23383 wxDateSpan *arg2 = 0 ;
23384 wxDateSpan *result;
23385 PyObject * obj0 = 0 ;
23386 PyObject * obj1 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self",(char *) "other", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23395 SWIG_POINTER_EXCEPTION | 0)) == -1)
23396 SWIG_fail;
23397 if (arg2 == NULL) {
23398 PyErr_SetString(PyExc_TypeError,"null reference");
23399 SWIG_fail;
23400 }
23401 {
23402 PyThreadState* __tstate = wxPyBeginAllowThreads();
23403 {
23404 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23405 result = (wxDateSpan *) &_result_ref;
23406 }
23407
23408 wxPyEndAllowThreads(__tstate);
23409 if (PyErr_Occurred()) SWIG_fail;
23410 }
23411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23412 return resultobj;
23413 fail:
23414 return NULL;
23415}
23416
23417
23418static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
23419 PyObject *resultobj;
23420 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23421 wxDateSpan *result;
23422 PyObject * obj0 = 0 ;
23423 char *kwnames[] = {
23424 (char *) "self", NULL
23425 };
23426
23427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 {
23433 wxDateSpan &_result_ref = (arg1)->Neg();
23434 result = (wxDateSpan *) &_result_ref;
23435 }
23436
23437 wxPyEndAllowThreads(__tstate);
23438 if (PyErr_Occurred()) SWIG_fail;
23439 }
23440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23441 return resultobj;
23442 fail:
23443 return NULL;
23444}
23445
23446
23447static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
23448 PyObject *resultobj;
23449 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23450 int arg2 ;
23451 wxDateSpan *result;
23452 PyObject * obj0 = 0 ;
23453 PyObject * obj1 = 0 ;
23454 char *kwnames[] = {
23455 (char *) "self",(char *) "factor", NULL
23456 };
23457
23458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23461 arg2 = (int) SWIG_AsInt(obj1);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 {
23466 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23467 result = (wxDateSpan *) &_result_ref;
23468 }
23469
23470 wxPyEndAllowThreads(__tstate);
23471 if (PyErr_Occurred()) SWIG_fail;
23472 }
23473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23474 return resultobj;
23475 fail:
23476 return NULL;
23477}
23478
23479
23480static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
23481 PyObject *resultobj;
23482 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23483 wxDateSpan *arg2 = 0 ;
23484 wxDateSpan *result;
23485 PyObject * obj0 = 0 ;
23486 PyObject * obj1 = 0 ;
23487 char *kwnames[] = {
23488 (char *) "self",(char *) "other", NULL
23489 };
23490
23491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23495 SWIG_POINTER_EXCEPTION | 0)) == -1)
23496 SWIG_fail;
23497 if (arg2 == NULL) {
23498 PyErr_SetString(PyExc_TypeError,"null reference");
23499 SWIG_fail;
23500 }
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 {
23504 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23505 result = (wxDateSpan *) &_result_ref;
23506 }
23507
23508 wxPyEndAllowThreads(__tstate);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 }
23511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23512 return resultobj;
23513 fail:
23514 return NULL;
23515}
23516
23517
23518static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23519 PyObject *resultobj;
23520 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23521 wxDateSpan *arg2 = 0 ;
23522 wxDateSpan *result;
23523 PyObject * obj0 = 0 ;
23524 PyObject * obj1 = 0 ;
23525 char *kwnames[] = {
23526 (char *) "self",(char *) "other", NULL
23527 };
23528
23529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23532 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23533 SWIG_POINTER_EXCEPTION | 0)) == -1)
23534 SWIG_fail;
23535 if (arg2 == NULL) {
23536 PyErr_SetString(PyExc_TypeError,"null reference");
23537 SWIG_fail;
23538 }
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 {
23542 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23543 result = (wxDateSpan *) &_result_ref;
23544 }
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23550 return resultobj;
23551 fail:
23552 return NULL;
23553}
23554
23555
23556static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
23557 PyObject *resultobj;
23558 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23559 wxDateSpan *result;
23560 PyObject * obj0 = 0 ;
23561 char *kwnames[] = {
23562 (char *) "self", NULL
23563 };
23564
23565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23568 {
23569 PyThreadState* __tstate = wxPyBeginAllowThreads();
23570 {
23571 wxDateSpan &_result_ref = (arg1)->operator -();
23572 result = (wxDateSpan *) &_result_ref;
23573 }
23574
23575 wxPyEndAllowThreads(__tstate);
23576 if (PyErr_Occurred()) SWIG_fail;
23577 }
23578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23579 return resultobj;
23580 fail:
23581 return NULL;
23582}
23583
23584
23585static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23586 PyObject *resultobj;
23587 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23588 int arg2 ;
23589 wxDateSpan *result;
23590 PyObject * obj0 = 0 ;
23591 PyObject * obj1 = 0 ;
23592 char *kwnames[] = {
23593 (char *) "self",(char *) "factor", NULL
23594 };
23595
23596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23599 arg2 = (int) SWIG_AsInt(obj1);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 {
23602 PyThreadState* __tstate = wxPyBeginAllowThreads();
23603 {
23604 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23605 result = (wxDateSpan *) &_result_ref;
23606 }
23607
23608 wxPyEndAllowThreads(__tstate);
23609 if (PyErr_Occurred()) SWIG_fail;
23610 }
23611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23612 return resultobj;
23613 fail:
23614 return NULL;
23615}
23616
23617
23618static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23619 PyObject *resultobj;
23620 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23621 wxDateSpan *arg2 = 0 ;
23622 wxDateSpan result;
23623 PyObject * obj0 = 0 ;
23624 PyObject * obj1 = 0 ;
23625 char *kwnames[] = {
23626 (char *) "self",(char *) "other", NULL
23627 };
23628
23629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23633 SWIG_POINTER_EXCEPTION | 0)) == -1)
23634 SWIG_fail;
23635 if (arg2 == NULL) {
23636 PyErr_SetString(PyExc_TypeError,"null reference");
23637 SWIG_fail;
23638 }
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 {
23647 wxDateSpan * resultptr;
23648 resultptr = new wxDateSpan((wxDateSpan &) result);
23649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23650 }
23651 return resultobj;
23652 fail:
23653 return NULL;
23654}
23655
23656
23657static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23658 PyObject *resultobj;
23659 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23660 wxDateSpan *arg2 = 0 ;
23661 wxDateSpan result;
23662 PyObject * obj0 = 0 ;
23663 PyObject * obj1 = 0 ;
23664 char *kwnames[] = {
23665 (char *) "self",(char *) "other", NULL
23666 };
23667
23668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23672 SWIG_POINTER_EXCEPTION | 0)) == -1)
23673 SWIG_fail;
23674 if (arg2 == NULL) {
23675 PyErr_SetString(PyExc_TypeError,"null reference");
23676 SWIG_fail;
23677 }
23678 {
23679 PyThreadState* __tstate = wxPyBeginAllowThreads();
23680 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23681
23682 wxPyEndAllowThreads(__tstate);
23683 if (PyErr_Occurred()) SWIG_fail;
23684 }
23685 {
23686 wxDateSpan * resultptr;
23687 resultptr = new wxDateSpan((wxDateSpan &) result);
23688 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23689 }
23690 return resultobj;
23691 fail:
23692 return NULL;
23693}
23694
23695
23696static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23697 PyObject *resultobj;
23698 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23699 int arg2 ;
23700 wxDateSpan result;
23701 PyObject * obj0 = 0 ;
23702 PyObject * obj1 = 0 ;
23703 char *kwnames[] = {
23704 (char *) "self",(char *) "n", NULL
23705 };
23706
23707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23710 arg2 = (int) SWIG_AsInt(obj1);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 {
23713 PyThreadState* __tstate = wxPyBeginAllowThreads();
23714 result = wxDateSpan___mul__(arg1,arg2);
23715
23716 wxPyEndAllowThreads(__tstate);
23717 if (PyErr_Occurred()) SWIG_fail;
23718 }
23719 {
23720 wxDateSpan * resultptr;
23721 resultptr = new wxDateSpan((wxDateSpan &) result);
23722 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23723 }
23724 return resultobj;
23725 fail:
23726 return NULL;
23727}
23728
23729
23730static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23731 PyObject *resultobj;
23732 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23733 int arg2 ;
23734 wxDateSpan result;
23735 PyObject * obj0 = 0 ;
23736 PyObject * obj1 = 0 ;
23737 char *kwnames[] = {
23738 (char *) "self",(char *) "n", NULL
23739 };
23740
23741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23744 arg2 = (int) SWIG_AsInt(obj1);
23745 if (PyErr_Occurred()) SWIG_fail;
23746 {
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 result = wxDateSpan___rmul__(arg1,arg2);
23749
23750 wxPyEndAllowThreads(__tstate);
23751 if (PyErr_Occurred()) SWIG_fail;
23752 }
23753 {
23754 wxDateSpan * resultptr;
23755 resultptr = new wxDateSpan((wxDateSpan &) result);
23756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23757 }
23758 return resultobj;
23759 fail:
23760 return NULL;
23761}
23762
23763
23764static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23765 PyObject *resultobj;
23766 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23767 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23768 bool result;
23769 PyObject * obj0 = 0 ;
23770 PyObject * obj1 = 0 ;
23771 char *kwnames[] = {
23772 (char *) "self",(char *) "other", NULL
23773 };
23774
23775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23780 {
23781 PyThreadState* __tstate = wxPyBeginAllowThreads();
23782 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
23783
23784 wxPyEndAllowThreads(__tstate);
23785 if (PyErr_Occurred()) SWIG_fail;
23786 }
23787 {
23788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23789 }
23790 return resultobj;
23791 fail:
23792 return NULL;
23793}
23794
23795
23796static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23797 PyObject *resultobj;
23798 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23799 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23800 bool result;
23801 PyObject * obj0 = 0 ;
23802 PyObject * obj1 = 0 ;
23803 char *kwnames[] = {
23804 (char *) "self",(char *) "other", NULL
23805 };
23806
23807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23812 {
23813 PyThreadState* __tstate = wxPyBeginAllowThreads();
23814 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
23815
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
23819 {
23820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23821 }
23822 return resultobj;
23823 fail:
23824 return NULL;
23825}
23826
23827
23828static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23829 PyObject *obj;
23830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23831 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23832 Py_INCREF(obj);
23833 return Py_BuildValue((char *)"");
23834}
23835static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23836 PyObject *resultobj;
23837 long result;
23838 char *kwnames[] = {
23839 NULL
23840 };
23841
23842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 result = (long)wxGetLocalTime();
23846
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 resultobj = SWIG_FromLong((long)result);
23851 return resultobj;
23852 fail:
23853 return NULL;
23854}
23855
23856
23857static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23858 PyObject *resultobj;
23859 long result;
23860 char *kwnames[] = {
23861 NULL
23862 };
23863
23864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23865 {
23866 PyThreadState* __tstate = wxPyBeginAllowThreads();
23867 result = (long)wxGetUTCTime();
23868
23869 wxPyEndAllowThreads(__tstate);
23870 if (PyErr_Occurred()) SWIG_fail;
23871 }
23872 resultobj = SWIG_FromLong((long)result);
23873 return resultobj;
23874 fail:
23875 return NULL;
23876}
23877
23878
23879static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23880 PyObject *resultobj;
23881 long result;
23882 char *kwnames[] = {
23883 NULL
23884 };
23885
23886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23887 {
23888 PyThreadState* __tstate = wxPyBeginAllowThreads();
23889 result = (long)wxGetCurrentTime();
23890
23891 wxPyEndAllowThreads(__tstate);
23892 if (PyErr_Occurred()) SWIG_fail;
23893 }
23894 resultobj = SWIG_FromLong((long)result);
23895 return resultobj;
23896 fail:
23897 return NULL;
23898}
23899
23900
23901static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23902 PyObject *resultobj;
23903 wxLongLong result;
23904 char *kwnames[] = {
23905 NULL
23906 };
23907
23908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23909 {
23910 PyThreadState* __tstate = wxPyBeginAllowThreads();
23911 result = wxGetLocalTimeMillis();
23912
23913 wxPyEndAllowThreads(__tstate);
23914 if (PyErr_Occurred()) SWIG_fail;
23915 }
23916 {
23917 PyObject *hi, *lo, *shifter, *shifted;
23918 hi = PyLong_FromLong( (&result)->GetHi() );
23919 lo = PyLong_FromLong( (&result)->GetLo() );
23920 shifter = PyLong_FromLong(32);
23921 shifted = PyNumber_Lshift(hi, shifter);
23922 resultobj = PyNumber_Or(shifted, lo);
23923 Py_DECREF(hi);
23924 Py_DECREF(lo);
23925 Py_DECREF(shifter);
23926 Py_DECREF(shifted);
23927 }
23928 return resultobj;
23929 fail:
23930 return NULL;
23931}
23932
23933
23934static int _wrap_DefaultDateTime_set(PyObject *_val) {
23935 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23936 return 1;
23937}
23938
23939
23940static PyObject *_wrap_DefaultDateTime_get() {
23941 PyObject *pyobj;
23942
23943 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
23944 return pyobj;
23945}
23946
23947
23948static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23949 PyObject *resultobj;
23950 int arg1 ;
23951 wxDataFormat *result;
23952 PyObject * obj0 = 0 ;
23953 char *kwnames[] = {
23954 (char *) "type", NULL
23955 };
23956
23957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23958 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 {
23961 PyThreadState* __tstate = wxPyBeginAllowThreads();
23962 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23963
23964 wxPyEndAllowThreads(__tstate);
23965 if (PyErr_Occurred()) SWIG_fail;
23966 }
23967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23968 return resultobj;
23969 fail:
23970 return NULL;
23971}
23972
23973
23974static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23975 PyObject *resultobj;
23976 wxString *arg1 = 0 ;
23977 wxDataFormat *result;
23978 bool temp1 = False ;
23979 PyObject * obj0 = 0 ;
23980 char *kwnames[] = {
23981 (char *) "format", NULL
23982 };
23983
23984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23985 {
23986 arg1 = wxString_in_helper(obj0);
23987 if (arg1 == NULL) SWIG_fail;
23988 temp1 = True;
23989 }
23990 {
23991 PyThreadState* __tstate = wxPyBeginAllowThreads();
23992 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23993
23994 wxPyEndAllowThreads(__tstate);
23995 if (PyErr_Occurred()) SWIG_fail;
23996 }
23997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23998 {
23999 if (temp1)
24000 delete arg1;
24001 }
24002 return resultobj;
24003 fail:
24004 {
24005 if (temp1)
24006 delete arg1;
24007 }
24008 return NULL;
24009}
24010
24011
24012static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24013 PyObject *resultobj;
24014 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24015 PyObject * obj0 = 0 ;
24016 char *kwnames[] = {
24017 (char *) "self", NULL
24018 };
24019
24020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
24021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24023 {
24024 PyThreadState* __tstate = wxPyBeginAllowThreads();
24025 delete arg1;
24026
24027 wxPyEndAllowThreads(__tstate);
24028 if (PyErr_Occurred()) SWIG_fail;
24029 }
24030 Py_INCREF(Py_None); resultobj = Py_None;
24031 return resultobj;
24032 fail:
24033 return NULL;
24034}
24035
24036
24037static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
24038 PyObject *resultobj;
24039 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24040 int arg2 ;
24041 bool result;
24042 PyObject * obj0 = 0 ;
24043 PyObject * obj1 = 0 ;
24044
24045 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24048 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24049 if (PyErr_Occurred()) SWIG_fail;
24050 {
24051 PyThreadState* __tstate = wxPyBeginAllowThreads();
24052 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
24053
24054 wxPyEndAllowThreads(__tstate);
24055 if (PyErr_Occurred()) SWIG_fail;
24056 }
24057 {
24058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24059 }
24060 return resultobj;
24061 fail:
24062 return NULL;
24063}
24064
24065
24066static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
24067 PyObject *resultobj;
24068 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24069 int arg2 ;
24070 bool result;
24071 PyObject * obj0 = 0 ;
24072 PyObject * obj1 = 0 ;
24073
24074 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24077 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 {
24080 PyThreadState* __tstate = wxPyBeginAllowThreads();
24081 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
24082
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 {
24087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24088 }
24089 return resultobj;
24090 fail:
24091 return NULL;
24092}
24093
24094
24095static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
24096 PyObject *resultobj;
24097 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24098 wxDataFormat *arg2 = 0 ;
24099 bool result;
24100 PyObject * obj0 = 0 ;
24101 PyObject * obj1 = 0 ;
24102
24103 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24107 SWIG_POINTER_EXCEPTION | 0)) == -1)
24108 SWIG_fail;
24109 if (arg2 == NULL) {
24110 PyErr_SetString(PyExc_TypeError,"null reference");
24111 SWIG_fail;
24112 }
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 {
24121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24122 }
24123 return resultobj;
24124 fail:
24125 return NULL;
24126}
24127
24128
24129static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
24130 int argc;
24131 PyObject *argv[3];
24132 int ii;
24133
24134 argc = PyObject_Length(args);
24135 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24136 argv[ii] = PyTuple_GetItem(args,ii);
24137 }
24138 if (argc == 2) {
24139 int _v;
24140 {
24141 void *ptr;
24142 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24143 _v = 0;
24144 PyErr_Clear();
24145 } else {
24146 _v = 1;
24147 }
24148 }
24149 if (_v) {
24150 {
24151 void *ptr;
24152 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24153 _v = 0;
24154 PyErr_Clear();
24155 } else {
24156 _v = 1;
24157 }
24158 }
24159 if (_v) {
24160 return _wrap_DataFormat___eq____SWIG_1(self,args);
24161 }
24162 }
24163 }
24164 if (argc == 2) {
24165 int _v;
24166 {
24167 void *ptr;
24168 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24169 _v = 0;
24170 PyErr_Clear();
24171 } else {
24172 _v = 1;
24173 }
24174 }
24175 if (_v) {
24176 _v = SWIG_CheckInt(argv[1]);
24177 if (_v) {
24178 return _wrap_DataFormat___eq____SWIG_0(self,args);
24179 }
24180 }
24181 }
24182
24183 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24184 return NULL;
24185}
24186
24187
24188static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
24189 PyObject *resultobj;
24190 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24191 wxDataFormat *arg2 = 0 ;
24192 bool result;
24193 PyObject * obj0 = 0 ;
24194 PyObject * obj1 = 0 ;
24195
24196 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24200 SWIG_POINTER_EXCEPTION | 0)) == -1)
24201 SWIG_fail;
24202 if (arg2 == NULL) {
24203 PyErr_SetString(PyExc_TypeError,"null reference");
24204 SWIG_fail;
24205 }
24206 {
24207 PyThreadState* __tstate = wxPyBeginAllowThreads();
24208 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24209
24210 wxPyEndAllowThreads(__tstate);
24211 if (PyErr_Occurred()) SWIG_fail;
24212 }
24213 {
24214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24215 }
24216 return resultobj;
24217 fail:
24218 return NULL;
24219}
24220
24221
24222static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24223 int argc;
24224 PyObject *argv[3];
24225 int ii;
24226
24227 argc = PyObject_Length(args);
24228 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24229 argv[ii] = PyTuple_GetItem(args,ii);
24230 }
24231 if (argc == 2) {
24232 int _v;
24233 {
24234 void *ptr;
24235 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24236 _v = 0;
24237 PyErr_Clear();
24238 } else {
24239 _v = 1;
24240 }
24241 }
24242 if (_v) {
24243 {
24244 void *ptr;
24245 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24246 _v = 0;
24247 PyErr_Clear();
24248 } else {
24249 _v = 1;
24250 }
24251 }
24252 if (_v) {
24253 return _wrap_DataFormat___ne____SWIG_1(self,args);
24254 }
24255 }
24256 }
24257 if (argc == 2) {
24258 int _v;
24259 {
24260 void *ptr;
24261 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24262 _v = 0;
24263 PyErr_Clear();
24264 } else {
24265 _v = 1;
24266 }
24267 }
24268 if (_v) {
24269 _v = SWIG_CheckInt(argv[1]);
24270 if (_v) {
24271 return _wrap_DataFormat___ne____SWIG_0(self,args);
24272 }
24273 }
24274 }
24275
24276 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24277 return NULL;
24278}
24279
24280
24281static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj;
24283 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24284 int arg2 ;
24285 PyObject * obj0 = 0 ;
24286 PyObject * obj1 = 0 ;
24287 char *kwnames[] = {
24288 (char *) "self",(char *) "format", NULL
24289 };
24290
24291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24294 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 (arg1)->SetType((wxDataFormatId )arg2);
24299
24300 wxPyEndAllowThreads(__tstate);
24301 if (PyErr_Occurred()) SWIG_fail;
24302 }
24303 Py_INCREF(Py_None); resultobj = Py_None;
24304 return resultobj;
24305 fail:
24306 return NULL;
24307}
24308
24309
24310static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24311 PyObject *resultobj;
24312 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24313 int result;
24314 PyObject * obj0 = 0 ;
24315 char *kwnames[] = {
24316 (char *) "self", NULL
24317 };
24318
24319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24322 {
24323 PyThreadState* __tstate = wxPyBeginAllowThreads();
24324 result = (int)((wxDataFormat const *)arg1)->GetType();
24325
24326 wxPyEndAllowThreads(__tstate);
24327 if (PyErr_Occurred()) SWIG_fail;
24328 }
24329 resultobj = SWIG_FromInt((int)result);
24330 return resultobj;
24331 fail:
24332 return NULL;
24333}
24334
24335
24336static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24337 PyObject *resultobj;
24338 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24339 wxString result;
24340 PyObject * obj0 = 0 ;
24341 char *kwnames[] = {
24342 (char *) "self", NULL
24343 };
24344
24345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 result = ((wxDataFormat const *)arg1)->GetId();
24351
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 {
24356#if wxUSE_UNICODE
24357 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24358#else
24359 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24360#endif
24361 }
24362 return resultobj;
24363 fail:
24364 return NULL;
24365}
24366
24367
24368static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24369 PyObject *resultobj;
24370 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24371 wxString *arg2 = 0 ;
24372 bool temp2 = False ;
24373 PyObject * obj0 = 0 ;
24374 PyObject * obj1 = 0 ;
24375 char *kwnames[] = {
24376 (char *) "self",(char *) "format", NULL
24377 };
24378
24379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24382 {
24383 arg2 = wxString_in_helper(obj1);
24384 if (arg2 == NULL) SWIG_fail;
24385 temp2 = True;
24386 }
24387 {
24388 PyThreadState* __tstate = wxPyBeginAllowThreads();
24389 (arg1)->SetId((wxString const &)*arg2);
24390
24391 wxPyEndAllowThreads(__tstate);
24392 if (PyErr_Occurred()) SWIG_fail;
24393 }
24394 Py_INCREF(Py_None); resultobj = Py_None;
24395 {
24396 if (temp2)
24397 delete arg2;
24398 }
24399 return resultobj;
24400 fail:
24401 {
24402 if (temp2)
24403 delete arg2;
24404 }
24405 return NULL;
24406}
24407
24408
24409static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
24410 PyObject *obj;
24411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24412 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24413 Py_INCREF(obj);
24414 return Py_BuildValue((char *)"");
24415}
24416static int _wrap_FormatInvalid_set(PyObject *_val) {
24417 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24418 return 1;
24419}
24420
24421
24422static PyObject *_wrap_FormatInvalid_get() {
24423 PyObject *pyobj;
24424
24425 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24426 return pyobj;
24427}
24428
24429
24430static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj;
24432 wxDataObject *arg1 = (wxDataObject *) 0 ;
24433 PyObject * obj0 = 0 ;
24434 char *kwnames[] = {
24435 (char *) "self", NULL
24436 };
24437
24438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24441 {
24442 PyThreadState* __tstate = wxPyBeginAllowThreads();
24443 delete arg1;
24444
24445 wxPyEndAllowThreads(__tstate);
24446 if (PyErr_Occurred()) SWIG_fail;
24447 }
24448 Py_INCREF(Py_None); resultobj = Py_None;
24449 return resultobj;
24450 fail:
24451 return NULL;
24452}
24453
24454
24455static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24456 PyObject *resultobj;
24457 wxDataObject *arg1 = (wxDataObject *) 0 ;
24458 int arg2 = (int) wxDataObject::Get ;
24459 SwigValueWrapper< wxDataFormat > result;
24460 PyObject * obj0 = 0 ;
24461 PyObject * obj1 = 0 ;
24462 char *kwnames[] = {
24463 (char *) "self",(char *) "dir", NULL
24464 };
24465
24466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24469 if (obj1) {
24470 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24471 if (PyErr_Occurred()) SWIG_fail;
24472 }
24473 {
24474 PyThreadState* __tstate = wxPyBeginAllowThreads();
24475 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24476
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 {
24481 wxDataFormat * resultptr;
24482 resultptr = new wxDataFormat((wxDataFormat &) result);
24483 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24484 }
24485 return resultobj;
24486 fail:
24487 return NULL;
24488}
24489
24490
24491static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24492 PyObject *resultobj;
24493 wxDataObject *arg1 = (wxDataObject *) 0 ;
24494 int arg2 = (int) wxDataObject::Get ;
24495 size_t result;
24496 PyObject * obj0 = 0 ;
24497 PyObject * obj1 = 0 ;
24498 char *kwnames[] = {
24499 (char *) "self",(char *) "dir", NULL
24500 };
24501
24502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24505 if (obj1) {
24506 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24507 if (PyErr_Occurred()) SWIG_fail;
24508 }
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24517 return resultobj;
24518 fail:
24519 return NULL;
24520}
24521
24522
24523static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24524 PyObject *resultobj;
24525 wxDataObject *arg1 = (wxDataObject *) 0 ;
24526 wxDataFormat *arg2 = 0 ;
24527 int arg3 = (int) wxDataObject::Get ;
24528 bool result;
24529 PyObject * obj0 = 0 ;
24530 PyObject * obj1 = 0 ;
24531 PyObject * obj2 = 0 ;
24532 char *kwnames[] = {
24533 (char *) "self",(char *) "format",(char *) "dir", NULL
24534 };
24535
24536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24539 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24540 SWIG_POINTER_EXCEPTION | 0)) == -1)
24541 SWIG_fail;
24542 if (arg2 == NULL) {
24543 PyErr_SetString(PyExc_TypeError,"null reference");
24544 SWIG_fail;
24545 }
24546 if (obj2) {
24547 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 {
24551 PyThreadState* __tstate = wxPyBeginAllowThreads();
24552 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24553
24554 wxPyEndAllowThreads(__tstate);
24555 if (PyErr_Occurred()) SWIG_fail;
24556 }
24557 {
24558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24559 }
24560 return resultobj;
24561 fail:
24562 return NULL;
24563}
24564
24565
24566static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24567 PyObject *resultobj;
24568 wxDataObject *arg1 = (wxDataObject *) 0 ;
24569 wxDataFormat *arg2 = 0 ;
24570 size_t result;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
24573 char *kwnames[] = {
24574 (char *) "self",(char *) "format", NULL
24575 };
24576
24577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24581 SWIG_POINTER_EXCEPTION | 0)) == -1)
24582 SWIG_fail;
24583 if (arg2 == NULL) {
24584 PyErr_SetString(PyExc_TypeError,"null reference");
24585 SWIG_fail;
24586 }
24587 {
24588 PyThreadState* __tstate = wxPyBeginAllowThreads();
24589 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24590
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24595 return resultobj;
24596 fail:
24597 return NULL;
24598}
24599
24600
24601static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24602 PyObject *resultobj;
24603 wxDataObject *arg1 = (wxDataObject *) 0 ;
a07a67e6
RD
24604 int arg2 = (int) wxDataObject::Get ;
24605 PyObject *result;
d55e5bfc
RD
24606 PyObject * obj0 = 0 ;
24607 PyObject * obj1 = 0 ;
d55e5bfc 24608 char *kwnames[] = {
a07a67e6 24609 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
24610 };
24611
a07a67e6 24612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
24613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a07a67e6
RD
24615 if (obj1) {
24616 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
d55e5bfc
RD
24617 if (PyErr_Occurred()) SWIG_fail;
24618 }
24619 {
24620 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 24621 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
d55e5bfc
RD
24622
24623 wxPyEndAllowThreads(__tstate);
24624 if (PyErr_Occurred()) SWIG_fail;
24625 }
a07a67e6 24626 resultobj = result;
d55e5bfc
RD
24627 return resultobj;
24628 fail:
24629 return NULL;
24630}
24631
24632
24633static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24634 PyObject *resultobj;
24635 wxDataObject *arg1 = (wxDataObject *) 0 ;
24636 wxDataFormat *arg2 = 0 ;
a07a67e6 24637 PyObject *result;
d55e5bfc
RD
24638 PyObject * obj0 = 0 ;
24639 PyObject * obj1 = 0 ;
d55e5bfc 24640 char *kwnames[] = {
a07a67e6 24641 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
24642 };
24643
a07a67e6 24644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
24645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24648 SWIG_POINTER_EXCEPTION | 0)) == -1)
24649 SWIG_fail;
24650 if (arg2 == NULL) {
24651 PyErr_SetString(PyExc_TypeError,"null reference");
24652 SWIG_fail;
24653 }
d55e5bfc
RD
24654 {
24655 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 24656 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
24657
24658 wxPyEndAllowThreads(__tstate);
24659 if (PyErr_Occurred()) SWIG_fail;
24660 }
a07a67e6 24661 resultobj = result;
d55e5bfc
RD
24662 return resultobj;
24663 fail:
24664 return NULL;
24665}
24666
24667
24668static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24669 PyObject *resultobj;
24670 wxDataObject *arg1 = (wxDataObject *) 0 ;
24671 wxDataFormat *arg2 = 0 ;
a07a67e6 24672 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
24673 bool result;
24674 PyObject * obj0 = 0 ;
24675 PyObject * obj1 = 0 ;
24676 PyObject * obj2 = 0 ;
d55e5bfc 24677 char *kwnames[] = {
a07a67e6 24678 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
24679 };
24680
a07a67e6 24681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
24682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24685 SWIG_POINTER_EXCEPTION | 0)) == -1)
24686 SWIG_fail;
24687 if (arg2 == NULL) {
24688 PyErr_SetString(PyExc_TypeError,"null reference");
24689 SWIG_fail;
24690 }
a07a67e6 24691 arg3 = obj2;
d55e5bfc
RD
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 24694 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
24695
24696 wxPyEndAllowThreads(__tstate);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
24699 {
24700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24701 }
24702 return resultobj;
24703 fail:
24704 return NULL;
24705}
24706
24707
24708static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24709 PyObject *obj;
24710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24711 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24712 Py_INCREF(obj);
24713 return Py_BuildValue((char *)"");
24714}
24715static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24716 PyObject *resultobj;
24717 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24718 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24719 wxDataObjectSimple *result;
24720 PyObject * obj0 = 0 ;
24721 char *kwnames[] = {
24722 (char *) "format", NULL
24723 };
24724
24725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24726 if (obj0) {
24727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24728 SWIG_POINTER_EXCEPTION | 0)) == -1)
24729 SWIG_fail;
24730 if (arg1 == NULL) {
24731 PyErr_SetString(PyExc_TypeError,"null reference");
24732 SWIG_fail;
24733 }
24734 }
24735 {
24736 PyThreadState* __tstate = wxPyBeginAllowThreads();
24737 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24738
24739 wxPyEndAllowThreads(__tstate);
24740 if (PyErr_Occurred()) SWIG_fail;
24741 }
24742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
24743 return resultobj;
24744 fail:
24745 return NULL;
24746}
24747
24748
24749static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24750 PyObject *resultobj;
24751 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24752 wxDataFormat *result;
24753 PyObject * obj0 = 0 ;
24754 char *kwnames[] = {
24755 (char *) "self", NULL
24756 };
24757
24758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24761 {
24762 PyThreadState* __tstate = wxPyBeginAllowThreads();
24763 {
24764 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24765 result = (wxDataFormat *) &_result_ref;
24766 }
24767
24768 wxPyEndAllowThreads(__tstate);
24769 if (PyErr_Occurred()) SWIG_fail;
24770 }
24771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
24772 return resultobj;
24773 fail:
24774 return NULL;
24775}
24776
24777
24778static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24779 PyObject *resultobj;
24780 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24781 wxDataFormat *arg2 = 0 ;
24782 PyObject * obj0 = 0 ;
24783 PyObject * obj1 = 0 ;
24784 char *kwnames[] = {
24785 (char *) "self",(char *) "format", NULL
24786 };
24787
24788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24792 SWIG_POINTER_EXCEPTION | 0)) == -1)
24793 SWIG_fail;
24794 if (arg2 == NULL) {
24795 PyErr_SetString(PyExc_TypeError,"null reference");
24796 SWIG_fail;
24797 }
24798 {
24799 PyThreadState* __tstate = wxPyBeginAllowThreads();
24800 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24801
24802 wxPyEndAllowThreads(__tstate);
24803 if (PyErr_Occurred()) SWIG_fail;
24804 }
24805 Py_INCREF(Py_None); resultobj = Py_None;
24806 return resultobj;
24807 fail:
24808 return NULL;
24809}
24810
24811
a07a67e6
RD
24812static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24813 PyObject *resultobj;
24814 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24815 size_t result;
24816 PyObject * obj0 = 0 ;
24817 char *kwnames[] = {
24818 (char *) "self", NULL
24819 };
24820
24821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
24822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24824 {
24825 PyThreadState* __tstate = wxPyBeginAllowThreads();
24826 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
24827
24828 wxPyEndAllowThreads(__tstate);
24829 if (PyErr_Occurred()) SWIG_fail;
24830 }
24831 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24832 return resultobj;
24833 fail:
24834 return NULL;
24835}
24836
24837
24838static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24839 PyObject *resultobj;
24840 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24841 PyObject *result;
24842 PyObject * obj0 = 0 ;
24843 char *kwnames[] = {
24844 (char *) "self", NULL
24845 };
24846
24847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
24848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24850 {
24851 PyThreadState* __tstate = wxPyBeginAllowThreads();
24852 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
24853
24854 wxPyEndAllowThreads(__tstate);
24855 if (PyErr_Occurred()) SWIG_fail;
24856 }
24857 resultobj = result;
24858 return resultobj;
24859 fail:
24860 return NULL;
24861}
24862
24863
24864static PyObject *_wrap_DataObjectSimple_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24865 PyObject *resultobj;
24866 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24867 PyObject *arg2 = (PyObject *) 0 ;
24868 bool result;
24869 PyObject * obj0 = 0 ;
24870 PyObject * obj1 = 0 ;
24871 char *kwnames[] = {
24872 (char *) "self",(char *) "data", NULL
24873 };
24874
24875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
24876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24878 arg2 = obj1;
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
24882
24883 wxPyEndAllowThreads(__tstate);
24884 if (PyErr_Occurred()) SWIG_fail;
24885 }
24886 {
24887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24888 }
24889 return resultobj;
24890 fail:
24891 return NULL;
24892}
24893
24894
d55e5bfc
RD
24895static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24896 PyObject *obj;
24897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24898 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24899 Py_INCREF(obj);
24900 return Py_BuildValue((char *)"");
24901}
24902static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24903 PyObject *resultobj;
24904 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24905 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24906 wxPyDataObjectSimple *result;
24907 PyObject * obj0 = 0 ;
24908 char *kwnames[] = {
24909 (char *) "format", NULL
24910 };
24911
24912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24913 if (obj0) {
24914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24915 SWIG_POINTER_EXCEPTION | 0)) == -1)
24916 SWIG_fail;
24917 if (arg1 == NULL) {
24918 PyErr_SetString(PyExc_TypeError,"null reference");
24919 SWIG_fail;
24920 }
24921 }
24922 {
24923 PyThreadState* __tstate = wxPyBeginAllowThreads();
24924 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24925
24926 wxPyEndAllowThreads(__tstate);
24927 if (PyErr_Occurred()) SWIG_fail;
24928 }
24929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
24930 return resultobj;
24931 fail:
24932 return NULL;
24933}
24934
24935
24936static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24937 PyObject *resultobj;
24938 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24939 PyObject *arg2 = (PyObject *) 0 ;
24940 PyObject *arg3 = (PyObject *) 0 ;
24941 PyObject * obj0 = 0 ;
24942 PyObject * obj1 = 0 ;
24943 PyObject * obj2 = 0 ;
24944 char *kwnames[] = {
24945 (char *) "self",(char *) "self",(char *) "_class", NULL
24946 };
24947
24948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24951 arg2 = obj1;
24952 arg3 = obj2;
24953 {
24954 PyThreadState* __tstate = wxPyBeginAllowThreads();
24955 (arg1)->_setCallbackInfo(arg2,arg3);
24956
24957 wxPyEndAllowThreads(__tstate);
24958 if (PyErr_Occurred()) SWIG_fail;
24959 }
24960 Py_INCREF(Py_None); resultobj = Py_None;
24961 return resultobj;
24962 fail:
24963 return NULL;
24964}
24965
24966
24967static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24968 PyObject *obj;
24969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24970 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24971 Py_INCREF(obj);
24972 return Py_BuildValue((char *)"");
24973}
24974static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24975 PyObject *resultobj;
24976 wxDataObjectComposite *result;
24977 char *kwnames[] = {
24978 NULL
24979 };
24980
24981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24982 {
24983 PyThreadState* __tstate = wxPyBeginAllowThreads();
24984 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24985
24986 wxPyEndAllowThreads(__tstate);
24987 if (PyErr_Occurred()) SWIG_fail;
24988 }
24989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
24990 return resultobj;
24991 fail:
24992 return NULL;
24993}
24994
24995
24996static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24997 PyObject *resultobj;
24998 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24999 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
a07a67e6 25000 bool arg3 = (bool) False ;
d55e5bfc
RD
25001 PyObject * obj0 = 0 ;
25002 PyObject * obj1 = 0 ;
25003 PyObject * obj2 = 0 ;
25004 char *kwnames[] = {
25005 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25006 };
25007
25008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
25009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
25010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
25012 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25013 if (obj2) {
a07a67e6 25014 arg3 = (bool) SWIG_AsBool(obj2);
d55e5bfc
RD
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 {
25018 PyThreadState* __tstate = wxPyBeginAllowThreads();
25019 (arg1)->Add(arg2,arg3);
25020
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 Py_INCREF(Py_None); resultobj = Py_None;
25025 return resultobj;
25026 fail:
25027 return NULL;
25028}
25029
25030
25031static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
25032 PyObject *obj;
25033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25034 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
25035 Py_INCREF(obj);
25036 return Py_BuildValue((char *)"");
25037}
25038static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25039 PyObject *resultobj;
25040 wxString const &arg1_defvalue = wxPyEmptyString ;
25041 wxString *arg1 = (wxString *) &arg1_defvalue ;
25042 wxTextDataObject *result;
25043 bool temp1 = False ;
25044 PyObject * obj0 = 0 ;
25045 char *kwnames[] = {
25046 (char *) "text", NULL
25047 };
25048
25049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
25050 if (obj0) {
25051 {
25052 arg1 = wxString_in_helper(obj0);
25053 if (arg1 == NULL) SWIG_fail;
25054 temp1 = True;
25055 }
25056 }
25057 {
25058 PyThreadState* __tstate = wxPyBeginAllowThreads();
25059 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
25060
25061 wxPyEndAllowThreads(__tstate);
25062 if (PyErr_Occurred()) SWIG_fail;
25063 }
25064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
25065 {
25066 if (temp1)
25067 delete arg1;
25068 }
25069 return resultobj;
25070 fail:
25071 {
25072 if (temp1)
25073 delete arg1;
25074 }
25075 return NULL;
25076}
25077
25078
25079static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
25080 PyObject *resultobj;
25081 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25082 size_t result;
25083 PyObject * obj0 = 0 ;
25084 char *kwnames[] = {
25085 (char *) "self", NULL
25086 };
25087
25088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
25089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25091 {
25092 PyThreadState* __tstate = wxPyBeginAllowThreads();
25093 result = (size_t)(arg1)->GetTextLength();
25094
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25099 return resultobj;
25100 fail:
25101 return NULL;
25102}
25103
25104
25105static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25106 PyObject *resultobj;
25107 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25108 wxString result;
25109 PyObject * obj0 = 0 ;
25110 char *kwnames[] = {
25111 (char *) "self", NULL
25112 };
25113
25114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
25115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25117 {
25118 PyThreadState* __tstate = wxPyBeginAllowThreads();
25119 result = (arg1)->GetText();
25120
25121 wxPyEndAllowThreads(__tstate);
25122 if (PyErr_Occurred()) SWIG_fail;
25123 }
25124 {
25125#if wxUSE_UNICODE
25126 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25127#else
25128 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25129#endif
25130 }
25131 return resultobj;
25132 fail:
25133 return NULL;
25134}
25135
25136
25137static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25138 PyObject *resultobj;
25139 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25140 wxString *arg2 = 0 ;
25141 bool temp2 = False ;
25142 PyObject * obj0 = 0 ;
25143 PyObject * obj1 = 0 ;
25144 char *kwnames[] = {
25145 (char *) "self",(char *) "text", NULL
25146 };
25147
25148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
25149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25151 {
25152 arg2 = wxString_in_helper(obj1);
25153 if (arg2 == NULL) SWIG_fail;
25154 temp2 = True;
25155 }
25156 {
25157 PyThreadState* __tstate = wxPyBeginAllowThreads();
25158 (arg1)->SetText((wxString const &)*arg2);
25159
25160 wxPyEndAllowThreads(__tstate);
25161 if (PyErr_Occurred()) SWIG_fail;
25162 }
25163 Py_INCREF(Py_None); resultobj = Py_None;
25164 {
25165 if (temp2)
25166 delete arg2;
25167 }
25168 return resultobj;
25169 fail:
25170 {
25171 if (temp2)
25172 delete arg2;
25173 }
25174 return NULL;
25175}
25176
25177
25178static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
25179 PyObject *obj;
25180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25181 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
25182 Py_INCREF(obj);
25183 return Py_BuildValue((char *)"");
25184}
25185static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25186 PyObject *resultobj;
25187 wxString const &arg1_defvalue = wxPyEmptyString ;
25188 wxString *arg1 = (wxString *) &arg1_defvalue ;
25189 wxPyTextDataObject *result;
25190 bool temp1 = False ;
25191 PyObject * obj0 = 0 ;
25192 char *kwnames[] = {
25193 (char *) "text", NULL
25194 };
25195
25196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
25197 if (obj0) {
25198 {
25199 arg1 = wxString_in_helper(obj0);
25200 if (arg1 == NULL) SWIG_fail;
25201 temp1 = True;
25202 }
25203 }
25204 {
25205 PyThreadState* __tstate = wxPyBeginAllowThreads();
25206 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
25207
25208 wxPyEndAllowThreads(__tstate);
25209 if (PyErr_Occurred()) SWIG_fail;
25210 }
25211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
25212 {
25213 if (temp1)
25214 delete arg1;
25215 }
25216 return resultobj;
25217 fail:
25218 {
25219 if (temp1)
25220 delete arg1;
25221 }
25222 return NULL;
25223}
25224
25225
25226static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25227 PyObject *resultobj;
25228 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
25229 PyObject *arg2 = (PyObject *) 0 ;
25230 PyObject *arg3 = (PyObject *) 0 ;
25231 PyObject * obj0 = 0 ;
25232 PyObject * obj1 = 0 ;
25233 PyObject * obj2 = 0 ;
25234 char *kwnames[] = {
25235 (char *) "self",(char *) "self",(char *) "_class", NULL
25236 };
25237
25238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25241 arg2 = obj1;
25242 arg3 = obj2;
25243 {
25244 PyThreadState* __tstate = wxPyBeginAllowThreads();
25245 (arg1)->_setCallbackInfo(arg2,arg3);
25246
25247 wxPyEndAllowThreads(__tstate);
25248 if (PyErr_Occurred()) SWIG_fail;
25249 }
25250 Py_INCREF(Py_None); resultobj = Py_None;
25251 return resultobj;
25252 fail:
25253 return NULL;
25254}
25255
25256
25257static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
25258 PyObject *obj;
25259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25260 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25261 Py_INCREF(obj);
25262 return Py_BuildValue((char *)"");
25263}
25264static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25265 PyObject *resultobj;
25266 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25267 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25268 wxBitmapDataObject *result;
25269 PyObject * obj0 = 0 ;
25270 char *kwnames[] = {
25271 (char *) "bitmap", NULL
25272 };
25273
25274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25275 if (obj0) {
25276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25277 SWIG_POINTER_EXCEPTION | 0)) == -1)
25278 SWIG_fail;
25279 if (arg1 == NULL) {
25280 PyErr_SetString(PyExc_TypeError,"null reference");
25281 SWIG_fail;
25282 }
25283 }
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25287
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25292 return resultobj;
25293 fail:
25294 return NULL;
25295}
25296
25297
25298static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25299 PyObject *resultobj;
25300 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25301 wxBitmap result;
25302 PyObject * obj0 = 0 ;
25303 char *kwnames[] = {
25304 (char *) "self", NULL
25305 };
25306
25307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25310 {
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25313
25314 wxPyEndAllowThreads(__tstate);
25315 if (PyErr_Occurred()) SWIG_fail;
25316 }
25317 {
25318 wxBitmap * resultptr;
25319 resultptr = new wxBitmap((wxBitmap &) result);
25320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25321 }
25322 return resultobj;
25323 fail:
25324 return NULL;
25325}
25326
25327
25328static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25329 PyObject *resultobj;
25330 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25331 wxBitmap *arg2 = 0 ;
25332 PyObject * obj0 = 0 ;
25333 PyObject * obj1 = 0 ;
25334 char *kwnames[] = {
25335 (char *) "self",(char *) "bitmap", NULL
25336 };
25337
25338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25342 SWIG_POINTER_EXCEPTION | 0)) == -1)
25343 SWIG_fail;
25344 if (arg2 == NULL) {
25345 PyErr_SetString(PyExc_TypeError,"null reference");
25346 SWIG_fail;
25347 }
25348 {
25349 PyThreadState* __tstate = wxPyBeginAllowThreads();
25350 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25351
25352 wxPyEndAllowThreads(__tstate);
25353 if (PyErr_Occurred()) SWIG_fail;
25354 }
25355 Py_INCREF(Py_None); resultobj = Py_None;
25356 return resultobj;
25357 fail:
25358 return NULL;
25359}
25360
25361
25362static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25363 PyObject *obj;
25364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25365 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25366 Py_INCREF(obj);
25367 return Py_BuildValue((char *)"");
25368}
25369static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25370 PyObject *resultobj;
25371 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25372 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25373 wxPyBitmapDataObject *result;
25374 PyObject * obj0 = 0 ;
25375 char *kwnames[] = {
25376 (char *) "bitmap", NULL
25377 };
25378
25379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25380 if (obj0) {
25381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25382 SWIG_POINTER_EXCEPTION | 0)) == -1)
25383 SWIG_fail;
25384 if (arg1 == NULL) {
25385 PyErr_SetString(PyExc_TypeError,"null reference");
25386 SWIG_fail;
25387 }
25388 }
25389 {
25390 PyThreadState* __tstate = wxPyBeginAllowThreads();
25391 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25392
25393 wxPyEndAllowThreads(__tstate);
25394 if (PyErr_Occurred()) SWIG_fail;
25395 }
25396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25397 return resultobj;
25398 fail:
25399 return NULL;
25400}
25401
25402
25403static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25404 PyObject *resultobj;
25405 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25406 PyObject *arg2 = (PyObject *) 0 ;
25407 PyObject *arg3 = (PyObject *) 0 ;
25408 PyObject * obj0 = 0 ;
25409 PyObject * obj1 = 0 ;
25410 PyObject * obj2 = 0 ;
25411 char *kwnames[] = {
25412 (char *) "self",(char *) "self",(char *) "_class", NULL
25413 };
25414
25415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25418 arg2 = obj1;
25419 arg3 = obj2;
25420 {
25421 PyThreadState* __tstate = wxPyBeginAllowThreads();
25422 (arg1)->_setCallbackInfo(arg2,arg3);
25423
25424 wxPyEndAllowThreads(__tstate);
25425 if (PyErr_Occurred()) SWIG_fail;
25426 }
25427 Py_INCREF(Py_None); resultobj = Py_None;
25428 return resultobj;
25429 fail:
25430 return NULL;
25431}
25432
25433
25434static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25435 PyObject *obj;
25436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25437 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25438 Py_INCREF(obj);
25439 return Py_BuildValue((char *)"");
25440}
25441static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25442 PyObject *resultobj;
25443 wxFileDataObject *result;
25444 char *kwnames[] = {
25445 NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25449 {
25450 PyThreadState* __tstate = wxPyBeginAllowThreads();
25451 result = (wxFileDataObject *)new wxFileDataObject();
25452
25453 wxPyEndAllowThreads(__tstate);
25454 if (PyErr_Occurred()) SWIG_fail;
25455 }
25456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25457 return resultobj;
25458 fail:
25459 return NULL;
25460}
25461
25462
25463static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
25464 PyObject *resultobj;
25465 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25466 wxArrayString *result;
25467 PyObject * obj0 = 0 ;
25468 char *kwnames[] = {
25469 (char *) "self", NULL
25470 };
25471
25472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25475 {
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 {
25478 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25479 result = (wxArrayString *) &_result_ref;
25480 }
25481
25482 wxPyEndAllowThreads(__tstate);
25483 if (PyErr_Occurred()) SWIG_fail;
25484 }
25485 {
25486 resultobj = wxArrayString2PyList_helper(*result);
25487 }
25488 return resultobj;
25489 fail:
25490 return NULL;
25491}
25492
25493
25494static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25495 PyObject *resultobj;
25496 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25497 wxString *arg2 = 0 ;
25498 bool temp2 = False ;
25499 PyObject * obj0 = 0 ;
25500 PyObject * obj1 = 0 ;
25501 char *kwnames[] = {
25502 (char *) "self",(char *) "filename", NULL
25503 };
25504
25505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25508 {
25509 arg2 = wxString_in_helper(obj1);
25510 if (arg2 == NULL) SWIG_fail;
25511 temp2 = True;
25512 }
25513 {
25514 PyThreadState* __tstate = wxPyBeginAllowThreads();
25515 (arg1)->AddFile((wxString const &)*arg2);
25516
25517 wxPyEndAllowThreads(__tstate);
25518 if (PyErr_Occurred()) SWIG_fail;
25519 }
25520 Py_INCREF(Py_None); resultobj = Py_None;
25521 {
25522 if (temp2)
25523 delete arg2;
25524 }
25525 return resultobj;
25526 fail:
25527 {
25528 if (temp2)
25529 delete arg2;
25530 }
25531 return NULL;
25532}
25533
25534
25535static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
25536 PyObject *obj;
25537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25538 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25539 Py_INCREF(obj);
25540 return Py_BuildValue((char *)"");
25541}
25542static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25543 PyObject *resultobj;
25544 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25545 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25546 wxCustomDataObject *result;
25547 PyObject * obj0 = 0 ;
25548 char *kwnames[] = {
25549 (char *) "format", NULL
25550 };
25551
25552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25553 if (obj0) {
25554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25555 SWIG_POINTER_EXCEPTION | 0)) == -1)
25556 SWIG_fail;
25557 if (arg1 == NULL) {
25558 PyErr_SetString(PyExc_TypeError,"null reference");
25559 SWIG_fail;
25560 }
25561 }
25562 {
25563 PyThreadState* __tstate = wxPyBeginAllowThreads();
25564 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25565
25566 wxPyEndAllowThreads(__tstate);
25567 if (PyErr_Occurred()) SWIG_fail;
25568 }
25569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25570 return resultobj;
25571 fail:
25572 return NULL;
25573}
25574
25575
d55e5bfc
RD
25576static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25577 PyObject *resultobj;
25578 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25579 PyObject *arg2 = (PyObject *) 0 ;
25580 bool result;
25581 PyObject * obj0 = 0 ;
25582 PyObject * obj1 = 0 ;
25583 char *kwnames[] = {
25584 (char *) "self",(char *) "data", NULL
25585 };
25586
25587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25590 arg2 = obj1;
25591 {
25592 PyThreadState* __tstate = wxPyBeginAllowThreads();
25593 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25594
25595 wxPyEndAllowThreads(__tstate);
25596 if (PyErr_Occurred()) SWIG_fail;
25597 }
25598 {
25599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25600 }
25601 return resultobj;
25602 fail:
25603 return NULL;
25604}
25605
25606
25607static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25608 PyObject *resultobj;
25609 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25610 size_t result;
25611 PyObject * obj0 = 0 ;
25612 char *kwnames[] = {
25613 (char *) "self", NULL
25614 };
25615
25616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25619 {
25620 PyThreadState* __tstate = wxPyBeginAllowThreads();
25621 result = (size_t)(arg1)->GetSize();
25622
25623 wxPyEndAllowThreads(__tstate);
25624 if (PyErr_Occurred()) SWIG_fail;
25625 }
25626 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25627 return resultobj;
25628 fail:
25629 return NULL;
25630}
25631
25632
25633static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25634 PyObject *resultobj;
25635 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25636 PyObject *result;
25637 PyObject * obj0 = 0 ;
25638 char *kwnames[] = {
25639 (char *) "self", NULL
25640 };
25641
25642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25645 {
25646 PyThreadState* __tstate = wxPyBeginAllowThreads();
25647 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25648
25649 wxPyEndAllowThreads(__tstate);
25650 if (PyErr_Occurred()) SWIG_fail;
25651 }
25652 resultobj = result;
25653 return resultobj;
25654 fail:
25655 return NULL;
25656}
25657
25658
25659static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
25660 PyObject *obj;
25661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25662 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25663 Py_INCREF(obj);
25664 return Py_BuildValue((char *)"");
25665}
25666static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25667 PyObject *resultobj;
25668 wxURLDataObject *result;
25669 char *kwnames[] = {
25670 NULL
25671 };
25672
25673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 result = (wxURLDataObject *)new wxURLDataObject();
25677
25678 wxPyEndAllowThreads(__tstate);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 }
25681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25682 return resultobj;
25683 fail:
25684 return NULL;
25685}
25686
25687
25688static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25689 PyObject *resultobj;
25690 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25691 wxString result;
25692 PyObject * obj0 = 0 ;
25693 char *kwnames[] = {
25694 (char *) "self", NULL
25695 };
25696
25697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25700 {
25701 PyThreadState* __tstate = wxPyBeginAllowThreads();
25702 result = (arg1)->GetURL();
25703
25704 wxPyEndAllowThreads(__tstate);
25705 if (PyErr_Occurred()) SWIG_fail;
25706 }
25707 {
25708#if wxUSE_UNICODE
25709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25710#else
25711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25712#endif
25713 }
25714 return resultobj;
25715 fail:
25716 return NULL;
25717}
25718
25719
25720static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25721 PyObject *resultobj;
25722 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25723 wxString *arg2 = 0 ;
25724 bool temp2 = False ;
25725 PyObject * obj0 = 0 ;
25726 PyObject * obj1 = 0 ;
25727 char *kwnames[] = {
25728 (char *) "self",(char *) "url", NULL
25729 };
25730
25731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25734 {
25735 arg2 = wxString_in_helper(obj1);
25736 if (arg2 == NULL) SWIG_fail;
25737 temp2 = True;
25738 }
25739 {
25740 PyThreadState* __tstate = wxPyBeginAllowThreads();
25741 (arg1)->SetURL((wxString const &)*arg2);
25742
25743 wxPyEndAllowThreads(__tstate);
25744 if (PyErr_Occurred()) SWIG_fail;
25745 }
25746 Py_INCREF(Py_None); resultobj = Py_None;
25747 {
25748 if (temp2)
25749 delete arg2;
25750 }
25751 return resultobj;
25752 fail:
25753 {
25754 if (temp2)
25755 delete arg2;
25756 }
25757 return NULL;
25758}
25759
25760
25761static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25762 PyObject *obj;
25763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25764 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25765 Py_INCREF(obj);
25766 return Py_BuildValue((char *)"");
25767}
25768static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25769 PyObject *resultobj;
25770 wxMetafileDataObject *result;
25771 char *kwnames[] = {
25772 NULL
25773 };
25774
25775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25776 {
25777 PyThreadState* __tstate = wxPyBeginAllowThreads();
25778 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25779
25780 wxPyEndAllowThreads(__tstate);
25781 if (PyErr_Occurred()) SWIG_fail;
25782 }
25783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
25784 return resultobj;
25785 fail:
25786 return NULL;
25787}
25788
25789
25790static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25791 PyObject *resultobj;
25792 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25793 wxMetafile *arg2 = 0 ;
25794 PyObject * obj0 = 0 ;
25795 PyObject * obj1 = 0 ;
25796 char *kwnames[] = {
25797 (char *) "self",(char *) "metafile", NULL
25798 };
25799
25800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
25801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25804 SWIG_POINTER_EXCEPTION | 0)) == -1)
25805 SWIG_fail;
25806 if (arg2 == NULL) {
25807 PyErr_SetString(PyExc_TypeError,"null reference");
25808 SWIG_fail;
25809 }
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25813
25814 wxPyEndAllowThreads(__tstate);
25815 if (PyErr_Occurred()) SWIG_fail;
25816 }
25817 Py_INCREF(Py_None); resultobj = Py_None;
25818 return resultobj;
25819 fail:
25820 return NULL;
25821}
25822
25823
25824static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25825 PyObject *resultobj;
25826 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25827 wxMetafile result;
25828 PyObject * obj0 = 0 ;
25829 char *kwnames[] = {
25830 (char *) "self", NULL
25831 };
25832
25833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
25834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25836 {
25837 PyThreadState* __tstate = wxPyBeginAllowThreads();
25838 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25839
25840 wxPyEndAllowThreads(__tstate);
25841 if (PyErr_Occurred()) SWIG_fail;
25842 }
25843 {
25844 wxMetafile * resultptr;
25845 resultptr = new wxMetafile((wxMetafile &) result);
25846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
25847 }
25848 return resultobj;
25849 fail:
25850 return NULL;
25851}
25852
25853
25854static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25855 PyObject *obj;
25856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25857 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25858 Py_INCREF(obj);
25859 return Py_BuildValue((char *)"");
25860}
25861static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25862 PyObject *resultobj;
25863 int arg1 ;
25864 bool result;
25865 PyObject * obj0 = 0 ;
25866 char *kwnames[] = {
25867 (char *) "res", NULL
25868 };
25869
25870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25871 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25872 if (PyErr_Occurred()) SWIG_fail;
25873 {
25874 PyThreadState* __tstate = wxPyBeginAllowThreads();
25875 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25876
25877 wxPyEndAllowThreads(__tstate);
25878 if (PyErr_Occurred()) SWIG_fail;
25879 }
25880 {
25881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25882 }
25883 return resultobj;
25884 fail:
25885 return NULL;
25886}
25887
25888
25889static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25890 PyObject *resultobj;
25891 wxWindow *arg1 = (wxWindow *) 0 ;
25892 wxCursor const &arg2_defvalue = wxNullCursor ;
25893 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25894 wxCursor const &arg3_defvalue = wxNullCursor ;
25895 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25896 wxCursor const &arg4_defvalue = wxNullCursor ;
25897 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25898 wxPyDropSource *result;
25899 PyObject * obj0 = 0 ;
25900 PyObject * obj1 = 0 ;
25901 PyObject * obj2 = 0 ;
25902 PyObject * obj3 = 0 ;
25903 char *kwnames[] = {
25904 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25905 };
25906
25907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25910 if (obj1) {
25911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25912 SWIG_POINTER_EXCEPTION | 0)) == -1)
25913 SWIG_fail;
25914 if (arg2 == NULL) {
25915 PyErr_SetString(PyExc_TypeError,"null reference");
25916 SWIG_fail;
25917 }
25918 }
25919 if (obj2) {
25920 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25921 SWIG_POINTER_EXCEPTION | 0)) == -1)
25922 SWIG_fail;
25923 if (arg3 == NULL) {
25924 PyErr_SetString(PyExc_TypeError,"null reference");
25925 SWIG_fail;
25926 }
25927 }
25928 if (obj3) {
25929 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25930 SWIG_POINTER_EXCEPTION | 0)) == -1)
25931 SWIG_fail;
25932 if (arg4 == NULL) {
25933 PyErr_SetString(PyExc_TypeError,"null reference");
25934 SWIG_fail;
25935 }
25936 }
25937 {
25938 PyThreadState* __tstate = wxPyBeginAllowThreads();
25939 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25940
25941 wxPyEndAllowThreads(__tstate);
25942 if (PyErr_Occurred()) SWIG_fail;
25943 }
25944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
25945 return resultobj;
25946 fail:
25947 return NULL;
25948}
25949
25950
25951static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25952 PyObject *resultobj;
25953 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25954 PyObject *arg2 = (PyObject *) 0 ;
25955 PyObject *arg3 = (PyObject *) 0 ;
25956 int arg4 ;
25957 PyObject * obj0 = 0 ;
25958 PyObject * obj1 = 0 ;
25959 PyObject * obj2 = 0 ;
25960 PyObject * obj3 = 0 ;
25961 char *kwnames[] = {
25962 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25963 };
25964
25965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25968 arg2 = obj1;
25969 arg3 = obj2;
25970 arg4 = (int) SWIG_AsInt(obj3);
25971 if (PyErr_Occurred()) SWIG_fail;
25972 {
25973 PyThreadState* __tstate = wxPyBeginAllowThreads();
25974 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25975
25976 wxPyEndAllowThreads(__tstate);
25977 if (PyErr_Occurred()) SWIG_fail;
25978 }
25979 Py_INCREF(Py_None); resultobj = Py_None;
25980 return resultobj;
25981 fail:
25982 return NULL;
25983}
25984
25985
25986static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25987 PyObject *resultobj;
25988 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25989 PyObject * obj0 = 0 ;
25990 char *kwnames[] = {
25991 (char *) "self", NULL
25992 };
25993
25994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25997 {
25998 PyThreadState* __tstate = wxPyBeginAllowThreads();
25999 delete arg1;
26000
26001 wxPyEndAllowThreads(__tstate);
26002 if (PyErr_Occurred()) SWIG_fail;
26003 }
26004 Py_INCREF(Py_None); resultobj = Py_None;
26005 return resultobj;
26006 fail:
26007 return NULL;
26008}
26009
26010
26011static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26012 PyObject *resultobj;
26013 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26014 wxDataObject *arg2 = 0 ;
26015 PyObject * obj0 = 0 ;
26016 PyObject * obj1 = 0 ;
26017 char *kwnames[] = {
26018 (char *) "self",(char *) "data", NULL
26019 };
26020
26021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
26022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26025 SWIG_POINTER_EXCEPTION | 0)) == -1)
26026 SWIG_fail;
26027 if (arg2 == NULL) {
26028 PyErr_SetString(PyExc_TypeError,"null reference");
26029 SWIG_fail;
26030 }
26031 {
26032 PyThreadState* __tstate = wxPyBeginAllowThreads();
26033 (arg1)->SetData(*arg2);
26034
26035 wxPyEndAllowThreads(__tstate);
26036 if (PyErr_Occurred()) SWIG_fail;
26037 }
26038 Py_INCREF(Py_None); resultobj = Py_None;
26039 return resultobj;
26040 fail:
26041 return NULL;
26042}
26043
26044
26045static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26046 PyObject *resultobj;
26047 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26048 wxDataObject *result;
26049 PyObject * obj0 = 0 ;
26050 char *kwnames[] = {
26051 (char *) "self", NULL
26052 };
26053
26054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
26055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26057 {
26058 PyThreadState* __tstate = wxPyBeginAllowThreads();
26059 result = (wxDataObject *)(arg1)->GetDataObject();
26060
26061 wxPyEndAllowThreads(__tstate);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 }
26064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26065 return resultobj;
26066 fail:
26067 return NULL;
26068}
26069
26070
26071static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26072 PyObject *resultobj;
26073 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26074 int arg2 ;
26075 wxCursor *arg3 = 0 ;
26076 PyObject * obj0 = 0 ;
26077 PyObject * obj1 = 0 ;
26078 PyObject * obj2 = 0 ;
26079 char *kwnames[] = {
26080 (char *) "self",(char *) "res",(char *) "cursor", NULL
26081 };
26082
26083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
26084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26086 arg2 = (wxDragResult) SWIG_AsInt(obj1);
26087 if (PyErr_Occurred()) SWIG_fail;
26088 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
26089 SWIG_POINTER_EXCEPTION | 0)) == -1)
26090 SWIG_fail;
26091 if (arg3 == NULL) {
26092 PyErr_SetString(PyExc_TypeError,"null reference");
26093 SWIG_fail;
26094 }
26095 {
26096 PyThreadState* __tstate = wxPyBeginAllowThreads();
26097 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
26098
26099 wxPyEndAllowThreads(__tstate);
26100 if (PyErr_Occurred()) SWIG_fail;
26101 }
26102 Py_INCREF(Py_None); resultobj = Py_None;
26103 return resultobj;
26104 fail:
26105 return NULL;
26106}
26107
26108
26109static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26110 PyObject *resultobj;
26111 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26112 int arg2 = (int) wxDrag_CopyOnly ;
26113 int result;
26114 PyObject * obj0 = 0 ;
26115 PyObject * obj1 = 0 ;
26116 char *kwnames[] = {
26117 (char *) "self",(char *) "flags", NULL
26118 };
26119
26120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
26121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26123 if (obj1) {
26124 arg2 = (int) SWIG_AsInt(obj1);
26125 if (PyErr_Occurred()) SWIG_fail;
26126 }
26127 {
26128 PyThreadState* __tstate = wxPyBeginAllowThreads();
26129 result = (int)(arg1)->DoDragDrop(arg2);
26130
26131 wxPyEndAllowThreads(__tstate);
26132 if (PyErr_Occurred()) SWIG_fail;
26133 }
26134 resultobj = SWIG_FromInt((int)result);
26135 return resultobj;
26136 fail:
26137 return NULL;
26138}
26139
26140
26141static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
26142 PyObject *resultobj;
26143 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26144 int arg2 ;
26145 bool result;
26146 PyObject * obj0 = 0 ;
26147 PyObject * obj1 = 0 ;
26148 char *kwnames[] = {
26149 (char *) "self",(char *) "effect", NULL
26150 };
26151
26152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
26153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26155 arg2 = (wxDragResult) SWIG_AsInt(obj1);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 {
26158 PyThreadState* __tstate = wxPyBeginAllowThreads();
26159 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
26160
26161 wxPyEndAllowThreads(__tstate);
26162 if (PyErr_Occurred()) SWIG_fail;
26163 }
26164 {
26165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26166 }
26167 return resultobj;
26168 fail:
26169 return NULL;
26170}
26171
26172
26173static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
26174 PyObject *obj;
26175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26176 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
26177 Py_INCREF(obj);
26178 return Py_BuildValue((char *)"");
26179}
26180static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26181 PyObject *resultobj;
26182 wxDataObject *arg1 = (wxDataObject *) NULL ;
26183 wxPyDropTarget *result;
26184 PyObject * obj0 = 0 ;
26185 char *kwnames[] = {
26186 (char *) "dataObject", NULL
26187 };
26188
26189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
26190 if (obj0) {
26191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
26192 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26193 }
26194 {
26195 PyThreadState* __tstate = wxPyBeginAllowThreads();
26196 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
26197
26198 wxPyEndAllowThreads(__tstate);
26199 if (PyErr_Occurred()) SWIG_fail;
26200 }
26201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
26202 return resultobj;
26203 fail:
26204 return NULL;
26205}
26206
26207
26208static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26209 PyObject *resultobj;
26210 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26211 PyObject *arg2 = (PyObject *) 0 ;
26212 PyObject *arg3 = (PyObject *) 0 ;
26213 PyObject * obj0 = 0 ;
26214 PyObject * obj1 = 0 ;
26215 PyObject * obj2 = 0 ;
26216 char *kwnames[] = {
26217 (char *) "self",(char *) "self",(char *) "_class", NULL
26218 };
26219
26220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26223 arg2 = obj1;
26224 arg3 = obj2;
26225 {
26226 PyThreadState* __tstate = wxPyBeginAllowThreads();
26227 (arg1)->_setCallbackInfo(arg2,arg3);
26228
26229 wxPyEndAllowThreads(__tstate);
26230 if (PyErr_Occurred()) SWIG_fail;
26231 }
26232 Py_INCREF(Py_None); resultobj = Py_None;
26233 return resultobj;
26234 fail:
26235 return NULL;
26236}
26237
26238
26239static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26240 PyObject *resultobj;
26241 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26242 PyObject * obj0 = 0 ;
26243 char *kwnames[] = {
26244 (char *) "self", NULL
26245 };
26246
26247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26250 {
26251 PyThreadState* __tstate = wxPyBeginAllowThreads();
26252 delete arg1;
26253
26254 wxPyEndAllowThreads(__tstate);
26255 if (PyErr_Occurred()) SWIG_fail;
26256 }
26257 Py_INCREF(Py_None); resultobj = Py_None;
26258 return resultobj;
26259 fail:
26260 return NULL;
26261}
26262
26263
26264static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26265 PyObject *resultobj;
26266 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26267 wxDataObject *result;
26268 PyObject * obj0 = 0 ;
26269 char *kwnames[] = {
26270 (char *) "self", NULL
26271 };
26272
26273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26276 {
26277 PyThreadState* __tstate = wxPyBeginAllowThreads();
26278 result = (wxDataObject *)(arg1)->GetDataObject();
26279
26280 wxPyEndAllowThreads(__tstate);
26281 if (PyErr_Occurred()) SWIG_fail;
26282 }
26283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26284 return resultobj;
26285 fail:
26286 return NULL;
26287}
26288
26289
26290static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26291 PyObject *resultobj;
26292 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26293 wxDataObject *arg2 = (wxDataObject *) 0 ;
26294 PyObject * obj0 = 0 ;
26295 PyObject * obj1 = 0 ;
26296 char *kwnames[] = {
26297 (char *) "self",(char *) "dataObject", NULL
26298 };
26299
26300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26303 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26304 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26305 {
26306 PyThreadState* __tstate = wxPyBeginAllowThreads();
26307 (arg1)->SetDataObject(arg2);
26308
26309 wxPyEndAllowThreads(__tstate);
26310 if (PyErr_Occurred()) SWIG_fail;
26311 }
26312 Py_INCREF(Py_None); resultobj = Py_None;
26313 return resultobj;
26314 fail:
26315 return NULL;
26316}
26317
26318
26319static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26320 PyObject *resultobj;
26321 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26322 int arg2 ;
26323 int arg3 ;
26324 int arg4 ;
26325 int result;
26326 PyObject * obj0 = 0 ;
26327 PyObject * obj1 = 0 ;
26328 PyObject * obj2 = 0 ;
26329 PyObject * obj3 = 0 ;
26330 char *kwnames[] = {
26331 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26332 };
26333
26334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26337 arg2 = (int) SWIG_AsInt(obj1);
26338 if (PyErr_Occurred()) SWIG_fail;
26339 arg3 = (int) SWIG_AsInt(obj2);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26342 if (PyErr_Occurred()) SWIG_fail;
26343 {
26344 PyThreadState* __tstate = wxPyBeginAllowThreads();
26345 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26346
26347 wxPyEndAllowThreads(__tstate);
26348 if (PyErr_Occurred()) SWIG_fail;
26349 }
26350 resultobj = SWIG_FromInt((int)result);
26351 return resultobj;
26352 fail:
26353 return NULL;
26354}
26355
26356
26357static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26358 PyObject *resultobj;
26359 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26360 int arg2 ;
26361 int arg3 ;
26362 int arg4 ;
26363 int result;
26364 PyObject * obj0 = 0 ;
26365 PyObject * obj1 = 0 ;
26366 PyObject * obj2 = 0 ;
26367 PyObject * obj3 = 0 ;
26368 char *kwnames[] = {
26369 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26370 };
26371
26372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26375 arg2 = (int) SWIG_AsInt(obj1);
26376 if (PyErr_Occurred()) SWIG_fail;
26377 arg3 = (int) SWIG_AsInt(obj2);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26380 if (PyErr_Occurred()) SWIG_fail;
26381 {
26382 PyThreadState* __tstate = wxPyBeginAllowThreads();
26383 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26384
26385 wxPyEndAllowThreads(__tstate);
26386 if (PyErr_Occurred()) SWIG_fail;
26387 }
26388 resultobj = SWIG_FromInt((int)result);
26389 return resultobj;
26390 fail:
26391 return NULL;
26392}
26393
26394
26395static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26396 PyObject *resultobj;
26397 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26398 PyObject * obj0 = 0 ;
26399 char *kwnames[] = {
26400 (char *) "self", NULL
26401 };
26402
26403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 (arg1)->base_OnLeave();
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
26413 Py_INCREF(Py_None); resultobj = Py_None;
26414 return resultobj;
26415 fail:
26416 return NULL;
26417}
26418
26419
26420static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26421 PyObject *resultobj;
26422 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26423 int arg2 ;
26424 int arg3 ;
26425 bool result;
26426 PyObject * obj0 = 0 ;
26427 PyObject * obj1 = 0 ;
26428 PyObject * obj2 = 0 ;
26429 char *kwnames[] = {
26430 (char *) "self",(char *) "x",(char *) "y", NULL
26431 };
26432
26433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26436 arg2 = (int) SWIG_AsInt(obj1);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 arg3 = (int) SWIG_AsInt(obj2);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26443
26444 wxPyEndAllowThreads(__tstate);
26445 if (PyErr_Occurred()) SWIG_fail;
26446 }
26447 {
26448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26449 }
26450 return resultobj;
26451 fail:
26452 return NULL;
26453}
26454
26455
26456static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26457 PyObject *resultobj;
26458 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26459 bool result;
26460 PyObject * obj0 = 0 ;
26461 char *kwnames[] = {
26462 (char *) "self", NULL
26463 };
26464
26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26468 {
26469 PyThreadState* __tstate = wxPyBeginAllowThreads();
26470 result = (bool)(arg1)->GetData();
26471
26472 wxPyEndAllowThreads(__tstate);
26473 if (PyErr_Occurred()) SWIG_fail;
26474 }
26475 {
26476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26477 }
26478 return resultobj;
26479 fail:
26480 return NULL;
26481}
26482
26483
26484static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
26485 PyObject *obj;
26486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26487 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26488 Py_INCREF(obj);
26489 return Py_BuildValue((char *)"");
26490}
26491static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26492 PyObject *resultobj;
26493 wxPyTextDropTarget *result;
26494 char *kwnames[] = {
26495 NULL
26496 };
26497
26498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26499 {
26500 PyThreadState* __tstate = wxPyBeginAllowThreads();
26501 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26502
26503 wxPyEndAllowThreads(__tstate);
26504 if (PyErr_Occurred()) SWIG_fail;
26505 }
26506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26507 return resultobj;
26508 fail:
26509 return NULL;
26510}
26511
26512
26513static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26514 PyObject *resultobj;
26515 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26516 PyObject *arg2 = (PyObject *) 0 ;
26517 PyObject *arg3 = (PyObject *) 0 ;
26518 PyObject * obj0 = 0 ;
26519 PyObject * obj1 = 0 ;
26520 PyObject * obj2 = 0 ;
26521 char *kwnames[] = {
26522 (char *) "self",(char *) "self",(char *) "_class", NULL
26523 };
26524
26525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26528 arg2 = obj1;
26529 arg3 = obj2;
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
26532 (arg1)->_setCallbackInfo(arg2,arg3);
26533
26534 wxPyEndAllowThreads(__tstate);
26535 if (PyErr_Occurred()) SWIG_fail;
26536 }
26537 Py_INCREF(Py_None); resultobj = Py_None;
26538 return resultobj;
26539 fail:
26540 return NULL;
26541}
26542
26543
26544static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26545 PyObject *resultobj;
26546 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26547 int arg2 ;
26548 int arg3 ;
26549 int arg4 ;
26550 int result;
26551 PyObject * obj0 = 0 ;
26552 PyObject * obj1 = 0 ;
26553 PyObject * obj2 = 0 ;
26554 PyObject * obj3 = 0 ;
26555 char *kwnames[] = {
26556 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26557 };
26558
26559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26562 arg2 = (int) SWIG_AsInt(obj1);
26563 if (PyErr_Occurred()) SWIG_fail;
26564 arg3 = (int) SWIG_AsInt(obj2);
26565 if (PyErr_Occurred()) SWIG_fail;
26566 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26567 if (PyErr_Occurred()) SWIG_fail;
26568 {
26569 PyThreadState* __tstate = wxPyBeginAllowThreads();
26570 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26571
26572 wxPyEndAllowThreads(__tstate);
26573 if (PyErr_Occurred()) SWIG_fail;
26574 }
26575 resultobj = SWIG_FromInt((int)result);
26576 return resultobj;
26577 fail:
26578 return NULL;
26579}
26580
26581
26582static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26583 PyObject *resultobj;
26584 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26585 int arg2 ;
26586 int arg3 ;
26587 int arg4 ;
26588 int result;
26589 PyObject * obj0 = 0 ;
26590 PyObject * obj1 = 0 ;
26591 PyObject * obj2 = 0 ;
26592 PyObject * obj3 = 0 ;
26593 char *kwnames[] = {
26594 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26595 };
26596
26597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26600 arg2 = (int) SWIG_AsInt(obj1);
26601 if (PyErr_Occurred()) SWIG_fail;
26602 arg3 = (int) SWIG_AsInt(obj2);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26605 if (PyErr_Occurred()) SWIG_fail;
26606 {
26607 PyThreadState* __tstate = wxPyBeginAllowThreads();
26608 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26609
26610 wxPyEndAllowThreads(__tstate);
26611 if (PyErr_Occurred()) SWIG_fail;
26612 }
26613 resultobj = SWIG_FromInt((int)result);
26614 return resultobj;
26615 fail:
26616 return NULL;
26617}
26618
26619
26620static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26621 PyObject *resultobj;
26622 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26623 PyObject * obj0 = 0 ;
26624 char *kwnames[] = {
26625 (char *) "self", NULL
26626 };
26627
26628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26631 {
26632 PyThreadState* __tstate = wxPyBeginAllowThreads();
26633 (arg1)->base_OnLeave();
26634
26635 wxPyEndAllowThreads(__tstate);
26636 if (PyErr_Occurred()) SWIG_fail;
26637 }
26638 Py_INCREF(Py_None); resultobj = Py_None;
26639 return resultobj;
26640 fail:
26641 return NULL;
26642}
26643
26644
26645static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26646 PyObject *resultobj;
26647 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26648 int arg2 ;
26649 int arg3 ;
26650 bool result;
26651 PyObject * obj0 = 0 ;
26652 PyObject * obj1 = 0 ;
26653 PyObject * obj2 = 0 ;
26654 char *kwnames[] = {
26655 (char *) "self",(char *) "x",(char *) "y", NULL
26656 };
26657
26658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26661 arg2 = (int) SWIG_AsInt(obj1);
26662 if (PyErr_Occurred()) SWIG_fail;
26663 arg3 = (int) SWIG_AsInt(obj2);
26664 if (PyErr_Occurred()) SWIG_fail;
26665 {
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26668
26669 wxPyEndAllowThreads(__tstate);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 }
26672 {
26673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26674 }
26675 return resultobj;
26676 fail:
26677 return NULL;
26678}
26679
26680
26681static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26682 PyObject *resultobj;
26683 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26684 int arg2 ;
26685 int arg3 ;
26686 int arg4 ;
26687 int result;
26688 PyObject * obj0 = 0 ;
26689 PyObject * obj1 = 0 ;
26690 PyObject * obj2 = 0 ;
26691 PyObject * obj3 = 0 ;
26692 char *kwnames[] = {
26693 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26694 };
26695
26696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26699 arg2 = (int) SWIG_AsInt(obj1);
26700 if (PyErr_Occurred()) SWIG_fail;
26701 arg3 = (int) SWIG_AsInt(obj2);
26702 if (PyErr_Occurred()) SWIG_fail;
26703 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 {
26706 PyThreadState* __tstate = wxPyBeginAllowThreads();
26707 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26708
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 resultobj = SWIG_FromInt((int)result);
26713 return resultobj;
26714 fail:
26715 return NULL;
26716}
26717
26718
26719static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26720 PyObject *obj;
26721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26722 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26723 Py_INCREF(obj);
26724 return Py_BuildValue((char *)"");
26725}
26726static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26727 PyObject *resultobj;
26728 wxPyFileDropTarget *result;
26729 char *kwnames[] = {
26730 NULL
26731 };
26732
26733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26734 {
26735 PyThreadState* __tstate = wxPyBeginAllowThreads();
26736 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26737
26738 wxPyEndAllowThreads(__tstate);
26739 if (PyErr_Occurred()) SWIG_fail;
26740 }
26741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26742 return resultobj;
26743 fail:
26744 return NULL;
26745}
26746
26747
26748static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26749 PyObject *resultobj;
26750 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26751 PyObject *arg2 = (PyObject *) 0 ;
26752 PyObject *arg3 = (PyObject *) 0 ;
26753 PyObject * obj0 = 0 ;
26754 PyObject * obj1 = 0 ;
26755 PyObject * obj2 = 0 ;
26756 char *kwnames[] = {
26757 (char *) "self",(char *) "self",(char *) "_class", NULL
26758 };
26759
26760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26763 arg2 = obj1;
26764 arg3 = obj2;
26765 {
26766 PyThreadState* __tstate = wxPyBeginAllowThreads();
26767 (arg1)->_setCallbackInfo(arg2,arg3);
26768
26769 wxPyEndAllowThreads(__tstate);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 Py_INCREF(Py_None); resultobj = Py_None;
26773 return resultobj;
26774 fail:
26775 return NULL;
26776}
26777
26778
26779static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26780 PyObject *resultobj;
26781 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26782 int arg2 ;
26783 int arg3 ;
26784 int arg4 ;
26785 int result;
26786 PyObject * obj0 = 0 ;
26787 PyObject * obj1 = 0 ;
26788 PyObject * obj2 = 0 ;
26789 PyObject * obj3 = 0 ;
26790 char *kwnames[] = {
26791 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26792 };
26793
26794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26797 arg2 = (int) SWIG_AsInt(obj1);
26798 if (PyErr_Occurred()) SWIG_fail;
26799 arg3 = (int) SWIG_AsInt(obj2);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26802 if (PyErr_Occurred()) SWIG_fail;
26803 {
26804 PyThreadState* __tstate = wxPyBeginAllowThreads();
26805 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26806
26807 wxPyEndAllowThreads(__tstate);
26808 if (PyErr_Occurred()) SWIG_fail;
26809 }
26810 resultobj = SWIG_FromInt((int)result);
26811 return resultobj;
26812 fail:
26813 return NULL;
26814}
26815
26816
26817static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26818 PyObject *resultobj;
26819 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26820 int arg2 ;
26821 int arg3 ;
26822 int arg4 ;
26823 int result;
26824 PyObject * obj0 = 0 ;
26825 PyObject * obj1 = 0 ;
26826 PyObject * obj2 = 0 ;
26827 PyObject * obj3 = 0 ;
26828 char *kwnames[] = {
26829 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26830 };
26831
26832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26835 arg2 = (int) SWIG_AsInt(obj1);
26836 if (PyErr_Occurred()) SWIG_fail;
26837 arg3 = (int) SWIG_AsInt(obj2);
26838 if (PyErr_Occurred()) SWIG_fail;
26839 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26840 if (PyErr_Occurred()) SWIG_fail;
26841 {
26842 PyThreadState* __tstate = wxPyBeginAllowThreads();
26843 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26844
26845 wxPyEndAllowThreads(__tstate);
26846 if (PyErr_Occurred()) SWIG_fail;
26847 }
26848 resultobj = SWIG_FromInt((int)result);
26849 return resultobj;
26850 fail:
26851 return NULL;
26852}
26853
26854
26855static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26856 PyObject *resultobj;
26857 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26858 PyObject * obj0 = 0 ;
26859 char *kwnames[] = {
26860 (char *) "self", NULL
26861 };
26862
26863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26866 {
26867 PyThreadState* __tstate = wxPyBeginAllowThreads();
26868 (arg1)->base_OnLeave();
26869
26870 wxPyEndAllowThreads(__tstate);
26871 if (PyErr_Occurred()) SWIG_fail;
26872 }
26873 Py_INCREF(Py_None); resultobj = Py_None;
26874 return resultobj;
26875 fail:
26876 return NULL;
26877}
26878
26879
26880static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26881 PyObject *resultobj;
26882 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26883 int arg2 ;
26884 int arg3 ;
26885 bool result;
26886 PyObject * obj0 = 0 ;
26887 PyObject * obj1 = 0 ;
26888 PyObject * obj2 = 0 ;
26889 char *kwnames[] = {
26890 (char *) "self",(char *) "x",(char *) "y", NULL
26891 };
26892
26893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26896 arg2 = (int) SWIG_AsInt(obj1);
26897 if (PyErr_Occurred()) SWIG_fail;
26898 arg3 = (int) SWIG_AsInt(obj2);
26899 if (PyErr_Occurred()) SWIG_fail;
26900 {
26901 PyThreadState* __tstate = wxPyBeginAllowThreads();
26902 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26903
26904 wxPyEndAllowThreads(__tstate);
26905 if (PyErr_Occurred()) SWIG_fail;
26906 }
26907 {
26908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26909 }
26910 return resultobj;
26911 fail:
26912 return NULL;
26913}
26914
26915
26916static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26917 PyObject *resultobj;
26918 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26919 int arg2 ;
26920 int arg3 ;
26921 int arg4 ;
26922 int result;
26923 PyObject * obj0 = 0 ;
26924 PyObject * obj1 = 0 ;
26925 PyObject * obj2 = 0 ;
26926 PyObject * obj3 = 0 ;
26927 char *kwnames[] = {
26928 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26929 };
26930
26931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26934 arg2 = (int) SWIG_AsInt(obj1);
26935 if (PyErr_Occurred()) SWIG_fail;
26936 arg3 = (int) SWIG_AsInt(obj2);
26937 if (PyErr_Occurred()) SWIG_fail;
26938 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26939 if (PyErr_Occurred()) SWIG_fail;
26940 {
26941 PyThreadState* __tstate = wxPyBeginAllowThreads();
26942 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26943
26944 wxPyEndAllowThreads(__tstate);
26945 if (PyErr_Occurred()) SWIG_fail;
26946 }
26947 resultobj = SWIG_FromInt((int)result);
26948 return resultobj;
26949 fail:
26950 return NULL;
26951}
26952
26953
26954static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26955 PyObject *obj;
26956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26957 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26958 Py_INCREF(obj);
26959 return Py_BuildValue((char *)"");
26960}
26961static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26962 PyObject *resultobj;
26963 wxClipboard *result;
26964 char *kwnames[] = {
26965 NULL
26966 };
26967
26968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26969 {
26970 PyThreadState* __tstate = wxPyBeginAllowThreads();
26971 result = (wxClipboard *)new wxClipboard();
26972
26973 wxPyEndAllowThreads(__tstate);
26974 if (PyErr_Occurred()) SWIG_fail;
26975 }
26976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
26977 return resultobj;
26978 fail:
26979 return NULL;
26980}
26981
26982
26983static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26984 PyObject *resultobj;
26985 wxClipboard *arg1 = (wxClipboard *) 0 ;
26986 PyObject * obj0 = 0 ;
26987 char *kwnames[] = {
26988 (char *) "self", NULL
26989 };
26990
26991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26994 {
26995 PyThreadState* __tstate = wxPyBeginAllowThreads();
26996 delete arg1;
26997
26998 wxPyEndAllowThreads(__tstate);
26999 if (PyErr_Occurred()) SWIG_fail;
27000 }
27001 Py_INCREF(Py_None); resultobj = Py_None;
27002 return resultobj;
27003 fail:
27004 return NULL;
27005}
27006
27007
27008static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
27009 PyObject *resultobj;
27010 wxClipboard *arg1 = (wxClipboard *) 0 ;
27011 bool result;
27012 PyObject * obj0 = 0 ;
27013 char *kwnames[] = {
27014 (char *) "self", NULL
27015 };
27016
27017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
27018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27020 {
27021 PyThreadState* __tstate = wxPyBeginAllowThreads();
27022 result = (bool)(arg1)->Open();
27023
27024 wxPyEndAllowThreads(__tstate);
27025 if (PyErr_Occurred()) SWIG_fail;
27026 }
27027 {
27028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27029 }
27030 return resultobj;
27031 fail:
27032 return NULL;
27033}
27034
27035
27036static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
27037 PyObject *resultobj;
27038 wxClipboard *arg1 = (wxClipboard *) 0 ;
27039 PyObject * obj0 = 0 ;
27040 char *kwnames[] = {
27041 (char *) "self", NULL
27042 };
27043
27044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
27045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27047 {
27048 PyThreadState* __tstate = wxPyBeginAllowThreads();
27049 (arg1)->Close();
27050
27051 wxPyEndAllowThreads(__tstate);
27052 if (PyErr_Occurred()) SWIG_fail;
27053 }
27054 Py_INCREF(Py_None); resultobj = Py_None;
27055 return resultobj;
27056 fail:
27057 return NULL;
27058}
27059
27060
27061static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
27062 PyObject *resultobj;
27063 wxClipboard *arg1 = (wxClipboard *) 0 ;
27064 bool result;
27065 PyObject * obj0 = 0 ;
27066 char *kwnames[] = {
27067 (char *) "self", NULL
27068 };
27069
27070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
27071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27073 {
27074 PyThreadState* __tstate = wxPyBeginAllowThreads();
27075 result = (bool)((wxClipboard const *)arg1)->IsOpened();
27076
27077 wxPyEndAllowThreads(__tstate);
27078 if (PyErr_Occurred()) SWIG_fail;
27079 }
27080 {
27081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27082 }
27083 return resultobj;
27084 fail:
27085 return NULL;
27086}
27087
27088
27089static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
27090 PyObject *resultobj;
27091 wxClipboard *arg1 = (wxClipboard *) 0 ;
27092 wxDataObject *arg2 = (wxDataObject *) 0 ;
27093 bool result;
27094 PyObject * obj0 = 0 ;
27095 PyObject * obj1 = 0 ;
27096 char *kwnames[] = {
27097 (char *) "self",(char *) "data", NULL
27098 };
27099
27100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
27101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27104 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27105 {
27106 PyThreadState* __tstate = wxPyBeginAllowThreads();
27107 result = (bool)(arg1)->AddData(arg2);
27108
27109 wxPyEndAllowThreads(__tstate);
27110 if (PyErr_Occurred()) SWIG_fail;
27111 }
27112 {
27113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27114 }
27115 return resultobj;
27116 fail:
27117 return NULL;
27118}
27119
27120
27121static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27122 PyObject *resultobj;
27123 wxClipboard *arg1 = (wxClipboard *) 0 ;
27124 wxDataObject *arg2 = (wxDataObject *) 0 ;
27125 bool result;
27126 PyObject * obj0 = 0 ;
27127 PyObject * obj1 = 0 ;
27128 char *kwnames[] = {
27129 (char *) "self",(char *) "data", NULL
27130 };
27131
27132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
27133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27136 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27137 {
27138 PyThreadState* __tstate = wxPyBeginAllowThreads();
27139 result = (bool)(arg1)->SetData(arg2);
27140
27141 wxPyEndAllowThreads(__tstate);
27142 if (PyErr_Occurred()) SWIG_fail;
27143 }
27144 {
27145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27146 }
27147 return resultobj;
27148 fail:
27149 return NULL;
27150}
27151
27152
27153static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
27154 PyObject *resultobj;
27155 wxClipboard *arg1 = (wxClipboard *) 0 ;
27156 wxDataFormat *arg2 = 0 ;
27157 bool result;
27158 PyObject * obj0 = 0 ;
27159 PyObject * obj1 = 0 ;
27160 char *kwnames[] = {
27161 (char *) "self",(char *) "format", NULL
27162 };
27163
27164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
27165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
27168 SWIG_POINTER_EXCEPTION | 0)) == -1)
27169 SWIG_fail;
27170 if (arg2 == NULL) {
27171 PyErr_SetString(PyExc_TypeError,"null reference");
27172 SWIG_fail;
27173 }
27174 {
27175 PyThreadState* __tstate = wxPyBeginAllowThreads();
27176 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
27177
27178 wxPyEndAllowThreads(__tstate);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 }
27181 {
27182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27183 }
27184 return resultobj;
27185 fail:
27186 return NULL;
27187}
27188
27189
27190static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27191 PyObject *resultobj;
27192 wxClipboard *arg1 = (wxClipboard *) 0 ;
27193 wxDataObject *arg2 = 0 ;
27194 bool result;
27195 PyObject * obj0 = 0 ;
27196 PyObject * obj1 = 0 ;
27197 char *kwnames[] = {
27198 (char *) "self",(char *) "data", NULL
27199 };
27200
27201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
27202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27205 SWIG_POINTER_EXCEPTION | 0)) == -1)
27206 SWIG_fail;
27207 if (arg2 == NULL) {
27208 PyErr_SetString(PyExc_TypeError,"null reference");
27209 SWIG_fail;
27210 }
27211 {
27212 PyThreadState* __tstate = wxPyBeginAllowThreads();
27213 result = (bool)(arg1)->GetData(*arg2);
27214
27215 wxPyEndAllowThreads(__tstate);
27216 if (PyErr_Occurred()) SWIG_fail;
27217 }
27218 {
27219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27220 }
27221 return resultobj;
27222 fail:
27223 return NULL;
27224}
27225
27226
27227static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
27228 PyObject *resultobj;
27229 wxClipboard *arg1 = (wxClipboard *) 0 ;
27230 PyObject * obj0 = 0 ;
27231 char *kwnames[] = {
27232 (char *) "self", NULL
27233 };
27234
27235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27238 {
27239 PyThreadState* __tstate = wxPyBeginAllowThreads();
27240 (arg1)->Clear();
27241
27242 wxPyEndAllowThreads(__tstate);
27243 if (PyErr_Occurred()) SWIG_fail;
27244 }
27245 Py_INCREF(Py_None); resultobj = Py_None;
27246 return resultobj;
27247 fail:
27248 return NULL;
27249}
27250
27251
27252static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
27253 PyObject *resultobj;
27254 wxClipboard *arg1 = (wxClipboard *) 0 ;
27255 bool result;
27256 PyObject * obj0 = 0 ;
27257 char *kwnames[] = {
27258 (char *) "self", NULL
27259 };
27260
27261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27264 {
27265 PyThreadState* __tstate = wxPyBeginAllowThreads();
27266 result = (bool)(arg1)->Flush();
27267
27268 wxPyEndAllowThreads(__tstate);
27269 if (PyErr_Occurred()) SWIG_fail;
27270 }
27271 {
27272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27273 }
27274 return resultobj;
27275 fail:
27276 return NULL;
27277}
27278
27279
27280static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27281 PyObject *resultobj;
27282 wxClipboard *arg1 = (wxClipboard *) 0 ;
27283 bool arg2 = (bool) True ;
27284 PyObject * obj0 = 0 ;
27285 PyObject * obj1 = 0 ;
27286 char *kwnames[] = {
27287 (char *) "self",(char *) "primary", NULL
27288 };
27289
27290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27293 if (obj1) {
27294 arg2 = (bool) SWIG_AsBool(obj1);
27295 if (PyErr_Occurred()) SWIG_fail;
27296 }
27297 {
27298 PyThreadState* __tstate = wxPyBeginAllowThreads();
27299 (arg1)->UsePrimarySelection(arg2);
27300
27301 wxPyEndAllowThreads(__tstate);
27302 if (PyErr_Occurred()) SWIG_fail;
27303 }
27304 Py_INCREF(Py_None); resultobj = Py_None;
27305 return resultobj;
27306 fail:
27307 return NULL;
27308}
27309
27310
a001823c
RD
27311static PyObject *_wrap_Clipboard_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
27312 PyObject *resultobj;
27313 wxClipboard *result;
27314 char *kwnames[] = {
27315 NULL
27316 };
27317
27318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
27319 {
27320 PyThreadState* __tstate = wxPyBeginAllowThreads();
27321 result = (wxClipboard *)wxClipboard::Get();
27322
27323 wxPyEndAllowThreads(__tstate);
27324 if (PyErr_Occurred()) SWIG_fail;
27325 }
27326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
27327 return resultobj;
27328 fail:
27329 return NULL;
27330}
27331
27332
d55e5bfc
RD
27333static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
27334 PyObject *obj;
27335 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27336 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27337 Py_INCREF(obj);
27338 return Py_BuildValue((char *)"");
27339}
d55e5bfc
RD
27340static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27341 PyObject *resultobj;
27342 wxClipboard *arg1 = (wxClipboard *) NULL ;
27343 wxClipboardLocker *result;
27344 PyObject * obj0 = 0 ;
27345 char *kwnames[] = {
27346 (char *) "clipboard", NULL
27347 };
27348
27349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27350 if (obj0) {
27351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27353 }
27354 {
27355 PyThreadState* __tstate = wxPyBeginAllowThreads();
27356 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27357
27358 wxPyEndAllowThreads(__tstate);
27359 if (PyErr_Occurred()) SWIG_fail;
27360 }
27361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27362 return resultobj;
27363 fail:
27364 return NULL;
27365}
27366
27367
27368static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27369 PyObject *resultobj;
27370 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27371 PyObject * obj0 = 0 ;
27372 char *kwnames[] = {
27373 (char *) "self", NULL
27374 };
27375
27376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27379 {
27380 PyThreadState* __tstate = wxPyBeginAllowThreads();
27381 delete arg1;
27382
27383 wxPyEndAllowThreads(__tstate);
27384 if (PyErr_Occurred()) SWIG_fail;
27385 }
27386 Py_INCREF(Py_None); resultobj = Py_None;
27387 return resultobj;
27388 fail:
27389 return NULL;
27390}
27391
27392
27393static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
27394 PyObject *resultobj;
27395 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27396 bool result;
27397 PyObject * obj0 = 0 ;
27398 char *kwnames[] = {
27399 (char *) "self", NULL
27400 };
27401
27402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27405 {
27406 PyThreadState* __tstate = wxPyBeginAllowThreads();
27407 result = (bool)wxClipboardLocker___nonzero__(arg1);
27408
27409 wxPyEndAllowThreads(__tstate);
27410 if (PyErr_Occurred()) SWIG_fail;
27411 }
27412 {
27413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27414 }
27415 return resultobj;
27416 fail:
27417 return NULL;
27418}
27419
27420
27421static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
27422 PyObject *obj;
27423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27424 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27425 Py_INCREF(obj);
27426 return Py_BuildValue((char *)"");
27427}
27428static PyObject *_wrap_new_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27429 PyObject *resultobj;
27430 int arg1 = (int) 0 ;
27431 int arg2 = (int) 0 ;
27432 int arg3 = (int) 0 ;
27433 int arg4 = (int) 0 ;
27434 wxVideoMode *result;
27435 PyObject * obj0 = 0 ;
27436 PyObject * obj1 = 0 ;
27437 PyObject * obj2 = 0 ;
27438 PyObject * obj3 = 0 ;
27439 char *kwnames[] = {
27440 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27441 };
27442
27443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27444 if (obj0) {
27445 arg1 = (int) SWIG_AsInt(obj0);
27446 if (PyErr_Occurred()) SWIG_fail;
27447 }
27448 if (obj1) {
27449 arg2 = (int) SWIG_AsInt(obj1);
27450 if (PyErr_Occurred()) SWIG_fail;
27451 }
27452 if (obj2) {
27453 arg3 = (int) SWIG_AsInt(obj2);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 if (obj3) {
27457 arg4 = (int) SWIG_AsInt(obj3);
27458 if (PyErr_Occurred()) SWIG_fail;
27459 }
27460 {
27461 PyThreadState* __tstate = wxPyBeginAllowThreads();
27462 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27463
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27468 return resultobj;
27469 fail:
27470 return NULL;
27471}
27472
27473
27474static PyObject *_wrap_delete_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27475 PyObject *resultobj;
27476 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27477 PyObject * obj0 = 0 ;
27478 char *kwnames[] = {
27479 (char *) "self", NULL
27480 };
27481
27482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27485 {
27486 PyThreadState* __tstate = wxPyBeginAllowThreads();
27487 delete arg1;
27488
27489 wxPyEndAllowThreads(__tstate);
27490 if (PyErr_Occurred()) SWIG_fail;
27491 }
27492 Py_INCREF(Py_None); resultobj = Py_None;
27493 return resultobj;
27494 fail:
27495 return NULL;
27496}
27497
27498
27499static PyObject *_wrap_VideoMode_Matches(PyObject *self, PyObject *args, PyObject *kwargs) {
27500 PyObject *resultobj;
27501 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27502 wxVideoMode *arg2 = 0 ;
27503 bool result;
27504 PyObject * obj0 = 0 ;
27505 PyObject * obj1 = 0 ;
27506 char *kwnames[] = {
27507 (char *) "self",(char *) "other", NULL
27508 };
27509
27510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27513 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27514 SWIG_POINTER_EXCEPTION | 0)) == -1)
27515 SWIG_fail;
27516 if (arg2 == NULL) {
27517 PyErr_SetString(PyExc_TypeError,"null reference");
27518 SWIG_fail;
27519 }
27520 {
27521 PyThreadState* __tstate = wxPyBeginAllowThreads();
27522 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27523
27524 wxPyEndAllowThreads(__tstate);
27525 if (PyErr_Occurred()) SWIG_fail;
27526 }
27527 {
27528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27529 }
27530 return resultobj;
27531 fail:
27532 return NULL;
27533}
27534
27535
27536static PyObject *_wrap_VideoMode_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
27537 PyObject *resultobj;
27538 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27539 int result;
27540 PyObject * obj0 = 0 ;
27541 char *kwnames[] = {
27542 (char *) "self", NULL
27543 };
27544
27545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27548 {
27549 PyThreadState* __tstate = wxPyBeginAllowThreads();
27550 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27551
27552 wxPyEndAllowThreads(__tstate);
27553 if (PyErr_Occurred()) SWIG_fail;
27554 }
27555 resultobj = SWIG_FromInt((int)result);
27556 return resultobj;
27557 fail:
27558 return NULL;
27559}
27560
27561
27562static PyObject *_wrap_VideoMode_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
27563 PyObject *resultobj;
27564 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27565 int result;
27566 PyObject * obj0 = 0 ;
27567 char *kwnames[] = {
27568 (char *) "self", NULL
27569 };
27570
27571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27574 {
27575 PyThreadState* __tstate = wxPyBeginAllowThreads();
27576 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27577
27578 wxPyEndAllowThreads(__tstate);
27579 if (PyErr_Occurred()) SWIG_fail;
27580 }
27581 resultobj = SWIG_FromInt((int)result);
27582 return resultobj;
27583 fail:
27584 return NULL;
27585}
27586
27587
27588static PyObject *_wrap_VideoMode_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
27589 PyObject *resultobj;
27590 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27591 int result;
27592 PyObject * obj0 = 0 ;
27593 char *kwnames[] = {
27594 (char *) "self", NULL
27595 };
27596
27597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27600 {
27601 PyThreadState* __tstate = wxPyBeginAllowThreads();
27602 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27603
27604 wxPyEndAllowThreads(__tstate);
27605 if (PyErr_Occurred()) SWIG_fail;
27606 }
27607 resultobj = SWIG_FromInt((int)result);
27608 return resultobj;
27609 fail:
27610 return NULL;
27611}
27612
27613
27614static PyObject *_wrap_VideoMode_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27615 PyObject *resultobj;
27616 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27617 bool result;
27618 PyObject * obj0 = 0 ;
27619 char *kwnames[] = {
27620 (char *) "self", NULL
27621 };
27622
27623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27626 {
27627 PyThreadState* __tstate = wxPyBeginAllowThreads();
27628 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27629
27630 wxPyEndAllowThreads(__tstate);
27631 if (PyErr_Occurred()) SWIG_fail;
27632 }
27633 {
27634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27635 }
27636 return resultobj;
27637 fail:
27638 return NULL;
27639}
27640
27641
27642static PyObject *_wrap_VideoMode___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
27643 PyObject *resultobj;
27644 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27645 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27646 bool result;
27647 PyObject * obj0 = 0 ;
27648 PyObject * obj1 = 0 ;
27649 char *kwnames[] = {
27650 (char *) "self",(char *) "other", NULL
27651 };
27652
27653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27658 {
27659 PyThreadState* __tstate = wxPyBeginAllowThreads();
27660 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27661
27662 wxPyEndAllowThreads(__tstate);
27663 if (PyErr_Occurred()) SWIG_fail;
27664 }
27665 {
27666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27667 }
27668 return resultobj;
27669 fail:
27670 return NULL;
27671}
27672
27673
27674static PyObject *_wrap_VideoMode___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
27675 PyObject *resultobj;
27676 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27677 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27678 bool result;
27679 PyObject * obj0 = 0 ;
27680 PyObject * obj1 = 0 ;
27681 char *kwnames[] = {
27682 (char *) "self",(char *) "other", NULL
27683 };
27684
27685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27690 {
27691 PyThreadState* __tstate = wxPyBeginAllowThreads();
27692 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27693
27694 wxPyEndAllowThreads(__tstate);
27695 if (PyErr_Occurred()) SWIG_fail;
27696 }
27697 {
27698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27699 }
27700 return resultobj;
27701 fail:
27702 return NULL;
27703}
27704
27705
27706static PyObject *_wrap_VideoMode_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27707 PyObject *resultobj;
27708 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27709 int arg2 ;
27710 PyObject * obj0 = 0 ;
27711 PyObject * obj1 = 0 ;
27712 char *kwnames[] = {
27713 (char *) "self",(char *) "w", NULL
27714 };
27715
27716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27719 arg2 = (int) SWIG_AsInt(obj1);
27720 if (PyErr_Occurred()) SWIG_fail;
27721 if (arg1) (arg1)->w = arg2;
27722
27723 Py_INCREF(Py_None); resultobj = Py_None;
27724 return resultobj;
27725 fail:
27726 return NULL;
27727}
27728
27729
27730static PyObject *_wrap_VideoMode_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27731 PyObject *resultobj;
27732 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27733 int result;
27734 PyObject * obj0 = 0 ;
27735 char *kwnames[] = {
27736 (char *) "self", NULL
27737 };
27738
27739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27742 result = (int) ((arg1)->w);
27743
27744 resultobj = SWIG_FromInt((int)result);
27745 return resultobj;
27746 fail:
27747 return NULL;
27748}
27749
27750
27751static PyObject *_wrap_VideoMode_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27752 PyObject *resultobj;
27753 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27754 int arg2 ;
27755 PyObject * obj0 = 0 ;
27756 PyObject * obj1 = 0 ;
27757 char *kwnames[] = {
27758 (char *) "self",(char *) "h", NULL
27759 };
27760
27761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27764 arg2 = (int) SWIG_AsInt(obj1);
27765 if (PyErr_Occurred()) SWIG_fail;
27766 if (arg1) (arg1)->h = arg2;
27767
27768 Py_INCREF(Py_None); resultobj = Py_None;
27769 return resultobj;
27770 fail:
27771 return NULL;
27772}
27773
27774
27775static PyObject *_wrap_VideoMode_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27776 PyObject *resultobj;
27777 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27778 int result;
27779 PyObject * obj0 = 0 ;
27780 char *kwnames[] = {
27781 (char *) "self", NULL
27782 };
27783
27784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27787 result = (int) ((arg1)->h);
27788
27789 resultobj = SWIG_FromInt((int)result);
27790 return resultobj;
27791 fail:
27792 return NULL;
27793}
27794
27795
27796static PyObject *_wrap_VideoMode_bpp_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27797 PyObject *resultobj;
27798 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27799 int arg2 ;
27800 PyObject * obj0 = 0 ;
27801 PyObject * obj1 = 0 ;
27802 char *kwnames[] = {
27803 (char *) "self",(char *) "bpp", NULL
27804 };
27805
27806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27809 arg2 = (int) SWIG_AsInt(obj1);
27810 if (PyErr_Occurred()) SWIG_fail;
27811 if (arg1) (arg1)->bpp = arg2;
27812
27813 Py_INCREF(Py_None); resultobj = Py_None;
27814 return resultobj;
27815 fail:
27816 return NULL;
27817}
27818
27819
27820static PyObject *_wrap_VideoMode_bpp_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27821 PyObject *resultobj;
27822 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27823 int result;
27824 PyObject * obj0 = 0 ;
27825 char *kwnames[] = {
27826 (char *) "self", NULL
27827 };
27828
27829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27832 result = (int) ((arg1)->bpp);
27833
27834 resultobj = SWIG_FromInt((int)result);
27835 return resultobj;
27836 fail:
27837 return NULL;
27838}
27839
27840
27841static PyObject *_wrap_VideoMode_refresh_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27842 PyObject *resultobj;
27843 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27844 int arg2 ;
27845 PyObject * obj0 = 0 ;
27846 PyObject * obj1 = 0 ;
27847 char *kwnames[] = {
27848 (char *) "self",(char *) "refresh", NULL
27849 };
27850
27851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27854 arg2 = (int) SWIG_AsInt(obj1);
27855 if (PyErr_Occurred()) SWIG_fail;
27856 if (arg1) (arg1)->refresh = arg2;
27857
27858 Py_INCREF(Py_None); resultobj = Py_None;
27859 return resultobj;
27860 fail:
27861 return NULL;
27862}
27863
27864
27865static PyObject *_wrap_VideoMode_refresh_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27866 PyObject *resultobj;
27867 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27868 int result;
27869 PyObject * obj0 = 0 ;
27870 char *kwnames[] = {
27871 (char *) "self", NULL
27872 };
27873
27874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27877 result = (int) ((arg1)->refresh);
27878
27879 resultobj = SWIG_FromInt((int)result);
27880 return resultobj;
27881 fail:
27882 return NULL;
27883}
27884
27885
27886static PyObject * VideoMode_swigregister(PyObject *self, PyObject *args) {
27887 PyObject *obj;
27888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27889 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27890 Py_INCREF(obj);
27891 return Py_BuildValue((char *)"");
27892}
27893static int _wrap_DefaultVideoMode_set(PyObject *_val) {
27894 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27895 return 1;
27896}
27897
27898
27899static PyObject *_wrap_DefaultVideoMode_get() {
27900 PyObject *pyobj;
27901
27902 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27903 return pyobj;
27904}
27905
27906
27907static PyObject *_wrap_new_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27908 PyObject *resultobj;
27909 size_t arg1 = (size_t) 0 ;
27910 wxDisplay *result;
27911 PyObject * obj0 = 0 ;
27912 char *kwnames[] = {
27913 (char *) "index", NULL
27914 };
27915
27916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27917 if (obj0) {
27918 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27919 if (PyErr_Occurred()) SWIG_fail;
27920 }
27921 {
27922 PyThreadState* __tstate = wxPyBeginAllowThreads();
27923 result = (wxDisplay *)new wxDisplay(arg1);
27924
27925 wxPyEndAllowThreads(__tstate);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 }
27928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27929 return resultobj;
27930 fail:
27931 return NULL;
27932}
27933
27934
27935static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27936 PyObject *resultobj;
27937 wxDisplay *arg1 = (wxDisplay *) 0 ;
27938 PyObject * obj0 = 0 ;
27939 char *kwnames[] = {
27940 (char *) "self", NULL
27941 };
27942
27943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27946 {
27947 PyThreadState* __tstate = wxPyBeginAllowThreads();
27948 delete arg1;
27949
27950 wxPyEndAllowThreads(__tstate);
27951 if (PyErr_Occurred()) SWIG_fail;
27952 }
27953 Py_INCREF(Py_None); resultobj = Py_None;
27954 return resultobj;
27955 fail:
27956 return NULL;
27957}
27958
27959
27960static PyObject *_wrap_Display_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
27961 PyObject *resultobj;
27962 size_t result;
27963 char *kwnames[] = {
27964 NULL
27965 };
27966
27967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27968 {
27969 PyThreadState* __tstate = wxPyBeginAllowThreads();
27970 result = (size_t)wxDisplay::GetCount();
27971
27972 wxPyEndAllowThreads(__tstate);
27973 if (PyErr_Occurred()) SWIG_fail;
27974 }
27975 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27976 return resultobj;
27977 fail:
27978 return NULL;
27979}
27980
27981
27982static PyObject *_wrap_Display_GetFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
27983 PyObject *resultobj;
27984 wxPoint *arg1 = 0 ;
27985 int result;
27986 wxPoint temp1 ;
27987 PyObject * obj0 = 0 ;
27988 char *kwnames[] = {
27989 (char *) "pt", NULL
27990 };
27991
27992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27993 {
27994 arg1 = &temp1;
27995 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27996 }
27997 {
27998 PyThreadState* __tstate = wxPyBeginAllowThreads();
27999 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
28000
28001 wxPyEndAllowThreads(__tstate);
28002 if (PyErr_Occurred()) SWIG_fail;
28003 }
28004 resultobj = SWIG_FromInt((int)result);
28005 return resultobj;
28006 fail:
28007 return NULL;
28008}
28009
28010
28011static PyObject *_wrap_Display_GetFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28012 PyObject *resultobj;
28013 wxWindow *arg1 = (wxWindow *) 0 ;
28014 int result;
28015 PyObject * obj0 = 0 ;
28016 char *kwnames[] = {
28017 (char *) "window", NULL
28018 };
28019
28020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
28021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28023 {
28024 PyThreadState* __tstate = wxPyBeginAllowThreads();
28025 result = (int)wxDisplay::GetFromWindow(arg1);
28026
28027 wxPyEndAllowThreads(__tstate);
28028 if (PyErr_Occurred()) SWIG_fail;
28029 }
28030 resultobj = SWIG_FromInt((int)result);
28031 return resultobj;
28032 fail:
28033 return NULL;
28034}
28035
28036
28037static PyObject *_wrap_Display_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
28038 PyObject *resultobj;
28039 wxDisplay *arg1 = (wxDisplay *) 0 ;
28040 bool result;
28041 PyObject * obj0 = 0 ;
28042 char *kwnames[] = {
28043 (char *) "self", NULL
28044 };
28045
28046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
28047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28049 {
28050 PyThreadState* __tstate = wxPyBeginAllowThreads();
28051 result = (bool)((wxDisplay const *)arg1)->IsOk();
28052
28053 wxPyEndAllowThreads(__tstate);
28054 if (PyErr_Occurred()) SWIG_fail;
28055 }
28056 {
28057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28058 }
28059 return resultobj;
28060 fail:
28061 return NULL;
28062}
28063
28064
28065static PyObject *_wrap_Display_GetGeometry(PyObject *self, PyObject *args, PyObject *kwargs) {
28066 PyObject *resultobj;
28067 wxDisplay *arg1 = (wxDisplay *) 0 ;
28068 wxRect result;
28069 PyObject * obj0 = 0 ;
28070 char *kwnames[] = {
28071 (char *) "self", NULL
28072 };
28073
28074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
28075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28077 {
28078 PyThreadState* __tstate = wxPyBeginAllowThreads();
28079 result = ((wxDisplay const *)arg1)->GetGeometry();
28080
28081 wxPyEndAllowThreads(__tstate);
28082 if (PyErr_Occurred()) SWIG_fail;
28083 }
28084 {
28085 wxRect * resultptr;
28086 resultptr = new wxRect((wxRect &) result);
28087 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
28088 }
28089 return resultobj;
28090 fail:
28091 return NULL;
28092}
28093
28094
28095static PyObject *_wrap_Display_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
28096 PyObject *resultobj;
28097 wxDisplay *arg1 = (wxDisplay *) 0 ;
28098 wxString result;
28099 PyObject * obj0 = 0 ;
28100 char *kwnames[] = {
28101 (char *) "self", NULL
28102 };
28103
28104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
28105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28107 {
28108 PyThreadState* __tstate = wxPyBeginAllowThreads();
28109 result = ((wxDisplay const *)arg1)->GetName();
28110
28111 wxPyEndAllowThreads(__tstate);
28112 if (PyErr_Occurred()) SWIG_fail;
28113 }
28114 {
28115#if wxUSE_UNICODE
28116 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28117#else
28118 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28119#endif
28120 }
28121 return resultobj;
28122 fail:
28123 return NULL;
28124}
28125
28126
28127static PyObject *_wrap_Display_IsPrimary(PyObject *self, PyObject *args, PyObject *kwargs) {
28128 PyObject *resultobj;
28129 wxDisplay *arg1 = (wxDisplay *) 0 ;
28130 bool result;
28131 PyObject * obj0 = 0 ;
28132 char *kwnames[] = {
28133 (char *) "self", NULL
28134 };
28135
28136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
28137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28139 {
28140 PyThreadState* __tstate = wxPyBeginAllowThreads();
28141 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
28142
28143 wxPyEndAllowThreads(__tstate);
28144 if (PyErr_Occurred()) SWIG_fail;
28145 }
28146 {
28147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28148 }
28149 return resultobj;
28150 fail:
28151 return NULL;
28152}
28153
28154
28155static PyObject *_wrap_Display_GetModes(PyObject *self, PyObject *args, PyObject *kwargs) {
28156 PyObject *resultobj;
28157 wxDisplay *arg1 = (wxDisplay *) 0 ;
28158 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28159 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28160 PyObject *result;
28161 PyObject * obj0 = 0 ;
28162 PyObject * obj1 = 0 ;
28163 char *kwnames[] = {
28164 (char *) "self",(char *) "mode", NULL
28165 };
28166
28167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
28168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28170 if (obj1) {
28171 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28172 SWIG_POINTER_EXCEPTION | 0)) == -1)
28173 SWIG_fail;
28174 if (arg2 == NULL) {
28175 PyErr_SetString(PyExc_TypeError,"null reference");
28176 SWIG_fail;
28177 }
28178 }
28179 {
28180 PyThreadState* __tstate = wxPyBeginAllowThreads();
28181 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
28182
28183 wxPyEndAllowThreads(__tstate);
28184 if (PyErr_Occurred()) SWIG_fail;
28185 }
28186 resultobj = result;
28187 return resultobj;
28188 fail:
28189 return NULL;
28190}
28191
28192
28193static PyObject *_wrap_Display_GetCurrentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28194 PyObject *resultobj;
28195 wxDisplay *arg1 = (wxDisplay *) 0 ;
28196 wxVideoMode result;
28197 PyObject * obj0 = 0 ;
28198 char *kwnames[] = {
28199 (char *) "self", NULL
28200 };
28201
28202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
28203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28205 {
28206 PyThreadState* __tstate = wxPyBeginAllowThreads();
28207 result = ((wxDisplay const *)arg1)->GetCurrentMode();
28208
28209 wxPyEndAllowThreads(__tstate);
28210 if (PyErr_Occurred()) SWIG_fail;
28211 }
28212 {
28213 wxVideoMode * resultptr;
28214 resultptr = new wxVideoMode((wxVideoMode &) result);
28215 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
28216 }
28217 return resultobj;
28218 fail:
28219 return NULL;
28220}
28221
28222
28223static PyObject *_wrap_Display_ChangeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28224 PyObject *resultobj;
28225 wxDisplay *arg1 = (wxDisplay *) 0 ;
28226 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28227 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28228 bool result;
28229 PyObject * obj0 = 0 ;
28230 PyObject * obj1 = 0 ;
28231 char *kwnames[] = {
28232 (char *) "self",(char *) "mode", NULL
28233 };
28234
28235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28238 if (obj1) {
28239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28240 SWIG_POINTER_EXCEPTION | 0)) == -1)
28241 SWIG_fail;
28242 if (arg2 == NULL) {
28243 PyErr_SetString(PyExc_TypeError,"null reference");
28244 SWIG_fail;
28245 }
28246 }
28247 {
28248 PyThreadState* __tstate = wxPyBeginAllowThreads();
28249 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28250
28251 wxPyEndAllowThreads(__tstate);
28252 if (PyErr_Occurred()) SWIG_fail;
28253 }
28254 {
28255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28256 }
28257 return resultobj;
28258 fail:
28259 return NULL;
28260}
28261
28262
28263static PyObject *_wrap_Display_ResetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28264 PyObject *resultobj;
28265 wxDisplay *arg1 = (wxDisplay *) 0 ;
28266 PyObject * obj0 = 0 ;
28267 char *kwnames[] = {
28268 (char *) "self", NULL
28269 };
28270
28271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28274 {
28275 PyThreadState* __tstate = wxPyBeginAllowThreads();
28276 (arg1)->ResetMode();
28277
28278 wxPyEndAllowThreads(__tstate);
28279 if (PyErr_Occurred()) SWIG_fail;
28280 }
28281 Py_INCREF(Py_None); resultobj = Py_None;
28282 return resultobj;
28283 fail:
28284 return NULL;
28285}
28286
28287
28288static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
28289 PyObject *obj;
28290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28291 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28292 Py_INCREF(obj);
28293 return Py_BuildValue((char *)"");
28294}
28295static PyMethodDef SwigMethods[] = {
28296 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
28297 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
28298 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
28299 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
28300 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
28301 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
28302 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
28303 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
28304 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
28305 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
28306 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
28307 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
28308 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
28309 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
28310 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
28311 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
28312 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
28313 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
28314 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
28315 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
28316 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
28317 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
28318 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
28319 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
28320 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
28321 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
28322 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
28323 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
28324 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
28325 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
bf26d883
RD
28326 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS },
28327 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28328 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
28329 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
28330 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
28331 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
28332 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
28333 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
28334 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
28335 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
28336 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
28337 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
28338 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
28339 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
28340 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
28341 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
28342 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
28343 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
28344 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
28345 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
28346 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
28347 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
28348 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
28349 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
28350 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
28351 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
28352 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
28353 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
28354 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28355 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28356 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28357 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28358 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
28359 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
28360 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
28361 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28362 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28363 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
28364 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
28365 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
28366 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
28367 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
28368 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28369 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28370 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
28371 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
28372 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
28373 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
28374 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
28375 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
28376 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
28377 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
28378 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
28379 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
28380 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
28381 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
28382 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
28383 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
28384 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
28385 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
28386 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
28387 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
28388 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
28389 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
28390 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
28391 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
28392 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
28393 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
28394 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
28395 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28396 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28397 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28398 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28399 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
28400 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28401 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28402 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
28403 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28404 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28405 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
28406 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
28407 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
28408 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
28409 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
28410 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
28411 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
28412 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
28413 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
28414 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
28415 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
28416 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
28417 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
28418 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
28419 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
28420 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
28421 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
28422 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
28423 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
28424 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
28425 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
28426 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28427 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28428 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28429 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
28430 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
28431 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
28432 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
28433 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
28434 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
28435 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
28436 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
28437 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
28438 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
28439 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28440 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
28441 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
28442 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
28443 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
28444 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
28445 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28446 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
1a6bba1e 28447 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28448 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
28449 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
28450 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
28451 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
28452 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
28453 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
28454 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
28455 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
28456 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
28457 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
28458 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
28459 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
28460 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
28461 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
28462 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
28463 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
28464 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
28465 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
28466 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
28467 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
28468 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28469 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28470 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
28471 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
28472 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
28473 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
28474 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28475 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
28476 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
28477 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
28478 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
28479 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
28480 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
28481 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
28482 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
28483 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
28484 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
28485 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
28486 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
28487 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
28488 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
28489 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
28490 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
28491 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
28492 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
28493 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
28494 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
28495 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
28496 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
28497 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
28498 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28499 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28500 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
28501 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
28502 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
28503 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
28504 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
28505 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28506 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28507 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
28508 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
28509 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
28510 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
28511 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
28512 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
28513 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
28514 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
28515 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
28516 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
28517 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
28518 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
28519 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
28520 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
28521 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
28522 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
28523 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
28524 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
28525 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
28526 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
28527 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28528 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
28529 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
28530 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
28531 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
28532 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
28533 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28534 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
28535 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
28536 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
28537 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
28538 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
28539 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
28540 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
28541 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
28542 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
28543 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
28544 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
28545 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
28546 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
28547 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
28548 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
28549 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
28550 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
28551 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
28552 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
28553 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
28554 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
28555 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
28556 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
28557 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
28558 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28559 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28560 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
28561 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
28562 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
28563 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
28564 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
28565 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28566 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28567 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
28568 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
28569 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
28570 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
28571 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
28572 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
28573 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
28574 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
28575 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
28576 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
28577 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
28578 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
28579 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
28580 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
28581 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
28582 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
28583 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
28584 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
28585 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
28586 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
28587 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
28588 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
28589 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
28590 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
28591 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
28592 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
28593 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
28594 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
28595 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
28596 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
28597 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
28598 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
28599 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
28600 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
28601 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
28602 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
28603 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
28604 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
28605 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
28606 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
28607 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
28608 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
28609 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
28610 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
28611 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
28612 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28613 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28614 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
28615 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
28616 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
28617 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
28618 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
28619 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
28620 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
28621 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
28622 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
28623 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
28624 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
28625 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
28626 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
28627 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
b1f29bf7
RD
28628 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS },
28629 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc 28630 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
b1f29bf7
RD
28631 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS },
28632 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc 28633 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
b1f29bf7
RD
28634 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS },
28635 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28636 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
28637 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
28638 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28639 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
28640 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28641 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
28642 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
28643 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
28644 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28645 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28646 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28647 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
28648 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
28649 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28650 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
28651 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
28652 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
28653 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
28654 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
28655 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
28656 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28657 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
28658 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28659 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
28660 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
28661 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
28662 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28663 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28664 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
28665 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
28666 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
28667 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
28668 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
28669 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
28670 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
28671 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28672 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
28673 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
28674 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
28675 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
28676 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
28677 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
28678 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
28679 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
28680 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
28681 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
28682 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28683 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
28684 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
28685 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28686 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
28687 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
28688 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
28689 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28690 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
28691 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
28692 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
28693 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
28694 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
28695 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
28696 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
28697 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28698 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
28699 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
28700 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
28701 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
28702 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
28703 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
28704 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
28705 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
28706 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
28707 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
28708 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
28709 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
28710 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
28711 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
28712 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
28713 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
28714 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
28715 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
28716 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
28717 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
28718 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
28719 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
28720 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
28721 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
28722 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
28723 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
28724 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28725 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
28726 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
28727 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
28728 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28729 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
28730 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
28731 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
28732 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
28733 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
28734 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
28735 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
28736 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
28737 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
28738 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
28739 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
28740 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
28741 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
28742 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28743 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28744 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
28745 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
28746 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28747 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
28748 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
28749 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
28750 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
28751 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
28752 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
28753 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
28754 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
28755 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
28756 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
28757 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
28758 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
28759 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
28760 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
28761 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
28762 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
28763 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
28764 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
28765 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
28766 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
28767 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
28768 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
28769 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
28770 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
28771 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
28772 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
28773 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
28774 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
28775 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
28776 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
28777 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
28778 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
28779 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
28780 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
28781 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
28782 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
28783 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
28784 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
28785 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28786 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28787 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28788 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28789 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28790 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28791 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
28792 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28793 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28794 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
28795 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
28796 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28797 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28798 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
28799 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
28800 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28801 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
28802 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28803 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
28804 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
28805 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
28806 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
28807 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
28808 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
28809 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
28810 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
28811 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
28812 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
28813 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
28814 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
28815 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
28816 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
28817 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
28818 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
28819 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
28820 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
28821 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
28822 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
28823 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
28824 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28825 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
28826 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
28827 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
28828 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
28829 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
28830 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
28831 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
28832 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
28833 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
28834 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
28835 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
28836 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
28837 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
28838 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
28839 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
28840 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
28841 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
28842 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
28843 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
28844 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
28845 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
28846 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
28847 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
28848 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
28849 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
28850 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
28851 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
28852 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
28853 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
28854 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
28855 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
28856 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
28857 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
28858 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
28859 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
28860 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
28861 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
28862 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
28863 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
28864 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
28865 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
28866 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28867 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
28868 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28869 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28870 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
28871 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28872 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28873 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28874 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
28875 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28876 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28877 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28878 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28879 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
28880 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28881 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28882 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28883 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
28884 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
28885 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
28886 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
28887 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28888 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28889 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
28890 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
28891 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
28892 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28893 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
28894 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
28895 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28896 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28897 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
28898 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
28899 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
28900 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
28901 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
28902 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
28903 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
28904 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
28905 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
28906 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
28907 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28908 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
28909 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
28910 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
28911 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
28912 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
28913 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
28914 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
28915 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
28916 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
28917 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
28918 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
28919 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28920 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28921 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
28922 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
28923 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28924 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28925 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28926 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28927 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28928 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28929 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28930 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
28931 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28932 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28933 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28934 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28935 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28936 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
28937 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
28938 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
28939 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
28940 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
28941 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
28942 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
28943 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
28944 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
28945 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
28946 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
28947 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
28948 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
28949 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
28950 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
28951 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
28952 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
28953 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
28954 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
28955 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28956 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
28957 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28958 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28959 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
28960 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28961 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
28962 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
a07a67e6
RD
28963 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28964 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28965 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28966 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
28967 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28968 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28969 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
28970 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
28971 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
28972 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
28973 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
28974 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
28975 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
28976 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
28977 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
28978 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
28979 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28980 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
28981 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28982 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28983 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
28984 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
28985 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28986 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28987 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
28988 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
28989 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
28990 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
28991 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
28992 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28993 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28994 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
28995 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
28996 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
28997 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
28998 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
28999 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
29000 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
29001 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
29002 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
29003 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
29004 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
29005 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
29006 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
29007 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29008 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
29009 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
29010 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
29011 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
29012 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
29013 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
29014 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
29015 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
29016 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29017 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
29018 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
29019 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
29020 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
29021 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
29022 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
29023 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
29024 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
29025 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
29026 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
29027 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29028 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
29029 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
29030 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
29031 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
29032 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
29033 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
29034 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
29035 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29036 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
29037 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
29038 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
29039 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
29040 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
29041 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
29042 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
29043 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
29044 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
29045 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
29046 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
29047 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
29048 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
29049 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
29050 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
29051 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
29052 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
29053 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
a001823c 29054 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
29055 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
29056 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
29057 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
29058 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
29059 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
29060 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS },
29061 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS },
29062 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS },
29063 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS },
29064 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS },
29065 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS },
29066 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS },
29067 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS },
29068 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS },
29069 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS },
29070 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS },
29071 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS },
29072 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS },
29073 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS },
29074 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS },
29075 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS },
29076 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS },
29077 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS },
29078 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS },
29079 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS },
29080 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS },
29081 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS },
29082 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS },
29083 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS },
29084 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS },
29085 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS },
29086 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS },
29087 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS },
29088 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS },
29089 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS },
29090 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS },
29091 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
29092 { NULL, NULL }
29093};
29094
29095
29096/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29097
29098static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29099 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29100}
29101static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29102 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29103}
29104static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29105 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29106}
29107static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29108 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29109}
29110static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29111 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29112}
29113static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29114 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29115}
29116static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
29117 return (void *)((wxEvent *) ((wxTimerEvent *) x));
29118}
29119static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29120 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29121}
29122static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29123 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29124}
29125static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29126 return (void *)((wxEvent *) ((wxPyEvent *) x));
29127}
29128static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29129 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29130}
29131static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
29132 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
29133}
29134static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29135 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29136}
29137static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29138 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29139}
29140static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29141 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29142}
29143static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29144 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29145}
29146static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29147 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29148}
29149static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29150 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29151}
29152static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29153 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29154}
29155static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29156 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29157}
29158static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
29159 return (void *)((wxEvent *) ((wxPaintEvent *) x));
29160}
29161static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
29162 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
29163}
29164static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
29165 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
29166}
29167static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
29168 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
29169}
29170static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
29171 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
29172}
29173static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
29174 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29175}
29176static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
29177 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
29178}
29179static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
29180 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
29181}
29182static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
29183 return (void *)((wxEvent *) ((wxFocusEvent *) x));
29184}
29185static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
29186 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
29187}
29188static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
29189 return (void *)((wxEvent *) ((wxProcessEvent *) x));
29190}
29191static void *_p_wxShowEventTo_p_wxEvent(void *x) {
29192 return (void *)((wxEvent *) ((wxShowEvent *) x));
29193}
29194static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
29195 return (void *)((wxEvent *) ((wxCommandEvent *) x));
29196}
29197static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
29198 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
29199}
29200static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
29201 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29202}
29203static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
29204 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
29205}
29206static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
29207 return (void *)((wxEvent *) ((wxKeyEvent *) x));
29208}
29209static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
29210 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
29211}
29212static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
29213 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
29214}
29215static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
29216 return (void *)((wxConfigBase *) ((wxConfig *) x));
29217}
29218static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
29219 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29220}
29221static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
29222 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
29223}
29224static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
29225 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
29226}
29227static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
29228 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29229}
29230static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
29231 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
29232}
29233static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
29234 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
29235}
29236static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29237 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29238}
29239static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29240 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29241}
29242static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29243 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29244}
29245static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29246 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29247}
29248static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29249 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29250}
29251static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29252 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29253}
29254static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29255 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29256}
29257static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29258 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29259}
29260static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29261 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29262}
29263static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29264 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29265}
29266static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29267 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29268}
29269static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29270 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29271}
29272static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29273 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29274}
29275static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29276 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29277}
29278static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29279 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29280}
29281static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29282 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29283}
29284static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29285 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29286}
29287static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29288 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29289}
29290static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29291 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29292}
29293static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29294 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29295}
29296static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29297 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29298}
29299static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29300 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29301}
29302static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29303 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29304}
29305static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29306 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29307}
29308static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29309 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29310}
29311static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29312 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29313}
29314static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29315 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29316}
29317static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29318 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29319}
29320static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29321 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29322}
29323static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29324 return (void *)((wxObject *) ((wxSizerItem *) x));
29325}
29326static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29327 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29328}
29329static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29330 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29331}
29332static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29333 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29334}
29335static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29336 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29337}
29338static void *_p_wxSizerTo_p_wxObject(void *x) {
29339 return (void *)((wxObject *) ((wxSizer *) x));
29340}
29341static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29342 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29343}
29344static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29345 return (void *)((wxObject *) ((wxFileHistory *) x));
29346}
29347static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29348 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29349}
29350static void *_p_wxEventTo_p_wxObject(void *x) {
29351 return (void *)((wxObject *) ((wxEvent *) x));
29352}
29353static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29354 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29355}
29356static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29357 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29358}
29359static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29360 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29361}
29362static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29363 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29364}
29365static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29366 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29367}
29368static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29369 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29370}
29371static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29372 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29373}
29374static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29375 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29376}
29377static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29378 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29379}
29380static void *_p_wxControlTo_p_wxObject(void *x) {
29381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29382}
29383static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29384 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29385}
29386static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29387 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29388}
29389static void *_p_wxFSFileTo_p_wxObject(void *x) {
29390 return (void *)((wxObject *) ((wxFSFile *) x));
29391}
29392static void *_p_wxClipboardTo_p_wxObject(void *x) {
29393 return (void *)((wxObject *) ((wxClipboard *) x));
29394}
29395static void *_p_wxPySizerTo_p_wxObject(void *x) {
29396 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29397}
29398static void *_p_wxPyEventTo_p_wxObject(void *x) {
29399 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29400}
29401static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29402 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29403}
29404static void *_p_wxShowEventTo_p_wxObject(void *x) {
29405 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29406}
29407static void *_p_wxToolTipTo_p_wxObject(void *x) {
29408 return (void *)((wxObject *) ((wxToolTip *) x));
29409}
29410static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29411 return (void *)((wxObject *) ((wxMenuItem *) x));
29412}
29413static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29414 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29415}
29416static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29417 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29418}
29419static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29420 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29421}
29422static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29423 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29424}
29425static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29426 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29427}
29428static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29429 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29430}
29431static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29432 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29433}
29434static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29435 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29436}
29437static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29438 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29439}
29440static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29441 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29442}
29443static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29444 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29445}
29446static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29447 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29448}
29449static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29450 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29451}
29452static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29453 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29454}
29455static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29456 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29457}
29458static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29459 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29460}
29461static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29462 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29463}
29464static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29465 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29466}
29467static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29468 return (void *)((wxObject *) ((wxImageHandler *) x));
29469}
29470static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29471 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29472}
29473static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29474 return (void *)((wxObject *) ((wxEvtHandler *) x));
29475}
29476static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29477 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29478}
29479static void *_p_wxImageTo_p_wxObject(void *x) {
29480 return (void *)((wxObject *) ((wxImage *) x));
29481}
29482static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29483 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29484}
29485static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29486 return (void *)((wxObject *) ((wxSystemOptions *) x));
29487}
29488static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29489 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29490}
29491static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29492 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29493}
29494static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29495 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29496}
29497static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29498 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29499}
29500static void *_p_wxWindowTo_p_wxObject(void *x) {
29501 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29502}
29503static void *_p_wxMenuTo_p_wxObject(void *x) {
29504 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29505}
29506static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29508}
29509static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29510 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29511}
29512static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29513 return (void *)((wxObject *) ((wxFileSystem *) x));
29514}
29515static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29516 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29517}
29518static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29519 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29520}
29521static void *_p_wxPyAppTo_p_wxObject(void *x) {
29522 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29523}
29524static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29525 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29526}
29527static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29528 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29529}
29530static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29531 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29532}
29533static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29534 return (void *)((wxObject *) ((wxBusyInfo *) x));
29535}
29536static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29537 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29538}
29539static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29540 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29541}
29542static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29543 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29544}
29545static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29546 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29547}
29548static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29549 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29550}
29551static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29552 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29553}
29554static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29556}
29557static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29558 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29559}
29560static void *_p_wxValidatorTo_p_wxObject(void *x) {
29561 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29562}
29563static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29564 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29565}
29566static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29567 return (void *)((wxLog *) ((wxLogStderr *) x));
29568}
29569static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29570 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29571}
29572static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29573 return (void *)((wxLog *) ((wxLogWindow *) x));
29574}
29575static void *_p_wxLogChainTo_p_wxLog(void *x) {
29576 return (void *)((wxLog *) ((wxLogChain *) x));
29577}
29578static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29579 return (void *)((wxLog *) ((wxLogGui *) x));
29580}
29581static void *_p_wxPyLogTo_p_wxLog(void *x) {
29582 return (void *)((wxLog *) ((wxPyLog *) x));
29583}
29584static void *_p_wxControlTo_p_wxWindow(void *x) {
29585 return (void *)((wxWindow *) ((wxControl *) x));
29586}
29587static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29588 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29589}
29590static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29591 return (void *)((wxWindow *) ((wxMenuBar *) x));
29592}
29593static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29594 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29595}
29596static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29597 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29598}
29599static 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}};
29600static 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}};
29601static 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}};
29602static 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}};
29603static 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}};
29604static 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}};
29605static 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}};
29606static 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}};
29607static 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}};
29608static 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}};
29609static 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}};
29610static 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}};
29611static 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}};
29612static 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}};
29613static 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}};
29614static 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}};
29615static 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}};
29616static 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}};
29617static 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}};
29618static 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}};
29619static 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}};
29620static 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}};
29621static 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}};
29622static 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}};
29623static 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}};
29624static 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}};
29625static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
b1f29bf7 29626static 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
29627static 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}};
29628static 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}};
29629static 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}};
29630static 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
29631static 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}};
29632static 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}};
29633static 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}};
29634static 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}};
29635static 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}};
29636static 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}};
29637static 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}};
29638static 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}};
29639static 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}};
29640static 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}};
29641static 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}};
29642static 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}};
29643static 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}};
29644static 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}};
29645static 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}};
29646static 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}};
29647static 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}};
29648static 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}};
29649static 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}};
29650static 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}};
29651static 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}};
29652static 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}};
29653static 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}};
29654static 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}};
29655static 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}};
29656static 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}};
29657static 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}};
29658static 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}};
29659static 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}};
29660static 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}};
29661static 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}};
29662static 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}};
29663static 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}};
29664static 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}};
29665static 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}};
29666static 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}};
29667static 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}};
29668static 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}};
29669static 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}};
29670static 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}};
29671static 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}};
29672static 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}};
29673static 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}};
29674static 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}};
29675static 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}};
29676static 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}};
29677static 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}};
29678static 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}};
29679static 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}};
29680static 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}};
29681static 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
29682static 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}};
29683static 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}};
29684static 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}};
29685
29686static swig_type_info *swig_types_initial[] = {
29687_swigt__p_wxLogChain,
29688_swigt__p_wxMutexGuiLocker,
29689_swigt__p_wxMetafile,
29690_swigt__p_wxFileHistory,
29691_swigt__p_wxLog,
29692_swigt__p_wxDateTime__TimeZone,
29693_swigt__p_wxMenu,
29694_swigt__p_wxEvent,
29695_swigt__p_wxConfigBase,
29696_swigt__p_wxDisplay,
29697_swigt__p_wxFileType,
29698_swigt__p_wxLogGui,
29699_swigt__p_wxFont,
29700_swigt__p_wxDataFormat,
29701_swigt__p_wxTimerEvent,
29702_swigt__p_wxCaret,
29703_swigt__p_int,
29704_swigt__p_wxSize,
29705_swigt__p_wxClipboard,
29706_swigt__p_wxStopWatch,
29707_swigt__p_wxDC,
29708_swigt__p_wxClipboardLocker,
29709_swigt__p_wxIcon,
29710_swigt__p_wxLogStderr,
29711_swigt__p_wxLogTextCtrl,
29712_swigt__p_wxTextCtrl,
29713_swigt__p_wxBusyCursor,
b1f29bf7 29714_swigt__p_wxPyBitmapDataObject,
d55e5bfc
RD
29715_swigt__p_wxPyTextDataObject,
29716_swigt__p_wxBitmapDataObject,
29717_swigt__p_wxTextDataObject,
29718_swigt__p_wxDataObject,
d55e5bfc
RD
29719_swigt__p_wxFileDataObject,
29720_swigt__p_wxCustomDataObject,
29721_swigt__p_wxURLDataObject,
29722_swigt__p_wxMetafileDataObject,
29723_swigt__p_wxSound,
29724_swigt__p_wxTimerRunner,
29725_swigt__p_wxLogWindow,
29726_swigt__p_wxTimeSpan,
29727_swigt__p_wxArrayString,
29728_swigt__p_wxWindowDisabler,
29729_swigt__p_wxToolTip,
29730_swigt__p_wxDataObjectComposite,
29731_swigt__p_wxFileConfig,
29732_swigt__p_wxSystemSettings,
29733_swigt__p_wxVideoMode,
29734_swigt__p_wxPyDataObjectSimple,
29735_swigt__p_wxDataObjectSimple,
29736_swigt__p_wxEvtHandler,
29737_swigt__p_wxRect,
29738_swigt__p_char,
29739_swigt__p_wxSingleInstanceChecker,
29740_swigt__p_wxFileTypeInfo,
29741_swigt__p_wxFrame,
29742_swigt__p_wxTimer,
29743_swigt__p_wxMimeTypesManager,
29744_swigt__p_wxPyArtProvider,
29745_swigt__p_wxPyTipProvider,
29746_swigt__p_wxTipProvider,
29747_swigt__p_wxJoystick,
29748_swigt__p_wxSystemOptions,
29749_swigt__p_wxPoint,
29750_swigt__p_wxJoystickEvent,
29751_swigt__p_wxCursor,
29752_swigt__p_wxObject,
29753_swigt__p_wxOutputStream,
29754_swigt__p_wxDateTime,
29755_swigt__p_wxPyDropSource,
29756_swigt__p_wxWindow,
29757_swigt__p_wxString,
29758_swigt__p_wxPyProcess,
29759_swigt__p_wxBitmap,
29760_swigt__p_wxConfig,
29761_swigt__p_wxChar,
29762_swigt__p_wxBusyInfo,
29763_swigt__p_wxPyDropTarget,
29764_swigt__p_wxPyTextDropTarget,
29765_swigt__p_wxPyFileDropTarget,
29766_swigt__p_wxProcessEvent,
29767_swigt__p_wxPyLog,
29768_swigt__p_wxLogNull,
29769_swigt__p_wxColour,
d55e5bfc
RD
29770_swigt__p_wxConfigPathChanger,
29771_swigt__p_wxPyTimer,
29772_swigt__p_wxDateSpan,
297730
29774};
29775
29776
29777/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29778
29779static swig_const_info swig_const_table[] = {
29780{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29781{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29782{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29783{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29784{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
29785{0}};
29786
29787#ifdef __cplusplus
29788}
29789#endif
29790
29791#ifdef __cplusplus
29792extern "C"
29793#endif
29794SWIGEXPORT(void) SWIG_init(void) {
29795 static PyObject *SWIG_globals = 0;
29796 static int typeinit = 0;
29797 PyObject *m, *d;
29798 int i;
29799 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29800 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29801 d = PyModule_GetDict(m);
29802
29803 if (!typeinit) {
29804 for (i = 0; swig_types_initial[i]; i++) {
29805 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29806 }
29807 typeinit = 1;
29808 }
29809 SWIG_InstallConstants(d,swig_const_table);
29810
29811 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29812 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29813 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29814 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29815 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29816 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29817 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29818 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29819 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29820 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29821 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29822 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29823 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29824 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29825 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29826 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29827 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29828 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29829 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29830 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29831 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29832 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29833 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29834 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29835 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29836 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29837 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29838 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29839 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29840 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29841 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29842 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29843 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29844 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29845 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29846 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29847 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29848 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29849 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29850 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29851 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29852 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29853 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29854 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29855 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29856 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29857 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29858 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29859 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29860 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29861 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29862 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29863 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29864 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29865 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29866 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29867 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29868 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29869 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29870 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29871 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29872 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29873 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29874 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29875 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29876 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29877 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29878 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29879 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29880 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29881 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29882 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29883 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29884 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29885 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29886 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29887 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29888 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29889 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29890 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29891 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29892 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29893 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29894 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29895 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29896 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29897 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29898 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29899 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29900 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29901 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
29902 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29903 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29904 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29905 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29906 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29907 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29908 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29909 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
29910 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
1a6bba1e
RD
29911
29912 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29913
d55e5bfc
RD
29914 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29915 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29916 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29917 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29918 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29919 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29920 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29921 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29922 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29923 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29924 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29925 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29926 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29927 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29928 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29929 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29930 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29931 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29932 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29933 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29934 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29935 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29936 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29937 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29938 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29939 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29940 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29941 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29942 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29943 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29944 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29945 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29946 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29947 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29948 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29949 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29950 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29951 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29952 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29953 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29954 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29955 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29956 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29957 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29958 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
29959 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
29960 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29961 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29962 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29963 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
29964
29965 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29966
29967 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29968 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29969 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29970 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29971 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29972 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29973 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
29974 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29975 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29976 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29977 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
29978 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29979 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29980 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29981 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29982 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29983 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29984 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29985 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
29986 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29987 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29988 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29989 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29990 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29991 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29992 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
4cf4100f 29993 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
d55e5bfc
RD
29994 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29995 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29996 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29997 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29998 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29999 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
30000 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
30001 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
30002 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
30003 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
30004 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
30005 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
30006 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
30007 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
30008 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
30009 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
30010 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
30011 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
30012 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
30013 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
30014 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
30015 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
30016 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
30017 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
30018 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
30019 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
30020 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
30021 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
30022 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
30023 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
30024 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
30025 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
30026
30027 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30028
30029 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
30030 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
30031 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
30032 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
30033 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
30034 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
30035 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
30036 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
30037 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
30038 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
30039 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
30040 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
30041 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
30042 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
30043 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
30044 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
30045 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
30046 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
30047 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
30048 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
30049 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
30050 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
30051 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
30052 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
30053 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
30054 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
30055 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
30056 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
30057 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
30058 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
30059 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
30060 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
30061 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
30062 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
30063 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
30064 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
30065 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
30066 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
30067 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
30068 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
30069 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
30070 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
30071 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
30072 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
30073 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
30074 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
30075 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
30076 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
30077 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
30078 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
30079 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
30080 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
30081 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
30082 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
30083 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
30084 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
30085 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
30086 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
30087 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
30088 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
30089 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
30090 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
30091 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
30092 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
30093 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
30094 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
30095 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
30096 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
30097 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
30098 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
30099 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
30100 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
30101 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
30102 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
30103 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
30104 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
30105 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
30106 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
30107 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
30108 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
30109 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
30110 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
30111 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
30112 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
30113 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
30114 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
30115 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
30116 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
30117 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
30118 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
30119 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
30120 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
30121 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
30122 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
30123 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
30124 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
30125 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
30126 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
30127 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
30128 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
30129 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
30130 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
30131 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
30132 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
30133 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
30134 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
30135 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
30136 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
30137 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
30138 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
30139 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
30140 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
30141 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
30142 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
30143 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
30144 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
30145 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
30146 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
30147 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
30148 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
30149 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
30150 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
30151 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
30152 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
30153 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
30154 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
30155 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
30156 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
30157 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
30158 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
30159 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
30160 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
30161 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
30162 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
30163 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
30164 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
30165 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
30166 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
30167 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
30168 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
30169 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
30170 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
30171 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
30172 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
30173 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
30174 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
30175 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
30176 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
30177 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
30178 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
30179 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
30180 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
30181 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
30182 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
30183 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
30184 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
30185 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
30186 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
30187 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
30188 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
30189 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
30190 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
30191 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
30192 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
30193 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
30194 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
30195 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
30196 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
30197 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
30198 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
30199 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
30200 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
30201 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
30202 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
30203 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
30204 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
30205 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
30206 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
30207 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
30208 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
30209 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
30210 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
30211 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
30212 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
30213 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
30214 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
30215 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
30216 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
30217 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
30218 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
30219 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
30220 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
30221 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
30222 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
30223 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
30224 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
30225 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
30226 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
30227 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
30228 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
30229
30230 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30231 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30232 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30233 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30234
d55e5bfc
RD
30235 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
30236}
30237