]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _misc_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
82#else
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
85#endif
86
87#ifdef SWIG_GLOBAL
88# define SWIGRUNTIME(a) SWIGEXPORT(a)
89#else
90# define SWIGRUNTIME(a) static a
91#endif
92
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202#ifdef __cplusplus
203}
204#endif
205
206
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLogChain swig_types[0]
210#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211#define SWIGTYPE_p_wxMetafile swig_types[2]
212#define SWIGTYPE_p_wxFileHistory swig_types[3]
213#define SWIGTYPE_p_wxLog swig_types[4]
214#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215#define SWIGTYPE_p_wxMenu swig_types[6]
216#define SWIGTYPE_p_wxEvent swig_types[7]
217#define SWIGTYPE_p_wxConfigBase swig_types[8]
218#define SWIGTYPE_p_wxDisplay swig_types[9]
219#define SWIGTYPE_p_wxFileType swig_types[10]
220#define SWIGTYPE_p_wxLogGui swig_types[11]
221#define SWIGTYPE_p_wxFont swig_types[12]
222#define SWIGTYPE_p_wxDataFormat swig_types[13]
223#define SWIGTYPE_p_wxTimerEvent swig_types[14]
224#define SWIGTYPE_p_wxCaret swig_types[15]
225#define SWIGTYPE_p_int swig_types[16]
226#define SWIGTYPE_p_wxSize swig_types[17]
227#define SWIGTYPE_p_wxClipboard swig_types[18]
228#define SWIGTYPE_p_wxStopWatch swig_types[19]
229#define SWIGTYPE_p_wxDC swig_types[20]
230#define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231#define SWIGTYPE_p_wxIcon swig_types[22]
232#define SWIGTYPE_p_wxLogStderr swig_types[23]
233#define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234#define SWIGTYPE_p_wxTextCtrl swig_types[25]
235#define SWIGTYPE_p_wxBusyCursor swig_types[26]
0346c964
RD
236#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
237#define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
238#define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
239#define SWIGTYPE_p_wxTextDataObject swig_types[30]
240#define SWIGTYPE_p_wxDataObject swig_types[31]
d55e5bfc
RD
241#define SWIGTYPE_p_wxFileDataObject swig_types[32]
242#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243#define SWIGTYPE_p_wxURLDataObject swig_types[34]
244#define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245#define SWIGTYPE_p_wxSound swig_types[36]
246#define SWIGTYPE_p_wxTimerRunner swig_types[37]
247#define SWIGTYPE_p_wxLogWindow swig_types[38]
248#define SWIGTYPE_p_wxTimeSpan swig_types[39]
249#define SWIGTYPE_p_wxArrayString swig_types[40]
250#define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251#define SWIGTYPE_p_wxToolTip swig_types[42]
252#define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253#define SWIGTYPE_p_wxFileConfig swig_types[44]
254#define SWIGTYPE_p_wxSystemSettings swig_types[45]
255#define SWIGTYPE_p_wxVideoMode swig_types[46]
256#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257#define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258#define SWIGTYPE_p_wxEvtHandler swig_types[49]
259#define SWIGTYPE_p_wxRect swig_types[50]
260#define SWIGTYPE_p_char swig_types[51]
261#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262#define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263#define SWIGTYPE_p_wxFrame swig_types[54]
264#define SWIGTYPE_p_wxTimer swig_types[55]
265#define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266#define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267#define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268#define SWIGTYPE_p_wxTipProvider swig_types[59]
269#define SWIGTYPE_p_wxJoystick swig_types[60]
270#define SWIGTYPE_p_wxSystemOptions swig_types[61]
271#define SWIGTYPE_p_wxPoint swig_types[62]
272#define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273#define SWIGTYPE_p_wxCursor swig_types[64]
274#define SWIGTYPE_p_wxObject swig_types[65]
275#define SWIGTYPE_p_wxOutputStream swig_types[66]
276#define SWIGTYPE_p_wxDateTime swig_types[67]
277#define SWIGTYPE_p_wxPyDropSource swig_types[68]
278#define SWIGTYPE_p_wxWindow swig_types[69]
279#define SWIGTYPE_p_wxString swig_types[70]
280#define SWIGTYPE_p_wxPyProcess swig_types[71]
281#define SWIGTYPE_p_wxBitmap swig_types[72]
282#define SWIGTYPE_p_wxConfig swig_types[73]
283#define SWIGTYPE_p_wxChar swig_types[74]
284#define SWIGTYPE_p_wxBusyInfo swig_types[75]
285#define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286#define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287#define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288#define SWIGTYPE_p_wxProcessEvent swig_types[79]
289#define SWIGTYPE_p_wxPyLog swig_types[80]
290#define SWIGTYPE_p_wxLogNull swig_types[81]
291#define SWIGTYPE_p_wxColour swig_types[82]
0346c964
RD
292#define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293#define SWIGTYPE_p_wxPyTimer swig_types[84]
294#define SWIGTYPE_p_wxDateSpan swig_types[85]
295static swig_type_info *swig_types[87];
d55e5bfc
RD
296
297/* -------- TYPES TABLE (END) -------- */
298
299
300/*-----------------------------------------------
301 @(target):= _misc_.so
302 ------------------------------------------------*/
303#define SWIG_init init_misc_
304
305#define SWIG_name "_misc_"
306
307/* Auxiliar swig macros */
308
309#ifdef __cplusplus
310#define SWIGSTATICINLINE(a) static inline a
311#define SWIGSTATIC(a) static a
312#define swig_new_array(type, size) (new type[(size)])
313#define swig_delete_array(cptr) delete[] cptr
314#define swig_const_cast(type,a) const_cast<type>(a)
315#define swig_static_cast(type,a) static_cast<type>(a)
316#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317
318#ifdef HAVE_NUMERIC_CAST
319#define swig_numeric_cast(type,a) numeric_cast<type>(a)
320#else
321#define swig_numeric_cast(type,a) static_cast<type>(a)
322#endif
323
324#else /* C case */
325
326#define SWIGSTATICINLINE(a) static a
327#define SWIGSTATIC(a) static a
328#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329#define swig_delete_array(cptr) free((char*)cptr)
330#define swig_const_cast(type,a) (type)(a)
331#define swig_static_cast(type,a) (type)(a)
332#define swig_reinterpret_cast(type,a) (type)(a)
333#define swig_numeric_cast(type,a) (type)(a)
334
335#endif /* __cplusplus */
336
337
338#define SWIG_FromSignedChar PyInt_FromLong
339#define SWIG_FromUnsignedChar PyInt_FromLong
340#define SWIG_FromShort PyInt_FromLong
341#define SWIG_FromUnsignedShort PyInt_FromLong
342#define SWIG_FromInt PyInt_FromLong
343#define SWIG_FromLong PyInt_FromLong
344#define SWIG_FromFloat PyFloat_FromDouble
345#define SWIG_FromDouble PyFloat_FromDouble
346#define SWIG_FromFloat PyFloat_FromDouble
347#define SWIG_FromDouble PyFloat_FromDouble
348
349
350#include "wx/wxPython/wxPython.h"
351#include "wx/wxPython/pyclasses.h"
0439c23b 352#include "wx/wxPython/pyistream.h"
d55e5bfc
RD
353
354 static const wxString wxPyEmptyString(wxEmptyString);
355
356
357
358#include <limits.h>
359
360
361SWIGSTATICINLINE(long)
362SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364{
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
382}
383
384
385SWIGSTATICINLINE(long)
386SWIG_AsLong(PyObject * obj)
387{
388 if (PyNumber_Check(obj))
389 return PyInt_AsLong(obj);
390 else {
391 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
392 obj->ob_type->tp_name);
393 PyErr_SetObject(PyExc_TypeError, errmsg);
394 Py_DECREF(errmsg);
395 return 0;
396 }
397}
398
399
400#if INT_MAX != LONG_MAX
401SWIGSTATICINLINE(int)
402SWIG_AsInt(PyObject *obj)
403{
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj),
406 "int", INT_MIN, INT_MAX));
407}
408#else
409#define SWIG_AsInt SWIG_AsLong
410#endif
411
412
413SWIGSTATICINLINE(int)
414SWIG_CheckInt(PyObject* obj)
415{
416 SWIG_AsInt(obj);
417 if (PyErr_Occurred()) {
418 PyErr_Clear();
419 return 0;
420 } else {
421 return 1;
422 }
423}
424
425 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
426 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
427 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
428
429SWIGSTATICINLINE(int)
430SWIG_CheckLong(PyObject* obj)
431{
432 SWIG_AsLong(obj);
433 if (PyErr_Occurred()) {
434 PyErr_Clear();
435 return 0;
436 } else {
437 return 1;
438 }
439}
440
441
442SWIGSTATICINLINE(bool)
443SWIG_AsBool(PyObject *obj)
444{
445 return PyObject_IsTrue(obj) ? true : false;
446}
447
448
449SWIGSTATICINLINE(int)
450SWIG_CheckBool(PyObject* obj)
451{
452 SWIG_AsBool(obj);
453 if (PyErr_Occurred()) {
454 PyErr_Clear();
455 return 0;
456 } else {
457 return 1;
458 }
459}
460
461
462static PyObject* t_output_helper(PyObject* target, PyObject* o) {
463 PyObject* o2;
464 PyObject* o3;
465
466 if (!target) {
467 target = o;
468 } else if (target == Py_None) {
469 Py_DECREF(Py_None);
470 target = o;
471 } else {
472 if (!PyTuple_Check(target)) {
473 o2 = target;
474 target = PyTuple_New(1);
475 PyTuple_SetItem(target, 0, o2);
476 }
477 o3 = PyTuple_New(1);
478 PyTuple_SetItem(o3, 0, o);
479
480 o2 = target;
481 target = PySequence_Concat(o2, o3);
482 Py_DECREF(o2);
483 Py_DECREF(o3);
484 }
485 return target;
486}
487
488
489SWIGSTATICINLINE(unsigned long)
490SWIG_AsUnsignedLong(PyObject * obj)
491{
492 if (PyLong_Check(obj)) {
493 return PyLong_AsUnsignedLong(obj);
494 } else {
495 long i = SWIG_AsLong(obj);
496 if ( !PyErr_Occurred() && (i < 0)) {
497 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
498 }
499 return i;
500 }
501}
502
503
504SWIGSTATICINLINE(int)
505SWIG_CheckUnsignedLong(PyObject* obj)
506{
507 SWIG_AsUnsignedLong(obj);
508 if (PyErr_Occurred()) {
509 PyErr_Clear();
510 return 0;
511 } else {
512 return 1;
513 }
514}
515
516
517SWIGSTATICINLINE(PyObject* )
518SWIG_FromUnsignedLong(unsigned long value)
519{
520 return (value > LONG_MAX) ?
521 PyLong_FromUnsignedLong(value)
522 : PyInt_FromLong(swig_numeric_cast(long,value));
523}
524
525
526 bool wxThread_IsMain() {
527#ifdef WXP_WITH_THREAD
528 return wxThread::IsMain();
529#else
530 return True;
531#endif
532 }
533
534
535 int wxCaret_GetBlinkTime() {
536 return wxCaret::GetBlinkTime();
537 }
538
539 void wxCaret_SetBlinkTime(int milliseconds) {
540 wxCaret::SetBlinkTime(milliseconds);
541 }
542
543
544#include <wx/snglinst.h>
545
546
547#ifdef __WXMSW__
548#include <wx/msw/private.h>
549#include <wx/dynload.h>
550#endif
551
552
553
554void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
555{
556#ifdef __WXMSW__
557
558 switch (method)
559 {
560 case 1:
561 // This one only partially works. Appears to be an undocumented
562 // "standard" convention that not all widgets adhear to. For
563 // example, for some widgets backgrounds or non-client areas may
564 // not be painted.
565 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
566 break;
567
568 case 2:
569 // This one works much better, except for on XP. On Win2k nearly
570 // all widgets and their children are captured correctly[**]. On
571 // XP with Themes activated most native widgets draw only
572 // partially, if at all. Without themes it works just like on
573 // Win2k.
574 //
575 // ** For example the radio buttons in a wxRadioBox are not its
576 // children by default, but you can capture it via the panel
577 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
578 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
579 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
580 PRF_ERASEBKGND | PRF_OWNED );
581 break;
582
583 case 3:
584 // This one is only defined in the latest SDK and is only
585 // available on XP. MSDN says it is similar to sending WM_PRINT
586 // so I expect that it will work similar to the above. Since it
587 // is avaialble only on XP, it can't be compiled like this and
588 // will have to be loaded dynamically.
589 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
590
591 // fall through
592
593 case 4:
594 // Use PrintWindow if available, or fallback to WM_PRINT
595 // otherwise. Unfortunately using PrintWindow is even worse than
596 // WM_PRINT. For most native widgets nothing is drawn to the dc
597 // at all, with or without Themes.
598 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
599 static bool s_triedToLoad = False;
600 static PrintWindow_t pfnPrintWindow = NULL;
601 if ( !s_triedToLoad )
602 {
603
604 s_triedToLoad = True;
605 wxDynamicLibrary dllUser32(_T("user32.dll"));
606 if ( dllUser32.IsLoaded() )
607 {
608 wxLogNull nolog; // Don't report errors here
609 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
610 }
611 }
612 if (pfnPrintWindow)
613 {
614 printf("Using PrintWindow\n");
615 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
616 }
617 else
618 {
619 printf("Using WM_PRINT\n");
620 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
621 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
622 }
623 }
624#endif
625}
626
627
628
629#include <wx/tipdlg.h>
630
631
632class wxPyTipProvider : public wxTipProvider {
633public:
634 wxPyTipProvider(size_t currentTip)
635 : wxTipProvider(currentTip) {}
636
637 DEC_PYCALLBACK_STRING__pure(GetTip);
638 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
639 PYPRIVATE;
640};
641
642IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
643IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
644
645
646//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
647
1a6bba1e
RD
648IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
649
d55e5bfc
RD
650void wxPyTimer::Notify() {
651 bool found;
652 bool blocked = wxPyBeginBlockThreads();
653 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
654 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked);
656 if (! found)
657 wxTimer::Notify();
658}
659void wxPyTimer::base_Notify() {
660 wxTimer::Notify();
661}
662
663
664
665SWIGSTATICINLINE(PyObject *)
666SWIG_FromCharPtr(const char* cptr)
667{
668 size_t size = cptr ? strlen(cptr) : 0;
669 if (cptr) {
670 if (size > INT_MAX) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
672 SWIG_TypeQuery("char *"), 0);
673 } else {
674 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
675 }
676 } else {
677 Py_INCREF(Py_None);
678 return Py_None;
679 }
680}
681
682
683SWIGSTATICINLINE(unsigned long)
684SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
685 unsigned long max_value)
686{
687 if (!PyErr_Occurred()) {
688 if (value > max_value) {
689 PyObject *err =
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value, type, max_value);
692 PyErr_SetObject(PyExc_OverflowError, err);
693 Py_DECREF(err);
694 }
695 }
696 return value;
697}
698
699
700#if UINT_MAX != ULONG_MAX
701SWIGSTATICINLINE(unsigned int)
702SWIG_AsUnsignedInt(PyObject *obj)
703{
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
706 "unsigned int", UINT_MAX));
707}
708#else
709#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
710#endif
711
712
713SWIGSTATICINLINE(int)
714SWIG_CheckUnsignedInt(PyObject* obj)
715{
716 SWIG_AsUnsignedInt(obj);
717 if (PyErr_Occurred()) {
718 PyErr_Clear();
719 return 0;
720 } else {
721 return 1;
722 }
723}
724
725wxString Log_TimeStamp(){
726 wxString msg;
727 wxLog::TimeStamp(&msg);
728 return msg;
729 }
730void wxLog_Destroy(wxLog *self){ delete self; }
731
732// A wxLog class that can be derived from in wxPython
733class wxPyLog : public wxLog {
734public:
735 wxPyLog() : wxLog() {}
736
737 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
738 bool found;
739 bool blocked = wxPyBeginBlockThreads();
740 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
741 PyObject* s = wx2PyString(szString);
742 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
743 Py_DECREF(s);
744 }
745 wxPyEndBlockThreads(blocked);
746 if (! found)
747 wxLog::DoLog(level, szString, t);
748 }
749
750 virtual void DoLogString(const wxChar *szString, time_t t) {
751 bool found;
752 bool blocked = wxPyBeginBlockThreads();
753 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
754 PyObject* s = wx2PyString(szString);
755 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
756 Py_DECREF(s);
757 }
758 wxPyEndBlockThreads(blocked);
759 if (! found)
760 wxLog::DoLogString(szString, t);
761 }
762
763 PYPRIVATE;
764};
765
766
767
768
769IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
770
771
772#include <wx/joystick.h>
773
774
775#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776// A C++ stub class for wxJoystick for platforms that don't have it.
777class wxJoystick : public wxObject {
778public:
779 wxJoystick(int joystick = wxJOYSTICK1) {
780 bool blocked = wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked);
784 }
785 wxPoint GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold) {}
795
796 bool IsOk(void) { return False; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
15817c7e 800 wxString GetProductName() { return wxEmptyString; }
d55e5bfc
RD
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
819
820 bool HasRudder() { return False; }
821 bool HasZ() { return False; }
822 bool HasU() { return False; }
823 bool HasV() { return False; }
824 bool HasPOV() { return False; }
825 bool HasPOV4Dir() { return False; }
826 bool HasPOVCTS() { return False; }
827
828 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
829 bool ReleaseCapture() { return False; }
830};
831#endif
832
833
834#include <wx/sound.h>
835
836
837#if !wxUSE_SOUND
838// A C++ stub class for wxWave for platforms that don't have it.
839class wxSound : public wxObject
840{
841public:
842 wxSound() {
843 bool blocked = wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked);
847 }
0346c964 848 wxSound(const wxString&/*, bool*/) {
d55e5bfc
RD
849 bool blocked = wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked);
853 }
854 wxSound(int, const wxByte*) {
855 bool blocked = wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked);
859 }
860
861 ~wxSound() {};
862
0346c964 863 bool Create(const wxString&/*, bool*/) { return false; }
d55e5bfc
RD
864 bool Create(int, const wxByte*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString&, unsigned) { return false; }
868 static void Stop() {}
869};
870
871#endif
872
0346c964
RD
873wxSound *new_wxSound(wxString const &fileName){
874 if (fileName.Length() == 0)
875 return new wxSound;
876 else
877 return new wxSound(fileName);
878 }
879wxSound *new_wxSound(PyObject *data){
880 unsigned char* buffer; int size;
881 wxSound *sound = NULL;
882
d55e5bfc 883 bool blocked = wxPyBeginBlockThreads();
0346c964
RD
884 if (!PyArg_Parse(data, "t#", &buffer, &size))
885 goto done;
886 sound = new wxSound(size, buffer);
887 done:
d55e5bfc 888 wxPyEndBlockThreads(blocked);
0346c964
RD
889 return sound;
890 }
891bool wxSound_CreateFromData(wxSound *self,PyObject *data){
892 #ifndef __WXMAC__
893 unsigned char* buffer;
894 int size;
895 bool rv = False;
896
897 bool blocked = wxPyBeginBlockThreads();
898 if (!PyArg_Parse(data, "t#", &buffer, &size))
899 goto done;
900 rv = self->Create(size, buffer);
901 done:
902 wxPyEndBlockThreads(blocked);
903 return rv;
904 #else
905 bool blocked = wxPyBeginBlockThreads();
906 PyErr_SetString(PyExc_NotImplementedError,
907 "Create from data is not available on this platform.");
908 wxPyEndBlockThreads(blocked);
909 return False;
910 #endif
d55e5bfc
RD
911 }
912void Sound_Stop(){ wxPyRaiseNotImplemented(); }
913
914#include <wx/mimetype.h>
915
916PyObject *wxFileType_GetMimeType(wxFileType *self){
917 wxString str;
918 if (self->GetMimeType(&str))
919 return wx2PyString(str);
920 else
921 RETURN_NONE();
922 }
923PyObject *wxFileType_GetMimeTypes(wxFileType *self){
924 wxArrayString arr;
925 if (self->GetMimeTypes(arr))
926 return wxArrayString2PyList_helper(arr);
927 else
928 RETURN_NONE();
929 }
930PyObject *wxFileType_GetExtensions(wxFileType *self){
931 wxArrayString arr;
932 if (self->GetExtensions(arr))
933 return wxArrayString2PyList_helper(arr);
934 else
935 RETURN_NONE();
936 }
937wxIcon *wxFileType_GetIcon(wxFileType *self){
938 wxIconLocation loc;
939 if (self->GetIcon(&loc))
940 return new wxIcon(loc);
941 else
942 return NULL;
943 }
944PyObject *wxFileType_GetIconInfo(wxFileType *self){
945 wxIconLocation loc;
946 if (self->GetIcon(&loc)) {
947 wxString iconFile = loc.GetFileName();
948 int iconIndex = -1;
949
950
951
952 // Make a tuple and put the values in it
953 bool blocked = wxPyBeginBlockThreads();
954 PyObject* tuple = PyTuple_New(3);
955 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
956 wxT("wxIcon"), True));
957 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
958 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
959 wxPyEndBlockThreads(blocked);
960 return tuple;
961 }
962 else
963 RETURN_NONE();
964 }
965PyObject *wxFileType_GetDescription(wxFileType *self){
966 wxString str;
967 if (self->GetDescription(&str))
968 return wx2PyString(str);
969 else
970 RETURN_NONE();
971 }
972PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
973 wxString str;
974 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
975 return wx2PyString(str);
976 else
977 RETURN_NONE();
978 }
979PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
980 wxString str;
981 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
982 return wx2PyString(str);
983 else
984 RETURN_NONE();
985 }
986PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
987 wxArrayString verbs;
988 wxArrayString commands;
989 if (self->GetAllCommands(&verbs, &commands,
990 wxFileType::MessageParameters(filename, mimetype))) {
991 bool blocked = wxPyBeginBlockThreads();
992 PyObject* tuple = PyTuple_New(2);
993 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
994 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
995 wxPyEndBlockThreads(blocked);
996 return tuple;
997 }
998 else
999 RETURN_NONE();
1000 }
1001wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
1002 return wxFileType::ExpandCommand(command,
1003 wxFileType::MessageParameters(filename, mimetype));
1004 }
1005PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
1006 wxArrayString arr;
1007 self->EnumAllFileTypes(arr);
1008 return wxArrayString2PyList_helper(arr);
1009 }
1010
1011#include <wx/artprov.h>
1012
1013 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
1014 static const wxString wxPyART_MENU(wxART_MENU);
1015 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
1016 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
1017 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
1018 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
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
68e533f8
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}
68e533f8 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){
68e533f8
RD
1455 bool rval;
1456 bool blocked = wxPyBeginBlockThreads();
d55e5bfc 1457 if (PyString_Check(data)) {
68e533f8 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.");
68e533f8 1463 rval = False;
d55e5bfc 1464 }
68e533f8
RD
1465 wxPyEndBlockThreads(blocked);
1466 return rval;
d55e5bfc
RD
1467 }
1468PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
68e533f8
RD
1469 PyObject* obj;
1470 bool blocked = wxPyBeginBlockThreads();
1471 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
a07a67e6
RD
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
1601int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1602PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1603 PyObject* pyList = NULL;
1604 wxArrayVideoModes arr = self->GetModes(mode);
1605 bool blocked = wxPyBeginBlockThreads();
1606 pyList = PyList_New(0);
1607 for (int i=0; i < arr.GetCount(); i++) {
1608 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1609 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1610 PyList_Append(pyList, pyObj);
68e533f8 1611 Py_DECREF(pyObj);
d55e5bfc
RD
1612 }
1613 wxPyEndBlockThreads(blocked);
1614 return pyList;
1615 }
1616#ifdef __cplusplus
1617extern "C" {
1618#endif
1619static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject *resultobj;
1621 int arg1 ;
1622 wxColour result;
1623 PyObject * obj0 = 0 ;
1624 char *kwnames[] = {
1625 (char *) "index", NULL
1626 };
1627
1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1629 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1630 if (PyErr_Occurred()) SWIG_fail;
1631 {
0439c23b 1632 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1633 PyThreadState* __tstate = wxPyBeginAllowThreads();
1634 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1635
1636 wxPyEndAllowThreads(__tstate);
110da5b0 1637 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1638 }
1639 {
1640 wxColour * resultptr;
1641 resultptr = new wxColour((wxColour &) result);
1642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1643 }
1644 return resultobj;
1645 fail:
1646 return NULL;
1647}
1648
1649
1650static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject *resultobj;
1652 int arg1 ;
1653 wxFont result;
1654 PyObject * obj0 = 0 ;
1655 char *kwnames[] = {
1656 (char *) "index", NULL
1657 };
1658
1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1660 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1661 if (PyErr_Occurred()) SWIG_fail;
1662 {
0439c23b 1663 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1664 PyThreadState* __tstate = wxPyBeginAllowThreads();
1665 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1666
1667 wxPyEndAllowThreads(__tstate);
110da5b0 1668 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1669 }
1670 {
1671 wxFont * resultptr;
1672 resultptr = new wxFont((wxFont &) result);
1673 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1674 }
1675 return resultobj;
1676 fail:
1677 return NULL;
1678}
1679
1680
1681static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1682 PyObject *resultobj;
1683 int arg1 ;
1684 int result;
1685 PyObject * obj0 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "index", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1691 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1692 if (PyErr_Occurred()) SWIG_fail;
1693 {
0439c23b 1694 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
1696 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1697
1698 wxPyEndAllowThreads(__tstate);
110da5b0 1699 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1700 }
1701 resultobj = SWIG_FromInt((int)result);
1702 return resultobj;
1703 fail:
1704 return NULL;
1705}
1706
1707
1708static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1709 PyObject *resultobj;
1710 int arg1 ;
1711 bool result;
1712 PyObject * obj0 = 0 ;
1713 char *kwnames[] = {
1714 (char *) "index", NULL
1715 };
1716
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1718 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1719 if (PyErr_Occurred()) SWIG_fail;
1720 {
0439c23b 1721 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1722 PyThreadState* __tstate = wxPyBeginAllowThreads();
1723 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1724
1725 wxPyEndAllowThreads(__tstate);
110da5b0 1726 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1727 }
1728 {
1729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1730 }
1731 return resultobj;
1732 fail:
1733 return NULL;
1734}
1735
1736
1737static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject *resultobj;
1739 int result;
1740 char *kwnames[] = {
1741 NULL
1742 };
1743
1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1745 {
0439c23b 1746 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 result = (int)wxSystemSettings::GetScreenType();
1749
1750 wxPyEndAllowThreads(__tstate);
110da5b0 1751 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1752 }
1753 resultobj = SWIG_FromInt((int)result);
1754 return resultobj;
1755 fail:
1756 return NULL;
1757}
1758
1759
1760static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject *resultobj;
1762 int arg1 ;
1763 PyObject * obj0 = 0 ;
1764 char *kwnames[] = {
1765 (char *) "screen", NULL
1766 };
1767
1768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1769 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1770 if (PyErr_Occurred()) SWIG_fail;
1771 {
0439c23b 1772 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1773 PyThreadState* __tstate = wxPyBeginAllowThreads();
1774 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1775
1776 wxPyEndAllowThreads(__tstate);
110da5b0 1777 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1778 }
1779 Py_INCREF(Py_None); resultobj = Py_None;
1780 return resultobj;
1781 fail:
1782 return NULL;
1783}
1784
1785
1786static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1787 PyObject *obj;
1788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1789 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1790 Py_INCREF(obj);
1791 return Py_BuildValue((char *)"");
1792}
1793static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1794 PyObject *resultobj;
1795 wxSystemOptions *result;
1796 char *kwnames[] = {
1797 NULL
1798 };
1799
1800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1801 {
1802 PyThreadState* __tstate = wxPyBeginAllowThreads();
1803 result = (wxSystemOptions *)new wxSystemOptions();
1804
1805 wxPyEndAllowThreads(__tstate);
1806 if (PyErr_Occurred()) SWIG_fail;
1807 }
1808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1809 return resultobj;
1810 fail:
1811 return NULL;
1812}
1813
1814
1815static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1816 PyObject *resultobj;
1817 wxString *arg1 = 0 ;
1818 wxString *arg2 = 0 ;
1819 bool temp1 = False ;
1820 bool temp2 = False ;
1821 PyObject * obj0 = 0 ;
1822 PyObject * obj1 = 0 ;
1823 char *kwnames[] = {
1824 (char *) "name",(char *) "value", NULL
1825 };
1826
1827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1828 {
1829 arg1 = wxString_in_helper(obj0);
1830 if (arg1 == NULL) SWIG_fail;
1831 temp1 = True;
1832 }
1833 {
1834 arg2 = wxString_in_helper(obj1);
1835 if (arg2 == NULL) SWIG_fail;
1836 temp2 = True;
1837 }
1838 {
1839 PyThreadState* __tstate = wxPyBeginAllowThreads();
1840 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1841
1842 wxPyEndAllowThreads(__tstate);
1843 if (PyErr_Occurred()) SWIG_fail;
1844 }
1845 Py_INCREF(Py_None); resultobj = Py_None;
1846 {
1847 if (temp1)
1848 delete arg1;
1849 }
1850 {
1851 if (temp2)
1852 delete arg2;
1853 }
1854 return resultobj;
1855 fail:
1856 {
1857 if (temp1)
1858 delete arg1;
1859 }
1860 {
1861 if (temp2)
1862 delete arg2;
1863 }
1864 return NULL;
1865}
1866
1867
1868static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject *resultobj;
1870 wxString *arg1 = 0 ;
1871 int arg2 ;
1872 bool temp1 = False ;
1873 PyObject * obj0 = 0 ;
1874 PyObject * obj1 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "name",(char *) "value", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1880 {
1881 arg1 = wxString_in_helper(obj0);
1882 if (arg1 == NULL) SWIG_fail;
1883 temp1 = True;
1884 }
1885 arg2 = (int) SWIG_AsInt(obj1);
1886 if (PyErr_Occurred()) SWIG_fail;
1887 {
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1890
1891 wxPyEndAllowThreads(__tstate);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 }
1894 Py_INCREF(Py_None); resultobj = Py_None;
1895 {
1896 if (temp1)
1897 delete arg1;
1898 }
1899 return resultobj;
1900 fail:
1901 {
1902 if (temp1)
1903 delete arg1;
1904 }
1905 return NULL;
1906}
1907
1908
1909static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1910 PyObject *resultobj;
1911 wxString *arg1 = 0 ;
1912 wxString result;
1913 bool temp1 = False ;
1914 PyObject * obj0 = 0 ;
1915 char *kwnames[] = {
1916 (char *) "name", NULL
1917 };
1918
1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1920 {
1921 arg1 = wxString_in_helper(obj0);
1922 if (arg1 == NULL) SWIG_fail;
1923 temp1 = True;
1924 }
1925 {
1926 PyThreadState* __tstate = wxPyBeginAllowThreads();
1927 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1928
1929 wxPyEndAllowThreads(__tstate);
1930 if (PyErr_Occurred()) SWIG_fail;
1931 }
1932 {
1933#if wxUSE_UNICODE
1934 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1935#else
1936 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1937#endif
1938 }
1939 {
1940 if (temp1)
1941 delete arg1;
1942 }
1943 return resultobj;
1944 fail:
1945 {
1946 if (temp1)
1947 delete arg1;
1948 }
1949 return NULL;
1950}
1951
1952
1953static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1954 PyObject *resultobj;
1955 wxString *arg1 = 0 ;
1956 int result;
1957 bool temp1 = False ;
1958 PyObject * obj0 = 0 ;
1959 char *kwnames[] = {
1960 (char *) "name", NULL
1961 };
1962
1963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1964 {
1965 arg1 = wxString_in_helper(obj0);
1966 if (arg1 == NULL) SWIG_fail;
1967 temp1 = True;
1968 }
1969 {
1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
1971 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1972
1973 wxPyEndAllowThreads(__tstate);
1974 if (PyErr_Occurred()) SWIG_fail;
1975 }
1976 resultobj = SWIG_FromInt((int)result);
1977 {
1978 if (temp1)
1979 delete arg1;
1980 }
1981 return resultobj;
1982 fail:
1983 {
1984 if (temp1)
1985 delete arg1;
1986 }
1987 return NULL;
1988}
1989
1990
1991static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1992 PyObject *resultobj;
1993 wxString *arg1 = 0 ;
1994 bool result;
1995 bool temp1 = False ;
1996 PyObject * obj0 = 0 ;
1997 char *kwnames[] = {
1998 (char *) "name", NULL
1999 };
2000
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
2002 {
2003 arg1 = wxString_in_helper(obj0);
2004 if (arg1 == NULL) SWIG_fail;
2005 temp1 = True;
2006 }
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 {
2015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2016 }
2017 {
2018 if (temp1)
2019 delete arg1;
2020 }
2021 return resultobj;
2022 fail:
2023 {
2024 if (temp1)
2025 delete arg1;
2026 }
2027 return NULL;
2028}
2029
2030
2031static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
2032 PyObject *obj;
2033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2034 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
2035 Py_INCREF(obj);
2036 return Py_BuildValue((char *)"");
2037}
2038static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
2039 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
2040 return 1;
2041}
2042
2043
2044static PyObject *_wrap_FileSelectorPromptStr_get() {
2045 PyObject *pyobj;
2046
2047 {
2048#if wxUSE_UNICODE
2049 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2050#else
2051 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2052#endif
2053 }
2054 return pyobj;
2055}
2056
2057
2058static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
2059 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
2060 return 1;
2061}
2062
2063
2064static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
2065 PyObject *pyobj;
2066
2067 {
2068#if wxUSE_UNICODE
2069 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2070#else
2071 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2072#endif
2073 }
2074 return pyobj;
2075}
2076
2077
2078static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
2079 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
2080 return 1;
2081}
2082
2083
2084static PyObject *_wrap_DirSelectorPromptStr_get() {
2085 PyObject *pyobj;
2086
2087 {
2088#if wxUSE_UNICODE
2089 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2090#else
2091 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2092#endif
2093 }
2094 return pyobj;
2095}
2096
2097
2098static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
2099 PyObject *resultobj;
2100 long result;
2101 char *kwnames[] = {
2102 NULL
2103 };
2104
2105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
2106 {
2107 PyThreadState* __tstate = wxPyBeginAllowThreads();
2108 result = (long)wxNewId();
2109
2110 wxPyEndAllowThreads(__tstate);
2111 if (PyErr_Occurred()) SWIG_fail;
2112 }
2113 resultobj = SWIG_FromLong((long)result);
2114 return resultobj;
2115 fail:
2116 return NULL;
2117}
2118
2119
2120static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
2121 PyObject *resultobj;
2122 long arg1 ;
2123 PyObject * obj0 = 0 ;
2124 char *kwnames[] = {
2125 (char *) "id", NULL
2126 };
2127
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
2129 arg1 = (long) SWIG_AsLong(obj0);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 {
2132 PyThreadState* __tstate = wxPyBeginAllowThreads();
2133 wxRegisterId(arg1);
2134
2135 wxPyEndAllowThreads(__tstate);
2136 if (PyErr_Occurred()) SWIG_fail;
2137 }
2138 Py_INCREF(Py_None); resultobj = Py_None;
2139 return resultobj;
2140 fail:
2141 return NULL;
2142}
2143
2144
2145static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
2146 PyObject *resultobj;
2147 long result;
2148 char *kwnames[] = {
2149 NULL
2150 };
2151
2152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
2153 {
2154 PyThreadState* __tstate = wxPyBeginAllowThreads();
2155 result = (long)wxGetCurrentId();
2156
2157 wxPyEndAllowThreads(__tstate);
2158 if (PyErr_Occurred()) SWIG_fail;
2159 }
2160 resultobj = SWIG_FromLong((long)result);
2161 return resultobj;
2162 fail:
2163 return NULL;
2164}
2165
2166
2167static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
2168 PyObject *resultobj;
2169 char *kwnames[] = {
2170 NULL
2171 };
2172
2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
2174 {
0439c23b 2175 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2176 PyThreadState* __tstate = wxPyBeginAllowThreads();
2177 wxBell();
2178
2179 wxPyEndAllowThreads(__tstate);
110da5b0 2180 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2181 }
2182 Py_INCREF(Py_None); resultobj = Py_None;
2183 return resultobj;
2184 fail:
2185 return NULL;
2186}
2187
2188
2189static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject *resultobj;
2191 char *kwnames[] = {
2192 NULL
2193 };
2194
2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2196 {
0439c23b 2197 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 wxEndBusyCursor();
2200
2201 wxPyEndAllowThreads(__tstate);
110da5b0 2202 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2203 }
2204 Py_INCREF(Py_None); resultobj = Py_None;
2205 return resultobj;
2206 fail:
2207 return NULL;
2208}
2209
2210
2211static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2212 PyObject *resultobj;
2213 bool arg1 = (bool) True ;
2214 long result;
2215 PyObject * obj0 = 0 ;
2216 char *kwnames[] = {
2217 (char *) "resetTimer", NULL
2218 };
2219
2220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2221 if (obj0) {
2222 arg1 = (bool) SWIG_AsBool(obj0);
2223 if (PyErr_Occurred()) SWIG_fail;
2224 }
2225 {
2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
2227 result = (long)wxGetElapsedTime(arg1);
2228
2229 wxPyEndAllowThreads(__tstate);
2230 if (PyErr_Occurred()) SWIG_fail;
2231 }
2232 resultobj = SWIG_FromLong((long)result);
2233 return resultobj;
2234 fail:
2235 return NULL;
2236}
2237
2238
2239static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject *resultobj;
2241 int *arg1 = (int *) 0 ;
2242 int *arg2 = (int *) 0 ;
2243 int temp1 ;
2244 int temp2 ;
2245 char *kwnames[] = {
2246 NULL
2247 };
2248
2249 arg1 = &temp1;
2250 arg2 = &temp2;
2251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2252 {
0439c23b 2253 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2254 PyThreadState* __tstate = wxPyBeginAllowThreads();
2255 wxGetMousePosition(arg1,arg2);
2256
2257 wxPyEndAllowThreads(__tstate);
110da5b0 2258 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2259 }
2260 Py_INCREF(Py_None); resultobj = Py_None;
2261 {
2262 PyObject *o = PyInt_FromLong((long) (*arg1));
2263 resultobj = t_output_helper(resultobj,o);
2264 }
2265 {
2266 PyObject *o = PyInt_FromLong((long) (*arg2));
2267 resultobj = t_output_helper(resultobj,o);
2268 }
2269 return resultobj;
2270 fail:
2271 return NULL;
2272}
2273
2274
2275static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
2276 PyObject *resultobj;
2277 bool result;
2278 char *kwnames[] = {
2279 NULL
2280 };
2281
2282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2283 {
2284 PyThreadState* __tstate = wxPyBeginAllowThreads();
2285 result = (bool)wxIsBusy();
2286
2287 wxPyEndAllowThreads(__tstate);
2288 if (PyErr_Occurred()) SWIG_fail;
2289 }
2290 {
2291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2292 }
2293 return resultobj;
2294 fail:
2295 return NULL;
2296}
2297
2298
2299static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 wxString result;
2302 char *kwnames[] = {
2303 NULL
2304 };
2305
2306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2307 {
2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
2309 result = wxNow();
2310
2311 wxPyEndAllowThreads(__tstate);
2312 if (PyErr_Occurred()) SWIG_fail;
2313 }
2314 {
2315#if wxUSE_UNICODE
2316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2317#else
2318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2319#endif
2320 }
2321 return resultobj;
2322 fail:
2323 return NULL;
2324}
2325
2326
2327static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject *resultobj;
2329 wxString const &arg1_defvalue = wxPyEmptyString ;
2330 wxString *arg1 = (wxString *) &arg1_defvalue ;
2331 bool result;
2332 bool temp1 = False ;
2333 PyObject * obj0 = 0 ;
2334 char *kwnames[] = {
2335 (char *) "command", NULL
2336 };
2337
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2339 if (obj0) {
2340 {
2341 arg1 = wxString_in_helper(obj0);
2342 if (arg1 == NULL) SWIG_fail;
2343 temp1 = True;
2344 }
2345 }
2346 {
2347 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348 result = (bool)wxShell((wxString const &)*arg1);
2349
2350 wxPyEndAllowThreads(__tstate);
2351 if (PyErr_Occurred()) SWIG_fail;
2352 }
2353 {
2354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2355 }
2356 {
2357 if (temp1)
2358 delete arg1;
2359 }
2360 return resultobj;
2361 fail:
2362 {
2363 if (temp1)
2364 delete arg1;
2365 }
2366 return NULL;
2367}
2368
2369
2370static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2371 PyObject *resultobj;
2372 char *kwnames[] = {
2373 NULL
2374 };
2375
2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 wxStartTimer();
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
2384 Py_INCREF(Py_None); resultobj = Py_None;
2385 return resultobj;
2386 fail:
2387 return NULL;
2388}
2389
2390
2391static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2392 PyObject *resultobj;
2393 int *arg1 = (int *) 0 ;
2394 int *arg2 = (int *) 0 ;
2395 int result;
2396 int temp1 ;
2397 int temp2 ;
2398 char *kwnames[] = {
2399 NULL
2400 };
2401
2402 arg1 = &temp1;
2403 arg2 = &temp2;
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2405 {
2406 PyThreadState* __tstate = wxPyBeginAllowThreads();
2407 result = (int)wxGetOsVersion(arg1,arg2);
2408
2409 wxPyEndAllowThreads(__tstate);
2410 if (PyErr_Occurred()) SWIG_fail;
2411 }
2412 resultobj = SWIG_FromInt((int)result);
2413 {
2414 PyObject *o = PyInt_FromLong((long) (*arg1));
2415 resultobj = t_output_helper(resultobj,o);
2416 }
2417 {
2418 PyObject *o = PyInt_FromLong((long) (*arg2));
2419 resultobj = t_output_helper(resultobj,o);
2420 }
2421 return resultobj;
2422 fail:
2423 return NULL;
2424}
2425
2426
2427static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2428 PyObject *resultobj;
2429 wxString result;
2430 char *kwnames[] = {
2431 NULL
2432 };
2433
2434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2435 {
2436 PyThreadState* __tstate = wxPyBeginAllowThreads();
2437 result = wxGetOsDescription();
2438
2439 wxPyEndAllowThreads(__tstate);
2440 if (PyErr_Occurred()) SWIG_fail;
2441 }
2442 {
2443#if wxUSE_UNICODE
2444 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2445#else
2446 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2447#endif
2448 }
2449 return resultobj;
2450 fail:
2451 return NULL;
2452}
2453
2454
2455static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2456 PyObject *resultobj;
2457 long result;
2458 char *kwnames[] = {
2459 NULL
2460 };
2461
2462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2463 {
2464 PyThreadState* __tstate = wxPyBeginAllowThreads();
2465 result = (long)wxGetFreeMemory();
2466
2467 wxPyEndAllowThreads(__tstate);
2468 if (PyErr_Occurred()) SWIG_fail;
2469 }
2470 resultobj = SWIG_FromLong((long)result);
2471 return resultobj;
2472 fail:
2473 return NULL;
2474}
2475
2476
2477static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2478 PyObject *resultobj;
2479 int arg1 ;
2480 bool result;
2481 PyObject * obj0 = 0 ;
2482 char *kwnames[] = {
2483 (char *) "wFlags", NULL
2484 };
2485
2486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2487 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2488 if (PyErr_Occurred()) SWIG_fail;
2489 {
0439c23b 2490 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2491 PyThreadState* __tstate = wxPyBeginAllowThreads();
2492 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2493
2494 wxPyEndAllowThreads(__tstate);
110da5b0 2495 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2496 }
2497 {
2498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2499 }
2500 return resultobj;
2501 fail:
2502 return NULL;
2503}
2504
2505
2506static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2507 PyObject *resultobj;
2508 int arg1 ;
2509 PyObject * obj0 = 0 ;
2510 char *kwnames[] = {
2511 (char *) "secs", NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2515 arg1 = (int) SWIG_AsInt(obj0);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 {
2518 PyThreadState* __tstate = wxPyBeginAllowThreads();
2519 wxSleep(arg1);
2520
2521 wxPyEndAllowThreads(__tstate);
2522 if (PyErr_Occurred()) SWIG_fail;
2523 }
2524 Py_INCREF(Py_None); resultobj = Py_None;
2525 return resultobj;
2526 fail:
2527 return NULL;
2528}
2529
2530
bf26d883 2531static PyObject *_wrap_MilliSleep(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2532 PyObject *resultobj;
2533 unsigned long arg1 ;
2534 PyObject * obj0 = 0 ;
2535 char *kwnames[] = {
2536 (char *) "milliseconds", NULL
2537 };
2538
bf26d883 2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
d55e5bfc
RD
2540 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 {
2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
bf26d883
RD
2544 wxMilliSleep(arg1);
2545
2546 wxPyEndAllowThreads(__tstate);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 }
2549 Py_INCREF(Py_None); resultobj = Py_None;
2550 return resultobj;
2551 fail:
2552 return NULL;
2553}
2554
2555
2556static PyObject *_wrap_MicroSleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 unsigned long arg1 ;
2559 PyObject * obj0 = 0 ;
2560 char *kwnames[] = {
2561 (char *) "microseconds", NULL
2562 };
2563
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
2565 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 {
2568 PyThreadState* __tstate = wxPyBeginAllowThreads();
2569 wxMicroSleep(arg1);
d55e5bfc
RD
2570
2571 wxPyEndAllowThreads(__tstate);
2572 if (PyErr_Occurred()) SWIG_fail;
2573 }
2574 Py_INCREF(Py_None); resultobj = Py_None;
2575 return resultobj;
2576 fail:
2577 return NULL;
2578}
2579
2580
2581static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2582 PyObject *resultobj;
2583 bool arg1 ;
2584 PyObject * obj0 = 0 ;
2585 char *kwnames[] = {
2586 (char *) "enable", NULL
2587 };
2588
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2590 arg1 = (bool) SWIG_AsBool(obj0);
2591 if (PyErr_Occurred()) SWIG_fail;
2592 {
2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
2594 wxEnableTopLevelWindows(arg1);
2595
2596 wxPyEndAllowThreads(__tstate);
2597 if (PyErr_Occurred()) SWIG_fail;
2598 }
2599 Py_INCREF(Py_None); resultobj = Py_None;
2600 return resultobj;
2601 fail:
2602 return NULL;
2603}
2604
2605
2606static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2607 PyObject *resultobj;
2608 wxString *arg1 = 0 ;
2609 wxString result;
2610 bool temp1 = False ;
2611 PyObject * obj0 = 0 ;
2612 char *kwnames[] = {
2613 (char *) "in", NULL
2614 };
2615
2616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2617 {
2618 arg1 = wxString_in_helper(obj0);
2619 if (arg1 == NULL) SWIG_fail;
2620 temp1 = True;
2621 }
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 result = wxStripMenuCodes((wxString const &)*arg1);
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
2629 {
2630#if wxUSE_UNICODE
2631 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2632#else
2633 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2634#endif
2635 }
2636 {
2637 if (temp1)
2638 delete arg1;
2639 }
2640 return resultobj;
2641 fail:
2642 {
2643 if (temp1)
2644 delete arg1;
2645 }
2646 return NULL;
2647}
2648
2649
2650static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2651 PyObject *resultobj;
2652 wxString result;
2653 char *kwnames[] = {
2654 NULL
2655 };
2656
2657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2658 {
2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
2660 result = wxGetEmailAddress();
2661
2662 wxPyEndAllowThreads(__tstate);
2663 if (PyErr_Occurred()) SWIG_fail;
2664 }
2665 {
2666#if wxUSE_UNICODE
2667 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2668#else
2669 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2670#endif
2671 }
2672 return resultobj;
2673 fail:
2674 return NULL;
2675}
2676
2677
2678static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2679 PyObject *resultobj;
2680 wxString result;
2681 char *kwnames[] = {
2682 NULL
2683 };
2684
2685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2686 {
2687 PyThreadState* __tstate = wxPyBeginAllowThreads();
2688 result = wxGetHostName();
2689
2690 wxPyEndAllowThreads(__tstate);
2691 if (PyErr_Occurred()) SWIG_fail;
2692 }
2693 {
2694#if wxUSE_UNICODE
2695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2696#else
2697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2698#endif
2699 }
2700 return resultobj;
2701 fail:
2702 return NULL;
2703}
2704
2705
2706static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2707 PyObject *resultobj;
2708 wxString result;
2709 char *kwnames[] = {
2710 NULL
2711 };
2712
2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2714 {
2715 PyThreadState* __tstate = wxPyBeginAllowThreads();
2716 result = wxGetFullHostName();
2717
2718 wxPyEndAllowThreads(__tstate);
2719 if (PyErr_Occurred()) SWIG_fail;
2720 }
2721 {
2722#if wxUSE_UNICODE
2723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2724#else
2725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2726#endif
2727 }
2728 return resultobj;
2729 fail:
2730 return NULL;
2731}
2732
2733
2734static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2735 PyObject *resultobj;
2736 wxString result;
2737 char *kwnames[] = {
2738 NULL
2739 };
2740
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2742 {
2743 PyThreadState* __tstate = wxPyBeginAllowThreads();
2744 result = wxGetUserId();
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 {
2750#if wxUSE_UNICODE
2751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2752#else
2753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2754#endif
2755 }
2756 return resultobj;
2757 fail:
2758 return NULL;
2759}
2760
2761
2762static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject *resultobj;
2764 wxString result;
2765 char *kwnames[] = {
2766 NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 result = wxGetUserName();
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 {
2778#if wxUSE_UNICODE
2779 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2780#else
2781 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2782#endif
2783 }
2784 return resultobj;
2785 fail:
2786 return NULL;
2787}
2788
2789
2790static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2791 PyObject *resultobj;
2792 wxString result;
2793 char *kwnames[] = {
2794 NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2798 {
2799 PyThreadState* __tstate = wxPyBeginAllowThreads();
2800 result = wxGetHomeDir();
2801
2802 wxPyEndAllowThreads(__tstate);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 }
2805 {
2806#if wxUSE_UNICODE
2807 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2808#else
2809 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2810#endif
2811 }
2812 return resultobj;
2813 fail:
2814 return NULL;
2815}
2816
2817
2818static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject *resultobj;
2820 wxString const &arg1_defvalue = wxPyEmptyString ;
2821 wxString *arg1 = (wxString *) &arg1_defvalue ;
2822 wxString result;
2823 bool temp1 = False ;
2824 PyObject * obj0 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "user", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2830 if (obj0) {
2831 {
2832 arg1 = wxString_in_helper(obj0);
2833 if (arg1 == NULL) SWIG_fail;
2834 temp1 = True;
2835 }
2836 }
2837 {
2838 PyThreadState* __tstate = wxPyBeginAllowThreads();
2839 result = wxGetUserHome((wxString const &)*arg1);
2840
2841 wxPyEndAllowThreads(__tstate);
2842 if (PyErr_Occurred()) SWIG_fail;
2843 }
2844 {
2845#if wxUSE_UNICODE
2846 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2847#else
2848 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2849#endif
2850 }
2851 {
2852 if (temp1)
2853 delete arg1;
2854 }
2855 return resultobj;
2856 fail:
2857 {
2858 if (temp1)
2859 delete arg1;
2860 }
2861 return NULL;
2862}
2863
2864
2865static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2866 PyObject *resultobj;
2867 unsigned long result;
2868 char *kwnames[] = {
2869 NULL
2870 };
2871
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2873 {
2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
2875 result = (unsigned long)wxGetProcessId();
2876
2877 wxPyEndAllowThreads(__tstate);
2878 if (PyErr_Occurred()) SWIG_fail;
2879 }
2880 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
2881 return resultobj;
2882 fail:
2883 return NULL;
2884}
2885
2886
2887static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2888 PyObject *resultobj;
2889 char *kwnames[] = {
2890 NULL
2891 };
2892
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2894 {
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 wxTrap();
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 Py_INCREF(Py_None); resultobj = Py_None;
2902 return resultobj;
2903 fail:
2904 return NULL;
2905}
2906
2907
2908static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2909 PyObject *resultobj;
2910 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2911 wxString *arg1 = (wxString *) &arg1_defvalue ;
2912 wxString const &arg2_defvalue = wxPyEmptyString ;
2913 wxString *arg2 = (wxString *) &arg2_defvalue ;
2914 wxString const &arg3_defvalue = wxPyEmptyString ;
2915 wxString *arg3 = (wxString *) &arg3_defvalue ;
2916 wxString const &arg4_defvalue = wxPyEmptyString ;
2917 wxString *arg4 = (wxString *) &arg4_defvalue ;
2918 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2919 wxString *arg5 = (wxString *) &arg5_defvalue ;
2920 int arg6 = (int) 0 ;
2921 wxWindow *arg7 = (wxWindow *) NULL ;
2922 int arg8 = (int) -1 ;
2923 int arg9 = (int) -1 ;
2924 wxString result;
2925 bool temp1 = False ;
2926 bool temp2 = False ;
2927 bool temp3 = False ;
2928 bool temp4 = False ;
2929 bool temp5 = False ;
2930 PyObject * obj0 = 0 ;
2931 PyObject * obj1 = 0 ;
2932 PyObject * obj2 = 0 ;
2933 PyObject * obj3 = 0 ;
2934 PyObject * obj4 = 0 ;
2935 PyObject * obj5 = 0 ;
2936 PyObject * obj6 = 0 ;
2937 PyObject * obj7 = 0 ;
2938 PyObject * obj8 = 0 ;
2939 char *kwnames[] = {
2940 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2941 };
2942
2943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2944 if (obj0) {
2945 {
2946 arg1 = wxString_in_helper(obj0);
2947 if (arg1 == NULL) SWIG_fail;
2948 temp1 = True;
2949 }
2950 }
2951 if (obj1) {
2952 {
2953 arg2 = wxString_in_helper(obj1);
2954 if (arg2 == NULL) SWIG_fail;
2955 temp2 = True;
2956 }
2957 }
2958 if (obj2) {
2959 {
2960 arg3 = wxString_in_helper(obj2);
2961 if (arg3 == NULL) SWIG_fail;
2962 temp3 = True;
2963 }
2964 }
2965 if (obj3) {
2966 {
2967 arg4 = wxString_in_helper(obj3);
2968 if (arg4 == NULL) SWIG_fail;
2969 temp4 = True;
2970 }
2971 }
2972 if (obj4) {
2973 {
2974 arg5 = wxString_in_helper(obj4);
2975 if (arg5 == NULL) SWIG_fail;
2976 temp5 = True;
2977 }
2978 }
2979 if (obj5) {
2980 arg6 = (int) SWIG_AsInt(obj5);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 if (obj6) {
2984 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2986 }
2987 if (obj7) {
2988 arg8 = (int) SWIG_AsInt(obj7);
2989 if (PyErr_Occurred()) SWIG_fail;
2990 }
2991 if (obj8) {
2992 arg9 = (int) SWIG_AsInt(obj8);
2993 if (PyErr_Occurred()) SWIG_fail;
2994 }
2995 {
0439c23b 2996 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2999
3000 wxPyEndAllowThreads(__tstate);
110da5b0 3001 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3002 }
3003 {
3004#if wxUSE_UNICODE
3005 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3006#else
3007 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3008#endif
3009 }
3010 {
3011 if (temp1)
3012 delete arg1;
3013 }
3014 {
3015 if (temp2)
3016 delete arg2;
3017 }
3018 {
3019 if (temp3)
3020 delete arg3;
3021 }
3022 {
3023 if (temp4)
3024 delete arg4;
3025 }
3026 {
3027 if (temp5)
3028 delete arg5;
3029 }
3030 return resultobj;
3031 fail:
3032 {
3033 if (temp1)
3034 delete arg1;
3035 }
3036 {
3037 if (temp2)
3038 delete arg2;
3039 }
3040 {
3041 if (temp3)
3042 delete arg3;
3043 }
3044 {
3045 if (temp4)
3046 delete arg4;
3047 }
3048 {
3049 if (temp5)
3050 delete arg5;
3051 }
3052 return NULL;
3053}
3054
3055
3056static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3057 PyObject *resultobj;
3058 wxString *arg1 = 0 ;
3059 wxString *arg2 = 0 ;
3060 wxString const &arg3_defvalue = wxPyEmptyString ;
3061 wxString *arg3 = (wxString *) &arg3_defvalue ;
3062 wxWindow *arg4 = (wxWindow *) NULL ;
3063 wxString result;
3064 bool temp1 = False ;
3065 bool temp2 = False ;
3066 bool temp3 = False ;
3067 PyObject * obj0 = 0 ;
3068 PyObject * obj1 = 0 ;
3069 PyObject * obj2 = 0 ;
3070 PyObject * obj3 = 0 ;
3071 char *kwnames[] = {
3072 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3073 };
3074
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3076 {
3077 arg1 = wxString_in_helper(obj0);
3078 if (arg1 == NULL) SWIG_fail;
3079 temp1 = True;
3080 }
3081 {
3082 arg2 = wxString_in_helper(obj1);
3083 if (arg2 == NULL) SWIG_fail;
3084 temp2 = True;
3085 }
3086 if (obj2) {
3087 {
3088 arg3 = wxString_in_helper(obj2);
3089 if (arg3 == NULL) SWIG_fail;
3090 temp3 = True;
3091 }
3092 }
3093 if (obj3) {
3094 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3096 }
3097 {
0439c23b 3098 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3099 PyThreadState* __tstate = wxPyBeginAllowThreads();
3100 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3101
3102 wxPyEndAllowThreads(__tstate);
110da5b0 3103 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3104 }
3105 {
3106#if wxUSE_UNICODE
3107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3108#else
3109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3110#endif
3111 }
3112 {
3113 if (temp1)
3114 delete arg1;
3115 }
3116 {
3117 if (temp2)
3118 delete arg2;
3119 }
3120 {
3121 if (temp3)
3122 delete arg3;
3123 }
3124 return resultobj;
3125 fail:
3126 {
3127 if (temp1)
3128 delete arg1;
3129 }
3130 {
3131 if (temp2)
3132 delete arg2;
3133 }
3134 {
3135 if (temp3)
3136 delete arg3;
3137 }
3138 return NULL;
3139}
3140
3141
3142static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject *resultobj;
3144 wxString *arg1 = 0 ;
3145 wxString *arg2 = 0 ;
3146 wxString const &arg3_defvalue = wxPyEmptyString ;
3147 wxString *arg3 = (wxString *) &arg3_defvalue ;
3148 wxWindow *arg4 = (wxWindow *) NULL ;
3149 wxString result;
3150 bool temp1 = False ;
3151 bool temp2 = False ;
3152 bool temp3 = False ;
3153 PyObject * obj0 = 0 ;
3154 PyObject * obj1 = 0 ;
3155 PyObject * obj2 = 0 ;
3156 PyObject * obj3 = 0 ;
3157 char *kwnames[] = {
3158 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3159 };
3160
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3162 {
3163 arg1 = wxString_in_helper(obj0);
3164 if (arg1 == NULL) SWIG_fail;
3165 temp1 = True;
3166 }
3167 {
3168 arg2 = wxString_in_helper(obj1);
3169 if (arg2 == NULL) SWIG_fail;
3170 temp2 = True;
3171 }
3172 if (obj2) {
3173 {
3174 arg3 = wxString_in_helper(obj2);
3175 if (arg3 == NULL) SWIG_fail;
3176 temp3 = True;
3177 }
3178 }
3179 if (obj3) {
3180 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3182 }
3183 {
0439c23b 3184 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3187
3188 wxPyEndAllowThreads(__tstate);
110da5b0 3189 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3190 }
3191 {
3192#if wxUSE_UNICODE
3193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3194#else
3195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3196#endif
3197 }
3198 {
3199 if (temp1)
3200 delete arg1;
3201 }
3202 {
3203 if (temp2)
3204 delete arg2;
3205 }
3206 {
3207 if (temp3)
3208 delete arg3;
3209 }
3210 return resultobj;
3211 fail:
3212 {
3213 if (temp1)
3214 delete arg1;
3215 }
3216 {
3217 if (temp2)
3218 delete arg2;
3219 }
3220 {
3221 if (temp3)
3222 delete arg3;
3223 }
3224 return NULL;
3225}
3226
3227
3228static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3229 PyObject *resultobj;
3230 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3231 wxString *arg1 = (wxString *) &arg1_defvalue ;
3232 wxString const &arg2_defvalue = wxPyEmptyString ;
3233 wxString *arg2 = (wxString *) &arg2_defvalue ;
3234 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3235 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3236 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3237 wxWindow *arg5 = (wxWindow *) NULL ;
3238 wxString result;
3239 bool temp1 = False ;
3240 bool temp2 = False ;
3241 wxPoint temp4 ;
3242 PyObject * obj0 = 0 ;
3243 PyObject * obj1 = 0 ;
3244 PyObject * obj2 = 0 ;
3245 PyObject * obj3 = 0 ;
3246 PyObject * obj4 = 0 ;
3247 char *kwnames[] = {
3248 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3249 };
3250
3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3252 if (obj0) {
3253 {
3254 arg1 = wxString_in_helper(obj0);
3255 if (arg1 == NULL) SWIG_fail;
3256 temp1 = True;
3257 }
3258 }
3259 if (obj1) {
3260 {
3261 arg2 = wxString_in_helper(obj1);
3262 if (arg2 == NULL) SWIG_fail;
3263 temp2 = True;
3264 }
3265 }
3266 if (obj2) {
3267 arg3 = (long) SWIG_AsLong(obj2);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 if (obj3) {
3271 {
3272 arg4 = &temp4;
3273 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3274 }
3275 }
3276 if (obj4) {
3277 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3279 }
3280 {
0439c23b 3281 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3282 PyThreadState* __tstate = wxPyBeginAllowThreads();
3283 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3284
3285 wxPyEndAllowThreads(__tstate);
110da5b0 3286 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3287 }
3288 {
3289#if wxUSE_UNICODE
3290 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3291#else
3292 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3293#endif
3294 }
3295 {
3296 if (temp1)
3297 delete arg1;
3298 }
3299 {
3300 if (temp2)
3301 delete arg2;
3302 }
3303 return resultobj;
3304 fail:
3305 {
3306 if (temp1)
3307 delete arg1;
3308 }
3309 {
3310 if (temp2)
3311 delete arg2;
3312 }
3313 return NULL;
3314}
3315
3316
3317static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3318 PyObject *resultobj;
3319 wxString *arg1 = 0 ;
3320 wxString const &arg2_defvalue = wxPyEmptyString ;
3321 wxString *arg2 = (wxString *) &arg2_defvalue ;
3322 wxString const &arg3_defvalue = wxPyEmptyString ;
3323 wxString *arg3 = (wxString *) &arg3_defvalue ;
3324 wxWindow *arg4 = (wxWindow *) NULL ;
3325 int arg5 = (int) -1 ;
3326 int arg6 = (int) -1 ;
3327 bool arg7 = (bool) True ;
3328 wxString result;
3329 bool temp1 = False ;
3330 bool temp2 = False ;
3331 bool temp3 = False ;
3332 PyObject * obj0 = 0 ;
3333 PyObject * obj1 = 0 ;
3334 PyObject * obj2 = 0 ;
3335 PyObject * obj3 = 0 ;
3336 PyObject * obj4 = 0 ;
3337 PyObject * obj5 = 0 ;
3338 PyObject * obj6 = 0 ;
3339 char *kwnames[] = {
3340 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3341 };
3342
3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3344 {
3345 arg1 = wxString_in_helper(obj0);
3346 if (arg1 == NULL) SWIG_fail;
3347 temp1 = True;
3348 }
3349 if (obj1) {
3350 {
3351 arg2 = wxString_in_helper(obj1);
3352 if (arg2 == NULL) SWIG_fail;
3353 temp2 = True;
3354 }
3355 }
3356 if (obj2) {
3357 {
3358 arg3 = wxString_in_helper(obj2);
3359 if (arg3 == NULL) SWIG_fail;
3360 temp3 = True;
3361 }
3362 }
3363 if (obj3) {
3364 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3366 }
3367 if (obj4) {
3368 arg5 = (int) SWIG_AsInt(obj4);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
3371 if (obj5) {
3372 arg6 = (int) SWIG_AsInt(obj5);
3373 if (PyErr_Occurred()) SWIG_fail;
3374 }
3375 if (obj6) {
3376 arg7 = (bool) SWIG_AsBool(obj6);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 {
0439c23b 3380 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3383
3384 wxPyEndAllowThreads(__tstate);
110da5b0 3385 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3386 }
3387 {
3388#if wxUSE_UNICODE
3389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3390#else
3391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3392#endif
3393 }
3394 {
3395 if (temp1)
3396 delete arg1;
3397 }
3398 {
3399 if (temp2)
3400 delete arg2;
3401 }
3402 {
3403 if (temp3)
3404 delete arg3;
3405 }
3406 return resultobj;
3407 fail:
3408 {
3409 if (temp1)
3410 delete arg1;
3411 }
3412 {
3413 if (temp2)
3414 delete arg2;
3415 }
3416 {
3417 if (temp3)
3418 delete arg3;
3419 }
3420 return NULL;
3421}
3422
3423
3424static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3425 PyObject *resultobj;
3426 wxString *arg1 = 0 ;
3427 wxString const &arg2_defvalue = wxPyEmptyString ;
3428 wxString *arg2 = (wxString *) &arg2_defvalue ;
3429 wxString const &arg3_defvalue = wxPyEmptyString ;
3430 wxString *arg3 = (wxString *) &arg3_defvalue ;
3431 wxWindow *arg4 = (wxWindow *) NULL ;
3432 wxString result;
3433 bool temp1 = False ;
3434 bool temp2 = False ;
3435 bool temp3 = False ;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 PyObject * obj2 = 0 ;
3439 PyObject * obj3 = 0 ;
3440 char *kwnames[] = {
3441 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3442 };
3443
3444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3445 {
3446 arg1 = wxString_in_helper(obj0);
3447 if (arg1 == NULL) SWIG_fail;
3448 temp1 = True;
3449 }
3450 if (obj1) {
3451 {
3452 arg2 = wxString_in_helper(obj1);
3453 if (arg2 == NULL) SWIG_fail;
3454 temp2 = True;
3455 }
3456 }
3457 if (obj2) {
3458 {
3459 arg3 = wxString_in_helper(obj2);
3460 if (arg3 == NULL) SWIG_fail;
3461 temp3 = True;
3462 }
3463 }
3464 if (obj3) {
3465 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3467 }
3468 {
0439c23b 3469 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3472
3473 wxPyEndAllowThreads(__tstate);
110da5b0 3474 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3475 }
3476 {
3477#if wxUSE_UNICODE
3478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3479#else
3480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3481#endif
3482 }
3483 {
3484 if (temp1)
3485 delete arg1;
3486 }
3487 {
3488 if (temp2)
3489 delete arg2;
3490 }
3491 {
3492 if (temp3)
3493 delete arg3;
3494 }
3495 return resultobj;
3496 fail:
3497 {
3498 if (temp1)
3499 delete arg1;
3500 }
3501 {
3502 if (temp2)
3503 delete arg2;
3504 }
3505 {
3506 if (temp3)
3507 delete arg3;
3508 }
3509 return NULL;
3510}
3511
3512
3513static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxString *arg1 = 0 ;
3516 wxString *arg2 = 0 ;
3517 int arg3 ;
3518 wxString *arg4 = (wxString *) 0 ;
3519 wxWindow *arg5 = (wxWindow *) NULL ;
3520 int arg6 = (int) -1 ;
3521 int arg7 = (int) -1 ;
3522 bool arg8 = (bool) True ;
3523 int arg9 = (int) 150 ;
3524 int arg10 = (int) 200 ;
3525 wxString result;
3526 bool temp1 = False ;
3527 bool temp2 = False ;
3528 PyObject * obj0 = 0 ;
3529 PyObject * obj1 = 0 ;
3530 PyObject * obj2 = 0 ;
3531 PyObject * obj3 = 0 ;
3532 PyObject * obj4 = 0 ;
3533 PyObject * obj5 = 0 ;
3534 PyObject * obj6 = 0 ;
3535 PyObject * obj7 = 0 ;
3536 PyObject * obj8 = 0 ;
3537 char *kwnames[] = {
3538 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3539 };
3540
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3542 {
3543 arg1 = wxString_in_helper(obj0);
3544 if (arg1 == NULL) SWIG_fail;
3545 temp1 = True;
3546 }
3547 {
3548 arg2 = wxString_in_helper(obj1);
3549 if (arg2 == NULL) SWIG_fail;
3550 temp2 = True;
3551 }
3552 {
3553 arg3 = PyList_Size(obj2);
3554 arg4 = wxString_LIST_helper(obj2);
3555 if (arg4 == NULL) SWIG_fail;
3556 }
3557 if (obj3) {
3558 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3560 }
3561 if (obj4) {
3562 arg6 = (int) SWIG_AsInt(obj4);
3563 if (PyErr_Occurred()) SWIG_fail;
3564 }
3565 if (obj5) {
3566 arg7 = (int) SWIG_AsInt(obj5);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 if (obj6) {
3570 arg8 = (bool) SWIG_AsBool(obj6);
3571 if (PyErr_Occurred()) SWIG_fail;
3572 }
3573 if (obj7) {
3574 arg9 = (int) SWIG_AsInt(obj7);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
3577 if (obj8) {
3578 arg10 = (int) SWIG_AsInt(obj8);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
3581 {
0439c23b 3582 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3583 PyThreadState* __tstate = wxPyBeginAllowThreads();
3584 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3585
3586 wxPyEndAllowThreads(__tstate);
110da5b0 3587 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3588 }
3589 {
3590#if wxUSE_UNICODE
3591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3592#else
3593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3594#endif
3595 }
3596 {
3597 if (temp1)
3598 delete arg1;
3599 }
3600 {
3601 if (temp2)
3602 delete arg2;
3603 }
3604 {
3605 if (arg4) delete [] arg4;
3606 }
3607 return resultobj;
3608 fail:
3609 {
3610 if (temp1)
3611 delete arg1;
3612 }
3613 {
3614 if (temp2)
3615 delete arg2;
3616 }
3617 {
3618 if (arg4) delete [] arg4;
3619 }
3620 return NULL;
3621}
3622
3623
3624static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3625 PyObject *resultobj;
3626 wxString *arg1 = 0 ;
3627 wxString *arg2 = 0 ;
3628 int arg3 ;
3629 wxString *arg4 = (wxString *) 0 ;
3630 wxWindow *arg5 = (wxWindow *) NULL ;
3631 int arg6 = (int) -1 ;
3632 int arg7 = (int) -1 ;
3633 bool arg8 = (bool) True ;
3634 int arg9 = (int) 150 ;
3635 int arg10 = (int) 200 ;
3636 int result;
3637 bool temp1 = False ;
3638 bool temp2 = False ;
3639 PyObject * obj0 = 0 ;
3640 PyObject * obj1 = 0 ;
3641 PyObject * obj2 = 0 ;
3642 PyObject * obj3 = 0 ;
3643 PyObject * obj4 = 0 ;
3644 PyObject * obj5 = 0 ;
3645 PyObject * obj6 = 0 ;
3646 PyObject * obj7 = 0 ;
3647 PyObject * obj8 = 0 ;
3648 char *kwnames[] = {
3649 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3650 };
3651
3652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3653 {
3654 arg1 = wxString_in_helper(obj0);
3655 if (arg1 == NULL) SWIG_fail;
3656 temp1 = True;
3657 }
3658 {
3659 arg2 = wxString_in_helper(obj1);
3660 if (arg2 == NULL) SWIG_fail;
3661 temp2 = True;
3662 }
3663 {
3664 arg3 = PyList_Size(obj2);
3665 arg4 = wxString_LIST_helper(obj2);
3666 if (arg4 == NULL) SWIG_fail;
3667 }
3668 if (obj3) {
3669 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3671 }
3672 if (obj4) {
3673 arg6 = (int) SWIG_AsInt(obj4);
3674 if (PyErr_Occurred()) SWIG_fail;
3675 }
3676 if (obj5) {
3677 arg7 = (int) SWIG_AsInt(obj5);
3678 if (PyErr_Occurred()) SWIG_fail;
3679 }
3680 if (obj6) {
3681 arg8 = (bool) SWIG_AsBool(obj6);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 if (obj7) {
3685 arg9 = (int) SWIG_AsInt(obj7);
3686 if (PyErr_Occurred()) SWIG_fail;
3687 }
3688 if (obj8) {
3689 arg10 = (int) SWIG_AsInt(obj8);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 {
0439c23b 3693 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3696
3697 wxPyEndAllowThreads(__tstate);
110da5b0 3698 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3699 }
3700 resultobj = SWIG_FromInt((int)result);
3701 {
3702 if (temp1)
3703 delete arg1;
3704 }
3705 {
3706 if (temp2)
3707 delete arg2;
3708 }
3709 {
3710 if (arg4) delete [] arg4;
3711 }
3712 return resultobj;
3713 fail:
3714 {
3715 if (temp1)
3716 delete arg1;
3717 }
3718 {
3719 if (temp2)
3720 delete arg2;
3721 }
3722 {
3723 if (arg4) delete [] arg4;
3724 }
3725 return NULL;
3726}
3727
3728
3729static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3730 PyObject *resultobj;
3731 wxString *arg1 = 0 ;
3732 wxString const &arg2_defvalue = wxPyEmptyString ;
3733 wxString *arg2 = (wxString *) &arg2_defvalue ;
3734 int arg3 = (int) wxOK|wxCENTRE ;
3735 wxWindow *arg4 = (wxWindow *) NULL ;
3736 int arg5 = (int) -1 ;
3737 int arg6 = (int) -1 ;
3738 int result;
3739 bool temp1 = False ;
3740 bool temp2 = False ;
3741 PyObject * obj0 = 0 ;
3742 PyObject * obj1 = 0 ;
3743 PyObject * obj2 = 0 ;
3744 PyObject * obj3 = 0 ;
3745 PyObject * obj4 = 0 ;
3746 PyObject * obj5 = 0 ;
3747 char *kwnames[] = {
3748 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3749 };
3750
3751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3752 {
3753 arg1 = wxString_in_helper(obj0);
3754 if (arg1 == NULL) SWIG_fail;
3755 temp1 = True;
3756 }
3757 if (obj1) {
3758 {
3759 arg2 = wxString_in_helper(obj1);
3760 if (arg2 == NULL) SWIG_fail;
3761 temp2 = True;
3762 }
3763 }
3764 if (obj2) {
3765 arg3 = (int) SWIG_AsInt(obj2);
3766 if (PyErr_Occurred()) SWIG_fail;
3767 }
3768 if (obj3) {
3769 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3771 }
3772 if (obj4) {
3773 arg5 = (int) SWIG_AsInt(obj4);
3774 if (PyErr_Occurred()) SWIG_fail;
3775 }
3776 if (obj5) {
3777 arg6 = (int) SWIG_AsInt(obj5);
3778 if (PyErr_Occurred()) SWIG_fail;
3779 }
3780 {
0439c23b 3781 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3782 PyThreadState* __tstate = wxPyBeginAllowThreads();
3783 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3784
3785 wxPyEndAllowThreads(__tstate);
110da5b0 3786 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3787 }
3788 resultobj = SWIG_FromInt((int)result);
3789 {
3790 if (temp1)
3791 delete arg1;
3792 }
3793 {
3794 if (temp2)
3795 delete arg2;
3796 }
3797 return resultobj;
3798 fail:
3799 {
3800 if (temp1)
3801 delete arg1;
3802 }
3803 {
3804 if (temp2)
3805 delete arg2;
3806 }
3807 return NULL;
3808}
3809
3810
3811static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3812 PyObject *resultobj;
3813 wxString *arg1 = 0 ;
3814 wxString *arg2 = 0 ;
3815 wxString *arg3 = 0 ;
3816 long arg4 ;
3817 long arg5 = (long) 0 ;
3818 long arg6 = (long) 100 ;
3819 wxWindow *arg7 = (wxWindow *) NULL ;
3820 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3821 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3822 long result;
3823 bool temp1 = False ;
3824 bool temp2 = False ;
3825 bool temp3 = False ;
3826 wxPoint temp8 ;
3827 PyObject * obj0 = 0 ;
3828 PyObject * obj1 = 0 ;
3829 PyObject * obj2 = 0 ;
3830 PyObject * obj3 = 0 ;
3831 PyObject * obj4 = 0 ;
3832 PyObject * obj5 = 0 ;
3833 PyObject * obj6 = 0 ;
3834 PyObject * obj7 = 0 ;
3835 char *kwnames[] = {
3836 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3837 };
3838
3839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3840 {
3841 arg1 = wxString_in_helper(obj0);
3842 if (arg1 == NULL) SWIG_fail;
3843 temp1 = True;
3844 }
3845 {
3846 arg2 = wxString_in_helper(obj1);
3847 if (arg2 == NULL) SWIG_fail;
3848 temp2 = True;
3849 }
3850 {
3851 arg3 = wxString_in_helper(obj2);
3852 if (arg3 == NULL) SWIG_fail;
3853 temp3 = True;
3854 }
3855 arg4 = (long) SWIG_AsLong(obj3);
3856 if (PyErr_Occurred()) SWIG_fail;
3857 if (obj4) {
3858 arg5 = (long) SWIG_AsLong(obj4);
3859 if (PyErr_Occurred()) SWIG_fail;
3860 }
3861 if (obj5) {
3862 arg6 = (long) SWIG_AsLong(obj5);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 if (obj6) {
3866 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3868 }
3869 if (obj7) {
3870 {
3871 arg8 = &temp8;
3872 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3873 }
3874 }
3875 {
0439c23b 3876 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3877 PyThreadState* __tstate = wxPyBeginAllowThreads();
3878 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3879
3880 wxPyEndAllowThreads(__tstate);
110da5b0 3881 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3882 }
3883 resultobj = SWIG_FromLong((long)result);
3884 {
3885 if (temp1)
3886 delete arg1;
3887 }
3888 {
3889 if (temp2)
3890 delete arg2;
3891 }
3892 {
3893 if (temp3)
3894 delete arg3;
3895 }
3896 return resultobj;
3897 fail:
3898 {
3899 if (temp1)
3900 delete arg1;
3901 }
3902 {
3903 if (temp2)
3904 delete arg2;
3905 }
3906 {
3907 if (temp3)
3908 delete arg3;
3909 }
3910 return NULL;
3911}
3912
3913
3914static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 bool result;
3917 char *kwnames[] = {
3918 NULL
3919 };
3920
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3922 {
0439c23b 3923 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 result = (bool)wxColourDisplay();
3926
3927 wxPyEndAllowThreads(__tstate);
110da5b0 3928 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3929 }
3930 {
3931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3932 }
3933 return resultobj;
3934 fail:
3935 return NULL;
3936}
3937
3938
3939static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj;
3941 int result;
3942 char *kwnames[] = {
3943 NULL
3944 };
3945
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3947 {
0439c23b 3948 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 result = (int)wxDisplayDepth();
3951
3952 wxPyEndAllowThreads(__tstate);
110da5b0 3953 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3954 }
3955 resultobj = SWIG_FromInt((int)result);
3956 return resultobj;
3957 fail:
3958 return NULL;
3959}
3960
3961
3962static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3963 PyObject *resultobj;
3964 int result;
3965 char *kwnames[] = {
3966 NULL
3967 };
3968
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3970 {
0439c23b 3971 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 result = (int)wxGetDisplayDepth();
3974
3975 wxPyEndAllowThreads(__tstate);
110da5b0 3976 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3977 }
3978 resultobj = SWIG_FromInt((int)result);
3979 return resultobj;
3980 fail:
3981 return NULL;
3982}
3983
3984
3985static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3986 PyObject *resultobj;
3987 int *arg1 = (int *) 0 ;
3988 int *arg2 = (int *) 0 ;
3989 int temp1 ;
3990 int temp2 ;
3991 char *kwnames[] = {
3992 NULL
3993 };
3994
3995 arg1 = &temp1;
3996 arg2 = &temp2;
3997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3998 {
0439c23b 3999 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 wxDisplaySize(arg1,arg2);
4002
4003 wxPyEndAllowThreads(__tstate);
110da5b0 4004 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4005 }
4006 Py_INCREF(Py_None); resultobj = Py_None;
4007 {
4008 PyObject *o = PyInt_FromLong((long) (*arg1));
4009 resultobj = t_output_helper(resultobj,o);
4010 }
4011 {
4012 PyObject *o = PyInt_FromLong((long) (*arg2));
4013 resultobj = t_output_helper(resultobj,o);
4014 }
4015 return resultobj;
4016 fail:
4017 return NULL;
4018}
4019
4020
4021static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 wxSize result;
4024 char *kwnames[] = {
4025 NULL
4026 };
4027
4028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
4029 {
0439c23b 4030 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 result = wxGetDisplaySize();
4033
4034 wxPyEndAllowThreads(__tstate);
110da5b0 4035 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4036 }
4037 {
4038 wxSize * resultptr;
4039 resultptr = new wxSize((wxSize &) result);
4040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4041 }
4042 return resultobj;
4043 fail:
4044 return NULL;
4045}
4046
4047
4048static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4049 PyObject *resultobj;
4050 int *arg1 = (int *) 0 ;
4051 int *arg2 = (int *) 0 ;
4052 int temp1 ;
4053 int temp2 ;
4054 char *kwnames[] = {
4055 NULL
4056 };
4057
4058 arg1 = &temp1;
4059 arg2 = &temp2;
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
4061 {
0439c23b 4062 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 wxDisplaySizeMM(arg1,arg2);
4065
4066 wxPyEndAllowThreads(__tstate);
110da5b0 4067 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 {
4071 PyObject *o = PyInt_FromLong((long) (*arg1));
4072 resultobj = t_output_helper(resultobj,o);
4073 }
4074 {
4075 PyObject *o = PyInt_FromLong((long) (*arg2));
4076 resultobj = t_output_helper(resultobj,o);
4077 }
4078 return resultobj;
4079 fail:
4080 return NULL;
4081}
4082
4083
4084static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4085 PyObject *resultobj;
4086 wxSize result;
4087 char *kwnames[] = {
4088 NULL
4089 };
4090
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
4092 {
0439c23b 4093 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 result = wxGetDisplaySizeMM();
4096
4097 wxPyEndAllowThreads(__tstate);
110da5b0 4098 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4099 }
4100 {
4101 wxSize * resultptr;
4102 resultptr = new wxSize((wxSize &) result);
4103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4104 }
4105 return resultobj;
4106 fail:
4107 return NULL;
4108}
4109
4110
4111static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 int *arg1 = (int *) 0 ;
4114 int *arg2 = (int *) 0 ;
4115 int *arg3 = (int *) 0 ;
4116 int *arg4 = (int *) 0 ;
4117 int temp1 ;
4118 int temp2 ;
4119 int temp3 ;
4120 int temp4 ;
4121 char *kwnames[] = {
4122 NULL
4123 };
4124
4125 arg1 = &temp1;
4126 arg2 = &temp2;
4127 arg3 = &temp3;
4128 arg4 = &temp4;
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
4130 {
0439c23b 4131 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 wxClientDisplayRect(arg1,arg2,arg3,arg4);
4134
4135 wxPyEndAllowThreads(__tstate);
110da5b0 4136 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4137 }
4138 Py_INCREF(Py_None); resultobj = Py_None;
4139 {
4140 PyObject *o = PyInt_FromLong((long) (*arg1));
4141 resultobj = t_output_helper(resultobj,o);
4142 }
4143 {
4144 PyObject *o = PyInt_FromLong((long) (*arg2));
4145 resultobj = t_output_helper(resultobj,o);
4146 }
4147 {
4148 PyObject *o = PyInt_FromLong((long) (*arg3));
4149 resultobj = t_output_helper(resultobj,o);
4150 }
4151 {
4152 PyObject *o = PyInt_FromLong((long) (*arg4));
4153 resultobj = t_output_helper(resultobj,o);
4154 }
4155 return resultobj;
4156 fail:
4157 return NULL;
4158}
4159
4160
4161static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj;
4163 wxRect result;
4164 char *kwnames[] = {
4165 NULL
4166 };
4167
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
4169 {
0439c23b 4170 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 result = wxGetClientDisplayRect();
4173
4174 wxPyEndAllowThreads(__tstate);
110da5b0 4175 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4176 }
4177 {
4178 wxRect * resultptr;
4179 resultptr = new wxRect((wxRect &) result);
4180 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4181 }
4182 return resultobj;
4183 fail:
4184 return NULL;
4185}
4186
4187
4188static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj;
4190 wxCursor *arg1 = 0 ;
4191 PyObject * obj0 = 0 ;
4192 char *kwnames[] = {
4193 (char *) "cursor", NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
4197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4198 SWIG_POINTER_EXCEPTION | 0)) == -1)
4199 SWIG_fail;
4200 if (arg1 == NULL) {
4201 PyErr_SetString(PyExc_TypeError,"null reference");
4202 SWIG_fail;
4203 }
4204 {
0439c23b 4205 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4206 PyThreadState* __tstate = wxPyBeginAllowThreads();
4207 wxSetCursor(*arg1);
4208
4209 wxPyEndAllowThreads(__tstate);
110da5b0 4210 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4211 }
4212 Py_INCREF(Py_None); resultobj = Py_None;
4213 return resultobj;
4214 fail:
4215 return NULL;
4216}
4217
4218
4219static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4220 PyObject *resultobj;
4221 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4222 PyObject * obj0 = 0 ;
4223 char *kwnames[] = {
4224 (char *) "cursor", NULL
4225 };
4226
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4228 if (obj0) {
4229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4231 }
4232 {
0439c23b 4233 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 wxBeginBusyCursor(arg1);
4236
4237 wxPyEndAllowThreads(__tstate);
110da5b0 4238 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4239 }
4240 Py_INCREF(Py_None); resultobj = Py_None;
4241 return resultobj;
4242 fail:
4243 return NULL;
4244}
4245
4246
4247static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj;
4249 wxWindow *result;
4250 char *kwnames[] = {
4251 NULL
4252 };
4253
4254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4255 {
0439c23b 4256 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
4258 result = (wxWindow *)wxGetActiveWindow();
4259
4260 wxPyEndAllowThreads(__tstate);
110da5b0 4261 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4262 }
4263 {
412d302d 4264 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4265 }
4266 return resultobj;
4267 fail:
4268 return NULL;
4269}
4270
4271
4272static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject *resultobj;
4274 wxPoint *arg1 = 0 ;
4275 wxWindow *result;
4276 wxPoint temp1 ;
4277 PyObject * obj0 = 0 ;
4278 char *kwnames[] = {
4279 (char *) "pt", NULL
4280 };
4281
4282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4283 {
4284 arg1 = &temp1;
4285 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4286 }
4287 {
0439c23b 4288 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4291
4292 wxPyEndAllowThreads(__tstate);
110da5b0 4293 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4294 }
4295 {
412d302d 4296 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4297 }
4298 return resultobj;
4299 fail:
4300 return NULL;
4301}
4302
4303
4304static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj;
4306 wxPoint *arg1 = 0 ;
4307 wxWindow *result;
4308 wxPoint temp1 ;
4309 PyObject * obj0 = 0 ;
4310 char *kwnames[] = {
4311 (char *) "pt", NULL
4312 };
4313
4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4315 {
4316 arg1 = &temp1;
4317 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4318 }
4319 {
0439c23b 4320 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4321 PyThreadState* __tstate = wxPyBeginAllowThreads();
4322 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4323
4324 wxPyEndAllowThreads(__tstate);
110da5b0 4325 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4326 }
4327 {
412d302d 4328 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4329 }
4330 return resultobj;
4331 fail:
4332 return NULL;
4333}
4334
4335
4336static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4337 PyObject *resultobj;
4338 wxWindow *arg1 = (wxWindow *) 0 ;
4339 wxWindow *result;
4340 PyObject * obj0 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "win", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4348 {
0439c23b 4349 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 result = (wxWindow *)wxGetTopLevelParent(arg1);
4352
4353 wxPyEndAllowThreads(__tstate);
110da5b0 4354 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4355 }
4356 {
412d302d 4357 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4358 }
4359 return resultobj;
4360 fail:
4361 return NULL;
4362}
4363
4364
4365static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
4366 PyObject *resultobj;
4367 int arg1 ;
4368 bool result;
4369 PyObject * obj0 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "key", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4375 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 {
0439c23b 4378 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4381
4382 wxPyEndAllowThreads(__tstate);
110da5b0 4383 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4384 }
4385 {
4386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4387 }
4388 return resultobj;
4389 fail:
4390 return NULL;
4391}
4392
4393
4394static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 char *kwnames[] = {
4397 NULL
4398 };
4399
4400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4401 {
0439c23b 4402 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 wxWakeUpMainThread();
4405
4406 wxPyEndAllowThreads(__tstate);
110da5b0 4407 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4408 }
4409 Py_INCREF(Py_None); resultobj = Py_None;
4410 return resultobj;
4411 fail:
4412 return NULL;
4413}
4414
4415
4416static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4417 PyObject *resultobj;
4418 char *kwnames[] = {
4419 NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4423 {
0439c23b 4424 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 wxMutexGuiEnter();
4427
4428 wxPyEndAllowThreads(__tstate);
110da5b0 4429 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4430 }
4431 Py_INCREF(Py_None); resultobj = Py_None;
4432 return resultobj;
4433 fail:
4434 return NULL;
4435}
4436
4437
4438static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4439 PyObject *resultobj;
4440 char *kwnames[] = {
4441 NULL
4442 };
4443
4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4445 {
0439c23b 4446 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 wxMutexGuiLeave();
4449
4450 wxPyEndAllowThreads(__tstate);
110da5b0 4451 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4452 }
4453 Py_INCREF(Py_None); resultobj = Py_None;
4454 return resultobj;
4455 fail:
4456 return NULL;
4457}
4458
4459
4460static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4461 PyObject *resultobj;
4462 wxMutexGuiLocker *result;
4463 char *kwnames[] = {
4464 NULL
4465 };
4466
4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4468 {
0439c23b 4469 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4472
4473 wxPyEndAllowThreads(__tstate);
110da5b0 4474 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4475 }
4476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4477 return resultobj;
4478 fail:
4479 return NULL;
4480}
4481
4482
4483static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4484 PyObject *resultobj;
4485 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4486 PyObject * obj0 = 0 ;
4487 char *kwnames[] = {
4488 (char *) "self", NULL
4489 };
4490
4491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4494 {
4495 PyThreadState* __tstate = wxPyBeginAllowThreads();
4496 delete arg1;
4497
4498 wxPyEndAllowThreads(__tstate);
4499 if (PyErr_Occurred()) SWIG_fail;
4500 }
4501 Py_INCREF(Py_None); resultobj = Py_None;
4502 return resultobj;
4503 fail:
4504 return NULL;
4505}
4506
4507
4508static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4509 PyObject *obj;
4510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4511 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4512 Py_INCREF(obj);
4513 return Py_BuildValue((char *)"");
4514}
4515static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4516 PyObject *resultobj;
4517 bool result;
4518 char *kwnames[] = {
4519 NULL
4520 };
4521
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4523 {
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 result = (bool)wxThread_IsMain();
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 {
4531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4532 }
4533 return resultobj;
4534 fail:
4535 return NULL;
4536}
4537
4538
4539static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject *resultobj;
4541 wxString *arg1 = 0 ;
4542 wxToolTip *result;
4543 bool temp1 = False ;
4544 PyObject * obj0 = 0 ;
4545 char *kwnames[] = {
4546 (char *) "tip", NULL
4547 };
4548
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4550 {
4551 arg1 = wxString_in_helper(obj0);
4552 if (arg1 == NULL) SWIG_fail;
4553 temp1 = True;
4554 }
4555 {
0439c23b 4556 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4559
4560 wxPyEndAllowThreads(__tstate);
110da5b0 4561 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4562 }
4563 {
412d302d 4564 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
4565 }
4566 {
4567 if (temp1)
4568 delete arg1;
4569 }
4570 return resultobj;
4571 fail:
4572 {
4573 if (temp1)
4574 delete arg1;
4575 }
4576 return NULL;
4577}
4578
4579
4580static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4581 PyObject *resultobj;
4582 wxToolTip *arg1 = (wxToolTip *) 0 ;
4583 wxString *arg2 = 0 ;
4584 bool temp2 = False ;
4585 PyObject * obj0 = 0 ;
4586 PyObject * obj1 = 0 ;
4587 char *kwnames[] = {
4588 (char *) "self",(char *) "tip", NULL
4589 };
4590
4591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4594 {
4595 arg2 = wxString_in_helper(obj1);
4596 if (arg2 == NULL) SWIG_fail;
4597 temp2 = True;
4598 }
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 (arg1)->SetTip((wxString const &)*arg2);
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 Py_INCREF(Py_None); resultobj = Py_None;
4607 {
4608 if (temp2)
4609 delete arg2;
4610 }
4611 return resultobj;
4612 fail:
4613 {
4614 if (temp2)
4615 delete arg2;
4616 }
4617 return NULL;
4618}
4619
4620
4621static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 wxToolTip *arg1 = (wxToolTip *) 0 ;
4624 wxString result;
4625 PyObject * obj0 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 result = (arg1)->GetTip();
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 {
4641#if wxUSE_UNICODE
4642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4643#else
4644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4645#endif
4646 }
4647 return resultobj;
4648 fail:
4649 return NULL;
4650}
4651
4652
4653static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4654 PyObject *resultobj;
4655 wxToolTip *arg1 = (wxToolTip *) 0 ;
4656 wxWindow *result;
4657 PyObject * obj0 = 0 ;
4658 char *kwnames[] = {
4659 (char *) "self", NULL
4660 };
4661
4662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4665 {
4666 PyThreadState* __tstate = wxPyBeginAllowThreads();
4667 result = (wxWindow *)(arg1)->GetWindow();
4668
4669 wxPyEndAllowThreads(__tstate);
4670 if (PyErr_Occurred()) SWIG_fail;
4671 }
4672 {
412d302d 4673 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4674 }
4675 return resultobj;
4676 fail:
4677 return NULL;
4678}
4679
4680
4681static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj;
4683 bool arg1 ;
4684 PyObject * obj0 = 0 ;
4685 char *kwnames[] = {
4686 (char *) "flag", NULL
4687 };
4688
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4690 arg1 = (bool) SWIG_AsBool(obj0);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 wxToolTip::Enable(arg1);
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 Py_INCREF(Py_None); resultobj = Py_None;
4700 return resultobj;
4701 fail:
4702 return NULL;
4703}
4704
4705
4706static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4707 PyObject *resultobj;
4708 long arg1 ;
4709 PyObject * obj0 = 0 ;
4710 char *kwnames[] = {
4711 (char *) "milliseconds", NULL
4712 };
4713
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4715 arg1 = (long) SWIG_AsLong(obj0);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 wxToolTip::SetDelay(arg1);
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 Py_INCREF(Py_None); resultobj = Py_None;
4725 return resultobj;
4726 fail:
4727 return NULL;
4728}
4729
4730
4731static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4732 PyObject *obj;
4733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4734 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4735 Py_INCREF(obj);
4736 return Py_BuildValue((char *)"");
4737}
4738static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj;
4740 wxWindow *arg1 = (wxWindow *) 0 ;
4741 wxSize *arg2 = 0 ;
4742 wxCaret *result;
4743 wxSize temp2 ;
4744 PyObject * obj0 = 0 ;
4745 PyObject * obj1 = 0 ;
4746 char *kwnames[] = {
4747 (char *) "window",(char *) "size", NULL
4748 };
4749
4750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4753 {
4754 arg2 = &temp2;
4755 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4756 }
4757 {
0439c23b 4758 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4761
4762 wxPyEndAllowThreads(__tstate);
110da5b0 4763 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4764 }
4765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
4766 return resultobj;
4767 fail:
4768 return NULL;
4769}
4770
4771
4772static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4773 PyObject *resultobj;
4774 wxCaret *arg1 = (wxCaret *) 0 ;
4775 PyObject * obj0 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 delete arg1;
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 Py_INCREF(Py_None); resultobj = Py_None;
4791 return resultobj;
4792 fail:
4793 return NULL;
4794}
4795
4796
4797static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4798 PyObject *resultobj;
4799 wxCaret *arg1 = (wxCaret *) 0 ;
4800 bool result;
4801 PyObject * obj0 = 0 ;
4802 char *kwnames[] = {
4803 (char *) "self", NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 result = (bool)(arg1)->IsOk();
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 {
4817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4818 }
4819 return resultobj;
4820 fail:
4821 return NULL;
4822}
4823
4824
4825static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4826 PyObject *resultobj;
4827 wxCaret *arg1 = (wxCaret *) 0 ;
4828 bool result;
4829 PyObject * obj0 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 result = (bool)(arg1)->IsVisible();
4840
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 {
4845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4846 }
4847 return resultobj;
4848 fail:
4849 return NULL;
4850}
4851
4852
4853static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxCaret *arg1 = (wxCaret *) 0 ;
4856 wxPoint result;
4857 PyObject * obj0 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4865 {
4866 PyThreadState* __tstate = wxPyBeginAllowThreads();
4867 result = (arg1)->GetPosition();
4868
4869 wxPyEndAllowThreads(__tstate);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 {
4873 wxPoint * resultptr;
4874 resultptr = new wxPoint((wxPoint &) result);
4875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4876 }
4877 return resultobj;
4878 fail:
4879 return NULL;
4880}
4881
4882
4883static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject *resultobj;
4885 wxCaret *arg1 = (wxCaret *) 0 ;
4886 int *arg2 = (int *) 0 ;
4887 int *arg3 = (int *) 0 ;
4888 int temp2 ;
4889 int temp3 ;
4890 PyObject * obj0 = 0 ;
4891 char *kwnames[] = {
4892 (char *) "self", NULL
4893 };
4894
4895 arg2 = &temp2;
4896 arg3 = &temp3;
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 (arg1)->GetPosition(arg2,arg3);
4903
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 Py_INCREF(Py_None); resultobj = Py_None;
4908 {
4909 PyObject *o = PyInt_FromLong((long) (*arg2));
4910 resultobj = t_output_helper(resultobj,o);
4911 }
4912 {
4913 PyObject *o = PyInt_FromLong((long) (*arg3));
4914 resultobj = t_output_helper(resultobj,o);
4915 }
4916 return resultobj;
4917 fail:
4918 return NULL;
4919}
4920
4921
4922static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4923 PyObject *resultobj;
4924 wxCaret *arg1 = (wxCaret *) 0 ;
4925 wxSize result;
4926 PyObject * obj0 = 0 ;
4927 char *kwnames[] = {
4928 (char *) "self", NULL
4929 };
4930
4931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4934 {
4935 PyThreadState* __tstate = wxPyBeginAllowThreads();
4936 result = (arg1)->GetSize();
4937
4938 wxPyEndAllowThreads(__tstate);
4939 if (PyErr_Occurred()) SWIG_fail;
4940 }
4941 {
4942 wxSize * resultptr;
4943 resultptr = new wxSize((wxSize &) result);
4944 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4945 }
4946 return resultobj;
4947 fail:
4948 return NULL;
4949}
4950
4951
4952static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4953 PyObject *resultobj;
4954 wxCaret *arg1 = (wxCaret *) 0 ;
4955 int *arg2 = (int *) 0 ;
4956 int *arg3 = (int *) 0 ;
4957 int temp2 ;
4958 int temp3 ;
4959 PyObject * obj0 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self", NULL
4962 };
4963
4964 arg2 = &temp2;
4965 arg3 = &temp3;
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 (arg1)->GetSize(arg2,arg3);
4972
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 Py_INCREF(Py_None); resultobj = Py_None;
4977 {
4978 PyObject *o = PyInt_FromLong((long) (*arg2));
4979 resultobj = t_output_helper(resultobj,o);
4980 }
4981 {
4982 PyObject *o = PyInt_FromLong((long) (*arg3));
4983 resultobj = t_output_helper(resultobj,o);
4984 }
4985 return resultobj;
4986 fail:
4987 return NULL;
4988}
4989
4990
4991static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj;
4993 wxCaret *arg1 = (wxCaret *) 0 ;
4994 wxWindow *result;
4995 PyObject * obj0 = 0 ;
4996 char *kwnames[] = {
4997 (char *) "self", NULL
4998 };
4999
5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
5001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 result = (wxWindow *)(arg1)->GetWindow();
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 {
412d302d 5011 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5012 }
5013 return resultobj;
5014 fail:
5015 return NULL;
5016}
5017
5018
5019static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj;
5021 wxCaret *arg1 = (wxCaret *) 0 ;
5022 int arg2 ;
5023 int arg3 ;
5024 PyObject * obj0 = 0 ;
5025 PyObject * obj1 = 0 ;
5026 PyObject * obj2 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self",(char *) "x",(char *) "y", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5034 arg2 = (int) SWIG_AsInt(obj1);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 arg3 = (int) SWIG_AsInt(obj2);
5037 if (PyErr_Occurred()) SWIG_fail;
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 (arg1)->Move(arg2,arg3);
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 Py_INCREF(Py_None); resultobj = Py_None;
5046 return resultobj;
5047 fail:
5048 return NULL;
5049}
5050
5051
5052static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
5053 PyObject *resultobj;
5054 wxCaret *arg1 = (wxCaret *) 0 ;
5055 wxPoint *arg2 = 0 ;
5056 wxPoint temp2 ;
5057 PyObject * obj0 = 0 ;
5058 PyObject * obj1 = 0 ;
5059 char *kwnames[] = {
5060 (char *) "self",(char *) "pt", NULL
5061 };
5062
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
5064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5066 {
5067 arg2 = &temp2;
5068 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5069 }
5070 {
5071 PyThreadState* __tstate = wxPyBeginAllowThreads();
5072 (arg1)->Move((wxPoint const &)*arg2);
5073
5074 wxPyEndAllowThreads(__tstate);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 }
5077 Py_INCREF(Py_None); resultobj = Py_None;
5078 return resultobj;
5079 fail:
5080 return NULL;
5081}
5082
5083
5084static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
5085 PyObject *resultobj;
5086 wxCaret *arg1 = (wxCaret *) 0 ;
5087 int arg2 ;
5088 int arg3 ;
5089 PyObject * obj0 = 0 ;
5090 PyObject * obj1 = 0 ;
5091 PyObject * obj2 = 0 ;
5092 char *kwnames[] = {
5093 (char *) "self",(char *) "width",(char *) "height", NULL
5094 };
5095
5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
5097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5099 arg2 = (int) SWIG_AsInt(obj1);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 arg3 = (int) SWIG_AsInt(obj2);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->SetSize(arg2,arg3);
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 Py_INCREF(Py_None); resultobj = Py_None;
5111 return resultobj;
5112 fail:
5113 return NULL;
5114}
5115
5116
5117static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj;
5119 wxCaret *arg1 = (wxCaret *) 0 ;
5120 wxSize *arg2 = 0 ;
5121 wxSize temp2 ;
5122 PyObject * obj0 = 0 ;
5123 PyObject * obj1 = 0 ;
5124 char *kwnames[] = {
5125 (char *) "self",(char *) "size", NULL
5126 };
5127
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
5129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5131 {
5132 arg2 = &temp2;
5133 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5134 }
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 (arg1)->SetSize((wxSize const &)*arg2);
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 Py_INCREF(Py_None); resultobj = Py_None;
5143 return resultobj;
5144 fail:
5145 return NULL;
5146}
5147
5148
5149static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5150 PyObject *resultobj;
5151 wxCaret *arg1 = (wxCaret *) 0 ;
5152 int arg2 = (int) True ;
5153 PyObject * obj0 = 0 ;
5154 PyObject * obj1 = 0 ;
5155 char *kwnames[] = {
5156 (char *) "self",(char *) "show", NULL
5157 };
5158
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
5160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5162 if (obj1) {
5163 arg2 = (int) SWIG_AsInt(obj1);
5164 if (PyErr_Occurred()) SWIG_fail;
5165 }
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 (arg1)->Show(arg2);
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 Py_INCREF(Py_None); resultobj = Py_None;
5174 return resultobj;
5175 fail:
5176 return NULL;
5177}
5178
5179
5180static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
5181 PyObject *resultobj;
5182 wxCaret *arg1 = (wxCaret *) 0 ;
5183 PyObject * obj0 = 0 ;
5184 char *kwnames[] = {
5185 (char *) "self", NULL
5186 };
5187
5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
5189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 (arg1)->Hide();
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 Py_INCREF(Py_None); resultobj = Py_None;
5199 return resultobj;
5200 fail:
5201 return NULL;
5202}
5203
5204
5205static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
5206 PyObject *obj;
5207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5208 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
5209 Py_INCREF(obj);
5210 return Py_BuildValue((char *)"");
5211}
5212static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj;
5214 int result;
5215 char *kwnames[] = {
5216 NULL
5217 };
5218
5219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
5220 {
5221 PyThreadState* __tstate = wxPyBeginAllowThreads();
5222 result = (int)wxCaret_GetBlinkTime();
5223
5224 wxPyEndAllowThreads(__tstate);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 resultobj = SWIG_FromInt((int)result);
5228 return resultobj;
5229 fail:
5230 return NULL;
5231}
5232
5233
5234static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5235 PyObject *resultobj;
5236 int arg1 ;
5237 PyObject * obj0 = 0 ;
5238 char *kwnames[] = {
5239 (char *) "milliseconds", NULL
5240 };
5241
5242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
5243 arg1 = (int) SWIG_AsInt(obj0);
5244 if (PyErr_Occurred()) SWIG_fail;
5245 {
5246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5247 wxCaret_SetBlinkTime(arg1);
5248
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 Py_INCREF(Py_None); resultobj = Py_None;
5253 return resultobj;
5254 fail:
5255 return NULL;
5256}
5257
5258
5259static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5260 PyObject *resultobj;
5261 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5262 wxBusyCursor *result;
5263 PyObject * obj0 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "cursor", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5269 if (obj0) {
5270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5272 }
5273 {
0439c23b 5274 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5277
5278 wxPyEndAllowThreads(__tstate);
110da5b0 5279 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5280 }
5281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5282 return resultobj;
5283 fail:
5284 return NULL;
5285}
5286
5287
5288static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5289 PyObject *resultobj;
5290 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5291 PyObject * obj0 = 0 ;
5292 char *kwnames[] = {
5293 (char *) "self", NULL
5294 };
5295
5296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5299 {
5300 PyThreadState* __tstate = wxPyBeginAllowThreads();
5301 delete arg1;
5302
5303 wxPyEndAllowThreads(__tstate);
5304 if (PyErr_Occurred()) SWIG_fail;
5305 }
5306 Py_INCREF(Py_None); resultobj = Py_None;
5307 return resultobj;
5308 fail:
5309 return NULL;
5310}
5311
5312
5313static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
5314 PyObject *obj;
5315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5316 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5317 Py_INCREF(obj);
5318 return Py_BuildValue((char *)"");
5319}
5320static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5321 PyObject *resultobj;
5322 wxWindow *arg1 = (wxWindow *) NULL ;
5323 wxWindowDisabler *result;
5324 PyObject * obj0 = 0 ;
5325 char *kwnames[] = {
5326 (char *) "winToSkip", NULL
5327 };
5328
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5330 if (obj0) {
5331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5333 }
5334 {
0439c23b 5335 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
5337 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5338
5339 wxPyEndAllowThreads(__tstate);
110da5b0 5340 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5341 }
5342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5343 return resultobj;
5344 fail:
5345 return NULL;
5346}
5347
5348
5349static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject *resultobj;
5351 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5352 PyObject * obj0 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 delete arg1;
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 Py_INCREF(Py_None); resultobj = Py_None;
5368 return resultobj;
5369 fail:
5370 return NULL;
5371}
5372
5373
5374static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
5375 PyObject *obj;
5376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5377 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5378 Py_INCREF(obj);
5379 return Py_BuildValue((char *)"");
5380}
5381static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5382 PyObject *resultobj;
5383 wxString *arg1 = 0 ;
5384 wxBusyInfo *result;
5385 bool temp1 = False ;
5386 PyObject * obj0 = 0 ;
5387 char *kwnames[] = {
5388 (char *) "message", NULL
5389 };
5390
5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5392 {
5393 arg1 = wxString_in_helper(obj0);
5394 if (arg1 == NULL) SWIG_fail;
5395 temp1 = True;
5396 }
5397 {
0439c23b 5398 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5399 PyThreadState* __tstate = wxPyBeginAllowThreads();
5400 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5401
5402 wxPyEndAllowThreads(__tstate);
110da5b0 5403 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5404 }
5405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5406 {
5407 if (temp1)
5408 delete arg1;
5409 }
5410 return resultobj;
5411 fail:
5412 {
5413 if (temp1)
5414 delete arg1;
5415 }
5416 return NULL;
5417}
5418
5419
5420static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5423 PyObject * obj0 = 0 ;
5424 char *kwnames[] = {
5425 (char *) "self", NULL
5426 };
5427
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 delete arg1;
5434
5435 wxPyEndAllowThreads(__tstate);
5436 if (PyErr_Occurred()) SWIG_fail;
5437 }
5438 Py_INCREF(Py_None); resultobj = Py_None;
5439 return resultobj;
5440 fail:
5441 return NULL;
5442}
5443
5444
5445static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5446 PyObject *obj;
5447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5448 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5449 Py_INCREF(obj);
5450 return Py_BuildValue((char *)"");
5451}
5452static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj;
5454 wxStopWatch *result;
5455 char *kwnames[] = {
5456 NULL
5457 };
5458
5459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 result = (wxStopWatch *)new wxStopWatch();
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5468 return resultobj;
5469 fail:
5470 return NULL;
5471}
5472
5473
5474static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5477 long arg2 = (long) 0 ;
5478 PyObject * obj0 = 0 ;
5479 PyObject * obj1 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self",(char *) "t0", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5487 if (obj1) {
5488 arg2 = (long) SWIG_AsLong(obj1);
5489 if (PyErr_Occurred()) SWIG_fail;
5490 }
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 (arg1)->Start(arg2);
5494
5495 wxPyEndAllowThreads(__tstate);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
5498 Py_INCREF(Py_None); resultobj = Py_None;
5499 return resultobj;
5500 fail:
5501 return NULL;
5502}
5503
5504
5505static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5506 PyObject *resultobj;
5507 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5508 PyObject * obj0 = 0 ;
5509 char *kwnames[] = {
5510 (char *) "self", NULL
5511 };
5512
5513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 (arg1)->Pause();
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 Py_INCREF(Py_None); resultobj = Py_None;
5524 return resultobj;
5525 fail:
5526 return NULL;
5527}
5528
5529
5530static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5531 PyObject *resultobj;
5532 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5533 PyObject * obj0 = 0 ;
5534 char *kwnames[] = {
5535 (char *) "self", NULL
5536 };
5537
5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 (arg1)->Resume();
5544
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 Py_INCREF(Py_None); resultobj = Py_None;
5549 return resultobj;
5550 fail:
5551 return NULL;
5552}
5553
5554
5555static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5556 PyObject *resultobj;
5557 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5558 long result;
5559 PyObject * obj0 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "self", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 result = (long)((wxStopWatch const *)arg1)->Time();
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 resultobj = SWIG_FromLong((long)result);
5575 return resultobj;
5576 fail:
5577 return NULL;
5578}
5579
5580
5581static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5582 PyObject *obj;
5583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5584 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5585 Py_INCREF(obj);
5586 return Py_BuildValue((char *)"");
5587}
5588static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5589 PyObject *resultobj;
5590 int arg1 = (int) 9 ;
5591 wxFileHistory *result;
5592 PyObject * obj0 = 0 ;
5593 char *kwnames[] = {
5594 (char *) "maxFiles", NULL
5595 };
5596
5597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5598 if (obj0) {
5599 arg1 = (int) SWIG_AsInt(obj0);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 result = (wxFileHistory *)new wxFileHistory(arg1);
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5610 return resultobj;
5611 fail:
5612 return NULL;
5613}
5614
5615
5616static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj;
5618 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5619 PyObject * obj0 = 0 ;
5620 char *kwnames[] = {
5621 (char *) "self", NULL
5622 };
5623
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 delete arg1;
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 Py_INCREF(Py_None); resultobj = Py_None;
5635 return resultobj;
5636 fail:
5637 return NULL;
5638}
5639
5640
5641static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5642 PyObject *resultobj;
5643 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5644 wxString *arg2 = 0 ;
5645 bool temp2 = False ;
5646 PyObject * obj0 = 0 ;
5647 PyObject * obj1 = 0 ;
5648 char *kwnames[] = {
5649 (char *) "self",(char *) "file", NULL
5650 };
5651
5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5655 {
5656 arg2 = wxString_in_helper(obj1);
5657 if (arg2 == NULL) SWIG_fail;
5658 temp2 = True;
5659 }
5660 {
5661 PyThreadState* __tstate = wxPyBeginAllowThreads();
5662 (arg1)->AddFileToHistory((wxString const &)*arg2);
5663
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 Py_INCREF(Py_None); resultobj = Py_None;
5668 {
5669 if (temp2)
5670 delete arg2;
5671 }
5672 return resultobj;
5673 fail:
5674 {
5675 if (temp2)
5676 delete arg2;
5677 }
5678 return NULL;
5679}
5680
5681
5682static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5683 PyObject *resultobj;
5684 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5685 int arg2 ;
5686 PyObject * obj0 = 0 ;
5687 PyObject * obj1 = 0 ;
5688 char *kwnames[] = {
5689 (char *) "self",(char *) "i", NULL
5690 };
5691
5692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5695 arg2 = (int) SWIG_AsInt(obj1);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 (arg1)->RemoveFileFromHistory(arg2);
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 Py_INCREF(Py_None); resultobj = Py_None;
5705 return resultobj;
5706 fail:
5707 return NULL;
5708}
5709
5710
5711static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5712 PyObject *resultobj;
5713 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5714 int result;
5715 PyObject * obj0 = 0 ;
5716 char *kwnames[] = {
5717 (char *) "self", NULL
5718 };
5719
5720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5723 {
5724 PyThreadState* __tstate = wxPyBeginAllowThreads();
5725 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5726
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 resultobj = SWIG_FromInt((int)result);
5731 return resultobj;
5732 fail:
5733 return NULL;
5734}
5735
5736
5737static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5738 PyObject *resultobj;
5739 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5740 wxMenu *arg2 = (wxMenu *) 0 ;
5741 PyObject * obj0 = 0 ;
5742 PyObject * obj1 = 0 ;
5743 char *kwnames[] = {
5744 (char *) "self",(char *) "menu", NULL
5745 };
5746
5747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5752 {
5753 PyThreadState* __tstate = wxPyBeginAllowThreads();
5754 (arg1)->UseMenu(arg2);
5755
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 Py_INCREF(Py_None); resultobj = Py_None;
5760 return resultobj;
5761 fail:
5762 return NULL;
5763}
5764
5765
5766static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5767 PyObject *resultobj;
5768 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5769 wxMenu *arg2 = (wxMenu *) 0 ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "self",(char *) "menu", NULL
5774 };
5775
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 (arg1)->RemoveMenu(arg2);
5784
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 Py_INCREF(Py_None); resultobj = Py_None;
5789 return resultobj;
5790 fail:
5791 return NULL;
5792}
5793
5794
5795static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject *resultobj;
5797 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5798 wxConfigBase *arg2 = 0 ;
5799 PyObject * obj0 = 0 ;
5800 PyObject * obj1 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self",(char *) "config", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5809 SWIG_POINTER_EXCEPTION | 0)) == -1)
5810 SWIG_fail;
5811 if (arg2 == NULL) {
5812 PyErr_SetString(PyExc_TypeError,"null reference");
5813 SWIG_fail;
5814 }
5815 {
5816 PyThreadState* __tstate = wxPyBeginAllowThreads();
5817 (arg1)->Load(*arg2);
5818
5819 wxPyEndAllowThreads(__tstate);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 }
5822 Py_INCREF(Py_None); resultobj = Py_None;
5823 return resultobj;
5824 fail:
5825 return NULL;
5826}
5827
5828
5829static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5830 PyObject *resultobj;
5831 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5832 wxConfigBase *arg2 = 0 ;
5833 PyObject * obj0 = 0 ;
5834 PyObject * obj1 = 0 ;
5835 char *kwnames[] = {
5836 (char *) "self",(char *) "config", NULL
5837 };
5838
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5843 SWIG_POINTER_EXCEPTION | 0)) == -1)
5844 SWIG_fail;
5845 if (arg2 == NULL) {
5846 PyErr_SetString(PyExc_TypeError,"null reference");
5847 SWIG_fail;
5848 }
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 (arg1)->Save(*arg2);
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 Py_INCREF(Py_None); resultobj = Py_None;
5857 return resultobj;
5858 fail:
5859 return NULL;
5860}
5861
5862
5863static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5864 PyObject *resultobj;
5865 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5866 PyObject * obj0 = 0 ;
5867 char *kwnames[] = {
5868 (char *) "self", NULL
5869 };
5870
5871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5874 {
5875 PyThreadState* __tstate = wxPyBeginAllowThreads();
5876 (arg1)->AddFilesToMenu();
5877
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 Py_INCREF(Py_None); resultobj = Py_None;
5882 return resultobj;
5883 fail:
5884 return NULL;
5885}
5886
5887
5888static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5889 PyObject *resultobj;
5890 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5891 wxMenu *arg2 = (wxMenu *) 0 ;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self",(char *) "menu", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5901 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 (arg1)->AddFilesToMenu(arg2);
5906
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 Py_INCREF(Py_None); resultobj = Py_None;
5911 return resultobj;
5912 fail:
5913 return NULL;
5914}
5915
5916
5917static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5918 PyObject *resultobj;
5919 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5920 int arg2 ;
5921 wxString result;
5922 PyObject * obj0 = 0 ;
5923 PyObject * obj1 = 0 ;
5924 char *kwnames[] = {
5925 (char *) "self",(char *) "i", NULL
5926 };
5927
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5931 arg2 = (int) SWIG_AsInt(obj1);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 {
5941#if wxUSE_UNICODE
5942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5943#else
5944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5945#endif
5946 }
5947 return resultobj;
5948 fail:
5949 return NULL;
5950}
5951
5952
5953static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5954 PyObject *resultobj;
5955 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5956 int result;
5957 PyObject * obj0 = 0 ;
5958 char *kwnames[] = {
5959 (char *) "self", NULL
5960 };
5961
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 result = (int)((wxFileHistory const *)arg1)->GetCount();
5968
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 resultobj = SWIG_FromInt((int)result);
5973 return resultobj;
5974 fail:
5975 return NULL;
5976}
5977
5978
5979static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5980 PyObject *obj;
5981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5982 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5983 Py_INCREF(obj);
5984 return Py_BuildValue((char *)"");
5985}
5986static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj;
5988 wxString *arg1 = 0 ;
5989 wxString const &arg2_defvalue = wxPyEmptyString ;
5990 wxString *arg2 = (wxString *) &arg2_defvalue ;
5991 wxSingleInstanceChecker *result;
5992 bool temp1 = False ;
5993 bool temp2 = False ;
5994 PyObject * obj0 = 0 ;
5995 PyObject * obj1 = 0 ;
5996 char *kwnames[] = {
5997 (char *) "name",(char *) "path", NULL
5998 };
5999
6000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
6001 {
6002 arg1 = wxString_in_helper(obj0);
6003 if (arg1 == NULL) SWIG_fail;
6004 temp1 = True;
6005 }
6006 if (obj1) {
6007 {
6008 arg2 = wxString_in_helper(obj1);
6009 if (arg2 == NULL) SWIG_fail;
6010 temp2 = True;
6011 }
6012 }
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6021 {
6022 if (temp1)
6023 delete arg1;
6024 }
6025 {
6026 if (temp2)
6027 delete arg2;
6028 }
6029 return resultobj;
6030 fail:
6031 {
6032 if (temp1)
6033 delete arg1;
6034 }
6035 {
6036 if (temp2)
6037 delete arg2;
6038 }
6039 return NULL;
6040}
6041
6042
6043static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxSingleInstanceChecker *result;
6046 char *kwnames[] = {
6047 NULL
6048 };
6049
6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
6051 {
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6053 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
6054
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6059 return resultobj;
6060 fail:
6061 return NULL;
6062}
6063
6064
6065static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj;
6067 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6068 PyObject * obj0 = 0 ;
6069 char *kwnames[] = {
6070 (char *) "self", NULL
6071 };
6072
6073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
6074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 delete arg1;
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 Py_INCREF(Py_None); resultobj = Py_None;
6084 return resultobj;
6085 fail:
6086 return NULL;
6087}
6088
6089
6090static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj;
6092 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6093 wxString *arg2 = 0 ;
6094 wxString const &arg3_defvalue = wxPyEmptyString ;
6095 wxString *arg3 = (wxString *) &arg3_defvalue ;
6096 bool result;
6097 bool temp2 = False ;
6098 bool temp3 = False ;
6099 PyObject * obj0 = 0 ;
6100 PyObject * obj1 = 0 ;
6101 PyObject * obj2 = 0 ;
6102 char *kwnames[] = {
6103 (char *) "self",(char *) "name",(char *) "path", NULL
6104 };
6105
6106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
6107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6109 {
6110 arg2 = wxString_in_helper(obj1);
6111 if (arg2 == NULL) SWIG_fail;
6112 temp2 = True;
6113 }
6114 if (obj2) {
6115 {
6116 arg3 = wxString_in_helper(obj2);
6117 if (arg3 == NULL) SWIG_fail;
6118 temp3 = True;
6119 }
6120 }
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 {
6129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6130 }
6131 {
6132 if (temp2)
6133 delete arg2;
6134 }
6135 {
6136 if (temp3)
6137 delete arg3;
6138 }
6139 return resultobj;
6140 fail:
6141 {
6142 if (temp2)
6143 delete arg2;
6144 }
6145 {
6146 if (temp3)
6147 delete arg3;
6148 }
6149 return NULL;
6150}
6151
6152
6153static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject *resultobj;
6155 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6156 bool result;
6157 PyObject * obj0 = 0 ;
6158 char *kwnames[] = {
6159 (char *) "self", NULL
6160 };
6161
6162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
6163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6165 {
6166 PyThreadState* __tstate = wxPyBeginAllowThreads();
6167 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
6168
6169 wxPyEndAllowThreads(__tstate);
6170 if (PyErr_Occurred()) SWIG_fail;
6171 }
6172 {
6173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6174 }
6175 return resultobj;
6176 fail:
6177 return NULL;
6178}
6179
6180
6181static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
6182 PyObject *obj;
6183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6184 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
6185 Py_INCREF(obj);
6186 return Py_BuildValue((char *)"");
6187}
6188static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
6189 PyObject *resultobj;
6190 wxWindow *arg1 = (wxWindow *) 0 ;
6191 wxDC *arg2 = 0 ;
6192 int arg3 ;
6193 PyObject * obj0 = 0 ;
6194 PyObject * obj1 = 0 ;
6195 PyObject * obj2 = 0 ;
6196 char *kwnames[] = {
6197 (char *) "window",(char *) "dc",(char *) "method", NULL
6198 };
6199
6200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
6201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6204 SWIG_POINTER_EXCEPTION | 0)) == -1)
6205 SWIG_fail;
6206 if (arg2 == NULL) {
6207 PyErr_SetString(PyExc_TypeError,"null reference");
6208 SWIG_fail;
6209 }
6210 arg3 = (int) SWIG_AsInt(obj2);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
6215
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
6219 Py_INCREF(Py_None); resultobj = Py_None;
6220 return resultobj;
6221 fail:
6222 return NULL;
6223}
6224
6225
6226static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6227 PyObject *resultobj;
6228 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6229 PyObject * obj0 = 0 ;
6230 char *kwnames[] = {
6231 (char *) "self", NULL
6232 };
6233
6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
6235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6237 {
6238 PyThreadState* __tstate = wxPyBeginAllowThreads();
6239 delete arg1;
6240
6241 wxPyEndAllowThreads(__tstate);
6242 if (PyErr_Occurred()) SWIG_fail;
6243 }
6244 Py_INCREF(Py_None); resultobj = Py_None;
6245 return resultobj;
6246 fail:
6247 return NULL;
6248}
6249
6250
6251static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6252 PyObject *resultobj;
6253 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6254 wxString result;
6255 PyObject * obj0 = 0 ;
6256 char *kwnames[] = {
6257 (char *) "self", NULL
6258 };
6259
6260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6263 {
6264 PyThreadState* __tstate = wxPyBeginAllowThreads();
6265 result = (arg1)->GetTip();
6266
6267 wxPyEndAllowThreads(__tstate);
6268 if (PyErr_Occurred()) SWIG_fail;
6269 }
6270 {
6271#if wxUSE_UNICODE
6272 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6273#else
6274 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6275#endif
6276 }
6277 return resultobj;
6278 fail:
6279 return NULL;
6280}
6281
6282
6283static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj;
6285 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6286 size_t result;
6287 PyObject * obj0 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6295 {
6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
6297 result = (size_t)(arg1)->GetCurrentTip();
6298
6299 wxPyEndAllowThreads(__tstate);
6300 if (PyErr_Occurred()) SWIG_fail;
6301 }
6302 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
6303 return resultobj;
6304 fail:
6305 return NULL;
6306}
6307
6308
6309static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6310 PyObject *resultobj;
6311 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6312 wxString *arg2 = 0 ;
6313 wxString result;
6314 bool temp2 = False ;
6315 PyObject * obj0 = 0 ;
6316 PyObject * obj1 = 0 ;
6317 char *kwnames[] = {
6318 (char *) "self",(char *) "tip", NULL
6319 };
6320
6321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6324 {
6325 arg2 = wxString_in_helper(obj1);
6326 if (arg2 == NULL) SWIG_fail;
6327 temp2 = True;
6328 }
6329 {
6330 PyThreadState* __tstate = wxPyBeginAllowThreads();
6331 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6332
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
6336 {
6337#if wxUSE_UNICODE
6338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6339#else
6340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6341#endif
6342 }
6343 {
6344 if (temp2)
6345 delete arg2;
6346 }
6347 return resultobj;
6348 fail:
6349 {
6350 if (temp2)
6351 delete arg2;
6352 }
6353 return NULL;
6354}
6355
6356
6357static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
6358 PyObject *obj;
6359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6360 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6361 Py_INCREF(obj);
6362 return Py_BuildValue((char *)"");
6363}
6364static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6365 PyObject *resultobj;
6366 size_t arg1 ;
6367 wxPyTipProvider *result;
6368 PyObject * obj0 = 0 ;
6369 char *kwnames[] = {
6370 (char *) "currentTip", NULL
6371 };
6372
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6374 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6384 return resultobj;
6385 fail:
6386 return NULL;
6387}
6388
6389
6390static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6391 PyObject *resultobj;
6392 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6393 PyObject *arg2 = (PyObject *) 0 ;
6394 PyObject *arg3 = (PyObject *) 0 ;
6395 PyObject * obj0 = 0 ;
6396 PyObject * obj1 = 0 ;
6397 PyObject * obj2 = 0 ;
6398 char *kwnames[] = {
6399 (char *) "self",(char *) "self",(char *) "_class", NULL
6400 };
6401
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6405 arg2 = obj1;
6406 arg3 = obj2;
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 (arg1)->_setCallbackInfo(arg2,arg3);
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
6414 Py_INCREF(Py_None); resultobj = Py_None;
6415 return resultobj;
6416 fail:
6417 return NULL;
6418}
6419
6420
6421static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
6422 PyObject *obj;
6423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6424 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6425 Py_INCREF(obj);
6426 return Py_BuildValue((char *)"");
6427}
6428static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6429 PyObject *resultobj;
6430 wxWindow *arg1 = (wxWindow *) 0 ;
6431 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6432 bool arg3 = (bool) True ;
6433 bool result;
6434 PyObject * obj0 = 0 ;
6435 PyObject * obj1 = 0 ;
6436 PyObject * obj2 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6446 if (obj2) {
6447 arg3 = (bool) SWIG_AsBool(obj2);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 {
0439c23b 6451 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 result = (bool)wxShowTip(arg1,arg2,arg3);
6454
6455 wxPyEndAllowThreads(__tstate);
110da5b0 6456 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6457 }
6458 {
6459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6460 }
6461 return resultobj;
6462 fail:
6463 return NULL;
6464}
6465
6466
6467static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6468 PyObject *resultobj;
6469 wxString *arg1 = 0 ;
6470 size_t arg2 ;
6471 wxTipProvider *result;
6472 bool temp1 = False ;
6473 PyObject * obj0 = 0 ;
6474 PyObject * obj1 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "filename",(char *) "currentTip", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6480 {
6481 arg1 = wxString_in_helper(obj0);
6482 if (arg1 == NULL) SWIG_fail;
6483 temp1 = True;
6484 }
6485 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 {
0439c23b 6488 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6491
6492 wxPyEndAllowThreads(__tstate);
110da5b0 6493 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6494 }
6495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6496 {
6497 if (temp1)
6498 delete arg1;
6499 }
6500 return resultobj;
6501 fail:
6502 {
6503 if (temp1)
6504 delete arg1;
6505 }
6506 return NULL;
6507}
6508
6509
6510static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6511 PyObject *resultobj;
6512 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6513 int arg2 = (int) -1 ;
6514 wxPyTimer *result;
6515 PyObject * obj0 = 0 ;
6516 PyObject * obj1 = 0 ;
6517 char *kwnames[] = {
6518 (char *) "owner",(char *) "id", NULL
6519 };
6520
6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6522 if (obj0) {
6523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6525 }
6526 if (obj1) {
6527 arg2 = (int) SWIG_AsInt(obj1);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 {
0439c23b 6531 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6532 PyThreadState* __tstate = wxPyBeginAllowThreads();
6533 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6534
6535 wxPyEndAllowThreads(__tstate);
110da5b0 6536 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6537 }
6538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6539 return resultobj;
6540 fail:
6541 return NULL;
6542}
6543
6544
6545static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj;
6547 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6548 PyObject * obj0 = 0 ;
6549 char *kwnames[] = {
6550 (char *) "self", NULL
6551 };
6552
6553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
6558 delete arg1;
6559
6560 wxPyEndAllowThreads(__tstate);
6561 if (PyErr_Occurred()) SWIG_fail;
6562 }
6563 Py_INCREF(Py_None); resultobj = Py_None;
6564 return resultobj;
6565 fail:
6566 return NULL;
6567}
6568
6569
6570static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6571 PyObject *resultobj;
6572 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6573 PyObject *arg2 = (PyObject *) 0 ;
6574 PyObject *arg3 = (PyObject *) 0 ;
6575 int arg4 = (int) 1 ;
6576 PyObject * obj0 = 0 ;
6577 PyObject * obj1 = 0 ;
6578 PyObject * obj2 = 0 ;
6579 PyObject * obj3 = 0 ;
6580 char *kwnames[] = {
6581 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6582 };
6583
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6587 arg2 = obj1;
6588 arg3 = obj2;
6589 if (obj3) {
6590 arg4 = (int) SWIG_AsInt(obj3);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 Py_INCREF(Py_None); resultobj = Py_None;
6601 return resultobj;
6602 fail:
6603 return NULL;
6604}
6605
6606
6607static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj;
6609 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6610 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6611 int arg3 = (int) -1 ;
6612 PyObject * obj0 = 0 ;
6613 PyObject * obj1 = 0 ;
6614 PyObject * obj2 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "owner",(char *) "id", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6624 if (obj2) {
6625 arg3 = (int) SWIG_AsInt(obj2);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 (arg1)->SetOwner(arg2,arg3);
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 Py_INCREF(Py_None); resultobj = Py_None;
6636 return resultobj;
6637 fail:
6638 return NULL;
6639}
6640
6641
1a6bba1e
RD
6642static PyObject *_wrap_Timer_GetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj;
6644 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6645 wxEvtHandler *result;
6646 PyObject * obj0 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 result = (wxEvtHandler *)(arg1)->GetOwner();
6657
6658 wxPyEndAllowThreads(__tstate);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
6661 {
412d302d 6662 resultobj = wxPyMake_wxObject(result, 0);
1a6bba1e
RD
6663 }
6664 return resultobj;
6665 fail:
6666 return NULL;
6667}
6668
6669
d55e5bfc
RD
6670static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6671 PyObject *resultobj;
6672 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6673 int arg2 = (int) -1 ;
6674 bool arg3 = (bool) False ;
6675 bool result;
6676 PyObject * obj0 = 0 ;
6677 PyObject * obj1 = 0 ;
6678 PyObject * obj2 = 0 ;
6679 char *kwnames[] = {
6680 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6681 };
6682
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6686 if (obj1) {
6687 arg2 = (int) SWIG_AsInt(obj1);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 if (obj2) {
6691 arg3 = (bool) SWIG_AsBool(obj2);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 result = (bool)(arg1)->Start(arg2,arg3);
6697
6698 wxPyEndAllowThreads(__tstate);
6699 if (PyErr_Occurred()) SWIG_fail;
6700 }
6701 {
6702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6703 }
6704 return resultobj;
6705 fail:
6706 return NULL;
6707}
6708
6709
6710static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj;
6712 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6713 PyObject * obj0 = 0 ;
6714 char *kwnames[] = {
6715 (char *) "self", NULL
6716 };
6717
6718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6721 {
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 (arg1)->Stop();
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 Py_INCREF(Py_None); resultobj = Py_None;
6729 return resultobj;
6730 fail:
6731 return NULL;
6732}
6733
6734
6735static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj;
6737 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6738 bool result;
6739 PyObject * obj0 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6750
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 {
6755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6756 }
6757 return resultobj;
6758 fail:
6759 return NULL;
6760}
6761
6762
6763static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6766 int result;
6767 PyObject * obj0 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6778
6779 wxPyEndAllowThreads(__tstate);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 }
6782 resultobj = SWIG_FromInt((int)result);
6783 return resultobj;
6784 fail:
6785 return NULL;
6786}
6787
6788
6789static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6790 PyObject *resultobj;
6791 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6792 bool result;
6793 PyObject * obj0 = 0 ;
6794 char *kwnames[] = {
6795 (char *) "self", NULL
6796 };
6797
6798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6801 {
6802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6803 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6804
6805 wxPyEndAllowThreads(__tstate);
6806 if (PyErr_Occurred()) SWIG_fail;
6807 }
6808 {
6809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6810 }
6811 return resultobj;
6812 fail:
6813 return NULL;
6814}
6815
6816
6817static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6818 PyObject *resultobj;
6819 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6820 int result;
6821 PyObject * obj0 = 0 ;
6822 char *kwnames[] = {
6823 (char *) "self", NULL
6824 };
6825
6826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 result = (int)((wxPyTimer const *)arg1)->GetId();
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 resultobj = SWIG_FromInt((int)result);
6837 return resultobj;
6838 fail:
6839 return NULL;
6840}
6841
6842
6843static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6844 PyObject *obj;
6845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6846 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6847 Py_INCREF(obj);
6848 return Py_BuildValue((char *)"");
6849}
6850static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6851 PyObject *resultobj;
6852 int arg1 = (int) 0 ;
6853 int arg2 = (int) 0 ;
6854 wxTimerEvent *result;
6855 PyObject * obj0 = 0 ;
6856 PyObject * obj1 = 0 ;
6857 char *kwnames[] = {
6858 (char *) "timerid",(char *) "interval", NULL
6859 };
6860
6861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6862 if (obj0) {
6863 arg1 = (int) SWIG_AsInt(obj0);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 if (obj1) {
6867 arg2 = (int) SWIG_AsInt(obj1);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
6878 return resultobj;
6879 fail:
6880 return NULL;
6881}
6882
6883
6884static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj;
6886 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6887 int result;
6888 PyObject * obj0 = 0 ;
6889 char *kwnames[] = {
6890 (char *) "self", NULL
6891 };
6892
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 resultobj = SWIG_FromInt((int)result);
6904 return resultobj;
6905 fail:
6906 return NULL;
6907}
6908
6909
6910static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6911 PyObject *obj;
6912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6913 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6914 Py_INCREF(obj);
6915 return Py_BuildValue((char *)"");
6916}
6917static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6918 PyObject *resultobj;
6919 wxTimer *arg1 = 0 ;
6920 wxTimerRunner *result;
6921 PyObject * obj0 = 0 ;
6922
6923 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6925 SWIG_POINTER_EXCEPTION | 0)) == -1)
6926 SWIG_fail;
6927 if (arg1 == NULL) {
6928 PyErr_SetString(PyExc_TypeError,"null reference");
6929 SWIG_fail;
6930 }
6931 {
0439c23b 6932 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6935
6936 wxPyEndAllowThreads(__tstate);
110da5b0 6937 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6938 }
6939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6940 return resultobj;
6941 fail:
6942 return NULL;
6943}
6944
6945
6946static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6947 PyObject *resultobj;
6948 wxTimer *arg1 = 0 ;
6949 int arg2 ;
6950 bool arg3 = (bool) False ;
6951 wxTimerRunner *result;
6952 PyObject * obj0 = 0 ;
6953 PyObject * obj1 = 0 ;
6954 PyObject * obj2 = 0 ;
6955
6956 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6958 SWIG_POINTER_EXCEPTION | 0)) == -1)
6959 SWIG_fail;
6960 if (arg1 == NULL) {
6961 PyErr_SetString(PyExc_TypeError,"null reference");
6962 SWIG_fail;
6963 }
6964 arg2 = (int) SWIG_AsInt(obj1);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 if (obj2) {
6967 arg3 = (bool) SWIG_AsBool(obj2);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 {
0439c23b 6971 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6974
6975 wxPyEndAllowThreads(__tstate);
110da5b0 6976 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6977 }
6978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6979 return resultobj;
6980 fail:
6981 return NULL;
6982}
6983
6984
6985static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6986 int argc;
6987 PyObject *argv[4];
6988 int ii;
6989
6990 argc = PyObject_Length(args);
6991 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6992 argv[ii] = PyTuple_GetItem(args,ii);
6993 }
6994 if (argc == 1) {
6995 int _v;
6996 {
6997 void *ptr;
6998 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6999 _v = 0;
7000 PyErr_Clear();
7001 } else {
7002 _v = 1;
7003 }
7004 }
7005 if (_v) {
7006 return _wrap_new_TimerRunner__SWIG_0(self,args);
7007 }
7008 }
7009 if ((argc >= 2) && (argc <= 3)) {
7010 int _v;
7011 {
7012 void *ptr;
7013 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7014 _v = 0;
7015 PyErr_Clear();
7016 } else {
7017 _v = 1;
7018 }
7019 }
7020 if (_v) {
7021 _v = SWIG_CheckInt(argv[1]);
7022 if (_v) {
7023 if (argc <= 2) {
7024 return _wrap_new_TimerRunner__SWIG_1(self,args);
7025 }
7026 _v = SWIG_CheckBool(argv[2]);
7027 if (_v) {
7028 return _wrap_new_TimerRunner__SWIG_1(self,args);
7029 }
7030 }
7031 }
7032 }
7033
7034 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
7035 return NULL;
7036}
7037
7038
7039static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
7040 PyObject *resultobj;
7041 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7042 PyObject * obj0 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "self", NULL
7045 };
7046
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
7048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7050 {
7051 PyThreadState* __tstate = wxPyBeginAllowThreads();
7052 delete arg1;
7053
7054 wxPyEndAllowThreads(__tstate);
7055 if (PyErr_Occurred()) SWIG_fail;
7056 }
7057 Py_INCREF(Py_None); resultobj = Py_None;
7058 return resultobj;
7059 fail:
7060 return NULL;
7061}
7062
7063
7064static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
7065 PyObject *resultobj;
7066 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7067 int arg2 ;
7068 bool arg3 = (bool) False ;
7069 PyObject * obj0 = 0 ;
7070 PyObject * obj1 = 0 ;
7071 PyObject * obj2 = 0 ;
7072 char *kwnames[] = {
7073 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7074 };
7075
7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
7077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7079 arg2 = (int) SWIG_AsInt(obj1);
7080 if (PyErr_Occurred()) SWIG_fail;
7081 if (obj2) {
7082 arg3 = (bool) SWIG_AsBool(obj2);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 (arg1)->Start(arg2,arg3);
7088
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 Py_INCREF(Py_None); resultobj = Py_None;
7093 return resultobj;
7094 fail:
7095 return NULL;
7096}
7097
7098
7099static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
7100 PyObject *obj;
7101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7102 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
7103 Py_INCREF(obj);
7104 return Py_BuildValue((char *)"");
7105}
7106static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
7107 PyObject *resultobj;
7108 wxLog *result;
7109 char *kwnames[] = {
7110 NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 result = (wxLog *)new wxLog();
7117
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
7122 return resultobj;
7123 fail:
7124 return NULL;
7125}
7126
7127
7128static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj;
7130 bool result;
7131 char *kwnames[] = {
7132 NULL
7133 };
7134
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 result = (bool)wxLog::IsEnabled();
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 {
7144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7145 }
7146 return resultobj;
7147 fail:
7148 return NULL;
7149}
7150
7151
7152static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
7153 PyObject *resultobj;
7154 bool arg1 = (bool) True ;
7155 bool result;
7156 PyObject * obj0 = 0 ;
7157 char *kwnames[] = {
7158 (char *) "doIt", NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
7162 if (obj0) {
7163 arg1 = (bool) SWIG_AsBool(obj0);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 result = (bool)wxLog::EnableLogging(arg1);
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 {
7174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7175 }
7176 return resultobj;
7177 fail:
7178 return NULL;
7179}
7180
7181
7182static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7183 PyObject *resultobj;
7184 wxLogLevel arg1 ;
7185 wxChar *arg2 = (wxChar *) 0 ;
7186 time_t arg3 ;
7187 PyObject * obj0 = 0 ;
7188 PyObject * obj1 = 0 ;
7189 PyObject * obj2 = 0 ;
7190 char *kwnames[] = {
7191 (char *) "level",(char *) "szString",(char *) "t", NULL
7192 };
7193
7194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
7195 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7196 if (PyErr_Occurred()) SWIG_fail;
7197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
7198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7199 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 Py_INCREF(Py_None); resultobj = Py_None;
7209 return resultobj;
7210 fail:
7211 return NULL;
7212}
7213
7214
7215static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj;
7217 wxLog *arg1 = (wxLog *) 0 ;
7218 PyObject * obj0 = 0 ;
7219 char *kwnames[] = {
7220 (char *) "self", NULL
7221 };
7222
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
7224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7226 {
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 (arg1)->Flush();
7229
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 Py_INCREF(Py_None); resultobj = Py_None;
7234 return resultobj;
7235 fail:
7236 return NULL;
7237}
7238
7239
7240static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj;
7242 char *kwnames[] = {
7243 NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
7247 {
7248 PyThreadState* __tstate = wxPyBeginAllowThreads();
7249 wxLog::FlushActive();
7250
7251 wxPyEndAllowThreads(__tstate);
7252 if (PyErr_Occurred()) SWIG_fail;
7253 }
7254 Py_INCREF(Py_None); resultobj = Py_None;
7255 return resultobj;
7256 fail:
7257 return NULL;
7258}
7259
7260
7261static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7262 PyObject *resultobj;
7263 wxLog *result;
7264 char *kwnames[] = {
7265 NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 result = (wxLog *)wxLog::GetActiveTarget();
7272
7273 wxPyEndAllowThreads(__tstate);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
7276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7277 return resultobj;
7278 fail:
7279 return NULL;
7280}
7281
7282
7283static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7284 PyObject *resultobj;
7285 wxLog *arg1 = (wxLog *) 0 ;
7286 wxLog *result;
7287 PyObject * obj0 = 0 ;
7288 char *kwnames[] = {
7289 (char *) "pLogger", NULL
7290 };
7291
7292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7295 {
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7303 return resultobj;
7304 fail:
7305 return NULL;
7306}
7307
7308
7309static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
7310 PyObject *resultobj;
7311 char *kwnames[] = {
7312 NULL
7313 };
7314
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7316 {
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 wxLog::Suspend();
7319
7320 wxPyEndAllowThreads(__tstate);
7321 if (PyErr_Occurred()) SWIG_fail;
7322 }
7323 Py_INCREF(Py_None); resultobj = Py_None;
7324 return resultobj;
7325 fail:
7326 return NULL;
7327}
7328
7329
7330static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
7331 PyObject *resultobj;
7332 char *kwnames[] = {
7333 NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 wxLog::Resume();
7340
7341 wxPyEndAllowThreads(__tstate);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 Py_INCREF(Py_None); resultobj = Py_None;
7345 return resultobj;
7346 fail:
7347 return NULL;
7348}
7349
7350
7351static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7352 PyObject *resultobj;
7353 bool arg1 = (bool) True ;
7354 PyObject * obj0 = 0 ;
7355 char *kwnames[] = {
7356 (char *) "bVerbose", NULL
7357 };
7358
7359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7360 if (obj0) {
7361 arg1 = (bool) SWIG_AsBool(obj0);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 }
7364 {
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 wxLog::SetVerbose(arg1);
7367
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 Py_INCREF(Py_None); resultobj = Py_None;
7372 return resultobj;
7373 fail:
7374 return NULL;
7375}
7376
7377
7378static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7379 PyObject *resultobj;
7380 wxLogLevel arg1 ;
7381 PyObject * obj0 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "logLevel", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7387 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 {
7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
7391 wxLog::SetLogLevel(arg1);
7392
7393 wxPyEndAllowThreads(__tstate);
7394 if (PyErr_Occurred()) SWIG_fail;
7395 }
7396 Py_INCREF(Py_None); resultobj = Py_None;
7397 return resultobj;
7398 fail:
7399 return NULL;
7400}
7401
7402
7403static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
7404 PyObject *resultobj;
7405 char *kwnames[] = {
7406 NULL
7407 };
7408
7409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 wxLog::DontCreateOnDemand();
7413
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 Py_INCREF(Py_None); resultobj = Py_None;
7418 return resultobj;
7419 fail:
7420 return NULL;
7421}
7422
7423
7424static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj;
7426 wxTraceMask arg1 ;
7427 PyObject * obj0 = 0 ;
7428 char *kwnames[] = {
7429 (char *) "ulMask", NULL
7430 };
7431
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7433 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 {
7436 PyThreadState* __tstate = wxPyBeginAllowThreads();
7437 wxLog::SetTraceMask(arg1);
7438
7439 wxPyEndAllowThreads(__tstate);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 Py_INCREF(Py_None); resultobj = Py_None;
7443 return resultobj;
7444 fail:
7445 return NULL;
7446}
7447
7448
7449static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj;
7451 wxString *arg1 = 0 ;
7452 bool temp1 = False ;
7453 PyObject * obj0 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "str", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7459 {
7460 arg1 = wxString_in_helper(obj0);
7461 if (arg1 == NULL) SWIG_fail;
7462 temp1 = True;
7463 }
7464 {
7465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7466 wxLog::AddTraceMask((wxString const &)*arg1);
7467
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
7471 Py_INCREF(Py_None); resultobj = Py_None;
7472 {
7473 if (temp1)
7474 delete arg1;
7475 }
7476 return resultobj;
7477 fail:
7478 {
7479 if (temp1)
7480 delete arg1;
7481 }
7482 return NULL;
7483}
7484
7485
7486static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxString *arg1 = 0 ;
7489 bool temp1 = False ;
7490 PyObject * obj0 = 0 ;
7491 char *kwnames[] = {
7492 (char *) "str", NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7496 {
7497 arg1 = wxString_in_helper(obj0);
7498 if (arg1 == NULL) SWIG_fail;
7499 temp1 = True;
7500 }
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 wxLog::RemoveTraceMask((wxString const &)*arg1);
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 Py_INCREF(Py_None); resultobj = Py_None;
7509 {
7510 if (temp1)
7511 delete arg1;
7512 }
7513 return resultobj;
7514 fail:
7515 {
7516 if (temp1)
7517 delete arg1;
7518 }
7519 return NULL;
7520}
7521
7522
7523static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7524 PyObject *resultobj;
7525 char *kwnames[] = {
7526 NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 wxLog::ClearTraceMasks();
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 Py_INCREF(Py_None); resultobj = Py_None;
7538 return resultobj;
7539 fail:
7540 return NULL;
7541}
7542
7543
7544static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7545 PyObject *resultobj;
7546 wxArrayString *result;
7547 char *kwnames[] = {
7548 NULL
7549 };
7550
7551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7554 {
7555 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7556 result = (wxArrayString *) &_result_ref;
7557 }
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 {
7563 resultobj = wxArrayString2PyList_helper(*result);
7564 }
7565 return resultobj;
7566 fail:
7567 return NULL;
7568}
7569
7570
7571static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7572 PyObject *resultobj;
7573 wxChar *arg1 = (wxChar *) 0 ;
7574 PyObject * obj0 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "ts", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7582 {
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
7584 wxLog::SetTimestamp((wxChar const *)arg1);
7585
7586 wxPyEndAllowThreads(__tstate);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 }
7589 Py_INCREF(Py_None); resultobj = Py_None;
7590 return resultobj;
7591 fail:
7592 return NULL;
7593}
7594
7595
7596static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7597 PyObject *resultobj;
7598 bool result;
7599 char *kwnames[] = {
7600 NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 result = (bool)wxLog::GetVerbose();
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 {
7612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7613 }
7614 return resultobj;
7615 fail:
7616 return NULL;
7617}
7618
7619
7620static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7621 PyObject *resultobj;
7622 wxTraceMask result;
7623 char *kwnames[] = {
7624 NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 result = (wxTraceMask)wxLog::GetTraceMask();
7631
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7636 return resultobj;
7637 fail:
7638 return NULL;
7639}
7640
7641
7642static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj;
7644 wxChar *arg1 = (wxChar *) 0 ;
7645 bool result;
7646 PyObject * obj0 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "mask", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7656 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7657
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 {
7662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7663 }
7664 return resultobj;
7665 fail:
7666 return NULL;
7667}
7668
7669
7670static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7671 PyObject *resultobj;
7672 wxLogLevel result;
7673 char *kwnames[] = {
7674 NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 result = (wxLogLevel)wxLog::GetLogLevel();
7681
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7686 return resultobj;
7687 fail:
7688 return NULL;
7689}
7690
7691
7692static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7693 PyObject *resultobj;
7694 wxChar *result;
7695 char *kwnames[] = {
7696 NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7700 {
7701 PyThreadState* __tstate = wxPyBeginAllowThreads();
7702 result = (wxChar *)wxLog::GetTimestamp();
7703
7704 wxPyEndAllowThreads(__tstate);
7705 if (PyErr_Occurred()) SWIG_fail;
7706 }
7707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7708 return resultobj;
7709 fail:
7710 return NULL;
7711}
7712
7713
7714static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7715 PyObject *resultobj;
7716 wxString result;
7717 char *kwnames[] = {
7718 NULL
7719 };
7720
7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 result = Log_TimeStamp();
7725
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 {
7730#if wxUSE_UNICODE
7731 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7732#else
7733 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7734#endif
7735 }
7736 return resultobj;
7737 fail:
7738 return NULL;
7739}
7740
7741
7742static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj;
7744 wxLog *arg1 = (wxLog *) 0 ;
7745 PyObject * obj0 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "self", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 wxLog_Destroy(arg1);
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 Py_INCREF(Py_None); resultobj = Py_None;
7761 return resultobj;
7762 fail:
7763 return NULL;
7764}
7765
7766
7767static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7768 PyObject *obj;
7769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7770 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7771 Py_INCREF(obj);
7772 return Py_BuildValue((char *)"");
7773}
7774static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7775 PyObject *resultobj;
7776 wxLogStderr *result;
7777 char *kwnames[] = {
7778 NULL
7779 };
7780
7781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 result = (wxLogStderr *)new wxLogStderr();
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
7790 return resultobj;
7791 fail:
7792 return NULL;
7793}
7794
7795
7796static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7797 PyObject *obj;
7798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7799 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7800 Py_INCREF(obj);
7801 return Py_BuildValue((char *)"");
7802}
7803static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7806 wxLogTextCtrl *result;
7807 PyObject * obj0 = 0 ;
7808 char *kwnames[] = {
7809 (char *) "pTextCtrl", NULL
7810 };
7811
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7818
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
7823 return resultobj;
7824 fail:
7825 return NULL;
7826}
7827
7828
7829static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7830 PyObject *obj;
7831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7832 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7833 Py_INCREF(obj);
7834 return Py_BuildValue((char *)"");
7835}
7836static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7837 PyObject *resultobj;
7838 wxLogGui *result;
7839 char *kwnames[] = {
7840 NULL
7841 };
7842
7843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 result = (wxLogGui *)new wxLogGui();
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
7851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
7852 return resultobj;
7853 fail:
7854 return NULL;
7855}
7856
7857
7858static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7859 PyObject *obj;
7860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7861 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7862 Py_INCREF(obj);
7863 return Py_BuildValue((char *)"");
7864}
7865static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj;
7867 wxFrame *arg1 = (wxFrame *) 0 ;
7868 wxString *arg2 = 0 ;
7869 bool arg3 = (bool) True ;
7870 bool arg4 = (bool) True ;
7871 wxLogWindow *result;
7872 bool temp2 = False ;
7873 PyObject * obj0 = 0 ;
7874 PyObject * obj1 = 0 ;
7875 PyObject * obj2 = 0 ;
7876 PyObject * obj3 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7884 {
7885 arg2 = wxString_in_helper(obj1);
7886 if (arg2 == NULL) SWIG_fail;
7887 temp2 = True;
7888 }
7889 if (obj2) {
7890 arg3 = (bool) SWIG_AsBool(obj2);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
7893 if (obj3) {
7894 arg4 = (bool) SWIG_AsBool(obj3);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 {
7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7899 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7900
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
7904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
7905 {
7906 if (temp2)
7907 delete arg2;
7908 }
7909 return resultobj;
7910 fail:
7911 {
7912 if (temp2)
7913 delete arg2;
7914 }
7915 return NULL;
7916}
7917
7918
7919static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7920 PyObject *resultobj;
7921 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7922 bool arg2 = (bool) True ;
7923 PyObject * obj0 = 0 ;
7924 PyObject * obj1 = 0 ;
7925 char *kwnames[] = {
7926 (char *) "self",(char *) "bShow", NULL
7927 };
7928
7929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7932 if (obj1) {
7933 arg2 = (bool) SWIG_AsBool(obj1);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 }
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 (arg1)->Show(arg2);
7939
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 Py_INCREF(Py_None); resultobj = Py_None;
7944 return resultobj;
7945 fail:
7946 return NULL;
7947}
7948
7949
7950static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7951 PyObject *resultobj;
7952 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7953 wxFrame *result;
7954 PyObject * obj0 = 0 ;
7955 char *kwnames[] = {
7956 (char *) "self", NULL
7957 };
7958
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 {
412d302d 7970 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7971 }
7972 return resultobj;
7973 fail:
7974 return NULL;
7975}
7976
7977
7978static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7979 PyObject *resultobj;
7980 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7981 wxLog *result;
7982 PyObject * obj0 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "self", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7993
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7998 return resultobj;
7999 fail:
8000 return NULL;
8001}
8002
8003
8004static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8005 PyObject *resultobj;
8006 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8007 bool result;
8008 PyObject * obj0 = 0 ;
8009 char *kwnames[] = {
8010 (char *) "self", NULL
8011 };
8012
8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
8014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
8019
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 {
8024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8025 }
8026 return resultobj;
8027 fail:
8028 return NULL;
8029}
8030
8031
8032static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8035 bool arg2 ;
8036 PyObject * obj0 = 0 ;
8037 PyObject * obj1 = 0 ;
8038 char *kwnames[] = {
8039 (char *) "self",(char *) "bDoPass", NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8045 arg2 = (bool) SWIG_AsBool(obj1);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 {
8048 PyThreadState* __tstate = wxPyBeginAllowThreads();
8049 (arg1)->PassMessages(arg2);
8050
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 Py_INCREF(Py_None); resultobj = Py_None;
8055 return resultobj;
8056 fail:
8057 return NULL;
8058}
8059
8060
8061static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
8062 PyObject *obj;
8063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8064 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
8065 Py_INCREF(obj);
8066 return Py_BuildValue((char *)"");
8067}
8068static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj;
8070 wxLog *arg1 = (wxLog *) 0 ;
8071 wxLogChain *result;
8072 PyObject * obj0 = 0 ;
8073 char *kwnames[] = {
8074 (char *) "logger", NULL
8075 };
8076
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
8078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8080 {
8081 PyThreadState* __tstate = wxPyBeginAllowThreads();
8082 result = (wxLogChain *)new wxLogChain(arg1);
8083
8084 wxPyEndAllowThreads(__tstate);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 }
8087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
8088 return resultobj;
8089 fail:
8090 return NULL;
8091}
8092
8093
8094static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8095 PyObject *resultobj;
8096 wxLogChain *arg1 = (wxLogChain *) 0 ;
8097 wxLog *arg2 = (wxLog *) 0 ;
8098 PyObject * obj0 = 0 ;
8099 PyObject * obj1 = 0 ;
8100 char *kwnames[] = {
8101 (char *) "self",(char *) "logger", NULL
8102 };
8103
8104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
8105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
8108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 (arg1)->SetLog(arg2);
8112
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 Py_INCREF(Py_None); resultobj = Py_None;
8117 return resultobj;
8118 fail:
8119 return NULL;
8120}
8121
8122
8123static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8124 PyObject *resultobj;
8125 wxLogChain *arg1 = (wxLogChain *) 0 ;
8126 bool arg2 ;
8127 PyObject * obj0 = 0 ;
8128 PyObject * obj1 = 0 ;
8129 char *kwnames[] = {
8130 (char *) "self",(char *) "bDoPass", NULL
8131 };
8132
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8136 arg2 = (bool) SWIG_AsBool(obj1);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 (arg1)->PassMessages(arg2);
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 Py_INCREF(Py_None); resultobj = Py_None;
8146 return resultobj;
8147 fail:
8148 return NULL;
8149}
8150
8151
8152static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8153 PyObject *resultobj;
8154 wxLogChain *arg1 = (wxLogChain *) 0 ;
8155 bool result;
8156 PyObject * obj0 = 0 ;
8157 char *kwnames[] = {
8158 (char *) "self", NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
8162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 result = (bool)(arg1)->IsPassingMessages();
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 {
8172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8173 }
8174 return resultobj;
8175 fail:
8176 return NULL;
8177}
8178
8179
8180static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8181 PyObject *resultobj;
8182 wxLogChain *arg1 = (wxLogChain *) 0 ;
8183 wxLog *result;
8184 PyObject * obj0 = 0 ;
8185 char *kwnames[] = {
8186 (char *) "self", NULL
8187 };
8188
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
8190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8192 {
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 result = (wxLog *)(arg1)->GetOldLog();
8195
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
8199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8200 return resultobj;
8201 fail:
8202 return NULL;
8203}
8204
8205
8206static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
8207 PyObject *obj;
8208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8209 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
8210 Py_INCREF(obj);
8211 return Py_BuildValue((char *)"");
8212}
8213static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8214 PyObject *resultobj;
8215 unsigned long result;
8216 char *kwnames[] = {
8217 NULL
8218 };
8219
8220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
8221 {
8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
8223 result = (unsigned long)wxSysErrorCode();
8224
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
8229 return resultobj;
8230 fail:
8231 return NULL;
8232}
8233
8234
8235static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
8236 PyObject *resultobj;
8237 unsigned long arg1 = (unsigned long) 0 ;
8238 wxString result;
8239 PyObject * obj0 = 0 ;
8240 char *kwnames[] = {
8241 (char *) "nErrCode", NULL
8242 };
8243
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
8245 if (obj0) {
8246 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8247 if (PyErr_Occurred()) SWIG_fail;
8248 }
8249 {
8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
8251 result = wxSysErrorMsg(arg1);
8252
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 {
8257#if wxUSE_UNICODE
8258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8259#else
8260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8261#endif
8262 }
8263 return resultobj;
8264 fail:
8265 return NULL;
8266}
8267
8268
8269static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
8270 PyObject *resultobj;
8271 wxString *arg1 = 0 ;
8272 bool temp1 = False ;
8273 PyObject * obj0 = 0 ;
8274 char *kwnames[] = {
8275 (char *) "msg", NULL
8276 };
8277
8278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8279 {
8280 arg1 = wxString_in_helper(obj0);
8281 if (arg1 == NULL) SWIG_fail;
8282 temp1 = True;
8283 }
8284 {
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 wxLogFatalError((wxString const &)*arg1);
8287
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 Py_INCREF(Py_None); resultobj = Py_None;
8292 {
8293 if (temp1)
8294 delete arg1;
8295 }
8296 return resultobj;
8297 fail:
8298 {
8299 if (temp1)
8300 delete arg1;
8301 }
8302 return NULL;
8303}
8304
8305
8306static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
8307 PyObject *resultobj;
8308 wxString *arg1 = 0 ;
8309 bool temp1 = False ;
8310 PyObject * obj0 = 0 ;
8311 char *kwnames[] = {
8312 (char *) "msg", NULL
8313 };
8314
8315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8316 {
8317 arg1 = wxString_in_helper(obj0);
8318 if (arg1 == NULL) SWIG_fail;
8319 temp1 = True;
8320 }
8321 {
8322 PyThreadState* __tstate = wxPyBeginAllowThreads();
8323 wxLogError((wxString const &)*arg1);
8324
8325 wxPyEndAllowThreads(__tstate);
8326 if (PyErr_Occurred()) SWIG_fail;
8327 }
8328 Py_INCREF(Py_None); resultobj = Py_None;
8329 {
8330 if (temp1)
8331 delete arg1;
8332 }
8333 return resultobj;
8334 fail:
8335 {
8336 if (temp1)
8337 delete arg1;
8338 }
8339 return NULL;
8340}
8341
8342
8343static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
8344 PyObject *resultobj;
8345 wxString *arg1 = 0 ;
8346 bool temp1 = False ;
8347 PyObject * obj0 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "msg", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8353 {
8354 arg1 = wxString_in_helper(obj0);
8355 if (arg1 == NULL) SWIG_fail;
8356 temp1 = True;
8357 }
8358 {
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 wxLogWarning((wxString const &)*arg1);
8361
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 Py_INCREF(Py_None); resultobj = Py_None;
8366 {
8367 if (temp1)
8368 delete arg1;
8369 }
8370 return resultobj;
8371 fail:
8372 {
8373 if (temp1)
8374 delete arg1;
8375 }
8376 return NULL;
8377}
8378
8379
8380static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8381 PyObject *resultobj;
8382 wxString *arg1 = 0 ;
8383 bool temp1 = False ;
8384 PyObject * obj0 = 0 ;
8385 char *kwnames[] = {
8386 (char *) "msg", NULL
8387 };
8388
8389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8390 {
8391 arg1 = wxString_in_helper(obj0);
8392 if (arg1 == NULL) SWIG_fail;
8393 temp1 = True;
8394 }
8395 {
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 wxLogMessage((wxString const &)*arg1);
8398
8399 wxPyEndAllowThreads(__tstate);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 Py_INCREF(Py_None); resultobj = Py_None;
8403 {
8404 if (temp1)
8405 delete arg1;
8406 }
8407 return resultobj;
8408 fail:
8409 {
8410 if (temp1)
8411 delete arg1;
8412 }
8413 return NULL;
8414}
8415
8416
8417static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxString *arg1 = 0 ;
8420 bool temp1 = False ;
8421 PyObject * obj0 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "msg", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8427 {
8428 arg1 = wxString_in_helper(obj0);
8429 if (arg1 == NULL) SWIG_fail;
8430 temp1 = True;
8431 }
8432 {
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
8434 wxLogInfo((wxString const &)*arg1);
8435
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 Py_INCREF(Py_None); resultobj = Py_None;
8440 {
8441 if (temp1)
8442 delete arg1;
8443 }
8444 return resultobj;
8445 fail:
8446 {
8447 if (temp1)
8448 delete arg1;
8449 }
8450 return NULL;
8451}
8452
8453
8454static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
8455 PyObject *resultobj;
8456 wxString *arg1 = 0 ;
8457 bool temp1 = False ;
8458 PyObject * obj0 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "msg", NULL
8461 };
8462
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8464 {
8465 arg1 = wxString_in_helper(obj0);
8466 if (arg1 == NULL) SWIG_fail;
8467 temp1 = True;
8468 }
8469 {
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
8471 wxLogDebug((wxString const &)*arg1);
8472
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 Py_INCREF(Py_None); resultobj = Py_None;
8477 {
8478 if (temp1)
8479 delete arg1;
8480 }
8481 return resultobj;
8482 fail:
8483 {
8484 if (temp1)
8485 delete arg1;
8486 }
8487 return NULL;
8488}
8489
8490
8491static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8492 PyObject *resultobj;
8493 wxString *arg1 = 0 ;
8494 bool temp1 = False ;
8495 PyObject * obj0 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "msg", NULL
8498 };
8499
8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8501 {
8502 arg1 = wxString_in_helper(obj0);
8503 if (arg1 == NULL) SWIG_fail;
8504 temp1 = True;
8505 }
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 wxLogVerbose((wxString const &)*arg1);
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 Py_INCREF(Py_None); resultobj = Py_None;
8514 {
8515 if (temp1)
8516 delete arg1;
8517 }
8518 return resultobj;
8519 fail:
8520 {
8521 if (temp1)
8522 delete arg1;
8523 }
8524 return NULL;
8525}
8526
8527
8528static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 wxString *arg1 = 0 ;
8531 bool temp1 = False ;
8532 PyObject * obj0 = 0 ;
8533 char *kwnames[] = {
8534 (char *) "msg", NULL
8535 };
8536
8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8538 {
8539 arg1 = wxString_in_helper(obj0);
8540 if (arg1 == NULL) SWIG_fail;
8541 temp1 = True;
8542 }
8543 {
8544 PyThreadState* __tstate = wxPyBeginAllowThreads();
8545 wxLogStatus((wxString const &)*arg1);
8546
8547 wxPyEndAllowThreads(__tstate);
8548 if (PyErr_Occurred()) SWIG_fail;
8549 }
8550 Py_INCREF(Py_None); resultobj = Py_None;
8551 {
8552 if (temp1)
8553 delete arg1;
8554 }
8555 return resultobj;
8556 fail:
8557 {
8558 if (temp1)
8559 delete arg1;
8560 }
8561 return NULL;
8562}
8563
8564
8565static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8566 PyObject *resultobj;
8567 wxFrame *arg1 = (wxFrame *) 0 ;
8568 wxString *arg2 = 0 ;
8569 bool temp2 = False ;
8570 PyObject * obj0 = 0 ;
8571 PyObject * obj1 = 0 ;
8572 char *kwnames[] = {
8573 (char *) "pFrame",(char *) "msg", NULL
8574 };
8575
8576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8579 {
8580 arg2 = wxString_in_helper(obj1);
8581 if (arg2 == NULL) SWIG_fail;
8582 temp2 = True;
8583 }
8584 {
8585 PyThreadState* __tstate = wxPyBeginAllowThreads();
8586 wxLogStatus(arg1,(wxString const &)*arg2);
8587
8588 wxPyEndAllowThreads(__tstate);
8589 if (PyErr_Occurred()) SWIG_fail;
8590 }
8591 Py_INCREF(Py_None); resultobj = Py_None;
8592 {
8593 if (temp2)
8594 delete arg2;
8595 }
8596 return resultobj;
8597 fail:
8598 {
8599 if (temp2)
8600 delete arg2;
8601 }
8602 return NULL;
8603}
8604
8605
8606static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8607 PyObject *resultobj;
8608 wxString *arg1 = 0 ;
8609 bool temp1 = False ;
8610 PyObject * obj0 = 0 ;
8611 char *kwnames[] = {
8612 (char *) "msg", NULL
8613 };
8614
8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8616 {
8617 arg1 = wxString_in_helper(obj0);
8618 if (arg1 == NULL) SWIG_fail;
8619 temp1 = True;
8620 }
8621 {
8622 PyThreadState* __tstate = wxPyBeginAllowThreads();
8623 wxLogSysError((wxString const &)*arg1);
8624
8625 wxPyEndAllowThreads(__tstate);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 Py_INCREF(Py_None); resultobj = Py_None;
8629 {
8630 if (temp1)
8631 delete arg1;
8632 }
8633 return resultobj;
8634 fail:
8635 {
8636 if (temp1)
8637 delete arg1;
8638 }
8639 return NULL;
8640}
8641
8642
8643static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
8644 PyObject *resultobj;
8645 unsigned long arg1 ;
8646 wxString *arg2 = 0 ;
8647 bool temp2 = False ;
8648 PyObject * obj0 = 0 ;
8649 PyObject * obj1 = 0 ;
8650
8651 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8652 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 {
8655 arg2 = wxString_in_helper(obj1);
8656 if (arg2 == NULL) SWIG_fail;
8657 temp2 = True;
8658 }
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 wxLogTrace(arg1,(wxString const &)*arg2);
8662
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
8666 Py_INCREF(Py_None); resultobj = Py_None;
8667 {
8668 if (temp2)
8669 delete arg2;
8670 }
8671 return resultobj;
8672 fail:
8673 {
8674 if (temp2)
8675 delete arg2;
8676 }
8677 return NULL;
8678}
8679
8680
8681static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
8682 PyObject *resultobj;
8683 wxString *arg1 = 0 ;
8684 wxString *arg2 = 0 ;
8685 bool temp1 = False ;
8686 bool temp2 = False ;
8687 PyObject * obj0 = 0 ;
8688 PyObject * obj1 = 0 ;
8689
8690 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8691 {
8692 arg1 = wxString_in_helper(obj0);
8693 if (arg1 == NULL) SWIG_fail;
8694 temp1 = True;
8695 }
8696 {
8697 arg2 = wxString_in_helper(obj1);
8698 if (arg2 == NULL) SWIG_fail;
8699 temp2 = True;
8700 }
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8704
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 Py_INCREF(Py_None); resultobj = Py_None;
8709 {
8710 if (temp1)
8711 delete arg1;
8712 }
8713 {
8714 if (temp2)
8715 delete arg2;
8716 }
8717 return resultobj;
8718 fail:
8719 {
8720 if (temp1)
8721 delete arg1;
8722 }
8723 {
8724 if (temp2)
8725 delete arg2;
8726 }
8727 return NULL;
8728}
8729
8730
8731static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8732 int argc;
8733 PyObject *argv[3];
8734 int ii;
8735
8736 argc = PyObject_Length(args);
8737 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8738 argv[ii] = PyTuple_GetItem(args,ii);
8739 }
8740 if (argc == 2) {
8741 int _v;
8742 {
8743 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8744 }
8745 if (_v) {
8746 {
8747 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8748 }
8749 if (_v) {
8750 return _wrap_LogTrace__SWIG_1(self,args);
8751 }
8752 }
8753 }
8754 if (argc == 2) {
8755 int _v;
8756 _v = SWIG_CheckUnsignedLong(argv[0]);
8757 if (_v) {
8758 {
8759 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8760 }
8761 if (_v) {
8762 return _wrap_LogTrace__SWIG_0(self,args);
8763 }
8764 }
8765 }
8766
8767 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8768 return NULL;
8769}
8770
8771
8772static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8773 PyObject *resultobj;
8774 unsigned long arg1 ;
8775 wxString *arg2 = 0 ;
8776 bool temp2 = False ;
8777 PyObject * obj0 = 0 ;
8778 PyObject * obj1 = 0 ;
8779 char *kwnames[] = {
8780 (char *) "level",(char *) "msg", NULL
8781 };
8782
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8784 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 {
8787 arg2 = wxString_in_helper(obj1);
8788 if (arg2 == NULL) SWIG_fail;
8789 temp2 = True;
8790 }
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 wxLogGeneric(arg1,(wxString const &)*arg2);
8794
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 Py_INCREF(Py_None); resultobj = Py_None;
8799 {
8800 if (temp2)
8801 delete arg2;
8802 }
8803 return resultobj;
8804 fail:
8805 {
8806 if (temp2)
8807 delete arg2;
8808 }
8809 return NULL;
8810}
8811
8812
8813static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8814 PyObject *resultobj;
8815 wxString *arg1 = 0 ;
8816 wxString *arg2 = 0 ;
8817 bool temp1 = False ;
8818 bool temp2 = False ;
8819 PyObject * obj0 = 0 ;
8820 PyObject * obj1 = 0 ;
8821 char *kwnames[] = {
8822 (char *) "title",(char *) "text", NULL
8823 };
8824
8825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8826 {
8827 arg1 = wxString_in_helper(obj0);
8828 if (arg1 == NULL) SWIG_fail;
8829 temp1 = True;
8830 }
8831 {
8832 arg2 = wxString_in_helper(obj1);
8833 if (arg2 == NULL) SWIG_fail;
8834 temp2 = True;
8835 }
8836 {
8837 PyThreadState* __tstate = wxPyBeginAllowThreads();
8838 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8839
8840 wxPyEndAllowThreads(__tstate);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
8843 Py_INCREF(Py_None); resultobj = Py_None;
8844 {
8845 if (temp1)
8846 delete arg1;
8847 }
8848 {
8849 if (temp2)
8850 delete arg2;
8851 }
8852 return resultobj;
8853 fail:
8854 {
8855 if (temp1)
8856 delete arg1;
8857 }
8858 {
8859 if (temp2)
8860 delete arg2;
8861 }
8862 return NULL;
8863}
8864
8865
8866static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 wxLogNull *result;
8869 char *kwnames[] = {
8870 NULL
8871 };
8872
8873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 result = (wxLogNull *)new wxLogNull();
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
8882 return resultobj;
8883 fail:
8884 return NULL;
8885}
8886
8887
8888static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8889 PyObject *resultobj;
8890 wxLogNull *arg1 = (wxLogNull *) 0 ;
8891 PyObject * obj0 = 0 ;
8892 char *kwnames[] = {
8893 (char *) "self", NULL
8894 };
8895
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 delete arg1;
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 Py_INCREF(Py_None); resultobj = Py_None;
8907 return resultobj;
8908 fail:
8909 return NULL;
8910}
8911
8912
8913static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8914 PyObject *obj;
8915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8916 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8917 Py_INCREF(obj);
8918 return Py_BuildValue((char *)"");
8919}
8920static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj;
8922 wxPyLog *result;
8923 char *kwnames[] = {
8924 NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 result = (wxPyLog *)new wxPyLog();
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
8936 return resultobj;
8937 fail:
8938 return NULL;
8939}
8940
8941
8942static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxPyLog *arg1 = (wxPyLog *) 0 ;
8945 PyObject *arg2 = (PyObject *) 0 ;
8946 PyObject *arg3 = (PyObject *) 0 ;
8947 PyObject * obj0 = 0 ;
8948 PyObject * obj1 = 0 ;
8949 PyObject * obj2 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self",(char *) "self",(char *) "_class", NULL
8952 };
8953
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8957 arg2 = obj1;
8958 arg3 = obj2;
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 (arg1)->_setCallbackInfo(arg2,arg3);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 Py_INCREF(Py_None); resultobj = Py_None;
8967 return resultobj;
8968 fail:
8969 return NULL;
8970}
8971
8972
8973static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8974 PyObject *obj;
8975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8976 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8977 Py_INCREF(obj);
8978 return Py_BuildValue((char *)"");
8979}
8980static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj;
8982 int arg1 ;
8983 int arg2 = (int) wxSIGTERM ;
8984 int result;
8985 PyObject * obj0 = 0 ;
8986 PyObject * obj1 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "pid",(char *) "sig", NULL
8989 };
8990
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8992 arg1 = (int) SWIG_AsInt(obj0);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 if (obj1) {
8995 arg2 = (wxSignal) SWIG_AsInt(obj1);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 resultobj = SWIG_FromInt((int)result);
9006 return resultobj;
9007 fail:
9008 return NULL;
9009}
9010
9011
9012static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj;
9014 int arg1 ;
9015 bool result;
9016 PyObject * obj0 = 0 ;
9017 char *kwnames[] = {
9018 (char *) "pid", NULL
9019 };
9020
9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
9022 arg1 = (int) SWIG_AsInt(obj0);
9023 if (PyErr_Occurred()) SWIG_fail;
9024 {
9025 PyThreadState* __tstate = wxPyBeginAllowThreads();
9026 result = (bool)wxPyProcess::Exists(arg1);
9027
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
9031 {
9032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9033 }
9034 return resultobj;
9035 fail:
9036 return NULL;
9037}
9038
9039
9040static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
9041 PyObject *resultobj;
9042 wxString *arg1 = 0 ;
9043 int arg2 = (int) wxEXEC_ASYNC ;
9044 wxPyProcess *result;
9045 bool temp1 = False ;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "cmd",(char *) "flags", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
9053 {
9054 arg1 = wxString_in_helper(obj0);
9055 if (arg1 == NULL) SWIG_fail;
9056 temp1 = True;
9057 }
9058 if (obj1) {
9059 arg2 = (int) SWIG_AsInt(obj1);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
9062 {
9063 PyThreadState* __tstate = wxPyBeginAllowThreads();
9064 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
9065
9066 wxPyEndAllowThreads(__tstate);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
9070 {
9071 if (temp1)
9072 delete arg1;
9073 }
9074 return resultobj;
9075 fail:
9076 {
9077 if (temp1)
9078 delete arg1;
9079 }
9080 return NULL;
9081}
9082
9083
9084static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
9085 PyObject *resultobj;
9086 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9087 int arg2 = (int) -1 ;
9088 wxPyProcess *result;
9089 PyObject * obj0 = 0 ;
9090 PyObject * obj1 = 0 ;
9091 char *kwnames[] = {
9092 (char *) "parent",(char *) "id", NULL
9093 };
9094
9095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
9096 if (obj0) {
9097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
9098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9099 }
9100 if (obj1) {
9101 arg2 = (int) SWIG_AsInt(obj1);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 {
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
9106 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
9112 return resultobj;
9113 fail:
9114 return NULL;
9115}
9116
9117
9118static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9119 PyObject *resultobj;
9120 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9121 PyObject *arg2 = (PyObject *) 0 ;
9122 PyObject *arg3 = (PyObject *) 0 ;
9123 PyObject * obj0 = 0 ;
9124 PyObject * obj1 = 0 ;
9125 PyObject * obj2 = 0 ;
9126 char *kwnames[] = {
9127 (char *) "self",(char *) "self",(char *) "_class", NULL
9128 };
9129
9130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9133 arg2 = obj1;
9134 arg3 = obj2;
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 (arg1)->_setCallbackInfo(arg2,arg3);
9138
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 Py_INCREF(Py_None); resultobj = Py_None;
9143 return resultobj;
9144 fail:
9145 return NULL;
9146}
9147
9148
9149static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj;
9151 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9152 int arg2 ;
9153 int arg3 ;
9154 PyObject * obj0 = 0 ;
9155 PyObject * obj1 = 0 ;
9156 PyObject * obj2 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "pid",(char *) "status", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9164 arg2 = (int) SWIG_AsInt(obj1);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 arg3 = (int) SWIG_AsInt(obj2);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 (arg1)->base_OnTerminate(arg2,arg3);
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 Py_INCREF(Py_None); resultobj = Py_None;
9176 return resultobj;
9177 fail:
9178 return NULL;
9179}
9180
9181
9182static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
9183 PyObject *resultobj;
9184 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9185 PyObject * obj0 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
9191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9193 {
9194 PyThreadState* __tstate = wxPyBeginAllowThreads();
9195 (arg1)->Redirect();
9196
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 Py_INCREF(Py_None); resultobj = Py_None;
9201 return resultobj;
9202 fail:
9203 return NULL;
9204}
9205
9206
9207static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
9208 PyObject *resultobj;
9209 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9210 bool result;
9211 PyObject * obj0 = 0 ;
9212 char *kwnames[] = {
9213 (char *) "self", NULL
9214 };
9215
9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
9217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9219 {
9220 PyThreadState* __tstate = wxPyBeginAllowThreads();
9221 result = (bool)(arg1)->IsRedirected();
9222
9223 wxPyEndAllowThreads(__tstate);
9224 if (PyErr_Occurred()) SWIG_fail;
9225 }
9226 {
9227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9228 }
9229 return resultobj;
9230 fail:
9231 return NULL;
9232}
9233
9234
9235static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj;
9237 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 (arg1)->Detach();
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 Py_INCREF(Py_None); resultobj = Py_None;
9254 return resultobj;
9255 fail:
9256 return NULL;
9257}
9258
9259
9260static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9261 PyObject *resultobj;
9262 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9263 wxInputStream *result;
9264 PyObject * obj0 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "self", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 result = (wxInputStream *)(arg1)->GetInputStream();
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 {
9280 wxPyInputStream * _ptr = NULL;
9281
9282 if (result) {
9283 _ptr = new wxPyInputStream(result);
9284 }
9285 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9286 }
9287 return resultobj;
9288 fail:
9289 return NULL;
9290}
9291
9292
9293static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9294 PyObject *resultobj;
9295 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9296 wxInputStream *result;
9297 PyObject * obj0 = 0 ;
9298 char *kwnames[] = {
9299 (char *) "self", NULL
9300 };
9301
9302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9305 {
9306 PyThreadState* __tstate = wxPyBeginAllowThreads();
9307 result = (wxInputStream *)(arg1)->GetErrorStream();
9308
9309 wxPyEndAllowThreads(__tstate);
9310 if (PyErr_Occurred()) SWIG_fail;
9311 }
9312 {
9313 wxPyInputStream * _ptr = NULL;
9314
9315 if (result) {
9316 _ptr = new wxPyInputStream(result);
9317 }
9318 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9319 }
9320 return resultobj;
9321 fail:
9322 return NULL;
9323}
9324
9325
9326static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9327 PyObject *resultobj;
9328 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9329 wxOutputStream *result;
9330 PyObject * obj0 = 0 ;
9331 char *kwnames[] = {
9332 (char *) "self", NULL
9333 };
9334
9335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9338 {
9339 PyThreadState* __tstate = wxPyBeginAllowThreads();
9340 result = (wxOutputStream *)(arg1)->GetOutputStream();
9341
9342 wxPyEndAllowThreads(__tstate);
9343 if (PyErr_Occurred()) SWIG_fail;
9344 }
9345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9346 return resultobj;
9347 fail:
9348 return NULL;
9349}
9350
9351
9352static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
9353 PyObject *resultobj;
9354 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9355 PyObject * obj0 = 0 ;
9356 char *kwnames[] = {
9357 (char *) "self", NULL
9358 };
9359
9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 (arg1)->CloseOutput();
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 Py_INCREF(Py_None); resultobj = Py_None;
9371 return resultobj;
9372 fail:
9373 return NULL;
9374}
9375
9376
9377static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
9378 PyObject *resultobj;
9379 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9380 bool result;
9381 PyObject * obj0 = 0 ;
9382 char *kwnames[] = {
9383 (char *) "self", NULL
9384 };
9385
9386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9389 {
9390 PyThreadState* __tstate = wxPyBeginAllowThreads();
9391 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9392
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 {
9397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9398 }
9399 return resultobj;
9400 fail:
9401 return NULL;
9402}
9403
9404
9405static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9406 PyObject *resultobj;
9407 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9408 bool result;
9409 PyObject * obj0 = 0 ;
9410 char *kwnames[] = {
9411 (char *) "self", NULL
9412 };
9413
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 {
9425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9426 }
9427 return resultobj;
9428 fail:
9429 return NULL;
9430}
9431
9432
9433static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj;
9435 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9436 bool result;
9437 PyObject * obj0 = 0 ;
9438 char *kwnames[] = {
9439 (char *) "self", NULL
9440 };
9441
9442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
9452 {
9453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9454 }
9455 return resultobj;
9456 fail:
9457 return NULL;
9458}
9459
9460
9461static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
9462 PyObject *obj;
9463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9464 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9465 Py_INCREF(obj);
9466 return Py_BuildValue((char *)"");
9467}
9468static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9469 PyObject *resultobj;
9470 int arg1 = (int) 0 ;
9471 int arg2 = (int) 0 ;
9472 int arg3 = (int) 0 ;
9473 wxProcessEvent *result;
9474 PyObject * obj0 = 0 ;
9475 PyObject * obj1 = 0 ;
9476 PyObject * obj2 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9482 if (obj0) {
9483 arg1 = (int) SWIG_AsInt(obj0);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 if (obj1) {
9487 arg2 = (int) SWIG_AsInt(obj1);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 if (obj2) {
9491 arg3 = (int) SWIG_AsInt(obj2);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 }
9494 {
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
9496 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9497
9498 wxPyEndAllowThreads(__tstate);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
9501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9502 return resultobj;
9503 fail:
9504 return NULL;
9505}
9506
9507
9508static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9509 PyObject *resultobj;
9510 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9511 int result;
9512 PyObject * obj0 = 0 ;
9513 char *kwnames[] = {
9514 (char *) "self", NULL
9515 };
9516
9517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 result = (int)(arg1)->GetPid();
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
9527 resultobj = SWIG_FromInt((int)result);
9528 return resultobj;
9529 fail:
9530 return NULL;
9531}
9532
9533
9534static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9537 int result;
9538 PyObject * obj0 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 result = (int)(arg1)->GetExitCode();
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 resultobj = SWIG_FromInt((int)result);
9554 return resultobj;
9555 fail:
9556 return NULL;
9557}
9558
9559
9560static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj;
9562 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9563 int arg2 ;
9564 PyObject * obj0 = 0 ;
9565 PyObject * obj1 = 0 ;
9566 char *kwnames[] = {
9567 (char *) "self",(char *) "m_pid", NULL
9568 };
9569
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9573 arg2 = (int) SWIG_AsInt(obj1);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 if (arg1) (arg1)->m_pid = arg2;
9576
9577 Py_INCREF(Py_None); resultobj = Py_None;
9578 return resultobj;
9579 fail:
9580 return NULL;
9581}
9582
9583
9584static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj;
9586 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9587 int result;
9588 PyObject * obj0 = 0 ;
9589 char *kwnames[] = {
9590 (char *) "self", NULL
9591 };
9592
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9596 result = (int) ((arg1)->m_pid);
9597
9598 resultobj = SWIG_FromInt((int)result);
9599 return resultobj;
9600 fail:
9601 return NULL;
9602}
9603
9604
9605static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9608 int arg2 ;
9609 PyObject * obj0 = 0 ;
9610 PyObject * obj1 = 0 ;
9611 char *kwnames[] = {
9612 (char *) "self",(char *) "m_exitcode", NULL
9613 };
9614
9615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9618 arg2 = (int) SWIG_AsInt(obj1);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 if (arg1) (arg1)->m_exitcode = arg2;
9621
9622 Py_INCREF(Py_None); resultobj = Py_None;
9623 return resultobj;
9624 fail:
9625 return NULL;
9626}
9627
9628
9629static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9630 PyObject *resultobj;
9631 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9632 int result;
9633 PyObject * obj0 = 0 ;
9634 char *kwnames[] = {
9635 (char *) "self", NULL
9636 };
9637
9638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9641 result = (int) ((arg1)->m_exitcode);
9642
9643 resultobj = SWIG_FromInt((int)result);
9644 return resultobj;
9645 fail:
9646 return NULL;
9647}
9648
9649
9650static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9651 PyObject *obj;
9652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9653 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9654 Py_INCREF(obj);
9655 return Py_BuildValue((char *)"");
9656}
9657static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9658 PyObject *resultobj;
9659 wxString *arg1 = 0 ;
9660 int arg2 = (int) wxEXEC_ASYNC ;
9661 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9662 long result;
9663 bool temp1 = False ;
9664 PyObject * obj0 = 0 ;
9665 PyObject * obj1 = 0 ;
9666 PyObject * obj2 = 0 ;
9667 char *kwnames[] = {
9668 (char *) "command",(char *) "flags",(char *) "process", NULL
9669 };
9670
9671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9672 {
9673 arg1 = wxString_in_helper(obj0);
9674 if (arg1 == NULL) SWIG_fail;
9675 temp1 = True;
9676 }
9677 if (obj1) {
9678 arg2 = (int) SWIG_AsInt(obj1);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 if (obj2) {
9682 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9684 }
9685 {
0439c23b 9686 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
9688 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9689
9690 wxPyEndAllowThreads(__tstate);
110da5b0 9691 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9692 }
9693 resultobj = SWIG_FromLong((long)result);
9694 {
9695 if (temp1)
9696 delete arg1;
9697 }
9698 return resultobj;
9699 fail:
9700 {
9701 if (temp1)
9702 delete arg1;
9703 }
9704 return NULL;
9705}
9706
9707
9708static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj;
9710 int arg1 = (int) wxJOYSTICK1 ;
9711 wxJoystick *result;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "joystick", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9718 if (obj0) {
9719 arg1 = (int) SWIG_AsInt(obj0);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
9722 {
0439c23b 9723 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 result = (wxJoystick *)new wxJoystick(arg1);
9726
9727 wxPyEndAllowThreads(__tstate);
110da5b0 9728 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9729 }
9730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
9731 return resultobj;
9732 fail:
9733 return NULL;
9734}
9735
9736
9737static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9738 PyObject *resultobj;
9739 wxJoystick *arg1 = (wxJoystick *) 0 ;
9740 PyObject * obj0 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9748 {
9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
9750 delete arg1;
9751
9752 wxPyEndAllowThreads(__tstate);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
9755 Py_INCREF(Py_None); resultobj = Py_None;
9756 return resultobj;
9757 fail:
9758 return NULL;
9759}
9760
9761
9762static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9763 PyObject *resultobj;
9764 wxJoystick *arg1 = (wxJoystick *) 0 ;
9765 wxPoint result;
9766 PyObject * obj0 = 0 ;
9767 char *kwnames[] = {
9768 (char *) "self", NULL
9769 };
9770
9771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 result = (arg1)->GetPosition();
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 {
9782 wxPoint * resultptr;
9783 resultptr = new wxPoint((wxPoint &) result);
9784 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9785 }
9786 return resultobj;
9787 fail:
9788 return NULL;
9789}
9790
9791
9792static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxJoystick *arg1 = (wxJoystick *) 0 ;
9795 int result;
9796 PyObject * obj0 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 result = (int)(arg1)->GetZPosition();
9807
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
9811 resultobj = SWIG_FromInt((int)result);
9812 return resultobj;
9813 fail:
9814 return NULL;
9815}
9816
9817
9818static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj;
9820 wxJoystick *arg1 = (wxJoystick *) 0 ;
9821 int result;
9822 PyObject * obj0 = 0 ;
9823 char *kwnames[] = {
9824 (char *) "self", NULL
9825 };
9826
9827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 result = (int)(arg1)->GetButtonState();
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_FromInt((int)result);
9838 return resultobj;
9839 fail:
9840 return NULL;
9841}
9842
9843
9844static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj;
9846 wxJoystick *arg1 = (wxJoystick *) 0 ;
9847 int result;
9848 PyObject * obj0 = 0 ;
9849 char *kwnames[] = {
9850 (char *) "self", NULL
9851 };
9852
9853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 result = (int)(arg1)->GetPOVPosition();
9859
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 resultobj = SWIG_FromInt((int)result);
9864 return resultobj;
9865 fail:
9866 return NULL;
9867}
9868
9869
9870static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxJoystick *arg1 = (wxJoystick *) 0 ;
9873 int result;
9874 PyObject * obj0 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "self", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 result = (int)(arg1)->GetPOVCTSPosition();
9885
9886 wxPyEndAllowThreads(__tstate);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 }
9889 resultobj = SWIG_FromInt((int)result);
9890 return resultobj;
9891 fail:
9892 return NULL;
9893}
9894
9895
9896static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9897 PyObject *resultobj;
9898 wxJoystick *arg1 = (wxJoystick *) 0 ;
9899 int result;
9900 PyObject * obj0 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 result = (int)(arg1)->GetRudderPosition();
9911
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 }
9915 resultobj = SWIG_FromInt((int)result);
9916 return resultobj;
9917 fail:
9918 return NULL;
9919}
9920
9921
9922static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9923 PyObject *resultobj;
9924 wxJoystick *arg1 = (wxJoystick *) 0 ;
9925 int result;
9926 PyObject * obj0 = 0 ;
9927 char *kwnames[] = {
9928 (char *) "self", NULL
9929 };
9930
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 result = (int)(arg1)->GetUPosition();
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 resultobj = SWIG_FromInt((int)result);
9942 return resultobj;
9943 fail:
9944 return NULL;
9945}
9946
9947
9948static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxJoystick *arg1 = (wxJoystick *) 0 ;
9951 int result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (int)(arg1)->GetVPosition();
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 resultobj = SWIG_FromInt((int)result);
9968 return resultobj;
9969 fail:
9970 return NULL;
9971}
9972
9973
9974static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9975 PyObject *resultobj;
9976 wxJoystick *arg1 = (wxJoystick *) 0 ;
9977 int result;
9978 PyObject * obj0 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9986 {
9987 PyThreadState* __tstate = wxPyBeginAllowThreads();
9988 result = (int)(arg1)->GetMovementThreshold();
9989
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 resultobj = SWIG_FromInt((int)result);
9994 return resultobj;
9995 fail:
9996 return NULL;
9997}
9998
9999
10000static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
10001 PyObject *resultobj;
10002 wxJoystick *arg1 = (wxJoystick *) 0 ;
10003 int arg2 ;
10004 PyObject * obj0 = 0 ;
10005 PyObject * obj1 = 0 ;
10006 char *kwnames[] = {
10007 (char *) "self",(char *) "threshold", NULL
10008 };
10009
10010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
10011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10013 arg2 = (int) SWIG_AsInt(obj1);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 (arg1)->SetMovementThreshold(arg2);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 Py_INCREF(Py_None); resultobj = Py_None;
10023 return resultobj;
10024 fail:
10025 return NULL;
10026}
10027
10028
10029static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10030 PyObject *resultobj;
10031 wxJoystick *arg1 = (wxJoystick *) 0 ;
10032 bool result;
10033 PyObject * obj0 = 0 ;
10034 char *kwnames[] = {
10035 (char *) "self", NULL
10036 };
10037
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
10039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 result = (bool)(arg1)->IsOk();
10044
10045 wxPyEndAllowThreads(__tstate);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
10048 {
10049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10050 }
10051 return resultobj;
10052 fail:
10053 return NULL;
10054}
10055
10056
10057static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
10058 PyObject *resultobj;
10059 wxJoystick *arg1 = (wxJoystick *) 0 ;
10060 int result;
10061 PyObject * obj0 = 0 ;
10062 char *kwnames[] = {
10063 (char *) "self", NULL
10064 };
10065
10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
10067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (int)(arg1)->GetNumberJoysticks();
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 resultobj = SWIG_FromInt((int)result);
10077 return resultobj;
10078 fail:
10079 return NULL;
10080}
10081
10082
10083static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxJoystick *arg1 = (wxJoystick *) 0 ;
10086 int result;
10087 PyObject * obj0 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
10093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 result = (int)(arg1)->GetManufacturerId();
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 resultobj = SWIG_FromInt((int)result);
10103 return resultobj;
10104 fail:
10105 return NULL;
10106}
10107
10108
10109static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxJoystick *arg1 = (wxJoystick *) 0 ;
10112 int result;
10113 PyObject * obj0 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "self", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
10119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10121 {
10122 PyThreadState* __tstate = wxPyBeginAllowThreads();
10123 result = (int)(arg1)->GetProductId();
10124
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 resultobj = SWIG_FromInt((int)result);
10129 return resultobj;
10130 fail:
10131 return NULL;
10132}
10133
10134
10135static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
10136 PyObject *resultobj;
10137 wxJoystick *arg1 = (wxJoystick *) 0 ;
10138 wxString result;
10139 PyObject * obj0 = 0 ;
10140 char *kwnames[] = {
10141 (char *) "self", NULL
10142 };
10143
10144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
10145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 result = (arg1)->GetProductName();
10150
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 }
10154 {
10155#if wxUSE_UNICODE
10156 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10157#else
10158 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10159#endif
10160 }
10161 return resultobj;
10162 fail:
10163 return NULL;
10164}
10165
10166
10167static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10168 PyObject *resultobj;
10169 wxJoystick *arg1 = (wxJoystick *) 0 ;
10170 int result;
10171 PyObject * obj0 = 0 ;
10172 char *kwnames[] = {
10173 (char *) "self", NULL
10174 };
10175
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
10177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10179 {
10180 PyThreadState* __tstate = wxPyBeginAllowThreads();
10181 result = (int)(arg1)->GetXMin();
10182
10183 wxPyEndAllowThreads(__tstate);
10184 if (PyErr_Occurred()) SWIG_fail;
10185 }
10186 resultobj = SWIG_FromInt((int)result);
10187 return resultobj;
10188 fail:
10189 return NULL;
10190}
10191
10192
10193static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10194 PyObject *resultobj;
10195 wxJoystick *arg1 = (wxJoystick *) 0 ;
10196 int result;
10197 PyObject * obj0 = 0 ;
10198 char *kwnames[] = {
10199 (char *) "self", NULL
10200 };
10201
10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
10203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10205 {
10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
10207 result = (int)(arg1)->GetYMin();
10208
10209 wxPyEndAllowThreads(__tstate);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 }
10212 resultobj = SWIG_FromInt((int)result);
10213 return resultobj;
10214 fail:
10215 return NULL;
10216}
10217
10218
10219static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj;
10221 wxJoystick *arg1 = (wxJoystick *) 0 ;
10222 int result;
10223 PyObject * obj0 = 0 ;
10224 char *kwnames[] = {
10225 (char *) "self", NULL
10226 };
10227
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
10229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 result = (int)(arg1)->GetZMin();
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 resultobj = SWIG_FromInt((int)result);
10239 return resultobj;
10240 fail:
10241 return NULL;
10242}
10243
10244
10245static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxJoystick *arg1 = (wxJoystick *) 0 ;
10248 int result;
10249 PyObject * obj0 = 0 ;
10250 char *kwnames[] = {
10251 (char *) "self", NULL
10252 };
10253
10254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
10255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 result = (int)(arg1)->GetXMax();
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 resultobj = SWIG_FromInt((int)result);
10265 return resultobj;
10266 fail:
10267 return NULL;
10268}
10269
10270
10271static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj;
10273 wxJoystick *arg1 = (wxJoystick *) 0 ;
10274 int result;
10275 PyObject * obj0 = 0 ;
10276 char *kwnames[] = {
10277 (char *) "self", NULL
10278 };
10279
10280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
10281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10283 {
10284 PyThreadState* __tstate = wxPyBeginAllowThreads();
10285 result = (int)(arg1)->GetYMax();
10286
10287 wxPyEndAllowThreads(__tstate);
10288 if (PyErr_Occurred()) SWIG_fail;
10289 }
10290 resultobj = SWIG_FromInt((int)result);
10291 return resultobj;
10292 fail:
10293 return NULL;
10294}
10295
10296
10297static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10298 PyObject *resultobj;
10299 wxJoystick *arg1 = (wxJoystick *) 0 ;
10300 int result;
10301 PyObject * obj0 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "self", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 result = (int)(arg1)->GetZMax();
10312
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 resultobj = SWIG_FromInt((int)result);
10317 return resultobj;
10318 fail:
10319 return NULL;
10320}
10321
10322
10323static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10324 PyObject *resultobj;
10325 wxJoystick *arg1 = (wxJoystick *) 0 ;
10326 int result;
10327 PyObject * obj0 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = (int)(arg1)->GetNumberButtons();
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 resultobj = SWIG_FromInt((int)result);
10343 return resultobj;
10344 fail:
10345 return NULL;
10346}
10347
10348
10349static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj;
10351 wxJoystick *arg1 = (wxJoystick *) 0 ;
10352 int result;
10353 PyObject * obj0 = 0 ;
10354 char *kwnames[] = {
10355 (char *) "self", NULL
10356 };
10357
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 result = (int)(arg1)->GetNumberAxes();
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 resultobj = SWIG_FromInt((int)result);
10369 return resultobj;
10370 fail:
10371 return NULL;
10372}
10373
10374
10375static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10376 PyObject *resultobj;
10377 wxJoystick *arg1 = (wxJoystick *) 0 ;
10378 int result;
10379 PyObject * obj0 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = (int)(arg1)->GetMaxButtons();
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
10394 resultobj = SWIG_FromInt((int)result);
10395 return resultobj;
10396 fail:
10397 return NULL;
10398}
10399
10400
10401static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxJoystick *arg1 = (wxJoystick *) 0 ;
10404 int result;
10405 PyObject * obj0 = 0 ;
10406 char *kwnames[] = {
10407 (char *) "self", NULL
10408 };
10409
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10413 {
10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
10415 result = (int)(arg1)->GetMaxAxes();
10416
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
10420 resultobj = SWIG_FromInt((int)result);
10421 return resultobj;
10422 fail:
10423 return NULL;
10424}
10425
10426
10427static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10428 PyObject *resultobj;
10429 wxJoystick *arg1 = (wxJoystick *) 0 ;
10430 int result;
10431 PyObject * obj0 = 0 ;
10432 char *kwnames[] = {
10433 (char *) "self", NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 result = (int)(arg1)->GetPollingMin();
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 resultobj = SWIG_FromInt((int)result);
10447 return resultobj;
10448 fail:
10449 return NULL;
10450}
10451
10452
10453static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10454 PyObject *resultobj;
10455 wxJoystick *arg1 = (wxJoystick *) 0 ;
10456 int result;
10457 PyObject * obj0 = 0 ;
10458 char *kwnames[] = {
10459 (char *) "self", NULL
10460 };
10461
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 result = (int)(arg1)->GetPollingMax();
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 resultobj = SWIG_FromInt((int)result);
10473 return resultobj;
10474 fail:
10475 return NULL;
10476}
10477
10478
10479static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10480 PyObject *resultobj;
10481 wxJoystick *arg1 = (wxJoystick *) 0 ;
10482 int result;
10483 PyObject * obj0 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "self", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 result = (int)(arg1)->GetRudderMin();
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 resultobj = SWIG_FromInt((int)result);
10499 return resultobj;
10500 fail:
10501 return NULL;
10502}
10503
10504
10505static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj;
10507 wxJoystick *arg1 = (wxJoystick *) 0 ;
10508 int result;
10509 PyObject * obj0 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "self", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 result = (int)(arg1)->GetRudderMax();
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 resultobj = SWIG_FromInt((int)result);
10525 return resultobj;
10526 fail:
10527 return NULL;
10528}
10529
10530
10531static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10532 PyObject *resultobj;
10533 wxJoystick *arg1 = (wxJoystick *) 0 ;
10534 int result;
10535 PyObject * obj0 = 0 ;
10536 char *kwnames[] = {
10537 (char *) "self", NULL
10538 };
10539
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10543 {
10544 PyThreadState* __tstate = wxPyBeginAllowThreads();
10545 result = (int)(arg1)->GetUMin();
10546
10547 wxPyEndAllowThreads(__tstate);
10548 if (PyErr_Occurred()) SWIG_fail;
10549 }
10550 resultobj = SWIG_FromInt((int)result);
10551 return resultobj;
10552 fail:
10553 return NULL;
10554}
10555
10556
10557static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10558 PyObject *resultobj;
10559 wxJoystick *arg1 = (wxJoystick *) 0 ;
10560 int result;
10561 PyObject * obj0 = 0 ;
10562 char *kwnames[] = {
10563 (char *) "self", NULL
10564 };
10565
10566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 result = (int)(arg1)->GetUMax();
10572
10573 wxPyEndAllowThreads(__tstate);
10574 if (PyErr_Occurred()) SWIG_fail;
10575 }
10576 resultobj = SWIG_FromInt((int)result);
10577 return resultobj;
10578 fail:
10579 return NULL;
10580}
10581
10582
10583static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10584 PyObject *resultobj;
10585 wxJoystick *arg1 = (wxJoystick *) 0 ;
10586 int result;
10587 PyObject * obj0 = 0 ;
10588 char *kwnames[] = {
10589 (char *) "self", NULL
10590 };
10591
10592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 result = (int)(arg1)->GetVMin();
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 resultobj = SWIG_FromInt((int)result);
10603 return resultobj;
10604 fail:
10605 return NULL;
10606}
10607
10608
10609static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10610 PyObject *resultobj;
10611 wxJoystick *arg1 = (wxJoystick *) 0 ;
10612 int result;
10613 PyObject * obj0 = 0 ;
10614 char *kwnames[] = {
10615 (char *) "self", NULL
10616 };
10617
10618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 result = (int)(arg1)->GetVMax();
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 resultobj = SWIG_FromInt((int)result);
10629 return resultobj;
10630 fail:
10631 return NULL;
10632}
10633
10634
10635static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10636 PyObject *resultobj;
10637 wxJoystick *arg1 = (wxJoystick *) 0 ;
10638 bool result;
10639 PyObject * obj0 = 0 ;
10640 char *kwnames[] = {
10641 (char *) "self", NULL
10642 };
10643
10644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 result = (bool)(arg1)->HasRudder();
10650
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 {
10655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10656 }
10657 return resultobj;
10658 fail:
10659 return NULL;
10660}
10661
10662
10663static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10664 PyObject *resultobj;
10665 wxJoystick *arg1 = (wxJoystick *) 0 ;
10666 bool result;
10667 PyObject * obj0 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "self", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 result = (bool)(arg1)->HasZ();
10678
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 {
10683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10684 }
10685 return resultobj;
10686 fail:
10687 return NULL;
10688}
10689
10690
10691static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10692 PyObject *resultobj;
10693 wxJoystick *arg1 = (wxJoystick *) 0 ;
10694 bool result;
10695 PyObject * obj0 = 0 ;
10696 char *kwnames[] = {
10697 (char *) "self", NULL
10698 };
10699
10700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10703 {
10704 PyThreadState* __tstate = wxPyBeginAllowThreads();
10705 result = (bool)(arg1)->HasU();
10706
10707 wxPyEndAllowThreads(__tstate);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 }
10710 {
10711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10712 }
10713 return resultobj;
10714 fail:
10715 return NULL;
10716}
10717
10718
10719static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10720 PyObject *resultobj;
10721 wxJoystick *arg1 = (wxJoystick *) 0 ;
10722 bool result;
10723 PyObject * obj0 = 0 ;
10724 char *kwnames[] = {
10725 (char *) "self", NULL
10726 };
10727
10728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 result = (bool)(arg1)->HasV();
10734
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 {
10739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10740 }
10741 return resultobj;
10742 fail:
10743 return NULL;
10744}
10745
10746
10747static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10748 PyObject *resultobj;
10749 wxJoystick *arg1 = (wxJoystick *) 0 ;
10750 bool result;
10751 PyObject * obj0 = 0 ;
10752 char *kwnames[] = {
10753 (char *) "self", NULL
10754 };
10755
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 result = (bool)(arg1)->HasPOV();
10762
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 {
10767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10768 }
10769 return resultobj;
10770 fail:
10771 return NULL;
10772}
10773
10774
10775static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj;
10777 wxJoystick *arg1 = (wxJoystick *) 0 ;
10778 bool result;
10779 PyObject * obj0 = 0 ;
10780 char *kwnames[] = {
10781 (char *) "self", NULL
10782 };
10783
10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10787 {
10788 PyThreadState* __tstate = wxPyBeginAllowThreads();
10789 result = (bool)(arg1)->HasPOV4Dir();
10790
10791 wxPyEndAllowThreads(__tstate);
10792 if (PyErr_Occurred()) SWIG_fail;
10793 }
10794 {
10795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10796 }
10797 return resultobj;
10798 fail:
10799 return NULL;
10800}
10801
10802
10803static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10804 PyObject *resultobj;
10805 wxJoystick *arg1 = (wxJoystick *) 0 ;
10806 bool result;
10807 PyObject * obj0 = 0 ;
10808 char *kwnames[] = {
10809 (char *) "self", NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10815 {
10816 PyThreadState* __tstate = wxPyBeginAllowThreads();
10817 result = (bool)(arg1)->HasPOVCTS();
10818
10819 wxPyEndAllowThreads(__tstate);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
10822 {
10823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10824 }
10825 return resultobj;
10826 fail:
10827 return NULL;
10828}
10829
10830
10831static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10832 PyObject *resultobj;
10833 wxJoystick *arg1 = (wxJoystick *) 0 ;
10834 wxWindow *arg2 = (wxWindow *) 0 ;
10835 int arg3 = (int) 0 ;
10836 bool result;
10837 PyObject * obj0 = 0 ;
10838 PyObject * obj1 = 0 ;
10839 PyObject * obj2 = 0 ;
10840 char *kwnames[] = {
10841 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10842 };
10843
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10849 if (obj2) {
10850 arg3 = (int) SWIG_AsInt(obj2);
10851 if (PyErr_Occurred()) SWIG_fail;
10852 }
10853 {
10854 PyThreadState* __tstate = wxPyBeginAllowThreads();
10855 result = (bool)(arg1)->SetCapture(arg2,arg3);
10856
10857 wxPyEndAllowThreads(__tstate);
10858 if (PyErr_Occurred()) SWIG_fail;
10859 }
10860 {
10861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10862 }
10863 return resultobj;
10864 fail:
10865 return NULL;
10866}
10867
10868
10869static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10870 PyObject *resultobj;
10871 wxJoystick *arg1 = (wxJoystick *) 0 ;
10872 bool result;
10873 PyObject * obj0 = 0 ;
10874 char *kwnames[] = {
10875 (char *) "self", NULL
10876 };
10877
10878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10881 {
10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
10883 result = (bool)(arg1)->ReleaseCapture();
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 {
10889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10890 }
10891 return resultobj;
10892 fail:
10893 return NULL;
10894}
10895
10896
10897static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10898 PyObject *obj;
10899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10900 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10901 Py_INCREF(obj);
10902 return Py_BuildValue((char *)"");
10903}
10904static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj;
10906 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10907 wxPoint *arg2 = (wxPoint *) 0 ;
10908 PyObject * obj0 = 0 ;
10909 PyObject * obj1 = 0 ;
10910 char *kwnames[] = {
10911 (char *) "self",(char *) "m_pos", NULL
10912 };
10913
10914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10919 if (arg1) (arg1)->m_pos = *arg2;
10920
10921 Py_INCREF(Py_None); resultobj = Py_None;
10922 return resultobj;
10923 fail:
10924 return NULL;
10925}
10926
10927
10928static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10929 PyObject *resultobj;
10930 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10931 wxPoint *result;
10932 PyObject * obj0 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "self", NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10940 result = (wxPoint *)& ((arg1)->m_pos);
10941
10942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
10943 return resultobj;
10944 fail:
10945 return NULL;
10946}
10947
10948
10949static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10952 int arg2 ;
10953 PyObject * obj0 = 0 ;
10954 PyObject * obj1 = 0 ;
10955 char *kwnames[] = {
10956 (char *) "self",(char *) "m_zPosition", NULL
10957 };
10958
10959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10962 arg2 = (int) SWIG_AsInt(obj1);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 if (arg1) (arg1)->m_zPosition = arg2;
10965
10966 Py_INCREF(Py_None); resultobj = Py_None;
10967 return resultobj;
10968 fail:
10969 return NULL;
10970}
10971
10972
10973static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj;
10975 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10976 int result;
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10985 result = (int) ((arg1)->m_zPosition);
10986
10987 resultobj = SWIG_FromInt((int)result);
10988 return resultobj;
10989 fail:
10990 return NULL;
10991}
10992
10993
10994static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj;
10996 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10997 int arg2 ;
10998 PyObject * obj0 = 0 ;
10999 PyObject * obj1 = 0 ;
11000 char *kwnames[] = {
11001 (char *) "self",(char *) "m_buttonChange", NULL
11002 };
11003
11004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
11005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11007 arg2 = (int) SWIG_AsInt(obj1);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 if (arg1) (arg1)->m_buttonChange = arg2;
11010
11011 Py_INCREF(Py_None); resultobj = Py_None;
11012 return resultobj;
11013 fail:
11014 return NULL;
11015}
11016
11017
11018static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11019 PyObject *resultobj;
11020 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11021 int result;
11022 PyObject * obj0 = 0 ;
11023 char *kwnames[] = {
11024 (char *) "self", NULL
11025 };
11026
11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
11028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11030 result = (int) ((arg1)->m_buttonChange);
11031
11032 resultobj = SWIG_FromInt((int)result);
11033 return resultobj;
11034 fail:
11035 return NULL;
11036}
11037
11038
11039static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj;
11041 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11042 int arg2 ;
11043 PyObject * obj0 = 0 ;
11044 PyObject * obj1 = 0 ;
11045 char *kwnames[] = {
11046 (char *) "self",(char *) "m_buttonState", NULL
11047 };
11048
11049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
11050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11052 arg2 = (int) SWIG_AsInt(obj1);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 if (arg1) (arg1)->m_buttonState = arg2;
11055
11056 Py_INCREF(Py_None); resultobj = Py_None;
11057 return resultobj;
11058 fail:
11059 return NULL;
11060}
11061
11062
11063static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11064 PyObject *resultobj;
11065 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11066 int result;
11067 PyObject * obj0 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "self", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
11073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11075 result = (int) ((arg1)->m_buttonState);
11076
11077 resultobj = SWIG_FromInt((int)result);
11078 return resultobj;
11079 fail:
11080 return NULL;
11081}
11082
11083
11084static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj;
11086 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11087 int arg2 ;
11088 PyObject * obj0 = 0 ;
11089 PyObject * obj1 = 0 ;
11090 char *kwnames[] = {
11091 (char *) "self",(char *) "m_joyStick", NULL
11092 };
11093
11094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
11095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11097 arg2 = (int) SWIG_AsInt(obj1);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 if (arg1) (arg1)->m_joyStick = arg2;
11100
11101 Py_INCREF(Py_None); resultobj = Py_None;
11102 return resultobj;
11103 fail:
11104 return NULL;
11105}
11106
11107
11108static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11109 PyObject *resultobj;
11110 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11111 int result;
11112 PyObject * obj0 = 0 ;
11113 char *kwnames[] = {
11114 (char *) "self", NULL
11115 };
11116
11117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
11118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11120 result = (int) ((arg1)->m_joyStick);
11121
11122 resultobj = SWIG_FromInt((int)result);
11123 return resultobj;
11124 fail:
11125 return NULL;
11126}
11127
11128
11129static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11130 PyObject *resultobj;
11131 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11132 int arg2 = (int) 0 ;
11133 int arg3 = (int) wxJOYSTICK1 ;
11134 int arg4 = (int) 0 ;
11135 wxJoystickEvent *result;
11136 PyObject * obj0 = 0 ;
11137 PyObject * obj1 = 0 ;
11138 PyObject * obj2 = 0 ;
11139 PyObject * obj3 = 0 ;
11140 char *kwnames[] = {
11141 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11142 };
11143
11144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11145 if (obj0) {
11146 arg1 = (wxEventType) SWIG_AsInt(obj0);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 }
11149 if (obj1) {
11150 arg2 = (int) SWIG_AsInt(obj1);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 if (obj2) {
11154 arg3 = (int) SWIG_AsInt(obj2);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 if (obj3) {
11158 arg4 = (int) SWIG_AsInt(obj3);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
11164
11165 wxPyEndAllowThreads(__tstate);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 }
11168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
11169 return resultobj;
11170 fail:
11171 return NULL;
11172}
11173
11174
11175static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11176 PyObject *resultobj;
11177 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11178 wxPoint result;
11179 PyObject * obj0 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "self", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
11185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = ((wxJoystickEvent const *)arg1)->GetPosition();
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 {
11195 wxPoint * resultptr;
11196 resultptr = new wxPoint((wxPoint &) result);
11197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11198 }
11199 return resultobj;
11200 fail:
11201 return NULL;
11202}
11203
11204
11205static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11206 PyObject *resultobj;
11207 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11208 int result;
11209 PyObject * obj0 = 0 ;
11210 char *kwnames[] = {
11211 (char *) "self", NULL
11212 };
11213
11214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
11215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
11220
11221 wxPyEndAllowThreads(__tstate);
11222 if (PyErr_Occurred()) SWIG_fail;
11223 }
11224 resultobj = SWIG_FromInt((int)result);
11225 return resultobj;
11226 fail:
11227 return NULL;
11228}
11229
11230
11231static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj;
11233 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11234 int result;
11235 PyObject * obj0 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
11241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 resultobj = SWIG_FromInt((int)result);
11251 return resultobj;
11252 fail:
11253 return NULL;
11254}
11255
11256
11257static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11258 PyObject *resultobj;
11259 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11260 int result;
11261 PyObject * obj0 = 0 ;
11262 char *kwnames[] = {
11263 (char *) "self", NULL
11264 };
11265
11266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
11267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11269 {
11270 PyThreadState* __tstate = wxPyBeginAllowThreads();
11271 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
11272
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 resultobj = SWIG_FromInt((int)result);
11277 return resultobj;
11278 fail:
11279 return NULL;
11280}
11281
11282
11283static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj;
11285 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11286 int result;
11287 PyObject * obj0 = 0 ;
11288 char *kwnames[] = {
11289 (char *) "self", NULL
11290 };
11291
11292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11295 {
11296 PyThreadState* __tstate = wxPyBeginAllowThreads();
11297 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11298
11299 wxPyEndAllowThreads(__tstate);
11300 if (PyErr_Occurred()) SWIG_fail;
11301 }
11302 resultobj = SWIG_FromInt((int)result);
11303 return resultobj;
11304 fail:
11305 return NULL;
11306}
11307
11308
11309static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11310 PyObject *resultobj;
11311 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11312 int arg2 ;
11313 PyObject * obj0 = 0 ;
11314 PyObject * obj1 = 0 ;
11315 char *kwnames[] = {
11316 (char *) "self",(char *) "stick", NULL
11317 };
11318
11319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11322 arg2 = (int) SWIG_AsInt(obj1);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 (arg1)->SetJoystick(arg2);
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 Py_INCREF(Py_None); resultobj = Py_None;
11332 return resultobj;
11333 fail:
11334 return NULL;
11335}
11336
11337
11338static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11341 int arg2 ;
11342 PyObject * obj0 = 0 ;
11343 PyObject * obj1 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self",(char *) "state", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11351 arg2 = (int) SWIG_AsInt(obj1);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 {
11354 PyThreadState* __tstate = wxPyBeginAllowThreads();
11355 (arg1)->SetButtonState(arg2);
11356
11357 wxPyEndAllowThreads(__tstate);
11358 if (PyErr_Occurred()) SWIG_fail;
11359 }
11360 Py_INCREF(Py_None); resultobj = Py_None;
11361 return resultobj;
11362 fail:
11363 return NULL;
11364}
11365
11366
11367static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11368 PyObject *resultobj;
11369 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11370 int arg2 ;
11371 PyObject * obj0 = 0 ;
11372 PyObject * obj1 = 0 ;
11373 char *kwnames[] = {
11374 (char *) "self",(char *) "change", NULL
11375 };
11376
11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11380 arg2 = (int) SWIG_AsInt(obj1);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 {
11383 PyThreadState* __tstate = wxPyBeginAllowThreads();
11384 (arg1)->SetButtonChange(arg2);
11385
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 Py_INCREF(Py_None); resultobj = Py_None;
11390 return resultobj;
11391 fail:
11392 return NULL;
11393}
11394
11395
11396static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11397 PyObject *resultobj;
11398 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11399 wxPoint *arg2 = 0 ;
11400 wxPoint temp2 ;
11401 PyObject * obj0 = 0 ;
11402 PyObject * obj1 = 0 ;
11403 char *kwnames[] = {
11404 (char *) "self",(char *) "pos", NULL
11405 };
11406
11407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11410 {
11411 arg2 = &temp2;
11412 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11413 }
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 (arg1)->SetPosition((wxPoint const &)*arg2);
11417
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 Py_INCREF(Py_None); resultobj = Py_None;
11422 return resultobj;
11423 fail:
11424 return NULL;
11425}
11426
11427
11428static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11429 PyObject *resultobj;
11430 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11431 int arg2 ;
11432 PyObject * obj0 = 0 ;
11433 PyObject * obj1 = 0 ;
11434 char *kwnames[] = {
11435 (char *) "self",(char *) "zPos", NULL
11436 };
11437
11438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11441 arg2 = (int) SWIG_AsInt(obj1);
11442 if (PyErr_Occurred()) SWIG_fail;
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 (arg1)->SetZPosition(arg2);
11446
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 Py_INCREF(Py_None); resultobj = Py_None;
11451 return resultobj;
11452 fail:
11453 return NULL;
11454}
11455
11456
11457static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11458 PyObject *resultobj;
11459 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11460 bool result;
11461 PyObject * obj0 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 {
11477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11478 }
11479 return resultobj;
11480 fail:
11481 return NULL;
11482}
11483
11484
11485static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11488 bool result;
11489 PyObject * obj0 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11500
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 {
11505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11506 }
11507 return resultobj;
11508 fail:
11509 return NULL;
11510}
11511
11512
11513static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj;
11515 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11516 bool result;
11517 PyObject * obj0 = 0 ;
11518 char *kwnames[] = {
11519 (char *) "self", NULL
11520 };
11521
11522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 {
11533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11534 }
11535 return resultobj;
11536 fail:
11537 return NULL;
11538}
11539
11540
11541static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11544 int arg2 = (int) wxJOY_BUTTON_ANY ;
11545 bool result;
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548 char *kwnames[] = {
11549 (char *) "self",(char *) "but", NULL
11550 };
11551
11552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11555 if (obj1) {
11556 arg2 = (int) SWIG_AsInt(obj1);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 {
11567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11568 }
11569 return resultobj;
11570 fail:
11571 return NULL;
11572}
11573
11574
11575static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11576 PyObject *resultobj;
11577 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11578 int arg2 = (int) wxJOY_BUTTON_ANY ;
11579 bool result;
11580 PyObject * obj0 = 0 ;
11581 PyObject * obj1 = 0 ;
11582 char *kwnames[] = {
11583 (char *) "self",(char *) "but", NULL
11584 };
11585
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11589 if (obj1) {
11590 arg2 = (int) SWIG_AsInt(obj1);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 {
11601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11602 }
11603 return resultobj;
11604 fail:
11605 return NULL;
11606}
11607
11608
11609static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11610 PyObject *resultobj;
11611 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11612 int arg2 = (int) wxJOY_BUTTON_ANY ;
11613 bool result;
11614 PyObject * obj0 = 0 ;
11615 PyObject * obj1 = 0 ;
11616 char *kwnames[] = {
11617 (char *) "self",(char *) "but", NULL
11618 };
11619
11620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11623 if (obj1) {
11624 arg2 = (int) SWIG_AsInt(obj1);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 {
11635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11636 }
11637 return resultobj;
11638 fail:
11639 return NULL;
11640}
11641
11642
11643static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11644 PyObject *obj;
11645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11646 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11647 Py_INCREF(obj);
11648 return Py_BuildValue((char *)"");
11649}
0346c964 11650static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 11651 PyObject *resultobj;
0346c964
RD
11652 wxString const &arg1_defvalue = wxPyEmptyString ;
11653 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc
RD
11654 wxSound *result;
11655 bool temp1 = False ;
11656 PyObject * obj0 = 0 ;
0346c964
RD
11657 char *kwnames[] = {
11658 (char *) "fileName", NULL
11659 };
d55e5bfc 11660
0346c964
RD
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
11662 if (obj0) {
11663 {
11664 arg1 = wxString_in_helper(obj0);
11665 if (arg1 == NULL) SWIG_fail;
11666 temp1 = True;
11667 }
d55e5bfc
RD
11668 }
11669 {
0439c23b 11670 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 11672 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
11673
11674 wxPyEndAllowThreads(__tstate);
110da5b0 11675 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11676 }
11677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11678 {
11679 if (temp1)
11680 delete arg1;
11681 }
11682 return resultobj;
11683 fail:
11684 {
11685 if (temp1)
11686 delete arg1;
11687 }
11688 return NULL;
11689}
11690
11691
0346c964 11692static PyObject *_wrap_new_SoundFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 11693 PyObject *resultobj;
0346c964 11694 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
11695 wxSound *result;
11696 PyObject * obj0 = 0 ;
0346c964
RD
11697 char *kwnames[] = {
11698 (char *) "data", NULL
11699 };
d55e5bfc 11700
0346c964
RD
11701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
11702 arg1 = obj0;
d55e5bfc 11703 {
0439c23b 11704 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11705 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 11706 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
11707
11708 wxPyEndAllowThreads(__tstate);
110da5b0 11709 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11710 }
11711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11712 return resultobj;
11713 fail:
11714 return NULL;
11715}
11716
11717
d55e5bfc
RD
11718static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
11719 PyObject *resultobj;
11720 wxSound *arg1 = (wxSound *) 0 ;
11721 PyObject * obj0 = 0 ;
11722 char *kwnames[] = {
11723 (char *) "self", NULL
11724 };
11725
11726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 delete arg1;
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 Py_INCREF(Py_None); resultobj = Py_None;
11737 return resultobj;
11738 fail:
11739 return NULL;
11740}
11741
11742
0346c964 11743static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11744 PyObject *resultobj;
11745 wxSound *arg1 = (wxSound *) 0 ;
11746 wxString *arg2 = 0 ;
d55e5bfc
RD
11747 bool result;
11748 bool temp2 = False ;
11749 PyObject * obj0 = 0 ;
11750 PyObject * obj1 = 0 ;
0346c964
RD
11751 char *kwnames[] = {
11752 (char *) "self",(char *) "fileName", NULL
11753 };
d55e5bfc 11754
0346c964 11755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11758 {
11759 arg2 = wxString_in_helper(obj1);
11760 if (arg2 == NULL) SWIG_fail;
11761 temp2 = True;
11762 }
d55e5bfc
RD
11763 {
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 11765 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 }
11770 {
11771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11772 }
11773 {
11774 if (temp2)
11775 delete arg2;
11776 }
11777 return resultobj;
11778 fail:
11779 {
11780 if (temp2)
11781 delete arg2;
11782 }
11783 return NULL;
11784}
11785
11786
0346c964 11787static PyObject *_wrap_Sound_CreateFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11788 PyObject *resultobj;
11789 wxSound *arg1 = (wxSound *) 0 ;
0346c964 11790 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
11791 bool result;
11792 PyObject * obj0 = 0 ;
11793 PyObject * obj1 = 0 ;
0346c964
RD
11794 char *kwnames[] = {
11795 (char *) "self",(char *) "data", NULL
11796 };
d55e5bfc 11797
0346c964 11798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0346c964 11801 arg2 = obj1;
d55e5bfc
RD
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 11804 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 {
11810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11811 }
11812 return resultobj;
11813 fail:
11814 return NULL;
11815}
11816
11817
d55e5bfc
RD
11818static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11819 PyObject *resultobj;
11820 wxSound *arg1 = (wxSound *) 0 ;
11821 bool result;
11822 PyObject * obj0 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "self", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11830 {
11831 PyThreadState* __tstate = wxPyBeginAllowThreads();
11832 result = (bool)(arg1)->IsOk();
11833
11834 wxPyEndAllowThreads(__tstate);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 {
11838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11839 }
11840 return resultobj;
11841 fail:
11842 return NULL;
11843}
11844
11845
0346c964 11846static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11847 PyObject *resultobj;
11848 wxSound *arg1 = (wxSound *) 0 ;
11849 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11850 bool result;
11851 PyObject * obj0 = 0 ;
11852 PyObject * obj1 = 0 ;
0346c964
RD
11853 char *kwnames[] = {
11854 (char *) "self",(char *) "flags", NULL
11855 };
d55e5bfc 11856
0346c964 11857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11860 if (obj1) {
11861 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 {
0439c23b 11865 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 result = (bool)((wxSound const *)arg1)->Play(arg2);
11868
11869 wxPyEndAllowThreads(__tstate);
110da5b0 11870 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11871 }
11872 {
11873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11874 }
11875 return resultobj;
11876 fail:
11877 return NULL;
11878}
11879
11880
0346c964 11881static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11882 PyObject *resultobj;
11883 wxString *arg1 = 0 ;
11884 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11885 bool result;
11886 bool temp1 = False ;
11887 PyObject * obj0 = 0 ;
11888 PyObject * obj1 = 0 ;
0346c964
RD
11889 char *kwnames[] = {
11890 (char *) "filename",(char *) "flags", NULL
11891 };
d55e5bfc 11892
0346c964 11893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11894 {
11895 arg1 = wxString_in_helper(obj0);
11896 if (arg1 == NULL) SWIG_fail;
11897 temp1 = True;
11898 }
11899 if (obj1) {
11900 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 {
0439c23b 11904 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11905 PyThreadState* __tstate = wxPyBeginAllowThreads();
11906 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11907
11908 wxPyEndAllowThreads(__tstate);
110da5b0 11909 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11910 }
11911 {
11912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11913 }
11914 {
11915 if (temp1)
11916 delete arg1;
11917 }
11918 return resultobj;
11919 fail:
11920 {
11921 if (temp1)
11922 delete arg1;
11923 }
11924 return NULL;
11925}
11926
11927
11928static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11929 PyObject *resultobj;
11930 char *kwnames[] = {
11931 NULL
11932 };
11933
11934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11935 {
0439c23b 11936 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11937 PyThreadState* __tstate = wxPyBeginAllowThreads();
11938 Sound_Stop();
11939
11940 wxPyEndAllowThreads(__tstate);
110da5b0 11941 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11942 }
11943 Py_INCREF(Py_None); resultobj = Py_None;
11944 return resultobj;
11945 fail:
11946 return NULL;
11947}
11948
11949
11950static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
11951 PyObject *obj;
11952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11953 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11954 Py_INCREF(obj);
11955 return Py_BuildValue((char *)"");
11956}
11957static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11958 PyObject *resultobj;
11959 wxString *arg1 = 0 ;
11960 wxString *arg2 = 0 ;
11961 wxString *arg3 = 0 ;
11962 wxString *arg4 = 0 ;
11963 wxFileTypeInfo *result;
11964 bool temp1 = False ;
11965 bool temp2 = False ;
11966 bool temp3 = False ;
11967 bool temp4 = False ;
11968 PyObject * obj0 = 0 ;
11969 PyObject * obj1 = 0 ;
11970 PyObject * obj2 = 0 ;
11971 PyObject * obj3 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11977 {
11978 arg1 = wxString_in_helper(obj0);
11979 if (arg1 == NULL) SWIG_fail;
11980 temp1 = True;
11981 }
11982 {
11983 arg2 = wxString_in_helper(obj1);
11984 if (arg2 == NULL) SWIG_fail;
11985 temp2 = True;
11986 }
11987 {
11988 arg3 = wxString_in_helper(obj2);
11989 if (arg3 == NULL) SWIG_fail;
11990 temp3 = True;
11991 }
11992 {
11993 arg4 = wxString_in_helper(obj3);
11994 if (arg4 == NULL) SWIG_fail;
11995 temp4 = True;
11996 }
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
12004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12005 {
12006 if (temp1)
12007 delete arg1;
12008 }
12009 {
12010 if (temp2)
12011 delete arg2;
12012 }
12013 {
12014 if (temp3)
12015 delete arg3;
12016 }
12017 {
12018 if (temp4)
12019 delete arg4;
12020 }
12021 return resultobj;
12022 fail:
12023 {
12024 if (temp1)
12025 delete arg1;
12026 }
12027 {
12028 if (temp2)
12029 delete arg2;
12030 }
12031 {
12032 if (temp3)
12033 delete arg3;
12034 }
12035 {
12036 if (temp4)
12037 delete arg4;
12038 }
12039 return NULL;
12040}
12041
12042
12043static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
12044 PyObject *resultobj;
12045 wxArrayString *arg1 = 0 ;
12046 wxFileTypeInfo *result;
12047 bool temp1 = False ;
12048 PyObject * obj0 = 0 ;
12049 char *kwnames[] = {
12050 (char *) "sArray", NULL
12051 };
12052
12053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
12054 {
12055 if (! PySequence_Check(obj0)) {
12056 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12057 SWIG_fail;
12058 }
12059 arg1 = new wxArrayString;
12060 temp1 = True;
12061 int i, len=PySequence_Length(obj0);
12062 for (i=0; i<len; i++) {
12063 PyObject* item = PySequence_GetItem(obj0, i);
12064#if wxUSE_UNICODE
12065 PyObject* str = PyObject_Unicode(item);
12066#else
12067 PyObject* str = PyObject_Str(item);
12068#endif
12069 if (PyErr_Occurred()) SWIG_fail;
12070 arg1->Add(Py2wxString(str));
12071 Py_DECREF(item);
12072 Py_DECREF(str);
12073 }
12074 }
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12083 {
12084 if (temp1) delete arg1;
12085 }
12086 return resultobj;
12087 fail:
12088 {
12089 if (temp1) delete arg1;
12090 }
12091 return NULL;
12092}
12093
12094
12095static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12096 PyObject *resultobj;
12097 wxFileTypeInfo *result;
12098 char *kwnames[] = {
12099 NULL
12100 };
12101
12102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
12103 {
12104 PyThreadState* __tstate = wxPyBeginAllowThreads();
12105 result = (wxFileTypeInfo *)new wxFileTypeInfo();
12106
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12111 return resultobj;
12112 fail:
12113 return NULL;
12114}
12115
12116
12117static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
12118 PyObject *resultobj;
12119 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12120 bool result;
12121 PyObject * obj0 = 0 ;
12122 char *kwnames[] = {
12123 (char *) "self", NULL
12124 };
12125
12126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
12127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12129 {
12130 PyThreadState* __tstate = wxPyBeginAllowThreads();
12131 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
12132
12133 wxPyEndAllowThreads(__tstate);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
12136 {
12137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12138 }
12139 return resultobj;
12140 fail:
12141 return NULL;
12142}
12143
12144
12145static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12146 PyObject *resultobj;
12147 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12148 wxString *arg2 = 0 ;
12149 int arg3 = (int) 0 ;
12150 bool temp2 = False ;
12151 PyObject * obj0 = 0 ;
12152 PyObject * obj1 = 0 ;
12153 PyObject * obj2 = 0 ;
12154 char *kwnames[] = {
12155 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12156 };
12157
12158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12161 {
12162 arg2 = wxString_in_helper(obj1);
12163 if (arg2 == NULL) SWIG_fail;
12164 temp2 = True;
12165 }
12166 if (obj2) {
12167 arg3 = (int) SWIG_AsInt(obj2);
12168 if (PyErr_Occurred()) SWIG_fail;
12169 }
12170 {
12171 PyThreadState* __tstate = wxPyBeginAllowThreads();
12172 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12173
12174 wxPyEndAllowThreads(__tstate);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 Py_INCREF(Py_None); resultobj = Py_None;
12178 {
12179 if (temp2)
12180 delete arg2;
12181 }
12182 return resultobj;
12183 fail:
12184 {
12185 if (temp2)
12186 delete arg2;
12187 }
12188 return NULL;
12189}
12190
12191
12192static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12193 PyObject *resultobj;
12194 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12195 wxString *arg2 = 0 ;
12196 bool temp2 = False ;
12197 PyObject * obj0 = 0 ;
12198 PyObject * obj1 = 0 ;
12199 char *kwnames[] = {
12200 (char *) "self",(char *) "shortDesc", NULL
12201 };
12202
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12206 {
12207 arg2 = wxString_in_helper(obj1);
12208 if (arg2 == NULL) SWIG_fail;
12209 temp2 = True;
12210 }
12211 {
12212 PyThreadState* __tstate = wxPyBeginAllowThreads();
12213 (arg1)->SetShortDesc((wxString const &)*arg2);
12214
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 Py_INCREF(Py_None); resultobj = Py_None;
12219 {
12220 if (temp2)
12221 delete arg2;
12222 }
12223 return resultobj;
12224 fail:
12225 {
12226 if (temp2)
12227 delete arg2;
12228 }
12229 return NULL;
12230}
12231
12232
12233static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12234 PyObject *resultobj;
12235 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12236 wxString *result;
12237 PyObject * obj0 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 {
12248 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12249 result = (wxString *) &_result_ref;
12250 }
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 {
12256#if wxUSE_UNICODE
12257 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12258#else
12259 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12260#endif
12261 }
12262 return resultobj;
12263 fail:
12264 return NULL;
12265}
12266
12267
12268static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12269 PyObject *resultobj;
12270 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12271 wxString *result;
12272 PyObject * obj0 = 0 ;
12273 char *kwnames[] = {
12274 (char *) "self", NULL
12275 };
12276
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12280 {
12281 PyThreadState* __tstate = wxPyBeginAllowThreads();
12282 {
12283 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12284 result = (wxString *) &_result_ref;
12285 }
12286
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 {
12291#if wxUSE_UNICODE
12292 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12293#else
12294 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12295#endif
12296 }
12297 return resultobj;
12298 fail:
12299 return NULL;
12300}
12301
12302
12303static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12304 PyObject *resultobj;
12305 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12306 wxString *result;
12307 PyObject * obj0 = 0 ;
12308 char *kwnames[] = {
12309 (char *) "self", NULL
12310 };
12311
12312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 {
12318 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12319 result = (wxString *) &_result_ref;
12320 }
12321
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 {
12326#if wxUSE_UNICODE
12327 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12328#else
12329 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12330#endif
12331 }
12332 return resultobj;
12333 fail:
12334 return NULL;
12335}
12336
12337
12338static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12339 PyObject *resultobj;
12340 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12341 wxString *result;
12342 PyObject * obj0 = 0 ;
12343 char *kwnames[] = {
12344 (char *) "self", NULL
12345 };
12346
12347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12350 {
12351 PyThreadState* __tstate = wxPyBeginAllowThreads();
12352 {
12353 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12354 result = (wxString *) &_result_ref;
12355 }
12356
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
12360 {
12361#if wxUSE_UNICODE
12362 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12363#else
12364 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12365#endif
12366 }
12367 return resultobj;
12368 fail:
12369 return NULL;
12370}
12371
12372
12373static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12374 PyObject *resultobj;
12375 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12376 wxString *result;
12377 PyObject * obj0 = 0 ;
12378 char *kwnames[] = {
12379 (char *) "self", NULL
12380 };
12381
12382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 {
12388 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12389 result = (wxString *) &_result_ref;
12390 }
12391
12392 wxPyEndAllowThreads(__tstate);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 }
12395 {
12396#if wxUSE_UNICODE
12397 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12398#else
12399 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12400#endif
12401 }
12402 return resultobj;
12403 fail:
12404 return NULL;
12405}
12406
12407
12408static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12411 wxArrayString *result;
12412 PyObject * obj0 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 {
12423 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12424 result = (wxArrayString *) &_result_ref;
12425 }
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 {
12431 resultobj = wxArrayString2PyList_helper(*result);
12432 }
12433 return resultobj;
12434 fail:
12435 return NULL;
12436}
12437
12438
12439static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12440 PyObject *resultobj;
12441 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12442 int result;
12443 PyObject * obj0 = 0 ;
12444 char *kwnames[] = {
12445 (char *) "self", NULL
12446 };
12447
12448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12451 {
12452 PyThreadState* __tstate = wxPyBeginAllowThreads();
12453 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12454
12455 wxPyEndAllowThreads(__tstate);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
12458 resultobj = SWIG_FromInt((int)result);
12459 return resultobj;
12460 fail:
12461 return NULL;
12462}
12463
12464
12465static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12468 wxString *result;
12469 PyObject * obj0 = 0 ;
12470 char *kwnames[] = {
12471 (char *) "self", NULL
12472 };
12473
12474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12477 {
12478 PyThreadState* __tstate = wxPyBeginAllowThreads();
12479 {
12480 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12481 result = (wxString *) &_result_ref;
12482 }
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 {
12488#if wxUSE_UNICODE
12489 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12490#else
12491 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12492#endif
12493 }
12494 return resultobj;
12495 fail:
12496 return NULL;
12497}
12498
12499
12500static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj;
12502 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12503 int result;
12504 PyObject * obj0 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 resultobj = SWIG_FromInt((int)result);
12520 return resultobj;
12521 fail:
12522 return NULL;
12523}
12524
12525
12526static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12527 PyObject *obj;
12528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12529 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12530 Py_INCREF(obj);
12531 return Py_BuildValue((char *)"");
12532}
12533static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12534 PyObject *resultobj;
12535 wxFileTypeInfo *arg1 = 0 ;
12536 wxFileType *result;
12537 PyObject * obj0 = 0 ;
12538 char *kwnames[] = {
12539 (char *) "ftInfo", NULL
12540 };
12541
12542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12544 SWIG_POINTER_EXCEPTION | 0)) == -1)
12545 SWIG_fail;
12546 if (arg1 == NULL) {
12547 PyErr_SetString(PyExc_TypeError,"null reference");
12548 SWIG_fail;
12549 }
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12553
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
12557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12558 return resultobj;
12559 fail:
12560 return NULL;
12561}
12562
12563
12564static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12565 PyObject *resultobj;
12566 wxFileType *arg1 = (wxFileType *) 0 ;
12567 PyObject * obj0 = 0 ;
12568 char *kwnames[] = {
12569 (char *) "self", NULL
12570 };
12571
12572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12575 {
12576 PyThreadState* __tstate = wxPyBeginAllowThreads();
12577 delete arg1;
12578
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
12582 Py_INCREF(Py_None); resultobj = Py_None;
12583 return resultobj;
12584 fail:
12585 return NULL;
12586}
12587
12588
12589static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12590 PyObject *resultobj;
12591 wxFileType *arg1 = (wxFileType *) 0 ;
12592 PyObject *result;
12593 PyObject * obj0 = 0 ;
12594 char *kwnames[] = {
12595 (char *) "self", NULL
12596 };
12597
12598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12601 {
12602 PyThreadState* __tstate = wxPyBeginAllowThreads();
12603 result = (PyObject *)wxFileType_GetMimeType(arg1);
12604
12605 wxPyEndAllowThreads(__tstate);
12606 if (PyErr_Occurred()) SWIG_fail;
12607 }
12608 resultobj = result;
12609 return resultobj;
12610 fail:
12611 return NULL;
12612}
12613
12614
12615static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12616 PyObject *resultobj;
12617 wxFileType *arg1 = (wxFileType *) 0 ;
12618 PyObject *result;
12619 PyObject * obj0 = 0 ;
12620 char *kwnames[] = {
12621 (char *) "self", NULL
12622 };
12623
12624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12630
12631 wxPyEndAllowThreads(__tstate);
12632 if (PyErr_Occurred()) SWIG_fail;
12633 }
12634 resultobj = result;
12635 return resultobj;
12636 fail:
12637 return NULL;
12638}
12639
12640
12641static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12642 PyObject *resultobj;
12643 wxFileType *arg1 = (wxFileType *) 0 ;
12644 PyObject *result;
12645 PyObject * obj0 = 0 ;
12646 char *kwnames[] = {
12647 (char *) "self", NULL
12648 };
12649
12650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12653 {
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 result = (PyObject *)wxFileType_GetExtensions(arg1);
12656
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 resultobj = result;
12661 return resultobj;
12662 fail:
12663 return NULL;
12664}
12665
12666
12667static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12668 PyObject *resultobj;
12669 wxFileType *arg1 = (wxFileType *) 0 ;
12670 wxIcon *result;
12671 PyObject * obj0 = 0 ;
12672 char *kwnames[] = {
12673 (char *) "self", NULL
12674 };
12675
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 result = (wxIcon *)wxFileType_GetIcon(arg1);
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12687 return resultobj;
12688 fail:
12689 return NULL;
12690}
12691
12692
12693static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxFileType *arg1 = (wxFileType *) 0 ;
12696 PyObject *result;
12697 PyObject * obj0 = 0 ;
12698 char *kwnames[] = {
12699 (char *) "self", NULL
12700 };
12701
12702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12705 {
12706 PyThreadState* __tstate = wxPyBeginAllowThreads();
12707 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12708
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 resultobj = result;
12713 return resultobj;
12714 fail:
12715 return NULL;
12716}
12717
12718
12719static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12720 PyObject *resultobj;
12721 wxFileType *arg1 = (wxFileType *) 0 ;
12722 PyObject *result;
12723 PyObject * obj0 = 0 ;
12724 char *kwnames[] = {
12725 (char *) "self", NULL
12726 };
12727
12728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12731 {
12732 PyThreadState* __tstate = wxPyBeginAllowThreads();
12733 result = (PyObject *)wxFileType_GetDescription(arg1);
12734
12735 wxPyEndAllowThreads(__tstate);
12736 if (PyErr_Occurred()) SWIG_fail;
12737 }
12738 resultobj = result;
12739 return resultobj;
12740 fail:
12741 return NULL;
12742}
12743
12744
12745static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12746 PyObject *resultobj;
12747 wxFileType *arg1 = (wxFileType *) 0 ;
12748 wxString *arg2 = 0 ;
12749 wxString const &arg3_defvalue = wxPyEmptyString ;
12750 wxString *arg3 = (wxString *) &arg3_defvalue ;
12751 PyObject *result;
12752 bool temp2 = False ;
12753 bool temp3 = False ;
12754 PyObject * obj0 = 0 ;
12755 PyObject * obj1 = 0 ;
12756 PyObject * obj2 = 0 ;
12757 char *kwnames[] = {
12758 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12759 };
12760
12761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12764 {
12765 arg2 = wxString_in_helper(obj1);
12766 if (arg2 == NULL) SWIG_fail;
12767 temp2 = True;
12768 }
12769 if (obj2) {
12770 {
12771 arg3 = wxString_in_helper(obj2);
12772 if (arg3 == NULL) SWIG_fail;
12773 temp3 = True;
12774 }
12775 }
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 resultobj = result;
12784 {
12785 if (temp2)
12786 delete arg2;
12787 }
12788 {
12789 if (temp3)
12790 delete arg3;
12791 }
12792 return resultobj;
12793 fail:
12794 {
12795 if (temp2)
12796 delete arg2;
12797 }
12798 {
12799 if (temp3)
12800 delete arg3;
12801 }
12802 return NULL;
12803}
12804
12805
12806static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj;
12808 wxFileType *arg1 = (wxFileType *) 0 ;
12809 wxString *arg2 = 0 ;
12810 wxString const &arg3_defvalue = wxPyEmptyString ;
12811 wxString *arg3 = (wxString *) &arg3_defvalue ;
12812 PyObject *result;
12813 bool temp2 = False ;
12814 bool temp3 = False ;
12815 PyObject * obj0 = 0 ;
12816 PyObject * obj1 = 0 ;
12817 PyObject * obj2 = 0 ;
12818 char *kwnames[] = {
12819 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12820 };
12821
12822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12825 {
12826 arg2 = wxString_in_helper(obj1);
12827 if (arg2 == NULL) SWIG_fail;
12828 temp2 = True;
12829 }
12830 if (obj2) {
12831 {
12832 arg3 = wxString_in_helper(obj2);
12833 if (arg3 == NULL) SWIG_fail;
12834 temp3 = True;
12835 }
12836 }
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12840
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 resultobj = result;
12845 {
12846 if (temp2)
12847 delete arg2;
12848 }
12849 {
12850 if (temp3)
12851 delete arg3;
12852 }
12853 return resultobj;
12854 fail:
12855 {
12856 if (temp2)
12857 delete arg2;
12858 }
12859 {
12860 if (temp3)
12861 delete arg3;
12862 }
12863 return NULL;
12864}
12865
12866
12867static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj;
12869 wxFileType *arg1 = (wxFileType *) 0 ;
12870 wxString *arg2 = 0 ;
12871 wxString const &arg3_defvalue = wxPyEmptyString ;
12872 wxString *arg3 = (wxString *) &arg3_defvalue ;
12873 PyObject *result;
12874 bool temp2 = False ;
12875 bool temp3 = False ;
12876 PyObject * obj0 = 0 ;
12877 PyObject * obj1 = 0 ;
12878 PyObject * obj2 = 0 ;
12879 char *kwnames[] = {
12880 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12881 };
12882
12883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12886 {
12887 arg2 = wxString_in_helper(obj1);
12888 if (arg2 == NULL) SWIG_fail;
12889 temp2 = True;
12890 }
12891 if (obj2) {
12892 {
12893 arg3 = wxString_in_helper(obj2);
12894 if (arg3 == NULL) SWIG_fail;
12895 temp3 = True;
12896 }
12897 }
12898 {
12899 PyThreadState* __tstate = wxPyBeginAllowThreads();
12900 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12901
12902 wxPyEndAllowThreads(__tstate);
12903 if (PyErr_Occurred()) SWIG_fail;
12904 }
12905 resultobj = result;
12906 {
12907 if (temp2)
12908 delete arg2;
12909 }
12910 {
12911 if (temp3)
12912 delete arg3;
12913 }
12914 return resultobj;
12915 fail:
12916 {
12917 if (temp2)
12918 delete arg2;
12919 }
12920 {
12921 if (temp3)
12922 delete arg3;
12923 }
12924 return NULL;
12925}
12926
12927
12928static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12929 PyObject *resultobj;
12930 wxFileType *arg1 = (wxFileType *) 0 ;
12931 wxString *arg2 = 0 ;
12932 wxString *arg3 = 0 ;
12933 bool arg4 = (bool) True ;
12934 bool result;
12935 bool temp2 = False ;
12936 bool temp3 = False ;
12937 PyObject * obj0 = 0 ;
12938 PyObject * obj1 = 0 ;
12939 PyObject * obj2 = 0 ;
12940 PyObject * obj3 = 0 ;
12941 char *kwnames[] = {
12942 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12943 };
12944
12945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12948 {
12949 arg2 = wxString_in_helper(obj1);
12950 if (arg2 == NULL) SWIG_fail;
12951 temp2 = True;
12952 }
12953 {
12954 arg3 = wxString_in_helper(obj2);
12955 if (arg3 == NULL) SWIG_fail;
12956 temp3 = True;
12957 }
12958 if (obj3) {
12959 arg4 = (bool) SWIG_AsBool(obj3);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 {
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
12964 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12965
12966 wxPyEndAllowThreads(__tstate);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 {
12970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12971 }
12972 {
12973 if (temp2)
12974 delete arg2;
12975 }
12976 {
12977 if (temp3)
12978 delete arg3;
12979 }
12980 return resultobj;
12981 fail:
12982 {
12983 if (temp2)
12984 delete arg2;
12985 }
12986 {
12987 if (temp3)
12988 delete arg3;
12989 }
12990 return NULL;
12991}
12992
12993
12994static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12995 PyObject *resultobj;
12996 wxFileType *arg1 = (wxFileType *) 0 ;
12997 wxString const &arg2_defvalue = wxPyEmptyString ;
12998 wxString *arg2 = (wxString *) &arg2_defvalue ;
12999 int arg3 = (int) 0 ;
13000 bool result;
13001 bool temp2 = False ;
13002 PyObject * obj0 = 0 ;
13003 PyObject * obj1 = 0 ;
13004 PyObject * obj2 = 0 ;
13005 char *kwnames[] = {
13006 (char *) "self",(char *) "cmd",(char *) "index", NULL
13007 };
13008
13009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13012 if (obj1) {
13013 {
13014 arg2 = wxString_in_helper(obj1);
13015 if (arg2 == NULL) SWIG_fail;
13016 temp2 = True;
13017 }
13018 }
13019 if (obj2) {
13020 arg3 = (int) SWIG_AsInt(obj2);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 {
13031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13032 }
13033 {
13034 if (temp2)
13035 delete arg2;
13036 }
13037 return resultobj;
13038 fail:
13039 {
13040 if (temp2)
13041 delete arg2;
13042 }
13043 return NULL;
13044}
13045
13046
13047static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13048 PyObject *resultobj;
13049 wxFileType *arg1 = (wxFileType *) 0 ;
13050 bool result;
13051 PyObject * obj0 = 0 ;
13052 char *kwnames[] = {
13053 (char *) "self", NULL
13054 };
13055
13056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
13057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 result = (bool)(arg1)->Unassociate();
13062
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 {
13067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13068 }
13069 return resultobj;
13070 fail:
13071 return NULL;
13072}
13073
13074
13075static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
13076 PyObject *resultobj;
13077 wxString *arg1 = 0 ;
13078 wxString *arg2 = 0 ;
13079 wxString const &arg3_defvalue = wxPyEmptyString ;
13080 wxString *arg3 = (wxString *) &arg3_defvalue ;
13081 wxString result;
13082 bool temp1 = False ;
13083 bool temp2 = False ;
13084 bool temp3 = False ;
13085 PyObject * obj0 = 0 ;
13086 PyObject * obj1 = 0 ;
13087 PyObject * obj2 = 0 ;
13088 char *kwnames[] = {
13089 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13093 {
13094 arg1 = wxString_in_helper(obj0);
13095 if (arg1 == NULL) SWIG_fail;
13096 temp1 = True;
13097 }
13098 {
13099 arg2 = wxString_in_helper(obj1);
13100 if (arg2 == NULL) SWIG_fail;
13101 temp2 = True;
13102 }
13103 if (obj2) {
13104 {
13105 arg3 = wxString_in_helper(obj2);
13106 if (arg3 == NULL) SWIG_fail;
13107 temp3 = True;
13108 }
13109 }
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 {
13118#if wxUSE_UNICODE
13119 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13120#else
13121 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13122#endif
13123 }
13124 {
13125 if (temp1)
13126 delete arg1;
13127 }
13128 {
13129 if (temp2)
13130 delete arg2;
13131 }
13132 {
13133 if (temp3)
13134 delete arg3;
13135 }
13136 return resultobj;
13137 fail:
13138 {
13139 if (temp1)
13140 delete arg1;
13141 }
13142 {
13143 if (temp2)
13144 delete arg2;
13145 }
13146 {
13147 if (temp3)
13148 delete arg3;
13149 }
13150 return NULL;
13151}
13152
13153
13154static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
13155 PyObject *obj;
13156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13157 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13158 Py_INCREF(obj);
13159 return Py_BuildValue((char *)"");
13160}
13161static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
13162 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13163 return 1;
13164}
13165
13166
13167static PyObject *_wrap_TheMimeTypesManager_get() {
13168 PyObject *pyobj;
13169
13170 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13171 return pyobj;
13172}
13173
13174
13175static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
13176 PyObject *resultobj;
13177 wxString *arg1 = 0 ;
13178 wxString *arg2 = 0 ;
13179 bool result;
13180 bool temp1 = False ;
13181 bool temp2 = False ;
13182 PyObject * obj0 = 0 ;
13183 PyObject * obj1 = 0 ;
13184 char *kwnames[] = {
13185 (char *) "mimeType",(char *) "wildcard", NULL
13186 };
13187
13188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13189 {
13190 arg1 = wxString_in_helper(obj0);
13191 if (arg1 == NULL) SWIG_fail;
13192 temp1 = True;
13193 }
13194 {
13195 arg2 = wxString_in_helper(obj1);
13196 if (arg2 == NULL) SWIG_fail;
13197 temp2 = True;
13198 }
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 {
13207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13208 }
13209 {
13210 if (temp1)
13211 delete arg1;
13212 }
13213 {
13214 if (temp2)
13215 delete arg2;
13216 }
13217 return resultobj;
13218 fail:
13219 {
13220 if (temp1)
13221 delete arg1;
13222 }
13223 {
13224 if (temp2)
13225 delete arg2;
13226 }
13227 return NULL;
13228}
13229
13230
13231static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj;
13233 wxMimeTypesManager *result;
13234 char *kwnames[] = {
13235 NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13239 {
13240 PyThreadState* __tstate = wxPyBeginAllowThreads();
13241 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13242
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13247 return resultobj;
13248 fail:
13249 return NULL;
13250}
13251
13252
13253static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13256 int arg2 = (int) wxMAILCAP_ALL ;
13257 wxString const &arg3_defvalue = wxPyEmptyString ;
13258 wxString *arg3 = (wxString *) &arg3_defvalue ;
13259 bool temp3 = False ;
13260 PyObject * obj0 = 0 ;
13261 PyObject * obj1 = 0 ;
13262 PyObject * obj2 = 0 ;
13263 char *kwnames[] = {
13264 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13270 if (obj1) {
13271 arg2 = (int) SWIG_AsInt(obj1);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 if (obj2) {
13275 {
13276 arg3 = wxString_in_helper(obj2);
13277 if (arg3 == NULL) SWIG_fail;
13278 temp3 = True;
13279 }
13280 }
13281 {
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13284
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 }
13288 Py_INCREF(Py_None); resultobj = Py_None;
13289 {
13290 if (temp3)
13291 delete arg3;
13292 }
13293 return resultobj;
13294 fail:
13295 {
13296 if (temp3)
13297 delete arg3;
13298 }
13299 return NULL;
13300}
13301
13302
13303static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13306 PyObject * obj0 = 0 ;
13307 char *kwnames[] = {
13308 (char *) "self", NULL
13309 };
13310
13311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 (arg1)->ClearData();
13317
13318 wxPyEndAllowThreads(__tstate);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
13321 Py_INCREF(Py_None); resultobj = Py_None;
13322 return resultobj;
13323 fail:
13324 return NULL;
13325}
13326
13327
13328static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13331 wxString *arg2 = 0 ;
13332 wxFileType *result;
13333 bool temp2 = False ;
13334 PyObject * obj0 = 0 ;
13335 PyObject * obj1 = 0 ;
13336 char *kwnames[] = {
13337 (char *) "self",(char *) "ext", NULL
13338 };
13339
13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13343 {
13344 arg2 = wxString_in_helper(obj1);
13345 if (arg2 == NULL) SWIG_fail;
13346 temp2 = True;
13347 }
13348 {
13349 PyThreadState* __tstate = wxPyBeginAllowThreads();
13350 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13351
13352 wxPyEndAllowThreads(__tstate);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 }
13355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13356 {
13357 if (temp2)
13358 delete arg2;
13359 }
13360 return resultobj;
13361 fail:
13362 {
13363 if (temp2)
13364 delete arg2;
13365 }
13366 return NULL;
13367}
13368
13369
13370static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
13371 PyObject *resultobj;
13372 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13373 wxString *arg2 = 0 ;
13374 wxFileType *result;
13375 bool temp2 = False ;
13376 PyObject * obj0 = 0 ;
13377 PyObject * obj1 = 0 ;
13378 char *kwnames[] = {
13379 (char *) "self",(char *) "mimeType", NULL
13380 };
13381
13382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13385 {
13386 arg2 = wxString_in_helper(obj1);
13387 if (arg2 == NULL) SWIG_fail;
13388 temp2 = True;
13389 }
13390 {
13391 PyThreadState* __tstate = wxPyBeginAllowThreads();
13392 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13393
13394 wxPyEndAllowThreads(__tstate);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 }
13397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13398 {
13399 if (temp2)
13400 delete arg2;
13401 }
13402 return resultobj;
13403 fail:
13404 {
13405 if (temp2)
13406 delete arg2;
13407 }
13408 return NULL;
13409}
13410
13411
13412static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13413 PyObject *resultobj;
13414 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13415 wxString *arg2 = 0 ;
13416 bool arg3 = (bool) False ;
13417 bool result;
13418 bool temp2 = False ;
13419 PyObject * obj0 = 0 ;
13420 PyObject * obj1 = 0 ;
13421 PyObject * obj2 = 0 ;
13422 char *kwnames[] = {
13423 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13424 };
13425
13426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13429 {
13430 arg2 = wxString_in_helper(obj1);
13431 if (arg2 == NULL) SWIG_fail;
13432 temp2 = True;
13433 }
13434 if (obj2) {
13435 arg3 = (bool) SWIG_AsBool(obj2);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 {
13446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13447 }
13448 {
13449 if (temp2)
13450 delete arg2;
13451 }
13452 return resultobj;
13453 fail:
13454 {
13455 if (temp2)
13456 delete arg2;
13457 }
13458 return NULL;
13459}
13460
13461
13462static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13463 PyObject *resultobj;
13464 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13465 wxString *arg2 = 0 ;
13466 bool result;
13467 bool temp2 = False ;
13468 PyObject * obj0 = 0 ;
13469 PyObject * obj1 = 0 ;
13470 char *kwnames[] = {
13471 (char *) "self",(char *) "filename", NULL
13472 };
13473
13474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13477 {
13478 arg2 = wxString_in_helper(obj1);
13479 if (arg2 == NULL) SWIG_fail;
13480 temp2 = True;
13481 }
13482 {
13483 PyThreadState* __tstate = wxPyBeginAllowThreads();
13484 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13485
13486 wxPyEndAllowThreads(__tstate);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 }
13489 {
13490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13491 }
13492 {
13493 if (temp2)
13494 delete arg2;
13495 }
13496 return resultobj;
13497 fail:
13498 {
13499 if (temp2)
13500 delete arg2;
13501 }
13502 return NULL;
13503}
13504
13505
13506static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13507 PyObject *resultobj;
13508 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13509 PyObject *result;
13510 PyObject * obj0 = 0 ;
13511 char *kwnames[] = {
13512 (char *) "self", NULL
13513 };
13514
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13518 {
13519 PyThreadState* __tstate = wxPyBeginAllowThreads();
13520 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13521
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
13525 resultobj = result;
13526 return resultobj;
13527 fail:
13528 return NULL;
13529}
13530
13531
13532static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13533 PyObject *resultobj;
13534 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13535 wxFileTypeInfo *arg2 = 0 ;
13536 PyObject * obj0 = 0 ;
13537 PyObject * obj1 = 0 ;
13538 char *kwnames[] = {
13539 (char *) "self",(char *) "ft", NULL
13540 };
13541
13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13545 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13546 SWIG_POINTER_EXCEPTION | 0)) == -1)
13547 SWIG_fail;
13548 if (arg2 == NULL) {
13549 PyErr_SetString(PyExc_TypeError,"null reference");
13550 SWIG_fail;
13551 }
13552 {
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13555
13556 wxPyEndAllowThreads(__tstate);
13557 if (PyErr_Occurred()) SWIG_fail;
13558 }
13559 Py_INCREF(Py_None); resultobj = Py_None;
13560 return resultobj;
13561 fail:
13562 return NULL;
13563}
13564
13565
13566static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj;
13568 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13569 wxFileTypeInfo *arg2 = 0 ;
13570 wxFileType *result;
13571 PyObject * obj0 = 0 ;
13572 PyObject * obj1 = 0 ;
13573 char *kwnames[] = {
13574 (char *) "self",(char *) "ftInfo", NULL
13575 };
13576
13577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13581 SWIG_POINTER_EXCEPTION | 0)) == -1)
13582 SWIG_fail;
13583 if (arg2 == NULL) {
13584 PyErr_SetString(PyExc_TypeError,"null reference");
13585 SWIG_fail;
13586 }
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13595 return resultobj;
13596 fail:
13597 return NULL;
13598}
13599
13600
13601static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj;
13603 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13604 wxFileType *arg2 = (wxFileType *) 0 ;
13605 bool result;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 char *kwnames[] = {
13609 (char *) "self",(char *) "ft", NULL
13610 };
13611
13612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 result = (bool)(arg1)->Unassociate(arg2);
13620
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 {
13625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13626 }
13627 return resultobj;
13628 fail:
13629 return NULL;
13630}
13631
13632
13633static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13634 PyObject *resultobj;
13635 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13636 PyObject * obj0 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13644 {
13645 PyThreadState* __tstate = wxPyBeginAllowThreads();
13646 delete arg1;
13647
13648 wxPyEndAllowThreads(__tstate);
13649 if (PyErr_Occurred()) SWIG_fail;
13650 }
13651 Py_INCREF(Py_None); resultobj = Py_None;
13652 return resultobj;
13653 fail:
13654 return NULL;
13655}
13656
13657
13658static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13659 PyObject *obj;
13660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13661 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13662 Py_INCREF(obj);
13663 return Py_BuildValue((char *)"");
13664}
13665static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
13666 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13667 return 1;
13668}
13669
13670
13671static PyObject *_wrap_ART_TOOLBAR_get() {
13672 PyObject *pyobj;
13673
13674 {
13675#if wxUSE_UNICODE
13676 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13677#else
13678 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13679#endif
13680 }
13681 return pyobj;
13682}
13683
13684
13685static int _wrap_ART_MENU_set(PyObject *_val) {
13686 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13687 return 1;
13688}
13689
13690
13691static PyObject *_wrap_ART_MENU_get() {
13692 PyObject *pyobj;
13693
13694 {
13695#if wxUSE_UNICODE
13696 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13697#else
13698 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13699#endif
13700 }
13701 return pyobj;
13702}
13703
13704
13705static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13706 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13707 return 1;
13708}
13709
13710
13711static PyObject *_wrap_ART_FRAME_ICON_get() {
13712 PyObject *pyobj;
13713
13714 {
13715#if wxUSE_UNICODE
13716 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13717#else
13718 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13719#endif
13720 }
13721 return pyobj;
13722}
13723
13724
13725static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13726 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13727 return 1;
13728}
13729
13730
13731static PyObject *_wrap_ART_CMN_DIALOG_get() {
13732 PyObject *pyobj;
13733
13734 {
13735#if wxUSE_UNICODE
13736 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13737#else
13738 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13739#endif
13740 }
13741 return pyobj;
13742}
13743
13744
13745static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13746 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13747 return 1;
13748}
13749
13750
13751static PyObject *_wrap_ART_HELP_BROWSER_get() {
13752 PyObject *pyobj;
13753
13754 {
13755#if wxUSE_UNICODE
13756 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13757#else
13758 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13759#endif
13760 }
13761 return pyobj;
13762}
13763
13764
13765static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13766 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13767 return 1;
13768}
13769
13770
13771static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13772 PyObject *pyobj;
13773
13774 {
13775#if wxUSE_UNICODE
13776 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13777#else
13778 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13779#endif
13780 }
13781 return pyobj;
13782}
13783
13784
13785static int _wrap_ART_OTHER_set(PyObject *_val) {
13786 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13787 return 1;
13788}
13789
13790
13791static PyObject *_wrap_ART_OTHER_get() {
13792 PyObject *pyobj;
13793
13794 {
13795#if wxUSE_UNICODE
13796 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13797#else
13798 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13799#endif
13800 }
13801 return pyobj;
13802}
13803
13804
13805static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13806 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13807 return 1;
13808}
13809
13810
13811static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13812 PyObject *pyobj;
13813
13814 {
13815#if wxUSE_UNICODE
13816 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13817#else
13818 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13819#endif
13820 }
13821 return pyobj;
13822}
13823
13824
13825static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13826 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13827 return 1;
13828}
13829
13830
13831static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13832 PyObject *pyobj;
13833
13834 {
13835#if wxUSE_UNICODE
13836 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13837#else
13838 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13839#endif
13840 }
13841 return pyobj;
13842}
13843
13844
13845static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13846 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13847 return 1;
13848}
13849
13850
13851static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13852 PyObject *pyobj;
13853
13854 {
13855#if wxUSE_UNICODE
13856 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13857#else
13858 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13859#endif
13860 }
13861 return pyobj;
13862}
13863
13864
13865static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13866 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13867 return 1;
13868}
13869
13870
13871static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13872 PyObject *pyobj;
13873
13874 {
13875#if wxUSE_UNICODE
13876 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13877#else
13878 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13879#endif
13880 }
13881 return pyobj;
13882}
13883
13884
13885static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13886 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13887 return 1;
13888}
13889
13890
13891static PyObject *_wrap_ART_HELP_BOOK_get() {
13892 PyObject *pyobj;
13893
13894 {
13895#if wxUSE_UNICODE
13896 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13897#else
13898 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13899#endif
13900 }
13901 return pyobj;
13902}
13903
13904
13905static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13906 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13907 return 1;
13908}
13909
13910
13911static PyObject *_wrap_ART_HELP_FOLDER_get() {
13912 PyObject *pyobj;
13913
13914 {
13915#if wxUSE_UNICODE
13916 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13917#else
13918 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13919#endif
13920 }
13921 return pyobj;
13922}
13923
13924
13925static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13926 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13927 return 1;
13928}
13929
13930
13931static PyObject *_wrap_ART_HELP_PAGE_get() {
13932 PyObject *pyobj;
13933
13934 {
13935#if wxUSE_UNICODE
13936 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13937#else
13938 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13939#endif
13940 }
13941 return pyobj;
13942}
13943
13944
13945static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13946 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13947 return 1;
13948}
13949
13950
13951static PyObject *_wrap_ART_GO_BACK_get() {
13952 PyObject *pyobj;
13953
13954 {
13955#if wxUSE_UNICODE
13956 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13957#else
13958 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13959#endif
13960 }
13961 return pyobj;
13962}
13963
13964
13965static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13966 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13967 return 1;
13968}
13969
13970
13971static PyObject *_wrap_ART_GO_FORWARD_get() {
13972 PyObject *pyobj;
13973
13974 {
13975#if wxUSE_UNICODE
13976 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13977#else
13978 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13979#endif
13980 }
13981 return pyobj;
13982}
13983
13984
13985static int _wrap_ART_GO_UP_set(PyObject *_val) {
13986 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13987 return 1;
13988}
13989
13990
13991static PyObject *_wrap_ART_GO_UP_get() {
13992 PyObject *pyobj;
13993
13994 {
13995#if wxUSE_UNICODE
13996 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13997#else
13998 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13999#endif
14000 }
14001 return pyobj;
14002}
14003
14004
14005static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
14006 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
14007 return 1;
14008}
14009
14010
14011static PyObject *_wrap_ART_GO_DOWN_get() {
14012 PyObject *pyobj;
14013
14014 {
14015#if wxUSE_UNICODE
14016 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14017#else
14018 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14019#endif
14020 }
14021 return pyobj;
14022}
14023
14024
14025static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
14026 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
14027 return 1;
14028}
14029
14030
14031static PyObject *_wrap_ART_GO_TO_PARENT_get() {
14032 PyObject *pyobj;
14033
14034 {
14035#if wxUSE_UNICODE
14036 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14037#else
14038 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14039#endif
14040 }
14041 return pyobj;
14042}
14043
14044
14045static int _wrap_ART_GO_HOME_set(PyObject *_val) {
14046 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
14047 return 1;
14048}
14049
14050
14051static PyObject *_wrap_ART_GO_HOME_get() {
14052 PyObject *pyobj;
14053
14054 {
14055#if wxUSE_UNICODE
14056 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14057#else
14058 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14059#endif
14060 }
14061 return pyobj;
14062}
14063
14064
14065static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
14066 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
14067 return 1;
14068}
14069
14070
14071static PyObject *_wrap_ART_FILE_OPEN_get() {
14072 PyObject *pyobj;
14073
14074 {
14075#if wxUSE_UNICODE
14076 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14077#else
14078 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14079#endif
14080 }
14081 return pyobj;
14082}
14083
14084
14085static int _wrap_ART_PRINT_set(PyObject *_val) {
14086 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
14087 return 1;
14088}
14089
14090
14091static PyObject *_wrap_ART_PRINT_get() {
14092 PyObject *pyobj;
14093
14094 {
14095#if wxUSE_UNICODE
14096 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14097#else
14098 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14099#endif
14100 }
14101 return pyobj;
14102}
14103
14104
14105static int _wrap_ART_HELP_set(PyObject *_val) {
14106 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
14107 return 1;
14108}
14109
14110
14111static PyObject *_wrap_ART_HELP_get() {
14112 PyObject *pyobj;
14113
14114 {
14115#if wxUSE_UNICODE
14116 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14117#else
14118 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14119#endif
14120 }
14121 return pyobj;
14122}
14123
14124
14125static int _wrap_ART_TIP_set(PyObject *_val) {
14126 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
14127 return 1;
14128}
14129
14130
14131static PyObject *_wrap_ART_TIP_get() {
14132 PyObject *pyobj;
14133
14134 {
14135#if wxUSE_UNICODE
14136 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14137#else
14138 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14139#endif
14140 }
14141 return pyobj;
14142}
14143
14144
14145static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
14146 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14147 return 1;
14148}
14149
14150
14151static PyObject *_wrap_ART_REPORT_VIEW_get() {
14152 PyObject *pyobj;
14153
14154 {
14155#if wxUSE_UNICODE
14156 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14157#else
14158 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14159#endif
14160 }
14161 return pyobj;
14162}
14163
14164
14165static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
14166 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14167 return 1;
14168}
14169
14170
14171static PyObject *_wrap_ART_LIST_VIEW_get() {
14172 PyObject *pyobj;
14173
14174 {
14175#if wxUSE_UNICODE
14176 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14177#else
14178 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14179#endif
14180 }
14181 return pyobj;
14182}
14183
14184
14185static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
14186 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14187 return 1;
14188}
14189
14190
14191static PyObject *_wrap_ART_NEW_DIR_get() {
14192 PyObject *pyobj;
14193
14194 {
14195#if wxUSE_UNICODE
14196 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14197#else
14198 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14199#endif
14200 }
14201 return pyobj;
14202}
14203
14204
14205static int _wrap_ART_FOLDER_set(PyObject *_val) {
14206 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14207 return 1;
14208}
14209
14210
14211static PyObject *_wrap_ART_FOLDER_get() {
14212 PyObject *pyobj;
14213
14214 {
14215#if wxUSE_UNICODE
14216 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14217#else
14218 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14219#endif
14220 }
14221 return pyobj;
14222}
14223
14224
14225static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
14226 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14227 return 1;
14228}
14229
14230
14231static PyObject *_wrap_ART_GO_DIR_UP_get() {
14232 PyObject *pyobj;
14233
14234 {
14235#if wxUSE_UNICODE
14236 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14237#else
14238 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14239#endif
14240 }
14241 return pyobj;
14242}
14243
14244
14245static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
14246 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14247 return 1;
14248}
14249
14250
14251static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14252 PyObject *pyobj;
14253
14254 {
14255#if wxUSE_UNICODE
14256 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14257#else
14258 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14259#endif
14260 }
14261 return pyobj;
14262}
14263
14264
14265static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
14266 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14267 return 1;
14268}
14269
14270
14271static PyObject *_wrap_ART_NORMAL_FILE_get() {
14272 PyObject *pyobj;
14273
14274 {
14275#if wxUSE_UNICODE
14276 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14277#else
14278 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14279#endif
14280 }
14281 return pyobj;
14282}
14283
14284
14285static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
14286 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14287 return 1;
14288}
14289
14290
14291static PyObject *_wrap_ART_TICK_MARK_get() {
14292 PyObject *pyobj;
14293
14294 {
14295#if wxUSE_UNICODE
14296 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14297#else
14298 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14299#endif
14300 }
14301 return pyobj;
14302}
14303
14304
14305static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
14306 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14307 return 1;
14308}
14309
14310
14311static PyObject *_wrap_ART_CROSS_MARK_get() {
14312 PyObject *pyobj;
14313
14314 {
14315#if wxUSE_UNICODE
14316 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14317#else
14318 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14319#endif
14320 }
14321 return pyobj;
14322}
14323
14324
14325static int _wrap_ART_ERROR_set(PyObject *_val) {
14326 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14327 return 1;
14328}
14329
14330
14331static PyObject *_wrap_ART_ERROR_get() {
14332 PyObject *pyobj;
14333
14334 {
14335#if wxUSE_UNICODE
14336 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14337#else
14338 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14339#endif
14340 }
14341 return pyobj;
14342}
14343
14344
14345static int _wrap_ART_QUESTION_set(PyObject *_val) {
14346 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14347 return 1;
14348}
14349
14350
14351static PyObject *_wrap_ART_QUESTION_get() {
14352 PyObject *pyobj;
14353
14354 {
14355#if wxUSE_UNICODE
14356 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14357#else
14358 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14359#endif
14360 }
14361 return pyobj;
14362}
14363
14364
14365static int _wrap_ART_WARNING_set(PyObject *_val) {
14366 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14367 return 1;
14368}
14369
14370
14371static PyObject *_wrap_ART_WARNING_get() {
14372 PyObject *pyobj;
14373
14374 {
14375#if wxUSE_UNICODE
14376 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14377#else
14378 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14379#endif
14380 }
14381 return pyobj;
14382}
14383
14384
14385static int _wrap_ART_INFORMATION_set(PyObject *_val) {
14386 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14387 return 1;
14388}
14389
14390
14391static PyObject *_wrap_ART_INFORMATION_get() {
14392 PyObject *pyobj;
14393
14394 {
14395#if wxUSE_UNICODE
14396 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14397#else
14398 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14399#endif
14400 }
14401 return pyobj;
14402}
14403
14404
14405static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
14406 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14407 return 1;
14408}
14409
14410
14411static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14412 PyObject *pyobj;
14413
14414 {
14415#if wxUSE_UNICODE
14416 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14417#else
14418 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14419#endif
14420 }
14421 return pyobj;
14422}
14423
14424
14425static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14426 PyObject *resultobj;
14427 wxPyArtProvider *result;
14428 char *kwnames[] = {
14429 NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14433 {
0439c23b 14434 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 result = (wxPyArtProvider *)new wxPyArtProvider();
14437
14438 wxPyEndAllowThreads(__tstate);
110da5b0 14439 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14440 }
14441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14442 return resultobj;
14443 fail:
14444 return NULL;
14445}
14446
14447
14448static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14449 PyObject *resultobj;
14450 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14451 PyObject *arg2 = (PyObject *) 0 ;
14452 PyObject *arg3 = (PyObject *) 0 ;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 PyObject * obj2 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self",(char *) "self",(char *) "_class", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14463 arg2 = obj1;
14464 arg3 = obj2;
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 (arg1)->_setCallbackInfo(arg2,arg3);
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 Py_INCREF(Py_None); resultobj = Py_None;
14473 return resultobj;
14474 fail:
14475 return NULL;
14476}
14477
14478
14479static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14482 PyObject * obj0 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "provider", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 wxPyArtProvider::PushProvider(arg1);
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_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14505 PyObject *resultobj;
14506 bool result;
14507 char *kwnames[] = {
14508 NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14512 {
14513 PyThreadState* __tstate = wxPyBeginAllowThreads();
14514 result = (bool)wxPyArtProvider::PopProvider();
14515
14516 wxPyEndAllowThreads(__tstate);
14517 if (PyErr_Occurred()) SWIG_fail;
14518 }
14519 {
14520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14521 }
14522 return resultobj;
14523 fail:
14524 return NULL;
14525}
14526
14527
14528static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14529 PyObject *resultobj;
14530 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14531 bool result;
14532 PyObject * obj0 = 0 ;
14533 char *kwnames[] = {
14534 (char *) "provider", NULL
14535 };
14536
14537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14540 {
14541 PyThreadState* __tstate = wxPyBeginAllowThreads();
14542 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14543
14544 wxPyEndAllowThreads(__tstate);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 {
14548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14549 }
14550 return resultobj;
14551 fail:
14552 return NULL;
14553}
14554
14555
14556static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14557 PyObject *resultobj;
14558 wxString *arg1 = 0 ;
14559 wxString const &arg2_defvalue = wxPyART_OTHER ;
14560 wxString *arg2 = (wxString *) &arg2_defvalue ;
14561 wxSize const &arg3_defvalue = wxDefaultSize ;
14562 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14563 wxBitmap result;
14564 bool temp1 = False ;
14565 bool temp2 = False ;
14566 wxSize temp3 ;
14567 PyObject * obj0 = 0 ;
14568 PyObject * obj1 = 0 ;
14569 PyObject * obj2 = 0 ;
14570 char *kwnames[] = {
14571 (char *) "id",(char *) "client",(char *) "size", NULL
14572 };
14573
14574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14575 {
14576 arg1 = wxString_in_helper(obj0);
14577 if (arg1 == NULL) SWIG_fail;
14578 temp1 = True;
14579 }
14580 if (obj1) {
14581 {
14582 arg2 = wxString_in_helper(obj1);
14583 if (arg2 == NULL) SWIG_fail;
14584 temp2 = True;
14585 }
14586 }
14587 if (obj2) {
14588 {
14589 arg3 = &temp3;
14590 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14591 }
14592 }
14593 {
0439c23b 14594 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14597
14598 wxPyEndAllowThreads(__tstate);
110da5b0 14599 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14600 }
14601 {
14602 wxBitmap * resultptr;
14603 resultptr = new wxBitmap((wxBitmap &) result);
14604 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14605 }
14606 {
14607 if (temp1)
14608 delete arg1;
14609 }
14610 {
14611 if (temp2)
14612 delete arg2;
14613 }
14614 return resultobj;
14615 fail:
14616 {
14617 if (temp1)
14618 delete arg1;
14619 }
14620 {
14621 if (temp2)
14622 delete arg2;
14623 }
14624 return NULL;
14625}
14626
14627
14628static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14629 PyObject *resultobj;
14630 wxString *arg1 = 0 ;
14631 wxString const &arg2_defvalue = wxPyART_OTHER ;
14632 wxString *arg2 = (wxString *) &arg2_defvalue ;
14633 wxSize const &arg3_defvalue = wxDefaultSize ;
14634 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14635 wxIcon result;
14636 bool temp1 = False ;
14637 bool temp2 = False ;
14638 wxSize temp3 ;
14639 PyObject * obj0 = 0 ;
14640 PyObject * obj1 = 0 ;
14641 PyObject * obj2 = 0 ;
14642 char *kwnames[] = {
14643 (char *) "id",(char *) "client",(char *) "size", NULL
14644 };
14645
14646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14647 {
14648 arg1 = wxString_in_helper(obj0);
14649 if (arg1 == NULL) SWIG_fail;
14650 temp1 = True;
14651 }
14652 if (obj1) {
14653 {
14654 arg2 = wxString_in_helper(obj1);
14655 if (arg2 == NULL) SWIG_fail;
14656 temp2 = True;
14657 }
14658 }
14659 if (obj2) {
14660 {
14661 arg3 = &temp3;
14662 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14663 }
14664 }
14665 {
0439c23b 14666 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14669
14670 wxPyEndAllowThreads(__tstate);
110da5b0 14671 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14672 }
14673 {
14674 wxIcon * resultptr;
14675 resultptr = new wxIcon((wxIcon &) result);
14676 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14677 }
14678 {
14679 if (temp1)
14680 delete arg1;
14681 }
14682 {
14683 if (temp2)
14684 delete arg2;
14685 }
14686 return resultobj;
14687 fail:
14688 {
14689 if (temp1)
14690 delete arg1;
14691 }
14692 {
14693 if (temp2)
14694 delete arg2;
14695 }
14696 return NULL;
14697}
14698
14699
14700static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14701 PyObject *resultobj;
14702 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14703 PyObject * obj0 = 0 ;
14704 char *kwnames[] = {
14705 (char *) "self", NULL
14706 };
14707
14708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 wxPyArtProvider_Destroy(arg1);
14714
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
14718 Py_INCREF(Py_None); resultobj = Py_None;
14719 return resultobj;
14720 fail:
14721 return NULL;
14722}
14723
14724
14725static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14726 PyObject *obj;
14727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14728 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14729 Py_INCREF(obj);
14730 return Py_BuildValue((char *)"");
14731}
14732static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14733 PyObject *resultobj;
14734 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14735 PyObject * obj0 = 0 ;
14736 char *kwnames[] = {
14737 (char *) "self", NULL
14738 };
14739
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14743 {
14744 PyThreadState* __tstate = wxPyBeginAllowThreads();
14745 delete arg1;
14746
14747 wxPyEndAllowThreads(__tstate);
14748 if (PyErr_Occurred()) SWIG_fail;
14749 }
14750 Py_INCREF(Py_None); resultobj = Py_None;
14751 return resultobj;
14752 fail:
14753 return NULL;
14754}
14755
14756
14757static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14758 PyObject *resultobj;
14759 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14760 wxConfigBase *result;
14761 PyObject * obj0 = 0 ;
14762 char *kwnames[] = {
14763 (char *) "config", NULL
14764 };
14765
14766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14769 {
14770 PyThreadState* __tstate = wxPyBeginAllowThreads();
14771 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14772
14773 wxPyEndAllowThreads(__tstate);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14777 return resultobj;
14778 fail:
14779 return NULL;
14780}
14781
14782
14783static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14784 PyObject *resultobj;
14785 bool arg1 = (bool) True ;
14786 wxConfigBase *result;
14787 PyObject * obj0 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "createOnDemand", NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14793 if (obj0) {
14794 arg1 = (bool) SWIG_AsBool(obj0);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 {
14798 PyThreadState* __tstate = wxPyBeginAllowThreads();
14799 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14800
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
14804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14805 return resultobj;
14806 fail:
14807 return NULL;
14808}
14809
14810
14811static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14812 PyObject *resultobj;
14813 wxConfigBase *result;
14814 char *kwnames[] = {
14815 NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (wxConfigBase *)wxConfigBase::Create();
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14827 return resultobj;
14828 fail:
14829 return NULL;
14830}
14831
14832
14833static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14834 PyObject *resultobj;
14835 char *kwnames[] = {
14836 NULL
14837 };
14838
14839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14840 {
14841 PyThreadState* __tstate = wxPyBeginAllowThreads();
14842 wxConfigBase::DontCreateOnDemand();
14843
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 Py_INCREF(Py_None); resultobj = Py_None;
14848 return resultobj;
14849 fail:
14850 return NULL;
14851}
14852
14853
14854static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14855 PyObject *resultobj;
14856 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14857 wxString *arg2 = 0 ;
14858 bool temp2 = False ;
14859 PyObject * obj0 = 0 ;
14860 PyObject * obj1 = 0 ;
14861 char *kwnames[] = {
14862 (char *) "self",(char *) "path", NULL
14863 };
14864
14865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14868 {
14869 arg2 = wxString_in_helper(obj1);
14870 if (arg2 == NULL) SWIG_fail;
14871 temp2 = True;
14872 }
14873 {
14874 PyThreadState* __tstate = wxPyBeginAllowThreads();
14875 (arg1)->SetPath((wxString const &)*arg2);
14876
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 Py_INCREF(Py_None); resultobj = Py_None;
14881 {
14882 if (temp2)
14883 delete arg2;
14884 }
14885 return resultobj;
14886 fail:
14887 {
14888 if (temp2)
14889 delete arg2;
14890 }
14891 return NULL;
14892}
14893
14894
14895static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14898 wxString *result;
14899 PyObject * obj0 = 0 ;
14900 char *kwnames[] = {
14901 (char *) "self", NULL
14902 };
14903
14904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 {
14910 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14911 result = (wxString *) &_result_ref;
14912 }
14913
14914 wxPyEndAllowThreads(__tstate);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 {
14918#if wxUSE_UNICODE
14919 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14920#else
14921 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14922#endif
14923 }
14924 return resultobj;
14925 fail:
14926 return NULL;
14927}
14928
14929
14930static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14933 PyObject *result;
14934 PyObject * obj0 = 0 ;
14935 char *kwnames[] = {
14936 (char *) "self", NULL
14937 };
14938
14939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14942 {
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14945
14946 wxPyEndAllowThreads(__tstate);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 }
14949 resultobj = result;
14950 return resultobj;
14951 fail:
14952 return NULL;
14953}
14954
14955
14956static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj;
14958 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14959 long arg2 ;
14960 PyObject *result;
14961 PyObject * obj0 = 0 ;
14962 PyObject * obj1 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self",(char *) "index", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14970 arg2 = (long) SWIG_AsLong(obj1);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 {
14973 PyThreadState* __tstate = wxPyBeginAllowThreads();
14974 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14975
14976 wxPyEndAllowThreads(__tstate);
14977 if (PyErr_Occurred()) SWIG_fail;
14978 }
14979 resultobj = result;
14980 return resultobj;
14981 fail:
14982 return NULL;
14983}
14984
14985
14986static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14987 PyObject *resultobj;
14988 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14989 PyObject *result;
14990 PyObject * obj0 = 0 ;
14991 char *kwnames[] = {
14992 (char *) "self", NULL
14993 };
14994
14995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 resultobj = result;
15006 return resultobj;
15007 fail:
15008 return NULL;
15009}
15010
15011
15012static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15013 PyObject *resultobj;
15014 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15015 long arg2 ;
15016 PyObject *result;
15017 PyObject * obj0 = 0 ;
15018 PyObject * obj1 = 0 ;
15019 char *kwnames[] = {
15020 (char *) "self",(char *) "index", NULL
15021 };
15022
15023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
15024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15026 arg2 = (long) SWIG_AsLong(obj1);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 {
15029 PyThreadState* __tstate = wxPyBeginAllowThreads();
15030 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
15031
15032 wxPyEndAllowThreads(__tstate);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 }
15035 resultobj = result;
15036 return resultobj;
15037 fail:
15038 return NULL;
15039}
15040
15041
15042static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
15043 PyObject *resultobj;
15044 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15045 bool arg2 = (bool) False ;
15046 size_t result;
15047 PyObject * obj0 = 0 ;
15048 PyObject * obj1 = 0 ;
15049 char *kwnames[] = {
15050 (char *) "self",(char *) "recursive", NULL
15051 };
15052
15053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
15054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15056 if (obj1) {
15057 arg2 = (bool) SWIG_AsBool(obj1);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 {
15061 PyThreadState* __tstate = wxPyBeginAllowThreads();
15062 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
15063
15064 wxPyEndAllowThreads(__tstate);
15065 if (PyErr_Occurred()) SWIG_fail;
15066 }
15067 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
15068 return resultobj;
15069 fail:
15070 return NULL;
15071}
15072
15073
15074static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
15075 PyObject *resultobj;
15076 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15077 bool arg2 = (bool) False ;
15078 size_t result;
15079 PyObject * obj0 = 0 ;
15080 PyObject * obj1 = 0 ;
15081 char *kwnames[] = {
15082 (char *) "self",(char *) "recursive", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
15086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15088 if (obj1) {
15089 arg2 = (bool) SWIG_AsBool(obj1);
15090 if (PyErr_Occurred()) SWIG_fail;
15091 }
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
15100 return resultobj;
15101 fail:
15102 return NULL;
15103}
15104
15105
15106static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15107 PyObject *resultobj;
15108 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15109 wxString *arg2 = 0 ;
15110 bool result;
15111 bool temp2 = False ;
15112 PyObject * obj0 = 0 ;
15113 PyObject * obj1 = 0 ;
15114 char *kwnames[] = {
15115 (char *) "self",(char *) "name", NULL
15116 };
15117
15118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
15119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15121 {
15122 arg2 = wxString_in_helper(obj1);
15123 if (arg2 == NULL) SWIG_fail;
15124 temp2 = True;
15125 }
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 {
15134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15135 }
15136 {
15137 if (temp2)
15138 delete arg2;
15139 }
15140 return resultobj;
15141 fail:
15142 {
15143 if (temp2)
15144 delete arg2;
15145 }
15146 return NULL;
15147}
15148
15149
15150static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15151 PyObject *resultobj;
15152 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15153 wxString *arg2 = 0 ;
15154 bool result;
15155 bool temp2 = False ;
15156 PyObject * obj0 = 0 ;
15157 PyObject * obj1 = 0 ;
15158 char *kwnames[] = {
15159 (char *) "self",(char *) "name", NULL
15160 };
15161
15162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15165 {
15166 arg2 = wxString_in_helper(obj1);
15167 if (arg2 == NULL) SWIG_fail;
15168 temp2 = True;
15169 }
15170 {
15171 PyThreadState* __tstate = wxPyBeginAllowThreads();
15172 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15173
15174 wxPyEndAllowThreads(__tstate);
15175 if (PyErr_Occurred()) SWIG_fail;
15176 }
15177 {
15178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15179 }
15180 {
15181 if (temp2)
15182 delete arg2;
15183 }
15184 return resultobj;
15185 fail:
15186 {
15187 if (temp2)
15188 delete arg2;
15189 }
15190 return NULL;
15191}
15192
15193
15194static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
15195 PyObject *resultobj;
15196 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15197 wxString *arg2 = 0 ;
15198 bool result;
15199 bool temp2 = False ;
15200 PyObject * obj0 = 0 ;
15201 PyObject * obj1 = 0 ;
15202 char *kwnames[] = {
15203 (char *) "self",(char *) "name", NULL
15204 };
15205
15206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15209 {
15210 arg2 = wxString_in_helper(obj1);
15211 if (arg2 == NULL) SWIG_fail;
15212 temp2 = True;
15213 }
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15217
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 {
15222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15223 }
15224 {
15225 if (temp2)
15226 delete arg2;
15227 }
15228 return resultobj;
15229 fail:
15230 {
15231 if (temp2)
15232 delete arg2;
15233 }
15234 return NULL;
15235}
15236
15237
15238static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
15239 PyObject *resultobj;
15240 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15241 wxString *arg2 = 0 ;
15242 int result;
15243 bool temp2 = False ;
15244 PyObject * obj0 = 0 ;
15245 PyObject * obj1 = 0 ;
15246 char *kwnames[] = {
15247 (char *) "self",(char *) "name", NULL
15248 };
15249
15250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15253 {
15254 arg2 = wxString_in_helper(obj1);
15255 if (arg2 == NULL) SWIG_fail;
15256 temp2 = True;
15257 }
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 resultobj = SWIG_FromInt((int)result);
15266 {
15267 if (temp2)
15268 delete arg2;
15269 }
15270 return resultobj;
15271 fail:
15272 {
15273 if (temp2)
15274 delete arg2;
15275 }
15276 return NULL;
15277}
15278
15279
15280static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
15281 PyObject *resultobj;
15282 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15283 wxString *arg2 = 0 ;
15284 wxString const &arg3_defvalue = wxPyEmptyString ;
15285 wxString *arg3 = (wxString *) &arg3_defvalue ;
15286 wxString result;
15287 bool temp2 = False ;
15288 bool temp3 = False ;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 PyObject * obj2 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15299 {
15300 arg2 = wxString_in_helper(obj1);
15301 if (arg2 == NULL) SWIG_fail;
15302 temp2 = True;
15303 }
15304 if (obj2) {
15305 {
15306 arg3 = wxString_in_helper(obj2);
15307 if (arg3 == NULL) SWIG_fail;
15308 temp3 = True;
15309 }
15310 }
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15314
15315 wxPyEndAllowThreads(__tstate);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 {
15319#if wxUSE_UNICODE
15320 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15321#else
15322 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15323#endif
15324 }
15325 {
15326 if (temp2)
15327 delete arg2;
15328 }
15329 {
15330 if (temp3)
15331 delete arg3;
15332 }
15333 return resultobj;
15334 fail:
15335 {
15336 if (temp2)
15337 delete arg2;
15338 }
15339 {
15340 if (temp3)
15341 delete arg3;
15342 }
15343 return NULL;
15344}
15345
15346
15347static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj;
15349 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15350 wxString *arg2 = 0 ;
15351 long arg3 = (long) 0 ;
15352 long result;
15353 bool temp2 = False ;
15354 PyObject * obj0 = 0 ;
15355 PyObject * obj1 = 0 ;
15356 PyObject * obj2 = 0 ;
15357 char *kwnames[] = {
15358 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15359 };
15360
15361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15364 {
15365 arg2 = wxString_in_helper(obj1);
15366 if (arg2 == NULL) SWIG_fail;
15367 temp2 = True;
15368 }
15369 if (obj2) {
15370 arg3 = (long) SWIG_AsLong(obj2);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 }
15373 {
15374 PyThreadState* __tstate = wxPyBeginAllowThreads();
15375 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15376
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
15380 resultobj = SWIG_FromLong((long)result);
15381 {
15382 if (temp2)
15383 delete arg2;
15384 }
15385 return resultobj;
15386 fail:
15387 {
15388 if (temp2)
15389 delete arg2;
15390 }
15391 return NULL;
15392}
15393
15394
15395static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15396 PyObject *resultobj;
15397 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15398 wxString *arg2 = 0 ;
15399 double arg3 = (double) 0.0 ;
15400 double result;
15401 bool temp2 = False ;
15402 PyObject * obj0 = 0 ;
15403 PyObject * obj1 = 0 ;
15404 PyObject * obj2 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15412 {
15413 arg2 = wxString_in_helper(obj1);
15414 if (arg2 == NULL) SWIG_fail;
15415 temp2 = True;
15416 }
15417 if (obj2) {
15418 arg3 = (double) SWIG_AsDouble(obj2);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 }
15421 {
15422 PyThreadState* __tstate = wxPyBeginAllowThreads();
15423 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15424
15425 wxPyEndAllowThreads(__tstate);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 }
15428 resultobj = SWIG_FromDouble((double)result);
15429 {
15430 if (temp2)
15431 delete arg2;
15432 }
15433 return resultobj;
15434 fail:
15435 {
15436 if (temp2)
15437 delete arg2;
15438 }
15439 return NULL;
15440}
15441
15442
15443static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15444 PyObject *resultobj;
15445 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15446 wxString *arg2 = 0 ;
15447 bool arg3 = (bool) False ;
15448 bool result;
15449 bool temp2 = False ;
15450 PyObject * obj0 = 0 ;
15451 PyObject * obj1 = 0 ;
15452 PyObject * obj2 = 0 ;
15453 char *kwnames[] = {
15454 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15460 {
15461 arg2 = wxString_in_helper(obj1);
15462 if (arg2 == NULL) SWIG_fail;
15463 temp2 = True;
15464 }
15465 if (obj2) {
15466 arg3 = (bool) SWIG_AsBool(obj2);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 }
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15472
15473 wxPyEndAllowThreads(__tstate);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 }
15476 {
15477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15478 }
15479 {
15480 if (temp2)
15481 delete arg2;
15482 }
15483 return resultobj;
15484 fail:
15485 {
15486 if (temp2)
15487 delete arg2;
15488 }
15489 return NULL;
15490}
15491
15492
15493static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15494 PyObject *resultobj;
15495 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15496 wxString *arg2 = 0 ;
15497 wxString *arg3 = 0 ;
15498 bool result;
15499 bool temp2 = False ;
15500 bool temp3 = False ;
15501 PyObject * obj0 = 0 ;
15502 PyObject * obj1 = 0 ;
15503 PyObject * obj2 = 0 ;
15504 char *kwnames[] = {
15505 (char *) "self",(char *) "key",(char *) "value", NULL
15506 };
15507
15508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15511 {
15512 arg2 = wxString_in_helper(obj1);
15513 if (arg2 == NULL) SWIG_fail;
15514 temp2 = True;
15515 }
15516 {
15517 arg3 = wxString_in_helper(obj2);
15518 if (arg3 == NULL) SWIG_fail;
15519 temp3 = True;
15520 }
15521 {
15522 PyThreadState* __tstate = wxPyBeginAllowThreads();
15523 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15524
15525 wxPyEndAllowThreads(__tstate);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 {
15529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15530 }
15531 {
15532 if (temp2)
15533 delete arg2;
15534 }
15535 {
15536 if (temp3)
15537 delete arg3;
15538 }
15539 return resultobj;
15540 fail:
15541 {
15542 if (temp2)
15543 delete arg2;
15544 }
15545 {
15546 if (temp3)
15547 delete arg3;
15548 }
15549 return NULL;
15550}
15551
15552
15553static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj;
15555 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15556 wxString *arg2 = 0 ;
15557 long arg3 ;
15558 bool result;
15559 bool temp2 = False ;
15560 PyObject * obj0 = 0 ;
15561 PyObject * obj1 = 0 ;
15562 PyObject * obj2 = 0 ;
15563 char *kwnames[] = {
15564 (char *) "self",(char *) "key",(char *) "value", NULL
15565 };
15566
15567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15570 {
15571 arg2 = wxString_in_helper(obj1);
15572 if (arg2 == NULL) SWIG_fail;
15573 temp2 = True;
15574 }
15575 arg3 = (long) SWIG_AsLong(obj2);
15576 if (PyErr_Occurred()) SWIG_fail;
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 {
15585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15586 }
15587 {
15588 if (temp2)
15589 delete arg2;
15590 }
15591 return resultobj;
15592 fail:
15593 {
15594 if (temp2)
15595 delete arg2;
15596 }
15597 return NULL;
15598}
15599
15600
15601static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15602 PyObject *resultobj;
15603 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15604 wxString *arg2 = 0 ;
15605 double arg3 ;
15606 bool result;
15607 bool temp2 = False ;
15608 PyObject * obj0 = 0 ;
15609 PyObject * obj1 = 0 ;
15610 PyObject * obj2 = 0 ;
15611 char *kwnames[] = {
15612 (char *) "self",(char *) "key",(char *) "value", NULL
15613 };
15614
15615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15618 {
15619 arg2 = wxString_in_helper(obj1);
15620 if (arg2 == NULL) SWIG_fail;
15621 temp2 = True;
15622 }
15623 arg3 = (double) SWIG_AsDouble(obj2);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15628
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 {
15633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15634 }
15635 {
15636 if (temp2)
15637 delete arg2;
15638 }
15639 return resultobj;
15640 fail:
15641 {
15642 if (temp2)
15643 delete arg2;
15644 }
15645 return NULL;
15646}
15647
15648
15649static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15650 PyObject *resultobj;
15651 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15652 wxString *arg2 = 0 ;
15653 bool arg3 ;
15654 bool result;
15655 bool temp2 = False ;
15656 PyObject * obj0 = 0 ;
15657 PyObject * obj1 = 0 ;
15658 PyObject * obj2 = 0 ;
15659 char *kwnames[] = {
15660 (char *) "self",(char *) "key",(char *) "value", NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15666 {
15667 arg2 = wxString_in_helper(obj1);
15668 if (arg2 == NULL) SWIG_fail;
15669 temp2 = True;
15670 }
15671 arg3 = (bool) SWIG_AsBool(obj2);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 {
15681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15682 }
15683 {
15684 if (temp2)
15685 delete arg2;
15686 }
15687 return resultobj;
15688 fail:
15689 {
15690 if (temp2)
15691 delete arg2;
15692 }
15693 return NULL;
15694}
15695
15696
15697static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15698 PyObject *resultobj;
15699 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15700 bool arg2 = (bool) False ;
15701 bool result;
15702 PyObject * obj0 = 0 ;
15703 PyObject * obj1 = 0 ;
15704 char *kwnames[] = {
15705 (char *) "self",(char *) "currentOnly", NULL
15706 };
15707
15708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15711 if (obj1) {
15712 arg2 = (bool) SWIG_AsBool(obj1);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 result = (bool)(arg1)->Flush(arg2);
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 {
15723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15724 }
15725 return resultobj;
15726 fail:
15727 return NULL;
15728}
15729
15730
15731static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15732 PyObject *resultobj;
15733 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15734 wxString *arg2 = 0 ;
15735 wxString *arg3 = 0 ;
15736 bool result;
15737 bool temp2 = False ;
15738 bool temp3 = False ;
15739 PyObject * obj0 = 0 ;
15740 PyObject * obj1 = 0 ;
15741 PyObject * obj2 = 0 ;
15742 char *kwnames[] = {
15743 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15744 };
15745
15746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15749 {
15750 arg2 = wxString_in_helper(obj1);
15751 if (arg2 == NULL) SWIG_fail;
15752 temp2 = True;
15753 }
15754 {
15755 arg3 = wxString_in_helper(obj2);
15756 if (arg3 == NULL) SWIG_fail;
15757 temp3 = True;
15758 }
15759 {
15760 PyThreadState* __tstate = wxPyBeginAllowThreads();
15761 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15762
15763 wxPyEndAllowThreads(__tstate);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
15766 {
15767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15768 }
15769 {
15770 if (temp2)
15771 delete arg2;
15772 }
15773 {
15774 if (temp3)
15775 delete arg3;
15776 }
15777 return resultobj;
15778 fail:
15779 {
15780 if (temp2)
15781 delete arg2;
15782 }
15783 {
15784 if (temp3)
15785 delete arg3;
15786 }
15787 return NULL;
15788}
15789
15790
15791static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15792 PyObject *resultobj;
15793 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15794 wxString *arg2 = 0 ;
15795 wxString *arg3 = 0 ;
15796 bool result;
15797 bool temp2 = False ;
15798 bool temp3 = False ;
15799 PyObject * obj0 = 0 ;
15800 PyObject * obj1 = 0 ;
15801 PyObject * obj2 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15809 {
15810 arg2 = wxString_in_helper(obj1);
15811 if (arg2 == NULL) SWIG_fail;
15812 temp2 = True;
15813 }
15814 {
15815 arg3 = wxString_in_helper(obj2);
15816 if (arg3 == NULL) SWIG_fail;
15817 temp3 = True;
15818 }
15819 {
15820 PyThreadState* __tstate = wxPyBeginAllowThreads();
15821 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15822
15823 wxPyEndAllowThreads(__tstate);
15824 if (PyErr_Occurred()) SWIG_fail;
15825 }
15826 {
15827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15828 }
15829 {
15830 if (temp2)
15831 delete arg2;
15832 }
15833 {
15834 if (temp3)
15835 delete arg3;
15836 }
15837 return resultobj;
15838 fail:
15839 {
15840 if (temp2)
15841 delete arg2;
15842 }
15843 {
15844 if (temp3)
15845 delete arg3;
15846 }
15847 return NULL;
15848}
15849
15850
15851static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15852 PyObject *resultobj;
15853 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15854 wxString *arg2 = 0 ;
15855 bool arg3 = (bool) True ;
15856 bool result;
15857 bool temp2 = False ;
15858 PyObject * obj0 = 0 ;
15859 PyObject * obj1 = 0 ;
15860 PyObject * obj2 = 0 ;
15861 char *kwnames[] = {
15862 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15863 };
15864
15865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15868 {
15869 arg2 = wxString_in_helper(obj1);
15870 if (arg2 == NULL) SWIG_fail;
15871 temp2 = True;
15872 }
15873 if (obj2) {
15874 arg3 = (bool) SWIG_AsBool(obj2);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15880
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 {
15885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15886 }
15887 {
15888 if (temp2)
15889 delete arg2;
15890 }
15891 return resultobj;
15892 fail:
15893 {
15894 if (temp2)
15895 delete arg2;
15896 }
15897 return NULL;
15898}
15899
15900
15901static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15904 wxString *arg2 = 0 ;
15905 bool result;
15906 bool temp2 = False ;
15907 PyObject * obj0 = 0 ;
15908 PyObject * obj1 = 0 ;
15909 char *kwnames[] = {
15910 (char *) "self",(char *) "key", NULL
15911 };
15912
15913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15916 {
15917 arg2 = wxString_in_helper(obj1);
15918 if (arg2 == NULL) SWIG_fail;
15919 temp2 = True;
15920 }
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15924
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 {
15929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15930 }
15931 {
15932 if (temp2)
15933 delete arg2;
15934 }
15935 return resultobj;
15936 fail:
15937 {
15938 if (temp2)
15939 delete arg2;
15940 }
15941 return NULL;
15942}
15943
15944
15945static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15946 PyObject *resultobj;
15947 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15948 bool result;
15949 PyObject * obj0 = 0 ;
15950 char *kwnames[] = {
15951 (char *) "self", NULL
15952 };
15953
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 result = (bool)(arg1)->DeleteAll();
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 {
15965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15966 }
15967 return resultobj;
15968 fail:
15969 return NULL;
15970}
15971
15972
15973static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15974 PyObject *resultobj;
15975 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15976 bool arg2 = (bool) True ;
15977 PyObject * obj0 = 0 ;
15978 PyObject * obj1 = 0 ;
15979 char *kwnames[] = {
15980 (char *) "self",(char *) "doIt", NULL
15981 };
15982
15983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15986 if (obj1) {
15987 arg2 = (bool) SWIG_AsBool(obj1);
15988 if (PyErr_Occurred()) SWIG_fail;
15989 }
15990 {
15991 PyThreadState* __tstate = wxPyBeginAllowThreads();
15992 (arg1)->SetExpandEnvVars(arg2);
15993
15994 wxPyEndAllowThreads(__tstate);
15995 if (PyErr_Occurred()) SWIG_fail;
15996 }
15997 Py_INCREF(Py_None); resultobj = Py_None;
15998 return resultobj;
15999 fail:
16000 return NULL;
16001}
16002
16003
16004static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16005 PyObject *resultobj;
16006 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16007 bool result;
16008 PyObject * obj0 = 0 ;
16009 char *kwnames[] = {
16010 (char *) "self", NULL
16011 };
16012
16013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
16014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16016 {
16017 PyThreadState* __tstate = wxPyBeginAllowThreads();
16018 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
16019
16020 wxPyEndAllowThreads(__tstate);
16021 if (PyErr_Occurred()) SWIG_fail;
16022 }
16023 {
16024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16025 }
16026 return resultobj;
16027 fail:
16028 return NULL;
16029}
16030
16031
16032static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
16033 PyObject *resultobj;
16034 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16035 bool arg2 = (bool) True ;
16036 PyObject * obj0 = 0 ;
16037 PyObject * obj1 = 0 ;
16038 char *kwnames[] = {
16039 (char *) "self",(char *) "doIt", NULL
16040 };
16041
16042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
16043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16045 if (obj1) {
16046 arg2 = (bool) SWIG_AsBool(obj1);
16047 if (PyErr_Occurred()) SWIG_fail;
16048 }
16049 {
16050 PyThreadState* __tstate = wxPyBeginAllowThreads();
16051 (arg1)->SetRecordDefaults(arg2);
16052
16053 wxPyEndAllowThreads(__tstate);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 Py_INCREF(Py_None); resultobj = Py_None;
16057 return resultobj;
16058 fail:
16059 return NULL;
16060}
16061
16062
16063static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
16064 PyObject *resultobj;
16065 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16066 bool result;
16067 PyObject * obj0 = 0 ;
16068 char *kwnames[] = {
16069 (char *) "self", NULL
16070 };
16071
16072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
16073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16075 {
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
16077 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
16078
16079 wxPyEndAllowThreads(__tstate);
16080 if (PyErr_Occurred()) SWIG_fail;
16081 }
16082 {
16083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16084 }
16085 return resultobj;
16086 fail:
16087 return NULL;
16088}
16089
16090
16091static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16092 PyObject *resultobj;
16093 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16094 wxString *arg2 = 0 ;
16095 wxString result;
16096 bool temp2 = False ;
16097 PyObject * obj0 = 0 ;
16098 PyObject * obj1 = 0 ;
16099 char *kwnames[] = {
16100 (char *) "self",(char *) "str", NULL
16101 };
16102
16103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16106 {
16107 arg2 = wxString_in_helper(obj1);
16108 if (arg2 == NULL) SWIG_fail;
16109 temp2 = True;
16110 }
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
16118 {
16119#if wxUSE_UNICODE
16120 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16121#else
16122 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16123#endif
16124 }
16125 {
16126 if (temp2)
16127 delete arg2;
16128 }
16129 return resultobj;
16130 fail:
16131 {
16132 if (temp2)
16133 delete arg2;
16134 }
16135 return NULL;
16136}
16137
16138
16139static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16142 wxString result;
16143 PyObject * obj0 = 0 ;
16144 char *kwnames[] = {
16145 (char *) "self", NULL
16146 };
16147
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
16149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 result = ((wxConfigBase const *)arg1)->GetAppName();
16154
16155 wxPyEndAllowThreads(__tstate);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 {
16159#if wxUSE_UNICODE
16160 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16161#else
16162 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16163#endif
16164 }
16165 return resultobj;
16166 fail:
16167 return NULL;
16168}
16169
16170
16171static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16172 PyObject *resultobj;
16173 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16174 wxString result;
16175 PyObject * obj0 = 0 ;
16176 char *kwnames[] = {
16177 (char *) "self", NULL
16178 };
16179
16180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16183 {
16184 PyThreadState* __tstate = wxPyBeginAllowThreads();
16185 result = ((wxConfigBase const *)arg1)->GetVendorName();
16186
16187 wxPyEndAllowThreads(__tstate);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 }
16190 {
16191#if wxUSE_UNICODE
16192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16193#else
16194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16195#endif
16196 }
16197 return resultobj;
16198 fail:
16199 return NULL;
16200}
16201
16202
16203static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj;
16205 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16206 wxString *arg2 = 0 ;
16207 bool temp2 = False ;
16208 PyObject * obj0 = 0 ;
16209 PyObject * obj1 = 0 ;
16210 char *kwnames[] = {
16211 (char *) "self",(char *) "appName", NULL
16212 };
16213
16214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16217 {
16218 arg2 = wxString_in_helper(obj1);
16219 if (arg2 == NULL) SWIG_fail;
16220 temp2 = True;
16221 }
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 (arg1)->SetAppName((wxString const &)*arg2);
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 Py_INCREF(Py_None); resultobj = Py_None;
16230 {
16231 if (temp2)
16232 delete arg2;
16233 }
16234 return resultobj;
16235 fail:
16236 {
16237 if (temp2)
16238 delete arg2;
16239 }
16240 return NULL;
16241}
16242
16243
16244static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16245 PyObject *resultobj;
16246 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16247 wxString *arg2 = 0 ;
16248 bool temp2 = False ;
16249 PyObject * obj0 = 0 ;
16250 PyObject * obj1 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "self",(char *) "vendorName", NULL
16253 };
16254
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16258 {
16259 arg2 = wxString_in_helper(obj1);
16260 if (arg2 == NULL) SWIG_fail;
16261 temp2 = True;
16262 }
16263 {
16264 PyThreadState* __tstate = wxPyBeginAllowThreads();
16265 (arg1)->SetVendorName((wxString const &)*arg2);
16266
16267 wxPyEndAllowThreads(__tstate);
16268 if (PyErr_Occurred()) SWIG_fail;
16269 }
16270 Py_INCREF(Py_None); resultobj = Py_None;
16271 {
16272 if (temp2)
16273 delete arg2;
16274 }
16275 return resultobj;
16276 fail:
16277 {
16278 if (temp2)
16279 delete arg2;
16280 }
16281 return NULL;
16282}
16283
16284
16285static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16286 PyObject *resultobj;
16287 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16288 long arg2 ;
16289 PyObject * obj0 = 0 ;
16290 PyObject * obj1 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self",(char *) "style", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16298 arg2 = (long) SWIG_AsLong(obj1);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 {
16301 PyThreadState* __tstate = wxPyBeginAllowThreads();
16302 (arg1)->SetStyle(arg2);
16303
16304 wxPyEndAllowThreads(__tstate);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 }
16307 Py_INCREF(Py_None); resultobj = Py_None;
16308 return resultobj;
16309 fail:
16310 return NULL;
16311}
16312
16313
16314static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16317 long result;
16318 PyObject * obj0 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16326 {
16327 PyThreadState* __tstate = wxPyBeginAllowThreads();
16328 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16329
16330 wxPyEndAllowThreads(__tstate);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 }
16333 resultobj = SWIG_FromLong((long)result);
16334 return resultobj;
16335 fail:
16336 return NULL;
16337}
16338
16339
16340static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
16341 PyObject *obj;
16342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16343 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16344 Py_INCREF(obj);
16345 return Py_BuildValue((char *)"");
16346}
16347static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16348 PyObject *resultobj;
16349 wxString const &arg1_defvalue = wxPyEmptyString ;
16350 wxString *arg1 = (wxString *) &arg1_defvalue ;
16351 wxString const &arg2_defvalue = wxPyEmptyString ;
16352 wxString *arg2 = (wxString *) &arg2_defvalue ;
16353 wxString const &arg3_defvalue = wxPyEmptyString ;
16354 wxString *arg3 = (wxString *) &arg3_defvalue ;
16355 wxString const &arg4_defvalue = wxPyEmptyString ;
16356 wxString *arg4 = (wxString *) &arg4_defvalue ;
16357 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16358 wxConfig *result;
16359 bool temp1 = False ;
16360 bool temp2 = False ;
16361 bool temp3 = False ;
16362 bool temp4 = False ;
16363 PyObject * obj0 = 0 ;
16364 PyObject * obj1 = 0 ;
16365 PyObject * obj2 = 0 ;
16366 PyObject * obj3 = 0 ;
16367 PyObject * obj4 = 0 ;
16368 char *kwnames[] = {
16369 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16370 };
16371
16372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16373 if (obj0) {
16374 {
16375 arg1 = wxString_in_helper(obj0);
16376 if (arg1 == NULL) SWIG_fail;
16377 temp1 = True;
16378 }
16379 }
16380 if (obj1) {
16381 {
16382 arg2 = wxString_in_helper(obj1);
16383 if (arg2 == NULL) SWIG_fail;
16384 temp2 = True;
16385 }
16386 }
16387 if (obj2) {
16388 {
16389 arg3 = wxString_in_helper(obj2);
16390 if (arg3 == NULL) SWIG_fail;
16391 temp3 = True;
16392 }
16393 }
16394 if (obj3) {
16395 {
16396 arg4 = wxString_in_helper(obj3);
16397 if (arg4 == NULL) SWIG_fail;
16398 temp4 = True;
16399 }
16400 }
16401 if (obj4) {
16402 arg5 = (long) SWIG_AsLong(obj4);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 {
16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
16407 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16408
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16413 {
16414 if (temp1)
16415 delete arg1;
16416 }
16417 {
16418 if (temp2)
16419 delete arg2;
16420 }
16421 {
16422 if (temp3)
16423 delete arg3;
16424 }
16425 {
16426 if (temp4)
16427 delete arg4;
16428 }
16429 return resultobj;
16430 fail:
16431 {
16432 if (temp1)
16433 delete arg1;
16434 }
16435 {
16436 if (temp2)
16437 delete arg2;
16438 }
16439 {
16440 if (temp3)
16441 delete arg3;
16442 }
16443 {
16444 if (temp4)
16445 delete arg4;
16446 }
16447 return NULL;
16448}
16449
16450
16451static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxConfig *arg1 = (wxConfig *) 0 ;
16454 PyObject * obj0 = 0 ;
16455 char *kwnames[] = {
16456 (char *) "self", NULL
16457 };
16458
16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16462 {
16463 PyThreadState* __tstate = wxPyBeginAllowThreads();
16464 delete arg1;
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 Py_INCREF(Py_None); resultobj = Py_None;
16470 return resultobj;
16471 fail:
16472 return NULL;
16473}
16474
16475
16476static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16477 PyObject *obj;
16478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16479 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16480 Py_INCREF(obj);
16481 return Py_BuildValue((char *)"");
16482}
16483static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16484 PyObject *resultobj;
16485 wxString const &arg1_defvalue = wxPyEmptyString ;
16486 wxString *arg1 = (wxString *) &arg1_defvalue ;
16487 wxString const &arg2_defvalue = wxPyEmptyString ;
16488 wxString *arg2 = (wxString *) &arg2_defvalue ;
16489 wxString const &arg3_defvalue = wxPyEmptyString ;
16490 wxString *arg3 = (wxString *) &arg3_defvalue ;
16491 wxString const &arg4_defvalue = wxPyEmptyString ;
16492 wxString *arg4 = (wxString *) &arg4_defvalue ;
16493 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16494 wxFileConfig *result;
16495 bool temp1 = False ;
16496 bool temp2 = False ;
16497 bool temp3 = False ;
16498 bool temp4 = False ;
16499 PyObject * obj0 = 0 ;
16500 PyObject * obj1 = 0 ;
16501 PyObject * obj2 = 0 ;
16502 PyObject * obj3 = 0 ;
16503 PyObject * obj4 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16509 if (obj0) {
16510 {
16511 arg1 = wxString_in_helper(obj0);
16512 if (arg1 == NULL) SWIG_fail;
16513 temp1 = True;
16514 }
16515 }
16516 if (obj1) {
16517 {
16518 arg2 = wxString_in_helper(obj1);
16519 if (arg2 == NULL) SWIG_fail;
16520 temp2 = True;
16521 }
16522 }
16523 if (obj2) {
16524 {
16525 arg3 = wxString_in_helper(obj2);
16526 if (arg3 == NULL) SWIG_fail;
16527 temp3 = True;
16528 }
16529 }
16530 if (obj3) {
16531 {
16532 arg4 = wxString_in_helper(obj3);
16533 if (arg4 == NULL) SWIG_fail;
16534 temp4 = True;
16535 }
16536 }
16537 if (obj4) {
16538 arg5 = (long) SWIG_AsLong(obj4);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 {
16542 PyThreadState* __tstate = wxPyBeginAllowThreads();
16543 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16544
16545 wxPyEndAllowThreads(__tstate);
16546 if (PyErr_Occurred()) SWIG_fail;
16547 }
16548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16549 {
16550 if (temp1)
16551 delete arg1;
16552 }
16553 {
16554 if (temp2)
16555 delete arg2;
16556 }
16557 {
16558 if (temp3)
16559 delete arg3;
16560 }
16561 {
16562 if (temp4)
16563 delete arg4;
16564 }
16565 return resultobj;
16566 fail:
16567 {
16568 if (temp1)
16569 delete arg1;
16570 }
16571 {
16572 if (temp2)
16573 delete arg2;
16574 }
16575 {
16576 if (temp3)
16577 delete arg3;
16578 }
16579 {
16580 if (temp4)
16581 delete arg4;
16582 }
16583 return NULL;
16584}
16585
16586
16587static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj;
16589 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16590 PyObject * obj0 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 delete arg1;
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 Py_INCREF(Py_None); resultobj = Py_None;
16606 return resultobj;
16607 fail:
16608 return NULL;
16609}
16610
16611
16612static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16613 PyObject *obj;
16614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16615 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16616 Py_INCREF(obj);
16617 return Py_BuildValue((char *)"");
16618}
16619static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16620 PyObject *resultobj;
16621 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16622 wxString *arg2 = 0 ;
16623 wxConfigPathChanger *result;
16624 bool temp2 = False ;
16625 PyObject * obj0 = 0 ;
16626 PyObject * obj1 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "config",(char *) "entry", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16634 {
16635 arg2 = wxString_in_helper(obj1);
16636 if (arg2 == NULL) SWIG_fail;
16637 temp2 = True;
16638 }
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16647 {
16648 if (temp2)
16649 delete arg2;
16650 }
16651 return resultobj;
16652 fail:
16653 {
16654 if (temp2)
16655 delete arg2;
16656 }
16657 return NULL;
16658}
16659
16660
16661static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16662 PyObject *resultobj;
16663 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16664 PyObject * obj0 = 0 ;
16665 char *kwnames[] = {
16666 (char *) "self", NULL
16667 };
16668
16669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16672 {
16673 PyThreadState* __tstate = wxPyBeginAllowThreads();
16674 delete arg1;
16675
16676 wxPyEndAllowThreads(__tstate);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 Py_INCREF(Py_None); resultobj = Py_None;
16680 return resultobj;
16681 fail:
16682 return NULL;
16683}
16684
16685
16686static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
16687 PyObject *resultobj;
16688 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16689 wxString *result;
16690 PyObject * obj0 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 {
16701 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16702 result = (wxString *) &_result_ref;
16703 }
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 {
16709#if wxUSE_UNICODE
16710 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16711#else
16712 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16713#endif
16714 }
16715 return resultobj;
16716 fail:
16717 return NULL;
16718}
16719
16720
16721static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
16722 PyObject *obj;
16723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16724 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16725 Py_INCREF(obj);
16726 return Py_BuildValue((char *)"");
16727}
16728static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj;
16730 wxString *arg1 = 0 ;
16731 wxString result;
16732 bool temp1 = False ;
16733 PyObject * obj0 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "sz", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16739 {
16740 arg1 = wxString_in_helper(obj0);
16741 if (arg1 == NULL) SWIG_fail;
16742 temp1 = True;
16743 }
16744 {
16745 PyThreadState* __tstate = wxPyBeginAllowThreads();
16746 result = wxExpandEnvVars((wxString const &)*arg1);
16747
16748 wxPyEndAllowThreads(__tstate);
16749 if (PyErr_Occurred()) SWIG_fail;
16750 }
16751 {
16752#if wxUSE_UNICODE
16753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16754#else
16755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16756#endif
16757 }
16758 {
16759 if (temp1)
16760 delete arg1;
16761 }
16762 return resultobj;
16763 fail:
16764 {
16765 if (temp1)
16766 delete arg1;
16767 }
16768 return NULL;
16769}
16770
16771
16772static int _wrap_DateFormatStr_set(PyObject *_val) {
16773 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16774 return 1;
16775}
16776
16777
16778static PyObject *_wrap_DateFormatStr_get() {
16779 PyObject *pyobj;
16780
16781 {
16782#if wxUSE_UNICODE
16783 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16784#else
16785 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16786#endif
16787 }
16788 return pyobj;
16789}
16790
16791
16792static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16793 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16794 return 1;
16795}
16796
16797
16798static PyObject *_wrap_TimeSpanFormatStr_get() {
16799 PyObject *pyobj;
16800
16801 {
16802#if wxUSE_UNICODE
16803 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16804#else
16805 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16806#endif
16807 }
16808 return pyobj;
16809}
16810
16811
16812static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 int arg1 ;
16815 PyObject * obj0 = 0 ;
16816 char *kwnames[] = {
16817 (char *) "country", NULL
16818 };
16819
16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16821 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 Py_INCREF(Py_None); resultobj = Py_None;
16831 return resultobj;
16832 fail:
16833 return NULL;
16834}
16835
16836
16837static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 int result;
16840 char *kwnames[] = {
16841 NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16845 {
16846 PyThreadState* __tstate = wxPyBeginAllowThreads();
16847 result = (int)wxDateTime::GetCountry();
16848
16849 wxPyEndAllowThreads(__tstate);
16850 if (PyErr_Occurred()) SWIG_fail;
16851 }
16852 resultobj = SWIG_FromInt((int)result);
16853 return resultobj;
16854 fail:
16855 return NULL;
16856}
16857
16858
16859static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16860 PyObject *resultobj;
16861 int arg1 = (int) wxDateTime::Country_Default ;
16862 bool result;
16863 PyObject * obj0 = 0 ;
16864 char *kwnames[] = {
16865 (char *) "country", NULL
16866 };
16867
16868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16869 if (obj0) {
16870 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16876
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 {
16881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16882 }
16883 return resultobj;
16884 fail:
16885 return NULL;
16886}
16887
16888
16889static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16890 PyObject *resultobj;
16891 int arg1 = (int) wxDateTime::Gregorian ;
16892 int result;
16893 PyObject * obj0 = 0 ;
16894 char *kwnames[] = {
16895 (char *) "cal", NULL
16896 };
16897
16898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16899 if (obj0) {
16900 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 {
16904 PyThreadState* __tstate = wxPyBeginAllowThreads();
16905 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16906
16907 wxPyEndAllowThreads(__tstate);
16908 if (PyErr_Occurred()) SWIG_fail;
16909 }
16910 resultobj = SWIG_FromInt((int)result);
16911 return resultobj;
16912 fail:
16913 return NULL;
16914}
16915
16916
16917static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16918 PyObject *resultobj;
16919 int arg1 ;
16920 int result;
16921 PyObject * obj0 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "year", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16927 arg1 = (int) SWIG_AsInt(obj0);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
16931 result = (int)wxDateTime::ConvertYearToBC(arg1);
16932
16933 wxPyEndAllowThreads(__tstate);
16934 if (PyErr_Occurred()) SWIG_fail;
16935 }
16936 resultobj = SWIG_FromInt((int)result);
16937 return resultobj;
16938 fail:
16939 return NULL;
16940}
16941
16942
16943static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj;
16945 int arg1 = (int) wxDateTime::Gregorian ;
16946 int result;
16947 PyObject * obj0 = 0 ;
16948 char *kwnames[] = {
16949 (char *) "cal", NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16953 if (obj0) {
16954 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 }
16957 {
16958 PyThreadState* __tstate = wxPyBeginAllowThreads();
16959 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16960
16961 wxPyEndAllowThreads(__tstate);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 }
16964 resultobj = SWIG_FromInt((int)result);
16965 return resultobj;
16966 fail:
16967 return NULL;
16968}
16969
16970
16971static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16972 PyObject *resultobj;
16973 int arg1 = (int) wxDateTime::Inv_Year ;
16974 int arg2 = (int) wxDateTime::Gregorian ;
16975 bool result;
16976 PyObject * obj0 = 0 ;
16977 PyObject * obj1 = 0 ;
16978 char *kwnames[] = {
16979 (char *) "year",(char *) "cal", NULL
16980 };
16981
16982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16983 if (obj0) {
16984 arg1 = (int) SWIG_AsInt(obj0);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 }
16987 if (obj1) {
16988 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 {
16992 PyThreadState* __tstate = wxPyBeginAllowThreads();
16993 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16994
16995 wxPyEndAllowThreads(__tstate);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 }
16998 {
16999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17000 }
17001 return resultobj;
17002 fail:
17003 return NULL;
17004}
17005
17006
17007static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
17008 PyObject *resultobj;
17009 int arg1 = (int) wxDateTime::Inv_Year ;
17010 int result;
17011 PyObject * obj0 = 0 ;
17012 char *kwnames[] = {
17013 (char *) "year", NULL
17014 };
17015
17016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
17017 if (obj0) {
17018 arg1 = (int) SWIG_AsInt(obj0);
17019 if (PyErr_Occurred()) SWIG_fail;
17020 }
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 result = (int)wxDateTime::GetCentury(arg1);
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 resultobj = SWIG_FromInt((int)result);
17029 return resultobj;
17030 fail:
17031 return NULL;
17032}
17033
17034
17035static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj;
17037 int arg1 ;
17038 int arg2 = (int) wxDateTime::Gregorian ;
17039 int result;
17040 PyObject * obj0 = 0 ;
17041 PyObject * obj1 = 0 ;
17042 char *kwnames[] = {
17043 (char *) "year",(char *) "cal", NULL
17044 };
17045
17046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
17047 arg1 = (int) SWIG_AsInt(obj0);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 if (obj1) {
17050 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 }
17053 {
17054 PyThreadState* __tstate = wxPyBeginAllowThreads();
17055 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
17056
17057 wxPyEndAllowThreads(__tstate);
17058 if (PyErr_Occurred()) SWIG_fail;
17059 }
17060 resultobj = SWIG_FromInt((int)result);
17061 return resultobj;
17062 fail:
17063 return NULL;
17064}
17065
17066
17067static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj;
17069 int arg1 ;
17070 int arg2 = (int) wxDateTime::Inv_Year ;
17071 int arg3 = (int) wxDateTime::Gregorian ;
17072 int result;
17073 PyObject * obj0 = 0 ;
17074 PyObject * obj1 = 0 ;
17075 PyObject * obj2 = 0 ;
17076 char *kwnames[] = {
17077 (char *) "month",(char *) "year",(char *) "cal", NULL
17078 };
17079
17080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
17081 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 if (obj1) {
17084 arg2 = (int) SWIG_AsInt(obj1);
17085 if (PyErr_Occurred()) SWIG_fail;
17086 }
17087 if (obj2) {
17088 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 {
17092 PyThreadState* __tstate = wxPyBeginAllowThreads();
17093 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
17094
17095 wxPyEndAllowThreads(__tstate);
17096 if (PyErr_Occurred()) SWIG_fail;
17097 }
17098 resultobj = SWIG_FromInt((int)result);
17099 return resultobj;
17100 fail:
17101 return NULL;
17102}
17103
17104
17105static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
17106 PyObject *resultobj;
17107 int arg1 ;
17108 int arg2 = (int) wxDateTime::Name_Full ;
17109 wxString result;
17110 PyObject * obj0 = 0 ;
17111 PyObject * obj1 = 0 ;
17112 char *kwnames[] = {
17113 (char *) "month",(char *) "flags", NULL
17114 };
17115
17116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
17117 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 if (obj1) {
17120 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
17126
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
17130 {
17131#if wxUSE_UNICODE
17132 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17133#else
17134 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17135#endif
17136 }
17137 return resultobj;
17138 fail:
17139 return NULL;
17140}
17141
17142
17143static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 int arg1 ;
17146 int arg2 = (int) wxDateTime::Name_Full ;
17147 wxString result;
17148 PyObject * obj0 = 0 ;
17149 PyObject * obj1 = 0 ;
17150 char *kwnames[] = {
17151 (char *) "weekday",(char *) "flags", NULL
17152 };
17153
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
17155 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
17156 if (PyErr_Occurred()) SWIG_fail;
17157 if (obj1) {
17158 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 {
17162 PyThreadState* __tstate = wxPyBeginAllowThreads();
17163 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17164
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 {
17169#if wxUSE_UNICODE
17170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17171#else
17172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17173#endif
17174 }
17175 return resultobj;
17176 fail:
17177 return NULL;
17178}
17179
17180
17181static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
17182 PyObject *resultobj;
17183 wxString *arg1 = (wxString *) 0 ;
17184 wxString *arg2 = (wxString *) 0 ;
17185 bool temp1 = False ;
17186 bool temp2 = False ;
17187 PyObject * obj0 = 0 ;
17188 PyObject * obj1 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17191 };
17192
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17194 {
17195 arg1 = wxString_in_helper(obj0);
17196 if (arg1 == NULL) SWIG_fail;
17197 temp1 = True;
17198 }
17199 {
17200 arg2 = wxString_in_helper(obj1);
17201 if (arg2 == NULL) SWIG_fail;
17202 temp2 = True;
17203 }
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 wxDateTime::GetAmPmStrings(arg1,arg2);
17207
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 Py_INCREF(Py_None); resultobj = Py_None;
17212 {
17213 if (temp1)
17214 delete arg1;
17215 }
17216 {
17217 if (temp2)
17218 delete arg2;
17219 }
17220 return resultobj;
17221 fail:
17222 {
17223 if (temp1)
17224 delete arg1;
17225 }
17226 {
17227 if (temp2)
17228 delete arg2;
17229 }
17230 return NULL;
17231}
17232
17233
17234static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
17235 PyObject *resultobj;
17236 int arg1 = (int) wxDateTime::Inv_Year ;
17237 int arg2 = (int) wxDateTime::Country_Default ;
17238 bool result;
17239 PyObject * obj0 = 0 ;
17240 PyObject * obj1 = 0 ;
17241 char *kwnames[] = {
17242 (char *) "year",(char *) "country", NULL
17243 };
17244
17245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17246 if (obj0) {
17247 arg1 = (int) SWIG_AsInt(obj0);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 if (obj1) {
17251 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 {
17262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17263 }
17264 return resultobj;
17265 fail:
17266 return NULL;
17267}
17268
17269
17270static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17271 PyObject *resultobj;
17272 int arg1 = (int) wxDateTime::Inv_Year ;
17273 int arg2 = (int) wxDateTime::Country_Default ;
17274 wxDateTime result;
17275 PyObject * obj0 = 0 ;
17276 PyObject * obj1 = 0 ;
17277 char *kwnames[] = {
17278 (char *) "year",(char *) "country", NULL
17279 };
17280
17281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17282 if (obj0) {
17283 arg1 = (int) SWIG_AsInt(obj0);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 if (obj1) {
17287 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 {
17291 PyThreadState* __tstate = wxPyBeginAllowThreads();
17292 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17293
17294 wxPyEndAllowThreads(__tstate);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 }
17297 {
17298 wxDateTime * resultptr;
17299 resultptr = new wxDateTime((wxDateTime &) result);
17300 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17301 }
17302 return resultobj;
17303 fail:
17304 return NULL;
17305}
17306
17307
17308static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 int arg1 = (int) wxDateTime::Inv_Year ;
17311 int arg2 = (int) wxDateTime::Country_Default ;
17312 wxDateTime result;
17313 PyObject * obj0 = 0 ;
17314 PyObject * obj1 = 0 ;
17315 char *kwnames[] = {
17316 (char *) "year",(char *) "country", NULL
17317 };
17318
17319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17320 if (obj0) {
17321 arg1 = (int) SWIG_AsInt(obj0);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 if (obj1) {
17325 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 {
17329 PyThreadState* __tstate = wxPyBeginAllowThreads();
17330 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17331
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 {
17336 wxDateTime * resultptr;
17337 resultptr = new wxDateTime((wxDateTime &) result);
17338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17339 }
17340 return resultobj;
17341 fail:
17342 return NULL;
17343}
17344
17345
17346static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
17347 PyObject *resultobj;
17348 wxDateTime result;
17349 char *kwnames[] = {
17350 NULL
17351 };
17352
17353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 result = wxDateTime::Now();
17357
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 {
17362 wxDateTime * resultptr;
17363 resultptr = new wxDateTime((wxDateTime &) result);
17364 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17365 }
17366 return resultobj;
17367 fail:
17368 return NULL;
17369}
17370
17371
17372static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj;
17374 wxDateTime result;
17375 char *kwnames[] = {
17376 NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17380 {
17381 PyThreadState* __tstate = wxPyBeginAllowThreads();
17382 result = wxDateTime::UNow();
17383
17384 wxPyEndAllowThreads(__tstate);
17385 if (PyErr_Occurred()) SWIG_fail;
17386 }
17387 {
17388 wxDateTime * resultptr;
17389 resultptr = new wxDateTime((wxDateTime &) result);
17390 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17391 }
17392 return resultobj;
17393 fail:
17394 return NULL;
17395}
17396
17397
17398static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
17399 PyObject *resultobj;
17400 wxDateTime result;
17401 char *kwnames[] = {
17402 NULL
17403 };
17404
17405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17406 {
17407 PyThreadState* __tstate = wxPyBeginAllowThreads();
17408 result = wxDateTime::Today();
17409
17410 wxPyEndAllowThreads(__tstate);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
17413 {
17414 wxDateTime * resultptr;
17415 resultptr = new wxDateTime((wxDateTime &) result);
17416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17417 }
17418 return resultobj;
17419 fail:
17420 return NULL;
17421}
17422
17423
17424static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17425 PyObject *resultobj;
17426 wxDateTime *result;
17427 char *kwnames[] = {
17428 NULL
17429 };
17430
17431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = (wxDateTime *)new wxDateTime();
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17440 return resultobj;
17441 fail:
17442 return NULL;
17443}
17444
17445
17446static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 time_t arg1 ;
17449 wxDateTime *result;
17450 PyObject * obj0 = 0 ;
17451 char *kwnames[] = {
17452 (char *) "timet", NULL
17453 };
17454
17455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17456 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17457 if (PyErr_Occurred()) SWIG_fail;
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 result = (wxDateTime *)new wxDateTime(arg1);
17461
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17466 return resultobj;
17467 fail:
17468 return NULL;
17469}
17470
17471
17472static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17473 PyObject *resultobj;
17474 double arg1 ;
17475 wxDateTime *result;
17476 PyObject * obj0 = 0 ;
17477 char *kwnames[] = {
17478 (char *) "jdn", NULL
17479 };
17480
17481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17482 arg1 = (double) SWIG_AsDouble(obj0);
17483 if (PyErr_Occurred()) SWIG_fail;
17484 {
17485 PyThreadState* __tstate = wxPyBeginAllowThreads();
17486 result = (wxDateTime *)new wxDateTime(arg1);
17487
17488 wxPyEndAllowThreads(__tstate);
17489 if (PyErr_Occurred()) SWIG_fail;
17490 }
17491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17492 return resultobj;
17493 fail:
17494 return NULL;
17495}
17496
17497
17498static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17499 PyObject *resultobj;
17500 int arg1 ;
17501 int arg2 = (int) 0 ;
17502 int arg3 = (int) 0 ;
17503 int arg4 = (int) 0 ;
17504 wxDateTime *result;
17505 PyObject * obj0 = 0 ;
17506 PyObject * obj1 = 0 ;
17507 PyObject * obj2 = 0 ;
17508 PyObject * obj3 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17511 };
17512
17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17514 arg1 = (int) SWIG_AsInt(obj0);
17515 if (PyErr_Occurred()) SWIG_fail;
17516 if (obj1) {
17517 arg2 = (int) SWIG_AsInt(obj1);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 if (obj2) {
17521 arg3 = (int) SWIG_AsInt(obj2);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 if (obj3) {
17525 arg4 = (int) SWIG_AsInt(obj3);
17526 if (PyErr_Occurred()) SWIG_fail;
17527 }
17528 {
17529 PyThreadState* __tstate = wxPyBeginAllowThreads();
17530 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17531
17532 wxPyEndAllowThreads(__tstate);
17533 if (PyErr_Occurred()) SWIG_fail;
17534 }
17535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17536 return resultobj;
17537 fail:
17538 return NULL;
17539}
17540
17541
17542static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17543 PyObject *resultobj;
17544 int arg1 ;
17545 int arg2 = (int) wxDateTime::Inv_Month ;
17546 int arg3 = (int) wxDateTime::Inv_Year ;
17547 int arg4 = (int) 0 ;
17548 int arg5 = (int) 0 ;
17549 int arg6 = (int) 0 ;
17550 int arg7 = (int) 0 ;
17551 wxDateTime *result;
17552 PyObject * obj0 = 0 ;
17553 PyObject * obj1 = 0 ;
17554 PyObject * obj2 = 0 ;
17555 PyObject * obj3 = 0 ;
17556 PyObject * obj4 = 0 ;
17557 PyObject * obj5 = 0 ;
17558 PyObject * obj6 = 0 ;
17559 char *kwnames[] = {
17560 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17561 };
17562
17563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17564 arg1 = (int) SWIG_AsInt(obj0);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 if (obj1) {
17567 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 if (obj2) {
17571 arg3 = (int) SWIG_AsInt(obj2);
17572 if (PyErr_Occurred()) SWIG_fail;
17573 }
17574 if (obj3) {
17575 arg4 = (int) SWIG_AsInt(obj3);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
17578 if (obj4) {
17579 arg5 = (int) SWIG_AsInt(obj4);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
17582 if (obj5) {
17583 arg6 = (int) SWIG_AsInt(obj5);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 }
17586 if (obj6) {
17587 arg7 = (int) SWIG_AsInt(obj6);
17588 if (PyErr_Occurred()) SWIG_fail;
17589 }
17590 {
17591 PyThreadState* __tstate = wxPyBeginAllowThreads();
17592 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17593
17594 wxPyEndAllowThreads(__tstate);
17595 if (PyErr_Occurred()) SWIG_fail;
17596 }
17597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17598 return resultobj;
17599 fail:
17600 return NULL;
17601}
17602
17603
17604static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17605 PyObject *resultobj;
17606 wxDateTime *arg1 = (wxDateTime *) 0 ;
17607 PyObject * obj0 = 0 ;
17608 char *kwnames[] = {
17609 (char *) "self", NULL
17610 };
17611
17612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17615 {
17616 PyThreadState* __tstate = wxPyBeginAllowThreads();
17617 delete arg1;
17618
17619 wxPyEndAllowThreads(__tstate);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 }
17622 Py_INCREF(Py_None); resultobj = Py_None;
17623 return resultobj;
17624 fail:
17625 return NULL;
17626}
17627
17628
17629static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17630 PyObject *resultobj;
17631 wxDateTime *arg1 = (wxDateTime *) 0 ;
17632 wxDateTime *result;
17633 PyObject * obj0 = 0 ;
17634 char *kwnames[] = {
17635 (char *) "self", NULL
17636 };
17637
17638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 {
17644 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17645 result = (wxDateTime *) &_result_ref;
17646 }
17647
17648 wxPyEndAllowThreads(__tstate);
17649 if (PyErr_Occurred()) SWIG_fail;
17650 }
17651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17652 return resultobj;
17653 fail:
17654 return NULL;
17655}
17656
17657
17658static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17659 PyObject *resultobj;
17660 wxDateTime *arg1 = (wxDateTime *) 0 ;
17661 time_t arg2 ;
17662 wxDateTime *result;
17663 PyObject * obj0 = 0 ;
17664 PyObject * obj1 = 0 ;
17665 char *kwnames[] = {
17666 (char *) "self",(char *) "timet", NULL
17667 };
17668
17669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17672 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
17676 {
17677 wxDateTime &_result_ref = (arg1)->Set(arg2);
17678 result = (wxDateTime *) &_result_ref;
17679 }
17680
17681 wxPyEndAllowThreads(__tstate);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 }
17684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17685 return resultobj;
17686 fail:
17687 return NULL;
17688}
17689
17690
17691static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17692 PyObject *resultobj;
17693 wxDateTime *arg1 = (wxDateTime *) 0 ;
17694 double arg2 ;
17695 wxDateTime *result;
17696 PyObject * obj0 = 0 ;
17697 PyObject * obj1 = 0 ;
17698 char *kwnames[] = {
17699 (char *) "self",(char *) "jdn", NULL
17700 };
17701
17702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17705 arg2 = (double) SWIG_AsDouble(obj1);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 {
17710 wxDateTime &_result_ref = (arg1)->Set(arg2);
17711 result = (wxDateTime *) &_result_ref;
17712 }
17713
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17718 return resultobj;
17719 fail:
17720 return NULL;
17721}
17722
17723
17724static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17725 PyObject *resultobj;
17726 wxDateTime *arg1 = (wxDateTime *) 0 ;
17727 int arg2 ;
17728 int arg3 = (int) 0 ;
17729 int arg4 = (int) 0 ;
17730 int arg5 = (int) 0 ;
17731 wxDateTime *result;
17732 PyObject * obj0 = 0 ;
17733 PyObject * obj1 = 0 ;
17734 PyObject * obj2 = 0 ;
17735 PyObject * obj3 = 0 ;
17736 PyObject * obj4 = 0 ;
17737 char *kwnames[] = {
17738 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17739 };
17740
17741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17744 arg2 = (int) SWIG_AsInt(obj1);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 if (obj2) {
17747 arg3 = (int) SWIG_AsInt(obj2);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 if (obj3) {
17751 arg4 = (int) SWIG_AsInt(obj3);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 if (obj4) {
17755 arg5 = (int) SWIG_AsInt(obj4);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 {
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
17760 {
17761 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17762 result = (wxDateTime *) &_result_ref;
17763 }
17764
17765 wxPyEndAllowThreads(__tstate);
17766 if (PyErr_Occurred()) SWIG_fail;
17767 }
17768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17769 return resultobj;
17770 fail:
17771 return NULL;
17772}
17773
17774
17775static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17776 PyObject *resultobj;
17777 wxDateTime *arg1 = (wxDateTime *) 0 ;
17778 int arg2 ;
17779 int arg3 = (int) wxDateTime::Inv_Month ;
17780 int arg4 = (int) wxDateTime::Inv_Year ;
17781 int arg5 = (int) 0 ;
17782 int arg6 = (int) 0 ;
17783 int arg7 = (int) 0 ;
17784 int arg8 = (int) 0 ;
17785 wxDateTime *result;
17786 PyObject * obj0 = 0 ;
17787 PyObject * obj1 = 0 ;
17788 PyObject * obj2 = 0 ;
17789 PyObject * obj3 = 0 ;
17790 PyObject * obj4 = 0 ;
17791 PyObject * obj5 = 0 ;
17792 PyObject * obj6 = 0 ;
17793 PyObject * obj7 = 0 ;
17794 char *kwnames[] = {
17795 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17801 arg2 = (int) SWIG_AsInt(obj1);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 if (obj2) {
17804 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 }
17807 if (obj3) {
17808 arg4 = (int) SWIG_AsInt(obj3);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 if (obj4) {
17812 arg5 = (int) SWIG_AsInt(obj4);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
17815 if (obj5) {
17816 arg6 = (int) SWIG_AsInt(obj5);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 if (obj6) {
17820 arg7 = (int) SWIG_AsInt(obj6);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 if (obj7) {
17824 arg8 = (int) SWIG_AsInt(obj7);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 {
17828 PyThreadState* __tstate = wxPyBeginAllowThreads();
17829 {
17830 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17831 result = (wxDateTime *) &_result_ref;
17832 }
17833
17834 wxPyEndAllowThreads(__tstate);
17835 if (PyErr_Occurred()) SWIG_fail;
17836 }
17837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17838 return resultobj;
17839 fail:
17840 return NULL;
17841}
17842
17843
17844static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17845 PyObject *resultobj;
17846 wxDateTime *arg1 = (wxDateTime *) 0 ;
17847 wxDateTime *result;
17848 PyObject * obj0 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17856 {
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 {
17859 wxDateTime &_result_ref = (arg1)->ResetTime();
17860 result = (wxDateTime *) &_result_ref;
17861 }
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17867 return resultobj;
17868 fail:
17869 return NULL;
17870}
17871
17872
17873static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17874 PyObject *resultobj;
17875 wxDateTime *arg1 = (wxDateTime *) 0 ;
17876 int arg2 ;
17877 wxDateTime *result;
17878 PyObject * obj0 = 0 ;
17879 PyObject * obj1 = 0 ;
17880 char *kwnames[] = {
17881 (char *) "self",(char *) "year", NULL
17882 };
17883
17884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17887 arg2 = (int) SWIG_AsInt(obj1);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 {
17892 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17893 result = (wxDateTime *) &_result_ref;
17894 }
17895
17896 wxPyEndAllowThreads(__tstate);
17897 if (PyErr_Occurred()) SWIG_fail;
17898 }
17899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17900 return resultobj;
17901 fail:
17902 return NULL;
17903}
17904
17905
17906static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17907 PyObject *resultobj;
17908 wxDateTime *arg1 = (wxDateTime *) 0 ;
17909 int arg2 ;
17910 wxDateTime *result;
17911 PyObject * obj0 = 0 ;
17912 PyObject * obj1 = 0 ;
17913 char *kwnames[] = {
17914 (char *) "self",(char *) "month", NULL
17915 };
17916
17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17920 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 {
17923 PyThreadState* __tstate = wxPyBeginAllowThreads();
17924 {
17925 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17926 result = (wxDateTime *) &_result_ref;
17927 }
17928
17929 wxPyEndAllowThreads(__tstate);
17930 if (PyErr_Occurred()) SWIG_fail;
17931 }
17932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17933 return resultobj;
17934 fail:
17935 return NULL;
17936}
17937
17938
17939static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17940 PyObject *resultobj;
17941 wxDateTime *arg1 = (wxDateTime *) 0 ;
17942 int arg2 ;
17943 wxDateTime *result;
17944 PyObject * obj0 = 0 ;
17945 PyObject * obj1 = 0 ;
17946 char *kwnames[] = {
17947 (char *) "self",(char *) "day", NULL
17948 };
17949
17950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17953 arg2 = (int) SWIG_AsInt(obj1);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 {
17958 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17959 result = (wxDateTime *) &_result_ref;
17960 }
17961
17962 wxPyEndAllowThreads(__tstate);
17963 if (PyErr_Occurred()) SWIG_fail;
17964 }
17965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17966 return resultobj;
17967 fail:
17968 return NULL;
17969}
17970
17971
17972static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17973 PyObject *resultobj;
17974 wxDateTime *arg1 = (wxDateTime *) 0 ;
17975 int arg2 ;
17976 wxDateTime *result;
17977 PyObject * obj0 = 0 ;
17978 PyObject * obj1 = 0 ;
17979 char *kwnames[] = {
17980 (char *) "self",(char *) "hour", NULL
17981 };
17982
17983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
17984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17986 arg2 = (int) SWIG_AsInt(obj1);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 {
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 {
17991 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17992 result = (wxDateTime *) &_result_ref;
17993 }
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17999 return resultobj;
18000 fail:
18001 return NULL;
18002}
18003
18004
18005static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxDateTime *arg1 = (wxDateTime *) 0 ;
18008 int arg2 ;
18009 wxDateTime *result;
18010 PyObject * obj0 = 0 ;
18011 PyObject * obj1 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self",(char *) "minute", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18019 arg2 = (int) SWIG_AsInt(obj1);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 {
18024 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
18025 result = (wxDateTime *) &_result_ref;
18026 }
18027
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18032 return resultobj;
18033 fail:
18034 return NULL;
18035}
18036
18037
18038static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxDateTime *arg1 = (wxDateTime *) 0 ;
18041 int arg2 ;
18042 wxDateTime *result;
18043 PyObject * obj0 = 0 ;
18044 PyObject * obj1 = 0 ;
18045 char *kwnames[] = {
18046 (char *) "self",(char *) "second", NULL
18047 };
18048
18049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
18050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18052 arg2 = (int) SWIG_AsInt(obj1);
18053 if (PyErr_Occurred()) SWIG_fail;
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 {
18057 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
18058 result = (wxDateTime *) &_result_ref;
18059 }
18060
18061 wxPyEndAllowThreads(__tstate);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 }
18064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18065 return resultobj;
18066 fail:
18067 return NULL;
18068}
18069
18070
18071static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18072 PyObject *resultobj;
18073 wxDateTime *arg1 = (wxDateTime *) 0 ;
18074 int arg2 ;
18075 wxDateTime *result;
18076 PyObject * obj0 = 0 ;
18077 PyObject * obj1 = 0 ;
18078 char *kwnames[] = {
18079 (char *) "self",(char *) "millisecond", NULL
18080 };
18081
18082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
18083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18085 arg2 = (int) SWIG_AsInt(obj1);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 {
18090 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
18091 result = (wxDateTime *) &_result_ref;
18092 }
18093
18094 wxPyEndAllowThreads(__tstate);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 }
18097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18098 return resultobj;
18099 fail:
18100 return NULL;
18101}
18102
18103
18104static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18105 PyObject *resultobj;
18106 wxDateTime *arg1 = (wxDateTime *) 0 ;
18107 int arg2 ;
18108 int arg3 = (int) wxDateTime::Monday_First ;
18109 wxDateTime *result;
18110 PyObject * obj0 = 0 ;
18111 PyObject * obj1 = 0 ;
18112 PyObject * obj2 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18120 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 if (obj2) {
18123 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 {
18127 PyThreadState* __tstate = wxPyBeginAllowThreads();
18128 {
18129 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18130 result = (wxDateTime *) &_result_ref;
18131 }
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18137 return resultobj;
18138 fail:
18139 return NULL;
18140}
18141
18142
18143static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj;
18145 wxDateTime *arg1 = (wxDateTime *) 0 ;
18146 int arg2 ;
18147 int arg3 = (int) wxDateTime::Monday_First ;
18148 wxDateTime result;
18149 PyObject * obj0 = 0 ;
18150 PyObject * obj1 = 0 ;
18151 PyObject * obj2 = 0 ;
18152 char *kwnames[] = {
18153 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18154 };
18155
18156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18159 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 if (obj2) {
18162 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 {
18166 PyThreadState* __tstate = wxPyBeginAllowThreads();
18167 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18168
18169 wxPyEndAllowThreads(__tstate);
18170 if (PyErr_Occurred()) SWIG_fail;
18171 }
18172 {
18173 wxDateTime * resultptr;
18174 resultptr = new wxDateTime((wxDateTime &) result);
18175 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18176 }
18177 return resultobj;
18178 fail:
18179 return NULL;
18180}
18181
18182
18183static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18184 PyObject *resultobj;
18185 wxDateTime *arg1 = (wxDateTime *) 0 ;
18186 int arg2 ;
18187 wxDateTime *result;
18188 PyObject * obj0 = 0 ;
18189 PyObject * obj1 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self",(char *) "weekday", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18197 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 {
18202 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18203 result = (wxDateTime *) &_result_ref;
18204 }
18205
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18210 return resultobj;
18211 fail:
18212 return NULL;
18213}
18214
18215
18216static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18217 PyObject *resultobj;
18218 wxDateTime *arg1 = (wxDateTime *) 0 ;
18219 int arg2 ;
18220 wxDateTime result;
18221 PyObject * obj0 = 0 ;
18222 PyObject * obj1 = 0 ;
18223 char *kwnames[] = {
18224 (char *) "self",(char *) "weekday", NULL
18225 };
18226
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18230 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
18234 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18235
18236 wxPyEndAllowThreads(__tstate);
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
18239 {
18240 wxDateTime * resultptr;
18241 resultptr = new wxDateTime((wxDateTime &) result);
18242 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18243 }
18244 return resultobj;
18245 fail:
18246 return NULL;
18247}
18248
18249
18250static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18251 PyObject *resultobj;
18252 wxDateTime *arg1 = (wxDateTime *) 0 ;
18253 int arg2 ;
18254 wxDateTime *result;
18255 PyObject * obj0 = 0 ;
18256 PyObject * obj1 = 0 ;
18257 char *kwnames[] = {
18258 (char *) "self",(char *) "weekday", NULL
18259 };
18260
18261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18264 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18265 if (PyErr_Occurred()) SWIG_fail;
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 {
18269 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18270 result = (wxDateTime *) &_result_ref;
18271 }
18272
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18277 return resultobj;
18278 fail:
18279 return NULL;
18280}
18281
18282
18283static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18284 PyObject *resultobj;
18285 wxDateTime *arg1 = (wxDateTime *) 0 ;
18286 int arg2 ;
18287 wxDateTime result;
18288 PyObject * obj0 = 0 ;
18289 PyObject * obj1 = 0 ;
18290 char *kwnames[] = {
18291 (char *) "self",(char *) "weekday", NULL
18292 };
18293
18294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18297 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 {
18300 PyThreadState* __tstate = wxPyBeginAllowThreads();
18301 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18302
18303 wxPyEndAllowThreads(__tstate);
18304 if (PyErr_Occurred()) SWIG_fail;
18305 }
18306 {
18307 wxDateTime * resultptr;
18308 resultptr = new wxDateTime((wxDateTime &) result);
18309 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18310 }
18311 return resultobj;
18312 fail:
18313 return NULL;
18314}
18315
18316
18317static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18318 PyObject *resultobj;
18319 wxDateTime *arg1 = (wxDateTime *) 0 ;
18320 int arg2 ;
18321 int arg3 = (int) 1 ;
18322 int arg4 = (int) wxDateTime::Inv_Month ;
18323 int arg5 = (int) wxDateTime::Inv_Year ;
18324 bool result;
18325 PyObject * obj0 = 0 ;
18326 PyObject * obj1 = 0 ;
18327 PyObject * obj2 = 0 ;
18328 PyObject * obj3 = 0 ;
18329 PyObject * obj4 = 0 ;
18330 char *kwnames[] = {
18331 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18332 };
18333
18334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18337 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 if (obj2) {
18340 arg3 = (int) SWIG_AsInt(obj2);
18341 if (PyErr_Occurred()) SWIG_fail;
18342 }
18343 if (obj3) {
18344 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 if (obj4) {
18348 arg5 = (int) SWIG_AsInt(obj4);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 {
18352 PyThreadState* __tstate = wxPyBeginAllowThreads();
18353 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18354
18355 wxPyEndAllowThreads(__tstate);
18356 if (PyErr_Occurred()) SWIG_fail;
18357 }
18358 {
18359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18360 }
18361 return resultobj;
18362 fail:
18363 return NULL;
18364}
18365
18366
18367static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj;
18369 wxDateTime *arg1 = (wxDateTime *) 0 ;
18370 int arg2 ;
18371 int arg3 = (int) wxDateTime::Inv_Month ;
18372 int arg4 = (int) wxDateTime::Inv_Year ;
18373 bool result;
18374 PyObject * obj0 = 0 ;
18375 PyObject * obj1 = 0 ;
18376 PyObject * obj2 = 0 ;
18377 PyObject * obj3 = 0 ;
18378 char *kwnames[] = {
18379 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18380 };
18381
18382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18385 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 if (obj2) {
18388 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 if (obj3) {
18392 arg4 = (int) SWIG_AsInt(obj3);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
18395 {
18396 PyThreadState* __tstate = wxPyBeginAllowThreads();
18397 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18398
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 {
18403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18404 }
18405 return resultobj;
18406 fail:
18407 return NULL;
18408}
18409
18410
18411static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18412 PyObject *resultobj;
18413 wxDateTime *arg1 = (wxDateTime *) 0 ;
18414 int arg2 ;
18415 int arg3 = (int) wxDateTime::Inv_Month ;
18416 int arg4 = (int) wxDateTime::Inv_Year ;
18417 wxDateTime result;
18418 PyObject * obj0 = 0 ;
18419 PyObject * obj1 = 0 ;
18420 PyObject * obj2 = 0 ;
18421 PyObject * obj3 = 0 ;
18422 char *kwnames[] = {
18423 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18424 };
18425
18426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18429 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18430 if (PyErr_Occurred()) SWIG_fail;
18431 if (obj2) {
18432 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 if (obj3) {
18436 arg4 = (int) SWIG_AsInt(obj3);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 {
18447 wxDateTime * resultptr;
18448 resultptr = new wxDateTime((wxDateTime &) result);
18449 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18450 }
18451 return resultobj;
18452 fail:
18453 return NULL;
18454}
18455
18456
18457static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18458 PyObject *resultobj;
18459 wxDateTime *arg1 = (wxDateTime *) 0 ;
18460 int arg2 ;
18461 int arg3 = (int) wxDateTime::Mon ;
18462 int arg4 = (int) wxDateTime::Monday_First ;
18463 bool result;
18464 PyObject * obj0 = 0 ;
18465 PyObject * obj1 = 0 ;
18466 PyObject * obj2 = 0 ;
18467 PyObject * obj3 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18475 arg2 = (int) SWIG_AsInt(obj1);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 if (obj2) {
18478 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 if (obj3) {
18482 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18483 if (PyErr_Occurred()) SWIG_fail;
18484 }
18485 {
18486 PyThreadState* __tstate = wxPyBeginAllowThreads();
18487 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18488
18489 wxPyEndAllowThreads(__tstate);
18490 if (PyErr_Occurred()) SWIG_fail;
18491 }
18492 {
18493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18494 }
18495 return resultobj;
18496 fail:
18497 return NULL;
18498}
18499
18500
18501static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18502 PyObject *resultobj;
18503 wxDateTime *arg1 = (wxDateTime *) 0 ;
18504 int arg2 ;
18505 int arg3 = (int) wxDateTime::Mon ;
18506 int arg4 = (int) wxDateTime::Monday_First ;
18507 wxDateTime result;
18508 PyObject * obj0 = 0 ;
18509 PyObject * obj1 = 0 ;
18510 PyObject * obj2 = 0 ;
18511 PyObject * obj3 = 0 ;
18512 char *kwnames[] = {
18513 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18519 arg2 = (int) SWIG_AsInt(obj1);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 if (obj2) {
18522 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18523 if (PyErr_Occurred()) SWIG_fail;
18524 }
18525 if (obj3) {
18526 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 {
18530 PyThreadState* __tstate = wxPyBeginAllowThreads();
18531 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18532
18533 wxPyEndAllowThreads(__tstate);
18534 if (PyErr_Occurred()) SWIG_fail;
18535 }
18536 {
18537 wxDateTime * resultptr;
18538 resultptr = new wxDateTime((wxDateTime &) result);
18539 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18540 }
18541 return resultobj;
18542 fail:
18543 return NULL;
18544}
18545
18546
18547static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxDateTime *arg1 = (wxDateTime *) 0 ;
18550 int arg2 = (int) wxDateTime::Inv_Month ;
18551 int arg3 = (int) wxDateTime::Inv_Year ;
18552 wxDateTime *result;
18553 PyObject * obj0 = 0 ;
18554 PyObject * obj1 = 0 ;
18555 PyObject * obj2 = 0 ;
18556 char *kwnames[] = {
18557 (char *) "self",(char *) "month",(char *) "year", NULL
18558 };
18559
18560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18563 if (obj1) {
18564 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 if (obj2) {
18568 arg3 = (int) SWIG_AsInt(obj2);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 {
18572 PyThreadState* __tstate = wxPyBeginAllowThreads();
18573 {
18574 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18575 result = (wxDateTime *) &_result_ref;
18576 }
18577
18578 wxPyEndAllowThreads(__tstate);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
18581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18582 return resultobj;
18583 fail:
18584 return NULL;
18585}
18586
18587
18588static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18589 PyObject *resultobj;
18590 wxDateTime *arg1 = (wxDateTime *) 0 ;
18591 int arg2 = (int) wxDateTime::Inv_Month ;
18592 int arg3 = (int) wxDateTime::Inv_Year ;
18593 wxDateTime result;
18594 PyObject * obj0 = 0 ;
18595 PyObject * obj1 = 0 ;
18596 PyObject * obj2 = 0 ;
18597 char *kwnames[] = {
18598 (char *) "self",(char *) "month",(char *) "year", NULL
18599 };
18600
18601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18604 if (obj1) {
18605 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18606 if (PyErr_Occurred()) SWIG_fail;
18607 }
18608 if (obj2) {
18609 arg3 = (int) SWIG_AsInt(obj2);
18610 if (PyErr_Occurred()) SWIG_fail;
18611 }
18612 {
18613 PyThreadState* __tstate = wxPyBeginAllowThreads();
18614 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18615
18616 wxPyEndAllowThreads(__tstate);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
18619 {
18620 wxDateTime * resultptr;
18621 resultptr = new wxDateTime((wxDateTime &) result);
18622 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18623 }
18624 return resultobj;
18625 fail:
18626 return NULL;
18627}
18628
18629
18630static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18631 PyObject *resultobj;
18632 wxDateTime *arg1 = (wxDateTime *) 0 ;
18633 int arg2 ;
18634 wxDateTime *result;
18635 PyObject * obj0 = 0 ;
18636 PyObject * obj1 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self",(char *) "yday", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18644 arg2 = (int) SWIG_AsInt(obj1);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 {
18647 PyThreadState* __tstate = wxPyBeginAllowThreads();
18648 {
18649 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18650 result = (wxDateTime *) &_result_ref;
18651 }
18652
18653 wxPyEndAllowThreads(__tstate);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 }
18656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18657 return resultobj;
18658 fail:
18659 return NULL;
18660}
18661
18662
18663static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18664 PyObject *resultobj;
18665 wxDateTime *arg1 = (wxDateTime *) 0 ;
18666 int arg2 ;
18667 wxDateTime result;
18668 PyObject * obj0 = 0 ;
18669 PyObject * obj1 = 0 ;
18670 char *kwnames[] = {
18671 (char *) "self",(char *) "yday", NULL
18672 };
18673
18674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18677 arg2 = (int) SWIG_AsInt(obj1);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 result = (arg1)->GetYearDay(arg2);
18682
18683 wxPyEndAllowThreads(__tstate);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 }
18686 {
18687 wxDateTime * resultptr;
18688 resultptr = new wxDateTime((wxDateTime &) result);
18689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18690 }
18691 return resultobj;
18692 fail:
18693 return NULL;
18694}
18695
18696
18697static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18698 PyObject *resultobj;
18699 wxDateTime *arg1 = (wxDateTime *) 0 ;
18700 double result;
18701 PyObject * obj0 = 0 ;
18702 char *kwnames[] = {
18703 (char *) "self", NULL
18704 };
18705
18706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18709 {
18710 PyThreadState* __tstate = wxPyBeginAllowThreads();
18711 result = (double)(arg1)->GetJulianDayNumber();
18712
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 resultobj = SWIG_FromDouble((double)result);
18717 return resultobj;
18718 fail:
18719 return NULL;
18720}
18721
18722
18723static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18724 PyObject *resultobj;
18725 wxDateTime *arg1 = (wxDateTime *) 0 ;
18726 double result;
18727 PyObject * obj0 = 0 ;
18728 char *kwnames[] = {
18729 (char *) "self", NULL
18730 };
18731
18732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18735 {
18736 PyThreadState* __tstate = wxPyBeginAllowThreads();
18737 result = (double)(arg1)->GetJDN();
18738
18739 wxPyEndAllowThreads(__tstate);
18740 if (PyErr_Occurred()) SWIG_fail;
18741 }
18742 resultobj = SWIG_FromDouble((double)result);
18743 return resultobj;
18744 fail:
18745 return NULL;
18746}
18747
18748
18749static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18750 PyObject *resultobj;
18751 wxDateTime *arg1 = (wxDateTime *) 0 ;
18752 double result;
18753 PyObject * obj0 = 0 ;
18754 char *kwnames[] = {
18755 (char *) "self", NULL
18756 };
18757
18758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18761 {
18762 PyThreadState* __tstate = wxPyBeginAllowThreads();
18763 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18764
18765 wxPyEndAllowThreads(__tstate);
18766 if (PyErr_Occurred()) SWIG_fail;
18767 }
18768 resultobj = SWIG_FromDouble((double)result);
18769 return resultobj;
18770 fail:
18771 return NULL;
18772}
18773
18774
18775static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18776 PyObject *resultobj;
18777 wxDateTime *arg1 = (wxDateTime *) 0 ;
18778 double result;
18779 PyObject * obj0 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18787 {
18788 PyThreadState* __tstate = wxPyBeginAllowThreads();
18789 result = (double)(arg1)->GetMJD();
18790
18791 wxPyEndAllowThreads(__tstate);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
18794 resultobj = SWIG_FromDouble((double)result);
18795 return resultobj;
18796 fail:
18797 return NULL;
18798}
18799
18800
18801static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18802 PyObject *resultobj;
18803 wxDateTime *arg1 = (wxDateTime *) 0 ;
18804 double result;
18805 PyObject * obj0 = 0 ;
18806 char *kwnames[] = {
18807 (char *) "self", NULL
18808 };
18809
18810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 result = (double)(arg1)->GetRataDie();
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 resultobj = SWIG_FromDouble((double)result);
18821 return resultobj;
18822 fail:
18823 return NULL;
18824}
18825
18826
18827static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18828 PyObject *resultobj;
18829 wxDateTime *arg1 = (wxDateTime *) 0 ;
18830 wxDateTime::TimeZone *arg2 = 0 ;
18831 bool arg3 = (bool) False ;
18832 wxDateTime result;
18833 bool temp2 = False ;
18834 PyObject * obj0 = 0 ;
18835 PyObject * obj1 = 0 ;
18836 PyObject * obj2 = 0 ;
18837 char *kwnames[] = {
18838 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18839 };
18840
18841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18844 {
18845 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18846 temp2 = True;
18847 }
18848 if (obj2) {
18849 arg3 = (bool) SWIG_AsBool(obj2);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 }
18852 {
18853 PyThreadState* __tstate = wxPyBeginAllowThreads();
18854 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18855
18856 wxPyEndAllowThreads(__tstate);
18857 if (PyErr_Occurred()) SWIG_fail;
18858 }
18859 {
18860 wxDateTime * resultptr;
18861 resultptr = new wxDateTime((wxDateTime &) result);
18862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18863 }
18864 {
18865 if (temp2) delete arg2;
18866 }
18867 return resultobj;
18868 fail:
18869 {
18870 if (temp2) delete arg2;
18871 }
18872 return NULL;
18873}
18874
18875
18876static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxDateTime *arg1 = (wxDateTime *) 0 ;
18879 wxDateTime::TimeZone *arg2 = 0 ;
18880 bool arg3 = (bool) False ;
18881 wxDateTime *result;
18882 bool temp2 = False ;
18883 PyObject * obj0 = 0 ;
18884 PyObject * obj1 = 0 ;
18885 PyObject * obj2 = 0 ;
18886 char *kwnames[] = {
18887 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18888 };
18889
18890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18893 {
18894 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18895 temp2 = True;
18896 }
18897 if (obj2) {
18898 arg3 = (bool) SWIG_AsBool(obj2);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 {
18902 PyThreadState* __tstate = wxPyBeginAllowThreads();
18903 {
18904 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18905 result = (wxDateTime *) &_result_ref;
18906 }
18907
18908 wxPyEndAllowThreads(__tstate);
18909 if (PyErr_Occurred()) SWIG_fail;
18910 }
18911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18912 {
18913 if (temp2) delete arg2;
18914 }
18915 return resultobj;
18916 fail:
18917 {
18918 if (temp2) delete arg2;
18919 }
18920 return NULL;
18921}
18922
18923
18924static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18925 PyObject *resultobj;
18926 wxDateTime *arg1 = (wxDateTime *) 0 ;
18927 bool arg2 = (bool) False ;
18928 wxDateTime result;
18929 PyObject * obj0 = 0 ;
18930 PyObject * obj1 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self",(char *) "noDST", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18938 if (obj1) {
18939 arg2 = (bool) SWIG_AsBool(obj1);
18940 if (PyErr_Occurred()) SWIG_fail;
18941 }
18942 {
18943 PyThreadState* __tstate = wxPyBeginAllowThreads();
18944 result = (arg1)->ToGMT(arg2);
18945
18946 wxPyEndAllowThreads(__tstate);
18947 if (PyErr_Occurred()) SWIG_fail;
18948 }
18949 {
18950 wxDateTime * resultptr;
18951 resultptr = new wxDateTime((wxDateTime &) result);
18952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18953 }
18954 return resultobj;
18955 fail:
18956 return NULL;
18957}
18958
18959
18960static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18961 PyObject *resultobj;
18962 wxDateTime *arg1 = (wxDateTime *) 0 ;
18963 bool arg2 = (bool) False ;
18964 wxDateTime *result;
18965 PyObject * obj0 = 0 ;
18966 PyObject * obj1 = 0 ;
18967 char *kwnames[] = {
18968 (char *) "self",(char *) "noDST", NULL
18969 };
18970
18971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18974 if (obj1) {
18975 arg2 = (bool) SWIG_AsBool(obj1);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 }
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 {
18981 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18982 result = (wxDateTime *) &_result_ref;
18983 }
18984
18985 wxPyEndAllowThreads(__tstate);
18986 if (PyErr_Occurred()) SWIG_fail;
18987 }
18988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18989 return resultobj;
18990 fail:
18991 return NULL;
18992}
18993
18994
18995static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18996 PyObject *resultobj;
18997 wxDateTime *arg1 = (wxDateTime *) 0 ;
18998 int arg2 = (int) wxDateTime::Country_Default ;
18999 int result;
19000 PyObject * obj0 = 0 ;
19001 PyObject * obj1 = 0 ;
19002 char *kwnames[] = {
19003 (char *) "self",(char *) "country", NULL
19004 };
19005
19006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
19007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19009 if (obj1) {
19010 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 {
19014 PyThreadState* __tstate = wxPyBeginAllowThreads();
19015 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
19016
19017 wxPyEndAllowThreads(__tstate);
19018 if (PyErr_Occurred()) SWIG_fail;
19019 }
19020 resultobj = SWIG_FromInt((int)result);
19021 return resultobj;
19022 fail:
19023 return NULL;
19024}
19025
19026
19027static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
19028 PyObject *resultobj;
19029 wxDateTime *arg1 = (wxDateTime *) 0 ;
19030 bool result;
19031 PyObject * obj0 = 0 ;
19032 char *kwnames[] = {
19033 (char *) "self", NULL
19034 };
19035
19036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
19037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 result = (bool)((wxDateTime const *)arg1)->IsValid();
19042
19043 wxPyEndAllowThreads(__tstate);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 }
19046 {
19047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19048 }
19049 return resultobj;
19050 fail:
19051 return NULL;
19052}
19053
19054
19055static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
19056 PyObject *resultobj;
19057 wxDateTime *arg1 = (wxDateTime *) 0 ;
19058 time_t result;
19059 PyObject * obj0 = 0 ;
19060 char *kwnames[] = {
19061 (char *) "self", NULL
19062 };
19063
19064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
19065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19067 {
19068 PyThreadState* __tstate = wxPyBeginAllowThreads();
19069 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
19070
19071 wxPyEndAllowThreads(__tstate);
19072 if (PyErr_Occurred()) SWIG_fail;
19073 }
19074 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
19075 return resultobj;
19076 fail:
19077 return NULL;
19078}
19079
19080
19081static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19082 PyObject *resultobj;
19083 wxDateTime *arg1 = (wxDateTime *) 0 ;
19084 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19085 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19086 int result;
19087 bool temp2 = False ;
19088 PyObject * obj0 = 0 ;
19089 PyObject * obj1 = 0 ;
19090 char *kwnames[] = {
19091 (char *) "self",(char *) "tz", NULL
19092 };
19093
19094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
19095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19097 if (obj1) {
19098 {
19099 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19100 temp2 = True;
19101 }
19102 }
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
19106
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 resultobj = SWIG_FromInt((int)result);
19111 {
19112 if (temp2) delete arg2;
19113 }
19114 return resultobj;
19115 fail:
19116 {
19117 if (temp2) delete arg2;
19118 }
19119 return NULL;
19120}
19121
19122
19123static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj;
19125 wxDateTime *arg1 = (wxDateTime *) 0 ;
19126 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19127 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19128 int result;
19129 bool temp2 = False ;
19130 PyObject * obj0 = 0 ;
19131 PyObject * obj1 = 0 ;
19132 char *kwnames[] = {
19133 (char *) "self",(char *) "tz", NULL
19134 };
19135
19136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
19137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19139 if (obj1) {
19140 {
19141 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19142 temp2 = True;
19143 }
19144 }
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19148
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 resultobj = SWIG_FromInt((int)result);
19153 {
19154 if (temp2) delete arg2;
19155 }
19156 return resultobj;
19157 fail:
19158 {
19159 if (temp2) delete arg2;
19160 }
19161 return NULL;
19162}
19163
19164
19165static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19166 PyObject *resultobj;
19167 wxDateTime *arg1 = (wxDateTime *) 0 ;
19168 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19169 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19170 int result;
19171 bool temp2 = False ;
19172 PyObject * obj0 = 0 ;
19173 PyObject * obj1 = 0 ;
19174 char *kwnames[] = {
19175 (char *) "self",(char *) "tz", NULL
19176 };
19177
19178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19181 if (obj1) {
19182 {
19183 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19184 temp2 = True;
19185 }
19186 }
19187 {
19188 PyThreadState* __tstate = wxPyBeginAllowThreads();
19189 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19190
19191 wxPyEndAllowThreads(__tstate);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 }
19194 resultobj = SWIG_FromInt((int)result);
19195 {
19196 if (temp2) delete arg2;
19197 }
19198 return resultobj;
19199 fail:
19200 {
19201 if (temp2) delete arg2;
19202 }
19203 return NULL;
19204}
19205
19206
19207static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19208 PyObject *resultobj;
19209 wxDateTime *arg1 = (wxDateTime *) 0 ;
19210 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19211 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19212 int result;
19213 bool temp2 = False ;
19214 PyObject * obj0 = 0 ;
19215 PyObject * obj1 = 0 ;
19216 char *kwnames[] = {
19217 (char *) "self",(char *) "tz", NULL
19218 };
19219
19220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19223 if (obj1) {
19224 {
19225 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19226 temp2 = True;
19227 }
19228 }
19229 {
19230 PyThreadState* __tstate = wxPyBeginAllowThreads();
19231 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19232
19233 wxPyEndAllowThreads(__tstate);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 }
19236 resultobj = SWIG_FromInt((int)result);
19237 {
19238 if (temp2) delete arg2;
19239 }
19240 return resultobj;
19241 fail:
19242 {
19243 if (temp2) delete arg2;
19244 }
19245 return NULL;
19246}
19247
19248
19249static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
19250 PyObject *resultobj;
19251 wxDateTime *arg1 = (wxDateTime *) 0 ;
19252 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19253 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19254 int result;
19255 bool temp2 = False ;
19256 PyObject * obj0 = 0 ;
19257 PyObject * obj1 = 0 ;
19258 char *kwnames[] = {
19259 (char *) "self",(char *) "tz", NULL
19260 };
19261
19262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19265 if (obj1) {
19266 {
19267 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19268 temp2 = True;
19269 }
19270 }
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 resultobj = SWIG_FromInt((int)result);
19279 {
19280 if (temp2) delete arg2;
19281 }
19282 return resultobj;
19283 fail:
19284 {
19285 if (temp2) delete arg2;
19286 }
19287 return NULL;
19288}
19289
19290
19291static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
19292 PyObject *resultobj;
19293 wxDateTime *arg1 = (wxDateTime *) 0 ;
19294 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19295 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19296 int result;
19297 bool temp2 = False ;
19298 PyObject * obj0 = 0 ;
19299 PyObject * obj1 = 0 ;
19300 char *kwnames[] = {
19301 (char *) "self",(char *) "tz", NULL
19302 };
19303
19304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19307 if (obj1) {
19308 {
19309 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19310 temp2 = True;
19311 }
19312 }
19313 {
19314 PyThreadState* __tstate = wxPyBeginAllowThreads();
19315 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19316
19317 wxPyEndAllowThreads(__tstate);
19318 if (PyErr_Occurred()) SWIG_fail;
19319 }
19320 resultobj = SWIG_FromInt((int)result);
19321 {
19322 if (temp2) delete arg2;
19323 }
19324 return resultobj;
19325 fail:
19326 {
19327 if (temp2) delete arg2;
19328 }
19329 return NULL;
19330}
19331
19332
19333static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj;
19335 wxDateTime *arg1 = (wxDateTime *) 0 ;
19336 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19337 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19338 int result;
19339 bool temp2 = False ;
19340 PyObject * obj0 = 0 ;
19341 PyObject * obj1 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "tz", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19349 if (obj1) {
19350 {
19351 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19352 temp2 = True;
19353 }
19354 }
19355 {
19356 PyThreadState* __tstate = wxPyBeginAllowThreads();
19357 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19358
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
19362 resultobj = SWIG_FromInt((int)result);
19363 {
19364 if (temp2) delete arg2;
19365 }
19366 return resultobj;
19367 fail:
19368 {
19369 if (temp2) delete arg2;
19370 }
19371 return NULL;
19372}
19373
19374
19375static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19376 PyObject *resultobj;
19377 wxDateTime *arg1 = (wxDateTime *) 0 ;
19378 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19379 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19380 int result;
19381 bool temp2 = False ;
19382 PyObject * obj0 = 0 ;
19383 PyObject * obj1 = 0 ;
19384 char *kwnames[] = {
19385 (char *) "self",(char *) "tz", NULL
19386 };
19387
19388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19391 if (obj1) {
19392 {
19393 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19394 temp2 = True;
19395 }
19396 }
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 resultobj = SWIG_FromInt((int)result);
19405 {
19406 if (temp2) delete arg2;
19407 }
19408 return resultobj;
19409 fail:
19410 {
19411 if (temp2) delete arg2;
19412 }
19413 return NULL;
19414}
19415
19416
19417static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj;
19419 wxDateTime *arg1 = (wxDateTime *) 0 ;
19420 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19421 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19422 int result;
19423 bool temp2 = False ;
19424 PyObject * obj0 = 0 ;
19425 PyObject * obj1 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self",(char *) "tz", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19433 if (obj1) {
19434 {
19435 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19436 temp2 = True;
19437 }
19438 }
19439 {
19440 PyThreadState* __tstate = wxPyBeginAllowThreads();
19441 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19442
19443 wxPyEndAllowThreads(__tstate);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 }
19446 resultobj = SWIG_FromInt((int)result);
19447 {
19448 if (temp2) delete arg2;
19449 }
19450 return resultobj;
19451 fail:
19452 {
19453 if (temp2) delete arg2;
19454 }
19455 return NULL;
19456}
19457
19458
19459static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19460 PyObject *resultobj;
19461 wxDateTime *arg1 = (wxDateTime *) 0 ;
19462 int arg2 = (int) wxDateTime::Monday_First ;
19463 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19464 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19465 int result;
19466 bool temp3 = False ;
19467 PyObject * obj0 = 0 ;
19468 PyObject * obj1 = 0 ;
19469 PyObject * obj2 = 0 ;
19470 char *kwnames[] = {
19471 (char *) "self",(char *) "flags",(char *) "tz", NULL
19472 };
19473
19474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19477 if (obj1) {
19478 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 if (obj2) {
19482 {
19483 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19484 temp3 = True;
19485 }
19486 }
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 resultobj = SWIG_FromInt((int)result);
19495 {
19496 if (temp3) delete arg3;
19497 }
19498 return resultobj;
19499 fail:
19500 {
19501 if (temp3) delete arg3;
19502 }
19503 return NULL;
19504}
19505
19506
19507static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19508 PyObject *resultobj;
19509 wxDateTime *arg1 = (wxDateTime *) 0 ;
19510 int arg2 = (int) wxDateTime::Monday_First ;
19511 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19512 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19513 int result;
19514 bool temp3 = False ;
19515 PyObject * obj0 = 0 ;
19516 PyObject * obj1 = 0 ;
19517 PyObject * obj2 = 0 ;
19518 char *kwnames[] = {
19519 (char *) "self",(char *) "flags",(char *) "tz", NULL
19520 };
19521
19522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19525 if (obj1) {
19526 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19527 if (PyErr_Occurred()) SWIG_fail;
19528 }
19529 if (obj2) {
19530 {
19531 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19532 temp3 = True;
19533 }
19534 }
19535 {
19536 PyThreadState* __tstate = wxPyBeginAllowThreads();
19537 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19538
19539 wxPyEndAllowThreads(__tstate);
19540 if (PyErr_Occurred()) SWIG_fail;
19541 }
19542 resultobj = SWIG_FromInt((int)result);
19543 {
19544 if (temp3) delete arg3;
19545 }
19546 return resultobj;
19547 fail:
19548 {
19549 if (temp3) delete arg3;
19550 }
19551 return NULL;
19552}
19553
19554
19555static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19556 PyObject *resultobj;
19557 wxDateTime *arg1 = (wxDateTime *) 0 ;
19558 int arg2 = (int) wxDateTime::Country_Default ;
19559 bool result;
19560 PyObject * obj0 = 0 ;
19561 PyObject * obj1 = 0 ;
19562 char *kwnames[] = {
19563 (char *) "self",(char *) "country", NULL
19564 };
19565
19566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19569 if (obj1) {
19570 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 {
19574 PyThreadState* __tstate = wxPyBeginAllowThreads();
19575 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19576
19577 wxPyEndAllowThreads(__tstate);
19578 if (PyErr_Occurred()) SWIG_fail;
19579 }
19580 {
19581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19582 }
19583 return resultobj;
19584 fail:
19585 return NULL;
19586}
19587
19588
19589static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19590 PyObject *resultobj;
19591 wxDateTime *arg1 = (wxDateTime *) 0 ;
19592 wxDateTime *arg2 = 0 ;
19593 bool result;
19594 PyObject * obj0 = 0 ;
19595 PyObject * obj1 = 0 ;
19596 char *kwnames[] = {
19597 (char *) "self",(char *) "datetime", NULL
19598 };
19599
19600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19604 SWIG_POINTER_EXCEPTION | 0)) == -1)
19605 SWIG_fail;
19606 if (arg2 == NULL) {
19607 PyErr_SetString(PyExc_TypeError,"null reference");
19608 SWIG_fail;
19609 }
19610 {
19611 PyThreadState* __tstate = wxPyBeginAllowThreads();
19612 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19613
19614 wxPyEndAllowThreads(__tstate);
19615 if (PyErr_Occurred()) SWIG_fail;
19616 }
19617 {
19618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19619 }
19620 return resultobj;
19621 fail:
19622 return NULL;
19623}
19624
19625
19626static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19627 PyObject *resultobj;
19628 wxDateTime *arg1 = (wxDateTime *) 0 ;
19629 wxDateTime *arg2 = 0 ;
19630 bool result;
19631 PyObject * obj0 = 0 ;
19632 PyObject * obj1 = 0 ;
19633 char *kwnames[] = {
19634 (char *) "self",(char *) "datetime", NULL
19635 };
19636
19637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19641 SWIG_POINTER_EXCEPTION | 0)) == -1)
19642 SWIG_fail;
19643 if (arg2 == NULL) {
19644 PyErr_SetString(PyExc_TypeError,"null reference");
19645 SWIG_fail;
19646 }
19647 {
19648 PyThreadState* __tstate = wxPyBeginAllowThreads();
19649 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19650
19651 wxPyEndAllowThreads(__tstate);
19652 if (PyErr_Occurred()) SWIG_fail;
19653 }
19654 {
19655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19656 }
19657 return resultobj;
19658 fail:
19659 return NULL;
19660}
19661
19662
19663static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19664 PyObject *resultobj;
19665 wxDateTime *arg1 = (wxDateTime *) 0 ;
19666 wxDateTime *arg2 = 0 ;
19667 bool result;
19668 PyObject * obj0 = 0 ;
19669 PyObject * obj1 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self",(char *) "datetime", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19678 SWIG_POINTER_EXCEPTION | 0)) == -1)
19679 SWIG_fail;
19680 if (arg2 == NULL) {
19681 PyErr_SetString(PyExc_TypeError,"null reference");
19682 SWIG_fail;
19683 }
19684 {
19685 PyThreadState* __tstate = wxPyBeginAllowThreads();
19686 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19687
19688 wxPyEndAllowThreads(__tstate);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
19691 {
19692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19693 }
19694 return resultobj;
19695 fail:
19696 return NULL;
19697}
19698
19699
19700static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj;
19702 wxDateTime *arg1 = (wxDateTime *) 0 ;
19703 wxDateTime *arg2 = 0 ;
19704 wxDateTime *arg3 = 0 ;
19705 bool result;
19706 PyObject * obj0 = 0 ;
19707 PyObject * obj1 = 0 ;
19708 PyObject * obj2 = 0 ;
19709 char *kwnames[] = {
19710 (char *) "self",(char *) "t1",(char *) "t2", NULL
19711 };
19712
19713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19717 SWIG_POINTER_EXCEPTION | 0)) == -1)
19718 SWIG_fail;
19719 if (arg2 == NULL) {
19720 PyErr_SetString(PyExc_TypeError,"null reference");
19721 SWIG_fail;
19722 }
19723 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19724 SWIG_POINTER_EXCEPTION | 0)) == -1)
19725 SWIG_fail;
19726 if (arg3 == NULL) {
19727 PyErr_SetString(PyExc_TypeError,"null reference");
19728 SWIG_fail;
19729 }
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 {
19738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19739 }
19740 return resultobj;
19741 fail:
19742 return NULL;
19743}
19744
19745
19746static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxDateTime *arg1 = (wxDateTime *) 0 ;
19749 wxDateTime *arg2 = 0 ;
19750 wxDateTime *arg3 = 0 ;
19751 bool result;
19752 PyObject * obj0 = 0 ;
19753 PyObject * obj1 = 0 ;
19754 PyObject * obj2 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self",(char *) "t1",(char *) "t2", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19763 SWIG_POINTER_EXCEPTION | 0)) == -1)
19764 SWIG_fail;
19765 if (arg2 == NULL) {
19766 PyErr_SetString(PyExc_TypeError,"null reference");
19767 SWIG_fail;
19768 }
19769 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19770 SWIG_POINTER_EXCEPTION | 0)) == -1)
19771 SWIG_fail;
19772 if (arg3 == NULL) {
19773 PyErr_SetString(PyExc_TypeError,"null reference");
19774 SWIG_fail;
19775 }
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19779
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 {
19784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19785 }
19786 return resultobj;
19787 fail:
19788 return NULL;
19789}
19790
19791
19792static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19793 PyObject *resultobj;
19794 wxDateTime *arg1 = (wxDateTime *) 0 ;
19795 wxDateTime *arg2 = 0 ;
19796 bool result;
19797 PyObject * obj0 = 0 ;
19798 PyObject * obj1 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self",(char *) "dt", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19807 SWIG_POINTER_EXCEPTION | 0)) == -1)
19808 SWIG_fail;
19809 if (arg2 == NULL) {
19810 PyErr_SetString(PyExc_TypeError,"null reference");
19811 SWIG_fail;
19812 }
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 {
19821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19822 }
19823 return resultobj;
19824 fail:
19825 return NULL;
19826}
19827
19828
19829static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj;
19831 wxDateTime *arg1 = (wxDateTime *) 0 ;
19832 wxDateTime *arg2 = 0 ;
19833 bool result;
19834 PyObject * obj0 = 0 ;
19835 PyObject * obj1 = 0 ;
19836 char *kwnames[] = {
19837 (char *) "self",(char *) "dt", NULL
19838 };
19839
19840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19844 SWIG_POINTER_EXCEPTION | 0)) == -1)
19845 SWIG_fail;
19846 if (arg2 == NULL) {
19847 PyErr_SetString(PyExc_TypeError,"null reference");
19848 SWIG_fail;
19849 }
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 {
19858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19859 }
19860 return resultobj;
19861 fail:
19862 return NULL;
19863}
19864
19865
19866static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19867 PyObject *resultobj;
19868 wxDateTime *arg1 = (wxDateTime *) 0 ;
19869 wxDateTime *arg2 = 0 ;
19870 wxTimeSpan *arg3 = 0 ;
19871 bool result;
19872 PyObject * obj0 = 0 ;
19873 PyObject * obj1 = 0 ;
19874 PyObject * obj2 = 0 ;
19875 char *kwnames[] = {
19876 (char *) "self",(char *) "dt",(char *) "ts", NULL
19877 };
19878
19879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19883 SWIG_POINTER_EXCEPTION | 0)) == -1)
19884 SWIG_fail;
19885 if (arg2 == NULL) {
19886 PyErr_SetString(PyExc_TypeError,"null reference");
19887 SWIG_fail;
19888 }
19889 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19890 SWIG_POINTER_EXCEPTION | 0)) == -1)
19891 SWIG_fail;
19892 if (arg3 == NULL) {
19893 PyErr_SetString(PyExc_TypeError,"null reference");
19894 SWIG_fail;
19895 }
19896 {
19897 PyThreadState* __tstate = wxPyBeginAllowThreads();
19898 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19899
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 {
19904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19905 }
19906 return resultobj;
19907 fail:
19908 return NULL;
19909}
19910
19911
19912static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19913 PyObject *resultobj;
19914 wxDateTime *arg1 = (wxDateTime *) 0 ;
19915 wxTimeSpan *arg2 = 0 ;
19916 wxDateTime *result;
19917 PyObject * obj0 = 0 ;
19918 PyObject * obj1 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self",(char *) "diff", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19927 SWIG_POINTER_EXCEPTION | 0)) == -1)
19928 SWIG_fail;
19929 if (arg2 == NULL) {
19930 PyErr_SetString(PyExc_TypeError,"null reference");
19931 SWIG_fail;
19932 }
19933 {
19934 PyThreadState* __tstate = wxPyBeginAllowThreads();
19935 {
19936 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19937 result = (wxDateTime *) &_result_ref;
19938 }
19939
19940 wxPyEndAllowThreads(__tstate);
19941 if (PyErr_Occurred()) SWIG_fail;
19942 }
19943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19944 return resultobj;
19945 fail:
19946 return NULL;
19947}
19948
19949
19950static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19951 PyObject *resultobj;
19952 wxDateTime *arg1 = (wxDateTime *) 0 ;
19953 wxDateSpan *arg2 = 0 ;
19954 wxDateTime *result;
19955 PyObject * obj0 = 0 ;
19956 PyObject * obj1 = 0 ;
19957 char *kwnames[] = {
19958 (char *) "self",(char *) "diff", NULL
19959 };
19960
19961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19965 SWIG_POINTER_EXCEPTION | 0)) == -1)
19966 SWIG_fail;
19967 if (arg2 == NULL) {
19968 PyErr_SetString(PyExc_TypeError,"null reference");
19969 SWIG_fail;
19970 }
19971 {
19972 PyThreadState* __tstate = wxPyBeginAllowThreads();
19973 {
19974 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19975 result = (wxDateTime *) &_result_ref;
19976 }
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19982 return resultobj;
19983 fail:
19984 return NULL;
19985}
19986
19987
19988static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19989 PyObject *resultobj;
19990 wxDateTime *arg1 = (wxDateTime *) 0 ;
19991 wxTimeSpan *arg2 = 0 ;
19992 wxDateTime *result;
19993 PyObject * obj0 = 0 ;
19994 PyObject * obj1 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "diff", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20002 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20003 SWIG_POINTER_EXCEPTION | 0)) == -1)
20004 SWIG_fail;
20005 if (arg2 == NULL) {
20006 PyErr_SetString(PyExc_TypeError,"null reference");
20007 SWIG_fail;
20008 }
20009 {
20010 PyThreadState* __tstate = wxPyBeginAllowThreads();
20011 {
20012 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
20013 result = (wxDateTime *) &_result_ref;
20014 }
20015
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20020 return resultobj;
20021 fail:
20022 return NULL;
20023}
20024
20025
20026static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
20027 PyObject *resultobj;
20028 wxDateTime *arg1 = (wxDateTime *) 0 ;
20029 wxDateSpan *arg2 = 0 ;
20030 wxDateTime *result;
20031 PyObject * obj0 = 0 ;
20032 PyObject * obj1 = 0 ;
20033 char *kwnames[] = {
20034 (char *) "self",(char *) "diff", NULL
20035 };
20036
20037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
20038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20041 SWIG_POINTER_EXCEPTION | 0)) == -1)
20042 SWIG_fail;
20043 if (arg2 == NULL) {
20044 PyErr_SetString(PyExc_TypeError,"null reference");
20045 SWIG_fail;
20046 }
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 {
20050 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20051 result = (wxDateTime *) &_result_ref;
20052 }
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20058 return resultobj;
20059 fail:
20060 return NULL;
20061}
20062
20063
20064static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj;
20066 wxDateTime *arg1 = (wxDateTime *) 0 ;
20067 wxDateTime *arg2 = 0 ;
20068 wxTimeSpan result;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self",(char *) "dt", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20079 SWIG_POINTER_EXCEPTION | 0)) == -1)
20080 SWIG_fail;
20081 if (arg2 == NULL) {
20082 PyErr_SetString(PyExc_TypeError,"null reference");
20083 SWIG_fail;
20084 }
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
20088
20089 wxPyEndAllowThreads(__tstate);
20090 if (PyErr_Occurred()) SWIG_fail;
20091 }
20092 {
20093 wxTimeSpan * resultptr;
20094 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20096 }
20097 return resultobj;
20098 fail:
20099 return NULL;
20100}
20101
20102
20103static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
20104 PyObject *resultobj;
20105 wxDateTime *arg1 = (wxDateTime *) 0 ;
20106 wxTimeSpan *arg2 = 0 ;
20107 wxDateTime *result;
20108 PyObject * obj0 = 0 ;
20109 PyObject * obj1 = 0 ;
20110
20111 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20115 SWIG_POINTER_EXCEPTION | 0)) == -1)
20116 SWIG_fail;
20117 if (arg2 == NULL) {
20118 PyErr_SetString(PyExc_TypeError,"null reference");
20119 SWIG_fail;
20120 }
20121 {
20122 PyThreadState* __tstate = wxPyBeginAllowThreads();
20123 {
20124 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
20125 result = (wxDateTime *) &_result_ref;
20126 }
20127
20128 wxPyEndAllowThreads(__tstate);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 }
20131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20132 return resultobj;
20133 fail:
20134 return NULL;
20135}
20136
20137
20138static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
20139 PyObject *resultobj;
20140 wxDateTime *arg1 = (wxDateTime *) 0 ;
20141 wxDateSpan *arg2 = 0 ;
20142 wxDateTime *result;
20143 PyObject * obj0 = 0 ;
20144 PyObject * obj1 = 0 ;
20145
20146 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20149 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20150 SWIG_POINTER_EXCEPTION | 0)) == -1)
20151 SWIG_fail;
20152 if (arg2 == NULL) {
20153 PyErr_SetString(PyExc_TypeError,"null reference");
20154 SWIG_fail;
20155 }
20156 {
20157 PyThreadState* __tstate = wxPyBeginAllowThreads();
20158 {
20159 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20160 result = (wxDateTime *) &_result_ref;
20161 }
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20167 return resultobj;
20168 fail:
20169 return NULL;
20170}
20171
20172
20173static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20174 int argc;
20175 PyObject *argv[3];
20176 int ii;
20177
20178 argc = PyObject_Length(args);
20179 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20180 argv[ii] = PyTuple_GetItem(args,ii);
20181 }
20182 if (argc == 2) {
20183 int _v;
20184 {
20185 void *ptr;
20186 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20187 _v = 0;
20188 PyErr_Clear();
20189 } else {
20190 _v = 1;
20191 }
20192 }
20193 if (_v) {
20194 {
20195 void *ptr;
20196 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20197 _v = 0;
20198 PyErr_Clear();
20199 } else {
20200 _v = 1;
20201 }
20202 }
20203 if (_v) {
20204 return _wrap_DateTime___iadd____SWIG_0(self,args);
20205 }
20206 }
20207 }
20208 if (argc == 2) {
20209 int _v;
20210 {
20211 void *ptr;
20212 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20213 _v = 0;
20214 PyErr_Clear();
20215 } else {
20216 _v = 1;
20217 }
20218 }
20219 if (_v) {
20220 {
20221 void *ptr;
20222 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20223 _v = 0;
20224 PyErr_Clear();
20225 } else {
20226 _v = 1;
20227 }
20228 }
20229 if (_v) {
20230 return _wrap_DateTime___iadd____SWIG_1(self,args);
20231 }
20232 }
20233 }
20234
20235 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20236 return NULL;
20237}
20238
20239
20240static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
20241 PyObject *resultobj;
20242 wxDateTime *arg1 = (wxDateTime *) 0 ;
20243 wxTimeSpan *arg2 = 0 ;
20244 wxDateTime *result;
20245 PyObject * obj0 = 0 ;
20246 PyObject * obj1 = 0 ;
20247
20248 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20251 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20252 SWIG_POINTER_EXCEPTION | 0)) == -1)
20253 SWIG_fail;
20254 if (arg2 == NULL) {
20255 PyErr_SetString(PyExc_TypeError,"null reference");
20256 SWIG_fail;
20257 }
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 {
20261 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20262 result = (wxDateTime *) &_result_ref;
20263 }
20264
20265 wxPyEndAllowThreads(__tstate);
20266 if (PyErr_Occurred()) SWIG_fail;
20267 }
20268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20269 return resultobj;
20270 fail:
20271 return NULL;
20272}
20273
20274
20275static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
20276 PyObject *resultobj;
20277 wxDateTime *arg1 = (wxDateTime *) 0 ;
20278 wxDateSpan *arg2 = 0 ;
20279 wxDateTime *result;
20280 PyObject * obj0 = 0 ;
20281 PyObject * obj1 = 0 ;
20282
20283 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20287 SWIG_POINTER_EXCEPTION | 0)) == -1)
20288 SWIG_fail;
20289 if (arg2 == NULL) {
20290 PyErr_SetString(PyExc_TypeError,"null reference");
20291 SWIG_fail;
20292 }
20293 {
20294 PyThreadState* __tstate = wxPyBeginAllowThreads();
20295 {
20296 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20297 result = (wxDateTime *) &_result_ref;
20298 }
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20304 return resultobj;
20305 fail:
20306 return NULL;
20307}
20308
20309
20310static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20311 int argc;
20312 PyObject *argv[3];
20313 int ii;
20314
20315 argc = PyObject_Length(args);
20316 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20317 argv[ii] = PyTuple_GetItem(args,ii);
20318 }
20319 if (argc == 2) {
20320 int _v;
20321 {
20322 void *ptr;
20323 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20324 _v = 0;
20325 PyErr_Clear();
20326 } else {
20327 _v = 1;
20328 }
20329 }
20330 if (_v) {
20331 {
20332 void *ptr;
20333 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20334 _v = 0;
20335 PyErr_Clear();
20336 } else {
20337 _v = 1;
20338 }
20339 }
20340 if (_v) {
20341 return _wrap_DateTime___isub____SWIG_0(self,args);
20342 }
20343 }
20344 }
20345 if (argc == 2) {
20346 int _v;
20347 {
20348 void *ptr;
20349 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20350 _v = 0;
20351 PyErr_Clear();
20352 } else {
20353 _v = 1;
20354 }
20355 }
20356 if (_v) {
20357 {
20358 void *ptr;
20359 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20360 _v = 0;
20361 PyErr_Clear();
20362 } else {
20363 _v = 1;
20364 }
20365 }
20366 if (_v) {
20367 return _wrap_DateTime___isub____SWIG_1(self,args);
20368 }
20369 }
20370 }
20371
20372 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20373 return NULL;
20374}
20375
20376
20377static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
20378 PyObject *resultobj;
20379 wxDateTime *arg1 = (wxDateTime *) 0 ;
20380 wxTimeSpan *arg2 = 0 ;
20381 wxDateTime result;
20382 PyObject * obj0 = 0 ;
20383 PyObject * obj1 = 0 ;
20384
20385 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20389 SWIG_POINTER_EXCEPTION | 0)) == -1)
20390 SWIG_fail;
20391 if (arg2 == NULL) {
20392 PyErr_SetString(PyExc_TypeError,"null reference");
20393 SWIG_fail;
20394 }
20395 {
20396 PyThreadState* __tstate = wxPyBeginAllowThreads();
20397 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20398
20399 wxPyEndAllowThreads(__tstate);
20400 if (PyErr_Occurred()) SWIG_fail;
20401 }
20402 {
20403 wxDateTime * resultptr;
20404 resultptr = new wxDateTime((wxDateTime &) result);
20405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20406 }
20407 return resultobj;
20408 fail:
20409 return NULL;
20410}
20411
20412
20413static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
20414 PyObject *resultobj;
20415 wxDateTime *arg1 = (wxDateTime *) 0 ;
20416 wxDateSpan *arg2 = 0 ;
20417 wxDateTime result;
20418 PyObject * obj0 = 0 ;
20419 PyObject * obj1 = 0 ;
20420
20421 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20425 SWIG_POINTER_EXCEPTION | 0)) == -1)
20426 SWIG_fail;
20427 if (arg2 == NULL) {
20428 PyErr_SetString(PyExc_TypeError,"null reference");
20429 SWIG_fail;
20430 }
20431 {
20432 PyThreadState* __tstate = wxPyBeginAllowThreads();
20433 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20434
20435 wxPyEndAllowThreads(__tstate);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 }
20438 {
20439 wxDateTime * resultptr;
20440 resultptr = new wxDateTime((wxDateTime &) result);
20441 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20442 }
20443 return resultobj;
20444 fail:
20445 return NULL;
20446}
20447
20448
20449static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20450 int argc;
20451 PyObject *argv[3];
20452 int ii;
20453
20454 argc = PyObject_Length(args);
20455 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20456 argv[ii] = PyTuple_GetItem(args,ii);
20457 }
20458 if (argc == 2) {
20459 int _v;
20460 {
20461 void *ptr;
20462 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20463 _v = 0;
20464 PyErr_Clear();
20465 } else {
20466 _v = 1;
20467 }
20468 }
20469 if (_v) {
20470 {
20471 void *ptr;
20472 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20473 _v = 0;
20474 PyErr_Clear();
20475 } else {
20476 _v = 1;
20477 }
20478 }
20479 if (_v) {
20480 return _wrap_DateTime___add____SWIG_0(self,args);
20481 }
20482 }
20483 }
20484 if (argc == 2) {
20485 int _v;
20486 {
20487 void *ptr;
20488 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20489 _v = 0;
20490 PyErr_Clear();
20491 } else {
20492 _v = 1;
20493 }
20494 }
20495 if (_v) {
20496 {
20497 void *ptr;
20498 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20499 _v = 0;
20500 PyErr_Clear();
20501 } else {
20502 _v = 1;
20503 }
20504 }
20505 if (_v) {
20506 return _wrap_DateTime___add____SWIG_1(self,args);
20507 }
20508 }
20509 }
20510
20511 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20512 return NULL;
20513}
20514
20515
20516static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20517 PyObject *resultobj;
20518 wxDateTime *arg1 = (wxDateTime *) 0 ;
20519 wxDateTime *arg2 = 0 ;
20520 wxTimeSpan result;
20521 PyObject * obj0 = 0 ;
20522 PyObject * obj1 = 0 ;
20523
20524 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20528 SWIG_POINTER_EXCEPTION | 0)) == -1)
20529 SWIG_fail;
20530 if (arg2 == NULL) {
20531 PyErr_SetString(PyExc_TypeError,"null reference");
20532 SWIG_fail;
20533 }
20534 {
20535 PyThreadState* __tstate = wxPyBeginAllowThreads();
20536 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20537
20538 wxPyEndAllowThreads(__tstate);
20539 if (PyErr_Occurred()) SWIG_fail;
20540 }
20541 {
20542 wxTimeSpan * resultptr;
20543 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20545 }
20546 return resultobj;
20547 fail:
20548 return NULL;
20549}
20550
20551
20552static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20553 PyObject *resultobj;
20554 wxDateTime *arg1 = (wxDateTime *) 0 ;
20555 wxTimeSpan *arg2 = 0 ;
20556 wxDateTime result;
20557 PyObject * obj0 = 0 ;
20558 PyObject * obj1 = 0 ;
20559
20560 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20564 SWIG_POINTER_EXCEPTION | 0)) == -1)
20565 SWIG_fail;
20566 if (arg2 == NULL) {
20567 PyErr_SetString(PyExc_TypeError,"null reference");
20568 SWIG_fail;
20569 }
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
20572 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 {
20578 wxDateTime * resultptr;
20579 resultptr = new wxDateTime((wxDateTime &) result);
20580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20581 }
20582 return resultobj;
20583 fail:
20584 return NULL;
20585}
20586
20587
20588static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20589 PyObject *resultobj;
20590 wxDateTime *arg1 = (wxDateTime *) 0 ;
20591 wxDateSpan *arg2 = 0 ;
20592 wxDateTime result;
20593 PyObject * obj0 = 0 ;
20594 PyObject * obj1 = 0 ;
20595
20596 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20600 SWIG_POINTER_EXCEPTION | 0)) == -1)
20601 SWIG_fail;
20602 if (arg2 == NULL) {
20603 PyErr_SetString(PyExc_TypeError,"null reference");
20604 SWIG_fail;
20605 }
20606 {
20607 PyThreadState* __tstate = wxPyBeginAllowThreads();
20608 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20609
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
20613 {
20614 wxDateTime * resultptr;
20615 resultptr = new wxDateTime((wxDateTime &) result);
20616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20617 }
20618 return resultobj;
20619 fail:
20620 return NULL;
20621}
20622
20623
20624static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20625 int argc;
20626 PyObject *argv[3];
20627 int ii;
20628
20629 argc = PyObject_Length(args);
20630 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20631 argv[ii] = PyTuple_GetItem(args,ii);
20632 }
20633 if (argc == 2) {
20634 int _v;
20635 {
20636 void *ptr;
20637 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20638 _v = 0;
20639 PyErr_Clear();
20640 } else {
20641 _v = 1;
20642 }
20643 }
20644 if (_v) {
20645 {
20646 void *ptr;
20647 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20648 _v = 0;
20649 PyErr_Clear();
20650 } else {
20651 _v = 1;
20652 }
20653 }
20654 if (_v) {
20655 return _wrap_DateTime___sub____SWIG_0(self,args);
20656 }
20657 }
20658 }
20659 if (argc == 2) {
20660 int _v;
20661 {
20662 void *ptr;
20663 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20664 _v = 0;
20665 PyErr_Clear();
20666 } else {
20667 _v = 1;
20668 }
20669 }
20670 if (_v) {
20671 {
20672 void *ptr;
20673 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20674 _v = 0;
20675 PyErr_Clear();
20676 } else {
20677 _v = 1;
20678 }
20679 }
20680 if (_v) {
20681 return _wrap_DateTime___sub____SWIG_1(self,args);
20682 }
20683 }
20684 }
20685 if (argc == 2) {
20686 int _v;
20687 {
20688 void *ptr;
20689 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20690 _v = 0;
20691 PyErr_Clear();
20692 } else {
20693 _v = 1;
20694 }
20695 }
20696 if (_v) {
20697 {
20698 void *ptr;
20699 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20700 _v = 0;
20701 PyErr_Clear();
20702 } else {
20703 _v = 1;
20704 }
20705 }
20706 if (_v) {
20707 return _wrap_DateTime___sub____SWIG_2(self,args);
20708 }
20709 }
20710 }
20711
20712 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20713 return NULL;
20714}
20715
20716
20717static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20718 PyObject *resultobj;
20719 wxDateTime *arg1 = (wxDateTime *) 0 ;
20720 wxDateTime *arg2 = (wxDateTime *) 0 ;
20721 bool result;
20722 PyObject * obj0 = 0 ;
20723 PyObject * obj1 = 0 ;
20724
20725 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20730 {
20731 PyThreadState* __tstate = wxPyBeginAllowThreads();
20732 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
20733
20734 wxPyEndAllowThreads(__tstate);
20735 if (PyErr_Occurred()) SWIG_fail;
20736 }
20737 {
20738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20739 }
20740 return resultobj;
20741 fail:
20742 return NULL;
20743}
20744
20745
20746static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20747 PyObject *resultobj;
20748 wxDateTime *arg1 = (wxDateTime *) 0 ;
20749 wxDateTime *arg2 = (wxDateTime *) 0 ;
20750 bool result;
20751 PyObject * obj0 = 0 ;
20752 PyObject * obj1 = 0 ;
20753
20754 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20759 {
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
20761 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 {
20767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20768 }
20769 return resultobj;
20770 fail:
20771 return NULL;
20772}
20773
20774
20775static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20776 PyObject *resultobj;
20777 wxDateTime *arg1 = (wxDateTime *) 0 ;
20778 wxDateTime *arg2 = (wxDateTime *) 0 ;
20779 bool result;
20780 PyObject * obj0 = 0 ;
20781 PyObject * obj1 = 0 ;
20782
20783 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20788 {
20789 PyThreadState* __tstate = wxPyBeginAllowThreads();
20790 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
20791
20792 wxPyEndAllowThreads(__tstate);
20793 if (PyErr_Occurred()) SWIG_fail;
20794 }
20795 {
20796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20797 }
20798 return resultobj;
20799 fail:
20800 return NULL;
20801}
20802
20803
20804static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20805 PyObject *resultobj;
20806 wxDateTime *arg1 = (wxDateTime *) 0 ;
20807 wxDateTime *arg2 = (wxDateTime *) 0 ;
20808 bool result;
20809 PyObject * obj0 = 0 ;
20810 PyObject * obj1 = 0 ;
20811
20812 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20817 {
20818 PyThreadState* __tstate = wxPyBeginAllowThreads();
20819 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
20820
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 {
20825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20826 }
20827 return resultobj;
20828 fail:
20829 return NULL;
20830}
20831
20832
20833static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20834 PyObject *resultobj;
20835 wxDateTime *arg1 = (wxDateTime *) 0 ;
20836 wxDateTime *arg2 = (wxDateTime *) 0 ;
20837 bool result;
20838 PyObject * obj0 = 0 ;
20839 PyObject * obj1 = 0 ;
20840
20841 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20846 {
20847 PyThreadState* __tstate = wxPyBeginAllowThreads();
20848 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
20849
20850 wxPyEndAllowThreads(__tstate);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 }
20853 {
20854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20855 }
20856 return resultobj;
20857 fail:
20858 return NULL;
20859}
20860
20861
20862static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20863 PyObject *resultobj;
20864 wxDateTime *arg1 = (wxDateTime *) 0 ;
20865 wxDateTime *arg2 = (wxDateTime *) 0 ;
20866 bool result;
20867 PyObject * obj0 = 0 ;
20868 PyObject * obj1 = 0 ;
20869
20870 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 {
20883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20884 }
20885 return resultobj;
20886 fail:
20887 return NULL;
20888}
20889
20890
20891static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20892 PyObject *resultobj;
20893 wxDateTime *arg1 = (wxDateTime *) 0 ;
20894 wxString *arg2 = 0 ;
20895 int result;
20896 bool temp2 = False ;
20897 PyObject * obj0 = 0 ;
20898 PyObject * obj1 = 0 ;
20899 char *kwnames[] = {
20900 (char *) "self",(char *) "date", NULL
20901 };
20902
20903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20906 {
20907 arg2 = wxString_in_helper(obj1);
20908 if (arg2 == NULL) SWIG_fail;
20909 temp2 = True;
20910 }
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 resultobj = SWIG_FromInt((int)result);
20919 {
20920 if (temp2)
20921 delete arg2;
20922 }
20923 return resultobj;
20924 fail:
20925 {
20926 if (temp2)
20927 delete arg2;
20928 }
20929 return NULL;
20930}
20931
20932
20933static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20934 PyObject *resultobj;
20935 wxDateTime *arg1 = (wxDateTime *) 0 ;
20936 wxString *arg2 = 0 ;
20937 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20938 wxString *arg3 = (wxString *) &arg3_defvalue ;
20939 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20940 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20941 int result;
20942 bool temp2 = False ;
20943 bool temp3 = False ;
20944 PyObject * obj0 = 0 ;
20945 PyObject * obj1 = 0 ;
20946 PyObject * obj2 = 0 ;
20947 PyObject * obj3 = 0 ;
20948 char *kwnames[] = {
20949 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20950 };
20951
20952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20955 {
20956 arg2 = wxString_in_helper(obj1);
20957 if (arg2 == NULL) SWIG_fail;
20958 temp2 = True;
20959 }
20960 if (obj2) {
20961 {
20962 arg3 = wxString_in_helper(obj2);
20963 if (arg3 == NULL) SWIG_fail;
20964 temp3 = True;
20965 }
20966 }
20967 if (obj3) {
20968 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20969 SWIG_POINTER_EXCEPTION | 0)) == -1)
20970 SWIG_fail;
20971 if (arg4 == NULL) {
20972 PyErr_SetString(PyExc_TypeError,"null reference");
20973 SWIG_fail;
20974 }
20975 }
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20979
20980 wxPyEndAllowThreads(__tstate);
20981 if (PyErr_Occurred()) SWIG_fail;
20982 }
20983 resultobj = SWIG_FromInt((int)result);
20984 {
20985 if (temp2)
20986 delete arg2;
20987 }
20988 {
20989 if (temp3)
20990 delete arg3;
20991 }
20992 return resultobj;
20993 fail:
20994 {
20995 if (temp2)
20996 delete arg2;
20997 }
20998 {
20999 if (temp3)
21000 delete arg3;
21001 }
21002 return NULL;
21003}
21004
21005
21006static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21007 PyObject *resultobj;
21008 wxDateTime *arg1 = (wxDateTime *) 0 ;
21009 wxString *arg2 = 0 ;
21010 int result;
21011 bool temp2 = False ;
21012 PyObject * obj0 = 0 ;
21013 PyObject * obj1 = 0 ;
21014 char *kwnames[] = {
21015 (char *) "self",(char *) "datetime", NULL
21016 };
21017
21018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
21019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21021 {
21022 arg2 = wxString_in_helper(obj1);
21023 if (arg2 == NULL) SWIG_fail;
21024 temp2 = True;
21025 }
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 resultobj = SWIG_FromInt((int)result);
21034 {
21035 if (temp2)
21036 delete arg2;
21037 }
21038 return resultobj;
21039 fail:
21040 {
21041 if (temp2)
21042 delete arg2;
21043 }
21044 return NULL;
21045}
21046
21047
21048static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj;
21050 wxDateTime *arg1 = (wxDateTime *) 0 ;
21051 wxString *arg2 = 0 ;
21052 int result;
21053 bool temp2 = False ;
21054 PyObject * obj0 = 0 ;
21055 PyObject * obj1 = 0 ;
21056 char *kwnames[] = {
21057 (char *) "self",(char *) "date", NULL
21058 };
21059
21060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
21061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21063 {
21064 arg2 = wxString_in_helper(obj1);
21065 if (arg2 == NULL) SWIG_fail;
21066 temp2 = True;
21067 }
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 resultobj = SWIG_FromInt((int)result);
21076 {
21077 if (temp2)
21078 delete arg2;
21079 }
21080 return resultobj;
21081 fail:
21082 {
21083 if (temp2)
21084 delete arg2;
21085 }
21086 return NULL;
21087}
21088
21089
21090static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21091 PyObject *resultobj;
21092 wxDateTime *arg1 = (wxDateTime *) 0 ;
21093 wxString *arg2 = 0 ;
21094 int result;
21095 bool temp2 = False ;
21096 PyObject * obj0 = 0 ;
21097 PyObject * obj1 = 0 ;
21098 char *kwnames[] = {
21099 (char *) "self",(char *) "time", NULL
21100 };
21101
21102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
21103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21105 {
21106 arg2 = wxString_in_helper(obj1);
21107 if (arg2 == NULL) SWIG_fail;
21108 temp2 = True;
21109 }
21110 {
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
21113
21114 wxPyEndAllowThreads(__tstate);
21115 if (PyErr_Occurred()) SWIG_fail;
21116 }
21117 resultobj = SWIG_FromInt((int)result);
21118 {
21119 if (temp2)
21120 delete arg2;
21121 }
21122 return resultobj;
21123 fail:
21124 {
21125 if (temp2)
21126 delete arg2;
21127 }
21128 return NULL;
21129}
21130
21131
21132static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
21133 PyObject *resultobj;
21134 wxDateTime *arg1 = (wxDateTime *) 0 ;
21135 wxString const &arg2_defvalue = wxPyDateFormatStr ;
21136 wxString *arg2 = (wxString *) &arg2_defvalue ;
21137 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21138 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21139 wxString result;
21140 bool temp2 = False ;
21141 bool temp3 = False ;
21142 PyObject * obj0 = 0 ;
21143 PyObject * obj1 = 0 ;
21144 PyObject * obj2 = 0 ;
21145 char *kwnames[] = {
21146 (char *) "self",(char *) "format",(char *) "tz", NULL
21147 };
21148
21149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21152 if (obj1) {
21153 {
21154 arg2 = wxString_in_helper(obj1);
21155 if (arg2 == NULL) SWIG_fail;
21156 temp2 = True;
21157 }
21158 }
21159 if (obj2) {
21160 {
21161 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21162 temp3 = True;
21163 }
21164 }
21165 {
21166 PyThreadState* __tstate = wxPyBeginAllowThreads();
21167 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21168
21169 wxPyEndAllowThreads(__tstate);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 {
21173#if wxUSE_UNICODE
21174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21175#else
21176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21177#endif
21178 }
21179 {
21180 if (temp2)
21181 delete arg2;
21182 }
21183 {
21184 if (temp3) delete arg3;
21185 }
21186 return resultobj;
21187 fail:
21188 {
21189 if (temp2)
21190 delete arg2;
21191 }
21192 {
21193 if (temp3) delete arg3;
21194 }
21195 return NULL;
21196}
21197
21198
21199static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21200 PyObject *resultobj;
21201 wxDateTime *arg1 = (wxDateTime *) 0 ;
21202 wxString result;
21203 PyObject * obj0 = 0 ;
21204 char *kwnames[] = {
21205 (char *) "self", NULL
21206 };
21207
21208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21211 {
21212 PyThreadState* __tstate = wxPyBeginAllowThreads();
21213 result = ((wxDateTime const *)arg1)->FormatDate();
21214
21215 wxPyEndAllowThreads(__tstate);
21216 if (PyErr_Occurred()) SWIG_fail;
21217 }
21218 {
21219#if wxUSE_UNICODE
21220 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21221#else
21222 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21223#endif
21224 }
21225 return resultobj;
21226 fail:
21227 return NULL;
21228}
21229
21230
21231static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21232 PyObject *resultobj;
21233 wxDateTime *arg1 = (wxDateTime *) 0 ;
21234 wxString result;
21235 PyObject * obj0 = 0 ;
21236 char *kwnames[] = {
21237 (char *) "self", NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21243 {
21244 PyThreadState* __tstate = wxPyBeginAllowThreads();
21245 result = ((wxDateTime const *)arg1)->FormatTime();
21246
21247 wxPyEndAllowThreads(__tstate);
21248 if (PyErr_Occurred()) SWIG_fail;
21249 }
21250 {
21251#if wxUSE_UNICODE
21252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21253#else
21254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21255#endif
21256 }
21257 return resultobj;
21258 fail:
21259 return NULL;
21260}
21261
21262
21263static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
21264 PyObject *resultobj;
21265 wxDateTime *arg1 = (wxDateTime *) 0 ;
21266 wxString result;
21267 PyObject * obj0 = 0 ;
21268 char *kwnames[] = {
21269 (char *) "self", NULL
21270 };
21271
21272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21275 {
21276 PyThreadState* __tstate = wxPyBeginAllowThreads();
21277 result = ((wxDateTime const *)arg1)->FormatISODate();
21278
21279 wxPyEndAllowThreads(__tstate);
21280 if (PyErr_Occurred()) SWIG_fail;
21281 }
21282 {
21283#if wxUSE_UNICODE
21284 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21285#else
21286 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21287#endif
21288 }
21289 return resultobj;
21290 fail:
21291 return NULL;
21292}
21293
21294
21295static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21296 PyObject *resultobj;
21297 wxDateTime *arg1 = (wxDateTime *) 0 ;
21298 wxString result;
21299 PyObject * obj0 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "self", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21307 {
21308 PyThreadState* __tstate = wxPyBeginAllowThreads();
21309 result = ((wxDateTime const *)arg1)->FormatISOTime();
21310
21311 wxPyEndAllowThreads(__tstate);
21312 if (PyErr_Occurred()) SWIG_fail;
21313 }
21314 {
21315#if wxUSE_UNICODE
21316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21317#else
21318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21319#endif
21320 }
21321 return resultobj;
21322 fail:
21323 return NULL;
21324}
21325
21326
21327static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
21328 PyObject *obj;
21329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21330 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21331 Py_INCREF(obj);
21332 return Py_BuildValue((char *)"");
21333}
21334static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21335 PyObject *resultobj;
21336 long arg1 ;
21337 wxTimeSpan result;
21338 PyObject * obj0 = 0 ;
21339 char *kwnames[] = {
21340 (char *) "sec", NULL
21341 };
21342
21343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21344 arg1 = (long) SWIG_AsLong(obj0);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 {
21347 PyThreadState* __tstate = wxPyBeginAllowThreads();
21348 result = wxTimeSpan::Seconds(arg1);
21349
21350 wxPyEndAllowThreads(__tstate);
21351 if (PyErr_Occurred()) SWIG_fail;
21352 }
21353 {
21354 wxTimeSpan * resultptr;
21355 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21356 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21357 }
21358 return resultobj;
21359 fail:
21360 return NULL;
21361}
21362
21363
21364static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
21365 PyObject *resultobj;
21366 wxTimeSpan result;
21367 char *kwnames[] = {
21368 NULL
21369 };
21370
21371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21372 {
21373 PyThreadState* __tstate = wxPyBeginAllowThreads();
21374 result = wxTimeSpan::Second();
21375
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
21379 {
21380 wxTimeSpan * resultptr;
21381 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21382 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21383 }
21384 return resultobj;
21385 fail:
21386 return NULL;
21387}
21388
21389
21390static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
21391 PyObject *resultobj;
21392 long arg1 ;
21393 wxTimeSpan result;
21394 PyObject * obj0 = 0 ;
21395 char *kwnames[] = {
21396 (char *) "min", NULL
21397 };
21398
21399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21400 arg1 = (long) SWIG_AsLong(obj0);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 result = wxTimeSpan::Minutes(arg1);
21405
21406 wxPyEndAllowThreads(__tstate);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 }
21409 {
21410 wxTimeSpan * resultptr;
21411 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21413 }
21414 return resultobj;
21415 fail:
21416 return NULL;
21417}
21418
21419
21420static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
21421 PyObject *resultobj;
21422 wxTimeSpan result;
21423 char *kwnames[] = {
21424 NULL
21425 };
21426
21427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21428 {
21429 PyThreadState* __tstate = wxPyBeginAllowThreads();
21430 result = wxTimeSpan::Minute();
21431
21432 wxPyEndAllowThreads(__tstate);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 }
21435 {
21436 wxTimeSpan * resultptr;
21437 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21438 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21439 }
21440 return resultobj;
21441 fail:
21442 return NULL;
21443}
21444
21445
21446static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
21447 PyObject *resultobj;
21448 long arg1 ;
21449 wxTimeSpan result;
21450 PyObject * obj0 = 0 ;
21451 char *kwnames[] = {
21452 (char *) "hours", NULL
21453 };
21454
21455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21456 arg1 = (long) SWIG_AsLong(obj0);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 {
21459 PyThreadState* __tstate = wxPyBeginAllowThreads();
21460 result = wxTimeSpan::Hours(arg1);
21461
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
21465 {
21466 wxTimeSpan * resultptr;
21467 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21469 }
21470 return resultobj;
21471 fail:
21472 return NULL;
21473}
21474
21475
21476static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
21477 PyObject *resultobj;
21478 wxTimeSpan result;
21479 char *kwnames[] = {
21480 NULL
21481 };
21482
21483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21484 {
21485 PyThreadState* __tstate = wxPyBeginAllowThreads();
21486 result = wxTimeSpan::Hour();
21487
21488 wxPyEndAllowThreads(__tstate);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 }
21491 {
21492 wxTimeSpan * resultptr;
21493 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21494 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21495 }
21496 return resultobj;
21497 fail:
21498 return NULL;
21499}
21500
21501
21502static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21503 PyObject *resultobj;
21504 long arg1 ;
21505 wxTimeSpan result;
21506 PyObject * obj0 = 0 ;
21507 char *kwnames[] = {
21508 (char *) "days", NULL
21509 };
21510
21511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21512 arg1 = (long) SWIG_AsLong(obj0);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 {
21515 PyThreadState* __tstate = wxPyBeginAllowThreads();
21516 result = wxTimeSpan::Days(arg1);
21517
21518 wxPyEndAllowThreads(__tstate);
21519 if (PyErr_Occurred()) SWIG_fail;
21520 }
21521 {
21522 wxTimeSpan * resultptr;
21523 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21525 }
21526 return resultobj;
21527 fail:
21528 return NULL;
21529}
21530
21531
21532static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21533 PyObject *resultobj;
21534 wxTimeSpan result;
21535 char *kwnames[] = {
21536 NULL
21537 };
21538
21539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21540 {
21541 PyThreadState* __tstate = wxPyBeginAllowThreads();
21542 result = wxTimeSpan::Day();
21543
21544 wxPyEndAllowThreads(__tstate);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 }
21547 {
21548 wxTimeSpan * resultptr;
21549 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21550 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21551 }
21552 return resultobj;
21553 fail:
21554 return NULL;
21555}
21556
21557
21558static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21559 PyObject *resultobj;
21560 long arg1 ;
21561 wxTimeSpan result;
21562 PyObject * obj0 = 0 ;
21563 char *kwnames[] = {
21564 (char *) "days", NULL
21565 };
21566
21567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21568 arg1 = (long) SWIG_AsLong(obj0);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 result = wxTimeSpan::Weeks(arg1);
21573
21574 wxPyEndAllowThreads(__tstate);
21575 if (PyErr_Occurred()) SWIG_fail;
21576 }
21577 {
21578 wxTimeSpan * resultptr;
21579 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21581 }
21582 return resultobj;
21583 fail:
21584 return NULL;
21585}
21586
21587
21588static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21589 PyObject *resultobj;
21590 wxTimeSpan result;
21591 char *kwnames[] = {
21592 NULL
21593 };
21594
21595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21596 {
21597 PyThreadState* __tstate = wxPyBeginAllowThreads();
21598 result = wxTimeSpan::Week();
21599
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 {
21604 wxTimeSpan * resultptr;
21605 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21607 }
21608 return resultobj;
21609 fail:
21610 return NULL;
21611}
21612
21613
21614static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21615 PyObject *resultobj;
21616 long arg1 = (long) 0 ;
21617 long arg2 = (long) 0 ;
21618 long arg3 = (long) 0 ;
21619 long arg4 = (long) 0 ;
21620 wxTimeSpan *result;
21621 PyObject * obj0 = 0 ;
21622 PyObject * obj1 = 0 ;
21623 PyObject * obj2 = 0 ;
21624 PyObject * obj3 = 0 ;
21625 char *kwnames[] = {
21626 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21627 };
21628
21629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21630 if (obj0) {
21631 arg1 = (long) SWIG_AsLong(obj0);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 if (obj1) {
21635 arg2 = (long) SWIG_AsLong(obj1);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 }
21638 if (obj2) {
21639 arg3 = (long) SWIG_AsLong(obj2);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 }
21642 if (obj3) {
21643 arg4 = (long) SWIG_AsLong(obj3);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 {
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21649
21650 wxPyEndAllowThreads(__tstate);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 }
21653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21654 return resultobj;
21655 fail:
21656 return NULL;
21657}
21658
21659
21660static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21661 PyObject *resultobj;
21662 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21663 PyObject * obj0 = 0 ;
21664 char *kwnames[] = {
21665 (char *) "self", NULL
21666 };
21667
21668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21671 {
21672 PyThreadState* __tstate = wxPyBeginAllowThreads();
21673 delete arg1;
21674
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 Py_INCREF(Py_None); resultobj = Py_None;
21679 return resultobj;
21680 fail:
21681 return NULL;
21682}
21683
21684
21685static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21686 PyObject *resultobj;
21687 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21688 wxTimeSpan *arg2 = 0 ;
21689 wxTimeSpan *result;
21690 PyObject * obj0 = 0 ;
21691 PyObject * obj1 = 0 ;
21692 char *kwnames[] = {
21693 (char *) "self",(char *) "diff", NULL
21694 };
21695
21696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21700 SWIG_POINTER_EXCEPTION | 0)) == -1)
21701 SWIG_fail;
21702 if (arg2 == NULL) {
21703 PyErr_SetString(PyExc_TypeError,"null reference");
21704 SWIG_fail;
21705 }
21706 {
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 {
21709 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21710 result = (wxTimeSpan *) &_result_ref;
21711 }
21712
21713 wxPyEndAllowThreads(__tstate);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21717 return resultobj;
21718 fail:
21719 return NULL;
21720}
21721
21722
21723static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21724 PyObject *resultobj;
21725 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21726 wxTimeSpan *arg2 = 0 ;
21727 wxTimeSpan *result;
21728 PyObject * obj0 = 0 ;
21729 PyObject * obj1 = 0 ;
21730 char *kwnames[] = {
21731 (char *) "self",(char *) "diff", NULL
21732 };
21733
21734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21738 SWIG_POINTER_EXCEPTION | 0)) == -1)
21739 SWIG_fail;
21740 if (arg2 == NULL) {
21741 PyErr_SetString(PyExc_TypeError,"null reference");
21742 SWIG_fail;
21743 }
21744 {
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 {
21747 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21748 result = (wxTimeSpan *) &_result_ref;
21749 }
21750
21751 wxPyEndAllowThreads(__tstate);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 }
21754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21755 return resultobj;
21756 fail:
21757 return NULL;
21758}
21759
21760
21761static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21762 PyObject *resultobj;
21763 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21764 int arg2 ;
21765 wxTimeSpan *result;
21766 PyObject * obj0 = 0 ;
21767 PyObject * obj1 = 0 ;
21768 char *kwnames[] = {
21769 (char *) "self",(char *) "n", NULL
21770 };
21771
21772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21775 arg2 = (int) SWIG_AsInt(obj1);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 {
21778 PyThreadState* __tstate = wxPyBeginAllowThreads();
21779 {
21780 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21781 result = (wxTimeSpan *) &_result_ref;
21782 }
21783
21784 wxPyEndAllowThreads(__tstate);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21788 return resultobj;
21789 fail:
21790 return NULL;
21791}
21792
21793
21794static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21795 PyObject *resultobj;
21796 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21797 wxTimeSpan *result;
21798 PyObject * obj0 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "self", NULL
21801 };
21802
21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21806 {
21807 PyThreadState* __tstate = wxPyBeginAllowThreads();
21808 {
21809 wxTimeSpan &_result_ref = (arg1)->Neg();
21810 result = (wxTimeSpan *) &_result_ref;
21811 }
21812
21813 wxPyEndAllowThreads(__tstate);
21814 if (PyErr_Occurred()) SWIG_fail;
21815 }
21816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21817 return resultobj;
21818 fail:
21819 return NULL;
21820}
21821
21822
21823static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21824 PyObject *resultobj;
21825 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21826 wxTimeSpan result;
21827 PyObject * obj0 = 0 ;
21828 char *kwnames[] = {
21829 (char *) "self", NULL
21830 };
21831
21832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21835 {
21836 PyThreadState* __tstate = wxPyBeginAllowThreads();
21837 result = ((wxTimeSpan const *)arg1)->Abs();
21838
21839 wxPyEndAllowThreads(__tstate);
21840 if (PyErr_Occurred()) SWIG_fail;
21841 }
21842 {
21843 wxTimeSpan * resultptr;
21844 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21845 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21846 }
21847 return resultobj;
21848 fail:
21849 return NULL;
21850}
21851
21852
21853static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21854 PyObject *resultobj;
21855 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21856 wxTimeSpan *arg2 = 0 ;
21857 wxTimeSpan *result;
21858 PyObject * obj0 = 0 ;
21859 PyObject * obj1 = 0 ;
21860 char *kwnames[] = {
21861 (char *) "self",(char *) "diff", NULL
21862 };
21863
21864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21868 SWIG_POINTER_EXCEPTION | 0)) == -1)
21869 SWIG_fail;
21870 if (arg2 == NULL) {
21871 PyErr_SetString(PyExc_TypeError,"null reference");
21872 SWIG_fail;
21873 }
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 {
21877 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21878 result = (wxTimeSpan *) &_result_ref;
21879 }
21880
21881 wxPyEndAllowThreads(__tstate);
21882 if (PyErr_Occurred()) SWIG_fail;
21883 }
21884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21885 return resultobj;
21886 fail:
21887 return NULL;
21888}
21889
21890
21891static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21892 PyObject *resultobj;
21893 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21894 wxTimeSpan *arg2 = 0 ;
21895 wxTimeSpan *result;
21896 PyObject * obj0 = 0 ;
21897 PyObject * obj1 = 0 ;
21898 char *kwnames[] = {
21899 (char *) "self",(char *) "diff", NULL
21900 };
21901
21902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21906 SWIG_POINTER_EXCEPTION | 0)) == -1)
21907 SWIG_fail;
21908 if (arg2 == NULL) {
21909 PyErr_SetString(PyExc_TypeError,"null reference");
21910 SWIG_fail;
21911 }
21912 {
21913 PyThreadState* __tstate = wxPyBeginAllowThreads();
21914 {
21915 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21916 result = (wxTimeSpan *) &_result_ref;
21917 }
21918
21919 wxPyEndAllowThreads(__tstate);
21920 if (PyErr_Occurred()) SWIG_fail;
21921 }
21922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21923 return resultobj;
21924 fail:
21925 return NULL;
21926}
21927
21928
21929static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21930 PyObject *resultobj;
21931 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21932 int arg2 ;
21933 wxTimeSpan *result;
21934 PyObject * obj0 = 0 ;
21935 PyObject * obj1 = 0 ;
21936 char *kwnames[] = {
21937 (char *) "self",(char *) "n", NULL
21938 };
21939
21940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21943 arg2 = (int) SWIG_AsInt(obj1);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 {
21946 PyThreadState* __tstate = wxPyBeginAllowThreads();
21947 {
21948 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21949 result = (wxTimeSpan *) &_result_ref;
21950 }
21951
21952 wxPyEndAllowThreads(__tstate);
21953 if (PyErr_Occurred()) SWIG_fail;
21954 }
21955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21956 return resultobj;
21957 fail:
21958 return NULL;
21959}
21960
21961
21962static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21963 PyObject *resultobj;
21964 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21965 wxTimeSpan *result;
21966 PyObject * obj0 = 0 ;
21967 char *kwnames[] = {
21968 (char *) "self", NULL
21969 };
21970
21971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21974 {
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 {
21977 wxTimeSpan &_result_ref = (arg1)->operator -();
21978 result = (wxTimeSpan *) &_result_ref;
21979 }
21980
21981 wxPyEndAllowThreads(__tstate);
21982 if (PyErr_Occurred()) SWIG_fail;
21983 }
21984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21985 return resultobj;
21986 fail:
21987 return NULL;
21988}
21989
21990
21991static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21992 PyObject *resultobj;
21993 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21994 wxTimeSpan *arg2 = 0 ;
21995 wxTimeSpan result;
21996 PyObject * obj0 = 0 ;
21997 PyObject * obj1 = 0 ;
21998 char *kwnames[] = {
21999 (char *) "self",(char *) "other", NULL
22000 };
22001
22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
22003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22006 SWIG_POINTER_EXCEPTION | 0)) == -1)
22007 SWIG_fail;
22008 if (arg2 == NULL) {
22009 PyErr_SetString(PyExc_TypeError,"null reference");
22010 SWIG_fail;
22011 }
22012 {
22013 PyThreadState* __tstate = wxPyBeginAllowThreads();
22014 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
22015
22016 wxPyEndAllowThreads(__tstate);
22017 if (PyErr_Occurred()) SWIG_fail;
22018 }
22019 {
22020 wxTimeSpan * resultptr;
22021 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22022 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22023 }
22024 return resultobj;
22025 fail:
22026 return NULL;
22027}
22028
22029
22030static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
22031 PyObject *resultobj;
22032 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22033 wxTimeSpan *arg2 = 0 ;
22034 wxTimeSpan result;
22035 PyObject * obj0 = 0 ;
22036 PyObject * obj1 = 0 ;
22037 char *kwnames[] = {
22038 (char *) "self",(char *) "other", NULL
22039 };
22040
22041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
22042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22045 SWIG_POINTER_EXCEPTION | 0)) == -1)
22046 SWIG_fail;
22047 if (arg2 == NULL) {
22048 PyErr_SetString(PyExc_TypeError,"null reference");
22049 SWIG_fail;
22050 }
22051 {
22052 PyThreadState* __tstate = wxPyBeginAllowThreads();
22053 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
22054
22055 wxPyEndAllowThreads(__tstate);
22056 if (PyErr_Occurred()) SWIG_fail;
22057 }
22058 {
22059 wxTimeSpan * resultptr;
22060 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22061 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22062 }
22063 return resultobj;
22064 fail:
22065 return NULL;
22066}
22067
22068
22069static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22070 PyObject *resultobj;
22071 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22072 int arg2 ;
22073 wxTimeSpan result;
22074 PyObject * obj0 = 0 ;
22075 PyObject * obj1 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "self",(char *) "n", NULL
22078 };
22079
22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
22081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22083 arg2 = (int) SWIG_AsInt(obj1);
22084 if (PyErr_Occurred()) SWIG_fail;
22085 {
22086 PyThreadState* __tstate = wxPyBeginAllowThreads();
22087 result = wxTimeSpan___mul__(arg1,arg2);
22088
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 {
22093 wxTimeSpan * resultptr;
22094 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22096 }
22097 return resultobj;
22098 fail:
22099 return NULL;
22100}
22101
22102
22103static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22104 PyObject *resultobj;
22105 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22106 int arg2 ;
22107 wxTimeSpan result;
22108 PyObject * obj0 = 0 ;
22109 PyObject * obj1 = 0 ;
22110 char *kwnames[] = {
22111 (char *) "self",(char *) "n", NULL
22112 };
22113
22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
22115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22117 arg2 = (int) SWIG_AsInt(obj1);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 {
22120 PyThreadState* __tstate = wxPyBeginAllowThreads();
22121 result = wxTimeSpan___rmul__(arg1,arg2);
22122
22123 wxPyEndAllowThreads(__tstate);
22124 if (PyErr_Occurred()) SWIG_fail;
22125 }
22126 {
22127 wxTimeSpan * resultptr;
22128 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22129 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22130 }
22131 return resultobj;
22132 fail:
22133 return NULL;
22134}
22135
22136
22137static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22138 PyObject *resultobj;
22139 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22140 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22141 bool result;
22142 PyObject * obj0 = 0 ;
22143 PyObject * obj1 = 0 ;
22144 char *kwnames[] = {
22145 (char *) "self",(char *) "other", NULL
22146 };
22147
22148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
22149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22151 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22153 {
22154 PyThreadState* __tstate = wxPyBeginAllowThreads();
22155 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22156
22157 wxPyEndAllowThreads(__tstate);
22158 if (PyErr_Occurred()) SWIG_fail;
22159 }
22160 {
22161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22162 }
22163 return resultobj;
22164 fail:
22165 return NULL;
22166}
22167
22168
22169static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
22170 PyObject *resultobj;
22171 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22172 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22173 bool result;
22174 PyObject * obj0 = 0 ;
22175 PyObject * obj1 = 0 ;
22176 char *kwnames[] = {
22177 (char *) "self",(char *) "other", NULL
22178 };
22179
22180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22183 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22185 {
22186 PyThreadState* __tstate = wxPyBeginAllowThreads();
22187 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22188
22189 wxPyEndAllowThreads(__tstate);
22190 if (PyErr_Occurred()) SWIG_fail;
22191 }
22192 {
22193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22194 }
22195 return resultobj;
22196 fail:
22197 return NULL;
22198}
22199
22200
22201static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22204 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22205 bool result;
22206 PyObject * obj0 = 0 ;
22207 PyObject * obj1 = 0 ;
22208 char *kwnames[] = {
22209 (char *) "self",(char *) "other", NULL
22210 };
22211
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22220
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
22224 {
22225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22226 }
22227 return resultobj;
22228 fail:
22229 return NULL;
22230}
22231
22232
22233static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj;
22235 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22236 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22237 bool result;
22238 PyObject * obj0 = 0 ;
22239 PyObject * obj1 = 0 ;
22240 char *kwnames[] = {
22241 (char *) "self",(char *) "other", NULL
22242 };
22243
22244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22252
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 {
22257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22258 }
22259 return resultobj;
22260 fail:
22261 return NULL;
22262}
22263
22264
22265static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22266 PyObject *resultobj;
22267 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22268 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22269 bool result;
22270 PyObject * obj0 = 0 ;
22271 PyObject * obj1 = 0 ;
22272 char *kwnames[] = {
22273 (char *) "self",(char *) "other", NULL
22274 };
22275
22276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22279 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22281 {
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22284
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 {
22289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22290 }
22291 return resultobj;
22292 fail:
22293 return NULL;
22294}
22295
22296
22297static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22298 PyObject *resultobj;
22299 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22300 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22301 bool result;
22302 PyObject * obj0 = 0 ;
22303 PyObject * obj1 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self",(char *) "other", NULL
22306 };
22307
22308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22316
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 {
22321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22322 }
22323 return resultobj;
22324 fail:
22325 return NULL;
22326}
22327
22328
22329static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
22330 PyObject *resultobj;
22331 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22332 bool result;
22333 PyObject * obj0 = 0 ;
22334 char *kwnames[] = {
22335 (char *) "self", NULL
22336 };
22337
22338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 {
22349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22350 }
22351 return resultobj;
22352 fail:
22353 return NULL;
22354}
22355
22356
22357static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
22358 PyObject *resultobj;
22359 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22360 bool result;
22361 PyObject * obj0 = 0 ;
22362 char *kwnames[] = {
22363 (char *) "self", NULL
22364 };
22365
22366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22369 {
22370 PyThreadState* __tstate = wxPyBeginAllowThreads();
22371 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22372
22373 wxPyEndAllowThreads(__tstate);
22374 if (PyErr_Occurred()) SWIG_fail;
22375 }
22376 {
22377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22378 }
22379 return resultobj;
22380 fail:
22381 return NULL;
22382}
22383
22384
22385static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
22386 PyObject *resultobj;
22387 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22388 bool result;
22389 PyObject * obj0 = 0 ;
22390 char *kwnames[] = {
22391 (char *) "self", NULL
22392 };
22393
22394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22397 {
22398 PyThreadState* __tstate = wxPyBeginAllowThreads();
22399 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22400
22401 wxPyEndAllowThreads(__tstate);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 {
22405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22406 }
22407 return resultobj;
22408 fail:
22409 return NULL;
22410}
22411
22412
22413static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22414 PyObject *resultobj;
22415 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22416 wxTimeSpan *arg2 = 0 ;
22417 bool result;
22418 PyObject * obj0 = 0 ;
22419 PyObject * obj1 = 0 ;
22420 char *kwnames[] = {
22421 (char *) "self",(char *) "ts", NULL
22422 };
22423
22424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22428 SWIG_POINTER_EXCEPTION | 0)) == -1)
22429 SWIG_fail;
22430 if (arg2 == NULL) {
22431 PyErr_SetString(PyExc_TypeError,"null reference");
22432 SWIG_fail;
22433 }
22434 {
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
22436 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22437
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 {
22442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22443 }
22444 return resultobj;
22445 fail:
22446 return NULL;
22447}
22448
22449
22450static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22451 PyObject *resultobj;
22452 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22453 wxTimeSpan *arg2 = 0 ;
22454 bool result;
22455 PyObject * obj0 = 0 ;
22456 PyObject * obj1 = 0 ;
22457 char *kwnames[] = {
22458 (char *) "self",(char *) "ts", NULL
22459 };
22460
22461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22465 SWIG_POINTER_EXCEPTION | 0)) == -1)
22466 SWIG_fail;
22467 if (arg2 == NULL) {
22468 PyErr_SetString(PyExc_TypeError,"null reference");
22469 SWIG_fail;
22470 }
22471 {
22472 PyThreadState* __tstate = wxPyBeginAllowThreads();
22473 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22474
22475 wxPyEndAllowThreads(__tstate);
22476 if (PyErr_Occurred()) SWIG_fail;
22477 }
22478 {
22479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22480 }
22481 return resultobj;
22482 fail:
22483 return NULL;
22484}
22485
22486
22487static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22488 PyObject *resultobj;
22489 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22490 wxTimeSpan *arg2 = 0 ;
22491 bool result;
22492 PyObject * obj0 = 0 ;
22493 PyObject * obj1 = 0 ;
22494 char *kwnames[] = {
22495 (char *) "self",(char *) "t", NULL
22496 };
22497
22498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22502 SWIG_POINTER_EXCEPTION | 0)) == -1)
22503 SWIG_fail;
22504 if (arg2 == NULL) {
22505 PyErr_SetString(PyExc_TypeError,"null reference");
22506 SWIG_fail;
22507 }
22508 {
22509 PyThreadState* __tstate = wxPyBeginAllowThreads();
22510 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22511
22512 wxPyEndAllowThreads(__tstate);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 }
22515 {
22516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22517 }
22518 return resultobj;
22519 fail:
22520 return NULL;
22521}
22522
22523
22524static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22525 PyObject *resultobj;
22526 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22527 int result;
22528 PyObject * obj0 = 0 ;
22529 char *kwnames[] = {
22530 (char *) "self", NULL
22531 };
22532
22533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 resultobj = SWIG_FromInt((int)result);
22544 return resultobj;
22545 fail:
22546 return NULL;
22547}
22548
22549
22550static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22551 PyObject *resultobj;
22552 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22553 int result;
22554 PyObject * obj0 = 0 ;
22555 char *kwnames[] = {
22556 (char *) "self", NULL
22557 };
22558
22559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22562 {
22563 PyThreadState* __tstate = wxPyBeginAllowThreads();
22564 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22565
22566 wxPyEndAllowThreads(__tstate);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 resultobj = SWIG_FromInt((int)result);
22570 return resultobj;
22571 fail:
22572 return NULL;
22573}
22574
22575
22576static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22577 PyObject *resultobj;
22578 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22579 int result;
22580 PyObject * obj0 = 0 ;
22581 char *kwnames[] = {
22582 (char *) "self", NULL
22583 };
22584
22585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22591
22592 wxPyEndAllowThreads(__tstate);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 }
22595 resultobj = SWIG_FromInt((int)result);
22596 return resultobj;
22597 fail:
22598 return NULL;
22599}
22600
22601
22602static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22603 PyObject *resultobj;
22604 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22605 int result;
22606 PyObject * obj0 = 0 ;
22607 char *kwnames[] = {
22608 (char *) "self", NULL
22609 };
22610
22611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22614 {
22615 PyThreadState* __tstate = wxPyBeginAllowThreads();
22616 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22617
22618 wxPyEndAllowThreads(__tstate);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 }
22621 resultobj = SWIG_FromInt((int)result);
22622 return resultobj;
22623 fail:
22624 return NULL;
22625}
22626
22627
22628static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22629 PyObject *resultobj;
22630 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22631 wxLongLong result;
22632 PyObject * obj0 = 0 ;
22633 char *kwnames[] = {
22634 (char *) "self", NULL
22635 };
22636
22637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22640 {
22641 PyThreadState* __tstate = wxPyBeginAllowThreads();
22642 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22643
22644 wxPyEndAllowThreads(__tstate);
22645 if (PyErr_Occurred()) SWIG_fail;
22646 }
22647 {
22648 PyObject *hi, *lo, *shifter, *shifted;
22649 hi = PyLong_FromLong( (&result)->GetHi() );
22650 lo = PyLong_FromLong( (&result)->GetLo() );
22651 shifter = PyLong_FromLong(32);
22652 shifted = PyNumber_Lshift(hi, shifter);
22653 resultobj = PyNumber_Or(shifted, lo);
22654 Py_DECREF(hi);
22655 Py_DECREF(lo);
22656 Py_DECREF(shifter);
22657 Py_DECREF(shifted);
22658 }
22659 return resultobj;
22660 fail:
22661 return NULL;
22662}
22663
22664
22665static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22666 PyObject *resultobj;
22667 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22668 wxLongLong result;
22669 PyObject * obj0 = 0 ;
22670 char *kwnames[] = {
22671 (char *) "self", NULL
22672 };
22673
22674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22677 {
22678 PyThreadState* __tstate = wxPyBeginAllowThreads();
22679 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22680
22681 wxPyEndAllowThreads(__tstate);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 {
22685 PyObject *hi, *lo, *shifter, *shifted;
22686 hi = PyLong_FromLong( (&result)->GetHi() );
22687 lo = PyLong_FromLong( (&result)->GetLo() );
22688 shifter = PyLong_FromLong(32);
22689 shifted = PyNumber_Lshift(hi, shifter);
22690 resultobj = PyNumber_Or(shifted, lo);
22691 Py_DECREF(hi);
22692 Py_DECREF(lo);
22693 Py_DECREF(shifter);
22694 Py_DECREF(shifted);
22695 }
22696 return resultobj;
22697 fail:
22698 return NULL;
22699}
22700
22701
22702static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22703 PyObject *resultobj;
22704 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22705 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22706 wxString *arg2 = (wxString *) &arg2_defvalue ;
22707 wxString result;
22708 bool temp2 = False ;
22709 PyObject * obj0 = 0 ;
22710 PyObject * obj1 = 0 ;
22711 char *kwnames[] = {
22712 (char *) "self",(char *) "format", NULL
22713 };
22714
22715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22718 if (obj1) {
22719 {
22720 arg2 = wxString_in_helper(obj1);
22721 if (arg2 == NULL) SWIG_fail;
22722 temp2 = True;
22723 }
22724 }
22725 {
22726 PyThreadState* __tstate = wxPyBeginAllowThreads();
22727 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22728
22729 wxPyEndAllowThreads(__tstate);
22730 if (PyErr_Occurred()) SWIG_fail;
22731 }
22732 {
22733#if wxUSE_UNICODE
22734 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22735#else
22736 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22737#endif
22738 }
22739 {
22740 if (temp2)
22741 delete arg2;
22742 }
22743 return resultobj;
22744 fail:
22745 {
22746 if (temp2)
22747 delete arg2;
22748 }
22749 return NULL;
22750}
22751
22752
22753static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22754 PyObject *obj;
22755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22756 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22757 Py_INCREF(obj);
22758 return Py_BuildValue((char *)"");
22759}
22760static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22761 PyObject *resultobj;
22762 int arg1 = (int) 0 ;
22763 int arg2 = (int) 0 ;
22764 int arg3 = (int) 0 ;
22765 int arg4 = (int) 0 ;
22766 wxDateSpan *result;
22767 PyObject * obj0 = 0 ;
22768 PyObject * obj1 = 0 ;
22769 PyObject * obj2 = 0 ;
22770 PyObject * obj3 = 0 ;
22771 char *kwnames[] = {
22772 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22773 };
22774
22775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22776 if (obj0) {
22777 arg1 = (int) SWIG_AsInt(obj0);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 if (obj1) {
22781 arg2 = (int) SWIG_AsInt(obj1);
22782 if (PyErr_Occurred()) SWIG_fail;
22783 }
22784 if (obj2) {
22785 arg3 = (int) SWIG_AsInt(obj2);
22786 if (PyErr_Occurred()) SWIG_fail;
22787 }
22788 if (obj3) {
22789 arg4 = (int) SWIG_AsInt(obj3);
22790 if (PyErr_Occurred()) SWIG_fail;
22791 }
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
22800 return resultobj;
22801 fail:
22802 return NULL;
22803}
22804
22805
22806static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22807 PyObject *resultobj;
22808 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22809 PyObject * obj0 = 0 ;
22810 char *kwnames[] = {
22811 (char *) "self", NULL
22812 };
22813
22814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22817 {
22818 PyThreadState* __tstate = wxPyBeginAllowThreads();
22819 delete arg1;
22820
22821 wxPyEndAllowThreads(__tstate);
22822 if (PyErr_Occurred()) SWIG_fail;
22823 }
22824 Py_INCREF(Py_None); resultobj = Py_None;
22825 return resultobj;
22826 fail:
22827 return NULL;
22828}
22829
22830
22831static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22832 PyObject *resultobj;
22833 int arg1 ;
22834 wxDateSpan result;
22835 PyObject * obj0 = 0 ;
22836 char *kwnames[] = {
22837 (char *) "days", NULL
22838 };
22839
22840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22841 arg1 = (int) SWIG_AsInt(obj0);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 {
22844 PyThreadState* __tstate = wxPyBeginAllowThreads();
22845 result = wxDateSpan::Days(arg1);
22846
22847 wxPyEndAllowThreads(__tstate);
22848 if (PyErr_Occurred()) SWIG_fail;
22849 }
22850 {
22851 wxDateSpan * resultptr;
22852 resultptr = new wxDateSpan((wxDateSpan &) result);
22853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22854 }
22855 return resultobj;
22856 fail:
22857 return NULL;
22858}
22859
22860
22861static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22862 PyObject *resultobj;
22863 wxDateSpan result;
22864 char *kwnames[] = {
22865 NULL
22866 };
22867
22868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22869 {
22870 PyThreadState* __tstate = wxPyBeginAllowThreads();
22871 result = wxDateSpan::Day();
22872
22873 wxPyEndAllowThreads(__tstate);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
22876 {
22877 wxDateSpan * resultptr;
22878 resultptr = new wxDateSpan((wxDateSpan &) result);
22879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22880 }
22881 return resultobj;
22882 fail:
22883 return NULL;
22884}
22885
22886
22887static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22888 PyObject *resultobj;
22889 int arg1 ;
22890 wxDateSpan result;
22891 PyObject * obj0 = 0 ;
22892 char *kwnames[] = {
22893 (char *) "weeks", NULL
22894 };
22895
22896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22897 arg1 = (int) SWIG_AsInt(obj0);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 {
22900 PyThreadState* __tstate = wxPyBeginAllowThreads();
22901 result = wxDateSpan::Weeks(arg1);
22902
22903 wxPyEndAllowThreads(__tstate);
22904 if (PyErr_Occurred()) SWIG_fail;
22905 }
22906 {
22907 wxDateSpan * resultptr;
22908 resultptr = new wxDateSpan((wxDateSpan &) result);
22909 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22910 }
22911 return resultobj;
22912 fail:
22913 return NULL;
22914}
22915
22916
22917static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22918 PyObject *resultobj;
22919 wxDateSpan result;
22920 char *kwnames[] = {
22921 NULL
22922 };
22923
22924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22925 {
22926 PyThreadState* __tstate = wxPyBeginAllowThreads();
22927 result = wxDateSpan::Week();
22928
22929 wxPyEndAllowThreads(__tstate);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 }
22932 {
22933 wxDateSpan * resultptr;
22934 resultptr = new wxDateSpan((wxDateSpan &) result);
22935 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22936 }
22937 return resultobj;
22938 fail:
22939 return NULL;
22940}
22941
22942
22943static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22944 PyObject *resultobj;
22945 int arg1 ;
22946 wxDateSpan result;
22947 PyObject * obj0 = 0 ;
22948 char *kwnames[] = {
22949 (char *) "mon", NULL
22950 };
22951
22952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22953 arg1 = (int) SWIG_AsInt(obj0);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 {
22956 PyThreadState* __tstate = wxPyBeginAllowThreads();
22957 result = wxDateSpan::Months(arg1);
22958
22959 wxPyEndAllowThreads(__tstate);
22960 if (PyErr_Occurred()) SWIG_fail;
22961 }
22962 {
22963 wxDateSpan * resultptr;
22964 resultptr = new wxDateSpan((wxDateSpan &) result);
22965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22966 }
22967 return resultobj;
22968 fail:
22969 return NULL;
22970}
22971
22972
22973static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22974 PyObject *resultobj;
22975 wxDateSpan result;
22976 char *kwnames[] = {
22977 NULL
22978 };
22979
22980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22981 {
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 result = wxDateSpan::Month();
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 {
22989 wxDateSpan * resultptr;
22990 resultptr = new wxDateSpan((wxDateSpan &) result);
22991 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22992 }
22993 return resultobj;
22994 fail:
22995 return NULL;
22996}
22997
22998
22999static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
23000 PyObject *resultobj;
23001 int arg1 ;
23002 wxDateSpan result;
23003 PyObject * obj0 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "years", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
23009 arg1 = (int) SWIG_AsInt(obj0);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 {
23012 PyThreadState* __tstate = wxPyBeginAllowThreads();
23013 result = wxDateSpan::Years(arg1);
23014
23015 wxPyEndAllowThreads(__tstate);
23016 if (PyErr_Occurred()) SWIG_fail;
23017 }
23018 {
23019 wxDateSpan * resultptr;
23020 resultptr = new wxDateSpan((wxDateSpan &) result);
23021 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23022 }
23023 return resultobj;
23024 fail:
23025 return NULL;
23026}
23027
23028
23029static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
23030 PyObject *resultobj;
23031 wxDateSpan result;
23032 char *kwnames[] = {
23033 NULL
23034 };
23035
23036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
23037 {
23038 PyThreadState* __tstate = wxPyBeginAllowThreads();
23039 result = wxDateSpan::Year();
23040
23041 wxPyEndAllowThreads(__tstate);
23042 if (PyErr_Occurred()) SWIG_fail;
23043 }
23044 {
23045 wxDateSpan * resultptr;
23046 resultptr = new wxDateSpan((wxDateSpan &) result);
23047 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23048 }
23049 return resultobj;
23050 fail:
23051 return NULL;
23052}
23053
23054
23055static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23056 PyObject *resultobj;
23057 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23058 int arg2 ;
23059 wxDateSpan *result;
23060 PyObject * obj0 = 0 ;
23061 PyObject * obj1 = 0 ;
23062 char *kwnames[] = {
23063 (char *) "self",(char *) "n", NULL
23064 };
23065
23066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
23067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23069 arg2 = (int) SWIG_AsInt(obj1);
23070 if (PyErr_Occurred()) SWIG_fail;
23071 {
23072 PyThreadState* __tstate = wxPyBeginAllowThreads();
23073 {
23074 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
23075 result = (wxDateSpan *) &_result_ref;
23076 }
23077
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23082 return resultobj;
23083 fail:
23084 return NULL;
23085}
23086
23087
23088static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23089 PyObject *resultobj;
23090 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23091 int arg2 ;
23092 wxDateSpan *result;
23093 PyObject * obj0 = 0 ;
23094 PyObject * obj1 = 0 ;
23095 char *kwnames[] = {
23096 (char *) "self",(char *) "n", NULL
23097 };
23098
23099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
23100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23102 arg2 = (int) SWIG_AsInt(obj1);
23103 if (PyErr_Occurred()) SWIG_fail;
23104 {
23105 PyThreadState* __tstate = wxPyBeginAllowThreads();
23106 {
23107 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
23108 result = (wxDateSpan *) &_result_ref;
23109 }
23110
23111 wxPyEndAllowThreads(__tstate);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
23114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23115 return resultobj;
23116 fail:
23117 return NULL;
23118}
23119
23120
23121static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23122 PyObject *resultobj;
23123 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23124 int arg2 ;
23125 wxDateSpan *result;
23126 PyObject * obj0 = 0 ;
23127 PyObject * obj1 = 0 ;
23128 char *kwnames[] = {
23129 (char *) "self",(char *) "n", NULL
23130 };
23131
23132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
23133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23135 arg2 = (int) SWIG_AsInt(obj1);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 {
23138 PyThreadState* __tstate = wxPyBeginAllowThreads();
23139 {
23140 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
23141 result = (wxDateSpan *) &_result_ref;
23142 }
23143
23144 wxPyEndAllowThreads(__tstate);
23145 if (PyErr_Occurred()) SWIG_fail;
23146 }
23147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23148 return resultobj;
23149 fail:
23150 return NULL;
23151}
23152
23153
23154static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23155 PyObject *resultobj;
23156 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23157 int arg2 ;
23158 wxDateSpan *result;
23159 PyObject * obj0 = 0 ;
23160 PyObject * obj1 = 0 ;
23161 char *kwnames[] = {
23162 (char *) "self",(char *) "n", NULL
23163 };
23164
23165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23168 arg2 = (int) SWIG_AsInt(obj1);
23169 if (PyErr_Occurred()) SWIG_fail;
23170 {
23171 PyThreadState* __tstate = wxPyBeginAllowThreads();
23172 {
23173 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23174 result = (wxDateSpan *) &_result_ref;
23175 }
23176
23177 wxPyEndAllowThreads(__tstate);
23178 if (PyErr_Occurred()) SWIG_fail;
23179 }
23180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23181 return resultobj;
23182 fail:
23183 return NULL;
23184}
23185
23186
23187static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23188 PyObject *resultobj;
23189 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23190 int result;
23191 PyObject * obj0 = 0 ;
23192 char *kwnames[] = {
23193 (char *) "self", NULL
23194 };
23195
23196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23199 {
23200 PyThreadState* __tstate = wxPyBeginAllowThreads();
23201 result = (int)((wxDateSpan const *)arg1)->GetYears();
23202
23203 wxPyEndAllowThreads(__tstate);
23204 if (PyErr_Occurred()) SWIG_fail;
23205 }
23206 resultobj = SWIG_FromInt((int)result);
23207 return resultobj;
23208 fail:
23209 return NULL;
23210}
23211
23212
23213static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23214 PyObject *resultobj;
23215 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23216 int result;
23217 PyObject * obj0 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23225 {
23226 PyThreadState* __tstate = wxPyBeginAllowThreads();
23227 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23228
23229 wxPyEndAllowThreads(__tstate);
23230 if (PyErr_Occurred()) SWIG_fail;
23231 }
23232 resultobj = SWIG_FromInt((int)result);
23233 return resultobj;
23234 fail:
23235 return NULL;
23236}
23237
23238
23239static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23240 PyObject *resultobj;
23241 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23242 int result;
23243 PyObject * obj0 = 0 ;
23244 char *kwnames[] = {
23245 (char *) "self", NULL
23246 };
23247
23248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23251 {
23252 PyThreadState* __tstate = wxPyBeginAllowThreads();
23253 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23254
23255 wxPyEndAllowThreads(__tstate);
23256 if (PyErr_Occurred()) SWIG_fail;
23257 }
23258 resultobj = SWIG_FromInt((int)result);
23259 return resultobj;
23260 fail:
23261 return NULL;
23262}
23263
23264
23265static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23266 PyObject *resultobj;
23267 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23268 int result;
23269 PyObject * obj0 = 0 ;
23270 char *kwnames[] = {
23271 (char *) "self", NULL
23272 };
23273
23274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23277 {
23278 PyThreadState* __tstate = wxPyBeginAllowThreads();
23279 result = (int)((wxDateSpan const *)arg1)->GetDays();
23280
23281 wxPyEndAllowThreads(__tstate);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 }
23284 resultobj = SWIG_FromInt((int)result);
23285 return resultobj;
23286 fail:
23287 return NULL;
23288}
23289
23290
23291static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23292 PyObject *resultobj;
23293 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23294 int result;
23295 PyObject * obj0 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "self", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23303 {
23304 PyThreadState* __tstate = wxPyBeginAllowThreads();
23305 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23306
23307 wxPyEndAllowThreads(__tstate);
23308 if (PyErr_Occurred()) SWIG_fail;
23309 }
23310 resultobj = SWIG_FromInt((int)result);
23311 return resultobj;
23312 fail:
23313 return NULL;
23314}
23315
23316
23317static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
23318 PyObject *resultobj;
23319 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23320 wxDateSpan *arg2 = 0 ;
23321 wxDateSpan *result;
23322 PyObject * obj0 = 0 ;
23323 PyObject * obj1 = 0 ;
23324 char *kwnames[] = {
23325 (char *) "self",(char *) "other", NULL
23326 };
23327
23328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23332 SWIG_POINTER_EXCEPTION | 0)) == -1)
23333 SWIG_fail;
23334 if (arg2 == NULL) {
23335 PyErr_SetString(PyExc_TypeError,"null reference");
23336 SWIG_fail;
23337 }
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 {
23341 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23342 result = (wxDateSpan *) &_result_ref;
23343 }
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23349 return resultobj;
23350 fail:
23351 return NULL;
23352}
23353
23354
23355static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
23356 PyObject *resultobj;
23357 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23358 wxDateSpan *arg2 = 0 ;
23359 wxDateSpan *result;
23360 PyObject * obj0 = 0 ;
23361 PyObject * obj1 = 0 ;
23362 char *kwnames[] = {
23363 (char *) "self",(char *) "other", NULL
23364 };
23365
23366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23370 SWIG_POINTER_EXCEPTION | 0)) == -1)
23371 SWIG_fail;
23372 if (arg2 == NULL) {
23373 PyErr_SetString(PyExc_TypeError,"null reference");
23374 SWIG_fail;
23375 }
23376 {
23377 PyThreadState* __tstate = wxPyBeginAllowThreads();
23378 {
23379 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23380 result = (wxDateSpan *) &_result_ref;
23381 }
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23387 return resultobj;
23388 fail:
23389 return NULL;
23390}
23391
23392
23393static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
23394 PyObject *resultobj;
23395 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23396 wxDateSpan *result;
23397 PyObject * obj0 = 0 ;
23398 char *kwnames[] = {
23399 (char *) "self", NULL
23400 };
23401
23402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23405 {
23406 PyThreadState* __tstate = wxPyBeginAllowThreads();
23407 {
23408 wxDateSpan &_result_ref = (arg1)->Neg();
23409 result = (wxDateSpan *) &_result_ref;
23410 }
23411
23412 wxPyEndAllowThreads(__tstate);
23413 if (PyErr_Occurred()) SWIG_fail;
23414 }
23415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23416 return resultobj;
23417 fail:
23418 return NULL;
23419}
23420
23421
23422static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
23423 PyObject *resultobj;
23424 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23425 int arg2 ;
23426 wxDateSpan *result;
23427 PyObject * obj0 = 0 ;
23428 PyObject * obj1 = 0 ;
23429 char *kwnames[] = {
23430 (char *) "self",(char *) "factor", NULL
23431 };
23432
23433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23436 arg2 = (int) SWIG_AsInt(obj1);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 {
23439 PyThreadState* __tstate = wxPyBeginAllowThreads();
23440 {
23441 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23442 result = (wxDateSpan *) &_result_ref;
23443 }
23444
23445 wxPyEndAllowThreads(__tstate);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
23448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23449 return resultobj;
23450 fail:
23451 return NULL;
23452}
23453
23454
23455static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
23456 PyObject *resultobj;
23457 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23458 wxDateSpan *arg2 = 0 ;
23459 wxDateSpan *result;
23460 PyObject * obj0 = 0 ;
23461 PyObject * obj1 = 0 ;
23462 char *kwnames[] = {
23463 (char *) "self",(char *) "other", NULL
23464 };
23465
23466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23470 SWIG_POINTER_EXCEPTION | 0)) == -1)
23471 SWIG_fail;
23472 if (arg2 == NULL) {
23473 PyErr_SetString(PyExc_TypeError,"null reference");
23474 SWIG_fail;
23475 }
23476 {
23477 PyThreadState* __tstate = wxPyBeginAllowThreads();
23478 {
23479 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23480 result = (wxDateSpan *) &_result_ref;
23481 }
23482
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23487 return resultobj;
23488 fail:
23489 return NULL;
23490}
23491
23492
23493static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23494 PyObject *resultobj;
23495 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23496 wxDateSpan *arg2 = 0 ;
23497 wxDateSpan *result;
23498 PyObject * obj0 = 0 ;
23499 PyObject * obj1 = 0 ;
23500 char *kwnames[] = {
23501 (char *) "self",(char *) "other", NULL
23502 };
23503
23504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23508 SWIG_POINTER_EXCEPTION | 0)) == -1)
23509 SWIG_fail;
23510 if (arg2 == NULL) {
23511 PyErr_SetString(PyExc_TypeError,"null reference");
23512 SWIG_fail;
23513 }
23514 {
23515 PyThreadState* __tstate = wxPyBeginAllowThreads();
23516 {
23517 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23518 result = (wxDateSpan *) &_result_ref;
23519 }
23520
23521 wxPyEndAllowThreads(__tstate);
23522 if (PyErr_Occurred()) SWIG_fail;
23523 }
23524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23525 return resultobj;
23526 fail:
23527 return NULL;
23528}
23529
23530
23531static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
23532 PyObject *resultobj;
23533 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23534 wxDateSpan *result;
23535 PyObject * obj0 = 0 ;
23536 char *kwnames[] = {
23537 (char *) "self", NULL
23538 };
23539
23540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23543 {
23544 PyThreadState* __tstate = wxPyBeginAllowThreads();
23545 {
23546 wxDateSpan &_result_ref = (arg1)->operator -();
23547 result = (wxDateSpan *) &_result_ref;
23548 }
23549
23550 wxPyEndAllowThreads(__tstate);
23551 if (PyErr_Occurred()) SWIG_fail;
23552 }
23553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23554 return resultobj;
23555 fail:
23556 return NULL;
23557}
23558
23559
23560static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23561 PyObject *resultobj;
23562 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23563 int arg2 ;
23564 wxDateSpan *result;
23565 PyObject * obj0 = 0 ;
23566 PyObject * obj1 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self",(char *) "factor", NULL
23569 };
23570
23571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23574 arg2 = (int) SWIG_AsInt(obj1);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 {
23577 PyThreadState* __tstate = wxPyBeginAllowThreads();
23578 {
23579 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23580 result = (wxDateSpan *) &_result_ref;
23581 }
23582
23583 wxPyEndAllowThreads(__tstate);
23584 if (PyErr_Occurred()) SWIG_fail;
23585 }
23586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23587 return resultobj;
23588 fail:
23589 return NULL;
23590}
23591
23592
23593static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23594 PyObject *resultobj;
23595 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23596 wxDateSpan *arg2 = 0 ;
23597 wxDateSpan result;
23598 PyObject * obj0 = 0 ;
23599 PyObject * obj1 = 0 ;
23600 char *kwnames[] = {
23601 (char *) "self",(char *) "other", NULL
23602 };
23603
23604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23608 SWIG_POINTER_EXCEPTION | 0)) == -1)
23609 SWIG_fail;
23610 if (arg2 == NULL) {
23611 PyErr_SetString(PyExc_TypeError,"null reference");
23612 SWIG_fail;
23613 }
23614 {
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
23616 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23617
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 {
23622 wxDateSpan * resultptr;
23623 resultptr = new wxDateSpan((wxDateSpan &) result);
23624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23625 }
23626 return resultobj;
23627 fail:
23628 return NULL;
23629}
23630
23631
23632static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23633 PyObject *resultobj;
23634 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23635 wxDateSpan *arg2 = 0 ;
23636 wxDateSpan result;
23637 PyObject * obj0 = 0 ;
23638 PyObject * obj1 = 0 ;
23639 char *kwnames[] = {
23640 (char *) "self",(char *) "other", NULL
23641 };
23642
23643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23647 SWIG_POINTER_EXCEPTION | 0)) == -1)
23648 SWIG_fail;
23649 if (arg2 == NULL) {
23650 PyErr_SetString(PyExc_TypeError,"null reference");
23651 SWIG_fail;
23652 }
23653 {
23654 PyThreadState* __tstate = wxPyBeginAllowThreads();
23655 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23656
23657 wxPyEndAllowThreads(__tstate);
23658 if (PyErr_Occurred()) SWIG_fail;
23659 }
23660 {
23661 wxDateSpan * resultptr;
23662 resultptr = new wxDateSpan((wxDateSpan &) result);
23663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23664 }
23665 return resultobj;
23666 fail:
23667 return NULL;
23668}
23669
23670
23671static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23672 PyObject *resultobj;
23673 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23674 int arg2 ;
23675 wxDateSpan result;
23676 PyObject * obj0 = 0 ;
23677 PyObject * obj1 = 0 ;
23678 char *kwnames[] = {
23679 (char *) "self",(char *) "n", NULL
23680 };
23681
23682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23685 arg2 = (int) SWIG_AsInt(obj1);
23686 if (PyErr_Occurred()) SWIG_fail;
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
23689 result = wxDateSpan___mul__(arg1,arg2);
23690
23691 wxPyEndAllowThreads(__tstate);
23692 if (PyErr_Occurred()) SWIG_fail;
23693 }
23694 {
23695 wxDateSpan * resultptr;
23696 resultptr = new wxDateSpan((wxDateSpan &) result);
23697 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23698 }
23699 return resultobj;
23700 fail:
23701 return NULL;
23702}
23703
23704
23705static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23706 PyObject *resultobj;
23707 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23708 int arg2 ;
23709 wxDateSpan result;
23710 PyObject * obj0 = 0 ;
23711 PyObject * obj1 = 0 ;
23712 char *kwnames[] = {
23713 (char *) "self",(char *) "n", NULL
23714 };
23715
23716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23719 arg2 = (int) SWIG_AsInt(obj1);
23720 if (PyErr_Occurred()) SWIG_fail;
23721 {
23722 PyThreadState* __tstate = wxPyBeginAllowThreads();
23723 result = wxDateSpan___rmul__(arg1,arg2);
23724
23725 wxPyEndAllowThreads(__tstate);
23726 if (PyErr_Occurred()) SWIG_fail;
23727 }
23728 {
23729 wxDateSpan * resultptr;
23730 resultptr = new wxDateSpan((wxDateSpan &) result);
23731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23732 }
23733 return resultobj;
23734 fail:
23735 return NULL;
23736}
23737
23738
23739static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23740 PyObject *resultobj;
23741 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23742 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23743 bool result;
23744 PyObject * obj0 = 0 ;
23745 PyObject * obj1 = 0 ;
23746 char *kwnames[] = {
23747 (char *) "self",(char *) "other", NULL
23748 };
23749
23750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23755 {
23756 PyThreadState* __tstate = wxPyBeginAllowThreads();
23757 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
23758
23759 wxPyEndAllowThreads(__tstate);
23760 if (PyErr_Occurred()) SWIG_fail;
23761 }
23762 {
23763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23764 }
23765 return resultobj;
23766 fail:
23767 return NULL;
23768}
23769
23770
23771static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23772 PyObject *resultobj;
23773 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23774 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23775 bool result;
23776 PyObject * obj0 = 0 ;
23777 PyObject * obj1 = 0 ;
23778 char *kwnames[] = {
23779 (char *) "self",(char *) "other", NULL
23780 };
23781
23782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23785 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23787 {
23788 PyThreadState* __tstate = wxPyBeginAllowThreads();
23789 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
23790
23791 wxPyEndAllowThreads(__tstate);
23792 if (PyErr_Occurred()) SWIG_fail;
23793 }
23794 {
23795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23796 }
23797 return resultobj;
23798 fail:
23799 return NULL;
23800}
23801
23802
23803static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23804 PyObject *obj;
23805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23806 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23807 Py_INCREF(obj);
23808 return Py_BuildValue((char *)"");
23809}
23810static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23811 PyObject *resultobj;
23812 long result;
23813 char *kwnames[] = {
23814 NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23818 {
23819 PyThreadState* __tstate = wxPyBeginAllowThreads();
23820 result = (long)wxGetLocalTime();
23821
23822 wxPyEndAllowThreads(__tstate);
23823 if (PyErr_Occurred()) SWIG_fail;
23824 }
23825 resultobj = SWIG_FromLong((long)result);
23826 return resultobj;
23827 fail:
23828 return NULL;
23829}
23830
23831
23832static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23833 PyObject *resultobj;
23834 long result;
23835 char *kwnames[] = {
23836 NULL
23837 };
23838
23839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (long)wxGetUTCTime();
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 resultobj = SWIG_FromLong((long)result);
23848 return resultobj;
23849 fail:
23850 return NULL;
23851}
23852
23853
23854static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23855 PyObject *resultobj;
23856 long result;
23857 char *kwnames[] = {
23858 NULL
23859 };
23860
23861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23862 {
23863 PyThreadState* __tstate = wxPyBeginAllowThreads();
23864 result = (long)wxGetCurrentTime();
23865
23866 wxPyEndAllowThreads(__tstate);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 resultobj = SWIG_FromLong((long)result);
23870 return resultobj;
23871 fail:
23872 return NULL;
23873}
23874
23875
23876static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23877 PyObject *resultobj;
23878 wxLongLong result;
23879 char *kwnames[] = {
23880 NULL
23881 };
23882
23883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23884 {
23885 PyThreadState* __tstate = wxPyBeginAllowThreads();
23886 result = wxGetLocalTimeMillis();
23887
23888 wxPyEndAllowThreads(__tstate);
23889 if (PyErr_Occurred()) SWIG_fail;
23890 }
23891 {
23892 PyObject *hi, *lo, *shifter, *shifted;
23893 hi = PyLong_FromLong( (&result)->GetHi() );
23894 lo = PyLong_FromLong( (&result)->GetLo() );
23895 shifter = PyLong_FromLong(32);
23896 shifted = PyNumber_Lshift(hi, shifter);
23897 resultobj = PyNumber_Or(shifted, lo);
23898 Py_DECREF(hi);
23899 Py_DECREF(lo);
23900 Py_DECREF(shifter);
23901 Py_DECREF(shifted);
23902 }
23903 return resultobj;
23904 fail:
23905 return NULL;
23906}
23907
23908
23909static int _wrap_DefaultDateTime_set(PyObject *_val) {
23910 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23911 return 1;
23912}
23913
23914
23915static PyObject *_wrap_DefaultDateTime_get() {
23916 PyObject *pyobj;
23917
23918 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
23919 return pyobj;
23920}
23921
23922
23923static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23924 PyObject *resultobj;
23925 int arg1 ;
23926 wxDataFormat *result;
23927 PyObject * obj0 = 0 ;
23928 char *kwnames[] = {
23929 (char *) "type", NULL
23930 };
23931
23932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23933 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 {
23936 PyThreadState* __tstate = wxPyBeginAllowThreads();
23937 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23938
23939 wxPyEndAllowThreads(__tstate);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 }
23942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23943 return resultobj;
23944 fail:
23945 return NULL;
23946}
23947
23948
23949static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23950 PyObject *resultobj;
23951 wxString *arg1 = 0 ;
23952 wxDataFormat *result;
23953 bool temp1 = False ;
23954 PyObject * obj0 = 0 ;
23955 char *kwnames[] = {
23956 (char *) "format", NULL
23957 };
23958
23959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23960 {
23961 arg1 = wxString_in_helper(obj0);
23962 if (arg1 == NULL) SWIG_fail;
23963 temp1 = True;
23964 }
23965 {
23966 PyThreadState* __tstate = wxPyBeginAllowThreads();
23967 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23968
23969 wxPyEndAllowThreads(__tstate);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23973 {
23974 if (temp1)
23975 delete arg1;
23976 }
23977 return resultobj;
23978 fail:
23979 {
23980 if (temp1)
23981 delete arg1;
23982 }
23983 return NULL;
23984}
23985
23986
23987static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23988 PyObject *resultobj;
23989 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23990 PyObject * obj0 = 0 ;
23991 char *kwnames[] = {
23992 (char *) "self", NULL
23993 };
23994
23995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23998 {
23999 PyThreadState* __tstate = wxPyBeginAllowThreads();
24000 delete arg1;
24001
24002 wxPyEndAllowThreads(__tstate);
24003 if (PyErr_Occurred()) SWIG_fail;
24004 }
24005 Py_INCREF(Py_None); resultobj = Py_None;
24006 return resultobj;
24007 fail:
24008 return NULL;
24009}
24010
24011
24012static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
24013 PyObject *resultobj;
24014 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24015 int arg2 ;
24016 bool result;
24017 PyObject * obj0 = 0 ;
24018 PyObject * obj1 = 0 ;
24019
24020 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24023 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24024 if (PyErr_Occurred()) SWIG_fail;
24025 {
24026 PyThreadState* __tstate = wxPyBeginAllowThreads();
24027 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
24028
24029 wxPyEndAllowThreads(__tstate);
24030 if (PyErr_Occurred()) SWIG_fail;
24031 }
24032 {
24033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24034 }
24035 return resultobj;
24036 fail:
24037 return NULL;
24038}
24039
24040
24041static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
24042 PyObject *resultobj;
24043 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24044 int arg2 ;
24045 bool result;
24046 PyObject * obj0 = 0 ;
24047 PyObject * obj1 = 0 ;
24048
24049 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24052 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24053 if (PyErr_Occurred()) SWIG_fail;
24054 {
24055 PyThreadState* __tstate = wxPyBeginAllowThreads();
24056 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
24057
24058 wxPyEndAllowThreads(__tstate);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
24061 {
24062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24063 }
24064 return resultobj;
24065 fail:
24066 return NULL;
24067}
24068
24069
24070static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
24071 PyObject *resultobj;
24072 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24073 wxDataFormat *arg2 = 0 ;
24074 bool result;
24075 PyObject * obj0 = 0 ;
24076 PyObject * obj1 = 0 ;
24077
24078 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24082 SWIG_POINTER_EXCEPTION | 0)) == -1)
24083 SWIG_fail;
24084 if (arg2 == NULL) {
24085 PyErr_SetString(PyExc_TypeError,"null reference");
24086 SWIG_fail;
24087 }
24088 {
24089 PyThreadState* __tstate = wxPyBeginAllowThreads();
24090 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
24091
24092 wxPyEndAllowThreads(__tstate);
24093 if (PyErr_Occurred()) SWIG_fail;
24094 }
24095 {
24096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24097 }
24098 return resultobj;
24099 fail:
24100 return NULL;
24101}
24102
24103
24104static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
24105 int argc;
24106 PyObject *argv[3];
24107 int ii;
24108
24109 argc = PyObject_Length(args);
24110 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24111 argv[ii] = PyTuple_GetItem(args,ii);
24112 }
24113 if (argc == 2) {
24114 int _v;
24115 {
24116 void *ptr;
24117 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24118 _v = 0;
24119 PyErr_Clear();
24120 } else {
24121 _v = 1;
24122 }
24123 }
24124 if (_v) {
24125 {
24126 void *ptr;
24127 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24128 _v = 0;
24129 PyErr_Clear();
24130 } else {
24131 _v = 1;
24132 }
24133 }
24134 if (_v) {
24135 return _wrap_DataFormat___eq____SWIG_1(self,args);
24136 }
24137 }
24138 }
24139 if (argc == 2) {
24140 int _v;
24141 {
24142 void *ptr;
24143 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24144 _v = 0;
24145 PyErr_Clear();
24146 } else {
24147 _v = 1;
24148 }
24149 }
24150 if (_v) {
24151 _v = SWIG_CheckInt(argv[1]);
24152 if (_v) {
24153 return _wrap_DataFormat___eq____SWIG_0(self,args);
24154 }
24155 }
24156 }
24157
24158 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24159 return NULL;
24160}
24161
24162
24163static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
24164 PyObject *resultobj;
24165 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24166 wxDataFormat *arg2 = 0 ;
24167 bool result;
24168 PyObject * obj0 = 0 ;
24169 PyObject * obj1 = 0 ;
24170
24171 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24175 SWIG_POINTER_EXCEPTION | 0)) == -1)
24176 SWIG_fail;
24177 if (arg2 == NULL) {
24178 PyErr_SetString(PyExc_TypeError,"null reference");
24179 SWIG_fail;
24180 }
24181 {
24182 PyThreadState* __tstate = wxPyBeginAllowThreads();
24183 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24184
24185 wxPyEndAllowThreads(__tstate);
24186 if (PyErr_Occurred()) SWIG_fail;
24187 }
24188 {
24189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24190 }
24191 return resultobj;
24192 fail:
24193 return NULL;
24194}
24195
24196
24197static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24198 int argc;
24199 PyObject *argv[3];
24200 int ii;
24201
24202 argc = PyObject_Length(args);
24203 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24204 argv[ii] = PyTuple_GetItem(args,ii);
24205 }
24206 if (argc == 2) {
24207 int _v;
24208 {
24209 void *ptr;
24210 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24211 _v = 0;
24212 PyErr_Clear();
24213 } else {
24214 _v = 1;
24215 }
24216 }
24217 if (_v) {
24218 {
24219 void *ptr;
24220 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24221 _v = 0;
24222 PyErr_Clear();
24223 } else {
24224 _v = 1;
24225 }
24226 }
24227 if (_v) {
24228 return _wrap_DataFormat___ne____SWIG_1(self,args);
24229 }
24230 }
24231 }
24232 if (argc == 2) {
24233 int _v;
24234 {
24235 void *ptr;
24236 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24237 _v = 0;
24238 PyErr_Clear();
24239 } else {
24240 _v = 1;
24241 }
24242 }
24243 if (_v) {
24244 _v = SWIG_CheckInt(argv[1]);
24245 if (_v) {
24246 return _wrap_DataFormat___ne____SWIG_0(self,args);
24247 }
24248 }
24249 }
24250
24251 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24252 return NULL;
24253}
24254
24255
24256static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24257 PyObject *resultobj;
24258 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24259 int arg2 ;
24260 PyObject * obj0 = 0 ;
24261 PyObject * obj1 = 0 ;
24262 char *kwnames[] = {
24263 (char *) "self",(char *) "format", NULL
24264 };
24265
24266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24269 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
24273 (arg1)->SetType((wxDataFormatId )arg2);
24274
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 Py_INCREF(Py_None); resultobj = Py_None;
24279 return resultobj;
24280 fail:
24281 return NULL;
24282}
24283
24284
24285static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24288 int result;
24289 PyObject * obj0 = 0 ;
24290 char *kwnames[] = {
24291 (char *) "self", NULL
24292 };
24293
24294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24297 {
24298 PyThreadState* __tstate = wxPyBeginAllowThreads();
24299 result = (int)((wxDataFormat const *)arg1)->GetType();
24300
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 resultobj = SWIG_FromInt((int)result);
24305 return resultobj;
24306 fail:
24307 return NULL;
24308}
24309
24310
24311static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24312 PyObject *resultobj;
24313 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24314 wxString result;
24315 PyObject * obj0 = 0 ;
24316 char *kwnames[] = {
24317 (char *) "self", NULL
24318 };
24319
24320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24323 {
24324 PyThreadState* __tstate = wxPyBeginAllowThreads();
24325 result = ((wxDataFormat const *)arg1)->GetId();
24326
24327 wxPyEndAllowThreads(__tstate);
24328 if (PyErr_Occurred()) SWIG_fail;
24329 }
24330 {
24331#if wxUSE_UNICODE
24332 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24333#else
24334 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24335#endif
24336 }
24337 return resultobj;
24338 fail:
24339 return NULL;
24340}
24341
24342
24343static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24344 PyObject *resultobj;
24345 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24346 wxString *arg2 = 0 ;
24347 bool temp2 = False ;
24348 PyObject * obj0 = 0 ;
24349 PyObject * obj1 = 0 ;
24350 char *kwnames[] = {
24351 (char *) "self",(char *) "format", NULL
24352 };
24353
24354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24357 {
24358 arg2 = wxString_in_helper(obj1);
24359 if (arg2 == NULL) SWIG_fail;
24360 temp2 = True;
24361 }
24362 {
24363 PyThreadState* __tstate = wxPyBeginAllowThreads();
24364 (arg1)->SetId((wxString const &)*arg2);
24365
24366 wxPyEndAllowThreads(__tstate);
24367 if (PyErr_Occurred()) SWIG_fail;
24368 }
24369 Py_INCREF(Py_None); resultobj = Py_None;
24370 {
24371 if (temp2)
24372 delete arg2;
24373 }
24374 return resultobj;
24375 fail:
24376 {
24377 if (temp2)
24378 delete arg2;
24379 }
24380 return NULL;
24381}
24382
24383
24384static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
24385 PyObject *obj;
24386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24387 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24388 Py_INCREF(obj);
24389 return Py_BuildValue((char *)"");
24390}
24391static int _wrap_FormatInvalid_set(PyObject *_val) {
24392 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24393 return 1;
24394}
24395
24396
24397static PyObject *_wrap_FormatInvalid_get() {
24398 PyObject *pyobj;
24399
24400 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24401 return pyobj;
24402}
24403
24404
24405static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24406 PyObject *resultobj;
24407 wxDataObject *arg1 = (wxDataObject *) 0 ;
24408 PyObject * obj0 = 0 ;
24409 char *kwnames[] = {
24410 (char *) "self", NULL
24411 };
24412
24413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24416 {
24417 PyThreadState* __tstate = wxPyBeginAllowThreads();
24418 delete arg1;
24419
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 Py_INCREF(Py_None); resultobj = Py_None;
24424 return resultobj;
24425 fail:
24426 return NULL;
24427}
24428
24429
24430static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj;
24432 wxDataObject *arg1 = (wxDataObject *) 0 ;
24433 int arg2 = (int) wxDataObject::Get ;
24434 SwigValueWrapper< wxDataFormat > result;
24435 PyObject * obj0 = 0 ;
24436 PyObject * obj1 = 0 ;
24437 char *kwnames[] = {
24438 (char *) "self",(char *) "dir", NULL
24439 };
24440
24441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24444 if (obj1) {
24445 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24446 if (PyErr_Occurred()) SWIG_fail;
24447 }
24448 {
24449 PyThreadState* __tstate = wxPyBeginAllowThreads();
24450 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24451
24452 wxPyEndAllowThreads(__tstate);
24453 if (PyErr_Occurred()) SWIG_fail;
24454 }
24455 {
24456 wxDataFormat * resultptr;
24457 resultptr = new wxDataFormat((wxDataFormat &) result);
24458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24459 }
24460 return resultobj;
24461 fail:
24462 return NULL;
24463}
24464
24465
24466static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24467 PyObject *resultobj;
24468 wxDataObject *arg1 = (wxDataObject *) 0 ;
24469 int arg2 = (int) wxDataObject::Get ;
24470 size_t result;
24471 PyObject * obj0 = 0 ;
24472 PyObject * obj1 = 0 ;
24473 char *kwnames[] = {
24474 (char *) "self",(char *) "dir", NULL
24475 };
24476
24477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24480 if (obj1) {
24481 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24482 if (PyErr_Occurred()) SWIG_fail;
24483 }
24484 {
24485 PyThreadState* __tstate = wxPyBeginAllowThreads();
24486 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24487
24488 wxPyEndAllowThreads(__tstate);
24489 if (PyErr_Occurred()) SWIG_fail;
24490 }
24491 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24492 return resultobj;
24493 fail:
24494 return NULL;
24495}
24496
24497
24498static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24499 PyObject *resultobj;
24500 wxDataObject *arg1 = (wxDataObject *) 0 ;
24501 wxDataFormat *arg2 = 0 ;
24502 int arg3 = (int) wxDataObject::Get ;
24503 bool result;
24504 PyObject * obj0 = 0 ;
24505 PyObject * obj1 = 0 ;
24506 PyObject * obj2 = 0 ;
24507 char *kwnames[] = {
24508 (char *) "self",(char *) "format",(char *) "dir", NULL
24509 };
24510
24511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24515 SWIG_POINTER_EXCEPTION | 0)) == -1)
24516 SWIG_fail;
24517 if (arg2 == NULL) {
24518 PyErr_SetString(PyExc_TypeError,"null reference");
24519 SWIG_fail;
24520 }
24521 if (obj2) {
24522 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24523 if (PyErr_Occurred()) SWIG_fail;
24524 }
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24528
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 {
24533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24534 }
24535 return resultobj;
24536 fail:
24537 return NULL;
24538}
24539
24540
24541static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24542 PyObject *resultobj;
24543 wxDataObject *arg1 = (wxDataObject *) 0 ;
24544 wxDataFormat *arg2 = 0 ;
24545 size_t result;
24546 PyObject * obj0 = 0 ;
24547 PyObject * obj1 = 0 ;
24548 char *kwnames[] = {
24549 (char *) "self",(char *) "format", NULL
24550 };
24551
24552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24556 SWIG_POINTER_EXCEPTION | 0)) == -1)
24557 SWIG_fail;
24558 if (arg2 == NULL) {
24559 PyErr_SetString(PyExc_TypeError,"null reference");
24560 SWIG_fail;
24561 }
24562 {
24563 PyThreadState* __tstate = wxPyBeginAllowThreads();
24564 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24565
24566 wxPyEndAllowThreads(__tstate);
24567 if (PyErr_Occurred()) SWIG_fail;
24568 }
24569 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24570 return resultobj;
24571 fail:
24572 return NULL;
24573}
24574
24575
24576static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24577 PyObject *resultobj;
24578 wxDataObject *arg1 = (wxDataObject *) 0 ;
68e533f8
RD
24579 int arg2 = (int) wxDataObject::Get ;
24580 PyObject *result;
d55e5bfc
RD
24581 PyObject * obj0 = 0 ;
24582 PyObject * obj1 = 0 ;
d55e5bfc 24583 char *kwnames[] = {
68e533f8 24584 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
24585 };
24586
68e533f8 24587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
24588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
68e533f8
RD
24590 if (obj1) {
24591 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
d55e5bfc
RD
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 {
24595 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 24596 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
d55e5bfc
RD
24597
24598 wxPyEndAllowThreads(__tstate);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 }
68e533f8 24601 resultobj = result;
d55e5bfc
RD
24602 return resultobj;
24603 fail:
24604 return NULL;
24605}
24606
24607
24608static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24609 PyObject *resultobj;
24610 wxDataObject *arg1 = (wxDataObject *) 0 ;
24611 wxDataFormat *arg2 = 0 ;
68e533f8 24612 PyObject *result;
d55e5bfc
RD
24613 PyObject * obj0 = 0 ;
24614 PyObject * obj1 = 0 ;
d55e5bfc 24615 char *kwnames[] = {
68e533f8 24616 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
24617 };
24618
68e533f8 24619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
24620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24623 SWIG_POINTER_EXCEPTION | 0)) == -1)
24624 SWIG_fail;
24625 if (arg2 == NULL) {
24626 PyErr_SetString(PyExc_TypeError,"null reference");
24627 SWIG_fail;
24628 }
d55e5bfc
RD
24629 {
24630 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 24631 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
24632
24633 wxPyEndAllowThreads(__tstate);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 }
68e533f8 24636 resultobj = result;
d55e5bfc
RD
24637 return resultobj;
24638 fail:
24639 return NULL;
24640}
24641
24642
24643static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24644 PyObject *resultobj;
24645 wxDataObject *arg1 = (wxDataObject *) 0 ;
24646 wxDataFormat *arg2 = 0 ;
68e533f8 24647 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
24648 bool result;
24649 PyObject * obj0 = 0 ;
24650 PyObject * obj1 = 0 ;
24651 PyObject * obj2 = 0 ;
d55e5bfc 24652 char *kwnames[] = {
68e533f8 24653 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
24654 };
24655
68e533f8 24656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
24657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24659 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24660 SWIG_POINTER_EXCEPTION | 0)) == -1)
24661 SWIG_fail;
24662 if (arg2 == NULL) {
24663 PyErr_SetString(PyExc_TypeError,"null reference");
24664 SWIG_fail;
24665 }
68e533f8 24666 arg3 = obj2;
d55e5bfc
RD
24667 {
24668 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 24669 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
24670
24671 wxPyEndAllowThreads(__tstate);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 }
24674 {
24675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24676 }
24677 return resultobj;
24678 fail:
24679 return NULL;
24680}
24681
24682
24683static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24684 PyObject *obj;
24685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24686 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24687 Py_INCREF(obj);
24688 return Py_BuildValue((char *)"");
24689}
24690static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24691 PyObject *resultobj;
24692 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24693 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24694 wxDataObjectSimple *result;
24695 PyObject * obj0 = 0 ;
24696 char *kwnames[] = {
24697 (char *) "format", NULL
24698 };
24699
24700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24701 if (obj0) {
24702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24703 SWIG_POINTER_EXCEPTION | 0)) == -1)
24704 SWIG_fail;
24705 if (arg1 == NULL) {
24706 PyErr_SetString(PyExc_TypeError,"null reference");
24707 SWIG_fail;
24708 }
24709 }
24710 {
24711 PyThreadState* __tstate = wxPyBeginAllowThreads();
24712 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24713
24714 wxPyEndAllowThreads(__tstate);
24715 if (PyErr_Occurred()) SWIG_fail;
24716 }
24717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
24718 return resultobj;
24719 fail:
24720 return NULL;
24721}
24722
24723
24724static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24725 PyObject *resultobj;
24726 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24727 wxDataFormat *result;
24728 PyObject * obj0 = 0 ;
24729 char *kwnames[] = {
24730 (char *) "self", NULL
24731 };
24732
24733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24736 {
24737 PyThreadState* __tstate = wxPyBeginAllowThreads();
24738 {
24739 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24740 result = (wxDataFormat *) &_result_ref;
24741 }
24742
24743 wxPyEndAllowThreads(__tstate);
24744 if (PyErr_Occurred()) SWIG_fail;
24745 }
24746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
24747 return resultobj;
24748 fail:
24749 return NULL;
24750}
24751
24752
24753static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24754 PyObject *resultobj;
24755 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24756 wxDataFormat *arg2 = 0 ;
24757 PyObject * obj0 = 0 ;
24758 PyObject * obj1 = 0 ;
24759 char *kwnames[] = {
24760 (char *) "self",(char *) "format", NULL
24761 };
24762
24763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24767 SWIG_POINTER_EXCEPTION | 0)) == -1)
24768 SWIG_fail;
24769 if (arg2 == NULL) {
24770 PyErr_SetString(PyExc_TypeError,"null reference");
24771 SWIG_fail;
24772 }
24773 {
24774 PyThreadState* __tstate = wxPyBeginAllowThreads();
24775 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24776
24777 wxPyEndAllowThreads(__tstate);
24778 if (PyErr_Occurred()) SWIG_fail;
24779 }
24780 Py_INCREF(Py_None); resultobj = Py_None;
24781 return resultobj;
24782 fail:
24783 return NULL;
24784}
24785
24786
68e533f8
RD
24787static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24788 PyObject *resultobj;
24789 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24790 size_t result;
24791 PyObject * obj0 = 0 ;
24792 char *kwnames[] = {
24793 (char *) "self", NULL
24794 };
24795
24796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
24797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24799 {
24800 PyThreadState* __tstate = wxPyBeginAllowThreads();
24801 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
24802
24803 wxPyEndAllowThreads(__tstate);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24807 return resultobj;
24808 fail:
24809 return NULL;
24810}
24811
24812
24813static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24814 PyObject *resultobj;
24815 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24816 PyObject *result;
24817 PyObject * obj0 = 0 ;
24818 char *kwnames[] = {
24819 (char *) "self", NULL
24820 };
24821
24822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
24823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
24828
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
24832 resultobj = result;
24833 return resultobj;
24834 fail:
24835 return NULL;
24836}
24837
24838
24839static PyObject *_wrap_DataObjectSimple_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24840 PyObject *resultobj;
24841 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24842 PyObject *arg2 = (PyObject *) 0 ;
24843 bool result;
24844 PyObject * obj0 = 0 ;
24845 PyObject * obj1 = 0 ;
24846 char *kwnames[] = {
24847 (char *) "self",(char *) "data", NULL
24848 };
24849
24850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
24851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24853 arg2 = obj1;
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
24857
24858 wxPyEndAllowThreads(__tstate);
24859 if (PyErr_Occurred()) SWIG_fail;
24860 }
24861 {
24862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24863 }
24864 return resultobj;
24865 fail:
24866 return NULL;
24867}
24868
24869
d55e5bfc
RD
24870static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24871 PyObject *obj;
24872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24873 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24874 Py_INCREF(obj);
24875 return Py_BuildValue((char *)"");
24876}
24877static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24878 PyObject *resultobj;
24879 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24880 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24881 wxPyDataObjectSimple *result;
24882 PyObject * obj0 = 0 ;
24883 char *kwnames[] = {
24884 (char *) "format", NULL
24885 };
24886
24887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24888 if (obj0) {
24889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24890 SWIG_POINTER_EXCEPTION | 0)) == -1)
24891 SWIG_fail;
24892 if (arg1 == NULL) {
24893 PyErr_SetString(PyExc_TypeError,"null reference");
24894 SWIG_fail;
24895 }
24896 }
24897 {
24898 PyThreadState* __tstate = wxPyBeginAllowThreads();
24899 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24900
24901 wxPyEndAllowThreads(__tstate);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
24905 return resultobj;
24906 fail:
24907 return NULL;
24908}
24909
24910
24911static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24912 PyObject *resultobj;
24913 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24914 PyObject *arg2 = (PyObject *) 0 ;
24915 PyObject *arg3 = (PyObject *) 0 ;
24916 PyObject * obj0 = 0 ;
24917 PyObject * obj1 = 0 ;
24918 PyObject * obj2 = 0 ;
24919 char *kwnames[] = {
24920 (char *) "self",(char *) "self",(char *) "_class", NULL
24921 };
24922
24923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24926 arg2 = obj1;
24927 arg3 = obj2;
24928 {
24929 PyThreadState* __tstate = wxPyBeginAllowThreads();
24930 (arg1)->_setCallbackInfo(arg2,arg3);
24931
24932 wxPyEndAllowThreads(__tstate);
24933 if (PyErr_Occurred()) SWIG_fail;
24934 }
24935 Py_INCREF(Py_None); resultobj = Py_None;
24936 return resultobj;
24937 fail:
24938 return NULL;
24939}
24940
24941
24942static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24943 PyObject *obj;
24944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24945 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24946 Py_INCREF(obj);
24947 return Py_BuildValue((char *)"");
24948}
24949static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24950 PyObject *resultobj;
24951 wxDataObjectComposite *result;
24952 char *kwnames[] = {
24953 NULL
24954 };
24955
24956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24957 {
24958 PyThreadState* __tstate = wxPyBeginAllowThreads();
24959 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24960
24961 wxPyEndAllowThreads(__tstate);
24962 if (PyErr_Occurred()) SWIG_fail;
24963 }
24964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
24965 return resultobj;
24966 fail:
24967 return NULL;
24968}
24969
24970
24971static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24972 PyObject *resultobj;
24973 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24974 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
68e533f8 24975 bool arg3 = (bool) False ;
d55e5bfc
RD
24976 PyObject * obj0 = 0 ;
24977 PyObject * obj1 = 0 ;
24978 PyObject * obj2 = 0 ;
24979 char *kwnames[] = {
24980 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24981 };
24982
24983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
24984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24987 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24988 if (obj2) {
68e533f8 24989 arg3 = (bool) SWIG_AsBool(obj2);
d55e5bfc
RD
24990 if (PyErr_Occurred()) SWIG_fail;
24991 }
24992 {
24993 PyThreadState* __tstate = wxPyBeginAllowThreads();
24994 (arg1)->Add(arg2,arg3);
24995
24996 wxPyEndAllowThreads(__tstate);
24997 if (PyErr_Occurred()) SWIG_fail;
24998 }
24999 Py_INCREF(Py_None); resultobj = Py_None;
25000 return resultobj;
25001 fail:
25002 return NULL;
25003}
25004
25005
25006static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
25007 PyObject *obj;
25008 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25009 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
25010 Py_INCREF(obj);
25011 return Py_BuildValue((char *)"");
25012}
25013static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25014 PyObject *resultobj;
25015 wxString const &arg1_defvalue = wxPyEmptyString ;
25016 wxString *arg1 = (wxString *) &arg1_defvalue ;
25017 wxTextDataObject *result;
25018 bool temp1 = False ;
25019 PyObject * obj0 = 0 ;
25020 char *kwnames[] = {
25021 (char *) "text", NULL
25022 };
25023
25024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
25025 if (obj0) {
25026 {
25027 arg1 = wxString_in_helper(obj0);
25028 if (arg1 == NULL) SWIG_fail;
25029 temp1 = True;
25030 }
25031 }
25032 {
25033 PyThreadState* __tstate = wxPyBeginAllowThreads();
25034 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
25035
25036 wxPyEndAllowThreads(__tstate);
25037 if (PyErr_Occurred()) SWIG_fail;
25038 }
25039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
25040 {
25041 if (temp1)
25042 delete arg1;
25043 }
25044 return resultobj;
25045 fail:
25046 {
25047 if (temp1)
25048 delete arg1;
25049 }
25050 return NULL;
25051}
25052
25053
25054static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
25055 PyObject *resultobj;
25056 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25057 size_t result;
25058 PyObject * obj0 = 0 ;
25059 char *kwnames[] = {
25060 (char *) "self", NULL
25061 };
25062
25063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
25064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25066 {
25067 PyThreadState* __tstate = wxPyBeginAllowThreads();
25068 result = (size_t)(arg1)->GetTextLength();
25069
25070 wxPyEndAllowThreads(__tstate);
25071 if (PyErr_Occurred()) SWIG_fail;
25072 }
25073 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25074 return resultobj;
25075 fail:
25076 return NULL;
25077}
25078
25079
25080static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25081 PyObject *resultobj;
25082 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25083 wxString result;
25084 PyObject * obj0 = 0 ;
25085 char *kwnames[] = {
25086 (char *) "self", NULL
25087 };
25088
25089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
25090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25092 {
25093 PyThreadState* __tstate = wxPyBeginAllowThreads();
25094 result = (arg1)->GetText();
25095
25096 wxPyEndAllowThreads(__tstate);
25097 if (PyErr_Occurred()) SWIG_fail;
25098 }
25099 {
25100#if wxUSE_UNICODE
25101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25102#else
25103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25104#endif
25105 }
25106 return resultobj;
25107 fail:
25108 return NULL;
25109}
25110
25111
25112static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25113 PyObject *resultobj;
25114 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25115 wxString *arg2 = 0 ;
25116 bool temp2 = False ;
25117 PyObject * obj0 = 0 ;
25118 PyObject * obj1 = 0 ;
25119 char *kwnames[] = {
25120 (char *) "self",(char *) "text", NULL
25121 };
25122
25123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
25124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25126 {
25127 arg2 = wxString_in_helper(obj1);
25128 if (arg2 == NULL) SWIG_fail;
25129 temp2 = True;
25130 }
25131 {
25132 PyThreadState* __tstate = wxPyBeginAllowThreads();
25133 (arg1)->SetText((wxString const &)*arg2);
25134
25135 wxPyEndAllowThreads(__tstate);
25136 if (PyErr_Occurred()) SWIG_fail;
25137 }
25138 Py_INCREF(Py_None); resultobj = Py_None;
25139 {
25140 if (temp2)
25141 delete arg2;
25142 }
25143 return resultobj;
25144 fail:
25145 {
25146 if (temp2)
25147 delete arg2;
25148 }
25149 return NULL;
25150}
25151
25152
25153static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
25154 PyObject *obj;
25155 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25156 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
25157 Py_INCREF(obj);
25158 return Py_BuildValue((char *)"");
25159}
25160static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25161 PyObject *resultobj;
25162 wxString const &arg1_defvalue = wxPyEmptyString ;
25163 wxString *arg1 = (wxString *) &arg1_defvalue ;
25164 wxPyTextDataObject *result;
25165 bool temp1 = False ;
25166 PyObject * obj0 = 0 ;
25167 char *kwnames[] = {
25168 (char *) "text", NULL
25169 };
25170
25171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
25172 if (obj0) {
25173 {
25174 arg1 = wxString_in_helper(obj0);
25175 if (arg1 == NULL) SWIG_fail;
25176 temp1 = True;
25177 }
25178 }
25179 {
25180 PyThreadState* __tstate = wxPyBeginAllowThreads();
25181 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
25182
25183 wxPyEndAllowThreads(__tstate);
25184 if (PyErr_Occurred()) SWIG_fail;
25185 }
25186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
25187 {
25188 if (temp1)
25189 delete arg1;
25190 }
25191 return resultobj;
25192 fail:
25193 {
25194 if (temp1)
25195 delete arg1;
25196 }
25197 return NULL;
25198}
25199
25200
25201static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25202 PyObject *resultobj;
25203 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
25204 PyObject *arg2 = (PyObject *) 0 ;
25205 PyObject *arg3 = (PyObject *) 0 ;
25206 PyObject * obj0 = 0 ;
25207 PyObject * obj1 = 0 ;
25208 PyObject * obj2 = 0 ;
25209 char *kwnames[] = {
25210 (char *) "self",(char *) "self",(char *) "_class", NULL
25211 };
25212
25213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25216 arg2 = obj1;
25217 arg3 = obj2;
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 (arg1)->_setCallbackInfo(arg2,arg3);
25221
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
25225 Py_INCREF(Py_None); resultobj = Py_None;
25226 return resultobj;
25227 fail:
25228 return NULL;
25229}
25230
25231
25232static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
25233 PyObject *obj;
25234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25235 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25236 Py_INCREF(obj);
25237 return Py_BuildValue((char *)"");
25238}
25239static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25240 PyObject *resultobj;
25241 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25242 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25243 wxBitmapDataObject *result;
25244 PyObject * obj0 = 0 ;
25245 char *kwnames[] = {
25246 (char *) "bitmap", NULL
25247 };
25248
25249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25250 if (obj0) {
25251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25252 SWIG_POINTER_EXCEPTION | 0)) == -1)
25253 SWIG_fail;
25254 if (arg1 == NULL) {
25255 PyErr_SetString(PyExc_TypeError,"null reference");
25256 SWIG_fail;
25257 }
25258 }
25259 {
25260 PyThreadState* __tstate = wxPyBeginAllowThreads();
25261 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25262
25263 wxPyEndAllowThreads(__tstate);
25264 if (PyErr_Occurred()) SWIG_fail;
25265 }
25266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25267 return resultobj;
25268 fail:
25269 return NULL;
25270}
25271
25272
25273static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25274 PyObject *resultobj;
25275 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25276 wxBitmap result;
25277 PyObject * obj0 = 0 ;
25278 char *kwnames[] = {
25279 (char *) "self", NULL
25280 };
25281
25282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25285 {
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25288
25289 wxPyEndAllowThreads(__tstate);
25290 if (PyErr_Occurred()) SWIG_fail;
25291 }
25292 {
25293 wxBitmap * resultptr;
25294 resultptr = new wxBitmap((wxBitmap &) result);
25295 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25296 }
25297 return resultobj;
25298 fail:
25299 return NULL;
25300}
25301
25302
25303static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25304 PyObject *resultobj;
25305 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25306 wxBitmap *arg2 = 0 ;
25307 PyObject * obj0 = 0 ;
25308 PyObject * obj1 = 0 ;
25309 char *kwnames[] = {
25310 (char *) "self",(char *) "bitmap", NULL
25311 };
25312
25313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25317 SWIG_POINTER_EXCEPTION | 0)) == -1)
25318 SWIG_fail;
25319 if (arg2 == NULL) {
25320 PyErr_SetString(PyExc_TypeError,"null reference");
25321 SWIG_fail;
25322 }
25323 {
25324 PyThreadState* __tstate = wxPyBeginAllowThreads();
25325 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25326
25327 wxPyEndAllowThreads(__tstate);
25328 if (PyErr_Occurred()) SWIG_fail;
25329 }
25330 Py_INCREF(Py_None); resultobj = Py_None;
25331 return resultobj;
25332 fail:
25333 return NULL;
25334}
25335
25336
25337static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25338 PyObject *obj;
25339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25340 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25341 Py_INCREF(obj);
25342 return Py_BuildValue((char *)"");
25343}
25344static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25345 PyObject *resultobj;
25346 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25347 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25348 wxPyBitmapDataObject *result;
25349 PyObject * obj0 = 0 ;
25350 char *kwnames[] = {
25351 (char *) "bitmap", NULL
25352 };
25353
25354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25355 if (obj0) {
25356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25357 SWIG_POINTER_EXCEPTION | 0)) == -1)
25358 SWIG_fail;
25359 if (arg1 == NULL) {
25360 PyErr_SetString(PyExc_TypeError,"null reference");
25361 SWIG_fail;
25362 }
25363 }
25364 {
25365 PyThreadState* __tstate = wxPyBeginAllowThreads();
25366 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25367
25368 wxPyEndAllowThreads(__tstate);
25369 if (PyErr_Occurred()) SWIG_fail;
25370 }
25371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25372 return resultobj;
25373 fail:
25374 return NULL;
25375}
25376
25377
25378static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25379 PyObject *resultobj;
25380 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25381 PyObject *arg2 = (PyObject *) 0 ;
25382 PyObject *arg3 = (PyObject *) 0 ;
25383 PyObject * obj0 = 0 ;
25384 PyObject * obj1 = 0 ;
25385 PyObject * obj2 = 0 ;
25386 char *kwnames[] = {
25387 (char *) "self",(char *) "self",(char *) "_class", NULL
25388 };
25389
25390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25393 arg2 = obj1;
25394 arg3 = obj2;
25395 {
25396 PyThreadState* __tstate = wxPyBeginAllowThreads();
25397 (arg1)->_setCallbackInfo(arg2,arg3);
25398
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
25402 Py_INCREF(Py_None); resultobj = Py_None;
25403 return resultobj;
25404 fail:
25405 return NULL;
25406}
25407
25408
25409static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25410 PyObject *obj;
25411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25412 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25413 Py_INCREF(obj);
25414 return Py_BuildValue((char *)"");
25415}
25416static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25417 PyObject *resultobj;
25418 wxFileDataObject *result;
25419 char *kwnames[] = {
25420 NULL
25421 };
25422
25423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 result = (wxFileDataObject *)new wxFileDataObject();
25427
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
25431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25432 return resultobj;
25433 fail:
25434 return NULL;
25435}
25436
25437
25438static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
25439 PyObject *resultobj;
25440 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25441 wxArrayString *result;
25442 PyObject * obj0 = 0 ;
25443 char *kwnames[] = {
25444 (char *) "self", NULL
25445 };
25446
25447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 {
25453 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25454 result = (wxArrayString *) &_result_ref;
25455 }
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 {
25461 resultobj = wxArrayString2PyList_helper(*result);
25462 }
25463 return resultobj;
25464 fail:
25465 return NULL;
25466}
25467
25468
25469static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25470 PyObject *resultobj;
25471 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25472 wxString *arg2 = 0 ;
25473 bool temp2 = False ;
25474 PyObject * obj0 = 0 ;
25475 PyObject * obj1 = 0 ;
25476 char *kwnames[] = {
25477 (char *) "self",(char *) "filename", NULL
25478 };
25479
25480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25483 {
25484 arg2 = wxString_in_helper(obj1);
25485 if (arg2 == NULL) SWIG_fail;
25486 temp2 = True;
25487 }
25488 {
25489 PyThreadState* __tstate = wxPyBeginAllowThreads();
25490 (arg1)->AddFile((wxString const &)*arg2);
25491
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 Py_INCREF(Py_None); resultobj = Py_None;
25496 {
25497 if (temp2)
25498 delete arg2;
25499 }
25500 return resultobj;
25501 fail:
25502 {
25503 if (temp2)
25504 delete arg2;
25505 }
25506 return NULL;
25507}
25508
25509
25510static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
25511 PyObject *obj;
25512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25513 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25514 Py_INCREF(obj);
25515 return Py_BuildValue((char *)"");
25516}
25517static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25518 PyObject *resultobj;
25519 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25520 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25521 wxCustomDataObject *result;
25522 PyObject * obj0 = 0 ;
25523 char *kwnames[] = {
25524 (char *) "format", NULL
25525 };
25526
25527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25528 if (obj0) {
25529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25530 SWIG_POINTER_EXCEPTION | 0)) == -1)
25531 SWIG_fail;
25532 if (arg1 == NULL) {
25533 PyErr_SetString(PyExc_TypeError,"null reference");
25534 SWIG_fail;
25535 }
25536 }
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25540
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25545 return resultobj;
25546 fail:
25547 return NULL;
25548}
25549
25550
d55e5bfc
RD
25551static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25552 PyObject *resultobj;
25553 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25554 PyObject *arg2 = (PyObject *) 0 ;
25555 bool result;
25556 PyObject * obj0 = 0 ;
25557 PyObject * obj1 = 0 ;
25558 char *kwnames[] = {
25559 (char *) "self",(char *) "data", NULL
25560 };
25561
25562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25565 arg2 = obj1;
25566 {
25567 PyThreadState* __tstate = wxPyBeginAllowThreads();
25568 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25569
25570 wxPyEndAllowThreads(__tstate);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 {
25574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25575 }
25576 return resultobj;
25577 fail:
25578 return NULL;
25579}
25580
25581
25582static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25583 PyObject *resultobj;
25584 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25585 size_t result;
25586 PyObject * obj0 = 0 ;
25587 char *kwnames[] = {
25588 (char *) "self", NULL
25589 };
25590
25591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25594 {
25595 PyThreadState* __tstate = wxPyBeginAllowThreads();
25596 result = (size_t)(arg1)->GetSize();
25597
25598 wxPyEndAllowThreads(__tstate);
25599 if (PyErr_Occurred()) SWIG_fail;
25600 }
25601 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25602 return resultobj;
25603 fail:
25604 return NULL;
25605}
25606
25607
25608static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25609 PyObject *resultobj;
25610 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25611 PyObject *result;
25612 PyObject * obj0 = 0 ;
25613 char *kwnames[] = {
25614 (char *) "self", NULL
25615 };
25616
25617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25620 {
25621 PyThreadState* __tstate = wxPyBeginAllowThreads();
25622 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25623
25624 wxPyEndAllowThreads(__tstate);
25625 if (PyErr_Occurred()) SWIG_fail;
25626 }
25627 resultobj = result;
25628 return resultobj;
25629 fail:
25630 return NULL;
25631}
25632
25633
25634static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
25635 PyObject *obj;
25636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25637 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25638 Py_INCREF(obj);
25639 return Py_BuildValue((char *)"");
25640}
25641static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25642 PyObject *resultobj;
25643 wxURLDataObject *result;
25644 char *kwnames[] = {
25645 NULL
25646 };
25647
25648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25649 {
25650 PyThreadState* __tstate = wxPyBeginAllowThreads();
25651 result = (wxURLDataObject *)new wxURLDataObject();
25652
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
25656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25657 return resultobj;
25658 fail:
25659 return NULL;
25660}
25661
25662
25663static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25664 PyObject *resultobj;
25665 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25666 wxString result;
25667 PyObject * obj0 = 0 ;
25668 char *kwnames[] = {
25669 (char *) "self", NULL
25670 };
25671
25672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25675 {
25676 PyThreadState* __tstate = wxPyBeginAllowThreads();
25677 result = (arg1)->GetURL();
25678
25679 wxPyEndAllowThreads(__tstate);
25680 if (PyErr_Occurred()) SWIG_fail;
25681 }
25682 {
25683#if wxUSE_UNICODE
25684 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25685#else
25686 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25687#endif
25688 }
25689 return resultobj;
25690 fail:
25691 return NULL;
25692}
25693
25694
25695static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25696 PyObject *resultobj;
25697 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25698 wxString *arg2 = 0 ;
25699 bool temp2 = False ;
25700 PyObject * obj0 = 0 ;
25701 PyObject * obj1 = 0 ;
25702 char *kwnames[] = {
25703 (char *) "self",(char *) "url", NULL
25704 };
25705
25706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25709 {
25710 arg2 = wxString_in_helper(obj1);
25711 if (arg2 == NULL) SWIG_fail;
25712 temp2 = True;
25713 }
25714 {
25715 PyThreadState* __tstate = wxPyBeginAllowThreads();
25716 (arg1)->SetURL((wxString const &)*arg2);
25717
25718 wxPyEndAllowThreads(__tstate);
25719 if (PyErr_Occurred()) SWIG_fail;
25720 }
25721 Py_INCREF(Py_None); resultobj = Py_None;
25722 {
25723 if (temp2)
25724 delete arg2;
25725 }
25726 return resultobj;
25727 fail:
25728 {
25729 if (temp2)
25730 delete arg2;
25731 }
25732 return NULL;
25733}
25734
25735
25736static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25737 PyObject *obj;
25738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25739 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25740 Py_INCREF(obj);
25741 return Py_BuildValue((char *)"");
25742}
25743static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25744 PyObject *resultobj;
25745 wxMetafileDataObject *result;
25746 char *kwnames[] = {
25747 NULL
25748 };
25749
25750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25754
25755 wxPyEndAllowThreads(__tstate);
25756 if (PyErr_Occurred()) SWIG_fail;
25757 }
25758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
25759 return resultobj;
25760 fail:
25761 return NULL;
25762}
25763
25764
25765static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25766 PyObject *resultobj;
25767 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25768 wxMetafile *arg2 = 0 ;
25769 PyObject * obj0 = 0 ;
25770 PyObject * obj1 = 0 ;
25771 char *kwnames[] = {
25772 (char *) "self",(char *) "metafile", NULL
25773 };
25774
25775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
25776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25779 SWIG_POINTER_EXCEPTION | 0)) == -1)
25780 SWIG_fail;
25781 if (arg2 == NULL) {
25782 PyErr_SetString(PyExc_TypeError,"null reference");
25783 SWIG_fail;
25784 }
25785 {
25786 PyThreadState* __tstate = wxPyBeginAllowThreads();
25787 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25788
25789 wxPyEndAllowThreads(__tstate);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
25792 Py_INCREF(Py_None); resultobj = Py_None;
25793 return resultobj;
25794 fail:
25795 return NULL;
25796}
25797
25798
25799static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25800 PyObject *resultobj;
25801 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25802 wxMetafile result;
25803 PyObject * obj0 = 0 ;
25804 char *kwnames[] = {
25805 (char *) "self", NULL
25806 };
25807
25808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
25809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25811 {
25812 PyThreadState* __tstate = wxPyBeginAllowThreads();
25813 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25814
25815 wxPyEndAllowThreads(__tstate);
25816 if (PyErr_Occurred()) SWIG_fail;
25817 }
25818 {
25819 wxMetafile * resultptr;
25820 resultptr = new wxMetafile((wxMetafile &) result);
25821 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
25822 }
25823 return resultobj;
25824 fail:
25825 return NULL;
25826}
25827
25828
25829static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25830 PyObject *obj;
25831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25832 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25833 Py_INCREF(obj);
25834 return Py_BuildValue((char *)"");
25835}
25836static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25837 PyObject *resultobj;
25838 int arg1 ;
25839 bool result;
25840 PyObject * obj0 = 0 ;
25841 char *kwnames[] = {
25842 (char *) "res", NULL
25843 };
25844
25845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25846 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25847 if (PyErr_Occurred()) SWIG_fail;
25848 {
25849 PyThreadState* __tstate = wxPyBeginAllowThreads();
25850 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25851
25852 wxPyEndAllowThreads(__tstate);
25853 if (PyErr_Occurred()) SWIG_fail;
25854 }
25855 {
25856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25857 }
25858 return resultobj;
25859 fail:
25860 return NULL;
25861}
25862
25863
25864static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25865 PyObject *resultobj;
25866 wxWindow *arg1 = (wxWindow *) 0 ;
25867 wxCursor const &arg2_defvalue = wxNullCursor ;
25868 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25869 wxCursor const &arg3_defvalue = wxNullCursor ;
25870 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25871 wxCursor const &arg4_defvalue = wxNullCursor ;
25872 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25873 wxPyDropSource *result;
25874 PyObject * obj0 = 0 ;
25875 PyObject * obj1 = 0 ;
25876 PyObject * obj2 = 0 ;
25877 PyObject * obj3 = 0 ;
25878 char *kwnames[] = {
25879 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25880 };
25881
25882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25885 if (obj1) {
25886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25887 SWIG_POINTER_EXCEPTION | 0)) == -1)
25888 SWIG_fail;
25889 if (arg2 == NULL) {
25890 PyErr_SetString(PyExc_TypeError,"null reference");
25891 SWIG_fail;
25892 }
25893 }
25894 if (obj2) {
25895 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25896 SWIG_POINTER_EXCEPTION | 0)) == -1)
25897 SWIG_fail;
25898 if (arg3 == NULL) {
25899 PyErr_SetString(PyExc_TypeError,"null reference");
25900 SWIG_fail;
25901 }
25902 }
25903 if (obj3) {
25904 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25905 SWIG_POINTER_EXCEPTION | 0)) == -1)
25906 SWIG_fail;
25907 if (arg4 == NULL) {
25908 PyErr_SetString(PyExc_TypeError,"null reference");
25909 SWIG_fail;
25910 }
25911 }
25912 {
25913 PyThreadState* __tstate = wxPyBeginAllowThreads();
25914 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25915
25916 wxPyEndAllowThreads(__tstate);
25917 if (PyErr_Occurred()) SWIG_fail;
25918 }
25919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
25920 return resultobj;
25921 fail:
25922 return NULL;
25923}
25924
25925
25926static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25927 PyObject *resultobj;
25928 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25929 PyObject *arg2 = (PyObject *) 0 ;
25930 PyObject *arg3 = (PyObject *) 0 ;
25931 int arg4 ;
25932 PyObject * obj0 = 0 ;
25933 PyObject * obj1 = 0 ;
25934 PyObject * obj2 = 0 ;
25935 PyObject * obj3 = 0 ;
25936 char *kwnames[] = {
25937 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25938 };
25939
25940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25943 arg2 = obj1;
25944 arg3 = obj2;
25945 arg4 = (int) SWIG_AsInt(obj3);
25946 if (PyErr_Occurred()) SWIG_fail;
25947 {
25948 PyThreadState* __tstate = wxPyBeginAllowThreads();
25949 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25950
25951 wxPyEndAllowThreads(__tstate);
25952 if (PyErr_Occurred()) SWIG_fail;
25953 }
25954 Py_INCREF(Py_None); resultobj = Py_None;
25955 return resultobj;
25956 fail:
25957 return NULL;
25958}
25959
25960
25961static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25962 PyObject *resultobj;
25963 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25964 PyObject * obj0 = 0 ;
25965 char *kwnames[] = {
25966 (char *) "self", NULL
25967 };
25968
25969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25972 {
25973 PyThreadState* __tstate = wxPyBeginAllowThreads();
25974 delete arg1;
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_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25987 PyObject *resultobj;
25988 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25989 wxDataObject *arg2 = 0 ;
25990 PyObject * obj0 = 0 ;
25991 PyObject * obj1 = 0 ;
25992 char *kwnames[] = {
25993 (char *) "self",(char *) "data", NULL
25994 };
25995
25996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26000 SWIG_POINTER_EXCEPTION | 0)) == -1)
26001 SWIG_fail;
26002 if (arg2 == NULL) {
26003 PyErr_SetString(PyExc_TypeError,"null reference");
26004 SWIG_fail;
26005 }
26006 {
26007 PyThreadState* __tstate = wxPyBeginAllowThreads();
26008 (arg1)->SetData(*arg2);
26009
26010 wxPyEndAllowThreads(__tstate);
26011 if (PyErr_Occurred()) SWIG_fail;
26012 }
26013 Py_INCREF(Py_None); resultobj = Py_None;
26014 return resultobj;
26015 fail:
26016 return NULL;
26017}
26018
26019
26020static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26021 PyObject *resultobj;
26022 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26023 wxDataObject *result;
26024 PyObject * obj0 = 0 ;
26025 char *kwnames[] = {
26026 (char *) "self", NULL
26027 };
26028
26029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
26030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 result = (wxDataObject *)(arg1)->GetDataObject();
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26040 return resultobj;
26041 fail:
26042 return NULL;
26043}
26044
26045
26046static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26047 PyObject *resultobj;
26048 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26049 int arg2 ;
26050 wxCursor *arg3 = 0 ;
26051 PyObject * obj0 = 0 ;
26052 PyObject * obj1 = 0 ;
26053 PyObject * obj2 = 0 ;
26054 char *kwnames[] = {
26055 (char *) "self",(char *) "res",(char *) "cursor", NULL
26056 };
26057
26058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
26059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26061 arg2 = (wxDragResult) SWIG_AsInt(obj1);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
26064 SWIG_POINTER_EXCEPTION | 0)) == -1)
26065 SWIG_fail;
26066 if (arg3 == NULL) {
26067 PyErr_SetString(PyExc_TypeError,"null reference");
26068 SWIG_fail;
26069 }
26070 {
26071 PyThreadState* __tstate = wxPyBeginAllowThreads();
26072 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
26073
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 Py_INCREF(Py_None); resultobj = Py_None;
26078 return resultobj;
26079 fail:
26080 return NULL;
26081}
26082
26083
26084static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26085 PyObject *resultobj;
26086 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26087 int arg2 = (int) wxDrag_CopyOnly ;
26088 int result;
26089 PyObject * obj0 = 0 ;
26090 PyObject * obj1 = 0 ;
26091 char *kwnames[] = {
26092 (char *) "self",(char *) "flags", NULL
26093 };
26094
26095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
26096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26098 if (obj1) {
26099 arg2 = (int) SWIG_AsInt(obj1);
26100 if (PyErr_Occurred()) SWIG_fail;
26101 }
26102 {
26103 PyThreadState* __tstate = wxPyBeginAllowThreads();
26104 result = (int)(arg1)->DoDragDrop(arg2);
26105
26106 wxPyEndAllowThreads(__tstate);
26107 if (PyErr_Occurred()) SWIG_fail;
26108 }
26109 resultobj = SWIG_FromInt((int)result);
26110 return resultobj;
26111 fail:
26112 return NULL;
26113}
26114
26115
26116static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
26117 PyObject *resultobj;
26118 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26119 int arg2 ;
26120 bool result;
26121 PyObject * obj0 = 0 ;
26122 PyObject * obj1 = 0 ;
26123 char *kwnames[] = {
26124 (char *) "self",(char *) "effect", NULL
26125 };
26126
26127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
26128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26130 arg2 = (wxDragResult) SWIG_AsInt(obj1);
26131 if (PyErr_Occurred()) SWIG_fail;
26132 {
26133 PyThreadState* __tstate = wxPyBeginAllowThreads();
26134 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
26135
26136 wxPyEndAllowThreads(__tstate);
26137 if (PyErr_Occurred()) SWIG_fail;
26138 }
26139 {
26140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26141 }
26142 return resultobj;
26143 fail:
26144 return NULL;
26145}
26146
26147
26148static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
26149 PyObject *obj;
26150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26151 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
26152 Py_INCREF(obj);
26153 return Py_BuildValue((char *)"");
26154}
26155static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26156 PyObject *resultobj;
26157 wxDataObject *arg1 = (wxDataObject *) NULL ;
26158 wxPyDropTarget *result;
26159 PyObject * obj0 = 0 ;
26160 char *kwnames[] = {
26161 (char *) "dataObject", NULL
26162 };
26163
26164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
26165 if (obj0) {
26166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
26167 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26168 }
26169 {
26170 PyThreadState* __tstate = wxPyBeginAllowThreads();
26171 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
26172
26173 wxPyEndAllowThreads(__tstate);
26174 if (PyErr_Occurred()) SWIG_fail;
26175 }
26176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
26177 return resultobj;
26178 fail:
26179 return NULL;
26180}
26181
26182
26183static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26184 PyObject *resultobj;
26185 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26186 PyObject *arg2 = (PyObject *) 0 ;
26187 PyObject *arg3 = (PyObject *) 0 ;
26188 PyObject * obj0 = 0 ;
26189 PyObject * obj1 = 0 ;
26190 PyObject * obj2 = 0 ;
26191 char *kwnames[] = {
26192 (char *) "self",(char *) "self",(char *) "_class", NULL
26193 };
26194
26195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26198 arg2 = obj1;
26199 arg3 = obj2;
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 (arg1)->_setCallbackInfo(arg2,arg3);
26203
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
26207 Py_INCREF(Py_None); resultobj = Py_None;
26208 return resultobj;
26209 fail:
26210 return NULL;
26211}
26212
26213
26214static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26215 PyObject *resultobj;
26216 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26217 PyObject * obj0 = 0 ;
26218 char *kwnames[] = {
26219 (char *) "self", NULL
26220 };
26221
26222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26225 {
26226 PyThreadState* __tstate = wxPyBeginAllowThreads();
26227 delete arg1;
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_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26240 PyObject *resultobj;
26241 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26242 wxDataObject *result;
26243 PyObject * obj0 = 0 ;
26244 char *kwnames[] = {
26245 (char *) "self", NULL
26246 };
26247
26248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26251 {
26252 PyThreadState* __tstate = wxPyBeginAllowThreads();
26253 result = (wxDataObject *)(arg1)->GetDataObject();
26254
26255 wxPyEndAllowThreads(__tstate);
26256 if (PyErr_Occurred()) SWIG_fail;
26257 }
26258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26259 return resultobj;
26260 fail:
26261 return NULL;
26262}
26263
26264
26265static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26266 PyObject *resultobj;
26267 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26268 wxDataObject *arg2 = (wxDataObject *) 0 ;
26269 PyObject * obj0 = 0 ;
26270 PyObject * obj1 = 0 ;
26271 char *kwnames[] = {
26272 (char *) "self",(char *) "dataObject", NULL
26273 };
26274
26275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26279 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 (arg1)->SetDataObject(arg2);
26283
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 Py_INCREF(Py_None); resultobj = Py_None;
26288 return resultobj;
26289 fail:
26290 return NULL;
26291}
26292
26293
26294static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26295 PyObject *resultobj;
26296 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26297 int arg2 ;
26298 int arg3 ;
26299 int arg4 ;
26300 int result;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 PyObject * obj2 = 0 ;
26304 PyObject * obj3 = 0 ;
26305 char *kwnames[] = {
26306 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26307 };
26308
26309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26312 arg2 = (int) SWIG_AsInt(obj1);
26313 if (PyErr_Occurred()) SWIG_fail;
26314 arg3 = (int) SWIG_AsInt(obj2);
26315 if (PyErr_Occurred()) SWIG_fail;
26316 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26317 if (PyErr_Occurred()) SWIG_fail;
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26321
26322 wxPyEndAllowThreads(__tstate);
26323 if (PyErr_Occurred()) SWIG_fail;
26324 }
26325 resultobj = SWIG_FromInt((int)result);
26326 return resultobj;
26327 fail:
26328 return NULL;
26329}
26330
26331
26332static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26333 PyObject *resultobj;
26334 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26335 int arg2 ;
26336 int arg3 ;
26337 int arg4 ;
26338 int result;
26339 PyObject * obj0 = 0 ;
26340 PyObject * obj1 = 0 ;
26341 PyObject * obj2 = 0 ;
26342 PyObject * obj3 = 0 ;
26343 char *kwnames[] = {
26344 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26345 };
26346
26347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26350 arg2 = (int) SWIG_AsInt(obj1);
26351 if (PyErr_Occurred()) SWIG_fail;
26352 arg3 = (int) SWIG_AsInt(obj2);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 {
26357 PyThreadState* __tstate = wxPyBeginAllowThreads();
26358 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26359
26360 wxPyEndAllowThreads(__tstate);
26361 if (PyErr_Occurred()) SWIG_fail;
26362 }
26363 resultobj = SWIG_FromInt((int)result);
26364 return resultobj;
26365 fail:
26366 return NULL;
26367}
26368
26369
26370static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26371 PyObject *resultobj;
26372 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26373 PyObject * obj0 = 0 ;
26374 char *kwnames[] = {
26375 (char *) "self", NULL
26376 };
26377
26378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26381 {
26382 PyThreadState* __tstate = wxPyBeginAllowThreads();
26383 (arg1)->base_OnLeave();
26384
26385 wxPyEndAllowThreads(__tstate);
26386 if (PyErr_Occurred()) SWIG_fail;
26387 }
26388 Py_INCREF(Py_None); resultobj = Py_None;
26389 return resultobj;
26390 fail:
26391 return NULL;
26392}
26393
26394
26395static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26396 PyObject *resultobj;
26397 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26398 int arg2 ;
26399 int arg3 ;
26400 bool result;
26401 PyObject * obj0 = 0 ;
26402 PyObject * obj1 = 0 ;
26403 PyObject * obj2 = 0 ;
26404 char *kwnames[] = {
26405 (char *) "self",(char *) "x",(char *) "y", NULL
26406 };
26407
26408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26411 arg2 = (int) SWIG_AsInt(obj1);
26412 if (PyErr_Occurred()) SWIG_fail;
26413 arg3 = (int) SWIG_AsInt(obj2);
26414 if (PyErr_Occurred()) SWIG_fail;
26415 {
26416 PyThreadState* __tstate = wxPyBeginAllowThreads();
26417 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26418
26419 wxPyEndAllowThreads(__tstate);
26420 if (PyErr_Occurred()) SWIG_fail;
26421 }
26422 {
26423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26424 }
26425 return resultobj;
26426 fail:
26427 return NULL;
26428}
26429
26430
26431static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26432 PyObject *resultobj;
26433 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26434 bool result;
26435 PyObject * obj0 = 0 ;
26436 char *kwnames[] = {
26437 (char *) "self", NULL
26438 };
26439
26440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26443 {
26444 PyThreadState* __tstate = wxPyBeginAllowThreads();
26445 result = (bool)(arg1)->GetData();
26446
26447 wxPyEndAllowThreads(__tstate);
26448 if (PyErr_Occurred()) SWIG_fail;
26449 }
26450 {
26451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26452 }
26453 return resultobj;
26454 fail:
26455 return NULL;
26456}
26457
26458
26459static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
26460 PyObject *obj;
26461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26462 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26463 Py_INCREF(obj);
26464 return Py_BuildValue((char *)"");
26465}
26466static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26467 PyObject *resultobj;
26468 wxPyTextDropTarget *result;
26469 char *kwnames[] = {
26470 NULL
26471 };
26472
26473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26474 {
26475 PyThreadState* __tstate = wxPyBeginAllowThreads();
26476 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26477
26478 wxPyEndAllowThreads(__tstate);
26479 if (PyErr_Occurred()) SWIG_fail;
26480 }
26481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26482 return resultobj;
26483 fail:
26484 return NULL;
26485}
26486
26487
26488static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26489 PyObject *resultobj;
26490 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26491 PyObject *arg2 = (PyObject *) 0 ;
26492 PyObject *arg3 = (PyObject *) 0 ;
26493 PyObject * obj0 = 0 ;
26494 PyObject * obj1 = 0 ;
26495 PyObject * obj2 = 0 ;
26496 char *kwnames[] = {
26497 (char *) "self",(char *) "self",(char *) "_class", NULL
26498 };
26499
26500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26503 arg2 = obj1;
26504 arg3 = obj2;
26505 {
26506 PyThreadState* __tstate = wxPyBeginAllowThreads();
26507 (arg1)->_setCallbackInfo(arg2,arg3);
26508
26509 wxPyEndAllowThreads(__tstate);
26510 if (PyErr_Occurred()) SWIG_fail;
26511 }
26512 Py_INCREF(Py_None); resultobj = Py_None;
26513 return resultobj;
26514 fail:
26515 return NULL;
26516}
26517
26518
26519static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26520 PyObject *resultobj;
26521 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26522 int arg2 ;
26523 int arg3 ;
26524 int arg4 ;
26525 int result;
26526 PyObject * obj0 = 0 ;
26527 PyObject * obj1 = 0 ;
26528 PyObject * obj2 = 0 ;
26529 PyObject * obj3 = 0 ;
26530 char *kwnames[] = {
26531 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26532 };
26533
26534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26537 arg2 = (int) SWIG_AsInt(obj1);
26538 if (PyErr_Occurred()) SWIG_fail;
26539 arg3 = (int) SWIG_AsInt(obj2);
26540 if (PyErr_Occurred()) SWIG_fail;
26541 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26542 if (PyErr_Occurred()) SWIG_fail;
26543 {
26544 PyThreadState* __tstate = wxPyBeginAllowThreads();
26545 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26546
26547 wxPyEndAllowThreads(__tstate);
26548 if (PyErr_Occurred()) SWIG_fail;
26549 }
26550 resultobj = SWIG_FromInt((int)result);
26551 return resultobj;
26552 fail:
26553 return NULL;
26554}
26555
26556
26557static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26558 PyObject *resultobj;
26559 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26560 int arg2 ;
26561 int arg3 ;
26562 int arg4 ;
26563 int result;
26564 PyObject * obj0 = 0 ;
26565 PyObject * obj1 = 0 ;
26566 PyObject * obj2 = 0 ;
26567 PyObject * obj3 = 0 ;
26568 char *kwnames[] = {
26569 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26570 };
26571
26572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26575 arg2 = (int) SWIG_AsInt(obj1);
26576 if (PyErr_Occurred()) SWIG_fail;
26577 arg3 = (int) SWIG_AsInt(obj2);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26580 if (PyErr_Occurred()) SWIG_fail;
26581 {
26582 PyThreadState* __tstate = wxPyBeginAllowThreads();
26583 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26584
26585 wxPyEndAllowThreads(__tstate);
26586 if (PyErr_Occurred()) SWIG_fail;
26587 }
26588 resultobj = SWIG_FromInt((int)result);
26589 return resultobj;
26590 fail:
26591 return NULL;
26592}
26593
26594
26595static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26596 PyObject *resultobj;
26597 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26598 PyObject * obj0 = 0 ;
26599 char *kwnames[] = {
26600 (char *) "self", NULL
26601 };
26602
26603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26606 {
26607 PyThreadState* __tstate = wxPyBeginAllowThreads();
26608 (arg1)->base_OnLeave();
26609
26610 wxPyEndAllowThreads(__tstate);
26611 if (PyErr_Occurred()) SWIG_fail;
26612 }
26613 Py_INCREF(Py_None); resultobj = Py_None;
26614 return resultobj;
26615 fail:
26616 return NULL;
26617}
26618
26619
26620static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26621 PyObject *resultobj;
26622 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26623 int arg2 ;
26624 int arg3 ;
26625 bool result;
26626 PyObject * obj0 = 0 ;
26627 PyObject * obj1 = 0 ;
26628 PyObject * obj2 = 0 ;
26629 char *kwnames[] = {
26630 (char *) "self",(char *) "x",(char *) "y", NULL
26631 };
26632
26633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26636 arg2 = (int) SWIG_AsInt(obj1);
26637 if (PyErr_Occurred()) SWIG_fail;
26638 arg3 = (int) SWIG_AsInt(obj2);
26639 if (PyErr_Occurred()) SWIG_fail;
26640 {
26641 PyThreadState* __tstate = wxPyBeginAllowThreads();
26642 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26643
26644 wxPyEndAllowThreads(__tstate);
26645 if (PyErr_Occurred()) SWIG_fail;
26646 }
26647 {
26648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26649 }
26650 return resultobj;
26651 fail:
26652 return NULL;
26653}
26654
26655
26656static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26657 PyObject *resultobj;
26658 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26659 int arg2 ;
26660 int arg3 ;
26661 int arg4 ;
26662 int result;
26663 PyObject * obj0 = 0 ;
26664 PyObject * obj1 = 0 ;
26665 PyObject * obj2 = 0 ;
26666 PyObject * obj3 = 0 ;
26667 char *kwnames[] = {
26668 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26669 };
26670
26671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26674 arg2 = (int) SWIG_AsInt(obj1);
26675 if (PyErr_Occurred()) SWIG_fail;
26676 arg3 = (int) SWIG_AsInt(obj2);
26677 if (PyErr_Occurred()) SWIG_fail;
26678 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26679 if (PyErr_Occurred()) SWIG_fail;
26680 {
26681 PyThreadState* __tstate = wxPyBeginAllowThreads();
26682 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26683
26684 wxPyEndAllowThreads(__tstate);
26685 if (PyErr_Occurred()) SWIG_fail;
26686 }
26687 resultobj = SWIG_FromInt((int)result);
26688 return resultobj;
26689 fail:
26690 return NULL;
26691}
26692
26693
26694static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26695 PyObject *obj;
26696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26697 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26698 Py_INCREF(obj);
26699 return Py_BuildValue((char *)"");
26700}
26701static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26702 PyObject *resultobj;
26703 wxPyFileDropTarget *result;
26704 char *kwnames[] = {
26705 NULL
26706 };
26707
26708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26709 {
26710 PyThreadState* __tstate = wxPyBeginAllowThreads();
26711 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26712
26713 wxPyEndAllowThreads(__tstate);
26714 if (PyErr_Occurred()) SWIG_fail;
26715 }
26716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26717 return resultobj;
26718 fail:
26719 return NULL;
26720}
26721
26722
26723static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26724 PyObject *resultobj;
26725 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26726 PyObject *arg2 = (PyObject *) 0 ;
26727 PyObject *arg3 = (PyObject *) 0 ;
26728 PyObject * obj0 = 0 ;
26729 PyObject * obj1 = 0 ;
26730 PyObject * obj2 = 0 ;
26731 char *kwnames[] = {
26732 (char *) "self",(char *) "self",(char *) "_class", NULL
26733 };
26734
26735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26738 arg2 = obj1;
26739 arg3 = obj2;
26740 {
26741 PyThreadState* __tstate = wxPyBeginAllowThreads();
26742 (arg1)->_setCallbackInfo(arg2,arg3);
26743
26744 wxPyEndAllowThreads(__tstate);
26745 if (PyErr_Occurred()) SWIG_fail;
26746 }
26747 Py_INCREF(Py_None); resultobj = Py_None;
26748 return resultobj;
26749 fail:
26750 return NULL;
26751}
26752
26753
26754static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26755 PyObject *resultobj;
26756 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26757 int arg2 ;
26758 int arg3 ;
26759 int arg4 ;
26760 int result;
26761 PyObject * obj0 = 0 ;
26762 PyObject * obj1 = 0 ;
26763 PyObject * obj2 = 0 ;
26764 PyObject * obj3 = 0 ;
26765 char *kwnames[] = {
26766 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26767 };
26768
26769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26772 arg2 = (int) SWIG_AsInt(obj1);
26773 if (PyErr_Occurred()) SWIG_fail;
26774 arg3 = (int) SWIG_AsInt(obj2);
26775 if (PyErr_Occurred()) SWIG_fail;
26776 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26777 if (PyErr_Occurred()) SWIG_fail;
26778 {
26779 PyThreadState* __tstate = wxPyBeginAllowThreads();
26780 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26781
26782 wxPyEndAllowThreads(__tstate);
26783 if (PyErr_Occurred()) SWIG_fail;
26784 }
26785 resultobj = SWIG_FromInt((int)result);
26786 return resultobj;
26787 fail:
26788 return NULL;
26789}
26790
26791
26792static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26793 PyObject *resultobj;
26794 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26795 int arg2 ;
26796 int arg3 ;
26797 int arg4 ;
26798 int result;
26799 PyObject * obj0 = 0 ;
26800 PyObject * obj1 = 0 ;
26801 PyObject * obj2 = 0 ;
26802 PyObject * obj3 = 0 ;
26803 char *kwnames[] = {
26804 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26805 };
26806
26807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26810 arg2 = (int) SWIG_AsInt(obj1);
26811 if (PyErr_Occurred()) SWIG_fail;
26812 arg3 = (int) SWIG_AsInt(obj2);
26813 if (PyErr_Occurred()) SWIG_fail;
26814 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26815 if (PyErr_Occurred()) SWIG_fail;
26816 {
26817 PyThreadState* __tstate = wxPyBeginAllowThreads();
26818 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26819
26820 wxPyEndAllowThreads(__tstate);
26821 if (PyErr_Occurred()) SWIG_fail;
26822 }
26823 resultobj = SWIG_FromInt((int)result);
26824 return resultobj;
26825 fail:
26826 return NULL;
26827}
26828
26829
26830static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26831 PyObject *resultobj;
26832 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26833 PyObject * obj0 = 0 ;
26834 char *kwnames[] = {
26835 (char *) "self", NULL
26836 };
26837
26838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26841 {
26842 PyThreadState* __tstate = wxPyBeginAllowThreads();
26843 (arg1)->base_OnLeave();
26844
26845 wxPyEndAllowThreads(__tstate);
26846 if (PyErr_Occurred()) SWIG_fail;
26847 }
26848 Py_INCREF(Py_None); resultobj = Py_None;
26849 return resultobj;
26850 fail:
26851 return NULL;
26852}
26853
26854
26855static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26856 PyObject *resultobj;
26857 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26858 int arg2 ;
26859 int arg3 ;
26860 bool result;
26861 PyObject * obj0 = 0 ;
26862 PyObject * obj1 = 0 ;
26863 PyObject * obj2 = 0 ;
26864 char *kwnames[] = {
26865 (char *) "self",(char *) "x",(char *) "y", NULL
26866 };
26867
26868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26871 arg2 = (int) SWIG_AsInt(obj1);
26872 if (PyErr_Occurred()) SWIG_fail;
26873 arg3 = (int) SWIG_AsInt(obj2);
26874 if (PyErr_Occurred()) SWIG_fail;
26875 {
26876 PyThreadState* __tstate = wxPyBeginAllowThreads();
26877 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26878
26879 wxPyEndAllowThreads(__tstate);
26880 if (PyErr_Occurred()) SWIG_fail;
26881 }
26882 {
26883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26884 }
26885 return resultobj;
26886 fail:
26887 return NULL;
26888}
26889
26890
26891static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26892 PyObject *resultobj;
26893 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26894 int arg2 ;
26895 int arg3 ;
26896 int arg4 ;
26897 int result;
26898 PyObject * obj0 = 0 ;
26899 PyObject * obj1 = 0 ;
26900 PyObject * obj2 = 0 ;
26901 PyObject * obj3 = 0 ;
26902 char *kwnames[] = {
26903 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26904 };
26905
26906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26909 arg2 = (int) SWIG_AsInt(obj1);
26910 if (PyErr_Occurred()) SWIG_fail;
26911 arg3 = (int) SWIG_AsInt(obj2);
26912 if (PyErr_Occurred()) SWIG_fail;
26913 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26914 if (PyErr_Occurred()) SWIG_fail;
26915 {
26916 PyThreadState* __tstate = wxPyBeginAllowThreads();
26917 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26918
26919 wxPyEndAllowThreads(__tstate);
26920 if (PyErr_Occurred()) SWIG_fail;
26921 }
26922 resultobj = SWIG_FromInt((int)result);
26923 return resultobj;
26924 fail:
26925 return NULL;
26926}
26927
26928
26929static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26930 PyObject *obj;
26931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26932 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26933 Py_INCREF(obj);
26934 return Py_BuildValue((char *)"");
26935}
26936static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26937 PyObject *resultobj;
26938 wxClipboard *result;
26939 char *kwnames[] = {
26940 NULL
26941 };
26942
26943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26944 {
26945 PyThreadState* __tstate = wxPyBeginAllowThreads();
26946 result = (wxClipboard *)new wxClipboard();
26947
26948 wxPyEndAllowThreads(__tstate);
26949 if (PyErr_Occurred()) SWIG_fail;
26950 }
26951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
26952 return resultobj;
26953 fail:
26954 return NULL;
26955}
26956
26957
26958static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26959 PyObject *resultobj;
26960 wxClipboard *arg1 = (wxClipboard *) 0 ;
26961 PyObject * obj0 = 0 ;
26962 char *kwnames[] = {
26963 (char *) "self", NULL
26964 };
26965
26966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26969 {
26970 PyThreadState* __tstate = wxPyBeginAllowThreads();
26971 delete arg1;
26972
26973 wxPyEndAllowThreads(__tstate);
26974 if (PyErr_Occurred()) SWIG_fail;
26975 }
26976 Py_INCREF(Py_None); resultobj = Py_None;
26977 return resultobj;
26978 fail:
26979 return NULL;
26980}
26981
26982
26983static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26984 PyObject *resultobj;
26985 wxClipboard *arg1 = (wxClipboard *) 0 ;
26986 bool result;
26987 PyObject * obj0 = 0 ;
26988 char *kwnames[] = {
26989 (char *) "self", NULL
26990 };
26991
26992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26995 {
26996 PyThreadState* __tstate = wxPyBeginAllowThreads();
26997 result = (bool)(arg1)->Open();
26998
26999 wxPyEndAllowThreads(__tstate);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 }
27002 {
27003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27004 }
27005 return resultobj;
27006 fail:
27007 return NULL;
27008}
27009
27010
27011static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
27012 PyObject *resultobj;
27013 wxClipboard *arg1 = (wxClipboard *) 0 ;
27014 PyObject * obj0 = 0 ;
27015 char *kwnames[] = {
27016 (char *) "self", NULL
27017 };
27018
27019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
27020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27022 {
27023 PyThreadState* __tstate = wxPyBeginAllowThreads();
27024 (arg1)->Close();
27025
27026 wxPyEndAllowThreads(__tstate);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 }
27029 Py_INCREF(Py_None); resultobj = Py_None;
27030 return resultobj;
27031 fail:
27032 return NULL;
27033}
27034
27035
27036static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
27037 PyObject *resultobj;
27038 wxClipboard *arg1 = (wxClipboard *) 0 ;
27039 bool result;
27040 PyObject * obj0 = 0 ;
27041 char *kwnames[] = {
27042 (char *) "self", NULL
27043 };
27044
27045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
27046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27048 {
27049 PyThreadState* __tstate = wxPyBeginAllowThreads();
27050 result = (bool)((wxClipboard const *)arg1)->IsOpened();
27051
27052 wxPyEndAllowThreads(__tstate);
27053 if (PyErr_Occurred()) SWIG_fail;
27054 }
27055 {
27056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27057 }
27058 return resultobj;
27059 fail:
27060 return NULL;
27061}
27062
27063
27064static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
27065 PyObject *resultobj;
27066 wxClipboard *arg1 = (wxClipboard *) 0 ;
27067 wxDataObject *arg2 = (wxDataObject *) 0 ;
27068 bool result;
27069 PyObject * obj0 = 0 ;
27070 PyObject * obj1 = 0 ;
27071 char *kwnames[] = {
27072 (char *) "self",(char *) "data", NULL
27073 };
27074
27075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
27076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27079 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 result = (bool)(arg1)->AddData(arg2);
27083
27084 wxPyEndAllowThreads(__tstate);
27085 if (PyErr_Occurred()) SWIG_fail;
27086 }
27087 {
27088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27089 }
27090 return resultobj;
27091 fail:
27092 return NULL;
27093}
27094
27095
27096static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27097 PyObject *resultobj;
27098 wxClipboard *arg1 = (wxClipboard *) 0 ;
27099 wxDataObject *arg2 = (wxDataObject *) 0 ;
27100 bool result;
27101 PyObject * obj0 = 0 ;
27102 PyObject * obj1 = 0 ;
27103 char *kwnames[] = {
27104 (char *) "self",(char *) "data", NULL
27105 };
27106
27107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
27108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27110 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27111 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27112 {
27113 PyThreadState* __tstate = wxPyBeginAllowThreads();
27114 result = (bool)(arg1)->SetData(arg2);
27115
27116 wxPyEndAllowThreads(__tstate);
27117 if (PyErr_Occurred()) SWIG_fail;
27118 }
27119 {
27120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27121 }
27122 return resultobj;
27123 fail:
27124 return NULL;
27125}
27126
27127
27128static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
27129 PyObject *resultobj;
27130 wxClipboard *arg1 = (wxClipboard *) 0 ;
27131 wxDataFormat *arg2 = 0 ;
27132 bool result;
27133 PyObject * obj0 = 0 ;
27134 PyObject * obj1 = 0 ;
27135 char *kwnames[] = {
27136 (char *) "self",(char *) "format", NULL
27137 };
27138
27139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
27140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
27143 SWIG_POINTER_EXCEPTION | 0)) == -1)
27144 SWIG_fail;
27145 if (arg2 == NULL) {
27146 PyErr_SetString(PyExc_TypeError,"null reference");
27147 SWIG_fail;
27148 }
27149 {
27150 PyThreadState* __tstate = wxPyBeginAllowThreads();
27151 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
27152
27153 wxPyEndAllowThreads(__tstate);
27154 if (PyErr_Occurred()) SWIG_fail;
27155 }
27156 {
27157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27158 }
27159 return resultobj;
27160 fail:
27161 return NULL;
27162}
27163
27164
27165static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27166 PyObject *resultobj;
27167 wxClipboard *arg1 = (wxClipboard *) 0 ;
27168 wxDataObject *arg2 = 0 ;
27169 bool result;
27170 PyObject * obj0 = 0 ;
27171 PyObject * obj1 = 0 ;
27172 char *kwnames[] = {
27173 (char *) "self",(char *) "data", NULL
27174 };
27175
27176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
27177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27180 SWIG_POINTER_EXCEPTION | 0)) == -1)
27181 SWIG_fail;
27182 if (arg2 == NULL) {
27183 PyErr_SetString(PyExc_TypeError,"null reference");
27184 SWIG_fail;
27185 }
27186 {
27187 PyThreadState* __tstate = wxPyBeginAllowThreads();
27188 result = (bool)(arg1)->GetData(*arg2);
27189
27190 wxPyEndAllowThreads(__tstate);
27191 if (PyErr_Occurred()) SWIG_fail;
27192 }
27193 {
27194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27195 }
27196 return resultobj;
27197 fail:
27198 return NULL;
27199}
27200
27201
27202static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
27203 PyObject *resultobj;
27204 wxClipboard *arg1 = (wxClipboard *) 0 ;
27205 PyObject * obj0 = 0 ;
27206 char *kwnames[] = {
27207 (char *) "self", NULL
27208 };
27209
27210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27213 {
27214 PyThreadState* __tstate = wxPyBeginAllowThreads();
27215 (arg1)->Clear();
27216
27217 wxPyEndAllowThreads(__tstate);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
27220 Py_INCREF(Py_None); resultobj = Py_None;
27221 return resultobj;
27222 fail:
27223 return NULL;
27224}
27225
27226
27227static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
27228 PyObject *resultobj;
27229 wxClipboard *arg1 = (wxClipboard *) 0 ;
27230 bool result;
27231 PyObject * obj0 = 0 ;
27232 char *kwnames[] = {
27233 (char *) "self", NULL
27234 };
27235
27236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27239 {
27240 PyThreadState* __tstate = wxPyBeginAllowThreads();
27241 result = (bool)(arg1)->Flush();
27242
27243 wxPyEndAllowThreads(__tstate);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 }
27246 {
27247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27248 }
27249 return resultobj;
27250 fail:
27251 return NULL;
27252}
27253
27254
27255static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27256 PyObject *resultobj;
27257 wxClipboard *arg1 = (wxClipboard *) 0 ;
27258 bool arg2 = (bool) True ;
27259 PyObject * obj0 = 0 ;
27260 PyObject * obj1 = 0 ;
27261 char *kwnames[] = {
27262 (char *) "self",(char *) "primary", NULL
27263 };
27264
27265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27268 if (obj1) {
27269 arg2 = (bool) SWIG_AsBool(obj1);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
27272 {
27273 PyThreadState* __tstate = wxPyBeginAllowThreads();
27274 (arg1)->UsePrimarySelection(arg2);
27275
27276 wxPyEndAllowThreads(__tstate);
27277 if (PyErr_Occurred()) SWIG_fail;
27278 }
27279 Py_INCREF(Py_None); resultobj = Py_None;
27280 return resultobj;
27281 fail:
27282 return NULL;
27283}
27284
27285
a001823c
RD
27286static PyObject *_wrap_Clipboard_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
27287 PyObject *resultobj;
27288 wxClipboard *result;
27289 char *kwnames[] = {
27290 NULL
27291 };
27292
27293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
27294 {
27295 PyThreadState* __tstate = wxPyBeginAllowThreads();
27296 result = (wxClipboard *)wxClipboard::Get();
27297
27298 wxPyEndAllowThreads(__tstate);
27299 if (PyErr_Occurred()) SWIG_fail;
27300 }
27301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
27302 return resultobj;
27303 fail:
27304 return NULL;
27305}
27306
27307
d55e5bfc
RD
27308static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
27309 PyObject *obj;
27310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27311 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27312 Py_INCREF(obj);
27313 return Py_BuildValue((char *)"");
27314}
d55e5bfc
RD
27315static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27316 PyObject *resultobj;
27317 wxClipboard *arg1 = (wxClipboard *) NULL ;
27318 wxClipboardLocker *result;
27319 PyObject * obj0 = 0 ;
27320 char *kwnames[] = {
27321 (char *) "clipboard", NULL
27322 };
27323
27324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27325 if (obj0) {
27326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27328 }
27329 {
27330 PyThreadState* __tstate = wxPyBeginAllowThreads();
27331 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27332
27333 wxPyEndAllowThreads(__tstate);
27334 if (PyErr_Occurred()) SWIG_fail;
27335 }
27336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27337 return resultobj;
27338 fail:
27339 return NULL;
27340}
27341
27342
27343static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27344 PyObject *resultobj;
27345 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27346 PyObject * obj0 = 0 ;
27347 char *kwnames[] = {
27348 (char *) "self", NULL
27349 };
27350
27351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27354 {
27355 PyThreadState* __tstate = wxPyBeginAllowThreads();
27356 delete arg1;
27357
27358 wxPyEndAllowThreads(__tstate);
27359 if (PyErr_Occurred()) SWIG_fail;
27360 }
27361 Py_INCREF(Py_None); resultobj = Py_None;
27362 return resultobj;
27363 fail:
27364 return NULL;
27365}
27366
27367
27368static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
27369 PyObject *resultobj;
27370 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27371 bool result;
27372 PyObject * obj0 = 0 ;
27373 char *kwnames[] = {
27374 (char *) "self", NULL
27375 };
27376
27377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27380 {
27381 PyThreadState* __tstate = wxPyBeginAllowThreads();
27382 result = (bool)wxClipboardLocker___nonzero__(arg1);
27383
27384 wxPyEndAllowThreads(__tstate);
27385 if (PyErr_Occurred()) SWIG_fail;
27386 }
27387 {
27388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27389 }
27390 return resultobj;
27391 fail:
27392 return NULL;
27393}
27394
27395
27396static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
27397 PyObject *obj;
27398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27399 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27400 Py_INCREF(obj);
27401 return Py_BuildValue((char *)"");
27402}
27403static PyObject *_wrap_new_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27404 PyObject *resultobj;
27405 int arg1 = (int) 0 ;
27406 int arg2 = (int) 0 ;
27407 int arg3 = (int) 0 ;
27408 int arg4 = (int) 0 ;
27409 wxVideoMode *result;
27410 PyObject * obj0 = 0 ;
27411 PyObject * obj1 = 0 ;
27412 PyObject * obj2 = 0 ;
27413 PyObject * obj3 = 0 ;
27414 char *kwnames[] = {
27415 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27416 };
27417
27418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27419 if (obj0) {
27420 arg1 = (int) SWIG_AsInt(obj0);
27421 if (PyErr_Occurred()) SWIG_fail;
27422 }
27423 if (obj1) {
27424 arg2 = (int) SWIG_AsInt(obj1);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 if (obj2) {
27428 arg3 = (int) SWIG_AsInt(obj2);
27429 if (PyErr_Occurred()) SWIG_fail;
27430 }
27431 if (obj3) {
27432 arg4 = (int) SWIG_AsInt(obj3);
27433 if (PyErr_Occurred()) SWIG_fail;
27434 }
27435 {
27436 PyThreadState* __tstate = wxPyBeginAllowThreads();
27437 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27438
27439 wxPyEndAllowThreads(__tstate);
27440 if (PyErr_Occurred()) SWIG_fail;
27441 }
27442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27443 return resultobj;
27444 fail:
27445 return NULL;
27446}
27447
27448
27449static PyObject *_wrap_delete_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27450 PyObject *resultobj;
27451 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27452 PyObject * obj0 = 0 ;
27453 char *kwnames[] = {
27454 (char *) "self", NULL
27455 };
27456
27457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27460 {
27461 PyThreadState* __tstate = wxPyBeginAllowThreads();
27462 delete arg1;
27463
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 Py_INCREF(Py_None); resultobj = Py_None;
27468 return resultobj;
27469 fail:
27470 return NULL;
27471}
27472
27473
27474static PyObject *_wrap_VideoMode_Matches(PyObject *self, PyObject *args, PyObject *kwargs) {
27475 PyObject *resultobj;
27476 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27477 wxVideoMode *arg2 = 0 ;
27478 bool result;
27479 PyObject * obj0 = 0 ;
27480 PyObject * obj1 = 0 ;
27481 char *kwnames[] = {
27482 (char *) "self",(char *) "other", NULL
27483 };
27484
27485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27489 SWIG_POINTER_EXCEPTION | 0)) == -1)
27490 SWIG_fail;
27491 if (arg2 == NULL) {
27492 PyErr_SetString(PyExc_TypeError,"null reference");
27493 SWIG_fail;
27494 }
27495 {
27496 PyThreadState* __tstate = wxPyBeginAllowThreads();
27497 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27498
27499 wxPyEndAllowThreads(__tstate);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 {
27503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27504 }
27505 return resultobj;
27506 fail:
27507 return NULL;
27508}
27509
27510
27511static PyObject *_wrap_VideoMode_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
27512 PyObject *resultobj;
27513 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27514 int result;
27515 PyObject * obj0 = 0 ;
27516 char *kwnames[] = {
27517 (char *) "self", NULL
27518 };
27519
27520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27526
27527 wxPyEndAllowThreads(__tstate);
27528 if (PyErr_Occurred()) SWIG_fail;
27529 }
27530 resultobj = SWIG_FromInt((int)result);
27531 return resultobj;
27532 fail:
27533 return NULL;
27534}
27535
27536
27537static PyObject *_wrap_VideoMode_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
27538 PyObject *resultobj;
27539 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27540 int result;
27541 PyObject * obj0 = 0 ;
27542 char *kwnames[] = {
27543 (char *) "self", NULL
27544 };
27545
27546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27549 {
27550 PyThreadState* __tstate = wxPyBeginAllowThreads();
27551 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27552
27553 wxPyEndAllowThreads(__tstate);
27554 if (PyErr_Occurred()) SWIG_fail;
27555 }
27556 resultobj = SWIG_FromInt((int)result);
27557 return resultobj;
27558 fail:
27559 return NULL;
27560}
27561
27562
27563static PyObject *_wrap_VideoMode_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
27564 PyObject *resultobj;
27565 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27566 int result;
27567 PyObject * obj0 = 0 ;
27568 char *kwnames[] = {
27569 (char *) "self", NULL
27570 };
27571
27572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27575 {
27576 PyThreadState* __tstate = wxPyBeginAllowThreads();
27577 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27578
27579 wxPyEndAllowThreads(__tstate);
27580 if (PyErr_Occurred()) SWIG_fail;
27581 }
27582 resultobj = SWIG_FromInt((int)result);
27583 return resultobj;
27584 fail:
27585 return NULL;
27586}
27587
27588
27589static PyObject *_wrap_VideoMode_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27590 PyObject *resultobj;
27591 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27592 bool result;
27593 PyObject * obj0 = 0 ;
27594 char *kwnames[] = {
27595 (char *) "self", NULL
27596 };
27597
27598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27601 {
27602 PyThreadState* __tstate = wxPyBeginAllowThreads();
27603 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27604
27605 wxPyEndAllowThreads(__tstate);
27606 if (PyErr_Occurred()) SWIG_fail;
27607 }
27608 {
27609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27610 }
27611 return resultobj;
27612 fail:
27613 return NULL;
27614}
27615
27616
27617static PyObject *_wrap_VideoMode___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
27618 PyObject *resultobj;
27619 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27620 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27621 bool result;
27622 PyObject * obj0 = 0 ;
27623 PyObject * obj1 = 0 ;
27624 char *kwnames[] = {
27625 (char *) "self",(char *) "other", NULL
27626 };
27627
27628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27633 {
27634 PyThreadState* __tstate = wxPyBeginAllowThreads();
27635 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27636
27637 wxPyEndAllowThreads(__tstate);
27638 if (PyErr_Occurred()) SWIG_fail;
27639 }
27640 {
27641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27642 }
27643 return resultobj;
27644 fail:
27645 return NULL;
27646}
27647
27648
27649static PyObject *_wrap_VideoMode___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
27650 PyObject *resultobj;
27651 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27652 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27653 bool result;
27654 PyObject * obj0 = 0 ;
27655 PyObject * obj1 = 0 ;
27656 char *kwnames[] = {
27657 (char *) "self",(char *) "other", NULL
27658 };
27659
27660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27665 {
27666 PyThreadState* __tstate = wxPyBeginAllowThreads();
27667 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27668
27669 wxPyEndAllowThreads(__tstate);
27670 if (PyErr_Occurred()) SWIG_fail;
27671 }
27672 {
27673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27674 }
27675 return resultobj;
27676 fail:
27677 return NULL;
27678}
27679
27680
27681static PyObject *_wrap_VideoMode_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27682 PyObject *resultobj;
27683 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27684 int arg2 ;
27685 PyObject * obj0 = 0 ;
27686 PyObject * obj1 = 0 ;
27687 char *kwnames[] = {
27688 (char *) "self",(char *) "w", NULL
27689 };
27690
27691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27694 arg2 = (int) SWIG_AsInt(obj1);
27695 if (PyErr_Occurred()) SWIG_fail;
27696 if (arg1) (arg1)->w = arg2;
27697
27698 Py_INCREF(Py_None); resultobj = Py_None;
27699 return resultobj;
27700 fail:
27701 return NULL;
27702}
27703
27704
27705static PyObject *_wrap_VideoMode_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27706 PyObject *resultobj;
27707 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27708 int result;
27709 PyObject * obj0 = 0 ;
27710 char *kwnames[] = {
27711 (char *) "self", NULL
27712 };
27713
27714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27717 result = (int) ((arg1)->w);
27718
27719 resultobj = SWIG_FromInt((int)result);
27720 return resultobj;
27721 fail:
27722 return NULL;
27723}
27724
27725
27726static PyObject *_wrap_VideoMode_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27727 PyObject *resultobj;
27728 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27729 int arg2 ;
27730 PyObject * obj0 = 0 ;
27731 PyObject * obj1 = 0 ;
27732 char *kwnames[] = {
27733 (char *) "self",(char *) "h", NULL
27734 };
27735
27736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27739 arg2 = (int) SWIG_AsInt(obj1);
27740 if (PyErr_Occurred()) SWIG_fail;
27741 if (arg1) (arg1)->h = arg2;
27742
27743 Py_INCREF(Py_None); resultobj = Py_None;
27744 return resultobj;
27745 fail:
27746 return NULL;
27747}
27748
27749
27750static PyObject *_wrap_VideoMode_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27751 PyObject *resultobj;
27752 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27753 int result;
27754 PyObject * obj0 = 0 ;
27755 char *kwnames[] = {
27756 (char *) "self", NULL
27757 };
27758
27759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27762 result = (int) ((arg1)->h);
27763
27764 resultobj = SWIG_FromInt((int)result);
27765 return resultobj;
27766 fail:
27767 return NULL;
27768}
27769
27770
27771static PyObject *_wrap_VideoMode_bpp_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27772 PyObject *resultobj;
27773 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27774 int arg2 ;
27775 PyObject * obj0 = 0 ;
27776 PyObject * obj1 = 0 ;
27777 char *kwnames[] = {
27778 (char *) "self",(char *) "bpp", NULL
27779 };
27780
27781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27784 arg2 = (int) SWIG_AsInt(obj1);
27785 if (PyErr_Occurred()) SWIG_fail;
27786 if (arg1) (arg1)->bpp = arg2;
27787
27788 Py_INCREF(Py_None); resultobj = Py_None;
27789 return resultobj;
27790 fail:
27791 return NULL;
27792}
27793
27794
27795static PyObject *_wrap_VideoMode_bpp_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27796 PyObject *resultobj;
27797 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27798 int result;
27799 PyObject * obj0 = 0 ;
27800 char *kwnames[] = {
27801 (char *) "self", NULL
27802 };
27803
27804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27807 result = (int) ((arg1)->bpp);
27808
27809 resultobj = SWIG_FromInt((int)result);
27810 return resultobj;
27811 fail:
27812 return NULL;
27813}
27814
27815
27816static PyObject *_wrap_VideoMode_refresh_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27817 PyObject *resultobj;
27818 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27819 int arg2 ;
27820 PyObject * obj0 = 0 ;
27821 PyObject * obj1 = 0 ;
27822 char *kwnames[] = {
27823 (char *) "self",(char *) "refresh", NULL
27824 };
27825
27826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27829 arg2 = (int) SWIG_AsInt(obj1);
27830 if (PyErr_Occurred()) SWIG_fail;
27831 if (arg1) (arg1)->refresh = arg2;
27832
27833 Py_INCREF(Py_None); resultobj = Py_None;
27834 return resultobj;
27835 fail:
27836 return NULL;
27837}
27838
27839
27840static PyObject *_wrap_VideoMode_refresh_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27841 PyObject *resultobj;
27842 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27843 int result;
27844 PyObject * obj0 = 0 ;
27845 char *kwnames[] = {
27846 (char *) "self", NULL
27847 };
27848
27849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27852 result = (int) ((arg1)->refresh);
27853
27854 resultobj = SWIG_FromInt((int)result);
27855 return resultobj;
27856 fail:
27857 return NULL;
27858}
27859
27860
27861static PyObject * VideoMode_swigregister(PyObject *self, PyObject *args) {
27862 PyObject *obj;
27863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27864 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27865 Py_INCREF(obj);
27866 return Py_BuildValue((char *)"");
27867}
27868static int _wrap_DefaultVideoMode_set(PyObject *_val) {
27869 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27870 return 1;
27871}
27872
27873
27874static PyObject *_wrap_DefaultVideoMode_get() {
27875 PyObject *pyobj;
27876
27877 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27878 return pyobj;
27879}
27880
27881
27882static PyObject *_wrap_new_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27883 PyObject *resultobj;
27884 size_t arg1 = (size_t) 0 ;
27885 wxDisplay *result;
27886 PyObject * obj0 = 0 ;
27887 char *kwnames[] = {
27888 (char *) "index", NULL
27889 };
27890
27891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27892 if (obj0) {
27893 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27894 if (PyErr_Occurred()) SWIG_fail;
27895 }
27896 {
27897 PyThreadState* __tstate = wxPyBeginAllowThreads();
27898 result = (wxDisplay *)new wxDisplay(arg1);
27899
27900 wxPyEndAllowThreads(__tstate);
27901 if (PyErr_Occurred()) SWIG_fail;
27902 }
27903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27904 return resultobj;
27905 fail:
27906 return NULL;
27907}
27908
27909
27910static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27911 PyObject *resultobj;
27912 wxDisplay *arg1 = (wxDisplay *) 0 ;
27913 PyObject * obj0 = 0 ;
27914 char *kwnames[] = {
27915 (char *) "self", NULL
27916 };
27917
27918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27921 {
27922 PyThreadState* __tstate = wxPyBeginAllowThreads();
27923 delete arg1;
27924
27925 wxPyEndAllowThreads(__tstate);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 }
27928 Py_INCREF(Py_None); resultobj = Py_None;
27929 return resultobj;
27930 fail:
27931 return NULL;
27932}
27933
27934
27935static PyObject *_wrap_Display_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
27936 PyObject *resultobj;
27937 size_t result;
27938 char *kwnames[] = {
27939 NULL
27940 };
27941
27942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27943 {
27944 PyThreadState* __tstate = wxPyBeginAllowThreads();
27945 result = (size_t)wxDisplay::GetCount();
27946
27947 wxPyEndAllowThreads(__tstate);
27948 if (PyErr_Occurred()) SWIG_fail;
27949 }
27950 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27951 return resultobj;
27952 fail:
27953 return NULL;
27954}
27955
27956
27957static PyObject *_wrap_Display_GetFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
27958 PyObject *resultobj;
27959 wxPoint *arg1 = 0 ;
27960 int result;
27961 wxPoint temp1 ;
27962 PyObject * obj0 = 0 ;
27963 char *kwnames[] = {
27964 (char *) "pt", NULL
27965 };
27966
27967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27968 {
27969 arg1 = &temp1;
27970 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27971 }
27972 {
27973 PyThreadState* __tstate = wxPyBeginAllowThreads();
27974 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
27975
27976 wxPyEndAllowThreads(__tstate);
27977 if (PyErr_Occurred()) SWIG_fail;
27978 }
27979 resultobj = SWIG_FromInt((int)result);
27980 return resultobj;
27981 fail:
27982 return NULL;
27983}
27984
27985
27986static PyObject *_wrap_Display_GetFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27987 PyObject *resultobj;
27988 wxWindow *arg1 = (wxWindow *) 0 ;
27989 int result;
27990 PyObject * obj0 = 0 ;
27991 char *kwnames[] = {
27992 (char *) "window", NULL
27993 };
27994
27995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
27996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27998 {
27999 PyThreadState* __tstate = wxPyBeginAllowThreads();
28000 result = (int)Display_GetFromWindow(arg1);
28001
28002 wxPyEndAllowThreads(__tstate);
28003 if (PyErr_Occurred()) SWIG_fail;
28004 }
28005 resultobj = SWIG_FromInt((int)result);
28006 return resultobj;
28007 fail:
28008 return NULL;
28009}
28010
28011
28012static PyObject *_wrap_Display_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
28013 PyObject *resultobj;
28014 wxDisplay *arg1 = (wxDisplay *) 0 ;
28015 bool result;
28016 PyObject * obj0 = 0 ;
28017 char *kwnames[] = {
28018 (char *) "self", NULL
28019 };
28020
28021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
28022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28024 {
28025 PyThreadState* __tstate = wxPyBeginAllowThreads();
28026 result = (bool)((wxDisplay const *)arg1)->IsOk();
28027
28028 wxPyEndAllowThreads(__tstate);
28029 if (PyErr_Occurred()) SWIG_fail;
28030 }
28031 {
28032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28033 }
28034 return resultobj;
28035 fail:
28036 return NULL;
28037}
28038
28039
28040static PyObject *_wrap_Display_GetGeometry(PyObject *self, PyObject *args, PyObject *kwargs) {
28041 PyObject *resultobj;
28042 wxDisplay *arg1 = (wxDisplay *) 0 ;
28043 wxRect result;
28044 PyObject * obj0 = 0 ;
28045 char *kwnames[] = {
28046 (char *) "self", NULL
28047 };
28048
28049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
28050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28052 {
28053 PyThreadState* __tstate = wxPyBeginAllowThreads();
28054 result = ((wxDisplay const *)arg1)->GetGeometry();
28055
28056 wxPyEndAllowThreads(__tstate);
28057 if (PyErr_Occurred()) SWIG_fail;
28058 }
28059 {
28060 wxRect * resultptr;
28061 resultptr = new wxRect((wxRect &) result);
28062 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
28063 }
28064 return resultobj;
28065 fail:
28066 return NULL;
28067}
28068
28069
28070static PyObject *_wrap_Display_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
28071 PyObject *resultobj;
28072 wxDisplay *arg1 = (wxDisplay *) 0 ;
28073 wxString result;
28074 PyObject * obj0 = 0 ;
28075 char *kwnames[] = {
28076 (char *) "self", NULL
28077 };
28078
28079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
28080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28082 {
28083 PyThreadState* __tstate = wxPyBeginAllowThreads();
28084 result = ((wxDisplay const *)arg1)->GetName();
28085
28086 wxPyEndAllowThreads(__tstate);
28087 if (PyErr_Occurred()) SWIG_fail;
28088 }
28089 {
28090#if wxUSE_UNICODE
28091 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28092#else
28093 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28094#endif
28095 }
28096 return resultobj;
28097 fail:
28098 return NULL;
28099}
28100
28101
28102static PyObject *_wrap_Display_IsPrimary(PyObject *self, PyObject *args, PyObject *kwargs) {
28103 PyObject *resultobj;
28104 wxDisplay *arg1 = (wxDisplay *) 0 ;
28105 bool result;
28106 PyObject * obj0 = 0 ;
28107 char *kwnames[] = {
28108 (char *) "self", NULL
28109 };
28110
28111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
28112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28114 {
28115 PyThreadState* __tstate = wxPyBeginAllowThreads();
28116 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
28117
28118 wxPyEndAllowThreads(__tstate);
28119 if (PyErr_Occurred()) SWIG_fail;
28120 }
28121 {
28122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28123 }
28124 return resultobj;
28125 fail:
28126 return NULL;
28127}
28128
28129
28130static PyObject *_wrap_Display_GetModes(PyObject *self, PyObject *args, PyObject *kwargs) {
28131 PyObject *resultobj;
28132 wxDisplay *arg1 = (wxDisplay *) 0 ;
28133 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28134 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28135 PyObject *result;
28136 PyObject * obj0 = 0 ;
28137 PyObject * obj1 = 0 ;
28138 char *kwnames[] = {
28139 (char *) "self",(char *) "mode", NULL
28140 };
28141
28142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
28143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28145 if (obj1) {
28146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28147 SWIG_POINTER_EXCEPTION | 0)) == -1)
28148 SWIG_fail;
28149 if (arg2 == NULL) {
28150 PyErr_SetString(PyExc_TypeError,"null reference");
28151 SWIG_fail;
28152 }
28153 }
28154 {
28155 PyThreadState* __tstate = wxPyBeginAllowThreads();
28156 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
28157
28158 wxPyEndAllowThreads(__tstate);
28159 if (PyErr_Occurred()) SWIG_fail;
28160 }
28161 resultobj = result;
28162 return resultobj;
28163 fail:
28164 return NULL;
28165}
28166
28167
28168static PyObject *_wrap_Display_GetCurrentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28169 PyObject *resultobj;
28170 wxDisplay *arg1 = (wxDisplay *) 0 ;
28171 wxVideoMode result;
28172 PyObject * obj0 = 0 ;
28173 char *kwnames[] = {
28174 (char *) "self", NULL
28175 };
28176
28177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
28178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28180 {
28181 PyThreadState* __tstate = wxPyBeginAllowThreads();
28182 result = ((wxDisplay const *)arg1)->GetCurrentMode();
28183
28184 wxPyEndAllowThreads(__tstate);
28185 if (PyErr_Occurred()) SWIG_fail;
28186 }
28187 {
28188 wxVideoMode * resultptr;
28189 resultptr = new wxVideoMode((wxVideoMode &) result);
28190 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
28191 }
28192 return resultobj;
28193 fail:
28194 return NULL;
28195}
28196
28197
28198static PyObject *_wrap_Display_ChangeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28199 PyObject *resultobj;
28200 wxDisplay *arg1 = (wxDisplay *) 0 ;
28201 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28202 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28203 bool result;
28204 PyObject * obj0 = 0 ;
28205 PyObject * obj1 = 0 ;
28206 char *kwnames[] = {
28207 (char *) "self",(char *) "mode", NULL
28208 };
28209
28210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28213 if (obj1) {
28214 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28215 SWIG_POINTER_EXCEPTION | 0)) == -1)
28216 SWIG_fail;
28217 if (arg2 == NULL) {
28218 PyErr_SetString(PyExc_TypeError,"null reference");
28219 SWIG_fail;
28220 }
28221 }
28222 {
28223 PyThreadState* __tstate = wxPyBeginAllowThreads();
28224 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28225
28226 wxPyEndAllowThreads(__tstate);
28227 if (PyErr_Occurred()) SWIG_fail;
28228 }
28229 {
28230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28231 }
28232 return resultobj;
28233 fail:
28234 return NULL;
28235}
28236
28237
28238static PyObject *_wrap_Display_ResetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28239 PyObject *resultobj;
28240 wxDisplay *arg1 = (wxDisplay *) 0 ;
28241 PyObject * obj0 = 0 ;
28242 char *kwnames[] = {
28243 (char *) "self", NULL
28244 };
28245
28246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28249 {
28250 PyThreadState* __tstate = wxPyBeginAllowThreads();
28251 (arg1)->ResetMode();
28252
28253 wxPyEndAllowThreads(__tstate);
28254 if (PyErr_Occurred()) SWIG_fail;
28255 }
28256 Py_INCREF(Py_None); resultobj = Py_None;
28257 return resultobj;
28258 fail:
28259 return NULL;
28260}
28261
28262
28263static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
28264 PyObject *obj;
28265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28266 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28267 Py_INCREF(obj);
28268 return Py_BuildValue((char *)"");
28269}
28270static PyMethodDef SwigMethods[] = {
28271 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
28272 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
28273 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
28274 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
28275 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
28276 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
28277 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
28278 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
28279 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
28280 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
28281 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
28282 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
28283 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
28284 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
28285 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
28286 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
28287 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
28288 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
28289 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
28290 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
28291 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
28292 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
28293 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
28294 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
28295 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
28296 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
28297 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
28298 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
28299 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
28300 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
bf26d883
RD
28301 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS },
28302 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28303 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
28304 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
28305 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
28306 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
28307 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
28308 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
28309 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
28310 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
28311 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
28312 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
28313 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
28314 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
28315 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
28316 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
28317 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
28318 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
28319 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
28320 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
28321 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
28322 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
28323 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
28324 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
28325 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
28326 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
28327 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
28328 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
28329 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28330 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28331 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28332 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28333 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
28334 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
28335 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
28336 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28337 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28338 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
28339 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
28340 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
28341 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
28342 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
28343 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28344 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28345 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
28346 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
28347 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
28348 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
28349 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
28350 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
28351 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
28352 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
28353 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
28354 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
28355 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
28356 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
28357 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
28358 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
28359 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
28360 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
28361 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
28362 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
28363 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
28364 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
28365 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
28366 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
28367 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
28368 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
28369 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
28370 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28371 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28372 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28373 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28374 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
28375 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28376 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28377 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
28378 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28379 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28380 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
28381 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
28382 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
28383 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
28384 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
28385 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
28386 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
28387 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
28388 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
28389 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
28390 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
28391 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
28392 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
28393 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
28394 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
28395 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
28396 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
28397 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
28398 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
28399 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
28400 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
28401 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28402 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28403 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28404 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
28405 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
28406 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
28407 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
28408 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
28409 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
28410 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
28411 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
28412 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
28413 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
28414 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28415 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
28416 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
28417 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
28418 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
28419 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
28420 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28421 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
1a6bba1e 28422 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28423 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
28424 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
28425 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
28426 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
28427 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
28428 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
28429 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
28430 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
28431 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
28432 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
28433 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
28434 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
28435 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
28436 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
28437 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
28438 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
28439 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
28440 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
28441 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
28442 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
28443 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28444 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28445 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
28446 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
28447 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
28448 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
28449 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28450 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
28451 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
28452 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
28453 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
28454 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
28455 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
28456 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
28457 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
28458 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
28459 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
28460 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
28461 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
28462 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
28463 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
28464 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
28465 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
28466 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
28467 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
28468 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
28469 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
28470 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
28471 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
28472 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
28473 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28474 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28475 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
28476 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
28477 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
28478 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
28479 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
28480 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28481 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28482 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
28483 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
28484 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
28485 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
28486 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
28487 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
28488 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
28489 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
28490 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
28491 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
28492 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
28493 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
28494 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
28495 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
28496 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
28497 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
28498 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
28499 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
28500 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
28501 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
28502 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28503 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
28504 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
28505 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
28506 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
28507 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
28508 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28509 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
28510 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
28511 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
28512 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
28513 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
28514 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
28515 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
28516 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
28517 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
28518 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
28519 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
28520 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
28521 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
28522 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
28523 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
28524 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
28525 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
28526 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
28527 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
28528 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
28529 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
28530 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
28531 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
28532 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
28533 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28534 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28535 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
28536 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
28537 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
28538 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
28539 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
28540 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28541 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28542 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
28543 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
28544 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
28545 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
28546 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
28547 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
28548 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
28549 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
28550 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
28551 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
28552 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
28553 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
28554 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
28555 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
28556 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
28557 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
28558 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
28559 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
28560 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
28561 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
28562 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
28563 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
28564 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
28565 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
28566 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
28567 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
28568 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
28569 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
28570 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
28571 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
28572 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
28573 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
28574 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
28575 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
28576 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
28577 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
28578 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
28579 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
28580 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
28581 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
28582 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
28583 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
28584 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
28585 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
28586 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
28587 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28588 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28589 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
28590 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
28591 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
28592 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
28593 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
28594 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
28595 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
28596 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
28597 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
28598 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
28599 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
28600 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
28601 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
28602 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
0346c964
RD
28603 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS },
28604 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc 28605 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
0346c964
RD
28606 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS },
28607 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc 28608 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
0346c964
RD
28609 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS },
28610 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28611 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
28612 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
28613 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28614 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
28615 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28616 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
28617 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
28618 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
28619 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28620 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28621 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28622 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
28623 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
28624 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28625 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
28626 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
28627 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
28628 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
28629 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
28630 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
28631 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28632 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
28633 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28634 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
28635 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
28636 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
28637 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28638 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28639 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
28640 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
28641 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
28642 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
28643 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
28644 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
28645 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
28646 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28647 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
28648 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
28649 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
28650 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
28651 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
28652 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
28653 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
28654 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
28655 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
28656 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
28657 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28658 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
28659 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
28660 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28661 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
28662 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
28663 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
28664 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28665 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
28666 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
28667 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
28668 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
28669 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
28670 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
28671 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
28672 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28673 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
28674 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
28675 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
28676 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
28677 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
28678 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
28679 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
28680 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
28681 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
28682 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
28683 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
28684 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
28685 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
28686 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
28687 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
28688 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
28689 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
28690 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
28691 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
28692 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
28693 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
28694 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
28695 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
28696 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
28697 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
28698 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
28699 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28700 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
28701 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
28702 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
28703 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28704 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
28705 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
28706 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
28707 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
28708 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
28709 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
28710 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
28711 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
28712 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
28713 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
28714 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
28715 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
28716 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
28717 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28718 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28719 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
28720 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
28721 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28722 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
28723 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
28724 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
28725 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
28726 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
28727 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
28728 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
28729 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
28730 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
28731 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
28732 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
28733 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
28734 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
28735 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
28736 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
28737 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
28738 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
28739 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
28740 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
28741 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
28742 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
28743 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
28744 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
28745 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
28746 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
28747 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
28748 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
28749 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
28750 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
28751 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
28752 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
28753 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
28754 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
28755 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
28756 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
28757 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
28758 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
28759 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
28760 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28761 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28762 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28763 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28764 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28765 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28766 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
28767 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28768 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28769 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
28770 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
28771 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28772 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28773 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
28774 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
28775 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28776 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
28777 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28778 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
28779 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
28780 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
28781 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
28782 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
28783 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
28784 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
28785 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
28786 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
28787 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
28788 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
28789 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
28790 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
28791 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
28792 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
28793 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
28794 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
28795 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
28796 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
28797 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
28798 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
28799 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28800 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
28801 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
28802 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
28803 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
28804 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
28805 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
28806 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
28807 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
28808 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
28809 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
28810 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
28811 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
28812 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
28813 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
28814 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
28815 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
28816 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
28817 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
28818 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
28819 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
28820 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
28821 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
28822 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
28823 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
28824 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
28825 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
28826 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
28827 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
28828 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
28829 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
28830 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
28831 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
28832 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
28833 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
28834 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
28835 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
28836 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
28837 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
28838 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
28839 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
28840 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
28841 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28842 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
28843 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28844 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28845 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
28846 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28847 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28848 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28849 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
28850 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28851 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28852 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28853 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28854 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
28855 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28856 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28857 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28858 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
28859 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
28860 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
28861 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
28862 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28863 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28864 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
28865 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
28866 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
28867 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28868 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
28869 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
28870 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28871 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28872 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
28873 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
28874 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
28875 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
28876 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
28877 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
28878 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
28879 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
28880 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
28881 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
28882 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28883 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
28884 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
28885 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
28886 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
28887 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
28888 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
28889 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
28890 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
28891 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
28892 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
28893 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
28894 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28895 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28896 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
28897 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
28898 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28899 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28900 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28901 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28902 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28903 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28904 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28905 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
28906 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28907 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28908 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28909 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28910 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28911 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
28912 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
28913 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
28914 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
28915 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
28916 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
28917 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
28918 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
28919 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
28920 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
28921 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
28922 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
28923 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
28924 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
28925 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
28926 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
28927 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
28928 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
28929 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
28930 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28931 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
28932 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28933 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28934 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
28935 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28936 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
28937 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
68e533f8
RD
28938 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28939 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28940 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28941 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
28942 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28943 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28944 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
28945 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
28946 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
28947 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
28948 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
28949 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
28950 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
28951 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
28952 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
28953 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
28954 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28955 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
28956 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28957 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28958 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
28959 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
28960 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28961 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28962 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
28963 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
28964 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
28965 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
28966 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
28967 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28968 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28969 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
28970 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
28971 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
28972 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
28973 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
28974 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
28975 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
28976 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
28977 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
28978 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
28979 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
28980 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
28981 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
28982 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28983 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
28984 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
28985 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28986 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
28987 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
28988 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
28989 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
28990 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
28991 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28992 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
28993 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28994 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
28995 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28996 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28997 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28998 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28999 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
29000 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
29001 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
29002 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29003 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
29004 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
29005 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
29006 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
29007 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
29008 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
29009 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
29010 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29011 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
29012 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
29013 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
29014 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
29015 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
29016 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
29017 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
29018 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
29019 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
29020 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
29021 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
29022 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
29023 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
29024 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
29025 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
29026 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
29027 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
29028 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
a001823c 29029 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
29030 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
29031 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
29032 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
29033 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
29034 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
29035 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS },
29036 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS },
29037 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS },
29038 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS },
29039 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS },
29040 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS },
29041 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS },
29042 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS },
29043 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS },
29044 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS },
29045 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS },
29046 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS },
29047 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS },
29048 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS },
29049 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS },
29050 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS },
29051 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS },
29052 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS },
29053 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS },
29054 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS },
29055 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS },
29056 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS },
29057 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS },
29058 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS },
29059 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS },
29060 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS },
29061 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS },
29062 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS },
29063 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS },
29064 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS },
29065 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS },
29066 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
29067 { NULL, NULL }
29068};
29069
29070
29071/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29072
29073static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29074 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29075}
29076static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29077 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29078}
29079static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29080 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29081}
29082static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29083 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29084}
29085static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29086 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29087}
29088static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29089 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29090}
29091static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
29092 return (void *)((wxEvent *) ((wxTimerEvent *) x));
29093}
29094static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29095 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29096}
29097static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29098 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29099}
29100static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29101 return (void *)((wxEvent *) ((wxPyEvent *) x));
29102}
29103static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29104 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29105}
29106static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
29107 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
29108}
29109static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29110 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29111}
29112static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29113 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29114}
29115static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29116 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29117}
29118static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29119 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29120}
29121static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29122 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29123}
29124static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29125 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29126}
29127static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29128 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29129}
29130static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29131 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29132}
29133static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
29134 return (void *)((wxEvent *) ((wxPaintEvent *) x));
29135}
29136static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
29137 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
29138}
29139static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
29140 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
29141}
29142static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
29143 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
29144}
29145static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
29146 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
29147}
29148static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
29149 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29150}
29151static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
29152 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
29153}
29154static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
29155 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
29156}
29157static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
29158 return (void *)((wxEvent *) ((wxFocusEvent *) x));
29159}
29160static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
29161 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
29162}
29163static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
29164 return (void *)((wxEvent *) ((wxProcessEvent *) x));
29165}
29166static void *_p_wxShowEventTo_p_wxEvent(void *x) {
29167 return (void *)((wxEvent *) ((wxShowEvent *) x));
29168}
29169static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
29170 return (void *)((wxEvent *) ((wxCommandEvent *) x));
29171}
29172static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
29173 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
29174}
29175static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
29176 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29177}
29178static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
29179 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
29180}
29181static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
29182 return (void *)((wxEvent *) ((wxKeyEvent *) x));
29183}
29184static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
29185 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
29186}
29187static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
29188 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
29189}
29190static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
29191 return (void *)((wxConfigBase *) ((wxConfig *) x));
29192}
29193static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
29194 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29195}
29196static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
29197 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
29198}
29199static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
29200 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
29201}
29202static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
29203 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29204}
29205static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
29206 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
29207}
29208static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
29209 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
29210}
29211static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29212 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29213}
29214static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29215 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29216}
29217static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29218 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29219}
29220static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29221 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29222}
29223static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29224 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29225}
29226static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29227 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29228}
29229static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29230 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29231}
29232static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29233 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29234}
29235static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29236 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29237}
29238static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29239 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29240}
29241static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29242 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29243}
29244static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29245 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29246}
29247static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29248 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29249}
29250static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29251 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29252}
29253static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29254 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29255}
29256static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29257 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29258}
29259static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29260 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29261}
29262static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29263 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29264}
29265static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29266 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29267}
29268static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29269 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29270}
29271static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29272 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29273}
29274static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29275 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29276}
29277static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29278 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29279}
29280static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29281 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29282}
29283static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29284 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29285}
29286static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29287 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29288}
29289static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29290 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29291}
29292static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29293 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29294}
29295static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29296 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29297}
29298static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29299 return (void *)((wxObject *) ((wxSizerItem *) x));
29300}
29301static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29302 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29303}
29304static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29305 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29306}
29307static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29308 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29309}
29310static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29311 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29312}
29313static void *_p_wxSizerTo_p_wxObject(void *x) {
29314 return (void *)((wxObject *) ((wxSizer *) x));
29315}
29316static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29317 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29318}
29319static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29320 return (void *)((wxObject *) ((wxFileHistory *) x));
29321}
29322static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29323 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29324}
29325static void *_p_wxEventTo_p_wxObject(void *x) {
29326 return (void *)((wxObject *) ((wxEvent *) x));
29327}
29328static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29329 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29330}
29331static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29332 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29333}
29334static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29335 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29336}
29337static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29338 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29339}
29340static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29341 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29342}
29343static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29344 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29345}
29346static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29347 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29348}
29349static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29350 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29351}
29352static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29353 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29354}
29355static void *_p_wxControlTo_p_wxObject(void *x) {
29356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29357}
29358static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29359 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29360}
29361static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29362 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29363}
29364static void *_p_wxFSFileTo_p_wxObject(void *x) {
29365 return (void *)((wxObject *) ((wxFSFile *) x));
29366}
29367static void *_p_wxClipboardTo_p_wxObject(void *x) {
29368 return (void *)((wxObject *) ((wxClipboard *) x));
29369}
29370static void *_p_wxPySizerTo_p_wxObject(void *x) {
29371 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29372}
29373static void *_p_wxPyEventTo_p_wxObject(void *x) {
29374 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29375}
29376static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29377 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29378}
29379static void *_p_wxShowEventTo_p_wxObject(void *x) {
29380 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29381}
29382static void *_p_wxToolTipTo_p_wxObject(void *x) {
29383 return (void *)((wxObject *) ((wxToolTip *) x));
29384}
29385static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29386 return (void *)((wxObject *) ((wxMenuItem *) x));
29387}
29388static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29389 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29390}
29391static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29392 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29393}
29394static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29395 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29396}
29397static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29398 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29399}
29400static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29401 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29402}
29403static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29404 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29405}
29406static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29407 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29408}
29409static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29410 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29411}
29412static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29413 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29414}
29415static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29416 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29417}
29418static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29419 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29420}
29421static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29422 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29423}
29424static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29425 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29426}
29427static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29428 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29429}
29430static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29431 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29432}
29433static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29434 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29435}
29436static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29437 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29438}
29439static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29440 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29441}
29442static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29443 return (void *)((wxObject *) ((wxImageHandler *) x));
29444}
29445static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29446 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29447}
29448static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29449 return (void *)((wxObject *) ((wxEvtHandler *) x));
29450}
29451static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29452 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29453}
29454static void *_p_wxImageTo_p_wxObject(void *x) {
29455 return (void *)((wxObject *) ((wxImage *) x));
29456}
29457static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29458 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29459}
29460static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29461 return (void *)((wxObject *) ((wxSystemOptions *) x));
29462}
29463static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29464 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29465}
29466static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29467 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29468}
29469static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29470 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29471}
29472static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29473 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29474}
29475static void *_p_wxWindowTo_p_wxObject(void *x) {
29476 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29477}
29478static void *_p_wxMenuTo_p_wxObject(void *x) {
29479 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29480}
29481static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29483}
29484static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29485 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29486}
29487static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29488 return (void *)((wxObject *) ((wxFileSystem *) x));
29489}
29490static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29491 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29492}
29493static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29494 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29495}
29496static void *_p_wxPyAppTo_p_wxObject(void *x) {
29497 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29498}
29499static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29500 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29501}
29502static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29503 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29504}
29505static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29506 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29507}
29508static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29509 return (void *)((wxObject *) ((wxBusyInfo *) x));
29510}
29511static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29512 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29513}
29514static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29515 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29516}
29517static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29518 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29519}
29520static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29521 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29522}
29523static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29524 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29525}
29526static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29527 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29528}
29529static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29531}
29532static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29533 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29534}
29535static void *_p_wxValidatorTo_p_wxObject(void *x) {
29536 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29537}
29538static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29539 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29540}
29541static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29542 return (void *)((wxLog *) ((wxLogStderr *) x));
29543}
29544static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29545 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29546}
29547static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29548 return (void *)((wxLog *) ((wxLogWindow *) x));
29549}
29550static void *_p_wxLogChainTo_p_wxLog(void *x) {
29551 return (void *)((wxLog *) ((wxLogChain *) x));
29552}
29553static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29554 return (void *)((wxLog *) ((wxLogGui *) x));
29555}
29556static void *_p_wxPyLogTo_p_wxLog(void *x) {
29557 return (void *)((wxLog *) ((wxPyLog *) x));
29558}
29559static void *_p_wxControlTo_p_wxWindow(void *x) {
29560 return (void *)((wxWindow *) ((wxControl *) x));
29561}
29562static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29563 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29564}
29565static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29566 return (void *)((wxWindow *) ((wxMenuBar *) x));
29567}
29568static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29569 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29570}
29571static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29572 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29573}
29574static 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}};
29575static 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}};
29576static 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}};
29577static 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}};
29578static 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}};
29579static 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}};
29580static 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}};
29581static 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}};
29582static 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}};
29583static 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}};
29584static 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}};
29585static 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}};
29586static 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}};
29587static 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}};
29588static 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}};
29589static 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}};
29590static 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}};
29591static 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}};
29592static 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}};
29593static 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}};
29594static 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}};
29595static 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}};
29596static 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}};
29597static 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}};
29598static 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}};
29599static 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}};
29600static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
0346c964 29601static 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
29602static 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}};
29603static 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}};
29604static 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}};
29605static 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
29606static 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}};
29607static 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}};
29608static 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}};
29609static 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}};
29610static 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}};
29611static 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}};
29612static 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}};
29613static 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}};
29614static 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}};
29615static 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}};
29616static 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}};
29617static 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}};
29618static 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}};
29619static 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}};
29620static 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}};
29621static 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}};
29622static 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}};
29623static 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}};
29624static 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}};
29625static 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}};
29626static 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}};
29627static 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}};
29628static 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}};
29629static 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}};
29630static 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}};
29631static 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}};
29632static 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}};
29633static 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}};
29634static 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}};
29635static 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}};
29636static 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}};
29637static 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}};
29638static 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}};
29639static 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}};
29640static 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}};
29641static 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}};
29642static 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}};
29643static 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}};
29644static 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}};
29645static 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}};
29646static 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}};
29647static 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}};
29648static 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}};
29649static 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}};
29650static 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}};
29651static 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}};
29652static 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}};
29653static 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}};
29654static 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}};
29655static 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}};
29656static 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
29657static 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}};
29658static 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}};
29659static 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}};
29660
29661static swig_type_info *swig_types_initial[] = {
29662_swigt__p_wxLogChain,
29663_swigt__p_wxMutexGuiLocker,
29664_swigt__p_wxMetafile,
29665_swigt__p_wxFileHistory,
29666_swigt__p_wxLog,
29667_swigt__p_wxDateTime__TimeZone,
29668_swigt__p_wxMenu,
29669_swigt__p_wxEvent,
29670_swigt__p_wxConfigBase,
29671_swigt__p_wxDisplay,
29672_swigt__p_wxFileType,
29673_swigt__p_wxLogGui,
29674_swigt__p_wxFont,
29675_swigt__p_wxDataFormat,
29676_swigt__p_wxTimerEvent,
29677_swigt__p_wxCaret,
29678_swigt__p_int,
29679_swigt__p_wxSize,
29680_swigt__p_wxClipboard,
29681_swigt__p_wxStopWatch,
29682_swigt__p_wxDC,
29683_swigt__p_wxClipboardLocker,
29684_swigt__p_wxIcon,
29685_swigt__p_wxLogStderr,
29686_swigt__p_wxLogTextCtrl,
29687_swigt__p_wxTextCtrl,
29688_swigt__p_wxBusyCursor,
0346c964 29689_swigt__p_wxPyBitmapDataObject,
d55e5bfc
RD
29690_swigt__p_wxPyTextDataObject,
29691_swigt__p_wxBitmapDataObject,
29692_swigt__p_wxTextDataObject,
29693_swigt__p_wxDataObject,
d55e5bfc
RD
29694_swigt__p_wxFileDataObject,
29695_swigt__p_wxCustomDataObject,
29696_swigt__p_wxURLDataObject,
29697_swigt__p_wxMetafileDataObject,
29698_swigt__p_wxSound,
29699_swigt__p_wxTimerRunner,
29700_swigt__p_wxLogWindow,
29701_swigt__p_wxTimeSpan,
29702_swigt__p_wxArrayString,
29703_swigt__p_wxWindowDisabler,
29704_swigt__p_wxToolTip,
29705_swigt__p_wxDataObjectComposite,
29706_swigt__p_wxFileConfig,
29707_swigt__p_wxSystemSettings,
29708_swigt__p_wxVideoMode,
29709_swigt__p_wxPyDataObjectSimple,
29710_swigt__p_wxDataObjectSimple,
29711_swigt__p_wxEvtHandler,
29712_swigt__p_wxRect,
29713_swigt__p_char,
29714_swigt__p_wxSingleInstanceChecker,
29715_swigt__p_wxFileTypeInfo,
29716_swigt__p_wxFrame,
29717_swigt__p_wxTimer,
29718_swigt__p_wxMimeTypesManager,
29719_swigt__p_wxPyArtProvider,
29720_swigt__p_wxPyTipProvider,
29721_swigt__p_wxTipProvider,
29722_swigt__p_wxJoystick,
29723_swigt__p_wxSystemOptions,
29724_swigt__p_wxPoint,
29725_swigt__p_wxJoystickEvent,
29726_swigt__p_wxCursor,
29727_swigt__p_wxObject,
29728_swigt__p_wxOutputStream,
29729_swigt__p_wxDateTime,
29730_swigt__p_wxPyDropSource,
29731_swigt__p_wxWindow,
29732_swigt__p_wxString,
29733_swigt__p_wxPyProcess,
29734_swigt__p_wxBitmap,
29735_swigt__p_wxConfig,
29736_swigt__p_wxChar,
29737_swigt__p_wxBusyInfo,
29738_swigt__p_wxPyDropTarget,
29739_swigt__p_wxPyTextDropTarget,
29740_swigt__p_wxPyFileDropTarget,
29741_swigt__p_wxProcessEvent,
29742_swigt__p_wxPyLog,
29743_swigt__p_wxLogNull,
29744_swigt__p_wxColour,
d55e5bfc
RD
29745_swigt__p_wxConfigPathChanger,
29746_swigt__p_wxPyTimer,
29747_swigt__p_wxDateSpan,
297480
29749};
29750
29751
29752/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29753
29754static swig_const_info swig_const_table[] = {
29755{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29756{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29757{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29758{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29759{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
29760{0}};
29761
29762#ifdef __cplusplus
29763}
29764#endif
29765
29766#ifdef __cplusplus
29767extern "C"
29768#endif
29769SWIGEXPORT(void) SWIG_init(void) {
29770 static PyObject *SWIG_globals = 0;
29771 static int typeinit = 0;
29772 PyObject *m, *d;
29773 int i;
29774 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29775 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29776 d = PyModule_GetDict(m);
29777
29778 if (!typeinit) {
29779 for (i = 0; swig_types_initial[i]; i++) {
29780 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29781 }
29782 typeinit = 1;
29783 }
29784 SWIG_InstallConstants(d,swig_const_table);
29785
29786 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29787 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29788 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29789 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29790 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29791 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29792 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29793 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29794 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29795 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29796 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29797 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29798 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29799 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29800 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29801 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29802 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29803 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29804 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29805 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29806 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29807 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29808 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29809 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29810 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29811 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29812 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29813 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29814 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29815 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29816 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29817 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29818 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29819 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29820 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29821 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29822 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29823 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29824 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29825 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29826 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29827 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29828 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29829 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29830 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29831 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29832 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29833 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29834 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29835 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29836 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29837 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29838 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29839 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29840 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29841 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29842 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29843 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29844 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29845 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29846 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29847 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29848 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29849 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29850 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29851 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29852 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29853 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29854 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29855 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29856 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29857 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29858 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29859 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29860 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29861 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29862 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29863 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29864 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29865 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29866 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29867 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29868 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29869 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29870 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29871 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29872 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29873 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29874 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29875 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29876 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
29877 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29878 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29879 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29880 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29881 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29882 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29883 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29884 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
29885 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
1a6bba1e
RD
29886
29887 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29888
d55e5bfc
RD
29889 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29890 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29891 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29892 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29893 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29894 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29895 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29896 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29897 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29898 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29899 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29900 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29901 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29902 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29903 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29904 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29905 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29906 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29907 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29908 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29909 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29910 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29911 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29912 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29913 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29914 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29915 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29916 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29917 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29918 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29919 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29920 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29921 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29922 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29923 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29924 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29925 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29926 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29927 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29928 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29929 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29930 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29931 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29932 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29933 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
29934 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
29935 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29936 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29937 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29938 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
29939
29940 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29941
29942 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29943 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29944 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29945 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29946 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29947 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29948 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
29949 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29950 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29951 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29952 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
29953 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29954 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29955 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29956 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29957 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29958 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29959 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29960 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
29961 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29962 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29963 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29964 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29965 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29966 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29967 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
29968 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29969 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29970 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29971 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29972 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29973 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
29974 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
29975 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
29976 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
29977 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
29978 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
29979 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
29980 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
29981 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
29982 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
29983 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
29984 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
29985 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
29986 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
29987 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
29988 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
29989 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
29990 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
29991 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
29992 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
29993 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
29994 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
29995 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
29996 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
29997 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
29998 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
29999 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
30000
30001 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30002
30003 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
30004 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
30005 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
30006 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
30007 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
30008 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
30009 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
30010 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
30011 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
30012 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
30013 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
30014 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
30015 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
30016 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
30017 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
30018 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
30019 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
30020 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
30021 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
30022 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
30023 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
30024 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
30025 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
30026 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
30027 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
30028 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
30029 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
30030 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
30031 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
30032 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
30033 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
30034 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
30035 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
30036 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
30037 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
30038 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
30039 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
30040 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
30041 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
30042 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
30043 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
30044 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
30045 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
30046 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
30047 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
30048 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
30049 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
30050 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
30051 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
30052 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
30053 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
30054 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
30055 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
30056 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
30057 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
30058 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
30059 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
30060 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
30061 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
30062 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
30063 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
30064 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
30065 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
30066 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
30067 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
30068 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
30069 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
30070 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
30071 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
30072 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
30073 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
30074 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
30075 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
30076 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
30077 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
30078 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
30079 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
30080 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
30081 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
30082 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
30083 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
30084 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
30085 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
30086 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
30087 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
30088 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
30089 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
30090 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
30091 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
30092 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
30093 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
30094 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
30095 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
30096 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
30097 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
30098 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
30099 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
30100 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
30101 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
30102 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
30103 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
30104 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
30105 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
30106 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
30107 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
30108 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
30109 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
30110 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
30111 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
30112 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
30113 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
30114 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
30115 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
30116 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
30117 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
30118 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
30119 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
30120 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
30121 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
30122 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
30123 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
30124 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
30125 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
30126 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
30127 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
30128 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
30129 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
30130 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
30131 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
30132 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
30133 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
30134 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
30135 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
30136 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
30137 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
30138 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
30139 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
30140 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
30141 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
30142 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
30143 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
30144 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
30145 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
30146 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
30147 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
30148 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
30149 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
30150 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
30151 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
30152 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
30153 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
30154 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
30155 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
30156 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
30157 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
30158 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
30159 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
30160 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
30161 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
30162 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
30163 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
30164 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
30165 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
30166 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
30167 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
30168 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
30169 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
30170 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
30171 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
30172 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
30173 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
30174 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
30175 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
30176 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
30177 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
30178 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
30179 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
30180 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
30181 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
30182 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
30183 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
30184 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
30185 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
30186 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
30187 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
30188 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
30189 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
30190 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
30191 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
30192 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
30193 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
30194 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
30195 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
30196 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
30197 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
30198 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
30199 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
30200 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
30201 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
30202 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
30203
30204 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30205 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30206 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30207 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30208
d55e5bfc
RD
30209 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
30210}
30211