]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/misc_wrap.cpp
docstring patch has been submitted to SF
[wxWidgets.git] / wxPython / src / msw / misc_wrap.cpp
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
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
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
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef 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
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #include <limits.h>
141 #include <float.h>
142
143 #ifdef __cplusplus
144 #define SWIG_STATIC_INLINE static inline
145 #else
146 #define SWIG_STATIC_INLINE static
147 #endif
148
149 SWIG_STATIC_INLINE long
150 SPyObj_AsLong(PyObject * obj)
151 {
152 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
153 }
154
155 SWIG_STATIC_INLINE unsigned long
156 SPyObj_AsUnsignedLong(PyObject * obj)
157 {
158 if (PyLong_Check(obj)) {
159 return PyLong_AsUnsignedLong(obj);
160 } else {
161 long i = PyInt_AsLong(obj);
162 if ( !PyErr_Occurred() && (i < 0)) {
163 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
164 }
165 return i;
166 }
167 }
168
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject*
171 SPyObj_FromLongLong(long long value)
172 {
173 return (value > (long)(LONG_MAX)) ?
174 PyLong_FromLongLong(value) : PyInt_FromLong((long)value);
175 }
176 #endif
177
178 SWIG_STATIC_INLINE PyObject*
179 SPyObj_FromUnsignedLong(unsigned long value)
180 {
181 return (value > (unsigned long)(LONG_MAX)) ?
182 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
183 }
184
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject*
187 SPyObj_FromUnsignedLongLong(unsigned long long value)
188 {
189 return (value > (unsigned long long)(LONG_MAX)) ?
190 PyLong_FromUnsignedLongLong(value) : PyInt_FromLong((long)value);
191 }
192 #endif
193
194 SWIG_STATIC_INLINE long
195 SPyObj_AsLongInRange(PyObject * obj, long min_value, long max_value)
196 {
197 long value = SPyObj_AsLong(obj);
198 if (!PyErr_Occurred()) {
199 if (value < min_value) {
200 PyErr_SetString(PyExc_OverflowError,"value is smaller than type minimum");
201 } else if (value > max_value) {
202 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
203 }
204 }
205 return value;
206 }
207
208 SWIG_STATIC_INLINE unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject *obj, unsigned long max_value)
210 {
211 unsigned long value = SPyObj_AsUnsignedLong(obj);
212 if (!PyErr_Occurred()) {
213 if (value > max_value) {
214 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
215 }
216 }
217 return value;
218 }
219
220 SWIG_STATIC_INLINE signed char
221 SPyObj_AsSignedChar(PyObject *obj) {
222 return (signed char)SPyObj_AsLongInRange(obj, SCHAR_MIN, SCHAR_MAX);
223 }
224
225 SWIG_STATIC_INLINE short
226 SPyObj_AsShort(PyObject *obj) {
227 return (short)SPyObj_AsLongInRange(obj, SHRT_MIN, SHRT_MAX);
228 }
229
230 SWIG_STATIC_INLINE int
231 SPyObj_AsInt(PyObject *obj) {
232 return SPyObj_AsLongInRange(obj, INT_MIN, INT_MAX);
233 }
234
235 SWIG_STATIC_INLINE unsigned char
236 SPyObj_AsUnsignedChar(PyObject *obj) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj, UCHAR_MAX);
238 }
239
240 SWIG_STATIC_INLINE unsigned short
241 SPyObj_AsUnsignedShort(PyObject *obj) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj, USHRT_MAX);
243 }
244
245 SWIG_STATIC_INLINE unsigned int
246 SPyObj_AsUnsignedInt(PyObject *obj) {
247 return SPyObj_AsUnsignedLongInRange(obj, UINT_MAX);
248 }
249
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE long long
252 SPyObj_AsLongLong(PyObject *obj) {
253 return PyInt_Check(obj) ?
254 PyInt_AsLong(obj) : PyLong_AsLongLong(obj);
255 }
256
257 SWIG_STATIC_INLINE unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject *obj) {
259 return PyLong_Check(obj) ?
260 PyLong_AsUnsignedLongLong(obj) : SPyObj_AsUnsignedLong(obj);
261 }
262 #endif
263
264 SWIG_STATIC_INLINE double
265 SPyObj_AsDouble(PyObject *obj) {
266 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
267 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
268 }
269
270 SWIG_STATIC_INLINE float
271 SPyObj_AsFloat(PyObject *obj) {
272 double value = SPyObj_AsDouble(obj);
273 if (!PyErr_Occurred()) {
274 if (value < FLT_MIN) {
275 PyErr_SetString(PyExc_OverflowError,"float is smaller than flt_min");
276 } else if (value > FLT_MAX) {
277 PyErr_SetString(PyExc_OverflowError,"float is greater than flt_max");
278 }
279 }
280 return (float) value;
281 }
282
283 SWIG_STATIC_INLINE char
284 SPyObj_AsChar(PyObject *obj) {
285 char c = (PyString_Check(obj) && PyString_Size(obj) == 1) ?
286 PyString_AsString(obj)[0]
287 : (char) SPyObj_AsLongInRange(obj, CHAR_MIN, CHAR_MAX);
288 if (PyErr_Occurred()) {
289 PyErr_Clear();
290 PyErr_SetString(PyExc_TypeError, "a char is required");
291 }
292 return c;
293 }
294
295 SWIG_STATIC_INLINE PyObject *
296 SPyObj_FromChar(char c) {
297 return PyString_FromStringAndSize(&c,1);
298 }
299
300 SWIG_STATIC_INLINE PyObject *
301 SPyObj_FromCharPtr(const char* cptr) {
302 return cptr ? PyString_FromString(cptr) : Py_BuildValue((char*)"");
303 }
304
305 SWIG_STATIC_INLINE int
306 SPyObj_AsBool(PyObject *obj) {
307 return SPyObj_AsLong/*Long*/(obj) ? 1 : 0;
308 }
309
310
311
312 #ifdef __cplusplus
313 extern "C" {
314 #endif
315
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
321
322 /* Flags for pointer conversion */
323
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
326
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
329
330 /* Constant information structure */
331 typedef struct swig_const_info {
332 int type;
333 char *name;
334 long lvalue;
335 double dvalue;
336 void *pvalue;
337 swig_type_info **ptype;
338 } swig_const_info;
339
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
347
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
359
360
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
362 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
364 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
367 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
369
370
371
372 /* Contract support */
373
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
375
376 #ifdef __cplusplus
377 }
378 #endif
379
380
381
382 /* -------- TYPES TABLE (BEGIN) -------- */
383
384 #define SWIGTYPE_p_wxLogChain swig_types[0]
385 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
386 #define SWIGTYPE_p_wxMetafile swig_types[2]
387 #define SWIGTYPE_p_wxFileHistory swig_types[3]
388 #define SWIGTYPE_p_wxLog swig_types[4]
389 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
390 #define SWIGTYPE_p_wxMenu swig_types[6]
391 #define SWIGTYPE_p_wxEvent swig_types[7]
392 #define SWIGTYPE_p_wxConfigBase swig_types[8]
393 #define SWIGTYPE_p_wxWave swig_types[9]
394 #define SWIGTYPE_p_wxFileType swig_types[10]
395 #define SWIGTYPE_p_wxLogGui swig_types[11]
396 #define SWIGTYPE_p_wxFont swig_types[12]
397 #define SWIGTYPE_p_wxDataFormat swig_types[13]
398 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
399 #define SWIGTYPE_p_wxCaret swig_types[15]
400 #define SWIGTYPE_p_int swig_types[16]
401 #define SWIGTYPE_p_wxSize swig_types[17]
402 #define SWIGTYPE_p_wxClipboard swig_types[18]
403 #define SWIGTYPE_p_wxStopWatch swig_types[19]
404 #define SWIGTYPE_p_wxDC swig_types[20]
405 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
406 #define SWIGTYPE_p_wxIcon swig_types[22]
407 #define SWIGTYPE_p_wxLogStderr swig_types[23]
408 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
409 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
410 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
411 #define SWIGTYPE_p_wxFileDataObject swig_types[27]
412 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[28]
413 #define SWIGTYPE_p_wxPyTextDataObject swig_types[29]
414 #define SWIGTYPE_p_wxBitmapDataObject swig_types[30]
415 #define SWIGTYPE_p_wxTextDataObject swig_types[31]
416 #define SWIGTYPE_p_wxDataObject swig_types[32]
417 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
418 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
419 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
420 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
421 #define SWIGTYPE_p_wxLogWindow swig_types[37]
422 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
423 #define SWIGTYPE_p_wxArrayString swig_types[39]
424 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
425 #define SWIGTYPE_p_wxToolTip swig_types[41]
426 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
427 #define SWIGTYPE_p_wxFileConfig swig_types[43]
428 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
429 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
430 #define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
431 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
432 #define SWIGTYPE_p_wxRect swig_types[48]
433 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
434 #define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
435 #define SWIGTYPE_p_wxFrame swig_types[51]
436 #define SWIGTYPE_p_wxTimer swig_types[52]
437 #define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
438 #define SWIGTYPE_p_wxPyArtProvider swig_types[54]
439 #define SWIGTYPE_p_wxPyTipProvider swig_types[55]
440 #define SWIGTYPE_p_wxTipProvider swig_types[56]
441 #define SWIGTYPE_p_wxJoystick swig_types[57]
442 #define SWIGTYPE_p_wxSystemOptions swig_types[58]
443 #define SWIGTYPE_p_wxPoint swig_types[59]
444 #define SWIGTYPE_p_wxJoystickEvent swig_types[60]
445 #define SWIGTYPE_p_wxCursor swig_types[61]
446 #define SWIGTYPE_p_wxObject swig_types[62]
447 #define SWIGTYPE_p_wxOutputStream swig_types[63]
448 #define SWIGTYPE_p_wxDateTime swig_types[64]
449 #define SWIGTYPE_p_wxPyDropSource swig_types[65]
450 #define SWIGTYPE_p_wxWindow swig_types[66]
451 #define SWIGTYPE_p_wxString swig_types[67]
452 #define SWIGTYPE_p_wxPyProcess swig_types[68]
453 #define SWIGTYPE_p_wxBitmap swig_types[69]
454 #define SWIGTYPE_p_wxConfig swig_types[70]
455 #define SWIGTYPE_p_wxChar swig_types[71]
456 #define SWIGTYPE_p_wxBusyInfo swig_types[72]
457 #define SWIGTYPE_p_wxPyDropTarget swig_types[73]
458 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
459 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
460 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
461 #define SWIGTYPE_p_wxPyLog swig_types[77]
462 #define SWIGTYPE_p_wxLogNull swig_types[78]
463 #define SWIGTYPE_p_wxColour swig_types[79]
464 #define SWIGTYPE_p_wxConfigPathChanger swig_types[80]
465 #define SWIGTYPE_p_wxPyTimer swig_types[81]
466 #define SWIGTYPE_p_wxDateSpan swig_types[82]
467 static swig_type_info *swig_types[84];
468
469 /* -------- TYPES TABLE (END) -------- */
470
471
472 /*-----------------------------------------------
473 @(target):= _misc.so
474 ------------------------------------------------*/
475 #define SWIG_init init_misc
476
477 #define SWIG_name "_misc"
478
479 #include "wx/wxPython/wxPython.h"
480 #include "wx/wxPython/pyclasses.h"
481 #include "wx/wxPython/pyistream.h"
482
483
484 static const wxString wxPyEmptyString(wxEmptyString);
485
486
487 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
488 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
489 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
490
491 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
492 PyObject* o2;
493 PyObject* o3;
494
495 if (!target) {
496 target = o;
497 } else if (target == Py_None) {
498 Py_DECREF(Py_None);
499 target = o;
500 } else {
501 if (!PyTuple_Check(target)) {
502 o2 = target;
503 target = PyTuple_New(1);
504 PyTuple_SetItem(target, 0, o2);
505 }
506 o3 = PyTuple_New(1);
507 PyTuple_SetItem(o3, 0, o);
508
509 o2 = target;
510 target = PySequence_Concat(o2, o3);
511 Py_DECREF(o2);
512 Py_DECREF(o3);
513 }
514 return target;
515 }
516
517
518 bool wxThread_IsMain() {
519 #ifdef WXP_WITH_THREAD
520 return wxThread::IsMain();
521 #else
522 return True;
523 #endif
524 }
525
526
527 int wxCaret_GetBlinkTime() {
528 return wxCaret::GetBlinkTime();
529 }
530
531 void wxCaret_SetBlinkTime(int milliseconds) {
532 wxCaret::SetBlinkTime(milliseconds);
533 }
534
535
536 #include <wx/snglinst.h>
537
538
539 #ifdef __WXMSW__
540 #include <wx/msw/private.h>
541 #include <wx/dynload.h>
542 #endif
543
544
545
546 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
547 {
548 #ifdef __WXMSW__
549
550 switch (method)
551 {
552 case 1:
553 // This one only partially works. Appears to be an undocumented
554 // "standard" convention that not all widgets adhear to. For
555 // example, for some widgets backgrounds or non-client areas may
556 // not be painted.
557 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
558 break;
559
560 case 2:
561 // This one works much better, except for on XP. On Win2k nearly
562 // all widgets and their children are captured correctly[**]. On
563 // XP with Themes activated most native widgets draw only
564 // partially, if at all. Without themes it works just like on
565 // Win2k.
566 //
567 // ** For example the radio buttons in a wxRadioBox are not its
568 // children by default, but you can capture it via the panel
569 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
570 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
571 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
572 PRF_ERASEBKGND | PRF_OWNED );
573 break;
574
575 case 3:
576 // This one is only defined in the latest SDK and is only
577 // available on XP. MSDN says it is similar to sending WM_PRINT
578 // so I expect that it will work similar to the above. Since it
579 // is avaialble only on XP, it can't be compiled like this and
580 // will have to be loaded dynamically.
581 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
582
583 // fall through
584
585 case 4:
586 // Use PrintWindow if available, or fallback to WM_PRINT
587 // otherwise. Unfortunately using PrintWindow is even worse than
588 // WM_PRINT. For most native widgets nothing is drawn to the dc
589 // at all, with or without Themes.
590 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
591 static bool s_triedToLoad = False;
592 static PrintWindow_t pfnPrintWindow = NULL;
593 if ( !s_triedToLoad )
594 {
595
596 s_triedToLoad = True;
597 wxDynamicLibrary dllUser32(_T("user32.dll"));
598 if ( dllUser32.IsLoaded() )
599 {
600 wxLogNull nolog; // Don't report errors here
601 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
602 }
603 }
604 if (pfnPrintWindow)
605 {
606 printf("Using PrintWindow\n");
607 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
608 }
609 else
610 {
611 printf("Using WM_PRINT\n");
612 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
613 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
614 }
615 }
616 #endif
617 }
618
619
620
621 #include <wx/tipdlg.h>
622
623
624 class wxPyTipProvider : public wxTipProvider {
625 public:
626 wxPyTipProvider(size_t currentTip)
627 : wxTipProvider(currentTip) {}
628
629 DEC_PYCALLBACK_STRING__pure(GetTip);
630 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
631 PYPRIVATE;
632 };
633
634 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
635 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
636
637
638 IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
639
640 wxString Log_TimeStamp(){
641 wxString msg;
642 wxLog::TimeStamp(&msg);
643 return msg;
644 }
645 void wxLog_Destroy(wxLog *self){ delete self; }
646
647 // A wxLog class that can be derived from in wxPython
648 class wxPyLog : public wxLog {
649 public:
650 wxPyLog() : wxLog() {}
651
652 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
653 bool found;
654 wxPyBeginBlockThreads();
655 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
656 PyObject* s = wx2PyString(szString);
657 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
658 Py_DECREF(s);
659 }
660 wxPyEndBlockThreads();
661 if (! found)
662 wxLog::DoLog(level, szString, t);
663 }
664
665 virtual void DoLogString(const wxChar *szString, time_t t) {
666 bool found;
667 wxPyBeginBlockThreads();
668 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
669 PyObject* s = wx2PyString(szString);
670 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
671 Py_DECREF(s);
672 }
673 wxPyEndBlockThreads();
674 if (! found)
675 wxLog::DoLogString(szString, t);
676 }
677
678 PYPRIVATE;
679 };
680
681
682
683
684 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
685
686
687 #include <wx/joystick.h>
688
689
690 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
691 // A C++ stub class for wxJoystick for platforms that don't have it.
692 class wxJoystick : public wxObject {
693 public:
694 wxJoystick(int joystick = wxJOYSTICK1) {
695 wxPyBeginBlockThreads();
696 PyErr_SetString(PyExc_NotImplementedError,
697 "wxJoystick is not available on this platform.");
698 wxPyEndBlockThreads();
699 }
700 wxPoint GetPosition() { return wxPoint(-1,-1); }
701 int GetZPosition() { return -1; }
702 int GetButtonState() { return -1; }
703 int GetPOVPosition() { return -1; }
704 int GetPOVCTSPosition() { return -1; }
705 int GetRudderPosition() { return -1; }
706 int GetUPosition() { return -1; }
707 int GetVPosition() { return -1; }
708 int GetMovementThreshold() { return -1; }
709 void SetMovementThreshold(int threshold) {}
710
711 bool IsOk(void) { return False; }
712 int GetNumberJoysticks() { return -1; }
713 int GetManufacturerId() { return -1; }
714 int GetProductId() { return -1; }
715 wxString GetProductName() { return ""; }
716 int GetXMin() { return -1; }
717 int GetYMin() { return -1; }
718 int GetZMin() { return -1; }
719 int GetXMax() { return -1; }
720 int GetYMax() { return -1; }
721 int GetZMax() { return -1; }
722 int GetNumberButtons() { return -1; }
723 int GetNumberAxes() { return -1; }
724 int GetMaxButtons() { return -1; }
725 int GetMaxAxes() { return -1; }
726 int GetPollingMin() { return -1; }
727 int GetPollingMax() { return -1; }
728 int GetRudderMin() { return -1; }
729 int GetRudderMax() { return -1; }
730 int GetUMin() { return -1; }
731 int GetUMax() { return -1; }
732 int GetVMin() { return -1; }
733 int GetVMax() { return -1; }
734
735 bool HasRudder() { return False; }
736 bool HasZ() { return False; }
737 bool HasU() { return False; }
738 bool HasV() { return False; }
739 bool HasPOV() { return False; }
740 bool HasPOV4Dir() { return False; }
741 bool HasPOVCTS() { return False; }
742
743 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
744 bool ReleaseCapture() { return False; }
745 };
746 #endif
747
748
749 #include <wx/wave.h>
750
751
752 #if !wxUSE_WAVE
753 // A C++ stub class for wxWave for platforms that don't have it.
754 class wxWave : public wxObject
755 {
756 public:
757 wxWave(const wxString& fileName, bool isResource = False) {
758 wxPyBeginBlockThreads();
759 PyErr_SetString(PyExc_NotImplementedError,
760 "wxWave is not available on this platform.");
761 wxPyEndBlockThreads();
762 }
763 wxWave(int size, const wxByte* data) {
764 wxPyBeginBlockThreads();
765 PyErr_SetString(PyExc_NotImplementedError,
766 "wxWave is not available on this platform.");
767 wxPyEndBlockThreads();
768 }
769
770 ~wxWave() {}
771
772 bool IsOk() const { return False; }
773 bool Play(bool async = True, bool looped = False) const { return False; }
774 };
775
776 #endif
777
778 wxWave *new_wxWave(wxString const &data){
779 return new wxWave(data.Len(), (wxByte*)data.c_str());
780 }
781
782 #include <wx/mimetype.h>
783
784 PyObject *wxFileType_GetMimeType(wxFileType *self){
785 wxString str;
786 if (self->GetMimeType(&str))
787 return wx2PyString(str);
788 else
789 RETURN_NONE();
790 }
791 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
792 wxArrayString arr;
793 if (self->GetMimeTypes(arr))
794 return wxArrayString2PyList_helper(arr);
795 else
796 RETURN_NONE();
797 }
798 PyObject *wxFileType_GetExtensions(wxFileType *self){
799 wxArrayString arr;
800 if (self->GetExtensions(arr))
801 return wxArrayString2PyList_helper(arr);
802 else
803 RETURN_NONE();
804 }
805 wxIcon *wxFileType_GetIcon(wxFileType *self){
806 wxIconLocation loc;
807 if (self->GetIcon(&loc))
808 return new wxIcon(loc);
809 else
810 return NULL;
811 }
812 PyObject *wxFileType_GetIconInfo(wxFileType *self){
813 wxIconLocation loc;
814 if (self->GetIcon(&loc)) {
815 wxString iconFile = loc.GetFileName();
816 int iconIndex = -1;
817
818 iconIndex = loc.GetIndex();
819
820 // Make a tuple and put the values in it
821 wxPyBeginBlockThreads();
822 PyObject* tuple = PyTuple_New(3);
823 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
824 wxT("wxIcon"), True));
825 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
826 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
827 wxPyEndBlockThreads();
828 return tuple;
829 }
830 else
831 RETURN_NONE();
832 }
833 PyObject *wxFileType_GetDescription(wxFileType *self){
834 wxString str;
835 if (self->GetDescription(&str))
836 return wx2PyString(str);
837 else
838 RETURN_NONE();
839 }
840 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
841 wxString str;
842 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
843 return wx2PyString(str);
844 else
845 RETURN_NONE();
846 }
847 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
848 wxString str;
849 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
850 return wx2PyString(str);
851 else
852 RETURN_NONE();
853 }
854 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
855 wxArrayString verbs;
856 wxArrayString commands;
857 if (self->GetAllCommands(&verbs, &commands,
858 wxFileType::MessageParameters(filename, mimetype))) {
859 wxPyBeginBlockThreads();
860 PyObject* tuple = PyTuple_New(2);
861 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
862 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
863 wxPyEndBlockThreads();
864 return tuple;
865 }
866 else
867 RETURN_NONE();
868 }
869 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
870 return wxFileType::ExpandCommand(command,
871 wxFileType::MessageParameters(filename, mimetype));
872 }
873 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
874 wxArrayString arr;
875 self->EnumAllFileTypes(arr);
876 return wxArrayString2PyList_helper(arr);
877 }
878
879 #include <wx/artprov.h>
880
881 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
882 static const wxString wxPyART_MENU(wxART_MENU);
883 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
884 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
885 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
886 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
887 static const wxString wxPyART_OTHER(wxART_OTHER);
888 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
889 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
890 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
891 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
892 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
893 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
894 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
895 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
896 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
897 static const wxString wxPyART_GO_UP(wxART_GO_UP);
898 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
899 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
900 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
901 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
902 static const wxString wxPyART_PRINT(wxART_PRINT);
903 static const wxString wxPyART_HELP(wxART_HELP);
904 static const wxString wxPyART_TIP(wxART_TIP);
905 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
906 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
907 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
908 static const wxString wxPyART_FOLDER(wxART_FOLDER);
909 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
910 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
911 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
912 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
913 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
914 static const wxString wxPyART_ERROR(wxART_ERROR);
915 static const wxString wxPyART_QUESTION(wxART_QUESTION);
916 static const wxString wxPyART_WARNING(wxART_WARNING);
917 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
918 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
919 // Python aware wxArtProvider
920 class wxPyArtProvider : public wxArtProvider {
921 public:
922
923 virtual wxBitmap CreateBitmap(const wxArtID& id,
924 const wxArtClient& client,
925 const wxSize& size) {
926 wxBitmap rval = wxNullBitmap;
927 wxPyBeginBlockThreads();
928 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
929 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
930 PyObject* ro;
931 wxBitmap* ptr;
932 PyObject* s1, *s2;
933 s1 = wx2PyString(id);
934 s2 = wx2PyString(client);
935 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
936 Py_DECREF(so);
937 Py_DECREF(s1);
938 Py_DECREF(s2);
939 if (ro) {
940 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
941 rval = *ptr;
942 Py_DECREF(ro);
943 }
944 }
945 wxPyEndBlockThreads();
946 return rval;
947 }
948
949 PYPRIVATE;
950 };
951
952 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
953
954
955
956 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
957 PyObject* ret = PyTuple_New(3);
958 if (ret) {
959 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
960 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
961 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
962 }
963 return ret;
964 }
965
966 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
967 bool cont;
968 long index = 0;
969 wxString value;
970
971 cont = self->GetFirstGroup(value, index);
972 return __EnumerationHelper(cont, value, index);
973 }
974 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
975 bool cont;
976 wxString value;
977
978 cont = self->GetNextGroup(value, index);
979 return __EnumerationHelper(cont, value, index);
980 }
981 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
982 bool cont;
983 long index = 0;
984 wxString value;
985
986 cont = self->GetFirstEntry(value, index);
987 return __EnumerationHelper(cont, value, index);
988 }
989 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
990 bool cont;
991 wxString value;
992
993 cont = self->GetNextEntry(value, index);
994 return __EnumerationHelper(cont, value, index);
995 }
996 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
997 long rv;
998 self->Read(key, &rv, defaultVal);
999 return rv;
1000 }
1001 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1002 double rv;
1003 self->Read(key, &rv, defaultVal);
1004 return rv;
1005 }
1006 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1007 bool rv;
1008 self->Read(key, &rv, defaultVal);
1009 return rv;
1010 }
1011
1012 #include <wx/datetime.h>
1013
1014
1015 static const wxString wxPyDateFormatStr(wxT("%c"));
1016 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1017
1018 #define LOCAL_TZ wxDateTime::Local
1019
1020 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1021 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1022 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1023 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1024 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
1025 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
1026 bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
1027 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
1028 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
1029 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
1030 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
1031 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1032 const wxChar* rv;
1033 const wxChar* _date = date;
1034 rv = self->ParseRfc822Date(_date);
1035 if (rv == NULL) return -1;
1036 return rv - _date;
1037 }
1038 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1039 const wxChar* rv;
1040 const wxChar* _date = date;
1041 rv = self->ParseFormat(_date, format, dateDef);
1042 if (rv == NULL) return -1;
1043 return rv - _date;
1044 }
1045 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1046 const wxChar* rv;
1047 const wxChar* _datetime = datetime;
1048 rv = self->ParseDateTime(_datetime);
1049 if (rv == NULL) return -1;
1050 return rv - _datetime;
1051 }
1052 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1053 const wxChar* rv;
1054 const wxChar* _date = date;
1055 rv = self->ParseDate(_date);
1056 if (rv == NULL) return -1;
1057 return rv - _date;
1058 }
1059 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1060 const wxChar* rv;
1061 const wxChar* _time = time;
1062 rv = self->ParseTime(_time);
1063 if (rv == NULL) return -1;
1064 return rv - _time;
1065 }
1066 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1067 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1068 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1069 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1070 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
1071 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
1072 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
1073 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
1074 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
1075 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
1076 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1077 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1078 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1079 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1080 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
1081 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
1082
1083 #include <wx/dataobj.h>
1084
1085 // Create a new class for wxPython to use
1086 class wxPyDataObjectSimple : public wxDataObjectSimple {
1087 public:
1088 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1089 : wxDataObjectSimple(format) {}
1090
1091 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1092 bool GetDataHere(void *buf) const;
1093 bool SetData(size_t len, const void *buf) const;
1094 PYPRIVATE;
1095 };
1096
1097 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1098
1099 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1100 // We need to get the data for this object and write it to buf. I think
1101 // the best way to do this for wxPython is to have the Python method
1102 // return either a string or None and then act appropriately with the
1103 // C++ version.
1104
1105 bool rval = False;
1106 wxPyBeginBlockThreads();
1107 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1108 PyObject* ro;
1109 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1110 if (ro) {
1111 rval = (ro != Py_None && PyString_Check(ro));
1112 if (rval)
1113 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1114 Py_DECREF(ro);
1115 }
1116 }
1117 wxPyEndBlockThreads();
1118 return rval;
1119 }
1120
1121 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1122 // For this one we simply need to make a string from buf and len
1123 // and send it to the Python method.
1124 bool rval = False;
1125 wxPyBeginBlockThreads();
1126 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1127 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1128 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1129 Py_DECREF(data);
1130 }
1131 wxPyEndBlockThreads();
1132 return rval;
1133 }
1134
1135 // Create a new class for wxPython to use
1136 class wxPyTextDataObject : public wxTextDataObject {
1137 public:
1138 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1139 : wxTextDataObject(text) {}
1140
1141 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1142 DEC_PYCALLBACK_STRING__const(GetText);
1143 DEC_PYCALLBACK__STRING(SetText);
1144 PYPRIVATE;
1145 };
1146
1147 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1148 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1149 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1150
1151
1152 // Create a new class for wxPython to use
1153 class wxPyBitmapDataObject : public wxBitmapDataObject {
1154 public:
1155 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1156 : wxBitmapDataObject(bitmap) {}
1157
1158 wxBitmap GetBitmap() const;
1159 void SetBitmap(const wxBitmap& bitmap);
1160 PYPRIVATE;
1161 };
1162
1163 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1164 wxBitmap* rval = &wxNullBitmap;
1165 wxPyBeginBlockThreads();
1166 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1167 PyObject* ro;
1168 wxBitmap* ptr;
1169 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1170 if (ro) {
1171 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1172 rval = ptr;
1173 Py_DECREF(ro);
1174 }
1175 }
1176 wxPyEndBlockThreads();
1177 return *rval;
1178 }
1179
1180 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1181 wxPyBeginBlockThreads();
1182 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1183 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1184 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1185 Py_DECREF(bo);
1186 }
1187 wxPyEndBlockThreads();
1188 }
1189
1190 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1191 if (PyString_Check(data)) {
1192 // for Python we just call SetData here since we always need it to make a copy.
1193 self->SetData(PyString_Size(data), PyString_AsString(data));
1194 }
1195 else {
1196 // raise a TypeError if not a string
1197 PyErr_SetString(PyExc_TypeError, "String expected.");
1198 }
1199 }
1200 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1201 if (PyString_Check(data)) {
1202 return self->SetData(PyString_Size(data), PyString_AsString(data));
1203 }
1204 else {
1205 // raise a TypeError if not a string
1206 PyErr_SetString(PyExc_TypeError, "String expected.");
1207 return False;
1208 }
1209 }
1210 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1211 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1212 }
1213
1214 #include <wx/metafile.h>
1215
1216
1217 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1218
1219
1220 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1221 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1222 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1223 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1224 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1225
1226
1227 class wxPyTextDropTarget : public wxTextDropTarget {
1228 public:
1229 wxPyTextDropTarget() {}
1230
1231 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1232
1233 DEC_PYCALLBACK__(OnLeave);
1234 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1235 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1236 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1237 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1238
1239 PYPRIVATE;
1240 };
1241
1242 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1243 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1244 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1245 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1246 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1247 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1248
1249
1250
1251 class wxPyFileDropTarget : public wxFileDropTarget {
1252 public:
1253 wxPyFileDropTarget() {}
1254
1255 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1256
1257 DEC_PYCALLBACK__(OnLeave);
1258 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1259 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1260 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1261 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1262
1263 PYPRIVATE;
1264 };
1265
1266 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1267 const wxArrayString& filenames) {
1268 bool rval = False;
1269 wxPyBeginBlockThreads();
1270 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1271 PyObject* list = wxArrayString2PyList_helper(filenames);
1272 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1273 Py_DECREF(list);
1274 }
1275 wxPyEndBlockThreads();
1276 return rval;
1277 }
1278
1279
1280
1281 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1282 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1283 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1284 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1285 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1286
1287
1288
1289
1290 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1291 #ifdef __cplusplus
1292 extern "C" {
1293 #endif
1294 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1295 PyObject *resultobj;
1296 int arg1 ;
1297 wxColour result;
1298 char *kwnames[] = {
1299 (char *) "index", NULL
1300 };
1301
1302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1303 {
1304 PyThreadState* __tstate = wxPyBeginAllowThreads();
1305 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1306
1307 wxPyEndAllowThreads(__tstate);
1308 if (PyErr_Occurred()) SWIG_fail;
1309 }
1310 {
1311 wxColour * resultptr;
1312 resultptr = new wxColour((wxColour &) result);
1313 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1314 }
1315 return resultobj;
1316 fail:
1317 return NULL;
1318 }
1319
1320
1321 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1322 PyObject *resultobj;
1323 int arg1 ;
1324 wxFont result;
1325 char *kwnames[] = {
1326 (char *) "index", NULL
1327 };
1328
1329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1330 {
1331 PyThreadState* __tstate = wxPyBeginAllowThreads();
1332 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1333
1334 wxPyEndAllowThreads(__tstate);
1335 if (PyErr_Occurred()) SWIG_fail;
1336 }
1337 {
1338 wxFont * resultptr;
1339 resultptr = new wxFont((wxFont &) result);
1340 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1341 }
1342 return resultobj;
1343 fail:
1344 return NULL;
1345 }
1346
1347
1348 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1349 PyObject *resultobj;
1350 int arg1 ;
1351 int result;
1352 char *kwnames[] = {
1353 (char *) "index", NULL
1354 };
1355
1356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1357 {
1358 PyThreadState* __tstate = wxPyBeginAllowThreads();
1359 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1360
1361 wxPyEndAllowThreads(__tstate);
1362 if (PyErr_Occurred()) SWIG_fail;
1363 }
1364 resultobj = PyInt_FromLong((long)result);
1365 return resultobj;
1366 fail:
1367 return NULL;
1368 }
1369
1370
1371 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1372 PyObject *resultobj;
1373 int arg1 ;
1374 bool result;
1375 char *kwnames[] = {
1376 (char *) "index", NULL
1377 };
1378
1379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1380 {
1381 PyThreadState* __tstate = wxPyBeginAllowThreads();
1382 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1383
1384 wxPyEndAllowThreads(__tstate);
1385 if (PyErr_Occurred()) SWIG_fail;
1386 }
1387 resultobj = PyInt_FromLong((long)result);
1388 return resultobj;
1389 fail:
1390 return NULL;
1391 }
1392
1393
1394 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1395 PyObject *resultobj;
1396 int result;
1397 char *kwnames[] = {
1398 NULL
1399 };
1400
1401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1402 {
1403 PyThreadState* __tstate = wxPyBeginAllowThreads();
1404 result = (int)wxSystemSettings::GetScreenType();
1405
1406 wxPyEndAllowThreads(__tstate);
1407 if (PyErr_Occurred()) SWIG_fail;
1408 }
1409 resultobj = PyInt_FromLong((long)result);
1410 return resultobj;
1411 fail:
1412 return NULL;
1413 }
1414
1415
1416 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1417 PyObject *resultobj;
1418 int arg1 ;
1419 char *kwnames[] = {
1420 (char *) "screen", NULL
1421 };
1422
1423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1424 {
1425 PyThreadState* __tstate = wxPyBeginAllowThreads();
1426 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1427
1428 wxPyEndAllowThreads(__tstate);
1429 if (PyErr_Occurred()) SWIG_fail;
1430 }
1431 Py_INCREF(Py_None); resultobj = Py_None;
1432 return resultobj;
1433 fail:
1434 return NULL;
1435 }
1436
1437
1438 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1439 PyObject *obj;
1440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1441 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1442 Py_INCREF(obj);
1443 return Py_BuildValue((char *)"");
1444 }
1445 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject *resultobj;
1447 wxSystemOptions *result;
1448 char *kwnames[] = {
1449 NULL
1450 };
1451
1452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1453 {
1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
1455 result = (wxSystemOptions *)new wxSystemOptions();
1456
1457 wxPyEndAllowThreads(__tstate);
1458 if (PyErr_Occurred()) SWIG_fail;
1459 }
1460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1461 return resultobj;
1462 fail:
1463 return NULL;
1464 }
1465
1466
1467 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1468 PyObject *resultobj;
1469 wxString *arg1 = 0 ;
1470 wxString *arg2 = 0 ;
1471 bool temp1 = False ;
1472 bool temp2 = False ;
1473 PyObject * obj0 = 0 ;
1474 PyObject * obj1 = 0 ;
1475 char *kwnames[] = {
1476 (char *) "name",(char *) "value", NULL
1477 };
1478
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1480 {
1481 arg1 = wxString_in_helper(obj0);
1482 if (arg1 == NULL) SWIG_fail;
1483 temp1 = True;
1484 }
1485 {
1486 arg2 = wxString_in_helper(obj1);
1487 if (arg2 == NULL) SWIG_fail;
1488 temp2 = True;
1489 }
1490 {
1491 PyThreadState* __tstate = wxPyBeginAllowThreads();
1492 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1493
1494 wxPyEndAllowThreads(__tstate);
1495 if (PyErr_Occurred()) SWIG_fail;
1496 }
1497 Py_INCREF(Py_None); resultobj = Py_None;
1498 {
1499 if (temp1)
1500 delete arg1;
1501 }
1502 {
1503 if (temp2)
1504 delete arg2;
1505 }
1506 return resultobj;
1507 fail:
1508 {
1509 if (temp1)
1510 delete arg1;
1511 }
1512 {
1513 if (temp2)
1514 delete arg2;
1515 }
1516 return NULL;
1517 }
1518
1519
1520 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1521 PyObject *resultobj;
1522 wxString *arg1 = 0 ;
1523 int arg2 ;
1524 bool temp1 = False ;
1525 PyObject * obj0 = 0 ;
1526 char *kwnames[] = {
1527 (char *) "name",(char *) "value", NULL
1528 };
1529
1530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1531 {
1532 arg1 = wxString_in_helper(obj0);
1533 if (arg1 == NULL) SWIG_fail;
1534 temp1 = True;
1535 }
1536 {
1537 PyThreadState* __tstate = wxPyBeginAllowThreads();
1538 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1539
1540 wxPyEndAllowThreads(__tstate);
1541 if (PyErr_Occurred()) SWIG_fail;
1542 }
1543 Py_INCREF(Py_None); resultobj = Py_None;
1544 {
1545 if (temp1)
1546 delete arg1;
1547 }
1548 return resultobj;
1549 fail:
1550 {
1551 if (temp1)
1552 delete arg1;
1553 }
1554 return NULL;
1555 }
1556
1557
1558 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject *resultobj;
1560 wxString *arg1 = 0 ;
1561 wxString result;
1562 bool temp1 = False ;
1563 PyObject * obj0 = 0 ;
1564 char *kwnames[] = {
1565 (char *) "name", NULL
1566 };
1567
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1569 {
1570 arg1 = wxString_in_helper(obj0);
1571 if (arg1 == NULL) SWIG_fail;
1572 temp1 = True;
1573 }
1574 {
1575 PyThreadState* __tstate = wxPyBeginAllowThreads();
1576 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1577
1578 wxPyEndAllowThreads(__tstate);
1579 if (PyErr_Occurred()) SWIG_fail;
1580 }
1581 {
1582 #if wxUSE_UNICODE
1583 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1584 #else
1585 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1586 #endif
1587 }
1588 {
1589 if (temp1)
1590 delete arg1;
1591 }
1592 return resultobj;
1593 fail:
1594 {
1595 if (temp1)
1596 delete arg1;
1597 }
1598 return NULL;
1599 }
1600
1601
1602 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1603 PyObject *resultobj;
1604 wxString *arg1 = 0 ;
1605 int result;
1606 bool temp1 = False ;
1607 PyObject * obj0 = 0 ;
1608 char *kwnames[] = {
1609 (char *) "name", NULL
1610 };
1611
1612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1613 {
1614 arg1 = wxString_in_helper(obj0);
1615 if (arg1 == NULL) SWIG_fail;
1616 temp1 = True;
1617 }
1618 {
1619 PyThreadState* __tstate = wxPyBeginAllowThreads();
1620 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1621
1622 wxPyEndAllowThreads(__tstate);
1623 if (PyErr_Occurred()) SWIG_fail;
1624 }
1625 resultobj = PyInt_FromLong((long)result);
1626 {
1627 if (temp1)
1628 delete arg1;
1629 }
1630 return resultobj;
1631 fail:
1632 {
1633 if (temp1)
1634 delete arg1;
1635 }
1636 return NULL;
1637 }
1638
1639
1640 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1641 PyObject *resultobj;
1642 wxString *arg1 = 0 ;
1643 bool result;
1644 bool temp1 = False ;
1645 PyObject * obj0 = 0 ;
1646 char *kwnames[] = {
1647 (char *) "name", NULL
1648 };
1649
1650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1651 {
1652 arg1 = wxString_in_helper(obj0);
1653 if (arg1 == NULL) SWIG_fail;
1654 temp1 = True;
1655 }
1656 {
1657 PyThreadState* __tstate = wxPyBeginAllowThreads();
1658 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1659
1660 wxPyEndAllowThreads(__tstate);
1661 if (PyErr_Occurred()) SWIG_fail;
1662 }
1663 resultobj = PyInt_FromLong((long)result);
1664 {
1665 if (temp1)
1666 delete arg1;
1667 }
1668 return resultobj;
1669 fail:
1670 {
1671 if (temp1)
1672 delete arg1;
1673 }
1674 return NULL;
1675 }
1676
1677
1678 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1679 PyObject *obj;
1680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1681 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1682 Py_INCREF(obj);
1683 return Py_BuildValue((char *)"");
1684 }
1685 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1686 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1687 return 1;
1688 }
1689
1690
1691 static PyObject *_wrap_FileSelectorPromptStr_get() {
1692 PyObject *pyobj;
1693
1694 {
1695 #if wxUSE_UNICODE
1696 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1697 #else
1698 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1699 #endif
1700 }
1701 return pyobj;
1702 }
1703
1704
1705 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1706 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1707 return 1;
1708 }
1709
1710
1711 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1712 PyObject *pyobj;
1713
1714 {
1715 #if wxUSE_UNICODE
1716 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1717 #else
1718 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1719 #endif
1720 }
1721 return pyobj;
1722 }
1723
1724
1725 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1726 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1727 return 1;
1728 }
1729
1730
1731 static PyObject *_wrap_DirSelectorPromptStr_get() {
1732 PyObject *pyobj;
1733
1734 {
1735 #if wxUSE_UNICODE
1736 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1737 #else
1738 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1739 #endif
1740 }
1741 return pyobj;
1742 }
1743
1744
1745 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1746 PyObject *resultobj;
1747 long result;
1748 char *kwnames[] = {
1749 NULL
1750 };
1751
1752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1753 {
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 result = (long)wxNewId();
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 resultobj = PyInt_FromLong((long)result);
1761 return resultobj;
1762 fail:
1763 return NULL;
1764 }
1765
1766
1767 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 long arg1 ;
1770 char *kwnames[] = {
1771 (char *) "id", NULL
1772 };
1773
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1775 {
1776 PyThreadState* __tstate = wxPyBeginAllowThreads();
1777 wxRegisterId(arg1);
1778
1779 wxPyEndAllowThreads(__tstate);
1780 if (PyErr_Occurred()) SWIG_fail;
1781 }
1782 Py_INCREF(Py_None); resultobj = Py_None;
1783 return resultobj;
1784 fail:
1785 return NULL;
1786 }
1787
1788
1789 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1790 PyObject *resultobj;
1791 long result;
1792 char *kwnames[] = {
1793 NULL
1794 };
1795
1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1797 {
1798 PyThreadState* __tstate = wxPyBeginAllowThreads();
1799 result = (long)wxGetCurrentId();
1800
1801 wxPyEndAllowThreads(__tstate);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 }
1804 resultobj = PyInt_FromLong((long)result);
1805 return resultobj;
1806 fail:
1807 return NULL;
1808 }
1809
1810
1811 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1812 PyObject *resultobj;
1813 char *kwnames[] = {
1814 NULL
1815 };
1816
1817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1818 {
1819 PyThreadState* __tstate = wxPyBeginAllowThreads();
1820 wxBell();
1821
1822 wxPyEndAllowThreads(__tstate);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
1825 Py_INCREF(Py_None); resultobj = Py_None;
1826 return resultobj;
1827 fail:
1828 return NULL;
1829 }
1830
1831
1832 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1833 PyObject *resultobj;
1834 char *kwnames[] = {
1835 NULL
1836 };
1837
1838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1839 {
1840 PyThreadState* __tstate = wxPyBeginAllowThreads();
1841 wxEndBusyCursor();
1842
1843 wxPyEndAllowThreads(__tstate);
1844 if (PyErr_Occurred()) SWIG_fail;
1845 }
1846 Py_INCREF(Py_None); resultobj = Py_None;
1847 return resultobj;
1848 fail:
1849 return NULL;
1850 }
1851
1852
1853 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1854 PyObject *resultobj;
1855 bool arg1 = (bool) True ;
1856 long result;
1857 PyObject * obj0 = 0 ;
1858 char *kwnames[] = {
1859 (char *) "resetTimer", NULL
1860 };
1861
1862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1863 if (obj0) {
1864 {
1865 arg1 = (bool) SPyObj_AsBool(obj0);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 }
1869 {
1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
1871 result = (long)wxGetElapsedTime(arg1);
1872
1873 wxPyEndAllowThreads(__tstate);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 }
1876 resultobj = PyInt_FromLong((long)result);
1877 return resultobj;
1878 fail:
1879 return NULL;
1880 }
1881
1882
1883 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1884 PyObject *resultobj;
1885 int *arg1 = (int *) 0 ;
1886 int *arg2 = (int *) 0 ;
1887 int temp1 ;
1888 int temp2 ;
1889 char *kwnames[] = {
1890 NULL
1891 };
1892
1893 arg1 = &temp1;
1894 arg2 = &temp2;
1895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1896 {
1897 PyThreadState* __tstate = wxPyBeginAllowThreads();
1898 wxGetMousePosition(arg1,arg2);
1899
1900 wxPyEndAllowThreads(__tstate);
1901 if (PyErr_Occurred()) SWIG_fail;
1902 }
1903 Py_INCREF(Py_None); resultobj = Py_None;
1904 {
1905 PyObject *o = PyInt_FromLong((long) (*arg1));
1906 resultobj = t_output_helper(resultobj,o);
1907 }
1908 {
1909 PyObject *o = PyInt_FromLong((long) (*arg2));
1910 resultobj = t_output_helper(resultobj,o);
1911 }
1912 return resultobj;
1913 fail:
1914 return NULL;
1915 }
1916
1917
1918 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1919 PyObject *resultobj;
1920 bool result;
1921 char *kwnames[] = {
1922 NULL
1923 };
1924
1925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1926 {
1927 PyThreadState* __tstate = wxPyBeginAllowThreads();
1928 result = (bool)wxIsBusy();
1929
1930 wxPyEndAllowThreads(__tstate);
1931 if (PyErr_Occurred()) SWIG_fail;
1932 }
1933 resultobj = PyInt_FromLong((long)result);
1934 return resultobj;
1935 fail:
1936 return NULL;
1937 }
1938
1939
1940 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1941 PyObject *resultobj;
1942 wxString result;
1943 char *kwnames[] = {
1944 NULL
1945 };
1946
1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1948 {
1949 PyThreadState* __tstate = wxPyBeginAllowThreads();
1950 result = wxNow();
1951
1952 wxPyEndAllowThreads(__tstate);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 }
1955 {
1956 #if wxUSE_UNICODE
1957 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1958 #else
1959 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1960 #endif
1961 }
1962 return resultobj;
1963 fail:
1964 return NULL;
1965 }
1966
1967
1968 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 wxString const &arg1_defvalue = wxPyEmptyString ;
1971 wxString *arg1 = (wxString *) &arg1_defvalue ;
1972 bool result;
1973 bool temp1 = False ;
1974 PyObject * obj0 = 0 ;
1975 char *kwnames[] = {
1976 (char *) "command", NULL
1977 };
1978
1979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1980 if (obj0) {
1981 {
1982 arg1 = wxString_in_helper(obj0);
1983 if (arg1 == NULL) SWIG_fail;
1984 temp1 = True;
1985 }
1986 }
1987 {
1988 PyThreadState* __tstate = wxPyBeginAllowThreads();
1989 result = (bool)wxShell((wxString const &)*arg1);
1990
1991 wxPyEndAllowThreads(__tstate);
1992 if (PyErr_Occurred()) SWIG_fail;
1993 }
1994 resultobj = PyInt_FromLong((long)result);
1995 {
1996 if (temp1)
1997 delete arg1;
1998 }
1999 return resultobj;
2000 fail:
2001 {
2002 if (temp1)
2003 delete arg1;
2004 }
2005 return NULL;
2006 }
2007
2008
2009 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2010 PyObject *resultobj;
2011 char *kwnames[] = {
2012 NULL
2013 };
2014
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2016 {
2017 PyThreadState* __tstate = wxPyBeginAllowThreads();
2018 wxStartTimer();
2019
2020 wxPyEndAllowThreads(__tstate);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 }
2023 Py_INCREF(Py_None); resultobj = Py_None;
2024 return resultobj;
2025 fail:
2026 return NULL;
2027 }
2028
2029
2030 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2031 PyObject *resultobj;
2032 int *arg1 = (int *) 0 ;
2033 int *arg2 = (int *) 0 ;
2034 int result;
2035 int temp1 ;
2036 int temp2 ;
2037 char *kwnames[] = {
2038 NULL
2039 };
2040
2041 arg1 = &temp1;
2042 arg2 = &temp2;
2043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2044 {
2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
2046 result = (int)wxGetOsVersion(arg1,arg2);
2047
2048 wxPyEndAllowThreads(__tstate);
2049 if (PyErr_Occurred()) SWIG_fail;
2050 }
2051 resultobj = PyInt_FromLong((long)result);
2052 {
2053 PyObject *o = PyInt_FromLong((long) (*arg1));
2054 resultobj = t_output_helper(resultobj,o);
2055 }
2056 {
2057 PyObject *o = PyInt_FromLong((long) (*arg2));
2058 resultobj = t_output_helper(resultobj,o);
2059 }
2060 return resultobj;
2061 fail:
2062 return NULL;
2063 }
2064
2065
2066 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2067 PyObject *resultobj;
2068 wxString result;
2069 char *kwnames[] = {
2070 NULL
2071 };
2072
2073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2074 {
2075 PyThreadState* __tstate = wxPyBeginAllowThreads();
2076 result = wxGetOsDescription();
2077
2078 wxPyEndAllowThreads(__tstate);
2079 if (PyErr_Occurred()) SWIG_fail;
2080 }
2081 {
2082 #if wxUSE_UNICODE
2083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2084 #else
2085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2086 #endif
2087 }
2088 return resultobj;
2089 fail:
2090 return NULL;
2091 }
2092
2093
2094 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject *resultobj;
2096 long result;
2097 char *kwnames[] = {
2098 NULL
2099 };
2100
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 result = (long)wxGetFreeMemory();
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 resultobj = PyInt_FromLong((long)result);
2110 return resultobj;
2111 fail:
2112 return NULL;
2113 }
2114
2115
2116 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2117 PyObject *resultobj;
2118 int arg1 ;
2119 bool result;
2120 char *kwnames[] = {
2121 (char *) "wFlags", NULL
2122 };
2123
2124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 resultobj = PyInt_FromLong((long)result);
2133 return resultobj;
2134 fail:
2135 return NULL;
2136 }
2137
2138
2139 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2140 PyObject *resultobj;
2141 int arg1 ;
2142 char *kwnames[] = {
2143 (char *) "secs", NULL
2144 };
2145
2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
2147 {
2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
2149 wxSleep(arg1);
2150
2151 wxPyEndAllowThreads(__tstate);
2152 if (PyErr_Occurred()) SWIG_fail;
2153 }
2154 Py_INCREF(Py_None); resultobj = Py_None;
2155 return resultobj;
2156 fail:
2157 return NULL;
2158 }
2159
2160
2161 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2162 PyObject *resultobj;
2163 unsigned long arg1 ;
2164 PyObject * obj0 = 0 ;
2165 char *kwnames[] = {
2166 (char *) "milliseconds", NULL
2167 };
2168
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2170 {
2171 arg1 = (unsigned long) SPyObj_AsUnsignedLong(obj0);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 {
2175 PyThreadState* __tstate = wxPyBeginAllowThreads();
2176 wxUsleep(arg1);
2177
2178 wxPyEndAllowThreads(__tstate);
2179 if (PyErr_Occurred()) SWIG_fail;
2180 }
2181 Py_INCREF(Py_None); resultobj = Py_None;
2182 return resultobj;
2183 fail:
2184 return NULL;
2185 }
2186
2187
2188 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2189 PyObject *resultobj;
2190 bool arg1 ;
2191 PyObject * obj0 = 0 ;
2192 char *kwnames[] = {
2193 (char *) "enable", NULL
2194 };
2195
2196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2197 {
2198 arg1 = (bool) SPyObj_AsBool(obj0);
2199 if (PyErr_Occurred()) SWIG_fail;
2200 }
2201 {
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
2203 wxEnableTopLevelWindows(arg1);
2204
2205 wxPyEndAllowThreads(__tstate);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
2208 Py_INCREF(Py_None); resultobj = Py_None;
2209 return resultobj;
2210 fail:
2211 return NULL;
2212 }
2213
2214
2215 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject *resultobj;
2217 wxString *arg1 = 0 ;
2218 wxString result;
2219 bool temp1 = False ;
2220 PyObject * obj0 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "in", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2226 {
2227 arg1 = wxString_in_helper(obj0);
2228 if (arg1 == NULL) SWIG_fail;
2229 temp1 = True;
2230 }
2231 {
2232 PyThreadState* __tstate = wxPyBeginAllowThreads();
2233 result = wxStripMenuCodes((wxString const &)*arg1);
2234
2235 wxPyEndAllowThreads(__tstate);
2236 if (PyErr_Occurred()) SWIG_fail;
2237 }
2238 {
2239 #if wxUSE_UNICODE
2240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2241 #else
2242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2243 #endif
2244 }
2245 {
2246 if (temp1)
2247 delete arg1;
2248 }
2249 return resultobj;
2250 fail:
2251 {
2252 if (temp1)
2253 delete arg1;
2254 }
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxString result;
2262 char *kwnames[] = {
2263 NULL
2264 };
2265
2266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2267 {
2268 PyThreadState* __tstate = wxPyBeginAllowThreads();
2269 result = wxGetEmailAddress();
2270
2271 wxPyEndAllowThreads(__tstate);
2272 if (PyErr_Occurred()) SWIG_fail;
2273 }
2274 {
2275 #if wxUSE_UNICODE
2276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2277 #else
2278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2279 #endif
2280 }
2281 return resultobj;
2282 fail:
2283 return NULL;
2284 }
2285
2286
2287 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2288 PyObject *resultobj;
2289 wxString result;
2290 char *kwnames[] = {
2291 NULL
2292 };
2293
2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2295 {
2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
2297 result = wxGetHostName();
2298
2299 wxPyEndAllowThreads(__tstate);
2300 if (PyErr_Occurred()) SWIG_fail;
2301 }
2302 {
2303 #if wxUSE_UNICODE
2304 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2305 #else
2306 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2307 #endif
2308 }
2309 return resultobj;
2310 fail:
2311 return NULL;
2312 }
2313
2314
2315 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2316 PyObject *resultobj;
2317 wxString result;
2318 char *kwnames[] = {
2319 NULL
2320 };
2321
2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2323 {
2324 PyThreadState* __tstate = wxPyBeginAllowThreads();
2325 result = wxGetFullHostName();
2326
2327 wxPyEndAllowThreads(__tstate);
2328 if (PyErr_Occurred()) SWIG_fail;
2329 }
2330 {
2331 #if wxUSE_UNICODE
2332 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2333 #else
2334 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2335 #endif
2336 }
2337 return resultobj;
2338 fail:
2339 return NULL;
2340 }
2341
2342
2343 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2344 PyObject *resultobj;
2345 wxString result;
2346 char *kwnames[] = {
2347 NULL
2348 };
2349
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2351 {
2352 PyThreadState* __tstate = wxPyBeginAllowThreads();
2353 result = wxGetUserId();
2354
2355 wxPyEndAllowThreads(__tstate);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 }
2358 {
2359 #if wxUSE_UNICODE
2360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2361 #else
2362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2363 #endif
2364 }
2365 return resultobj;
2366 fail:
2367 return NULL;
2368 }
2369
2370
2371 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxString result;
2374 char *kwnames[] = {
2375 NULL
2376 };
2377
2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2379 {
2380 PyThreadState* __tstate = wxPyBeginAllowThreads();
2381 result = wxGetUserName();
2382
2383 wxPyEndAllowThreads(__tstate);
2384 if (PyErr_Occurred()) SWIG_fail;
2385 }
2386 {
2387 #if wxUSE_UNICODE
2388 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2389 #else
2390 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2391 #endif
2392 }
2393 return resultobj;
2394 fail:
2395 return NULL;
2396 }
2397
2398
2399 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2400 PyObject *resultobj;
2401 wxString result;
2402 char *kwnames[] = {
2403 NULL
2404 };
2405
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 result = wxGetHomeDir();
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
2414 {
2415 #if wxUSE_UNICODE
2416 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2417 #else
2418 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2419 #endif
2420 }
2421 return resultobj;
2422 fail:
2423 return NULL;
2424 }
2425
2426
2427 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2428 PyObject *resultobj;
2429 wxString const &arg1_defvalue = wxPyEmptyString ;
2430 wxString *arg1 = (wxString *) &arg1_defvalue ;
2431 wxString result;
2432 bool temp1 = False ;
2433 PyObject * obj0 = 0 ;
2434 char *kwnames[] = {
2435 (char *) "user", NULL
2436 };
2437
2438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2439 if (obj0) {
2440 {
2441 arg1 = wxString_in_helper(obj0);
2442 if (arg1 == NULL) SWIG_fail;
2443 temp1 = True;
2444 }
2445 }
2446 {
2447 PyThreadState* __tstate = wxPyBeginAllowThreads();
2448 result = wxGetUserHome((wxString const &)*arg1);
2449
2450 wxPyEndAllowThreads(__tstate);
2451 if (PyErr_Occurred()) SWIG_fail;
2452 }
2453 {
2454 #if wxUSE_UNICODE
2455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2456 #else
2457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2458 #endif
2459 }
2460 {
2461 if (temp1)
2462 delete arg1;
2463 }
2464 return resultobj;
2465 fail:
2466 {
2467 if (temp1)
2468 delete arg1;
2469 }
2470 return NULL;
2471 }
2472
2473
2474 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2475 PyObject *resultobj;
2476 unsigned long result;
2477 char *kwnames[] = {
2478 NULL
2479 };
2480
2481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2482 {
2483 PyThreadState* __tstate = wxPyBeginAllowThreads();
2484 result = (unsigned long)wxGetProcessId();
2485
2486 wxPyEndAllowThreads(__tstate);
2487 if (PyErr_Occurred()) SWIG_fail;
2488 }
2489 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
2490 return resultobj;
2491 fail:
2492 return NULL;
2493 }
2494
2495
2496 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2497 PyObject *resultobj;
2498 char *kwnames[] = {
2499 NULL
2500 };
2501
2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2503 {
2504 PyThreadState* __tstate = wxPyBeginAllowThreads();
2505 wxTrap();
2506
2507 wxPyEndAllowThreads(__tstate);
2508 if (PyErr_Occurred()) SWIG_fail;
2509 }
2510 Py_INCREF(Py_None); resultobj = Py_None;
2511 return resultobj;
2512 fail:
2513 return NULL;
2514 }
2515
2516
2517 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2518 PyObject *resultobj;
2519 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2520 wxString *arg1 = (wxString *) &arg1_defvalue ;
2521 wxString const &arg2_defvalue = wxPyEmptyString ;
2522 wxString *arg2 = (wxString *) &arg2_defvalue ;
2523 wxString const &arg3_defvalue = wxPyEmptyString ;
2524 wxString *arg3 = (wxString *) &arg3_defvalue ;
2525 wxString const &arg4_defvalue = wxPyEmptyString ;
2526 wxString *arg4 = (wxString *) &arg4_defvalue ;
2527 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2528 wxString *arg5 = (wxString *) &arg5_defvalue ;
2529 int arg6 = (int) 0 ;
2530 wxWindow *arg7 = (wxWindow *) NULL ;
2531 int arg8 = (int) -1 ;
2532 int arg9 = (int) -1 ;
2533 wxString result;
2534 bool temp1 = False ;
2535 bool temp2 = False ;
2536 bool temp3 = False ;
2537 bool temp4 = False ;
2538 bool temp5 = False ;
2539 PyObject * obj0 = 0 ;
2540 PyObject * obj1 = 0 ;
2541 PyObject * obj2 = 0 ;
2542 PyObject * obj3 = 0 ;
2543 PyObject * obj4 = 0 ;
2544 PyObject * obj6 = 0 ;
2545 char *kwnames[] = {
2546 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2547 };
2548
2549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2550 if (obj0) {
2551 {
2552 arg1 = wxString_in_helper(obj0);
2553 if (arg1 == NULL) SWIG_fail;
2554 temp1 = True;
2555 }
2556 }
2557 if (obj1) {
2558 {
2559 arg2 = wxString_in_helper(obj1);
2560 if (arg2 == NULL) SWIG_fail;
2561 temp2 = True;
2562 }
2563 }
2564 if (obj2) {
2565 {
2566 arg3 = wxString_in_helper(obj2);
2567 if (arg3 == NULL) SWIG_fail;
2568 temp3 = True;
2569 }
2570 }
2571 if (obj3) {
2572 {
2573 arg4 = wxString_in_helper(obj3);
2574 if (arg4 == NULL) SWIG_fail;
2575 temp4 = True;
2576 }
2577 }
2578 if (obj4) {
2579 {
2580 arg5 = wxString_in_helper(obj4);
2581 if (arg5 == NULL) SWIG_fail;
2582 temp5 = True;
2583 }
2584 }
2585 if (obj6) {
2586 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2587 }
2588 {
2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
2590 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2591
2592 wxPyEndAllowThreads(__tstate);
2593 if (PyErr_Occurred()) SWIG_fail;
2594 }
2595 {
2596 #if wxUSE_UNICODE
2597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2598 #else
2599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2600 #endif
2601 }
2602 {
2603 if (temp1)
2604 delete arg1;
2605 }
2606 {
2607 if (temp2)
2608 delete arg2;
2609 }
2610 {
2611 if (temp3)
2612 delete arg3;
2613 }
2614 {
2615 if (temp4)
2616 delete arg4;
2617 }
2618 {
2619 if (temp5)
2620 delete arg5;
2621 }
2622 return resultobj;
2623 fail:
2624 {
2625 if (temp1)
2626 delete arg1;
2627 }
2628 {
2629 if (temp2)
2630 delete arg2;
2631 }
2632 {
2633 if (temp3)
2634 delete arg3;
2635 }
2636 {
2637 if (temp4)
2638 delete arg4;
2639 }
2640 {
2641 if (temp5)
2642 delete arg5;
2643 }
2644 return NULL;
2645 }
2646
2647
2648 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2649 PyObject *resultobj;
2650 wxString *arg1 = 0 ;
2651 wxString *arg2 = 0 ;
2652 wxString const &arg3_defvalue = wxPyEmptyString ;
2653 wxString *arg3 = (wxString *) &arg3_defvalue ;
2654 wxWindow *arg4 = (wxWindow *) NULL ;
2655 wxString result;
2656 bool temp1 = False ;
2657 bool temp2 = False ;
2658 bool temp3 = False ;
2659 PyObject * obj0 = 0 ;
2660 PyObject * obj1 = 0 ;
2661 PyObject * obj2 = 0 ;
2662 PyObject * obj3 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2668 {
2669 arg1 = wxString_in_helper(obj0);
2670 if (arg1 == NULL) SWIG_fail;
2671 temp1 = True;
2672 }
2673 {
2674 arg2 = wxString_in_helper(obj1);
2675 if (arg2 == NULL) SWIG_fail;
2676 temp2 = True;
2677 }
2678 if (obj2) {
2679 {
2680 arg3 = wxString_in_helper(obj2);
2681 if (arg3 == NULL) SWIG_fail;
2682 temp3 = True;
2683 }
2684 }
2685 if (obj3) {
2686 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2687 }
2688 {
2689 PyThreadState* __tstate = wxPyBeginAllowThreads();
2690 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2691
2692 wxPyEndAllowThreads(__tstate);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 {
2696 #if wxUSE_UNICODE
2697 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2698 #else
2699 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2700 #endif
2701 }
2702 {
2703 if (temp1)
2704 delete arg1;
2705 }
2706 {
2707 if (temp2)
2708 delete arg2;
2709 }
2710 {
2711 if (temp3)
2712 delete arg3;
2713 }
2714 return resultobj;
2715 fail:
2716 {
2717 if (temp1)
2718 delete arg1;
2719 }
2720 {
2721 if (temp2)
2722 delete arg2;
2723 }
2724 {
2725 if (temp3)
2726 delete arg3;
2727 }
2728 return NULL;
2729 }
2730
2731
2732 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 wxString *arg1 = 0 ;
2735 wxString *arg2 = 0 ;
2736 wxString const &arg3_defvalue = wxPyEmptyString ;
2737 wxString *arg3 = (wxString *) &arg3_defvalue ;
2738 wxWindow *arg4 = (wxWindow *) NULL ;
2739 wxString result;
2740 bool temp1 = False ;
2741 bool temp2 = False ;
2742 bool temp3 = False ;
2743 PyObject * obj0 = 0 ;
2744 PyObject * obj1 = 0 ;
2745 PyObject * obj2 = 0 ;
2746 PyObject * obj3 = 0 ;
2747 char *kwnames[] = {
2748 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2749 };
2750
2751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2752 {
2753 arg1 = wxString_in_helper(obj0);
2754 if (arg1 == NULL) SWIG_fail;
2755 temp1 = True;
2756 }
2757 {
2758 arg2 = wxString_in_helper(obj1);
2759 if (arg2 == NULL) SWIG_fail;
2760 temp2 = True;
2761 }
2762 if (obj2) {
2763 {
2764 arg3 = wxString_in_helper(obj2);
2765 if (arg3 == NULL) SWIG_fail;
2766 temp3 = True;
2767 }
2768 }
2769 if (obj3) {
2770 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2771 }
2772 {
2773 PyThreadState* __tstate = wxPyBeginAllowThreads();
2774 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2775
2776 wxPyEndAllowThreads(__tstate);
2777 if (PyErr_Occurred()) SWIG_fail;
2778 }
2779 {
2780 #if wxUSE_UNICODE
2781 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2782 #else
2783 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2784 #endif
2785 }
2786 {
2787 if (temp1)
2788 delete arg1;
2789 }
2790 {
2791 if (temp2)
2792 delete arg2;
2793 }
2794 {
2795 if (temp3)
2796 delete arg3;
2797 }
2798 return resultobj;
2799 fail:
2800 {
2801 if (temp1)
2802 delete arg1;
2803 }
2804 {
2805 if (temp2)
2806 delete arg2;
2807 }
2808 {
2809 if (temp3)
2810 delete arg3;
2811 }
2812 return NULL;
2813 }
2814
2815
2816 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2817 PyObject *resultobj;
2818 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2819 wxString *arg1 = (wxString *) &arg1_defvalue ;
2820 wxString const &arg2_defvalue = wxPyEmptyString ;
2821 wxString *arg2 = (wxString *) &arg2_defvalue ;
2822 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2823 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2824 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2825 wxWindow *arg5 = (wxWindow *) NULL ;
2826 wxString result;
2827 bool temp1 = False ;
2828 bool temp2 = False ;
2829 wxPoint temp4 ;
2830 PyObject * obj0 = 0 ;
2831 PyObject * obj1 = 0 ;
2832 PyObject * obj3 = 0 ;
2833 PyObject * obj4 = 0 ;
2834 char *kwnames[] = {
2835 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2836 };
2837
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2839 if (obj0) {
2840 {
2841 arg1 = wxString_in_helper(obj0);
2842 if (arg1 == NULL) SWIG_fail;
2843 temp1 = True;
2844 }
2845 }
2846 if (obj1) {
2847 {
2848 arg2 = wxString_in_helper(obj1);
2849 if (arg2 == NULL) SWIG_fail;
2850 temp2 = True;
2851 }
2852 }
2853 if (obj3) {
2854 {
2855 arg4 = &temp4;
2856 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2857 }
2858 }
2859 if (obj4) {
2860 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2861 }
2862 {
2863 PyThreadState* __tstate = wxPyBeginAllowThreads();
2864 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2865
2866 wxPyEndAllowThreads(__tstate);
2867 if (PyErr_Occurred()) SWIG_fail;
2868 }
2869 {
2870 #if wxUSE_UNICODE
2871 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2872 #else
2873 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2874 #endif
2875 }
2876 {
2877 if (temp1)
2878 delete arg1;
2879 }
2880 {
2881 if (temp2)
2882 delete arg2;
2883 }
2884 return resultobj;
2885 fail:
2886 {
2887 if (temp1)
2888 delete arg1;
2889 }
2890 {
2891 if (temp2)
2892 delete arg2;
2893 }
2894 return NULL;
2895 }
2896
2897
2898 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxString *arg1 = 0 ;
2901 wxString const &arg2_defvalue = wxPyEmptyString ;
2902 wxString *arg2 = (wxString *) &arg2_defvalue ;
2903 wxString const &arg3_defvalue = wxPyEmptyString ;
2904 wxString *arg3 = (wxString *) &arg3_defvalue ;
2905 wxWindow *arg4 = (wxWindow *) NULL ;
2906 int arg5 = (int) -1 ;
2907 int arg6 = (int) -1 ;
2908 bool arg7 = (bool) True ;
2909 wxString result;
2910 bool temp1 = False ;
2911 bool temp2 = False ;
2912 bool temp3 = False ;
2913 PyObject * obj0 = 0 ;
2914 PyObject * obj1 = 0 ;
2915 PyObject * obj2 = 0 ;
2916 PyObject * obj3 = 0 ;
2917 PyObject * obj6 = 0 ;
2918 char *kwnames[] = {
2919 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2920 };
2921
2922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2923 {
2924 arg1 = wxString_in_helper(obj0);
2925 if (arg1 == NULL) SWIG_fail;
2926 temp1 = True;
2927 }
2928 if (obj1) {
2929 {
2930 arg2 = wxString_in_helper(obj1);
2931 if (arg2 == NULL) SWIG_fail;
2932 temp2 = True;
2933 }
2934 }
2935 if (obj2) {
2936 {
2937 arg3 = wxString_in_helper(obj2);
2938 if (arg3 == NULL) SWIG_fail;
2939 temp3 = True;
2940 }
2941 }
2942 if (obj3) {
2943 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2944 }
2945 if (obj6) {
2946 {
2947 arg7 = (bool) SPyObj_AsBool(obj6);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 }
2951 {
2952 PyThreadState* __tstate = wxPyBeginAllowThreads();
2953 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2954
2955 wxPyEndAllowThreads(__tstate);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 {
2959 #if wxUSE_UNICODE
2960 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2961 #else
2962 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2963 #endif
2964 }
2965 {
2966 if (temp1)
2967 delete arg1;
2968 }
2969 {
2970 if (temp2)
2971 delete arg2;
2972 }
2973 {
2974 if (temp3)
2975 delete arg3;
2976 }
2977 return resultobj;
2978 fail:
2979 {
2980 if (temp1)
2981 delete arg1;
2982 }
2983 {
2984 if (temp2)
2985 delete arg2;
2986 }
2987 {
2988 if (temp3)
2989 delete arg3;
2990 }
2991 return NULL;
2992 }
2993
2994
2995 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2996 PyObject *resultobj;
2997 wxString *arg1 = 0 ;
2998 wxString const &arg2_defvalue = wxPyEmptyString ;
2999 wxString *arg2 = (wxString *) &arg2_defvalue ;
3000 wxString const &arg3_defvalue = wxPyEmptyString ;
3001 wxString *arg3 = (wxString *) &arg3_defvalue ;
3002 wxWindow *arg4 = (wxWindow *) NULL ;
3003 wxString result;
3004 bool temp1 = False ;
3005 bool temp2 = False ;
3006 bool temp3 = False ;
3007 PyObject * obj0 = 0 ;
3008 PyObject * obj1 = 0 ;
3009 PyObject * obj2 = 0 ;
3010 PyObject * obj3 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3016 {
3017 arg1 = wxString_in_helper(obj0);
3018 if (arg1 == NULL) SWIG_fail;
3019 temp1 = True;
3020 }
3021 if (obj1) {
3022 {
3023 arg2 = wxString_in_helper(obj1);
3024 if (arg2 == NULL) SWIG_fail;
3025 temp2 = True;
3026 }
3027 }
3028 if (obj2) {
3029 {
3030 arg3 = wxString_in_helper(obj2);
3031 if (arg3 == NULL) SWIG_fail;
3032 temp3 = True;
3033 }
3034 }
3035 if (obj3) {
3036 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3037 }
3038 {
3039 PyThreadState* __tstate = wxPyBeginAllowThreads();
3040 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3041
3042 wxPyEndAllowThreads(__tstate);
3043 if (PyErr_Occurred()) SWIG_fail;
3044 }
3045 {
3046 #if wxUSE_UNICODE
3047 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3048 #else
3049 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3050 #endif
3051 }
3052 {
3053 if (temp1)
3054 delete arg1;
3055 }
3056 {
3057 if (temp2)
3058 delete arg2;
3059 }
3060 {
3061 if (temp3)
3062 delete arg3;
3063 }
3064 return resultobj;
3065 fail:
3066 {
3067 if (temp1)
3068 delete arg1;
3069 }
3070 {
3071 if (temp2)
3072 delete arg2;
3073 }
3074 {
3075 if (temp3)
3076 delete arg3;
3077 }
3078 return NULL;
3079 }
3080
3081
3082 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3083 PyObject *resultobj;
3084 wxString *arg1 = 0 ;
3085 wxString *arg2 = 0 ;
3086 int arg3 ;
3087 wxString *arg4 = (wxString *) 0 ;
3088 wxWindow *arg5 = (wxWindow *) NULL ;
3089 int arg6 = (int) -1 ;
3090 int arg7 = (int) -1 ;
3091 bool arg8 = (bool) True ;
3092 int arg9 = (int) 150 ;
3093 int arg10 = (int) 200 ;
3094 wxString result;
3095 bool temp1 = False ;
3096 bool temp2 = False ;
3097 PyObject * obj0 = 0 ;
3098 PyObject * obj1 = 0 ;
3099 PyObject * obj2 = 0 ;
3100 PyObject * obj3 = 0 ;
3101 PyObject * obj6 = 0 ;
3102 char *kwnames[] = {
3103 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3104 };
3105
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
3107 {
3108 arg1 = wxString_in_helper(obj0);
3109 if (arg1 == NULL) SWIG_fail;
3110 temp1 = True;
3111 }
3112 {
3113 arg2 = wxString_in_helper(obj1);
3114 if (arg2 == NULL) SWIG_fail;
3115 temp2 = True;
3116 }
3117 {
3118 arg3 = PyList_Size(obj2);
3119 arg4 = wxString_LIST_helper(obj2);
3120 if (arg4 == NULL) SWIG_fail;
3121 }
3122 if (obj3) {
3123 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3124 }
3125 if (obj6) {
3126 {
3127 arg8 = (bool) SPyObj_AsBool(obj6);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 }
3131 {
3132 PyThreadState* __tstate = wxPyBeginAllowThreads();
3133 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3134
3135 wxPyEndAllowThreads(__tstate);
3136 if (PyErr_Occurred()) SWIG_fail;
3137 }
3138 {
3139 #if wxUSE_UNICODE
3140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3141 #else
3142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3143 #endif
3144 }
3145 {
3146 if (temp1)
3147 delete arg1;
3148 }
3149 {
3150 if (temp2)
3151 delete arg2;
3152 }
3153 {
3154 if (arg4) delete [] arg4;
3155 }
3156 return resultobj;
3157 fail:
3158 {
3159 if (temp1)
3160 delete arg1;
3161 }
3162 {
3163 if (temp2)
3164 delete arg2;
3165 }
3166 {
3167 if (arg4) delete [] arg4;
3168 }
3169 return NULL;
3170 }
3171
3172
3173 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3174 PyObject *resultobj;
3175 wxString *arg1 = 0 ;
3176 wxString *arg2 = 0 ;
3177 int arg3 ;
3178 wxString *arg4 = (wxString *) 0 ;
3179 wxWindow *arg5 = (wxWindow *) NULL ;
3180 int arg6 = (int) -1 ;
3181 int arg7 = (int) -1 ;
3182 bool arg8 = (bool) True ;
3183 int arg9 = (int) 150 ;
3184 int arg10 = (int) 200 ;
3185 int result;
3186 bool temp1 = False ;
3187 bool temp2 = False ;
3188 PyObject * obj0 = 0 ;
3189 PyObject * obj1 = 0 ;
3190 PyObject * obj2 = 0 ;
3191 PyObject * obj3 = 0 ;
3192 PyObject * obj6 = 0 ;
3193 char *kwnames[] = {
3194 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3195 };
3196
3197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
3198 {
3199 arg1 = wxString_in_helper(obj0);
3200 if (arg1 == NULL) SWIG_fail;
3201 temp1 = True;
3202 }
3203 {
3204 arg2 = wxString_in_helper(obj1);
3205 if (arg2 == NULL) SWIG_fail;
3206 temp2 = True;
3207 }
3208 {
3209 arg3 = PyList_Size(obj2);
3210 arg4 = wxString_LIST_helper(obj2);
3211 if (arg4 == NULL) SWIG_fail;
3212 }
3213 if (obj3) {
3214 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3215 }
3216 if (obj6) {
3217 {
3218 arg8 = (bool) SPyObj_AsBool(obj6);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
3221 }
3222 {
3223 PyThreadState* __tstate = wxPyBeginAllowThreads();
3224 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3225
3226 wxPyEndAllowThreads(__tstate);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 }
3229 resultobj = PyInt_FromLong((long)result);
3230 {
3231 if (temp1)
3232 delete arg1;
3233 }
3234 {
3235 if (temp2)
3236 delete arg2;
3237 }
3238 {
3239 if (arg4) delete [] arg4;
3240 }
3241 return resultobj;
3242 fail:
3243 {
3244 if (temp1)
3245 delete arg1;
3246 }
3247 {
3248 if (temp2)
3249 delete arg2;
3250 }
3251 {
3252 if (arg4) delete [] arg4;
3253 }
3254 return NULL;
3255 }
3256
3257
3258 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 wxString *arg1 = 0 ;
3261 wxString const &arg2_defvalue = wxPyEmptyString ;
3262 wxString *arg2 = (wxString *) &arg2_defvalue ;
3263 int arg3 = (int) wxOK|wxCENTRE ;
3264 wxWindow *arg4 = (wxWindow *) NULL ;
3265 int arg5 = (int) -1 ;
3266 int arg6 = (int) -1 ;
3267 int result;
3268 bool temp1 = False ;
3269 bool temp2 = False ;
3270 PyObject * obj0 = 0 ;
3271 PyObject * obj1 = 0 ;
3272 PyObject * obj3 = 0 ;
3273 char *kwnames[] = {
3274 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3275 };
3276
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3278 {
3279 arg1 = wxString_in_helper(obj0);
3280 if (arg1 == NULL) SWIG_fail;
3281 temp1 = True;
3282 }
3283 if (obj1) {
3284 {
3285 arg2 = wxString_in_helper(obj1);
3286 if (arg2 == NULL) SWIG_fail;
3287 temp2 = True;
3288 }
3289 }
3290 if (obj3) {
3291 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3292 }
3293 {
3294 PyThreadState* __tstate = wxPyBeginAllowThreads();
3295 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3296
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 }
3300 resultobj = PyInt_FromLong((long)result);
3301 {
3302 if (temp1)
3303 delete arg1;
3304 }
3305 {
3306 if (temp2)
3307 delete arg2;
3308 }
3309 return resultobj;
3310 fail:
3311 {
3312 if (temp1)
3313 delete arg1;
3314 }
3315 {
3316 if (temp2)
3317 delete arg2;
3318 }
3319 return NULL;
3320 }
3321
3322
3323 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject *resultobj;
3325 wxString *arg1 = 0 ;
3326 wxString *arg2 = 0 ;
3327 wxString *arg3 = 0 ;
3328 long arg4 ;
3329 long arg5 = (long) 0 ;
3330 long arg6 = (long) 100 ;
3331 wxWindow *arg7 = (wxWindow *) NULL ;
3332 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3333 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3334 long result;
3335 bool temp1 = False ;
3336 bool temp2 = False ;
3337 bool temp3 = False ;
3338 wxPoint temp8 ;
3339 PyObject * obj0 = 0 ;
3340 PyObject * obj1 = 0 ;
3341 PyObject * obj2 = 0 ;
3342 PyObject * obj6 = 0 ;
3343 PyObject * obj7 = 0 ;
3344 char *kwnames[] = {
3345 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3346 };
3347
3348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3349 {
3350 arg1 = wxString_in_helper(obj0);
3351 if (arg1 == NULL) SWIG_fail;
3352 temp1 = True;
3353 }
3354 {
3355 arg2 = wxString_in_helper(obj1);
3356 if (arg2 == NULL) SWIG_fail;
3357 temp2 = True;
3358 }
3359 {
3360 arg3 = wxString_in_helper(obj2);
3361 if (arg3 == NULL) SWIG_fail;
3362 temp3 = True;
3363 }
3364 if (obj6) {
3365 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3366 }
3367 if (obj7) {
3368 {
3369 arg8 = &temp8;
3370 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3371 }
3372 }
3373 {
3374 PyThreadState* __tstate = wxPyBeginAllowThreads();
3375 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3376
3377 wxPyEndAllowThreads(__tstate);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 }
3380 resultobj = PyInt_FromLong((long)result);
3381 {
3382 if (temp1)
3383 delete arg1;
3384 }
3385 {
3386 if (temp2)
3387 delete arg2;
3388 }
3389 {
3390 if (temp3)
3391 delete arg3;
3392 }
3393 return resultobj;
3394 fail:
3395 {
3396 if (temp1)
3397 delete arg1;
3398 }
3399 {
3400 if (temp2)
3401 delete arg2;
3402 }
3403 {
3404 if (temp3)
3405 delete arg3;
3406 }
3407 return NULL;
3408 }
3409
3410
3411 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3412 PyObject *resultobj;
3413 bool result;
3414 char *kwnames[] = {
3415 NULL
3416 };
3417
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3419 {
3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
3421 result = (bool)wxColourDisplay();
3422
3423 wxPyEndAllowThreads(__tstate);
3424 if (PyErr_Occurred()) SWIG_fail;
3425 }
3426 resultobj = PyInt_FromLong((long)result);
3427 return resultobj;
3428 fail:
3429 return NULL;
3430 }
3431
3432
3433 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject *resultobj;
3435 int result;
3436 char *kwnames[] = {
3437 NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 result = (int)wxDisplayDepth();
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 resultobj = PyInt_FromLong((long)result);
3449 return resultobj;
3450 fail:
3451 return NULL;
3452 }
3453
3454
3455 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3456 PyObject *resultobj;
3457 int result;
3458 char *kwnames[] = {
3459 NULL
3460 };
3461
3462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 result = (int)wxGetDisplayDepth();
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
3470 resultobj = PyInt_FromLong((long)result);
3471 return resultobj;
3472 fail:
3473 return NULL;
3474 }
3475
3476
3477 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3478 PyObject *resultobj;
3479 int *arg1 = (int *) 0 ;
3480 int *arg2 = (int *) 0 ;
3481 int temp1 ;
3482 int temp2 ;
3483 char *kwnames[] = {
3484 NULL
3485 };
3486
3487 arg1 = &temp1;
3488 arg2 = &temp2;
3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3490 {
3491 PyThreadState* __tstate = wxPyBeginAllowThreads();
3492 wxDisplaySize(arg1,arg2);
3493
3494 wxPyEndAllowThreads(__tstate);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 Py_INCREF(Py_None); resultobj = Py_None;
3498 {
3499 PyObject *o = PyInt_FromLong((long) (*arg1));
3500 resultobj = t_output_helper(resultobj,o);
3501 }
3502 {
3503 PyObject *o = PyInt_FromLong((long) (*arg2));
3504 resultobj = t_output_helper(resultobj,o);
3505 }
3506 return resultobj;
3507 fail:
3508 return NULL;
3509 }
3510
3511
3512 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxSize result;
3515 char *kwnames[] = {
3516 NULL
3517 };
3518
3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3520 {
3521 PyThreadState* __tstate = wxPyBeginAllowThreads();
3522 result = wxGetDisplaySize();
3523
3524 wxPyEndAllowThreads(__tstate);
3525 if (PyErr_Occurred()) SWIG_fail;
3526 }
3527 {
3528 wxSize * resultptr;
3529 resultptr = new wxSize((wxSize &) result);
3530 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3531 }
3532 return resultobj;
3533 fail:
3534 return NULL;
3535 }
3536
3537
3538 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3539 PyObject *resultobj;
3540 int *arg1 = (int *) 0 ;
3541 int *arg2 = (int *) 0 ;
3542 int temp1 ;
3543 int temp2 ;
3544 char *kwnames[] = {
3545 NULL
3546 };
3547
3548 arg1 = &temp1;
3549 arg2 = &temp2;
3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3551 {
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 wxDisplaySizeMM(arg1,arg2);
3554
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
3558 Py_INCREF(Py_None); resultobj = Py_None;
3559 {
3560 PyObject *o = PyInt_FromLong((long) (*arg1));
3561 resultobj = t_output_helper(resultobj,o);
3562 }
3563 {
3564 PyObject *o = PyInt_FromLong((long) (*arg2));
3565 resultobj = t_output_helper(resultobj,o);
3566 }
3567 return resultobj;
3568 fail:
3569 return NULL;
3570 }
3571
3572
3573 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3574 PyObject *resultobj;
3575 wxSize result;
3576 char *kwnames[] = {
3577 NULL
3578 };
3579
3580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = wxGetDisplaySizeMM();
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 {
3589 wxSize * resultptr;
3590 resultptr = new wxSize((wxSize &) result);
3591 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3592 }
3593 return resultobj;
3594 fail:
3595 return NULL;
3596 }
3597
3598
3599 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3600 PyObject *resultobj;
3601 int *arg1 = (int *) 0 ;
3602 int *arg2 = (int *) 0 ;
3603 int *arg3 = (int *) 0 ;
3604 int *arg4 = (int *) 0 ;
3605 int temp1 ;
3606 int temp2 ;
3607 int temp3 ;
3608 int temp4 ;
3609 char *kwnames[] = {
3610 NULL
3611 };
3612
3613 arg1 = &temp1;
3614 arg2 = &temp2;
3615 arg3 = &temp3;
3616 arg4 = &temp4;
3617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3618 {
3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
3620 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3621
3622 wxPyEndAllowThreads(__tstate);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 Py_INCREF(Py_None); resultobj = Py_None;
3626 {
3627 PyObject *o = PyInt_FromLong((long) (*arg1));
3628 resultobj = t_output_helper(resultobj,o);
3629 }
3630 {
3631 PyObject *o = PyInt_FromLong((long) (*arg2));
3632 resultobj = t_output_helper(resultobj,o);
3633 }
3634 {
3635 PyObject *o = PyInt_FromLong((long) (*arg3));
3636 resultobj = t_output_helper(resultobj,o);
3637 }
3638 {
3639 PyObject *o = PyInt_FromLong((long) (*arg4));
3640 resultobj = t_output_helper(resultobj,o);
3641 }
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxRect result;
3651 char *kwnames[] = {
3652 NULL
3653 };
3654
3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 result = wxGetClientDisplayRect();
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 {
3664 wxRect * resultptr;
3665 resultptr = new wxRect((wxRect &) result);
3666 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3667 }
3668 return resultobj;
3669 fail:
3670 return NULL;
3671 }
3672
3673
3674 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 wxCursor *arg1 = 0 ;
3677 PyObject * obj0 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "cursor", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3684 if (arg1 == NULL) {
3685 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3686 }
3687 {
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 wxSetCursor(*arg1);
3690
3691 wxPyEndAllowThreads(__tstate);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 }
3694 Py_INCREF(Py_None); resultobj = Py_None;
3695 return resultobj;
3696 fail:
3697 return NULL;
3698 }
3699
3700
3701 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3702 PyObject *resultobj;
3703 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "cursor", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3710 if (obj0) {
3711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3712 }
3713 {
3714 PyThreadState* __tstate = wxPyBeginAllowThreads();
3715 wxBeginBusyCursor(arg1);
3716
3717 wxPyEndAllowThreads(__tstate);
3718 if (PyErr_Occurred()) SWIG_fail;
3719 }
3720 Py_INCREF(Py_None); resultobj = Py_None;
3721 return resultobj;
3722 fail:
3723 return NULL;
3724 }
3725
3726
3727 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3728 PyObject *resultobj;
3729 wxWindow *result;
3730 char *kwnames[] = {
3731 NULL
3732 };
3733
3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3735 {
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 result = (wxWindow *)wxGetActiveWindow();
3738
3739 wxPyEndAllowThreads(__tstate);
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 {
3743 resultobj = wxPyMake_wxObject(result);
3744 }
3745 return resultobj;
3746 fail:
3747 return NULL;
3748 }
3749
3750
3751 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj;
3753 wxPoint *arg1 = 0 ;
3754 wxWindow *result;
3755 wxPoint temp1 ;
3756 PyObject * obj0 = 0 ;
3757 char *kwnames[] = {
3758 (char *) "pt", NULL
3759 };
3760
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3762 {
3763 arg1 = &temp1;
3764 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3765 }
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3769
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 {
3774 resultobj = wxPyMake_wxObject(result);
3775 }
3776 return resultobj;
3777 fail:
3778 return NULL;
3779 }
3780
3781
3782 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3783 PyObject *resultobj;
3784 wxPoint *arg1 = 0 ;
3785 wxWindow *result;
3786 wxPoint temp1 ;
3787 PyObject * obj0 = 0 ;
3788 char *kwnames[] = {
3789 (char *) "pt", NULL
3790 };
3791
3792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3793 {
3794 arg1 = &temp1;
3795 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3796 }
3797 {
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3800
3801 wxPyEndAllowThreads(__tstate);
3802 if (PyErr_Occurred()) SWIG_fail;
3803 }
3804 {
3805 resultobj = wxPyMake_wxObject(result);
3806 }
3807 return resultobj;
3808 fail:
3809 return NULL;
3810 }
3811
3812
3813 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj;
3815 wxWindow *arg1 = (wxWindow *) 0 ;
3816 wxWindow *result;
3817 PyObject * obj0 = 0 ;
3818 char *kwnames[] = {
3819 (char *) "win", NULL
3820 };
3821
3822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 result = (wxWindow *)wxGetTopLevelParent(arg1);
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 {
3832 resultobj = wxPyMake_wxObject(result);
3833 }
3834 return resultobj;
3835 fail:
3836 return NULL;
3837 }
3838
3839
3840 static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
3841 PyObject *resultobj;
3842 int arg1 ;
3843 bool result;
3844 char *kwnames[] = {
3845 (char *) "key", NULL
3846 };
3847
3848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:GetKeyState",kwnames,&arg1)) goto fail;
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (bool)wxGetKeyState((wxKeyCode )arg1);
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 resultobj = PyInt_FromLong((long)result);
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj;
3865 char *kwnames[] = {
3866 NULL
3867 };
3868
3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3870 {
3871 PyThreadState* __tstate = wxPyBeginAllowThreads();
3872 wxWakeUpMainThread();
3873
3874 wxPyEndAllowThreads(__tstate);
3875 if (PyErr_Occurred()) SWIG_fail;
3876 }
3877 Py_INCREF(Py_None); resultobj = Py_None;
3878 return resultobj;
3879 fail:
3880 return NULL;
3881 }
3882
3883
3884 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3885 PyObject *resultobj;
3886 char *kwnames[] = {
3887 NULL
3888 };
3889
3890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 wxMutexGuiEnter();
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 Py_INCREF(Py_None); resultobj = Py_None;
3899 return resultobj;
3900 fail:
3901 return NULL;
3902 }
3903
3904
3905 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3906 PyObject *resultobj;
3907 char *kwnames[] = {
3908 NULL
3909 };
3910
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 wxMutexGuiLeave();
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 Py_INCREF(Py_None); resultobj = Py_None;
3920 return resultobj;
3921 fail:
3922 return NULL;
3923 }
3924
3925
3926 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3927 PyObject *resultobj;
3928 wxMutexGuiLocker *result;
3929 char *kwnames[] = {
3930 NULL
3931 };
3932
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3934 {
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3937
3938 wxPyEndAllowThreads(__tstate);
3939 if (PyErr_Occurred()) SWIG_fail;
3940 }
3941 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3942 return resultobj;
3943 fail:
3944 return NULL;
3945 }
3946
3947
3948 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3949 PyObject *resultobj;
3950 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3951 PyObject * obj0 = 0 ;
3952 char *kwnames[] = {
3953 (char *) "self", NULL
3954 };
3955
3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
3960 delete arg1;
3961
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
3965 Py_INCREF(Py_None); resultobj = Py_None;
3966 return resultobj;
3967 fail:
3968 return NULL;
3969 }
3970
3971
3972 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3973 PyObject *obj;
3974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3975 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3976 Py_INCREF(obj);
3977 return Py_BuildValue((char *)"");
3978 }
3979 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3980 PyObject *resultobj;
3981 bool result;
3982 char *kwnames[] = {
3983 NULL
3984 };
3985
3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3987 {
3988 PyThreadState* __tstate = wxPyBeginAllowThreads();
3989 result = (bool)wxThread_IsMain();
3990
3991 wxPyEndAllowThreads(__tstate);
3992 if (PyErr_Occurred()) SWIG_fail;
3993 }
3994 resultobj = PyInt_FromLong((long)result);
3995 return resultobj;
3996 fail:
3997 return NULL;
3998 }
3999
4000
4001 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject *resultobj;
4003 wxString *arg1 = 0 ;
4004 wxToolTip *result;
4005 bool temp1 = False ;
4006 PyObject * obj0 = 0 ;
4007 char *kwnames[] = {
4008 (char *) "tip", NULL
4009 };
4010
4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4012 {
4013 arg1 = wxString_in_helper(obj0);
4014 if (arg1 == NULL) SWIG_fail;
4015 temp1 = True;
4016 }
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 resultobj = wxPyMake_wxObject(result);
4026 }
4027 {
4028 if (temp1)
4029 delete arg1;
4030 }
4031 return resultobj;
4032 fail:
4033 {
4034 if (temp1)
4035 delete arg1;
4036 }
4037 return NULL;
4038 }
4039
4040
4041 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4042 PyObject *resultobj;
4043 wxToolTip *arg1 = (wxToolTip *) 0 ;
4044 wxString *arg2 = 0 ;
4045 bool temp2 = False ;
4046 PyObject * obj0 = 0 ;
4047 PyObject * obj1 = 0 ;
4048 char *kwnames[] = {
4049 (char *) "self",(char *) "tip", NULL
4050 };
4051
4052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4054 {
4055 arg2 = wxString_in_helper(obj1);
4056 if (arg2 == NULL) SWIG_fail;
4057 temp2 = True;
4058 }
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 (arg1)->SetTip((wxString const &)*arg2);
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 Py_INCREF(Py_None); resultobj = Py_None;
4067 {
4068 if (temp2)
4069 delete arg2;
4070 }
4071 return resultobj;
4072 fail:
4073 {
4074 if (temp2)
4075 delete arg2;
4076 }
4077 return NULL;
4078 }
4079
4080
4081 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4082 PyObject *resultobj;
4083 wxToolTip *arg1 = (wxToolTip *) 0 ;
4084 wxString result;
4085 PyObject * obj0 = 0 ;
4086 char *kwnames[] = {
4087 (char *) "self", NULL
4088 };
4089
4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 result = (arg1)->GetTip();
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 {
4100 #if wxUSE_UNICODE
4101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4102 #else
4103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4104 #endif
4105 }
4106 return resultobj;
4107 fail:
4108 return NULL;
4109 }
4110
4111
4112 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 wxToolTip *arg1 = (wxToolTip *) 0 ;
4115 wxWindow *result;
4116 PyObject * obj0 = 0 ;
4117 char *kwnames[] = {
4118 (char *) "self", NULL
4119 };
4120
4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4123 {
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 result = (wxWindow *)(arg1)->GetWindow();
4126
4127 wxPyEndAllowThreads(__tstate);
4128 if (PyErr_Occurred()) SWIG_fail;
4129 }
4130 {
4131 resultobj = wxPyMake_wxObject(result);
4132 }
4133 return resultobj;
4134 fail:
4135 return NULL;
4136 }
4137
4138
4139 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4140 PyObject *resultobj;
4141 bool arg1 ;
4142 PyObject * obj0 = 0 ;
4143 char *kwnames[] = {
4144 (char *) "flag", NULL
4145 };
4146
4147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4148 {
4149 arg1 = (bool) SPyObj_AsBool(obj0);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 {
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 wxToolTip::Enable(arg1);
4155
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4159 Py_INCREF(Py_None); resultobj = Py_None;
4160 return resultobj;
4161 fail:
4162 return NULL;
4163 }
4164
4165
4166 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4167 PyObject *resultobj;
4168 long arg1 ;
4169 char *kwnames[] = {
4170 (char *) "milliseconds", NULL
4171 };
4172
4173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 wxToolTip::SetDelay(arg1);
4177
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 Py_INCREF(Py_None); resultobj = Py_None;
4182 return resultobj;
4183 fail:
4184 return NULL;
4185 }
4186
4187
4188 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4189 PyObject *obj;
4190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4191 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4192 Py_INCREF(obj);
4193 return Py_BuildValue((char *)"");
4194 }
4195 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4196 PyObject *resultobj;
4197 wxWindow *arg1 = (wxWindow *) 0 ;
4198 wxSize *arg2 = 0 ;
4199 wxCaret *result;
4200 wxSize temp2 ;
4201 PyObject * obj0 = 0 ;
4202 PyObject * obj1 = 0 ;
4203 char *kwnames[] = {
4204 (char *) "window",(char *) "size", NULL
4205 };
4206
4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4209 {
4210 arg2 = &temp2;
4211 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4212 }
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4221 return resultobj;
4222 fail:
4223 return NULL;
4224 }
4225
4226
4227 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4228 PyObject *resultobj;
4229 wxCaret *arg1 = (wxCaret *) 0 ;
4230 PyObject * obj0 = 0 ;
4231 char *kwnames[] = {
4232 (char *) "self", NULL
4233 };
4234
4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4237 {
4238 PyThreadState* __tstate = wxPyBeginAllowThreads();
4239 delete arg1;
4240
4241 wxPyEndAllowThreads(__tstate);
4242 if (PyErr_Occurred()) SWIG_fail;
4243 }
4244 Py_INCREF(Py_None); resultobj = Py_None;
4245 return resultobj;
4246 fail:
4247 return NULL;
4248 }
4249
4250
4251 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4252 PyObject *resultobj;
4253 wxCaret *arg1 = (wxCaret *) 0 ;
4254 bool result;
4255 PyObject * obj0 = 0 ;
4256 char *kwnames[] = {
4257 (char *) "self", NULL
4258 };
4259
4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4262 {
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 result = (bool)(arg1)->IsOk();
4265
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) SWIG_fail;
4268 }
4269 resultobj = PyInt_FromLong((long)result);
4270 return resultobj;
4271 fail:
4272 return NULL;
4273 }
4274
4275
4276 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4277 PyObject *resultobj;
4278 wxCaret *arg1 = (wxCaret *) 0 ;
4279 bool result;
4280 PyObject * obj0 = 0 ;
4281 char *kwnames[] = {
4282 (char *) "self", NULL
4283 };
4284
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 result = (bool)(arg1)->IsVisible();
4290
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 resultobj = PyInt_FromLong((long)result);
4295 return resultobj;
4296 fail:
4297 return NULL;
4298 }
4299
4300
4301 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxCaret *arg1 = (wxCaret *) 0 ;
4304 wxPoint result;
4305 PyObject * obj0 = 0 ;
4306 char *kwnames[] = {
4307 (char *) "self", NULL
4308 };
4309
4310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4312 {
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 result = (arg1)->GetPosition();
4315
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 {
4320 wxPoint * resultptr;
4321 resultptr = new wxPoint((wxPoint &) result);
4322 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4323 }
4324 return resultobj;
4325 fail:
4326 return NULL;
4327 }
4328
4329
4330 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4331 PyObject *resultobj;
4332 wxCaret *arg1 = (wxCaret *) 0 ;
4333 int *arg2 = (int *) 0 ;
4334 int *arg3 = (int *) 0 ;
4335 int temp2 ;
4336 int temp3 ;
4337 PyObject * obj0 = 0 ;
4338 char *kwnames[] = {
4339 (char *) "self", NULL
4340 };
4341
4342 arg2 = &temp2;
4343 arg3 = &temp3;
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4346 {
4347 PyThreadState* __tstate = wxPyBeginAllowThreads();
4348 (arg1)->GetPosition(arg2,arg3);
4349
4350 wxPyEndAllowThreads(__tstate);
4351 if (PyErr_Occurred()) SWIG_fail;
4352 }
4353 Py_INCREF(Py_None); resultobj = Py_None;
4354 {
4355 PyObject *o = PyInt_FromLong((long) (*arg2));
4356 resultobj = t_output_helper(resultobj,o);
4357 }
4358 {
4359 PyObject *o = PyInt_FromLong((long) (*arg3));
4360 resultobj = t_output_helper(resultobj,o);
4361 }
4362 return resultobj;
4363 fail:
4364 return NULL;
4365 }
4366
4367
4368 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4369 PyObject *resultobj;
4370 wxCaret *arg1 = (wxCaret *) 0 ;
4371 wxSize result;
4372 PyObject * obj0 = 0 ;
4373 char *kwnames[] = {
4374 (char *) "self", NULL
4375 };
4376
4377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 result = (arg1)->GetSize();
4382
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 {
4387 wxSize * resultptr;
4388 resultptr = new wxSize((wxSize &) result);
4389 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4390 }
4391 return resultobj;
4392 fail:
4393 return NULL;
4394 }
4395
4396
4397 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4398 PyObject *resultobj;
4399 wxCaret *arg1 = (wxCaret *) 0 ;
4400 int *arg2 = (int *) 0 ;
4401 int *arg3 = (int *) 0 ;
4402 int temp2 ;
4403 int temp3 ;
4404 PyObject * obj0 = 0 ;
4405 char *kwnames[] = {
4406 (char *) "self", NULL
4407 };
4408
4409 arg2 = &temp2;
4410 arg3 = &temp3;
4411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4413 {
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 (arg1)->GetSize(arg2,arg3);
4416
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 Py_INCREF(Py_None); resultobj = Py_None;
4421 {
4422 PyObject *o = PyInt_FromLong((long) (*arg2));
4423 resultobj = t_output_helper(resultobj,o);
4424 }
4425 {
4426 PyObject *o = PyInt_FromLong((long) (*arg3));
4427 resultobj = t_output_helper(resultobj,o);
4428 }
4429 return resultobj;
4430 fail:
4431 return NULL;
4432 }
4433
4434
4435 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4436 PyObject *resultobj;
4437 wxCaret *arg1 = (wxCaret *) 0 ;
4438 wxWindow *result;
4439 PyObject * obj0 = 0 ;
4440 char *kwnames[] = {
4441 (char *) "self", NULL
4442 };
4443
4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = (wxWindow *)(arg1)->GetWindow();
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 {
4454 resultobj = wxPyMake_wxObject(result);
4455 }
4456 return resultobj;
4457 fail:
4458 return NULL;
4459 }
4460
4461
4462 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4463 PyObject *resultobj;
4464 wxCaret *arg1 = (wxCaret *) 0 ;
4465 int arg2 ;
4466 int arg3 ;
4467 PyObject * obj0 = 0 ;
4468 char *kwnames[] = {
4469 (char *) "self",(char *) "x",(char *) "y", NULL
4470 };
4471
4472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->Move(arg2,arg3);
4477
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 Py_INCREF(Py_None); resultobj = Py_None;
4482 return resultobj;
4483 fail:
4484 return NULL;
4485 }
4486
4487
4488 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 wxCaret *arg1 = (wxCaret *) 0 ;
4491 wxPoint *arg2 = 0 ;
4492 wxPoint temp2 ;
4493 PyObject * obj0 = 0 ;
4494 PyObject * obj1 = 0 ;
4495 char *kwnames[] = {
4496 (char *) "self",(char *) "pt", NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4501 {
4502 arg2 = &temp2;
4503 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4504 }
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 (arg1)->Move((wxPoint const &)*arg2);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 Py_INCREF(Py_None); resultobj = Py_None;
4513 return resultobj;
4514 fail:
4515 return NULL;
4516 }
4517
4518
4519 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxCaret *arg1 = (wxCaret *) 0 ;
4522 int arg2 ;
4523 int arg3 ;
4524 PyObject * obj0 = 0 ;
4525 char *kwnames[] = {
4526 (char *) "self",(char *) "width",(char *) "height", NULL
4527 };
4528
4529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4531 {
4532 PyThreadState* __tstate = wxPyBeginAllowThreads();
4533 (arg1)->SetSize(arg2,arg3);
4534
4535 wxPyEndAllowThreads(__tstate);
4536 if (PyErr_Occurred()) SWIG_fail;
4537 }
4538 Py_INCREF(Py_None); resultobj = Py_None;
4539 return resultobj;
4540 fail:
4541 return NULL;
4542 }
4543
4544
4545 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4546 PyObject *resultobj;
4547 wxCaret *arg1 = (wxCaret *) 0 ;
4548 wxSize *arg2 = 0 ;
4549 wxSize temp2 ;
4550 PyObject * obj0 = 0 ;
4551 PyObject * obj1 = 0 ;
4552 char *kwnames[] = {
4553 (char *) "self",(char *) "size", NULL
4554 };
4555
4556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4558 {
4559 arg2 = &temp2;
4560 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4561 }
4562 {
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 (arg1)->SetSize((wxSize const &)*arg2);
4565
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4569 Py_INCREF(Py_None); resultobj = Py_None;
4570 return resultobj;
4571 fail:
4572 return NULL;
4573 }
4574
4575
4576 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4577 PyObject *resultobj;
4578 wxCaret *arg1 = (wxCaret *) 0 ;
4579 int arg2 = (int) True ;
4580 PyObject * obj0 = 0 ;
4581 char *kwnames[] = {
4582 (char *) "self",(char *) "show", NULL
4583 };
4584
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4587 {
4588 PyThreadState* __tstate = wxPyBeginAllowThreads();
4589 (arg1)->Show(arg2);
4590
4591 wxPyEndAllowThreads(__tstate);
4592 if (PyErr_Occurred()) SWIG_fail;
4593 }
4594 Py_INCREF(Py_None); resultobj = Py_None;
4595 return resultobj;
4596 fail:
4597 return NULL;
4598 }
4599
4600
4601 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4602 PyObject *resultobj;
4603 wxCaret *arg1 = (wxCaret *) 0 ;
4604 PyObject * obj0 = 0 ;
4605 char *kwnames[] = {
4606 (char *) "self", NULL
4607 };
4608
4609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4611 {
4612 PyThreadState* __tstate = wxPyBeginAllowThreads();
4613 (arg1)->Hide();
4614
4615 wxPyEndAllowThreads(__tstate);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 }
4618 Py_INCREF(Py_None); resultobj = Py_None;
4619 return resultobj;
4620 fail:
4621 return NULL;
4622 }
4623
4624
4625 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4626 PyObject *obj;
4627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4628 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4629 Py_INCREF(obj);
4630 return Py_BuildValue((char *)"");
4631 }
4632 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj;
4634 int result;
4635 char *kwnames[] = {
4636 NULL
4637 };
4638
4639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 result = (int)wxCaret_GetBlinkTime();
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 resultobj = PyInt_FromLong((long)result);
4648 return resultobj;
4649 fail:
4650 return NULL;
4651 }
4652
4653
4654 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4655 PyObject *resultobj;
4656 int arg1 ;
4657 char *kwnames[] = {
4658 (char *) "milliseconds", NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 wxCaret_SetBlinkTime(arg1);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 Py_INCREF(Py_None); resultobj = Py_None;
4670 return resultobj;
4671 fail:
4672 return NULL;
4673 }
4674
4675
4676 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject *resultobj;
4678 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4679 wxBusyCursor *result;
4680 PyObject * obj0 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "cursor", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4686 if (obj0) {
4687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4688 }
4689 {
4690 PyThreadState* __tstate = wxPyBeginAllowThreads();
4691 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4692
4693 wxPyEndAllowThreads(__tstate);
4694 if (PyErr_Occurred()) SWIG_fail;
4695 }
4696 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4697 return resultobj;
4698 fail:
4699 return NULL;
4700 }
4701
4702
4703 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4704 PyObject *resultobj;
4705 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4706 PyObject * obj0 = 0 ;
4707 char *kwnames[] = {
4708 (char *) "self", NULL
4709 };
4710
4711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 delete arg1;
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4720 Py_INCREF(Py_None); resultobj = Py_None;
4721 return resultobj;
4722 fail:
4723 return NULL;
4724 }
4725
4726
4727 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4728 PyObject *obj;
4729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4730 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4731 Py_INCREF(obj);
4732 return Py_BuildValue((char *)"");
4733 }
4734 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4735 PyObject *resultobj;
4736 wxWindow *arg1 = (wxWindow *) NULL ;
4737 wxWindowDisabler *result;
4738 PyObject * obj0 = 0 ;
4739 char *kwnames[] = {
4740 (char *) "winToSkip", NULL
4741 };
4742
4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4744 if (obj0) {
4745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4746 }
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4750
4751 wxPyEndAllowThreads(__tstate);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 }
4754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4755 return resultobj;
4756 fail:
4757 return NULL;
4758 }
4759
4760
4761 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4762 PyObject *resultobj;
4763 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4764 PyObject * obj0 = 0 ;
4765 char *kwnames[] = {
4766 (char *) "self", NULL
4767 };
4768
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4771 {
4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4773 delete arg1;
4774
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 Py_INCREF(Py_None); resultobj = Py_None;
4779 return resultobj;
4780 fail:
4781 return NULL;
4782 }
4783
4784
4785 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4786 PyObject *obj;
4787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4788 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4789 Py_INCREF(obj);
4790 return Py_BuildValue((char *)"");
4791 }
4792 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4793 PyObject *resultobj;
4794 wxString *arg1 = 0 ;
4795 wxBusyInfo *result;
4796 bool temp1 = False ;
4797 PyObject * obj0 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "message", NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4803 {
4804 arg1 = wxString_in_helper(obj0);
4805 if (arg1 == NULL) SWIG_fail;
4806 temp1 = True;
4807 }
4808 {
4809 PyThreadState* __tstate = wxPyBeginAllowThreads();
4810 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4811
4812 wxPyEndAllowThreads(__tstate);
4813 if (PyErr_Occurred()) SWIG_fail;
4814 }
4815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4816 {
4817 if (temp1)
4818 delete arg1;
4819 }
4820 return resultobj;
4821 fail:
4822 {
4823 if (temp1)
4824 delete arg1;
4825 }
4826 return NULL;
4827 }
4828
4829
4830 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4831 PyObject *resultobj;
4832 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4833 PyObject * obj0 = 0 ;
4834 char *kwnames[] = {
4835 (char *) "self", NULL
4836 };
4837
4838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 delete arg1;
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 Py_INCREF(Py_None); resultobj = Py_None;
4848 return resultobj;
4849 fail:
4850 return NULL;
4851 }
4852
4853
4854 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4855 PyObject *obj;
4856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4857 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4858 Py_INCREF(obj);
4859 return Py_BuildValue((char *)"");
4860 }
4861 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj;
4863 wxStopWatch *result;
4864 char *kwnames[] = {
4865 NULL
4866 };
4867
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 result = (wxStopWatch *)new wxStopWatch();
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4877 return resultobj;
4878 fail:
4879 return NULL;
4880 }
4881
4882
4883 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject *resultobj;
4885 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4886 long arg2 = (long) 0 ;
4887 PyObject * obj0 = 0 ;
4888 char *kwnames[] = {
4889 (char *) "self",(char *) "t0", NULL
4890 };
4891
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 (arg1)->Start(arg2);
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 Py_INCREF(Py_None); resultobj = Py_None;
4902 return resultobj;
4903 fail:
4904 return NULL;
4905 }
4906
4907
4908 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj;
4910 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4911 PyObject * obj0 = 0 ;
4912 char *kwnames[] = {
4913 (char *) "self", NULL
4914 };
4915
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 (arg1)->Pause();
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
4925 Py_INCREF(Py_None); resultobj = Py_None;
4926 return resultobj;
4927 fail:
4928 return NULL;
4929 }
4930
4931
4932 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4933 PyObject *resultobj;
4934 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4935 PyObject * obj0 = 0 ;
4936 char *kwnames[] = {
4937 (char *) "self", NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 (arg1)->Resume();
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 Py_INCREF(Py_None); resultobj = Py_None;
4950 return resultobj;
4951 fail:
4952 return NULL;
4953 }
4954
4955
4956 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj;
4958 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4959 long result;
4960 PyObject * obj0 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self", NULL
4963 };
4964
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4967 {
4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
4969 result = (long)((wxStopWatch const *)arg1)->Time();
4970
4971 wxPyEndAllowThreads(__tstate);
4972 if (PyErr_Occurred()) SWIG_fail;
4973 }
4974 resultobj = PyInt_FromLong((long)result);
4975 return resultobj;
4976 fail:
4977 return NULL;
4978 }
4979
4980
4981 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4982 PyObject *obj;
4983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4984 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4985 Py_INCREF(obj);
4986 return Py_BuildValue((char *)"");
4987 }
4988 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4989 PyObject *resultobj;
4990 int arg1 = (int) 9 ;
4991 wxFileHistory *result;
4992 char *kwnames[] = {
4993 (char *) "maxFiles", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4997 {
4998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4999 result = (wxFileHistory *)new wxFileHistory(arg1);
5000
5001 wxPyEndAllowThreads(__tstate);
5002 if (PyErr_Occurred()) SWIG_fail;
5003 }
5004 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
5005 return resultobj;
5006 fail:
5007 return NULL;
5008 }
5009
5010
5011 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5012 PyObject *resultobj;
5013 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5014 PyObject * obj0 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5021 {
5022 PyThreadState* __tstate = wxPyBeginAllowThreads();
5023 delete arg1;
5024
5025 wxPyEndAllowThreads(__tstate);
5026 if (PyErr_Occurred()) SWIG_fail;
5027 }
5028 Py_INCREF(Py_None); resultobj = Py_None;
5029 return resultobj;
5030 fail:
5031 return NULL;
5032 }
5033
5034
5035 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5036 PyObject *resultobj;
5037 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5038 wxString *arg2 = 0 ;
5039 bool temp2 = False ;
5040 PyObject * obj0 = 0 ;
5041 PyObject * obj1 = 0 ;
5042 char *kwnames[] = {
5043 (char *) "self",(char *) "file", NULL
5044 };
5045
5046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5048 {
5049 arg2 = wxString_in_helper(obj1);
5050 if (arg2 == NULL) SWIG_fail;
5051 temp2 = True;
5052 }
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 (arg1)->AddFileToHistory((wxString const &)*arg2);
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 Py_INCREF(Py_None); resultobj = Py_None;
5061 {
5062 if (temp2)
5063 delete arg2;
5064 }
5065 return resultobj;
5066 fail:
5067 {
5068 if (temp2)
5069 delete arg2;
5070 }
5071 return NULL;
5072 }
5073
5074
5075 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5078 int arg2 ;
5079 PyObject * obj0 = 0 ;
5080 char *kwnames[] = {
5081 (char *) "self",(char *) "i", NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
5085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5086 {
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 (arg1)->RemoveFileFromHistory(arg2);
5089
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 Py_INCREF(Py_None); resultobj = Py_None;
5094 return resultobj;
5095 fail:
5096 return NULL;
5097 }
5098
5099
5100 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5101 PyObject *resultobj;
5102 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5103 int result;
5104 PyObject * obj0 = 0 ;
5105 char *kwnames[] = {
5106 (char *) "self", NULL
5107 };
5108
5109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5111 {
5112 PyThreadState* __tstate = wxPyBeginAllowThreads();
5113 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5114
5115 wxPyEndAllowThreads(__tstate);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 resultobj = PyInt_FromLong((long)result);
5119 return resultobj;
5120 fail:
5121 return NULL;
5122 }
5123
5124
5125 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5126 PyObject *resultobj;
5127 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5128 wxMenu *arg2 = (wxMenu *) 0 ;
5129 PyObject * obj0 = 0 ;
5130 PyObject * obj1 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self",(char *) "menu", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5138 {
5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
5140 (arg1)->UseMenu(arg2);
5141
5142 wxPyEndAllowThreads(__tstate);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 Py_INCREF(Py_None); resultobj = Py_None;
5146 return resultobj;
5147 fail:
5148 return NULL;
5149 }
5150
5151
5152 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj;
5154 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5155 wxMenu *arg2 = (wxMenu *) 0 ;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self",(char *) "menu", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 (arg1)->RemoveMenu(arg2);
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 Py_INCREF(Py_None); resultobj = Py_None;
5173 return resultobj;
5174 fail:
5175 return NULL;
5176 }
5177
5178
5179 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5180 PyObject *resultobj;
5181 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5182 wxConfigBase *arg2 = 0 ;
5183 PyObject * obj0 = 0 ;
5184 PyObject * obj1 = 0 ;
5185 char *kwnames[] = {
5186 (char *) "self",(char *) "config", NULL
5187 };
5188
5189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5192 if (arg2 == NULL) {
5193 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5194 }
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 (arg1)->Load(*arg2);
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 Py_INCREF(Py_None); resultobj = Py_None;
5203 return resultobj;
5204 fail:
5205 return NULL;
5206 }
5207
5208
5209 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5210 PyObject *resultobj;
5211 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5212 wxConfigBase *arg2 = 0 ;
5213 PyObject * obj0 = 0 ;
5214 PyObject * obj1 = 0 ;
5215 char *kwnames[] = {
5216 (char *) "self",(char *) "config", NULL
5217 };
5218
5219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5221 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5222 if (arg2 == NULL) {
5223 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5224 }
5225 {
5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
5227 (arg1)->Save(*arg2);
5228
5229 wxPyEndAllowThreads(__tstate);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 }
5232 Py_INCREF(Py_None); resultobj = Py_None;
5233 return resultobj;
5234 fail:
5235 return NULL;
5236 }
5237
5238
5239 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5240 PyObject *resultobj;
5241 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5242 PyObject * obj0 = 0 ;
5243 char *kwnames[] = {
5244 (char *) "self", NULL
5245 };
5246
5247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5249 {
5250 PyThreadState* __tstate = wxPyBeginAllowThreads();
5251 (arg1)->AddFilesToMenu();
5252
5253 wxPyEndAllowThreads(__tstate);
5254 if (PyErr_Occurred()) SWIG_fail;
5255 }
5256 Py_INCREF(Py_None); resultobj = Py_None;
5257 return resultobj;
5258 fail:
5259 return NULL;
5260 }
5261
5262
5263 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5264 PyObject *resultobj;
5265 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5266 wxMenu *arg2 = (wxMenu *) 0 ;
5267 PyObject * obj0 = 0 ;
5268 PyObject * obj1 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "self",(char *) "menu", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 (arg1)->AddFilesToMenu(arg2);
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 Py_INCREF(Py_None); resultobj = Py_None;
5284 return resultobj;
5285 fail:
5286 return NULL;
5287 }
5288
5289
5290 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject *resultobj;
5292 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5293 int arg2 ;
5294 wxString result;
5295 PyObject * obj0 = 0 ;
5296 char *kwnames[] = {
5297 (char *) "self",(char *) "i", NULL
5298 };
5299
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 {
5310 #if wxUSE_UNICODE
5311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5312 #else
5313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5314 #endif
5315 }
5316 return resultobj;
5317 fail:
5318 return NULL;
5319 }
5320
5321
5322 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5323 PyObject *resultobj;
5324 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5325 int result;
5326 PyObject * obj0 = 0 ;
5327 char *kwnames[] = {
5328 (char *) "self", NULL
5329 };
5330
5331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5333 {
5334 PyThreadState* __tstate = wxPyBeginAllowThreads();
5335 result = (int)((wxFileHistory const *)arg1)->GetCount();
5336
5337 wxPyEndAllowThreads(__tstate);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 }
5340 resultobj = PyInt_FromLong((long)result);
5341 return resultobj;
5342 fail:
5343 return NULL;
5344 }
5345
5346
5347 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5348 PyObject *obj;
5349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5350 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5351 Py_INCREF(obj);
5352 return Py_BuildValue((char *)"");
5353 }
5354 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5355 PyObject *resultobj;
5356 wxString *arg1 = 0 ;
5357 wxString const &arg2_defvalue = wxPyEmptyString ;
5358 wxString *arg2 = (wxString *) &arg2_defvalue ;
5359 wxSingleInstanceChecker *result;
5360 bool temp1 = False ;
5361 bool temp2 = False ;
5362 PyObject * obj0 = 0 ;
5363 PyObject * obj1 = 0 ;
5364 char *kwnames[] = {
5365 (char *) "name",(char *) "path", NULL
5366 };
5367
5368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5369 {
5370 arg1 = wxString_in_helper(obj0);
5371 if (arg1 == NULL) SWIG_fail;
5372 temp1 = True;
5373 }
5374 if (obj1) {
5375 {
5376 arg2 = wxString_in_helper(obj1);
5377 if (arg2 == NULL) SWIG_fail;
5378 temp2 = True;
5379 }
5380 }
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5389 {
5390 if (temp1)
5391 delete arg1;
5392 }
5393 {
5394 if (temp2)
5395 delete arg2;
5396 }
5397 return resultobj;
5398 fail:
5399 {
5400 if (temp1)
5401 delete arg1;
5402 }
5403 {
5404 if (temp2)
5405 delete arg2;
5406 }
5407 return NULL;
5408 }
5409
5410
5411 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5412 PyObject *resultobj;
5413 wxSingleInstanceChecker *result;
5414 char *kwnames[] = {
5415 NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5419 {
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5427 return resultobj;
5428 fail:
5429 return NULL;
5430 }
5431
5432
5433 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5434 PyObject *resultobj;
5435 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5436 PyObject * obj0 = 0 ;
5437 char *kwnames[] = {
5438 (char *) "self", NULL
5439 };
5440
5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 delete arg1;
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 Py_INCREF(Py_None); resultobj = Py_None;
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5460 wxString *arg2 = 0 ;
5461 wxString const &arg3_defvalue = wxPyEmptyString ;
5462 wxString *arg3 = (wxString *) &arg3_defvalue ;
5463 bool result;
5464 bool temp2 = False ;
5465 bool temp3 = False ;
5466 PyObject * obj0 = 0 ;
5467 PyObject * obj1 = 0 ;
5468 PyObject * obj2 = 0 ;
5469 char *kwnames[] = {
5470 (char *) "self",(char *) "name",(char *) "path", NULL
5471 };
5472
5473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5475 {
5476 arg2 = wxString_in_helper(obj1);
5477 if (arg2 == NULL) SWIG_fail;
5478 temp2 = True;
5479 }
5480 if (obj2) {
5481 {
5482 arg3 = wxString_in_helper(obj2);
5483 if (arg3 == NULL) SWIG_fail;
5484 temp3 = True;
5485 }
5486 }
5487 {
5488 PyThreadState* __tstate = wxPyBeginAllowThreads();
5489 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5490
5491 wxPyEndAllowThreads(__tstate);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 }
5494 resultobj = PyInt_FromLong((long)result);
5495 {
5496 if (temp2)
5497 delete arg2;
5498 }
5499 {
5500 if (temp3)
5501 delete arg3;
5502 }
5503 return resultobj;
5504 fail:
5505 {
5506 if (temp2)
5507 delete arg2;
5508 }
5509 {
5510 if (temp3)
5511 delete arg3;
5512 }
5513 return NULL;
5514 }
5515
5516
5517 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5518 PyObject *resultobj;
5519 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5520 bool result;
5521 PyObject * obj0 = 0 ;
5522 char *kwnames[] = {
5523 (char *) "self", NULL
5524 };
5525
5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5531
5532 wxPyEndAllowThreads(__tstate);
5533 if (PyErr_Occurred()) SWIG_fail;
5534 }
5535 resultobj = PyInt_FromLong((long)result);
5536 return resultobj;
5537 fail:
5538 return NULL;
5539 }
5540
5541
5542 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5543 PyObject *obj;
5544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5545 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5546 Py_INCREF(obj);
5547 return Py_BuildValue((char *)"");
5548 }
5549 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5550 PyObject *resultobj;
5551 wxWindow *arg1 = (wxWindow *) 0 ;
5552 wxDC *arg2 = 0 ;
5553 int arg3 ;
5554 PyObject * obj0 = 0 ;
5555 PyObject * obj1 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "window",(char *) "dc",(char *) "method", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5563 if (arg2 == NULL) {
5564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5565 }
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 Py_INCREF(Py_None); resultobj = Py_None;
5574 return resultobj;
5575 fail:
5576 return NULL;
5577 }
5578
5579
5580 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj;
5582 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5583 PyObject * obj0 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "self", NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 delete arg1;
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 Py_INCREF(Py_None); resultobj = Py_None;
5598 return resultobj;
5599 fail:
5600 return NULL;
5601 }
5602
5603
5604 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5605 PyObject *resultobj;
5606 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5607 wxString result;
5608 PyObject * obj0 = 0 ;
5609 char *kwnames[] = {
5610 (char *) "self", NULL
5611 };
5612
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5615 {
5616 PyThreadState* __tstate = wxPyBeginAllowThreads();
5617 result = (arg1)->GetTip();
5618
5619 wxPyEndAllowThreads(__tstate);
5620 if (PyErr_Occurred()) SWIG_fail;
5621 }
5622 {
5623 #if wxUSE_UNICODE
5624 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5625 #else
5626 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5627 #endif
5628 }
5629 return resultobj;
5630 fail:
5631 return NULL;
5632 }
5633
5634
5635 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5638 size_t result;
5639 PyObject * obj0 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "self", NULL
5642 };
5643
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5646 {
5647 PyThreadState* __tstate = wxPyBeginAllowThreads();
5648 result = (size_t)(arg1)->GetCurrentTip();
5649
5650 wxPyEndAllowThreads(__tstate);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
5653 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
5654 return resultobj;
5655 fail:
5656 return NULL;
5657 }
5658
5659
5660 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5661 PyObject *resultobj;
5662 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5663 wxString *arg2 = 0 ;
5664 wxString result;
5665 bool temp2 = False ;
5666 PyObject * obj0 = 0 ;
5667 PyObject * obj1 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "self",(char *) "tip", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5674 {
5675 arg2 = wxString_in_helper(obj1);
5676 if (arg2 == NULL) SWIG_fail;
5677 temp2 = True;
5678 }
5679 {
5680 PyThreadState* __tstate = wxPyBeginAllowThreads();
5681 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5682
5683 wxPyEndAllowThreads(__tstate);
5684 if (PyErr_Occurred()) SWIG_fail;
5685 }
5686 {
5687 #if wxUSE_UNICODE
5688 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5689 #else
5690 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5691 #endif
5692 }
5693 {
5694 if (temp2)
5695 delete arg2;
5696 }
5697 return resultobj;
5698 fail:
5699 {
5700 if (temp2)
5701 delete arg2;
5702 }
5703 return NULL;
5704 }
5705
5706
5707 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5708 PyObject *obj;
5709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5710 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5711 Py_INCREF(obj);
5712 return Py_BuildValue((char *)"");
5713 }
5714 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5715 PyObject *resultobj;
5716 size_t arg1 ;
5717 wxPyTipProvider *result;
5718 PyObject * obj0 = 0 ;
5719 char *kwnames[] = {
5720 (char *) "currentTip", NULL
5721 };
5722
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5724 {
5725 arg1 = (size_t) SPyObj_AsUnsignedLong(obj0);
5726 if (PyErr_Occurred()) SWIG_fail;
5727 }
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5731
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
5735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5736 return resultobj;
5737 fail:
5738 return NULL;
5739 }
5740
5741
5742 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5745 PyObject *arg2 = (PyObject *) 0 ;
5746 PyObject *arg3 = (PyObject *) 0 ;
5747 PyObject * obj0 = 0 ;
5748 PyObject * obj1 = 0 ;
5749 PyObject * obj2 = 0 ;
5750 char *kwnames[] = {
5751 (char *) "self",(char *) "self",(char *) "_class", NULL
5752 };
5753
5754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5756 arg2 = obj1;
5757 arg3 = obj2;
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 (arg1)->_setCallbackInfo(arg2,arg3);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 Py_INCREF(Py_None); resultobj = Py_None;
5766 return resultobj;
5767 fail:
5768 return NULL;
5769 }
5770
5771
5772 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5773 PyObject *obj;
5774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5775 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5776 Py_INCREF(obj);
5777 return Py_BuildValue((char *)"");
5778 }
5779 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5780 PyObject *resultobj;
5781 wxWindow *arg1 = (wxWindow *) 0 ;
5782 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
5783 bool arg3 = (bool) True ;
5784 bool result;
5785 PyObject * obj0 = 0 ;
5786 PyObject * obj1 = 0 ;
5787 PyObject * obj2 = 0 ;
5788 char *kwnames[] = {
5789 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5790 };
5791
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5794 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5795 if (obj2) {
5796 {
5797 arg3 = (bool) SPyObj_AsBool(obj2);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 }
5801 {
5802 PyThreadState* __tstate = wxPyBeginAllowThreads();
5803 result = (bool)wxShowTip(arg1,arg2,arg3);
5804
5805 wxPyEndAllowThreads(__tstate);
5806 if (PyErr_Occurred()) SWIG_fail;
5807 }
5808 resultobj = PyInt_FromLong((long)result);
5809 return resultobj;
5810 fail:
5811 return NULL;
5812 }
5813
5814
5815 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5816 PyObject *resultobj;
5817 wxString *arg1 = 0 ;
5818 size_t arg2 ;
5819 wxTipProvider *result;
5820 bool temp1 = False ;
5821 PyObject * obj0 = 0 ;
5822 PyObject * obj1 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "filename",(char *) "currentTip", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5828 {
5829 arg1 = wxString_in_helper(obj0);
5830 if (arg1 == NULL) SWIG_fail;
5831 temp1 = True;
5832 }
5833 {
5834 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
5835 if (PyErr_Occurred()) SWIG_fail;
5836 }
5837 {
5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5839 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5840
5841 wxPyEndAllowThreads(__tstate);
5842 if (PyErr_Occurred()) SWIG_fail;
5843 }
5844 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5845 {
5846 if (temp1)
5847 delete arg1;
5848 }
5849 return resultobj;
5850 fail:
5851 {
5852 if (temp1)
5853 delete arg1;
5854 }
5855 return NULL;
5856 }
5857
5858
5859 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5860 PyObject *resultobj;
5861 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5862 int arg2 = (int) -1 ;
5863 wxPyTimer *result;
5864 PyObject * obj0 = 0 ;
5865 char *kwnames[] = {
5866 (char *) "owner",(char *) "id", NULL
5867 };
5868
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5870 if (obj0) {
5871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5872 }
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5881 return resultobj;
5882 fail:
5883 return NULL;
5884 }
5885
5886
5887 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5890 PyObject * obj0 = 0 ;
5891 char *kwnames[] = {
5892 (char *) "self", NULL
5893 };
5894
5895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 delete arg1;
5900
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 Py_INCREF(Py_None); resultobj = Py_None;
5905 return resultobj;
5906 fail:
5907 return NULL;
5908 }
5909
5910
5911 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5912 PyObject *resultobj;
5913 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5914 PyObject *arg2 = (PyObject *) 0 ;
5915 PyObject *arg3 = (PyObject *) 0 ;
5916 PyObject * obj0 = 0 ;
5917 PyObject * obj1 = 0 ;
5918 PyObject * obj2 = 0 ;
5919 char *kwnames[] = {
5920 (char *) "self",(char *) "self",(char *) "_class", NULL
5921 };
5922
5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5925 arg2 = obj1;
5926 arg3 = obj2;
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 (arg1)->_setCallbackInfo(arg2,arg3);
5930
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 Py_INCREF(Py_None); resultobj = Py_None;
5935 return resultobj;
5936 fail:
5937 return NULL;
5938 }
5939
5940
5941 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5942 PyObject *resultobj;
5943 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5944 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5945 int arg3 = (int) -1 ;
5946 PyObject * obj0 = 0 ;
5947 PyObject * obj1 = 0 ;
5948 char *kwnames[] = {
5949 (char *) "self",(char *) "owner",(char *) "id", NULL
5950 };
5951
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 (arg1)->SetOwner(arg2,arg3);
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 Py_INCREF(Py_None); resultobj = Py_None;
5963 return resultobj;
5964 fail:
5965 return NULL;
5966 }
5967
5968
5969 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5970 PyObject *resultobj;
5971 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5972 int arg2 = (int) -1 ;
5973 bool arg3 = (bool) False ;
5974 bool result;
5975 PyObject * obj0 = 0 ;
5976 PyObject * obj2 = 0 ;
5977 char *kwnames[] = {
5978 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5983 if (obj2) {
5984 {
5985 arg3 = (bool) SPyObj_AsBool(obj2);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 }
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 result = (bool)(arg1)->Start(arg2,arg3);
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 resultobj = PyInt_FromLong((long)result);
5997 return resultobj;
5998 fail:
5999 return NULL;
6000 }
6001
6002
6003 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj;
6005 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6006 PyObject * obj0 = 0 ;
6007 char *kwnames[] = {
6008 (char *) "self", NULL
6009 };
6010
6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 (arg1)->Stop();
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 Py_INCREF(Py_None); resultobj = Py_None;
6021 return resultobj;
6022 fail:
6023 return NULL;
6024 }
6025
6026
6027 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6028 PyObject *resultobj;
6029 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6030 bool result;
6031 PyObject * obj0 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "self", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 resultobj = PyInt_FromLong((long)result);
6046 return resultobj;
6047 fail:
6048 return NULL;
6049 }
6050
6051
6052 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj;
6054 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6055 int result;
6056 PyObject * obj0 = 0 ;
6057 char *kwnames[] = {
6058 (char *) "self", NULL
6059 };
6060
6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6063 {
6064 PyThreadState* __tstate = wxPyBeginAllowThreads();
6065 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6066
6067 wxPyEndAllowThreads(__tstate);
6068 if (PyErr_Occurred()) SWIG_fail;
6069 }
6070 resultobj = PyInt_FromLong((long)result);
6071 return resultobj;
6072 fail:
6073 return NULL;
6074 }
6075
6076
6077 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6078 PyObject *resultobj;
6079 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6080 bool result;
6081 PyObject * obj0 = 0 ;
6082 char *kwnames[] = {
6083 (char *) "self", NULL
6084 };
6085
6086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6088 {
6089 PyThreadState* __tstate = wxPyBeginAllowThreads();
6090 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6091
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 resultobj = PyInt_FromLong((long)result);
6096 return resultobj;
6097 fail:
6098 return NULL;
6099 }
6100
6101
6102 static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6103 PyObject *resultobj;
6104 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6105 int result;
6106 PyObject * obj0 = 0 ;
6107 char *kwnames[] = {
6108 (char *) "self", NULL
6109 };
6110
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 result = (int)((wxPyTimer const *)arg1)->GetId();
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 resultobj = PyInt_FromLong((long)result);
6121 return resultobj;
6122 fail:
6123 return NULL;
6124 }
6125
6126
6127 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6128 PyObject *obj;
6129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6130 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6131 Py_INCREF(obj);
6132 return Py_BuildValue((char *)"");
6133 }
6134 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj;
6136 int arg1 = (int) 0 ;
6137 int arg2 = (int) 0 ;
6138 wxTimerEvent *result;
6139 char *kwnames[] = {
6140 (char *) "timerid",(char *) "interval", NULL
6141 };
6142
6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
6152 return resultobj;
6153 fail:
6154 return NULL;
6155 }
6156
6157
6158 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6161 int result;
6162 PyObject * obj0 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6169 {
6170 PyThreadState* __tstate = wxPyBeginAllowThreads();
6171 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6172
6173 wxPyEndAllowThreads(__tstate);
6174 if (PyErr_Occurred()) SWIG_fail;
6175 }
6176 resultobj = PyInt_FromLong((long)result);
6177 return resultobj;
6178 fail:
6179 return NULL;
6180 }
6181
6182
6183 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6184 PyObject *obj;
6185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6186 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6187 Py_INCREF(obj);
6188 return Py_BuildValue((char *)"");
6189 }
6190 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6191 PyObject *resultobj;
6192 wxTimer *arg1 = 0 ;
6193 wxTimerRunner *result;
6194 PyObject * obj0 = 0 ;
6195
6196 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6198 if (arg1 == NULL) {
6199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6200 }
6201 {
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6204
6205 wxPyEndAllowThreads(__tstate);
6206 if (PyErr_Occurred()) SWIG_fail;
6207 }
6208 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6209 return resultobj;
6210 fail:
6211 return NULL;
6212 }
6213
6214
6215 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6216 PyObject *resultobj;
6217 wxTimer *arg1 = 0 ;
6218 int arg2 ;
6219 bool arg3 = (bool) False ;
6220 wxTimerRunner *result;
6221 PyObject * obj0 = 0 ;
6222 PyObject * obj2 = 0 ;
6223
6224 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
6225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6226 if (arg1 == NULL) {
6227 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6228 }
6229 if (obj2) {
6230 {
6231 arg3 = (bool) SPyObj_AsBool(obj2);
6232 if (PyErr_Occurred()) SWIG_fail;
6233 }
6234 }
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6243 return resultobj;
6244 fail:
6245 return NULL;
6246 }
6247
6248
6249 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6250 int argc;
6251 PyObject *argv[4];
6252 int ii;
6253
6254 argc = PyObject_Length(args);
6255 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6256 argv[ii] = PyTuple_GetItem(args,ii);
6257 }
6258 if (argc == 1) {
6259 int _v;
6260 {
6261 void *ptr;
6262 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6263 _v = 0;
6264 PyErr_Clear();
6265 } else {
6266 _v = 1;
6267 }
6268 }
6269 if (_v) {
6270 return _wrap_new_TimerRunner__SWIG_0(self,args);
6271 }
6272 }
6273 if ((argc >= 2) && (argc <= 3)) {
6274 int _v;
6275 {
6276 void *ptr;
6277 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6278 _v = 0;
6279 PyErr_Clear();
6280 } else {
6281 _v = 1;
6282 }
6283 }
6284 if (_v) {
6285 {
6286 SPyObj_AsInt(argv[1]);
6287 if (PyErr_Occurred()) {
6288 _v = 0;
6289 PyErr_Clear();
6290 } else {
6291 _v = 1;
6292 }
6293 }
6294 if (_v) {
6295 if (argc <= 2) {
6296 return _wrap_new_TimerRunner__SWIG_1(self,args);
6297 }
6298 {
6299 SPyObj_AsBool(argv[2]);
6300 if (PyErr_Occurred()) {
6301 _v = 0;
6302 PyErr_Clear();
6303 } else {
6304 _v = 1;
6305 }
6306 }
6307 if (_v) {
6308 return _wrap_new_TimerRunner__SWIG_1(self,args);
6309 }
6310 }
6311 }
6312 }
6313
6314 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6315 return NULL;
6316 }
6317
6318
6319 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6322 PyObject * obj0 = 0 ;
6323 char *kwnames[] = {
6324 (char *) "self", NULL
6325 };
6326
6327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6329 {
6330 PyThreadState* __tstate = wxPyBeginAllowThreads();
6331 delete arg1;
6332
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
6336 Py_INCREF(Py_None); resultobj = Py_None;
6337 return resultobj;
6338 fail:
6339 return NULL;
6340 }
6341
6342
6343 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6344 PyObject *resultobj;
6345 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6346 int arg2 ;
6347 bool arg3 = (bool) False ;
6348 PyObject * obj0 = 0 ;
6349 PyObject * obj2 = 0 ;
6350 char *kwnames[] = {
6351 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6352 };
6353
6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6356 if (obj2) {
6357 {
6358 arg3 = (bool) SPyObj_AsBool(obj2);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 }
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 (arg1)->Start(arg2,arg3);
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 Py_INCREF(Py_None); resultobj = Py_None;
6370 return resultobj;
6371 fail:
6372 return NULL;
6373 }
6374
6375
6376 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6377 PyObject *obj;
6378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6379 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6380 Py_INCREF(obj);
6381 return Py_BuildValue((char *)"");
6382 }
6383 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj;
6385 wxLog *result;
6386 char *kwnames[] = {
6387 NULL
6388 };
6389
6390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6391 {
6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
6393 result = (wxLog *)new wxLog();
6394
6395 wxPyEndAllowThreads(__tstate);
6396 if (PyErr_Occurred()) SWIG_fail;
6397 }
6398 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6399 return resultobj;
6400 fail:
6401 return NULL;
6402 }
6403
6404
6405 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6406 PyObject *resultobj;
6407 bool result;
6408 char *kwnames[] = {
6409 NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 result = (bool)wxLog::IsEnabled();
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = PyInt_FromLong((long)result);
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj;
6429 bool arg1 = (bool) True ;
6430 bool result;
6431 PyObject * obj0 = 0 ;
6432 char *kwnames[] = {
6433 (char *) "doIt", NULL
6434 };
6435
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6437 if (obj0) {
6438 {
6439 arg1 = (bool) SPyObj_AsBool(obj0);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 }
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 result = (bool)wxLog::EnableLogging(arg1);
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 resultobj = PyInt_FromLong((long)result);
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj;
6459 wxLogLevel arg1 ;
6460 wxChar *arg2 = (wxChar *) 0 ;
6461 time_t arg3 ;
6462 PyObject * obj0 = 0 ;
6463 PyObject * obj1 = 0 ;
6464 PyObject * obj2 = 0 ;
6465 char *kwnames[] = {
6466 (char *) "level",(char *) "szString",(char *) "t", NULL
6467 };
6468
6469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6470 {
6471 arg1 = (wxLogLevel) SPyObj_AsUnsignedLong(obj0);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6475 {
6476 arg3 = (time_t) SPyObj_AsUnsignedInt(obj2);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 Py_INCREF(Py_None); resultobj = Py_None;
6487 return resultobj;
6488 fail:
6489 return NULL;
6490 }
6491
6492
6493 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxLog *arg1 = (wxLog *) 0 ;
6496 PyObject * obj0 = 0 ;
6497 char *kwnames[] = {
6498 (char *) "self", NULL
6499 };
6500
6501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 (arg1)->Flush();
6506
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 Py_INCREF(Py_None); resultobj = Py_None;
6511 return resultobj;
6512 fail:
6513 return NULL;
6514 }
6515
6516
6517 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6518 PyObject *resultobj;
6519 char *kwnames[] = {
6520 NULL
6521 };
6522
6523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 wxLog::FlushActive();
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 Py_INCREF(Py_None); resultobj = Py_None;
6532 return resultobj;
6533 fail:
6534 return NULL;
6535 }
6536
6537
6538 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj;
6540 wxLog *result;
6541 char *kwnames[] = {
6542 NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6546 {
6547 PyThreadState* __tstate = wxPyBeginAllowThreads();
6548 result = (wxLog *)wxLog::GetActiveTarget();
6549
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6554 return resultobj;
6555 fail:
6556 return NULL;
6557 }
6558
6559
6560 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj;
6562 wxLog *arg1 = (wxLog *) 0 ;
6563 wxLog *result;
6564 PyObject * obj0 = 0 ;
6565 char *kwnames[] = {
6566 (char *) "pLogger", NULL
6567 };
6568
6569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6579 return resultobj;
6580 fail:
6581 return NULL;
6582 }
6583
6584
6585 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj;
6587 char *kwnames[] = {
6588 NULL
6589 };
6590
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 wxLog::Suspend();
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 Py_INCREF(Py_None); resultobj = Py_None;
6600 return resultobj;
6601 fail:
6602 return NULL;
6603 }
6604
6605
6606 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 char *kwnames[] = {
6609 NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6613 {
6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
6615 wxLog::Resume();
6616
6617 wxPyEndAllowThreads(__tstate);
6618 if (PyErr_Occurred()) SWIG_fail;
6619 }
6620 Py_INCREF(Py_None); resultobj = Py_None;
6621 return resultobj;
6622 fail:
6623 return NULL;
6624 }
6625
6626
6627 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6628 PyObject *resultobj;
6629 bool arg1 = (bool) True ;
6630 PyObject * obj0 = 0 ;
6631 char *kwnames[] = {
6632 (char *) "bVerbose", NULL
6633 };
6634
6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6636 if (obj0) {
6637 {
6638 arg1 = (bool) SPyObj_AsBool(obj0);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 }
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 wxLog::SetVerbose(arg1);
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 Py_INCREF(Py_None); resultobj = Py_None;
6650 return resultobj;
6651 fail:
6652 return NULL;
6653 }
6654
6655
6656 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj;
6658 wxLogLevel arg1 ;
6659 PyObject * obj0 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "logLevel", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6665 {
6666 arg1 = (wxLogLevel) SPyObj_AsUnsignedLong(obj0);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 wxLog::SetLogLevel(arg1);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 Py_INCREF(Py_None); resultobj = Py_None;
6677 return resultobj;
6678 fail:
6679 return NULL;
6680 }
6681
6682
6683 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj;
6685 char *kwnames[] = {
6686 NULL
6687 };
6688
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 wxLog::DontCreateOnDemand();
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 Py_INCREF(Py_None); resultobj = Py_None;
6698 return resultobj;
6699 fail:
6700 return NULL;
6701 }
6702
6703
6704 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6705 PyObject *resultobj;
6706 wxTraceMask arg1 ;
6707 PyObject * obj0 = 0 ;
6708 char *kwnames[] = {
6709 (char *) "ulMask", NULL
6710 };
6711
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6713 {
6714 arg1 = (wxTraceMask) SPyObj_AsUnsignedLong(obj0);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 wxLog::SetTraceMask(arg1);
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 Py_INCREF(Py_None); resultobj = Py_None;
6725 return resultobj;
6726 fail:
6727 return NULL;
6728 }
6729
6730
6731 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6732 PyObject *resultobj;
6733 wxString *arg1 = 0 ;
6734 bool temp1 = False ;
6735 PyObject * obj0 = 0 ;
6736 char *kwnames[] = {
6737 (char *) "str", NULL
6738 };
6739
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6741 {
6742 arg1 = wxString_in_helper(obj0);
6743 if (arg1 == NULL) SWIG_fail;
6744 temp1 = True;
6745 }
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 wxLog::AddTraceMask((wxString const &)*arg1);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 Py_INCREF(Py_None); resultobj = Py_None;
6754 {
6755 if (temp1)
6756 delete arg1;
6757 }
6758 return resultobj;
6759 fail:
6760 {
6761 if (temp1)
6762 delete arg1;
6763 }
6764 return NULL;
6765 }
6766
6767
6768 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj;
6770 wxString *arg1 = 0 ;
6771 bool temp1 = False ;
6772 PyObject * obj0 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "str", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6778 {
6779 arg1 = wxString_in_helper(obj0);
6780 if (arg1 == NULL) SWIG_fail;
6781 temp1 = True;
6782 }
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 wxLog::RemoveTraceMask((wxString const &)*arg1);
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 Py_INCREF(Py_None); resultobj = Py_None;
6791 {
6792 if (temp1)
6793 delete arg1;
6794 }
6795 return resultobj;
6796 fail:
6797 {
6798 if (temp1)
6799 delete arg1;
6800 }
6801 return NULL;
6802 }
6803
6804
6805 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject *resultobj;
6807 char *kwnames[] = {
6808 NULL
6809 };
6810
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 wxLog::ClearTraceMasks();
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 Py_INCREF(Py_None); resultobj = Py_None;
6820 return resultobj;
6821 fail:
6822 return NULL;
6823 }
6824
6825
6826 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxArrayString *result;
6829 char *kwnames[] = {
6830 NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 {
6837 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6838 result = (wxArrayString *) &_result_ref;
6839 }
6840
6841 wxPyEndAllowThreads(__tstate);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 {
6845 resultobj = wxArrayString2PyList_helper(*result);
6846 }
6847 return resultobj;
6848 fail:
6849 return NULL;
6850 }
6851
6852
6853 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6854 PyObject *resultobj;
6855 wxChar *arg1 = (wxChar *) 0 ;
6856 PyObject * obj0 = 0 ;
6857 char *kwnames[] = {
6858 (char *) "ts", NULL
6859 };
6860
6861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 wxLog::SetTimestamp((wxChar const *)arg1);
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 Py_INCREF(Py_None); resultobj = Py_None;
6871 return resultobj;
6872 fail:
6873 return NULL;
6874 }
6875
6876
6877 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6878 PyObject *resultobj;
6879 bool result;
6880 char *kwnames[] = {
6881 NULL
6882 };
6883
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6885 {
6886 PyThreadState* __tstate = wxPyBeginAllowThreads();
6887 result = (bool)wxLog::GetVerbose();
6888
6889 wxPyEndAllowThreads(__tstate);
6890 if (PyErr_Occurred()) SWIG_fail;
6891 }
6892 resultobj = PyInt_FromLong((long)result);
6893 return resultobj;
6894 fail:
6895 return NULL;
6896 }
6897
6898
6899 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6900 PyObject *resultobj;
6901 wxTraceMask result;
6902 char *kwnames[] = {
6903 NULL
6904 };
6905
6906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (wxTraceMask)wxLog::GetTraceMask();
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxChar *arg1 = (wxChar *) 0 ;
6924 bool result;
6925 PyObject * obj0 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "mask", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6932 {
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6935
6936 wxPyEndAllowThreads(__tstate);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 resultobj = PyInt_FromLong((long)result);
6940 return resultobj;
6941 fail:
6942 return NULL;
6943 }
6944
6945
6946 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6947 PyObject *resultobj;
6948 wxLogLevel result;
6949 char *kwnames[] = {
6950 NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (wxLogLevel)wxLog::GetLogLevel();
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
6962 return resultobj;
6963 fail:
6964 return NULL;
6965 }
6966
6967
6968 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6969 PyObject *resultobj;
6970 wxChar *result;
6971 char *kwnames[] = {
6972 NULL
6973 };
6974
6975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6976 {
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 result = (wxChar *)wxLog::GetTimestamp();
6979
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6984 return resultobj;
6985 fail:
6986 return NULL;
6987 }
6988
6989
6990 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6991 PyObject *resultobj;
6992 wxString result;
6993 char *kwnames[] = {
6994 NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 result = Log_TimeStamp();
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 {
7006 #if wxUSE_UNICODE
7007 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7008 #else
7009 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7010 #endif
7011 }
7012 return resultobj;
7013 fail:
7014 return NULL;
7015 }
7016
7017
7018 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7019 PyObject *resultobj;
7020 wxLog *arg1 = (wxLog *) 0 ;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 wxLog_Destroy(arg1);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 Py_INCREF(Py_None); resultobj = Py_None;
7036 return resultobj;
7037 fail:
7038 return NULL;
7039 }
7040
7041
7042 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7043 PyObject *obj;
7044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7045 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7046 Py_INCREF(obj);
7047 return Py_BuildValue((char *)"");
7048 }
7049 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7050 PyObject *resultobj;
7051 wxLogStderr *result;
7052 char *kwnames[] = {
7053 NULL
7054 };
7055
7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7057 {
7058 PyThreadState* __tstate = wxPyBeginAllowThreads();
7059 result = (wxLogStderr *)new wxLogStderr();
7060
7061 wxPyEndAllowThreads(__tstate);
7062 if (PyErr_Occurred()) SWIG_fail;
7063 }
7064 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
7065 return resultobj;
7066 fail:
7067 return NULL;
7068 }
7069
7070
7071 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7072 PyObject *obj;
7073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7074 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7075 Py_INCREF(obj);
7076 return Py_BuildValue((char *)"");
7077 }
7078 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj;
7080 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7081 wxLogTextCtrl *result;
7082 PyObject * obj0 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "pTextCtrl", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
7097 return resultobj;
7098 fail:
7099 return NULL;
7100 }
7101
7102
7103 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7104 PyObject *obj;
7105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7106 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7107 Py_INCREF(obj);
7108 return Py_BuildValue((char *)"");
7109 }
7110 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7111 PyObject *resultobj;
7112 wxLogGui *result;
7113 char *kwnames[] = {
7114 NULL
7115 };
7116
7117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 result = (wxLogGui *)new wxLogGui();
7121
7122 wxPyEndAllowThreads(__tstate);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 }
7125 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
7126 return resultobj;
7127 fail:
7128 return NULL;
7129 }
7130
7131
7132 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7133 PyObject *obj;
7134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7135 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7136 Py_INCREF(obj);
7137 return Py_BuildValue((char *)"");
7138 }
7139 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7140 PyObject *resultobj;
7141 wxFrame *arg1 = (wxFrame *) 0 ;
7142 wxString *arg2 = 0 ;
7143 bool arg3 = (bool) True ;
7144 bool arg4 = (bool) True ;
7145 wxLogWindow *result;
7146 bool temp2 = False ;
7147 PyObject * obj0 = 0 ;
7148 PyObject * obj1 = 0 ;
7149 PyObject * obj2 = 0 ;
7150 PyObject * obj3 = 0 ;
7151 char *kwnames[] = {
7152 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7153 };
7154
7155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7157 {
7158 arg2 = wxString_in_helper(obj1);
7159 if (arg2 == NULL) SWIG_fail;
7160 temp2 = True;
7161 }
7162 if (obj2) {
7163 {
7164 arg3 = (bool) SPyObj_AsBool(obj2);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 }
7168 if (obj3) {
7169 {
7170 arg4 = (bool) SPyObj_AsBool(obj3);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 }
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
7182 {
7183 if (temp2)
7184 delete arg2;
7185 }
7186 return resultobj;
7187 fail:
7188 {
7189 if (temp2)
7190 delete arg2;
7191 }
7192 return NULL;
7193 }
7194
7195
7196 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7197 PyObject *resultobj;
7198 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7199 bool arg2 = (bool) True ;
7200 PyObject * obj0 = 0 ;
7201 PyObject * obj1 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self",(char *) "bShow", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7208 if (obj1) {
7209 {
7210 arg2 = (bool) SPyObj_AsBool(obj1);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 }
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 (arg1)->Show(arg2);
7217
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 Py_INCREF(Py_None); resultobj = Py_None;
7222 return resultobj;
7223 fail:
7224 return NULL;
7225 }
7226
7227
7228 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7229 PyObject *resultobj;
7230 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7231 wxFrame *result;
7232 PyObject * obj0 = 0 ;
7233 char *kwnames[] = {
7234 (char *) "self", NULL
7235 };
7236
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 {
7247 resultobj = wxPyMake_wxObject(result);
7248 }
7249 return resultobj;
7250 fail:
7251 return NULL;
7252 }
7253
7254
7255 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7256 PyObject *resultobj;
7257 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7258 wxLog *result;
7259 PyObject * obj0 = 0 ;
7260 char *kwnames[] = {
7261 (char *) "self", NULL
7262 };
7263
7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7274 return resultobj;
7275 fail:
7276 return NULL;
7277 }
7278
7279
7280 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj;
7282 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7283 bool result;
7284 PyObject * obj0 = 0 ;
7285 char *kwnames[] = {
7286 (char *) "self", NULL
7287 };
7288
7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7291 {
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7294
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 }
7298 resultobj = PyInt_FromLong((long)result);
7299 return resultobj;
7300 fail:
7301 return NULL;
7302 }
7303
7304
7305 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7306 PyObject *resultobj;
7307 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7308 bool arg2 ;
7309 PyObject * obj0 = 0 ;
7310 PyObject * obj1 = 0 ;
7311 char *kwnames[] = {
7312 (char *) "self",(char *) "bDoPass", NULL
7313 };
7314
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7317 {
7318 arg2 = (bool) SPyObj_AsBool(obj1);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 (arg1)->PassMessages(arg2);
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 Py_INCREF(Py_None); resultobj = Py_None;
7329 return resultobj;
7330 fail:
7331 return NULL;
7332 }
7333
7334
7335 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7336 PyObject *obj;
7337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7338 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7339 Py_INCREF(obj);
7340 return Py_BuildValue((char *)"");
7341 }
7342 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7343 PyObject *resultobj;
7344 wxLog *arg1 = (wxLog *) 0 ;
7345 wxLogChain *result;
7346 PyObject * obj0 = 0 ;
7347 char *kwnames[] = {
7348 (char *) "logger", NULL
7349 };
7350
7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 result = (wxLogChain *)new wxLogChain(arg1);
7356
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7361 return resultobj;
7362 fail:
7363 return NULL;
7364 }
7365
7366
7367 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7368 PyObject *resultobj;
7369 wxLogChain *arg1 = (wxLogChain *) 0 ;
7370 wxLog *arg2 = (wxLog *) 0 ;
7371 PyObject * obj0 = 0 ;
7372 PyObject * obj1 = 0 ;
7373 char *kwnames[] = {
7374 (char *) "self",(char *) "logger", NULL
7375 };
7376
7377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 (arg1)->SetLog(arg2);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 Py_INCREF(Py_None); resultobj = Py_None;
7388 return resultobj;
7389 fail:
7390 return NULL;
7391 }
7392
7393
7394 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7395 PyObject *resultobj;
7396 wxLogChain *arg1 = (wxLogChain *) 0 ;
7397 bool arg2 ;
7398 PyObject * obj0 = 0 ;
7399 PyObject * obj1 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "self",(char *) "bDoPass", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7406 {
7407 arg2 = (bool) SPyObj_AsBool(obj1);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 (arg1)->PassMessages(arg2);
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
7424 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj;
7426 wxLogChain *arg1 = (wxLogChain *) 0 ;
7427 bool result;
7428 PyObject * obj0 = 0 ;
7429 char *kwnames[] = {
7430 (char *) "self", NULL
7431 };
7432
7433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7435 {
7436 PyThreadState* __tstate = wxPyBeginAllowThreads();
7437 result = (bool)(arg1)->IsPassingMessages();
7438
7439 wxPyEndAllowThreads(__tstate);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 resultobj = PyInt_FromLong((long)result);
7443 return resultobj;
7444 fail:
7445 return NULL;
7446 }
7447
7448
7449 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj;
7451 wxLogChain *arg1 = (wxLogChain *) 0 ;
7452 wxLog *result;
7453 PyObject * obj0 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "self", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 result = (wxLog *)(arg1)->GetOldLog();
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7468 return resultobj;
7469 fail:
7470 return NULL;
7471 }
7472
7473
7474 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7475 PyObject *obj;
7476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7477 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7478 Py_INCREF(obj);
7479 return Py_BuildValue((char *)"");
7480 }
7481 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7482 PyObject *resultobj;
7483 unsigned long result;
7484 char *kwnames[] = {
7485 NULL
7486 };
7487
7488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 result = (unsigned long)wxSysErrorCode();
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
7497 return resultobj;
7498 fail:
7499 return NULL;
7500 }
7501
7502
7503 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj;
7505 unsigned long arg1 = (unsigned long) 0 ;
7506 wxString result;
7507 PyObject * obj0 = 0 ;
7508 char *kwnames[] = {
7509 (char *) "nErrCode", NULL
7510 };
7511
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7513 if (obj0) {
7514 {
7515 arg1 = (unsigned long) SPyObj_AsUnsignedLong(obj0);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 }
7519 {
7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7521 result = wxSysErrorMsg(arg1);
7522
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 {
7527 #if wxUSE_UNICODE
7528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7529 #else
7530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7531 #endif
7532 }
7533 return resultobj;
7534 fail:
7535 return NULL;
7536 }
7537
7538
7539 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7540 PyObject *resultobj;
7541 wxString *arg1 = 0 ;
7542 bool temp1 = False ;
7543 PyObject * obj0 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "msg", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7549 {
7550 arg1 = wxString_in_helper(obj0);
7551 if (arg1 == NULL) SWIG_fail;
7552 temp1 = True;
7553 }
7554 {
7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
7556 wxLogFatalError((wxString const &)*arg1);
7557
7558 wxPyEndAllowThreads(__tstate);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 }
7561 Py_INCREF(Py_None); resultobj = Py_None;
7562 {
7563 if (temp1)
7564 delete arg1;
7565 }
7566 return resultobj;
7567 fail:
7568 {
7569 if (temp1)
7570 delete arg1;
7571 }
7572 return NULL;
7573 }
7574
7575
7576 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxString *arg1 = 0 ;
7579 bool temp1 = False ;
7580 PyObject * obj0 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "msg", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7586 {
7587 arg1 = wxString_in_helper(obj0);
7588 if (arg1 == NULL) SWIG_fail;
7589 temp1 = True;
7590 }
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 wxLogError((wxString const &)*arg1);
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 Py_INCREF(Py_None); resultobj = Py_None;
7599 {
7600 if (temp1)
7601 delete arg1;
7602 }
7603 return resultobj;
7604 fail:
7605 {
7606 if (temp1)
7607 delete arg1;
7608 }
7609 return NULL;
7610 }
7611
7612
7613 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7614 PyObject *resultobj;
7615 wxString *arg1 = 0 ;
7616 bool temp1 = False ;
7617 PyObject * obj0 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "msg", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7623 {
7624 arg1 = wxString_in_helper(obj0);
7625 if (arg1 == NULL) SWIG_fail;
7626 temp1 = True;
7627 }
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 wxLogWarning((wxString const &)*arg1);
7631
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 Py_INCREF(Py_None); resultobj = Py_None;
7636 {
7637 if (temp1)
7638 delete arg1;
7639 }
7640 return resultobj;
7641 fail:
7642 {
7643 if (temp1)
7644 delete arg1;
7645 }
7646 return NULL;
7647 }
7648
7649
7650 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7651 PyObject *resultobj;
7652 wxString *arg1 = 0 ;
7653 bool temp1 = False ;
7654 PyObject * obj0 = 0 ;
7655 char *kwnames[] = {
7656 (char *) "msg", NULL
7657 };
7658
7659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7660 {
7661 arg1 = wxString_in_helper(obj0);
7662 if (arg1 == NULL) SWIG_fail;
7663 temp1 = True;
7664 }
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 wxLogMessage((wxString const &)*arg1);
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 Py_INCREF(Py_None); resultobj = Py_None;
7673 {
7674 if (temp1)
7675 delete arg1;
7676 }
7677 return resultobj;
7678 fail:
7679 {
7680 if (temp1)
7681 delete arg1;
7682 }
7683 return NULL;
7684 }
7685
7686
7687 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxString *arg1 = 0 ;
7690 bool temp1 = False ;
7691 PyObject * obj0 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "msg", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7697 {
7698 arg1 = wxString_in_helper(obj0);
7699 if (arg1 == NULL) SWIG_fail;
7700 temp1 = True;
7701 }
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 wxLogInfo((wxString const &)*arg1);
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 Py_INCREF(Py_None); resultobj = Py_None;
7710 {
7711 if (temp1)
7712 delete arg1;
7713 }
7714 return resultobj;
7715 fail:
7716 {
7717 if (temp1)
7718 delete arg1;
7719 }
7720 return NULL;
7721 }
7722
7723
7724 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7725 PyObject *resultobj;
7726 wxString *arg1 = 0 ;
7727 bool temp1 = False ;
7728 PyObject * obj0 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "msg", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7734 {
7735 arg1 = wxString_in_helper(obj0);
7736 if (arg1 == NULL) SWIG_fail;
7737 temp1 = True;
7738 }
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 wxLogDebug((wxString const &)*arg1);
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 Py_INCREF(Py_None); resultobj = Py_None;
7747 {
7748 if (temp1)
7749 delete arg1;
7750 }
7751 return resultobj;
7752 fail:
7753 {
7754 if (temp1)
7755 delete arg1;
7756 }
7757 return NULL;
7758 }
7759
7760
7761 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7762 PyObject *resultobj;
7763 wxString *arg1 = 0 ;
7764 bool temp1 = False ;
7765 PyObject * obj0 = 0 ;
7766 char *kwnames[] = {
7767 (char *) "msg", NULL
7768 };
7769
7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7771 {
7772 arg1 = wxString_in_helper(obj0);
7773 if (arg1 == NULL) SWIG_fail;
7774 temp1 = True;
7775 }
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 wxLogVerbose((wxString const &)*arg1);
7779
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 Py_INCREF(Py_None); resultobj = Py_None;
7784 {
7785 if (temp1)
7786 delete arg1;
7787 }
7788 return resultobj;
7789 fail:
7790 {
7791 if (temp1)
7792 delete arg1;
7793 }
7794 return NULL;
7795 }
7796
7797
7798 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj;
7800 wxString *arg1 = 0 ;
7801 bool temp1 = False ;
7802 PyObject * obj0 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "msg", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7808 {
7809 arg1 = wxString_in_helper(obj0);
7810 if (arg1 == NULL) SWIG_fail;
7811 temp1 = True;
7812 }
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 wxLogStatus((wxString const &)*arg1);
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 Py_INCREF(Py_None); resultobj = Py_None;
7821 {
7822 if (temp1)
7823 delete arg1;
7824 }
7825 return resultobj;
7826 fail:
7827 {
7828 if (temp1)
7829 delete arg1;
7830 }
7831 return NULL;
7832 }
7833
7834
7835 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxFrame *arg1 = (wxFrame *) 0 ;
7838 wxString *arg2 = 0 ;
7839 bool temp2 = False ;
7840 PyObject * obj0 = 0 ;
7841 PyObject * obj1 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "pFrame",(char *) "msg", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7848 {
7849 arg2 = wxString_in_helper(obj1);
7850 if (arg2 == NULL) SWIG_fail;
7851 temp2 = True;
7852 }
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 wxLogStatus(arg1,(wxString const &)*arg2);
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 Py_INCREF(Py_None); resultobj = Py_None;
7861 {
7862 if (temp2)
7863 delete arg2;
7864 }
7865 return resultobj;
7866 fail:
7867 {
7868 if (temp2)
7869 delete arg2;
7870 }
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxString *arg1 = 0 ;
7878 bool temp1 = False ;
7879 PyObject * obj0 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "msg", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7885 {
7886 arg1 = wxString_in_helper(obj0);
7887 if (arg1 == NULL) SWIG_fail;
7888 temp1 = True;
7889 }
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 wxLogSysError((wxString const &)*arg1);
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 Py_INCREF(Py_None); resultobj = Py_None;
7898 {
7899 if (temp1)
7900 delete arg1;
7901 }
7902 return resultobj;
7903 fail:
7904 {
7905 if (temp1)
7906 delete arg1;
7907 }
7908 return NULL;
7909 }
7910
7911
7912 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
7913 PyObject *resultobj;
7914 unsigned long arg1 ;
7915 wxString *arg2 = 0 ;
7916 bool temp2 = False ;
7917 PyObject * obj0 = 0 ;
7918 PyObject * obj1 = 0 ;
7919
7920 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7921 {
7922 arg1 = (unsigned long) SPyObj_AsUnsignedLong(obj0);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 {
7926 arg2 = wxString_in_helper(obj1);
7927 if (arg2 == NULL) SWIG_fail;
7928 temp2 = True;
7929 }
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 wxLogTrace(arg1,(wxString const &)*arg2);
7933
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 Py_INCREF(Py_None); resultobj = Py_None;
7938 {
7939 if (temp2)
7940 delete arg2;
7941 }
7942 return resultobj;
7943 fail:
7944 {
7945 if (temp2)
7946 delete arg2;
7947 }
7948 return NULL;
7949 }
7950
7951
7952 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
7953 PyObject *resultobj;
7954 wxString *arg1 = 0 ;
7955 wxString *arg2 = 0 ;
7956 bool temp1 = False ;
7957 bool temp2 = False ;
7958 PyObject * obj0 = 0 ;
7959 PyObject * obj1 = 0 ;
7960
7961 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7962 {
7963 arg1 = wxString_in_helper(obj0);
7964 if (arg1 == NULL) SWIG_fail;
7965 temp1 = True;
7966 }
7967 {
7968 arg2 = wxString_in_helper(obj1);
7969 if (arg2 == NULL) SWIG_fail;
7970 temp2 = True;
7971 }
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
7979 Py_INCREF(Py_None); resultobj = Py_None;
7980 {
7981 if (temp1)
7982 delete arg1;
7983 }
7984 {
7985 if (temp2)
7986 delete arg2;
7987 }
7988 return resultobj;
7989 fail:
7990 {
7991 if (temp1)
7992 delete arg1;
7993 }
7994 {
7995 if (temp2)
7996 delete arg2;
7997 }
7998 return NULL;
7999 }
8000
8001
8002 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8003 int argc;
8004 PyObject *argv[3];
8005 int ii;
8006
8007 argc = PyObject_Length(args);
8008 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8009 argv[ii] = PyTuple_GetItem(args,ii);
8010 }
8011 if (argc == 2) {
8012 int _v;
8013 {
8014 void *ptr;
8015 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
8016 _v = 0;
8017 PyErr_Clear();
8018 } else {
8019 _v = 1;
8020 }
8021 }
8022 if (_v) {
8023 {
8024 void *ptr;
8025 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
8026 _v = 0;
8027 PyErr_Clear();
8028 } else {
8029 _v = 1;
8030 }
8031 }
8032 if (_v) {
8033 return _wrap_LogTrace__SWIG_1(self,args);
8034 }
8035 }
8036 }
8037 if (argc == 2) {
8038 int _v;
8039 {
8040 SPyObj_AsUnsignedLong(argv[0]);
8041 if (PyErr_Occurred()) {
8042 _v = 0;
8043 PyErr_Clear();
8044 } else {
8045 _v = 1;
8046 }
8047 }
8048 if (_v) {
8049 {
8050 void *ptr;
8051 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
8052 _v = 0;
8053 PyErr_Clear();
8054 } else {
8055 _v = 1;
8056 }
8057 }
8058 if (_v) {
8059 return _wrap_LogTrace__SWIG_0(self,args);
8060 }
8061 }
8062 }
8063
8064 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8065 return NULL;
8066 }
8067
8068
8069 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 unsigned long arg1 ;
8072 wxString *arg2 = 0 ;
8073 bool temp2 = False ;
8074 PyObject * obj0 = 0 ;
8075 PyObject * obj1 = 0 ;
8076 char *kwnames[] = {
8077 (char *) "level",(char *) "msg", NULL
8078 };
8079
8080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8081 {
8082 arg1 = (unsigned long) SPyObj_AsUnsignedLong(obj0);
8083 if (PyErr_Occurred()) SWIG_fail;
8084 }
8085 {
8086 arg2 = wxString_in_helper(obj1);
8087 if (arg2 == NULL) SWIG_fail;
8088 temp2 = True;
8089 }
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 wxLogGeneric(arg1,(wxString const &)*arg2);
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 Py_INCREF(Py_None); resultobj = Py_None;
8098 {
8099 if (temp2)
8100 delete arg2;
8101 }
8102 return resultobj;
8103 fail:
8104 {
8105 if (temp2)
8106 delete arg2;
8107 }
8108 return NULL;
8109 }
8110
8111
8112 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8113 PyObject *resultobj;
8114 wxString *arg1 = 0 ;
8115 wxString *arg2 = 0 ;
8116 bool temp1 = False ;
8117 bool temp2 = False ;
8118 PyObject * obj0 = 0 ;
8119 PyObject * obj1 = 0 ;
8120 char *kwnames[] = {
8121 (char *) "title",(char *) "text", NULL
8122 };
8123
8124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8125 {
8126 arg1 = wxString_in_helper(obj0);
8127 if (arg1 == NULL) SWIG_fail;
8128 temp1 = True;
8129 }
8130 {
8131 arg2 = wxString_in_helper(obj1);
8132 if (arg2 == NULL) SWIG_fail;
8133 temp2 = True;
8134 }
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 Py_INCREF(Py_None); resultobj = Py_None;
8143 {
8144 if (temp1)
8145 delete arg1;
8146 }
8147 {
8148 if (temp2)
8149 delete arg2;
8150 }
8151 return resultobj;
8152 fail:
8153 {
8154 if (temp1)
8155 delete arg1;
8156 }
8157 {
8158 if (temp2)
8159 delete arg2;
8160 }
8161 return NULL;
8162 }
8163
8164
8165 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8166 PyObject *resultobj;
8167 wxLogNull *result;
8168 char *kwnames[] = {
8169 NULL
8170 };
8171
8172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 result = (wxLogNull *)new wxLogNull();
8176
8177 wxPyEndAllowThreads(__tstate);
8178 if (PyErr_Occurred()) SWIG_fail;
8179 }
8180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
8181 return resultobj;
8182 fail:
8183 return NULL;
8184 }
8185
8186
8187 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8188 PyObject *resultobj;
8189 wxLogNull *arg1 = (wxLogNull *) 0 ;
8190 PyObject * obj0 = 0 ;
8191 char *kwnames[] = {
8192 (char *) "self", NULL
8193 };
8194
8195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 delete arg1;
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 Py_INCREF(Py_None); resultobj = Py_None;
8205 return resultobj;
8206 fail:
8207 return NULL;
8208 }
8209
8210
8211 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8212 PyObject *obj;
8213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8214 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8215 Py_INCREF(obj);
8216 return Py_BuildValue((char *)"");
8217 }
8218 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8219 PyObject *resultobj;
8220 wxPyLog *result;
8221 char *kwnames[] = {
8222 NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (wxPyLog *)new wxPyLog();
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxPyLog *arg1 = (wxPyLog *) 0 ;
8243 PyObject *arg2 = (PyObject *) 0 ;
8244 PyObject *arg3 = (PyObject *) 0 ;
8245 PyObject * obj0 = 0 ;
8246 PyObject * obj1 = 0 ;
8247 PyObject * obj2 = 0 ;
8248 char *kwnames[] = {
8249 (char *) "self",(char *) "self",(char *) "_class", NULL
8250 };
8251
8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8254 arg2 = obj1;
8255 arg3 = obj2;
8256 {
8257 PyThreadState* __tstate = wxPyBeginAllowThreads();
8258 (arg1)->_setCallbackInfo(arg2,arg3);
8259
8260 wxPyEndAllowThreads(__tstate);
8261 if (PyErr_Occurred()) SWIG_fail;
8262 }
8263 Py_INCREF(Py_None); resultobj = Py_None;
8264 return resultobj;
8265 fail:
8266 return NULL;
8267 }
8268
8269
8270 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8271 PyObject *obj;
8272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8273 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8274 Py_INCREF(obj);
8275 return Py_BuildValue((char *)"");
8276 }
8277 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 int arg1 ;
8280 int arg2 = (int) wxSIGTERM ;
8281 int result;
8282 char *kwnames[] = {
8283 (char *) "pid",(char *) "sig", NULL
8284 };
8285
8286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
8287 {
8288 PyThreadState* __tstate = wxPyBeginAllowThreads();
8289 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8290
8291 wxPyEndAllowThreads(__tstate);
8292 if (PyErr_Occurred()) SWIG_fail;
8293 }
8294 resultobj = PyInt_FromLong((long)result);
8295 return resultobj;
8296 fail:
8297 return NULL;
8298 }
8299
8300
8301 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8302 PyObject *resultobj;
8303 int arg1 ;
8304 bool result;
8305 char *kwnames[] = {
8306 (char *) "pid", NULL
8307 };
8308
8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 result = (bool)wxPyProcess::Exists(arg1);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 resultobj = PyInt_FromLong((long)result);
8318 return resultobj;
8319 fail:
8320 return NULL;
8321 }
8322
8323
8324 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 wxString *arg1 = 0 ;
8327 int arg2 = (int) wxEXEC_ASYNC ;
8328 wxPyProcess *result;
8329 bool temp1 = False ;
8330 PyObject * obj0 = 0 ;
8331 char *kwnames[] = {
8332 (char *) "cmd",(char *) "flags", NULL
8333 };
8334
8335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
8336 {
8337 arg1 = wxString_in_helper(obj0);
8338 if (arg1 == NULL) SWIG_fail;
8339 temp1 = True;
8340 }
8341 {
8342 PyThreadState* __tstate = wxPyBeginAllowThreads();
8343 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8344
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8349 {
8350 if (temp1)
8351 delete arg1;
8352 }
8353 return resultobj;
8354 fail:
8355 {
8356 if (temp1)
8357 delete arg1;
8358 }
8359 return NULL;
8360 }
8361
8362
8363 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8364 PyObject *resultobj;
8365 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8366 int arg2 = (int) -1 ;
8367 wxPyProcess *result;
8368 PyObject * obj0 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "parent",(char *) "id", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
8374 if (obj0) {
8375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8376 }
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8385 return resultobj;
8386 fail:
8387 return NULL;
8388 }
8389
8390
8391 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8392 PyObject *resultobj;
8393 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8394 PyObject *arg2 = (PyObject *) 0 ;
8395 PyObject *arg3 = (PyObject *) 0 ;
8396 PyObject * obj0 = 0 ;
8397 PyObject * obj1 = 0 ;
8398 PyObject * obj2 = 0 ;
8399 char *kwnames[] = {
8400 (char *) "self",(char *) "self",(char *) "_class", NULL
8401 };
8402
8403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8405 arg2 = obj1;
8406 arg3 = obj2;
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 (arg1)->_setCallbackInfo(arg2,arg3);
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 Py_INCREF(Py_None); resultobj = Py_None;
8415 return resultobj;
8416 fail:
8417 return NULL;
8418 }
8419
8420
8421 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8424 int arg2 ;
8425 int arg3 ;
8426 PyObject * obj0 = 0 ;
8427 char *kwnames[] = {
8428 (char *) "self",(char *) "pid",(char *) "status", NULL
8429 };
8430
8431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 (arg1)->base_OnTerminate(arg2,arg3);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 Py_INCREF(Py_None); resultobj = Py_None;
8441 return resultobj;
8442 fail:
8443 return NULL;
8444 }
8445
8446
8447 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8450 PyObject * obj0 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 (arg1)->Redirect();
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 Py_INCREF(Py_None); resultobj = Py_None;
8465 return resultobj;
8466 fail:
8467 return NULL;
8468 }
8469
8470
8471 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8472 PyObject *resultobj;
8473 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8474 bool result;
8475 PyObject * obj0 = 0 ;
8476 char *kwnames[] = {
8477 (char *) "self", NULL
8478 };
8479
8480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 result = (bool)(arg1)->IsRedirected();
8485
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
8489 resultobj = PyInt_FromLong((long)result);
8490 return resultobj;
8491 fail:
8492 return NULL;
8493 }
8494
8495
8496 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8497 PyObject *resultobj;
8498 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8499 PyObject * obj0 = 0 ;
8500 char *kwnames[] = {
8501 (char *) "self", NULL
8502 };
8503
8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 (arg1)->Detach();
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 Py_INCREF(Py_None); resultobj = Py_None;
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj;
8522 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8523 wxInputStream *result;
8524 PyObject * obj0 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self", NULL
8527 };
8528
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 result = (wxInputStream *)(arg1)->GetInputStream();
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
8538 {
8539 wxPyInputStream * _ptr = NULL;
8540
8541 if (result) {
8542 _ptr = new wxPyInputStream(result);
8543 }
8544 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8545 }
8546 return resultobj;
8547 fail:
8548 return NULL;
8549 }
8550
8551
8552 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8553 PyObject *resultobj;
8554 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8555 wxInputStream *result;
8556 PyObject * obj0 = 0 ;
8557 char *kwnames[] = {
8558 (char *) "self", NULL
8559 };
8560
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 result = (wxInputStream *)(arg1)->GetErrorStream();
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 {
8571 wxPyInputStream * _ptr = NULL;
8572
8573 if (result) {
8574 _ptr = new wxPyInputStream(result);
8575 }
8576 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8577 }
8578 return resultobj;
8579 fail:
8580 return NULL;
8581 }
8582
8583
8584 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8585 PyObject *resultobj;
8586 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8587 wxOutputStream *result;
8588 PyObject * obj0 = 0 ;
8589 char *kwnames[] = {
8590 (char *) "self", NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = (wxOutputStream *)(arg1)->GetOutputStream();
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8603 return resultobj;
8604 fail:
8605 return NULL;
8606 }
8607
8608
8609 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj;
8611 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8612 PyObject * obj0 = 0 ;
8613 char *kwnames[] = {
8614 (char *) "self", NULL
8615 };
8616
8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8619 {
8620 PyThreadState* __tstate = wxPyBeginAllowThreads();
8621 (arg1)->CloseOutput();
8622
8623 wxPyEndAllowThreads(__tstate);
8624 if (PyErr_Occurred()) SWIG_fail;
8625 }
8626 Py_INCREF(Py_None); resultobj = Py_None;
8627 return resultobj;
8628 fail:
8629 return NULL;
8630 }
8631
8632
8633 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8634 PyObject *resultobj;
8635 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8636 bool result;
8637 PyObject * obj0 = 0 ;
8638 char *kwnames[] = {
8639 (char *) "self", NULL
8640 };
8641
8642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8644 {
8645 PyThreadState* __tstate = wxPyBeginAllowThreads();
8646 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8647
8648 wxPyEndAllowThreads(__tstate);
8649 if (PyErr_Occurred()) SWIG_fail;
8650 }
8651 resultobj = PyInt_FromLong((long)result);
8652 return resultobj;
8653 fail:
8654 return NULL;
8655 }
8656
8657
8658 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8659 PyObject *resultobj;
8660 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8661 bool result;
8662 PyObject * obj0 = 0 ;
8663 char *kwnames[] = {
8664 (char *) "self", NULL
8665 };
8666
8667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8669 {
8670 PyThreadState* __tstate = wxPyBeginAllowThreads();
8671 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8672
8673 wxPyEndAllowThreads(__tstate);
8674 if (PyErr_Occurred()) SWIG_fail;
8675 }
8676 resultobj = PyInt_FromLong((long)result);
8677 return resultobj;
8678 fail:
8679 return NULL;
8680 }
8681
8682
8683 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8684 PyObject *resultobj;
8685 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8686 bool result;
8687 PyObject * obj0 = 0 ;
8688 char *kwnames[] = {
8689 (char *) "self", NULL
8690 };
8691
8692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 resultobj = PyInt_FromLong((long)result);
8702 return resultobj;
8703 fail:
8704 return NULL;
8705 }
8706
8707
8708 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8709 PyObject *obj;
8710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8711 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8712 Py_INCREF(obj);
8713 return Py_BuildValue((char *)"");
8714 }
8715 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8716 PyObject *resultobj;
8717 int arg1 = (int) 0 ;
8718 int arg2 = (int) 0 ;
8719 int arg3 = (int) 0 ;
8720 wxProcessEvent *result;
8721 char *kwnames[] = {
8722 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8723 };
8724
8725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8726 {
8727 PyThreadState* __tstate = wxPyBeginAllowThreads();
8728 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8729
8730 wxPyEndAllowThreads(__tstate);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8734 return resultobj;
8735 fail:
8736 return NULL;
8737 }
8738
8739
8740 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8741 PyObject *resultobj;
8742 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8743 int result;
8744 PyObject * obj0 = 0 ;
8745 char *kwnames[] = {
8746 (char *) "self", NULL
8747 };
8748
8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (int)(arg1)->GetPid();
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 resultobj = PyInt_FromLong((long)result);
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8766 PyObject *resultobj;
8767 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8768 int result;
8769 PyObject * obj0 = 0 ;
8770 char *kwnames[] = {
8771 (char *) "self", NULL
8772 };
8773
8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8776 {
8777 PyThreadState* __tstate = wxPyBeginAllowThreads();
8778 result = (int)(arg1)->GetExitCode();
8779
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) SWIG_fail;
8782 }
8783 resultobj = PyInt_FromLong((long)result);
8784 return resultobj;
8785 fail:
8786 return NULL;
8787 }
8788
8789
8790 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj;
8792 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8793 int arg2 ;
8794 PyObject * obj0 = 0 ;
8795 char *kwnames[] = {
8796 (char *) "self",(char *) "m_pid", NULL
8797 };
8798
8799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8801 if (arg1) (arg1)->m_pid = arg2;
8802
8803 Py_INCREF(Py_None); resultobj = Py_None;
8804 return resultobj;
8805 fail:
8806 return NULL;
8807 }
8808
8809
8810 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8813 int result;
8814 PyObject * obj0 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8821 result = (int) ((arg1)->m_pid);
8822
8823 resultobj = PyInt_FromLong((long)result);
8824 return resultobj;
8825 fail:
8826 return NULL;
8827 }
8828
8829
8830 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8831 PyObject *resultobj;
8832 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8833 int arg2 ;
8834 PyObject * obj0 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "self",(char *) "m_exitcode", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8841 if (arg1) (arg1)->m_exitcode = arg2;
8842
8843 Py_INCREF(Py_None); resultobj = Py_None;
8844 return resultobj;
8845 fail:
8846 return NULL;
8847 }
8848
8849
8850 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8851 PyObject *resultobj;
8852 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8853 int result;
8854 PyObject * obj0 = 0 ;
8855 char *kwnames[] = {
8856 (char *) "self", NULL
8857 };
8858
8859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8861 result = (int) ((arg1)->m_exitcode);
8862
8863 resultobj = PyInt_FromLong((long)result);
8864 return resultobj;
8865 fail:
8866 return NULL;
8867 }
8868
8869
8870 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8871 PyObject *obj;
8872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8873 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8874 Py_INCREF(obj);
8875 return Py_BuildValue((char *)"");
8876 }
8877 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj;
8879 wxString *arg1 = 0 ;
8880 int arg2 = (int) wxEXEC_ASYNC ;
8881 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8882 long result;
8883 bool temp1 = False ;
8884 PyObject * obj0 = 0 ;
8885 PyObject * obj2 = 0 ;
8886 char *kwnames[] = {
8887 (char *) "command",(char *) "flags",(char *) "process", NULL
8888 };
8889
8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8891 {
8892 arg1 = wxString_in_helper(obj0);
8893 if (arg1 == NULL) SWIG_fail;
8894 temp1 = True;
8895 }
8896 if (obj2) {
8897 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8898 }
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 resultobj = PyInt_FromLong((long)result);
8907 {
8908 if (temp1)
8909 delete arg1;
8910 }
8911 return resultobj;
8912 fail:
8913 {
8914 if (temp1)
8915 delete arg1;
8916 }
8917 return NULL;
8918 }
8919
8920
8921 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8922 PyObject *resultobj;
8923 int arg1 = (int) wxJOYSTICK1 ;
8924 wxJoystick *result;
8925 char *kwnames[] = {
8926 (char *) "joystick", NULL
8927 };
8928
8929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 result = (wxJoystick *)new wxJoystick(arg1);
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8938 return resultobj;
8939 fail:
8940 return NULL;
8941 }
8942
8943
8944 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj;
8946 wxJoystick *arg1 = (wxJoystick *) 0 ;
8947 PyObject * obj0 = 0 ;
8948 char *kwnames[] = {
8949 (char *) "self", NULL
8950 };
8951
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 delete arg1;
8957
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 Py_INCREF(Py_None); resultobj = Py_None;
8962 return resultobj;
8963 fail:
8964 return NULL;
8965 }
8966
8967
8968 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8969 PyObject *resultobj;
8970 wxJoystick *arg1 = (wxJoystick *) 0 ;
8971 wxPoint result;
8972 PyObject * obj0 = 0 ;
8973 char *kwnames[] = {
8974 (char *) "self", NULL
8975 };
8976
8977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 result = (arg1)->GetPosition();
8982
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 {
8987 wxPoint * resultptr;
8988 resultptr = new wxPoint((wxPoint &) result);
8989 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8990 }
8991 return resultobj;
8992 fail:
8993 return NULL;
8994 }
8995
8996
8997 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8998 PyObject *resultobj;
8999 wxJoystick *arg1 = (wxJoystick *) 0 ;
9000 int result;
9001 PyObject * obj0 = 0 ;
9002 char *kwnames[] = {
9003 (char *) "self", NULL
9004 };
9005
9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 result = (int)(arg1)->GetZPosition();
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 resultobj = PyInt_FromLong((long)result);
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxJoystick *arg1 = (wxJoystick *) 0 ;
9025 int result;
9026 PyObject * obj0 = 0 ;
9027 char *kwnames[] = {
9028 (char *) "self", NULL
9029 };
9030
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = (int)(arg1)->GetButtonState();
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 resultobj = PyInt_FromLong((long)result);
9041 return resultobj;
9042 fail:
9043 return NULL;
9044 }
9045
9046
9047 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj;
9049 wxJoystick *arg1 = (wxJoystick *) 0 ;
9050 int result;
9051 PyObject * obj0 = 0 ;
9052 char *kwnames[] = {
9053 (char *) "self", NULL
9054 };
9055
9056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 result = (int)(arg1)->GetPOVPosition();
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 resultobj = PyInt_FromLong((long)result);
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj;
9074 wxJoystick *arg1 = (wxJoystick *) 0 ;
9075 int result;
9076 PyObject * obj0 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 result = (int)(arg1)->GetPOVCTSPosition();
9086
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 resultobj = PyInt_FromLong((long)result);
9091 return resultobj;
9092 fail:
9093 return NULL;
9094 }
9095
9096
9097 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9098 PyObject *resultobj;
9099 wxJoystick *arg1 = (wxJoystick *) 0 ;
9100 int result;
9101 PyObject * obj0 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9108 {
9109 PyThreadState* __tstate = wxPyBeginAllowThreads();
9110 result = (int)(arg1)->GetRudderPosition();
9111
9112 wxPyEndAllowThreads(__tstate);
9113 if (PyErr_Occurred()) SWIG_fail;
9114 }
9115 resultobj = PyInt_FromLong((long)result);
9116 return resultobj;
9117 fail:
9118 return NULL;
9119 }
9120
9121
9122 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxJoystick *arg1 = (wxJoystick *) 0 ;
9125 int result;
9126 PyObject * obj0 = 0 ;
9127 char *kwnames[] = {
9128 (char *) "self", NULL
9129 };
9130
9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9133 {
9134 PyThreadState* __tstate = wxPyBeginAllowThreads();
9135 result = (int)(arg1)->GetUPosition();
9136
9137 wxPyEndAllowThreads(__tstate);
9138 if (PyErr_Occurred()) SWIG_fail;
9139 }
9140 resultobj = PyInt_FromLong((long)result);
9141 return resultobj;
9142 fail:
9143 return NULL;
9144 }
9145
9146
9147 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9148 PyObject *resultobj;
9149 wxJoystick *arg1 = (wxJoystick *) 0 ;
9150 int result;
9151 PyObject * obj0 = 0 ;
9152 char *kwnames[] = {
9153 (char *) "self", NULL
9154 };
9155
9156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9158 {
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 result = (int)(arg1)->GetVPosition();
9161
9162 wxPyEndAllowThreads(__tstate);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 }
9165 resultobj = PyInt_FromLong((long)result);
9166 return resultobj;
9167 fail:
9168 return NULL;
9169 }
9170
9171
9172 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9173 PyObject *resultobj;
9174 wxJoystick *arg1 = (wxJoystick *) 0 ;
9175 int result;
9176 PyObject * obj0 = 0 ;
9177 char *kwnames[] = {
9178 (char *) "self", NULL
9179 };
9180
9181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9183 {
9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
9185 result = (int)(arg1)->GetMovementThreshold();
9186
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 resultobj = PyInt_FromLong((long)result);
9191 return resultobj;
9192 fail:
9193 return NULL;
9194 }
9195
9196
9197 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9198 PyObject *resultobj;
9199 wxJoystick *arg1 = (wxJoystick *) 0 ;
9200 int arg2 ;
9201 PyObject * obj0 = 0 ;
9202 char *kwnames[] = {
9203 (char *) "self",(char *) "threshold", NULL
9204 };
9205
9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
9207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 (arg1)->SetMovementThreshold(arg2);
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
9215 Py_INCREF(Py_None); resultobj = Py_None;
9216 return resultobj;
9217 fail:
9218 return NULL;
9219 }
9220
9221
9222 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9223 PyObject *resultobj;
9224 wxJoystick *arg1 = (wxJoystick *) 0 ;
9225 bool result;
9226 PyObject * obj0 = 0 ;
9227 char *kwnames[] = {
9228 (char *) "self", NULL
9229 };
9230
9231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9233 {
9234 PyThreadState* __tstate = wxPyBeginAllowThreads();
9235 result = (bool)(arg1)->IsOk();
9236
9237 wxPyEndAllowThreads(__tstate);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 }
9240 resultobj = PyInt_FromLong((long)result);
9241 return resultobj;
9242 fail:
9243 return NULL;
9244 }
9245
9246
9247 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9248 PyObject *resultobj;
9249 wxJoystick *arg1 = (wxJoystick *) 0 ;
9250 int result;
9251 PyObject * obj0 = 0 ;
9252 char *kwnames[] = {
9253 (char *) "self", NULL
9254 };
9255
9256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 result = (int)(arg1)->GetNumberJoysticks();
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 resultobj = PyInt_FromLong((long)result);
9266 return resultobj;
9267 fail:
9268 return NULL;
9269 }
9270
9271
9272 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9273 PyObject *resultobj;
9274 wxJoystick *arg1 = (wxJoystick *) 0 ;
9275 int result;
9276 PyObject * obj0 = 0 ;
9277 char *kwnames[] = {
9278 (char *) "self", NULL
9279 };
9280
9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 result = (int)(arg1)->GetManufacturerId();
9286
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 resultobj = PyInt_FromLong((long)result);
9291 return resultobj;
9292 fail:
9293 return NULL;
9294 }
9295
9296
9297 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj;
9299 wxJoystick *arg1 = (wxJoystick *) 0 ;
9300 int result;
9301 PyObject * obj0 = 0 ;
9302 char *kwnames[] = {
9303 (char *) "self", NULL
9304 };
9305
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9308 {
9309 PyThreadState* __tstate = wxPyBeginAllowThreads();
9310 result = (int)(arg1)->GetProductId();
9311
9312 wxPyEndAllowThreads(__tstate);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 }
9315 resultobj = PyInt_FromLong((long)result);
9316 return resultobj;
9317 fail:
9318 return NULL;
9319 }
9320
9321
9322 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9323 PyObject *resultobj;
9324 wxJoystick *arg1 = (wxJoystick *) 0 ;
9325 wxString result;
9326 PyObject * obj0 = 0 ;
9327 char *kwnames[] = {
9328 (char *) "self", NULL
9329 };
9330
9331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9333 {
9334 PyThreadState* __tstate = wxPyBeginAllowThreads();
9335 result = (arg1)->GetProductName();
9336
9337 wxPyEndAllowThreads(__tstate);
9338 if (PyErr_Occurred()) SWIG_fail;
9339 }
9340 {
9341 #if wxUSE_UNICODE
9342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9343 #else
9344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9345 #endif
9346 }
9347 return resultobj;
9348 fail:
9349 return NULL;
9350 }
9351
9352
9353 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9354 PyObject *resultobj;
9355 wxJoystick *arg1 = (wxJoystick *) 0 ;
9356 int result;
9357 PyObject * obj0 = 0 ;
9358 char *kwnames[] = {
9359 (char *) "self", NULL
9360 };
9361
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9364 {
9365 PyThreadState* __tstate = wxPyBeginAllowThreads();
9366 result = (int)(arg1)->GetXMin();
9367
9368 wxPyEndAllowThreads(__tstate);
9369 if (PyErr_Occurred()) SWIG_fail;
9370 }
9371 resultobj = PyInt_FromLong((long)result);
9372 return resultobj;
9373 fail:
9374 return NULL;
9375 }
9376
9377
9378 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9379 PyObject *resultobj;
9380 wxJoystick *arg1 = (wxJoystick *) 0 ;
9381 int result;
9382 PyObject * obj0 = 0 ;
9383 char *kwnames[] = {
9384 (char *) "self", NULL
9385 };
9386
9387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9389 {
9390 PyThreadState* __tstate = wxPyBeginAllowThreads();
9391 result = (int)(arg1)->GetYMin();
9392
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 resultobj = PyInt_FromLong((long)result);
9397 return resultobj;
9398 fail:
9399 return NULL;
9400 }
9401
9402
9403 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9404 PyObject *resultobj;
9405 wxJoystick *arg1 = (wxJoystick *) 0 ;
9406 int result;
9407 PyObject * obj0 = 0 ;
9408 char *kwnames[] = {
9409 (char *) "self", NULL
9410 };
9411
9412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9414 {
9415 PyThreadState* __tstate = wxPyBeginAllowThreads();
9416 result = (int)(arg1)->GetZMin();
9417
9418 wxPyEndAllowThreads(__tstate);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 }
9421 resultobj = PyInt_FromLong((long)result);
9422 return resultobj;
9423 fail:
9424 return NULL;
9425 }
9426
9427
9428 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9429 PyObject *resultobj;
9430 wxJoystick *arg1 = (wxJoystick *) 0 ;
9431 int result;
9432 PyObject * obj0 = 0 ;
9433 char *kwnames[] = {
9434 (char *) "self", NULL
9435 };
9436
9437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 result = (int)(arg1)->GetXMax();
9442
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 resultobj = PyInt_FromLong((long)result);
9447 return resultobj;
9448 fail:
9449 return NULL;
9450 }
9451
9452
9453 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9454 PyObject *resultobj;
9455 wxJoystick *arg1 = (wxJoystick *) 0 ;
9456 int result;
9457 PyObject * obj0 = 0 ;
9458 char *kwnames[] = {
9459 (char *) "self", NULL
9460 };
9461
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9464 {
9465 PyThreadState* __tstate = wxPyBeginAllowThreads();
9466 result = (int)(arg1)->GetYMax();
9467
9468 wxPyEndAllowThreads(__tstate);
9469 if (PyErr_Occurred()) SWIG_fail;
9470 }
9471 resultobj = PyInt_FromLong((long)result);
9472 return resultobj;
9473 fail:
9474 return NULL;
9475 }
9476
9477
9478 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9479 PyObject *resultobj;
9480 wxJoystick *arg1 = (wxJoystick *) 0 ;
9481 int result;
9482 PyObject * obj0 = 0 ;
9483 char *kwnames[] = {
9484 (char *) "self", NULL
9485 };
9486
9487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 result = (int)(arg1)->GetZMax();
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 resultobj = PyInt_FromLong((long)result);
9497 return resultobj;
9498 fail:
9499 return NULL;
9500 }
9501
9502
9503 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9504 PyObject *resultobj;
9505 wxJoystick *arg1 = (wxJoystick *) 0 ;
9506 int result;
9507 PyObject * obj0 = 0 ;
9508 char *kwnames[] = {
9509 (char *) "self", NULL
9510 };
9511
9512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 result = (int)(arg1)->GetNumberButtons();
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 resultobj = PyInt_FromLong((long)result);
9522 return resultobj;
9523 fail:
9524 return NULL;
9525 }
9526
9527
9528 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9529 PyObject *resultobj;
9530 wxJoystick *arg1 = (wxJoystick *) 0 ;
9531 int result;
9532 PyObject * obj0 = 0 ;
9533 char *kwnames[] = {
9534 (char *) "self", NULL
9535 };
9536
9537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9539 {
9540 PyThreadState* __tstate = wxPyBeginAllowThreads();
9541 result = (int)(arg1)->GetNumberAxes();
9542
9543 wxPyEndAllowThreads(__tstate);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 resultobj = PyInt_FromLong((long)result);
9547 return resultobj;
9548 fail:
9549 return NULL;
9550 }
9551
9552
9553 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9554 PyObject *resultobj;
9555 wxJoystick *arg1 = (wxJoystick *) 0 ;
9556 int result;
9557 PyObject * obj0 = 0 ;
9558 char *kwnames[] = {
9559 (char *) "self", NULL
9560 };
9561
9562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 result = (int)(arg1)->GetMaxButtons();
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 resultobj = PyInt_FromLong((long)result);
9572 return resultobj;
9573 fail:
9574 return NULL;
9575 }
9576
9577
9578 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9579 PyObject *resultobj;
9580 wxJoystick *arg1 = (wxJoystick *) 0 ;
9581 int result;
9582 PyObject * obj0 = 0 ;
9583 char *kwnames[] = {
9584 (char *) "self", NULL
9585 };
9586
9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 result = (int)(arg1)->GetMaxAxes();
9592
9593 wxPyEndAllowThreads(__tstate);
9594 if (PyErr_Occurred()) SWIG_fail;
9595 }
9596 resultobj = PyInt_FromLong((long)result);
9597 return resultobj;
9598 fail:
9599 return NULL;
9600 }
9601
9602
9603 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9604 PyObject *resultobj;
9605 wxJoystick *arg1 = (wxJoystick *) 0 ;
9606 int result;
9607 PyObject * obj0 = 0 ;
9608 char *kwnames[] = {
9609 (char *) "self", NULL
9610 };
9611
9612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9614 {
9615 PyThreadState* __tstate = wxPyBeginAllowThreads();
9616 result = (int)(arg1)->GetPollingMin();
9617
9618 wxPyEndAllowThreads(__tstate);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 resultobj = PyInt_FromLong((long)result);
9622 return resultobj;
9623 fail:
9624 return NULL;
9625 }
9626
9627
9628 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9629 PyObject *resultobj;
9630 wxJoystick *arg1 = (wxJoystick *) 0 ;
9631 int result;
9632 PyObject * obj0 = 0 ;
9633 char *kwnames[] = {
9634 (char *) "self", NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 result = (int)(arg1)->GetPollingMax();
9642
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 resultobj = PyInt_FromLong((long)result);
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj;
9655 wxJoystick *arg1 = (wxJoystick *) 0 ;
9656 int result;
9657 PyObject * obj0 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9664 {
9665 PyThreadState* __tstate = wxPyBeginAllowThreads();
9666 result = (int)(arg1)->GetRudderMin();
9667
9668 wxPyEndAllowThreads(__tstate);
9669 if (PyErr_Occurred()) SWIG_fail;
9670 }
9671 resultobj = PyInt_FromLong((long)result);
9672 return resultobj;
9673 fail:
9674 return NULL;
9675 }
9676
9677
9678 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9679 PyObject *resultobj;
9680 wxJoystick *arg1 = (wxJoystick *) 0 ;
9681 int result;
9682 PyObject * obj0 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "self", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 result = (int)(arg1)->GetRudderMax();
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 resultobj = PyInt_FromLong((long)result);
9697 return resultobj;
9698 fail:
9699 return NULL;
9700 }
9701
9702
9703 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9704 PyObject *resultobj;
9705 wxJoystick *arg1 = (wxJoystick *) 0 ;
9706 int result;
9707 PyObject * obj0 = 0 ;
9708 char *kwnames[] = {
9709 (char *) "self", NULL
9710 };
9711
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9714 {
9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
9716 result = (int)(arg1)->GetUMin();
9717
9718 wxPyEndAllowThreads(__tstate);
9719 if (PyErr_Occurred()) SWIG_fail;
9720 }
9721 resultobj = PyInt_FromLong((long)result);
9722 return resultobj;
9723 fail:
9724 return NULL;
9725 }
9726
9727
9728 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9729 PyObject *resultobj;
9730 wxJoystick *arg1 = (wxJoystick *) 0 ;
9731 int result;
9732 PyObject * obj0 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9739 {
9740 PyThreadState* __tstate = wxPyBeginAllowThreads();
9741 result = (int)(arg1)->GetUMax();
9742
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
9746 resultobj = PyInt_FromLong((long)result);
9747 return resultobj;
9748 fail:
9749 return NULL;
9750 }
9751
9752
9753 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject *resultobj;
9755 wxJoystick *arg1 = (wxJoystick *) 0 ;
9756 int result;
9757 PyObject * obj0 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 result = (int)(arg1)->GetVMin();
9767
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
9771 resultobj = PyInt_FromLong((long)result);
9772 return resultobj;
9773 fail:
9774 return NULL;
9775 }
9776
9777
9778 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9779 PyObject *resultobj;
9780 wxJoystick *arg1 = (wxJoystick *) 0 ;
9781 int result;
9782 PyObject * obj0 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "self", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = (int)(arg1)->GetVMax();
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 resultobj = PyInt_FromLong((long)result);
9797 return resultobj;
9798 fail:
9799 return NULL;
9800 }
9801
9802
9803 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj;
9805 wxJoystick *arg1 = (wxJoystick *) 0 ;
9806 bool result;
9807 PyObject * obj0 = 0 ;
9808 char *kwnames[] = {
9809 (char *) "self", NULL
9810 };
9811
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 result = (bool)(arg1)->HasRudder();
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 resultobj = PyInt_FromLong((long)result);
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj;
9830 wxJoystick *arg1 = (wxJoystick *) 0 ;
9831 bool result;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "self", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 result = (bool)(arg1)->HasZ();
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 resultobj = PyInt_FromLong((long)result);
9847 return resultobj;
9848 fail:
9849 return NULL;
9850 }
9851
9852
9853 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxJoystick *arg1 = (wxJoystick *) 0 ;
9856 bool result;
9857 PyObject * obj0 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9864 {
9865 PyThreadState* __tstate = wxPyBeginAllowThreads();
9866 result = (bool)(arg1)->HasU();
9867
9868 wxPyEndAllowThreads(__tstate);
9869 if (PyErr_Occurred()) SWIG_fail;
9870 }
9871 resultobj = PyInt_FromLong((long)result);
9872 return resultobj;
9873 fail:
9874 return NULL;
9875 }
9876
9877
9878 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9879 PyObject *resultobj;
9880 wxJoystick *arg1 = (wxJoystick *) 0 ;
9881 bool result;
9882 PyObject * obj0 = 0 ;
9883 char *kwnames[] = {
9884 (char *) "self", NULL
9885 };
9886
9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = (bool)(arg1)->HasV();
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 resultobj = PyInt_FromLong((long)result);
9897 return resultobj;
9898 fail:
9899 return NULL;
9900 }
9901
9902
9903 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxJoystick *arg1 = (wxJoystick *) 0 ;
9906 bool result;
9907 PyObject * obj0 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (bool)(arg1)->HasPOV();
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 resultobj = PyInt_FromLong((long)result);
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxJoystick *arg1 = (wxJoystick *) 0 ;
9931 bool result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (bool)(arg1)->HasPOV4Dir();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 resultobj = PyInt_FromLong((long)result);
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxJoystick *arg1 = (wxJoystick *) 0 ;
9956 bool result;
9957 PyObject * obj0 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (bool)(arg1)->HasPOVCTS();
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = PyInt_FromLong((long)result);
9972 return resultobj;
9973 fail:
9974 return NULL;
9975 }
9976
9977
9978 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj;
9980 wxJoystick *arg1 = (wxJoystick *) 0 ;
9981 wxWindow *arg2 = (wxWindow *) 0 ;
9982 int arg3 = (int) 0 ;
9983 bool result;
9984 PyObject * obj0 = 0 ;
9985 PyObject * obj1 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 result = (bool)(arg1)->SetCapture(arg2,arg3);
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 resultobj = PyInt_FromLong((long)result);
10001 return resultobj;
10002 fail:
10003 return NULL;
10004 }
10005
10006
10007 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxJoystick *arg1 = (wxJoystick *) 0 ;
10010 bool result;
10011 PyObject * obj0 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self", NULL
10014 };
10015
10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10018 {
10019 PyThreadState* __tstate = wxPyBeginAllowThreads();
10020 result = (bool)(arg1)->ReleaseCapture();
10021
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 resultobj = PyInt_FromLong((long)result);
10026 return resultobj;
10027 fail:
10028 return NULL;
10029 }
10030
10031
10032 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10033 PyObject *obj;
10034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10035 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10036 Py_INCREF(obj);
10037 return Py_BuildValue((char *)"");
10038 }
10039 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10040 PyObject *resultobj;
10041 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10042 wxPoint *arg2 = (wxPoint *) 0 ;
10043 PyObject * obj0 = 0 ;
10044 PyObject * obj1 = 0 ;
10045 char *kwnames[] = {
10046 (char *) "self",(char *) "m_pos", NULL
10047 };
10048
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10051 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10052 if (arg1) (arg1)->m_pos = *arg2;
10053
10054 Py_INCREF(Py_None); resultobj = Py_None;
10055 return resultobj;
10056 fail:
10057 return NULL;
10058 }
10059
10060
10061 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10062 PyObject *resultobj;
10063 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10064 wxPoint *result;
10065 PyObject * obj0 = 0 ;
10066 char *kwnames[] = {
10067 (char *) "self", NULL
10068 };
10069
10070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10072 result = (wxPoint *)& ((arg1)->m_pos);
10073
10074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj;
10083 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10084 int arg2 ;
10085 PyObject * obj0 = 0 ;
10086 char *kwnames[] = {
10087 (char *) "self",(char *) "m_zPosition", NULL
10088 };
10089
10090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
10091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10092 if (arg1) (arg1)->m_zPosition = arg2;
10093
10094 Py_INCREF(Py_None); resultobj = Py_None;
10095 return resultobj;
10096 fail:
10097 return NULL;
10098 }
10099
10100
10101 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10102 PyObject *resultobj;
10103 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10104 int result;
10105 PyObject * obj0 = 0 ;
10106 char *kwnames[] = {
10107 (char *) "self", NULL
10108 };
10109
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10112 result = (int) ((arg1)->m_zPosition);
10113
10114 resultobj = PyInt_FromLong((long)result);
10115 return resultobj;
10116 fail:
10117 return NULL;
10118 }
10119
10120
10121 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10124 int arg2 ;
10125 PyObject * obj0 = 0 ;
10126 char *kwnames[] = {
10127 (char *) "self",(char *) "m_buttonChange", NULL
10128 };
10129
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
10131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10132 if (arg1) (arg1)->m_buttonChange = arg2;
10133
10134 Py_INCREF(Py_None); resultobj = Py_None;
10135 return resultobj;
10136 fail:
10137 return NULL;
10138 }
10139
10140
10141 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10142 PyObject *resultobj;
10143 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10144 int result;
10145 PyObject * obj0 = 0 ;
10146 char *kwnames[] = {
10147 (char *) "self", NULL
10148 };
10149
10150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
10151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10152 result = (int) ((arg1)->m_buttonChange);
10153
10154 resultobj = PyInt_FromLong((long)result);
10155 return resultobj;
10156 fail:
10157 return NULL;
10158 }
10159
10160
10161 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10162 PyObject *resultobj;
10163 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10164 int arg2 ;
10165 PyObject * obj0 = 0 ;
10166 char *kwnames[] = {
10167 (char *) "self",(char *) "m_buttonState", NULL
10168 };
10169
10170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
10171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10172 if (arg1) (arg1)->m_buttonState = arg2;
10173
10174 Py_INCREF(Py_None); resultobj = Py_None;
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj;
10183 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10184 int result;
10185 PyObject * obj0 = 0 ;
10186 char *kwnames[] = {
10187 (char *) "self", NULL
10188 };
10189
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
10191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10192 result = (int) ((arg1)->m_buttonState);
10193
10194 resultobj = PyInt_FromLong((long)result);
10195 return resultobj;
10196 fail:
10197 return NULL;
10198 }
10199
10200
10201 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10202 PyObject *resultobj;
10203 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10204 int arg2 ;
10205 PyObject * obj0 = 0 ;
10206 char *kwnames[] = {
10207 (char *) "self",(char *) "m_joyStick", NULL
10208 };
10209
10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
10211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10212 if (arg1) (arg1)->m_joyStick = arg2;
10213
10214 Py_INCREF(Py_None); resultobj = Py_None;
10215 return resultobj;
10216 fail:
10217 return NULL;
10218 }
10219
10220
10221 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10222 PyObject *resultobj;
10223 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10224 int result;
10225 PyObject * obj0 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
10231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10232 result = (int) ((arg1)->m_joyStick);
10233
10234 resultobj = PyInt_FromLong((long)result);
10235 return resultobj;
10236 fail:
10237 return NULL;
10238 }
10239
10240
10241 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10242 PyObject *resultobj;
10243 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10244 int arg2 = (int) 0 ;
10245 int arg3 = (int) wxJOYSTICK1 ;
10246 int arg4 = (int) 0 ;
10247 wxJoystickEvent *result;
10248 char *kwnames[] = {
10249 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10261 return resultobj;
10262 fail:
10263 return NULL;
10264 }
10265
10266
10267 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10270 wxPoint result;
10271 PyObject * obj0 = 0 ;
10272 char *kwnames[] = {
10273 (char *) "self", NULL
10274 };
10275
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 {
10286 wxPoint * resultptr;
10287 resultptr = new wxPoint((wxPoint &) result);
10288 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10289 }
10290 return resultobj;
10291 fail:
10292 return NULL;
10293 }
10294
10295
10296 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10299 int result;
10300 PyObject * obj0 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 resultobj = PyInt_FromLong((long)result);
10315 return resultobj;
10316 fail:
10317 return NULL;
10318 }
10319
10320
10321 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10322 PyObject *resultobj;
10323 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10324 int result;
10325 PyObject * obj0 = 0 ;
10326 char *kwnames[] = {
10327 (char *) "self", NULL
10328 };
10329
10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10335
10336 wxPyEndAllowThreads(__tstate);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
10339 resultobj = PyInt_FromLong((long)result);
10340 return resultobj;
10341 fail:
10342 return NULL;
10343 }
10344
10345
10346 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10347 PyObject *resultobj;
10348 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10349 int result;
10350 PyObject * obj0 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10357 {
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10360
10361 wxPyEndAllowThreads(__tstate);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 }
10364 resultobj = PyInt_FromLong((long)result);
10365 return resultobj;
10366 fail:
10367 return NULL;
10368 }
10369
10370
10371 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj;
10373 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10374 int result;
10375 PyObject * obj0 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10385
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 resultobj = PyInt_FromLong((long)result);
10390 return resultobj;
10391 fail:
10392 return NULL;
10393 }
10394
10395
10396 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10397 PyObject *resultobj;
10398 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10399 int arg2 ;
10400 PyObject * obj0 = 0 ;
10401 char *kwnames[] = {
10402 (char *) "self",(char *) "stick", NULL
10403 };
10404
10405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 (arg1)->SetJoystick(arg2);
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 Py_INCREF(Py_None); resultobj = Py_None;
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj;
10423 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10424 int arg2 ;
10425 PyObject * obj0 = 0 ;
10426 char *kwnames[] = {
10427 (char *) "self",(char *) "state", NULL
10428 };
10429
10430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 (arg1)->SetButtonState(arg2);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 return resultobj;
10441 fail:
10442 return NULL;
10443 }
10444
10445
10446 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10449 int arg2 ;
10450 PyObject * obj0 = 0 ;
10451 char *kwnames[] = {
10452 (char *) "self",(char *) "change", NULL
10453 };
10454
10455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 (arg1)->SetButtonChange(arg2);
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 Py_INCREF(Py_None); resultobj = Py_None;
10465 return resultobj;
10466 fail:
10467 return NULL;
10468 }
10469
10470
10471 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10472 PyObject *resultobj;
10473 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10474 wxPoint *arg2 = 0 ;
10475 wxPoint temp2 ;
10476 PyObject * obj0 = 0 ;
10477 PyObject * obj1 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self",(char *) "pos", NULL
10480 };
10481
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10484 {
10485 arg2 = &temp2;
10486 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10487 }
10488 {
10489 PyThreadState* __tstate = wxPyBeginAllowThreads();
10490 (arg1)->SetPosition((wxPoint const &)*arg2);
10491
10492 wxPyEndAllowThreads(__tstate);
10493 if (PyErr_Occurred()) SWIG_fail;
10494 }
10495 Py_INCREF(Py_None); resultobj = Py_None;
10496 return resultobj;
10497 fail:
10498 return NULL;
10499 }
10500
10501
10502 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10503 PyObject *resultobj;
10504 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10505 int arg2 ;
10506 PyObject * obj0 = 0 ;
10507 char *kwnames[] = {
10508 (char *) "self",(char *) "zPos", NULL
10509 };
10510
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 (arg1)->SetZPosition(arg2);
10516
10517 wxPyEndAllowThreads(__tstate);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 }
10520 Py_INCREF(Py_None); resultobj = Py_None;
10521 return resultobj;
10522 fail:
10523 return NULL;
10524 }
10525
10526
10527 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10528 PyObject *resultobj;
10529 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10530 bool result;
10531 PyObject * obj0 = 0 ;
10532 char *kwnames[] = {
10533 (char *) "self", NULL
10534 };
10535
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10541
10542 wxPyEndAllowThreads(__tstate);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 resultobj = PyInt_FromLong((long)result);
10546 return resultobj;
10547 fail:
10548 return NULL;
10549 }
10550
10551
10552 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10553 PyObject *resultobj;
10554 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10555 bool result;
10556 PyObject * obj0 = 0 ;
10557 char *kwnames[] = {
10558 (char *) "self", NULL
10559 };
10560
10561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 resultobj = PyInt_FromLong((long)result);
10571 return resultobj;
10572 fail:
10573 return NULL;
10574 }
10575
10576
10577 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10578 PyObject *resultobj;
10579 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10580 bool result;
10581 PyObject * obj0 = 0 ;
10582 char *kwnames[] = {
10583 (char *) "self", NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 resultobj = PyInt_FromLong((long)result);
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj;
10604 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10605 int arg2 = (int) wxJOY_BUTTON_ANY ;
10606 bool result;
10607 PyObject * obj0 = 0 ;
10608 char *kwnames[] = {
10609 (char *) "self",(char *) "but", NULL
10610 };
10611
10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10614 {
10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
10616 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10617
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 resultobj = PyInt_FromLong((long)result);
10622 return resultobj;
10623 fail:
10624 return NULL;
10625 }
10626
10627
10628 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10629 PyObject *resultobj;
10630 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10631 int arg2 = (int) wxJOY_BUTTON_ANY ;
10632 bool result;
10633 PyObject * obj0 = 0 ;
10634 char *kwnames[] = {
10635 (char *) "self",(char *) "but", NULL
10636 };
10637
10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10643
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 resultobj = PyInt_FromLong((long)result);
10648 return resultobj;
10649 fail:
10650 return NULL;
10651 }
10652
10653
10654 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10655 PyObject *resultobj;
10656 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10657 int arg2 = (int) wxJOY_BUTTON_ANY ;
10658 bool result;
10659 PyObject * obj0 = 0 ;
10660 char *kwnames[] = {
10661 (char *) "self",(char *) "but", NULL
10662 };
10663
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 resultobj = PyInt_FromLong((long)result);
10674 return resultobj;
10675 fail:
10676 return NULL;
10677 }
10678
10679
10680 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10681 PyObject *obj;
10682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10683 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10684 Py_INCREF(obj);
10685 return Py_BuildValue((char *)"");
10686 }
10687 static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxString *arg1 = 0 ;
10690 bool arg2 = (bool) False ;
10691 wxWave *result;
10692 bool temp1 = False ;
10693 PyObject * obj0 = 0 ;
10694 PyObject * obj1 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "fileName",(char *) "isResource", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10700 {
10701 arg1 = wxString_in_helper(obj0);
10702 if (arg1 == NULL) SWIG_fail;
10703 temp1 = True;
10704 }
10705 if (obj1) {
10706 {
10707 arg2 = (bool) SPyObj_AsBool(obj1);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 }
10710 }
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10719 {
10720 if (temp1)
10721 delete arg1;
10722 }
10723 return resultobj;
10724 fail:
10725 {
10726 if (temp1)
10727 delete arg1;
10728 }
10729 return NULL;
10730 }
10731
10732
10733 static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxString *arg1 = 0 ;
10736 wxWave *result;
10737 bool temp1 = False ;
10738 PyObject * obj0 = 0 ;
10739 char *kwnames[] = {
10740 (char *) "data", NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10744 {
10745 arg1 = wxString_in_helper(obj0);
10746 if (arg1 == NULL) SWIG_fail;
10747 temp1 = True;
10748 }
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10752
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
10756 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10757 {
10758 if (temp1)
10759 delete arg1;
10760 }
10761 return resultobj;
10762 fail:
10763 {
10764 if (temp1)
10765 delete arg1;
10766 }
10767 return NULL;
10768 }
10769
10770
10771 static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10772 PyObject *resultobj;
10773 wxWave *arg1 = (wxWave *) 0 ;
10774 PyObject * obj0 = 0 ;
10775 char *kwnames[] = {
10776 (char *) "self", NULL
10777 };
10778
10779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10781 {
10782 PyThreadState* __tstate = wxPyBeginAllowThreads();
10783 delete arg1;
10784
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 Py_INCREF(Py_None); resultobj = Py_None;
10789 return resultobj;
10790 fail:
10791 return NULL;
10792 }
10793
10794
10795 static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10796 PyObject *resultobj;
10797 wxWave *arg1 = (wxWave *) 0 ;
10798 bool result;
10799 PyObject * obj0 = 0 ;
10800 char *kwnames[] = {
10801 (char *) "self", NULL
10802 };
10803
10804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 result = (bool)((wxWave const *)arg1)->IsOk();
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 resultobj = PyInt_FromLong((long)result);
10814 return resultobj;
10815 fail:
10816 return NULL;
10817 }
10818
10819
10820 static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10821 PyObject *resultobj;
10822 wxWave *arg1 = (wxWave *) 0 ;
10823 bool arg2 = (bool) True ;
10824 bool arg3 = (bool) False ;
10825 bool result;
10826 PyObject * obj0 = 0 ;
10827 PyObject * obj1 = 0 ;
10828 PyObject * obj2 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "self",(char *) "async",(char *) "looped", NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10835 if (obj1) {
10836 {
10837 arg2 = (bool) SPyObj_AsBool(obj1);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 }
10841 if (obj2) {
10842 {
10843 arg3 = (bool) SPyObj_AsBool(obj2);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 }
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 result = (bool)(arg1)->Play(arg2,arg3);
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 resultobj = PyInt_FromLong((long)result);
10855 return resultobj;
10856 fail:
10857 return NULL;
10858 }
10859
10860
10861 static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10862 PyObject *obj;
10863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10864 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10865 Py_INCREF(obj);
10866 return Py_BuildValue((char *)"");
10867 }
10868 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10869 PyObject *resultobj;
10870 wxString *arg1 = 0 ;
10871 wxString *arg2 = 0 ;
10872 wxString *arg3 = 0 ;
10873 wxString *arg4 = 0 ;
10874 wxFileTypeInfo *result;
10875 bool temp1 = False ;
10876 bool temp2 = False ;
10877 bool temp3 = False ;
10878 bool temp4 = False ;
10879 PyObject * obj0 = 0 ;
10880 PyObject * obj1 = 0 ;
10881 PyObject * obj2 = 0 ;
10882 PyObject * obj3 = 0 ;
10883 char *kwnames[] = {
10884 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10885 };
10886
10887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10888 {
10889 arg1 = wxString_in_helper(obj0);
10890 if (arg1 == NULL) SWIG_fail;
10891 temp1 = True;
10892 }
10893 {
10894 arg2 = wxString_in_helper(obj1);
10895 if (arg2 == NULL) SWIG_fail;
10896 temp2 = True;
10897 }
10898 {
10899 arg3 = wxString_in_helper(obj2);
10900 if (arg3 == NULL) SWIG_fail;
10901 temp3 = True;
10902 }
10903 {
10904 arg4 = wxString_in_helper(obj3);
10905 if (arg4 == NULL) SWIG_fail;
10906 temp4 = True;
10907 }
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10911
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
10915 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10916 {
10917 if (temp1)
10918 delete arg1;
10919 }
10920 {
10921 if (temp2)
10922 delete arg2;
10923 }
10924 {
10925 if (temp3)
10926 delete arg3;
10927 }
10928 {
10929 if (temp4)
10930 delete arg4;
10931 }
10932 return resultobj;
10933 fail:
10934 {
10935 if (temp1)
10936 delete arg1;
10937 }
10938 {
10939 if (temp2)
10940 delete arg2;
10941 }
10942 {
10943 if (temp3)
10944 delete arg3;
10945 }
10946 {
10947 if (temp4)
10948 delete arg4;
10949 }
10950 return NULL;
10951 }
10952
10953
10954 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj;
10956 wxArrayString *arg1 = 0 ;
10957 wxFileTypeInfo *result;
10958 PyObject * obj0 = 0 ;
10959 char *kwnames[] = {
10960 (char *) "sArray", NULL
10961 };
10962
10963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10964 {
10965 if (! PySequence_Check(obj0)) {
10966 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10967 SWIG_fail;
10968 }
10969 arg1 = new wxArrayString;
10970 int i, len=PySequence_Length(obj0);
10971 for (i=0; i<len; i++) {
10972 PyObject* item = PySequence_GetItem(obj0, i);
10973 #if wxUSE_UNICODE
10974 PyObject* str = PyObject_Unicode(item);
10975 #else
10976 PyObject* str = PyObject_Str(item);
10977 #endif
10978 arg1->Add(Py2wxString(str));
10979 Py_DECREF(item);
10980 Py_DECREF(str);
10981 }
10982 }
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10986
10987 wxPyEndAllowThreads(__tstate);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
10990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10991 {
10992 if (arg1) delete arg1;
10993 }
10994 return resultobj;
10995 fail:
10996 {
10997 if (arg1) delete arg1;
10998 }
10999 return NULL;
11000 }
11001
11002
11003 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11004 PyObject *resultobj;
11005 wxFileTypeInfo *result;
11006 char *kwnames[] = {
11007 NULL
11008 };
11009
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11014
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11019 return resultobj;
11020 fail:
11021 return NULL;
11022 }
11023
11024
11025 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj;
11027 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11028 bool result;
11029 PyObject * obj0 = 0 ;
11030 char *kwnames[] = {
11031 (char *) "self", NULL
11032 };
11033
11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
11035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 resultobj = PyInt_FromLong((long)result);
11044 return resultobj;
11045 fail:
11046 return NULL;
11047 }
11048
11049
11050 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj;
11052 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11053 wxString *arg2 = 0 ;
11054 int arg3 = (int) 0 ;
11055 bool temp2 = False ;
11056 PyObject * obj0 = 0 ;
11057 PyObject * obj1 = 0 ;
11058 char *kwnames[] = {
11059 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11060 };
11061
11062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11064 {
11065 arg2 = wxString_in_helper(obj1);
11066 if (arg2 == NULL) SWIG_fail;
11067 temp2 = True;
11068 }
11069 {
11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
11071 (arg1)->SetIcon((wxString const &)*arg2,arg3);
11072
11073 wxPyEndAllowThreads(__tstate);
11074 if (PyErr_Occurred()) SWIG_fail;
11075 }
11076 Py_INCREF(Py_None); resultobj = Py_None;
11077 {
11078 if (temp2)
11079 delete arg2;
11080 }
11081 return resultobj;
11082 fail:
11083 {
11084 if (temp2)
11085 delete arg2;
11086 }
11087 return NULL;
11088 }
11089
11090
11091 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11092 PyObject *resultobj;
11093 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11094 wxString *arg2 = 0 ;
11095 bool temp2 = False ;
11096 PyObject * obj0 = 0 ;
11097 PyObject * obj1 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "self",(char *) "shortDesc", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
11103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11104 {
11105 arg2 = wxString_in_helper(obj1);
11106 if (arg2 == NULL) SWIG_fail;
11107 temp2 = True;
11108 }
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 (arg1)->SetShortDesc((wxString const &)*arg2);
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 Py_INCREF(Py_None); resultobj = Py_None;
11117 {
11118 if (temp2)
11119 delete arg2;
11120 }
11121 return resultobj;
11122 fail:
11123 {
11124 if (temp2)
11125 delete arg2;
11126 }
11127 return NULL;
11128 }
11129
11130
11131 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj;
11133 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11134 wxString *result;
11135 PyObject * obj0 = 0 ;
11136 char *kwnames[] = {
11137 (char *) "self", NULL
11138 };
11139
11140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
11141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11142 {
11143 PyThreadState* __tstate = wxPyBeginAllowThreads();
11144 {
11145 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
11146 result = (wxString *) &_result_ref;
11147 }
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 {
11153 #if wxUSE_UNICODE
11154 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11155 #else
11156 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11157 #endif
11158 }
11159 return resultobj;
11160 fail:
11161 return NULL;
11162 }
11163
11164
11165 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11166 PyObject *resultobj;
11167 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11168 wxString *result;
11169 PyObject * obj0 = 0 ;
11170 char *kwnames[] = {
11171 (char *) "self", NULL
11172 };
11173
11174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
11175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11176 {
11177 PyThreadState* __tstate = wxPyBeginAllowThreads();
11178 {
11179 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
11180 result = (wxString *) &_result_ref;
11181 }
11182
11183 wxPyEndAllowThreads(__tstate);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 {
11187 #if wxUSE_UNICODE
11188 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11189 #else
11190 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11191 #endif
11192 }
11193 return resultobj;
11194 fail:
11195 return NULL;
11196 }
11197
11198
11199 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj;
11201 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11202 wxString *result;
11203 PyObject * obj0 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
11209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 {
11213 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
11214 result = (wxString *) &_result_ref;
11215 }
11216
11217 wxPyEndAllowThreads(__tstate);
11218 if (PyErr_Occurred()) SWIG_fail;
11219 }
11220 {
11221 #if wxUSE_UNICODE
11222 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11223 #else
11224 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11225 #endif
11226 }
11227 return resultobj;
11228 fail:
11229 return NULL;
11230 }
11231
11232
11233 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11234 PyObject *resultobj;
11235 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11236 wxString *result;
11237 PyObject * obj0 = 0 ;
11238 char *kwnames[] = {
11239 (char *) "self", NULL
11240 };
11241
11242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
11243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 {
11247 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
11248 result = (wxString *) &_result_ref;
11249 }
11250
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 {
11255 #if wxUSE_UNICODE
11256 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11257 #else
11258 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11259 #endif
11260 }
11261 return resultobj;
11262 fail:
11263 return NULL;
11264 }
11265
11266
11267 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11268 PyObject *resultobj;
11269 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11270 wxString *result;
11271 PyObject * obj0 = 0 ;
11272 char *kwnames[] = {
11273 (char *) "self", NULL
11274 };
11275
11276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
11277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 {
11281 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
11282 result = (wxString *) &_result_ref;
11283 }
11284
11285 wxPyEndAllowThreads(__tstate);
11286 if (PyErr_Occurred()) SWIG_fail;
11287 }
11288 {
11289 #if wxUSE_UNICODE
11290 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11291 #else
11292 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11293 #endif
11294 }
11295 return resultobj;
11296 fail:
11297 return NULL;
11298 }
11299
11300
11301 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11302 PyObject *resultobj;
11303 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11304 wxArrayString *result;
11305 PyObject * obj0 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 {
11315 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
11316 result = (wxArrayString *) &_result_ref;
11317 }
11318
11319 wxPyEndAllowThreads(__tstate);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
11322 {
11323 resultobj = wxArrayString2PyList_helper(*result);
11324 }
11325 return resultobj;
11326 fail:
11327 return NULL;
11328 }
11329
11330
11331 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11332 PyObject *resultobj;
11333 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11334 int result;
11335 PyObject * obj0 = 0 ;
11336 char *kwnames[] = {
11337 (char *) "self", NULL
11338 };
11339
11340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
11341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
11345
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 resultobj = PyInt_FromLong((long)result);
11350 return resultobj;
11351 fail:
11352 return NULL;
11353 }
11354
11355
11356 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11357 PyObject *resultobj;
11358 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11359 wxString *result;
11360 PyObject * obj0 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "self", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
11366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11367 {
11368 PyThreadState* __tstate = wxPyBeginAllowThreads();
11369 {
11370 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
11371 result = (wxString *) &_result_ref;
11372 }
11373
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 {
11378 #if wxUSE_UNICODE
11379 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11380 #else
11381 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11382 #endif
11383 }
11384 return resultobj;
11385 fail:
11386 return NULL;
11387 }
11388
11389
11390 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11391 PyObject *resultobj;
11392 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11393 int result;
11394 PyObject * obj0 = 0 ;
11395 char *kwnames[] = {
11396 (char *) "self", NULL
11397 };
11398
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11404
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
11408 resultobj = PyInt_FromLong((long)result);
11409 return resultobj;
11410 fail:
11411 return NULL;
11412 }
11413
11414
11415 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11416 PyObject *obj;
11417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11418 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11419 Py_INCREF(obj);
11420 return Py_BuildValue((char *)"");
11421 }
11422 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11423 PyObject *resultobj;
11424 wxFileTypeInfo *arg1 = 0 ;
11425 wxFileType *result;
11426 PyObject * obj0 = 0 ;
11427 char *kwnames[] = {
11428 (char *) "ftInfo", NULL
11429 };
11430
11431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11433 if (arg1 == NULL) {
11434 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11435 }
11436 {
11437 PyThreadState* __tstate = wxPyBeginAllowThreads();
11438 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11439
11440 wxPyEndAllowThreads(__tstate);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 }
11443 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11444 return resultobj;
11445 fail:
11446 return NULL;
11447 }
11448
11449
11450 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11451 PyObject *resultobj;
11452 wxFileType *arg1 = (wxFileType *) 0 ;
11453 PyObject * obj0 = 0 ;
11454 char *kwnames[] = {
11455 (char *) "self", NULL
11456 };
11457
11458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 delete arg1;
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 Py_INCREF(Py_None); resultobj = Py_None;
11468 return resultobj;
11469 fail:
11470 return NULL;
11471 }
11472
11473
11474 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11475 PyObject *resultobj;
11476 wxFileType *arg1 = (wxFileType *) 0 ;
11477 PyObject *result;
11478 PyObject * obj0 = 0 ;
11479 char *kwnames[] = {
11480 (char *) "self", NULL
11481 };
11482
11483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 result = (PyObject *)wxFileType_GetMimeType(arg1);
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 resultobj = result;
11493 return resultobj;
11494 fail:
11495 return NULL;
11496 }
11497
11498
11499 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11500 PyObject *resultobj;
11501 wxFileType *arg1 = (wxFileType *) 0 ;
11502 PyObject *result;
11503 PyObject * obj0 = 0 ;
11504 char *kwnames[] = {
11505 (char *) "self", NULL
11506 };
11507
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 resultobj = result;
11518 return resultobj;
11519 fail:
11520 return NULL;
11521 }
11522
11523
11524 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11525 PyObject *resultobj;
11526 wxFileType *arg1 = (wxFileType *) 0 ;
11527 PyObject *result;
11528 PyObject * obj0 = 0 ;
11529 char *kwnames[] = {
11530 (char *) "self", NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11535 {
11536 PyThreadState* __tstate = wxPyBeginAllowThreads();
11537 result = (PyObject *)wxFileType_GetExtensions(arg1);
11538
11539 wxPyEndAllowThreads(__tstate);
11540 if (PyErr_Occurred()) SWIG_fail;
11541 }
11542 resultobj = result;
11543 return resultobj;
11544 fail:
11545 return NULL;
11546 }
11547
11548
11549 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11550 PyObject *resultobj;
11551 wxFileType *arg1 = (wxFileType *) 0 ;
11552 wxIcon *result;
11553 PyObject * obj0 = 0 ;
11554 char *kwnames[] = {
11555 (char *) "self", NULL
11556 };
11557
11558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = (wxIcon *)wxFileType_GetIcon(arg1);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11568 return resultobj;
11569 fail:
11570 return NULL;
11571 }
11572
11573
11574 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11575 PyObject *resultobj;
11576 wxFileType *arg1 = (wxFileType *) 0 ;
11577 PyObject *result;
11578 PyObject * obj0 = 0 ;
11579 char *kwnames[] = {
11580 (char *) "self", NULL
11581 };
11582
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
11587 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11588
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
11592 resultobj = result;
11593 return resultobj;
11594 fail:
11595 return NULL;
11596 }
11597
11598
11599 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11600 PyObject *resultobj;
11601 wxFileType *arg1 = (wxFileType *) 0 ;
11602 PyObject *result;
11603 PyObject * obj0 = 0 ;
11604 char *kwnames[] = {
11605 (char *) "self", NULL
11606 };
11607
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 result = (PyObject *)wxFileType_GetDescription(arg1);
11613
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
11617 resultobj = result;
11618 return resultobj;
11619 fail:
11620 return NULL;
11621 }
11622
11623
11624 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11625 PyObject *resultobj;
11626 wxFileType *arg1 = (wxFileType *) 0 ;
11627 wxString *arg2 = 0 ;
11628 wxString const &arg3_defvalue = wxPyEmptyString ;
11629 wxString *arg3 = (wxString *) &arg3_defvalue ;
11630 PyObject *result;
11631 bool temp2 = False ;
11632 bool temp3 = False ;
11633 PyObject * obj0 = 0 ;
11634 PyObject * obj1 = 0 ;
11635 PyObject * obj2 = 0 ;
11636 char *kwnames[] = {
11637 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11638 };
11639
11640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11642 {
11643 arg2 = wxString_in_helper(obj1);
11644 if (arg2 == NULL) SWIG_fail;
11645 temp2 = True;
11646 }
11647 if (obj2) {
11648 {
11649 arg3 = wxString_in_helper(obj2);
11650 if (arg3 == NULL) SWIG_fail;
11651 temp3 = True;
11652 }
11653 }
11654 {
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11657
11658 wxPyEndAllowThreads(__tstate);
11659 if (PyErr_Occurred()) SWIG_fail;
11660 }
11661 resultobj = result;
11662 {
11663 if (temp2)
11664 delete arg2;
11665 }
11666 {
11667 if (temp3)
11668 delete arg3;
11669 }
11670 return resultobj;
11671 fail:
11672 {
11673 if (temp2)
11674 delete arg2;
11675 }
11676 {
11677 if (temp3)
11678 delete arg3;
11679 }
11680 return NULL;
11681 }
11682
11683
11684 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11685 PyObject *resultobj;
11686 wxFileType *arg1 = (wxFileType *) 0 ;
11687 wxString *arg2 = 0 ;
11688 wxString const &arg3_defvalue = wxPyEmptyString ;
11689 wxString *arg3 = (wxString *) &arg3_defvalue ;
11690 PyObject *result;
11691 bool temp2 = False ;
11692 bool temp3 = False ;
11693 PyObject * obj0 = 0 ;
11694 PyObject * obj1 = 0 ;
11695 PyObject * obj2 = 0 ;
11696 char *kwnames[] = {
11697 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11698 };
11699
11700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11702 {
11703 arg2 = wxString_in_helper(obj1);
11704 if (arg2 == NULL) SWIG_fail;
11705 temp2 = True;
11706 }
11707 if (obj2) {
11708 {
11709 arg3 = wxString_in_helper(obj2);
11710 if (arg3 == NULL) SWIG_fail;
11711 temp3 = True;
11712 }
11713 }
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11717
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
11721 resultobj = result;
11722 {
11723 if (temp2)
11724 delete arg2;
11725 }
11726 {
11727 if (temp3)
11728 delete arg3;
11729 }
11730 return resultobj;
11731 fail:
11732 {
11733 if (temp2)
11734 delete arg2;
11735 }
11736 {
11737 if (temp3)
11738 delete arg3;
11739 }
11740 return NULL;
11741 }
11742
11743
11744 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11745 PyObject *resultobj;
11746 wxFileType *arg1 = (wxFileType *) 0 ;
11747 wxString *arg2 = 0 ;
11748 wxString const &arg3_defvalue = wxPyEmptyString ;
11749 wxString *arg3 = (wxString *) &arg3_defvalue ;
11750 PyObject *result;
11751 bool temp2 = False ;
11752 bool temp3 = False ;
11753 PyObject * obj0 = 0 ;
11754 PyObject * obj1 = 0 ;
11755 PyObject * obj2 = 0 ;
11756 char *kwnames[] = {
11757 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11758 };
11759
11760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11762 {
11763 arg2 = wxString_in_helper(obj1);
11764 if (arg2 == NULL) SWIG_fail;
11765 temp2 = True;
11766 }
11767 if (obj2) {
11768 {
11769 arg3 = wxString_in_helper(obj2);
11770 if (arg3 == NULL) SWIG_fail;
11771 temp3 = True;
11772 }
11773 }
11774 {
11775 PyThreadState* __tstate = wxPyBeginAllowThreads();
11776 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11777
11778 wxPyEndAllowThreads(__tstate);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 }
11781 resultobj = result;
11782 {
11783 if (temp2)
11784 delete arg2;
11785 }
11786 {
11787 if (temp3)
11788 delete arg3;
11789 }
11790 return resultobj;
11791 fail:
11792 {
11793 if (temp2)
11794 delete arg2;
11795 }
11796 {
11797 if (temp3)
11798 delete arg3;
11799 }
11800 return NULL;
11801 }
11802
11803
11804 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11805 PyObject *resultobj;
11806 wxFileType *arg1 = (wxFileType *) 0 ;
11807 wxString *arg2 = 0 ;
11808 wxString *arg3 = 0 ;
11809 bool arg4 = (bool) True ;
11810 bool result;
11811 bool temp2 = False ;
11812 bool temp3 = False ;
11813 PyObject * obj0 = 0 ;
11814 PyObject * obj1 = 0 ;
11815 PyObject * obj2 = 0 ;
11816 PyObject * obj3 = 0 ;
11817 char *kwnames[] = {
11818 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11819 };
11820
11821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11823 {
11824 arg2 = wxString_in_helper(obj1);
11825 if (arg2 == NULL) SWIG_fail;
11826 temp2 = True;
11827 }
11828 {
11829 arg3 = wxString_in_helper(obj2);
11830 if (arg3 == NULL) SWIG_fail;
11831 temp3 = True;
11832 }
11833 if (obj3) {
11834 {
11835 arg4 = (bool) SPyObj_AsBool(obj3);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 }
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 resultobj = PyInt_FromLong((long)result);
11847 {
11848 if (temp2)
11849 delete arg2;
11850 }
11851 {
11852 if (temp3)
11853 delete arg3;
11854 }
11855 return resultobj;
11856 fail:
11857 {
11858 if (temp2)
11859 delete arg2;
11860 }
11861 {
11862 if (temp3)
11863 delete arg3;
11864 }
11865 return NULL;
11866 }
11867
11868
11869 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11870 PyObject *resultobj;
11871 wxFileType *arg1 = (wxFileType *) 0 ;
11872 wxString const &arg2_defvalue = wxPyEmptyString ;
11873 wxString *arg2 = (wxString *) &arg2_defvalue ;
11874 int arg3 = (int) 0 ;
11875 bool result;
11876 bool temp2 = False ;
11877 PyObject * obj0 = 0 ;
11878 PyObject * obj1 = 0 ;
11879 char *kwnames[] = {
11880 (char *) "self",(char *) "cmd",(char *) "index", NULL
11881 };
11882
11883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11885 if (obj1) {
11886 {
11887 arg2 = wxString_in_helper(obj1);
11888 if (arg2 == NULL) SWIG_fail;
11889 temp2 = True;
11890 }
11891 }
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11895
11896 wxPyEndAllowThreads(__tstate);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
11899 resultobj = PyInt_FromLong((long)result);
11900 {
11901 if (temp2)
11902 delete arg2;
11903 }
11904 return resultobj;
11905 fail:
11906 {
11907 if (temp2)
11908 delete arg2;
11909 }
11910 return NULL;
11911 }
11912
11913
11914 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11915 PyObject *resultobj;
11916 wxFileType *arg1 = (wxFileType *) 0 ;
11917 bool result;
11918 PyObject * obj0 = 0 ;
11919 char *kwnames[] = {
11920 (char *) "self", NULL
11921 };
11922
11923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 result = (bool)(arg1)->Unassociate();
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
11932 resultobj = PyInt_FromLong((long)result);
11933 return resultobj;
11934 fail:
11935 return NULL;
11936 }
11937
11938
11939 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj;
11941 wxString *arg1 = 0 ;
11942 wxString *arg2 = 0 ;
11943 wxString const &arg3_defvalue = wxPyEmptyString ;
11944 wxString *arg3 = (wxString *) &arg3_defvalue ;
11945 wxString result;
11946 bool temp1 = False ;
11947 bool temp2 = False ;
11948 bool temp3 = False ;
11949 PyObject * obj0 = 0 ;
11950 PyObject * obj1 = 0 ;
11951 PyObject * obj2 = 0 ;
11952 char *kwnames[] = {
11953 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11954 };
11955
11956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11957 {
11958 arg1 = wxString_in_helper(obj0);
11959 if (arg1 == NULL) SWIG_fail;
11960 temp1 = True;
11961 }
11962 {
11963 arg2 = wxString_in_helper(obj1);
11964 if (arg2 == NULL) SWIG_fail;
11965 temp2 = True;
11966 }
11967 if (obj2) {
11968 {
11969 arg3 = wxString_in_helper(obj2);
11970 if (arg3 == NULL) SWIG_fail;
11971 temp3 = True;
11972 }
11973 }
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 {
11982 #if wxUSE_UNICODE
11983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11984 #else
11985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11986 #endif
11987 }
11988 {
11989 if (temp1)
11990 delete arg1;
11991 }
11992 {
11993 if (temp2)
11994 delete arg2;
11995 }
11996 {
11997 if (temp3)
11998 delete arg3;
11999 }
12000 return resultobj;
12001 fail:
12002 {
12003 if (temp1)
12004 delete arg1;
12005 }
12006 {
12007 if (temp2)
12008 delete arg2;
12009 }
12010 {
12011 if (temp3)
12012 delete arg3;
12013 }
12014 return NULL;
12015 }
12016
12017
12018 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
12019 PyObject *obj;
12020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12021 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
12022 Py_INCREF(obj);
12023 return Py_BuildValue((char *)"");
12024 }
12025 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
12026 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
12027 return 1;
12028 }
12029
12030
12031 static PyObject *_wrap_TheMimeTypesManager_get() {
12032 PyObject *pyobj;
12033
12034 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
12035 return pyobj;
12036 }
12037
12038
12039 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
12040 PyObject *resultobj;
12041 wxString *arg1 = 0 ;
12042 wxString *arg2 = 0 ;
12043 bool result;
12044 bool temp1 = False ;
12045 bool temp2 = False ;
12046 PyObject * obj0 = 0 ;
12047 PyObject * obj1 = 0 ;
12048 char *kwnames[] = {
12049 (char *) "mimeType",(char *) "wildcard", NULL
12050 };
12051
12052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
12053 {
12054 arg1 = wxString_in_helper(obj0);
12055 if (arg1 == NULL) SWIG_fail;
12056 temp1 = True;
12057 }
12058 {
12059 arg2 = wxString_in_helper(obj1);
12060 if (arg2 == NULL) SWIG_fail;
12061 temp2 = True;
12062 }
12063 {
12064 PyThreadState* __tstate = wxPyBeginAllowThreads();
12065 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
12066
12067 wxPyEndAllowThreads(__tstate);
12068 if (PyErr_Occurred()) SWIG_fail;
12069 }
12070 resultobj = PyInt_FromLong((long)result);
12071 {
12072 if (temp1)
12073 delete arg1;
12074 }
12075 {
12076 if (temp2)
12077 delete arg2;
12078 }
12079 return resultobj;
12080 fail:
12081 {
12082 if (temp1)
12083 delete arg1;
12084 }
12085 {
12086 if (temp2)
12087 delete arg2;
12088 }
12089 return NULL;
12090 }
12091
12092
12093 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12094 PyObject *resultobj;
12095 wxMimeTypesManager *result;
12096 char *kwnames[] = {
12097 NULL
12098 };
12099
12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
12101 {
12102 PyThreadState* __tstate = wxPyBeginAllowThreads();
12103 result = (wxMimeTypesManager *)new wxMimeTypesManager();
12104
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
12109 return resultobj;
12110 fail:
12111 return NULL;
12112 }
12113
12114
12115 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj;
12117 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12118 int arg2 = (int) wxMAILCAP_ALL ;
12119 wxString const &arg3_defvalue = wxPyEmptyString ;
12120 wxString *arg3 = (wxString *) &arg3_defvalue ;
12121 bool temp3 = False ;
12122 PyObject * obj0 = 0 ;
12123 PyObject * obj2 = 0 ;
12124 char *kwnames[] = {
12125 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12126 };
12127
12128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
12129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12130 if (obj2) {
12131 {
12132 arg3 = wxString_in_helper(obj2);
12133 if (arg3 == NULL) SWIG_fail;
12134 temp3 = True;
12135 }
12136 }
12137 {
12138 PyThreadState* __tstate = wxPyBeginAllowThreads();
12139 (arg1)->Initialize(arg2,(wxString const &)*arg3);
12140
12141 wxPyEndAllowThreads(__tstate);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 }
12144 Py_INCREF(Py_None); resultobj = Py_None;
12145 {
12146 if (temp3)
12147 delete arg3;
12148 }
12149 return resultobj;
12150 fail:
12151 {
12152 if (temp3)
12153 delete arg3;
12154 }
12155 return NULL;
12156 }
12157
12158
12159 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
12160 PyObject *resultobj;
12161 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12162 PyObject * obj0 = 0 ;
12163 char *kwnames[] = {
12164 (char *) "self", NULL
12165 };
12166
12167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
12168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 (arg1)->ClearData();
12172
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 Py_INCREF(Py_None); resultobj = Py_None;
12177 return resultobj;
12178 fail:
12179 return NULL;
12180 }
12181
12182
12183 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj;
12185 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12186 wxString *arg2 = 0 ;
12187 wxFileType *result;
12188 bool temp2 = False ;
12189 PyObject * obj0 = 0 ;
12190 PyObject * obj1 = 0 ;
12191 char *kwnames[] = {
12192 (char *) "self",(char *) "ext", NULL
12193 };
12194
12195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
12196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12197 {
12198 arg2 = wxString_in_helper(obj1);
12199 if (arg2 == NULL) SWIG_fail;
12200 temp2 = True;
12201 }
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12210 {
12211 if (temp2)
12212 delete arg2;
12213 }
12214 return resultobj;
12215 fail:
12216 {
12217 if (temp2)
12218 delete arg2;
12219 }
12220 return NULL;
12221 }
12222
12223
12224 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12225 PyObject *resultobj;
12226 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12227 wxString *arg2 = 0 ;
12228 wxFileType *result;
12229 bool temp2 = False ;
12230 PyObject * obj0 = 0 ;
12231 PyObject * obj1 = 0 ;
12232 char *kwnames[] = {
12233 (char *) "self",(char *) "mimeType", NULL
12234 };
12235
12236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
12237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12238 {
12239 arg2 = wxString_in_helper(obj1);
12240 if (arg2 == NULL) SWIG_fail;
12241 temp2 = True;
12242 }
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12251 {
12252 if (temp2)
12253 delete arg2;
12254 }
12255 return resultobj;
12256 fail:
12257 {
12258 if (temp2)
12259 delete arg2;
12260 }
12261 return NULL;
12262 }
12263
12264
12265 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
12266 PyObject *resultobj;
12267 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12268 wxString *arg2 = 0 ;
12269 bool arg3 = (bool) False ;
12270 bool result;
12271 bool temp2 = False ;
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 PyObject * obj2 = 0 ;
12275 char *kwnames[] = {
12276 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12277 };
12278
12279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
12280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12281 {
12282 arg2 = wxString_in_helper(obj1);
12283 if (arg2 == NULL) SWIG_fail;
12284 temp2 = True;
12285 }
12286 if (obj2) {
12287 {
12288 arg3 = (bool) SPyObj_AsBool(obj2);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 }
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 resultobj = PyInt_FromLong((long)result);
12300 {
12301 if (temp2)
12302 delete arg2;
12303 }
12304 return resultobj;
12305 fail:
12306 {
12307 if (temp2)
12308 delete arg2;
12309 }
12310 return NULL;
12311 }
12312
12313
12314 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12315 PyObject *resultobj;
12316 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12317 wxString *arg2 = 0 ;
12318 bool result;
12319 bool temp2 = False ;
12320 PyObject * obj0 = 0 ;
12321 PyObject * obj1 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self",(char *) "filename", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
12327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12328 {
12329 arg2 = wxString_in_helper(obj1);
12330 if (arg2 == NULL) SWIG_fail;
12331 temp2 = True;
12332 }
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
12335 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 resultobj = PyInt_FromLong((long)result);
12341 {
12342 if (temp2)
12343 delete arg2;
12344 }
12345 return resultobj;
12346 fail:
12347 {
12348 if (temp2)
12349 delete arg2;
12350 }
12351 return NULL;
12352 }
12353
12354
12355 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12356 PyObject *resultobj;
12357 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12358 PyObject *result;
12359 PyObject * obj0 = 0 ;
12360 char *kwnames[] = {
12361 (char *) "self", NULL
12362 };
12363
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
12365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12366 {
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
12369
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 resultobj = result;
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj;
12382 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12383 wxFileTypeInfo *arg2 = 0 ;
12384 PyObject * obj0 = 0 ;
12385 PyObject * obj1 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self",(char *) "ft", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
12391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12392 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12393 if (arg2 == NULL) {
12394 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12395 }
12396 {
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
12398 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12399
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 Py_INCREF(Py_None); resultobj = Py_None;
12404 return resultobj;
12405 fail:
12406 return NULL;
12407 }
12408
12409
12410 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12411 PyObject *resultobj;
12412 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12413 wxFileTypeInfo *arg2 = 0 ;
12414 wxFileType *result;
12415 PyObject * obj0 = 0 ;
12416 PyObject * obj1 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self",(char *) "ftInfo", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12424 if (arg2 == NULL) {
12425 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12426 }
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12430
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) SWIG_fail;
12433 }
12434 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12435 return resultobj;
12436 fail:
12437 return NULL;
12438 }
12439
12440
12441 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12442 PyObject *resultobj;
12443 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12444 wxFileType *arg2 = (wxFileType *) 0 ;
12445 bool result;
12446 PyObject * obj0 = 0 ;
12447 PyObject * obj1 = 0 ;
12448 char *kwnames[] = {
12449 (char *) "self",(char *) "ft", NULL
12450 };
12451
12452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12455 {
12456 PyThreadState* __tstate = wxPyBeginAllowThreads();
12457 result = (bool)(arg1)->Unassociate(arg2);
12458
12459 wxPyEndAllowThreads(__tstate);
12460 if (PyErr_Occurred()) SWIG_fail;
12461 }
12462 resultobj = PyInt_FromLong((long)result);
12463 return resultobj;
12464 fail:
12465 return NULL;
12466 }
12467
12468
12469 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12470 PyObject *resultobj;
12471 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12472 PyObject * obj0 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 delete arg1;
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
12486 Py_INCREF(Py_None); resultobj = Py_None;
12487 return resultobj;
12488 fail:
12489 return NULL;
12490 }
12491
12492
12493 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12494 PyObject *obj;
12495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12496 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12497 Py_INCREF(obj);
12498 return Py_BuildValue((char *)"");
12499 }
12500 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12501 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12502 return 1;
12503 }
12504
12505
12506 static PyObject *_wrap_ART_TOOLBAR_get() {
12507 PyObject *pyobj;
12508
12509 {
12510 #if wxUSE_UNICODE
12511 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12512 #else
12513 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12514 #endif
12515 }
12516 return pyobj;
12517 }
12518
12519
12520 static int _wrap_ART_MENU_set(PyObject *_val) {
12521 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12522 return 1;
12523 }
12524
12525
12526 static PyObject *_wrap_ART_MENU_get() {
12527 PyObject *pyobj;
12528
12529 {
12530 #if wxUSE_UNICODE
12531 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12532 #else
12533 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12534 #endif
12535 }
12536 return pyobj;
12537 }
12538
12539
12540 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12541 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12542 return 1;
12543 }
12544
12545
12546 static PyObject *_wrap_ART_FRAME_ICON_get() {
12547 PyObject *pyobj;
12548
12549 {
12550 #if wxUSE_UNICODE
12551 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12552 #else
12553 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12554 #endif
12555 }
12556 return pyobj;
12557 }
12558
12559
12560 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12561 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12562 return 1;
12563 }
12564
12565
12566 static PyObject *_wrap_ART_CMN_DIALOG_get() {
12567 PyObject *pyobj;
12568
12569 {
12570 #if wxUSE_UNICODE
12571 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12572 #else
12573 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12574 #endif
12575 }
12576 return pyobj;
12577 }
12578
12579
12580 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12581 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12582 return 1;
12583 }
12584
12585
12586 static PyObject *_wrap_ART_HELP_BROWSER_get() {
12587 PyObject *pyobj;
12588
12589 {
12590 #if wxUSE_UNICODE
12591 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12592 #else
12593 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12594 #endif
12595 }
12596 return pyobj;
12597 }
12598
12599
12600 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12601 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12602 return 1;
12603 }
12604
12605
12606 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12607 PyObject *pyobj;
12608
12609 {
12610 #if wxUSE_UNICODE
12611 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12612 #else
12613 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12614 #endif
12615 }
12616 return pyobj;
12617 }
12618
12619
12620 static int _wrap_ART_OTHER_set(PyObject *_val) {
12621 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12622 return 1;
12623 }
12624
12625
12626 static PyObject *_wrap_ART_OTHER_get() {
12627 PyObject *pyobj;
12628
12629 {
12630 #if wxUSE_UNICODE
12631 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12632 #else
12633 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12634 #endif
12635 }
12636 return pyobj;
12637 }
12638
12639
12640 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12641 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12642 return 1;
12643 }
12644
12645
12646 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12647 PyObject *pyobj;
12648
12649 {
12650 #if wxUSE_UNICODE
12651 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12652 #else
12653 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12654 #endif
12655 }
12656 return pyobj;
12657 }
12658
12659
12660 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12661 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12662 return 1;
12663 }
12664
12665
12666 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12667 PyObject *pyobj;
12668
12669 {
12670 #if wxUSE_UNICODE
12671 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12672 #else
12673 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12674 #endif
12675 }
12676 return pyobj;
12677 }
12678
12679
12680 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12681 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12682 return 1;
12683 }
12684
12685
12686 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12687 PyObject *pyobj;
12688
12689 {
12690 #if wxUSE_UNICODE
12691 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12692 #else
12693 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12694 #endif
12695 }
12696 return pyobj;
12697 }
12698
12699
12700 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12701 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12702 return 1;
12703 }
12704
12705
12706 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12707 PyObject *pyobj;
12708
12709 {
12710 #if wxUSE_UNICODE
12711 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12712 #else
12713 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12714 #endif
12715 }
12716 return pyobj;
12717 }
12718
12719
12720 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12721 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12722 return 1;
12723 }
12724
12725
12726 static PyObject *_wrap_ART_HELP_BOOK_get() {
12727 PyObject *pyobj;
12728
12729 {
12730 #if wxUSE_UNICODE
12731 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12732 #else
12733 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12734 #endif
12735 }
12736 return pyobj;
12737 }
12738
12739
12740 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12741 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12742 return 1;
12743 }
12744
12745
12746 static PyObject *_wrap_ART_HELP_FOLDER_get() {
12747 PyObject *pyobj;
12748
12749 {
12750 #if wxUSE_UNICODE
12751 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12752 #else
12753 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12754 #endif
12755 }
12756 return pyobj;
12757 }
12758
12759
12760 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12761 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12762 return 1;
12763 }
12764
12765
12766 static PyObject *_wrap_ART_HELP_PAGE_get() {
12767 PyObject *pyobj;
12768
12769 {
12770 #if wxUSE_UNICODE
12771 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12772 #else
12773 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12774 #endif
12775 }
12776 return pyobj;
12777 }
12778
12779
12780 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12781 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12782 return 1;
12783 }
12784
12785
12786 static PyObject *_wrap_ART_GO_BACK_get() {
12787 PyObject *pyobj;
12788
12789 {
12790 #if wxUSE_UNICODE
12791 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12792 #else
12793 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12794 #endif
12795 }
12796 return pyobj;
12797 }
12798
12799
12800 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12801 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12802 return 1;
12803 }
12804
12805
12806 static PyObject *_wrap_ART_GO_FORWARD_get() {
12807 PyObject *pyobj;
12808
12809 {
12810 #if wxUSE_UNICODE
12811 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12812 #else
12813 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12814 #endif
12815 }
12816 return pyobj;
12817 }
12818
12819
12820 static int _wrap_ART_GO_UP_set(PyObject *_val) {
12821 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12822 return 1;
12823 }
12824
12825
12826 static PyObject *_wrap_ART_GO_UP_get() {
12827 PyObject *pyobj;
12828
12829 {
12830 #if wxUSE_UNICODE
12831 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12832 #else
12833 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12834 #endif
12835 }
12836 return pyobj;
12837 }
12838
12839
12840 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12841 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12842 return 1;
12843 }
12844
12845
12846 static PyObject *_wrap_ART_GO_DOWN_get() {
12847 PyObject *pyobj;
12848
12849 {
12850 #if wxUSE_UNICODE
12851 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12852 #else
12853 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12854 #endif
12855 }
12856 return pyobj;
12857 }
12858
12859
12860 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12861 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12862 return 1;
12863 }
12864
12865
12866 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12867 PyObject *pyobj;
12868
12869 {
12870 #if wxUSE_UNICODE
12871 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12872 #else
12873 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12874 #endif
12875 }
12876 return pyobj;
12877 }
12878
12879
12880 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12881 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12882 return 1;
12883 }
12884
12885
12886 static PyObject *_wrap_ART_GO_HOME_get() {
12887 PyObject *pyobj;
12888
12889 {
12890 #if wxUSE_UNICODE
12891 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12892 #else
12893 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12894 #endif
12895 }
12896 return pyobj;
12897 }
12898
12899
12900 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12901 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12902 return 1;
12903 }
12904
12905
12906 static PyObject *_wrap_ART_FILE_OPEN_get() {
12907 PyObject *pyobj;
12908
12909 {
12910 #if wxUSE_UNICODE
12911 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12912 #else
12913 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12914 #endif
12915 }
12916 return pyobj;
12917 }
12918
12919
12920 static int _wrap_ART_PRINT_set(PyObject *_val) {
12921 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12922 return 1;
12923 }
12924
12925
12926 static PyObject *_wrap_ART_PRINT_get() {
12927 PyObject *pyobj;
12928
12929 {
12930 #if wxUSE_UNICODE
12931 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12932 #else
12933 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12934 #endif
12935 }
12936 return pyobj;
12937 }
12938
12939
12940 static int _wrap_ART_HELP_set(PyObject *_val) {
12941 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12942 return 1;
12943 }
12944
12945
12946 static PyObject *_wrap_ART_HELP_get() {
12947 PyObject *pyobj;
12948
12949 {
12950 #if wxUSE_UNICODE
12951 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12952 #else
12953 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12954 #endif
12955 }
12956 return pyobj;
12957 }
12958
12959
12960 static int _wrap_ART_TIP_set(PyObject *_val) {
12961 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12962 return 1;
12963 }
12964
12965
12966 static PyObject *_wrap_ART_TIP_get() {
12967 PyObject *pyobj;
12968
12969 {
12970 #if wxUSE_UNICODE
12971 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12972 #else
12973 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12974 #endif
12975 }
12976 return pyobj;
12977 }
12978
12979
12980 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12981 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12982 return 1;
12983 }
12984
12985
12986 static PyObject *_wrap_ART_REPORT_VIEW_get() {
12987 PyObject *pyobj;
12988
12989 {
12990 #if wxUSE_UNICODE
12991 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12992 #else
12993 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12994 #endif
12995 }
12996 return pyobj;
12997 }
12998
12999
13000 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
13001 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
13002 return 1;
13003 }
13004
13005
13006 static PyObject *_wrap_ART_LIST_VIEW_get() {
13007 PyObject *pyobj;
13008
13009 {
13010 #if wxUSE_UNICODE
13011 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13012 #else
13013 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13014 #endif
13015 }
13016 return pyobj;
13017 }
13018
13019
13020 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
13021 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
13022 return 1;
13023 }
13024
13025
13026 static PyObject *_wrap_ART_NEW_DIR_get() {
13027 PyObject *pyobj;
13028
13029 {
13030 #if wxUSE_UNICODE
13031 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13032 #else
13033 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13034 #endif
13035 }
13036 return pyobj;
13037 }
13038
13039
13040 static int _wrap_ART_FOLDER_set(PyObject *_val) {
13041 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
13042 return 1;
13043 }
13044
13045
13046 static PyObject *_wrap_ART_FOLDER_get() {
13047 PyObject *pyobj;
13048
13049 {
13050 #if wxUSE_UNICODE
13051 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13052 #else
13053 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13054 #endif
13055 }
13056 return pyobj;
13057 }
13058
13059
13060 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
13061 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
13062 return 1;
13063 }
13064
13065
13066 static PyObject *_wrap_ART_GO_DIR_UP_get() {
13067 PyObject *pyobj;
13068
13069 {
13070 #if wxUSE_UNICODE
13071 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13072 #else
13073 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13074 #endif
13075 }
13076 return pyobj;
13077 }
13078
13079
13080 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
13081 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
13082 return 1;
13083 }
13084
13085
13086 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
13087 PyObject *pyobj;
13088
13089 {
13090 #if wxUSE_UNICODE
13091 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13092 #else
13093 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13094 #endif
13095 }
13096 return pyobj;
13097 }
13098
13099
13100 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
13101 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
13102 return 1;
13103 }
13104
13105
13106 static PyObject *_wrap_ART_NORMAL_FILE_get() {
13107 PyObject *pyobj;
13108
13109 {
13110 #if wxUSE_UNICODE
13111 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13112 #else
13113 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13114 #endif
13115 }
13116 return pyobj;
13117 }
13118
13119
13120 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
13121 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
13122 return 1;
13123 }
13124
13125
13126 static PyObject *_wrap_ART_TICK_MARK_get() {
13127 PyObject *pyobj;
13128
13129 {
13130 #if wxUSE_UNICODE
13131 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13132 #else
13133 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13134 #endif
13135 }
13136 return pyobj;
13137 }
13138
13139
13140 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
13141 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
13142 return 1;
13143 }
13144
13145
13146 static PyObject *_wrap_ART_CROSS_MARK_get() {
13147 PyObject *pyobj;
13148
13149 {
13150 #if wxUSE_UNICODE
13151 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13152 #else
13153 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13154 #endif
13155 }
13156 return pyobj;
13157 }
13158
13159
13160 static int _wrap_ART_ERROR_set(PyObject *_val) {
13161 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
13162 return 1;
13163 }
13164
13165
13166 static PyObject *_wrap_ART_ERROR_get() {
13167 PyObject *pyobj;
13168
13169 {
13170 #if wxUSE_UNICODE
13171 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13172 #else
13173 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13174 #endif
13175 }
13176 return pyobj;
13177 }
13178
13179
13180 static int _wrap_ART_QUESTION_set(PyObject *_val) {
13181 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
13182 return 1;
13183 }
13184
13185
13186 static PyObject *_wrap_ART_QUESTION_get() {
13187 PyObject *pyobj;
13188
13189 {
13190 #if wxUSE_UNICODE
13191 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13192 #else
13193 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13194 #endif
13195 }
13196 return pyobj;
13197 }
13198
13199
13200 static int _wrap_ART_WARNING_set(PyObject *_val) {
13201 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
13202 return 1;
13203 }
13204
13205
13206 static PyObject *_wrap_ART_WARNING_get() {
13207 PyObject *pyobj;
13208
13209 {
13210 #if wxUSE_UNICODE
13211 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13212 #else
13213 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13214 #endif
13215 }
13216 return pyobj;
13217 }
13218
13219
13220 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
13221 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
13222 return 1;
13223 }
13224
13225
13226 static PyObject *_wrap_ART_INFORMATION_get() {
13227 PyObject *pyobj;
13228
13229 {
13230 #if wxUSE_UNICODE
13231 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13232 #else
13233 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13234 #endif
13235 }
13236 return pyobj;
13237 }
13238
13239
13240 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
13241 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
13242 return 1;
13243 }
13244
13245
13246 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
13247 PyObject *pyobj;
13248
13249 {
13250 #if wxUSE_UNICODE
13251 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13252 #else
13253 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13254 #endif
13255 }
13256 return pyobj;
13257 }
13258
13259
13260 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13261 PyObject *resultobj;
13262 wxPyArtProvider *result;
13263 char *kwnames[] = {
13264 NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
13268 {
13269 PyThreadState* __tstate = wxPyBeginAllowThreads();
13270 result = (wxPyArtProvider *)new wxPyArtProvider();
13271
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
13276 return resultobj;
13277 fail:
13278 return NULL;
13279 }
13280
13281
13282 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj;
13284 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13285 PyObject *arg2 = (PyObject *) 0 ;
13286 PyObject *arg3 = (PyObject *) 0 ;
13287 PyObject * obj0 = 0 ;
13288 PyObject * obj1 = 0 ;
13289 PyObject * obj2 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "self",(char *) "self",(char *) "_class", NULL
13292 };
13293
13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13296 arg2 = obj1;
13297 arg3 = obj2;
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 (arg1)->_setCallbackInfo(arg2,arg3);
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 Py_INCREF(Py_None); resultobj = Py_None;
13306 return resultobj;
13307 fail:
13308 return NULL;
13309 }
13310
13311
13312 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13313 PyObject *resultobj;
13314 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13315 PyObject * obj0 = 0 ;
13316 char *kwnames[] = {
13317 (char *) "provider", NULL
13318 };
13319
13320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
13321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 wxPyArtProvider::PushProvider(arg1);
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 Py_INCREF(Py_None); resultobj = Py_None;
13330 return resultobj;
13331 fail:
13332 return NULL;
13333 }
13334
13335
13336 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13337 PyObject *resultobj;
13338 bool result;
13339 char *kwnames[] = {
13340 NULL
13341 };
13342
13343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
13344 {
13345 PyThreadState* __tstate = wxPyBeginAllowThreads();
13346 result = (bool)wxPyArtProvider::PopProvider();
13347
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 resultobj = PyInt_FromLong((long)result);
13352 return resultobj;
13353 fail:
13354 return NULL;
13355 }
13356
13357
13358 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13359 PyObject *resultobj;
13360 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13361 bool result;
13362 PyObject * obj0 = 0 ;
13363 char *kwnames[] = {
13364 (char *) "provider", NULL
13365 };
13366
13367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
13368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 resultobj = PyInt_FromLong((long)result);
13377 return resultobj;
13378 fail:
13379 return NULL;
13380 }
13381
13382
13383 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13384 PyObject *resultobj;
13385 wxString *arg1 = 0 ;
13386 wxString const &arg2_defvalue = wxPyART_OTHER ;
13387 wxString *arg2 = (wxString *) &arg2_defvalue ;
13388 wxSize const &arg3_defvalue = wxDefaultSize ;
13389 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13390 wxBitmap result;
13391 bool temp1 = False ;
13392 bool temp2 = False ;
13393 wxSize temp3 ;
13394 PyObject * obj0 = 0 ;
13395 PyObject * obj1 = 0 ;
13396 PyObject * obj2 = 0 ;
13397 char *kwnames[] = {
13398 (char *) "id",(char *) "client",(char *) "size", NULL
13399 };
13400
13401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13402 {
13403 arg1 = wxString_in_helper(obj0);
13404 if (arg1 == NULL) SWIG_fail;
13405 temp1 = True;
13406 }
13407 if (obj1) {
13408 {
13409 arg2 = wxString_in_helper(obj1);
13410 if (arg2 == NULL) SWIG_fail;
13411 temp2 = True;
13412 }
13413 }
13414 if (obj2) {
13415 {
13416 arg3 = &temp3;
13417 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13418 }
13419 }
13420 {
13421 PyThreadState* __tstate = wxPyBeginAllowThreads();
13422 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13423
13424 wxPyEndAllowThreads(__tstate);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 }
13427 {
13428 wxBitmap * resultptr;
13429 resultptr = new wxBitmap((wxBitmap &) result);
13430 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13431 }
13432 {
13433 if (temp1)
13434 delete arg1;
13435 }
13436 {
13437 if (temp2)
13438 delete arg2;
13439 }
13440 return resultobj;
13441 fail:
13442 {
13443 if (temp1)
13444 delete arg1;
13445 }
13446 {
13447 if (temp2)
13448 delete arg2;
13449 }
13450 return NULL;
13451 }
13452
13453
13454 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13455 PyObject *resultobj;
13456 wxString *arg1 = 0 ;
13457 wxString const &arg2_defvalue = wxPyART_OTHER ;
13458 wxString *arg2 = (wxString *) &arg2_defvalue ;
13459 wxSize const &arg3_defvalue = wxDefaultSize ;
13460 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13461 wxIcon result;
13462 bool temp1 = False ;
13463 bool temp2 = False ;
13464 wxSize temp3 ;
13465 PyObject * obj0 = 0 ;
13466 PyObject * obj1 = 0 ;
13467 PyObject * obj2 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "id",(char *) "client",(char *) "size", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13473 {
13474 arg1 = wxString_in_helper(obj0);
13475 if (arg1 == NULL) SWIG_fail;
13476 temp1 = True;
13477 }
13478 if (obj1) {
13479 {
13480 arg2 = wxString_in_helper(obj1);
13481 if (arg2 == NULL) SWIG_fail;
13482 temp2 = True;
13483 }
13484 }
13485 if (obj2) {
13486 {
13487 arg3 = &temp3;
13488 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13489 }
13490 }
13491 {
13492 PyThreadState* __tstate = wxPyBeginAllowThreads();
13493 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13494
13495 wxPyEndAllowThreads(__tstate);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
13498 {
13499 wxIcon * resultptr;
13500 resultptr = new wxIcon((wxIcon &) result);
13501 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13502 }
13503 {
13504 if (temp1)
13505 delete arg1;
13506 }
13507 {
13508 if (temp2)
13509 delete arg2;
13510 }
13511 return resultobj;
13512 fail:
13513 {
13514 if (temp1)
13515 delete arg1;
13516 }
13517 {
13518 if (temp2)
13519 delete arg2;
13520 }
13521 return NULL;
13522 }
13523
13524
13525 static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
13526 PyObject *resultobj;
13527 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13528 PyObject * obj0 = 0 ;
13529 char *kwnames[] = {
13530 (char *) "self", NULL
13531 };
13532
13533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
13534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13535 {
13536 PyThreadState* __tstate = wxPyBeginAllowThreads();
13537 wxPyArtProvider_Destroy(arg1);
13538
13539 wxPyEndAllowThreads(__tstate);
13540 if (PyErr_Occurred()) SWIG_fail;
13541 }
13542 Py_INCREF(Py_None); resultobj = Py_None;
13543 return resultobj;
13544 fail:
13545 return NULL;
13546 }
13547
13548
13549 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13550 PyObject *obj;
13551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13552 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13553 Py_INCREF(obj);
13554 return Py_BuildValue((char *)"");
13555 }
13556 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13557 PyObject *resultobj;
13558 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13559 PyObject * obj0 = 0 ;
13560 char *kwnames[] = {
13561 (char *) "self", NULL
13562 };
13563
13564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 delete arg1;
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 Py_INCREF(Py_None); resultobj = Py_None;
13574 return resultobj;
13575 fail:
13576 return NULL;
13577 }
13578
13579
13580 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13581 PyObject *resultobj;
13582 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13583 wxConfigBase *result;
13584 PyObject * obj0 = 0 ;
13585 char *kwnames[] = {
13586 (char *) "pConfig", NULL
13587 };
13588
13589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13591 {
13592 PyThreadState* __tstate = wxPyBeginAllowThreads();
13593 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13594
13595 wxPyEndAllowThreads(__tstate);
13596 if (PyErr_Occurred()) SWIG_fail;
13597 }
13598 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13599 return resultobj;
13600 fail:
13601 return NULL;
13602 }
13603
13604
13605 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13606 PyObject *resultobj;
13607 bool arg1 = (bool) True ;
13608 wxConfigBase *result;
13609 PyObject * obj0 = 0 ;
13610 char *kwnames[] = {
13611 (char *) "createOnDemand", NULL
13612 };
13613
13614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13615 if (obj0) {
13616 {
13617 arg1 = (bool) SPyObj_AsBool(obj0);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
13620 }
13621 {
13622 PyThreadState* __tstate = wxPyBeginAllowThreads();
13623 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13624
13625 wxPyEndAllowThreads(__tstate);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
13628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13629 return resultobj;
13630 fail:
13631 return NULL;
13632 }
13633
13634
13635 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13636 PyObject *resultobj;
13637 wxConfigBase *result;
13638 char *kwnames[] = {
13639 NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 result = (wxConfigBase *)wxConfigBase::Create();
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13651 return resultobj;
13652 fail:
13653 return NULL;
13654 }
13655
13656
13657 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 char *kwnames[] = {
13660 NULL
13661 };
13662
13663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 wxConfigBase::DontCreateOnDemand();
13667
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 Py_INCREF(Py_None); resultobj = Py_None;
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj;
13680 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13681 wxString *arg2 = 0 ;
13682 bool temp2 = False ;
13683 PyObject * obj0 = 0 ;
13684 PyObject * obj1 = 0 ;
13685 char *kwnames[] = {
13686 (char *) "self",(char *) "strPath", NULL
13687 };
13688
13689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13691 {
13692 arg2 = wxString_in_helper(obj1);
13693 if (arg2 == NULL) SWIG_fail;
13694 temp2 = True;
13695 }
13696 {
13697 PyThreadState* __tstate = wxPyBeginAllowThreads();
13698 (arg1)->SetPath((wxString const &)*arg2);
13699
13700 wxPyEndAllowThreads(__tstate);
13701 if (PyErr_Occurred()) SWIG_fail;
13702 }
13703 Py_INCREF(Py_None); resultobj = Py_None;
13704 {
13705 if (temp2)
13706 delete arg2;
13707 }
13708 return resultobj;
13709 fail:
13710 {
13711 if (temp2)
13712 delete arg2;
13713 }
13714 return NULL;
13715 }
13716
13717
13718 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13719 PyObject *resultobj;
13720 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13721 wxString *result;
13722 PyObject * obj0 = 0 ;
13723 char *kwnames[] = {
13724 (char *) "self", NULL
13725 };
13726
13727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 {
13732 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13733 result = (wxString *) &_result_ref;
13734 }
13735
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
13739 {
13740 #if wxUSE_UNICODE
13741 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13742 #else
13743 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13744 #endif
13745 }
13746 return resultobj;
13747 fail:
13748 return NULL;
13749 }
13750
13751
13752 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13753 PyObject *resultobj;
13754 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13755 PyObject *result;
13756 PyObject * obj0 = 0 ;
13757 char *kwnames[] = {
13758 (char *) "self", NULL
13759 };
13760
13761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13763 {
13764 PyThreadState* __tstate = wxPyBeginAllowThreads();
13765 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13766
13767 wxPyEndAllowThreads(__tstate);
13768 if (PyErr_Occurred()) SWIG_fail;
13769 }
13770 resultobj = result;
13771 return resultobj;
13772 fail:
13773 return NULL;
13774 }
13775
13776
13777 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13778 PyObject *resultobj;
13779 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13780 long arg2 ;
13781 PyObject *result;
13782 PyObject * obj0 = 0 ;
13783 char *kwnames[] = {
13784 (char *) "self",(char *) "index", NULL
13785 };
13786
13787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13789 {
13790 PyThreadState* __tstate = wxPyBeginAllowThreads();
13791 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13792
13793 wxPyEndAllowThreads(__tstate);
13794 if (PyErr_Occurred()) SWIG_fail;
13795 }
13796 resultobj = result;
13797 return resultobj;
13798 fail:
13799 return NULL;
13800 }
13801
13802
13803 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13804 PyObject *resultobj;
13805 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13806 PyObject *result;
13807 PyObject * obj0 = 0 ;
13808 char *kwnames[] = {
13809 (char *) "self", NULL
13810 };
13811
13812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13814 {
13815 PyThreadState* __tstate = wxPyBeginAllowThreads();
13816 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13817
13818 wxPyEndAllowThreads(__tstate);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 resultobj = result;
13822 return resultobj;
13823 fail:
13824 return NULL;
13825 }
13826
13827
13828 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13829 PyObject *resultobj;
13830 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13831 long arg2 ;
13832 PyObject *result;
13833 PyObject * obj0 = 0 ;
13834 char *kwnames[] = {
13835 (char *) "self",(char *) "index", NULL
13836 };
13837
13838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13843
13844 wxPyEndAllowThreads(__tstate);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 resultobj = result;
13848 return resultobj;
13849 fail:
13850 return NULL;
13851 }
13852
13853
13854 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13855 PyObject *resultobj;
13856 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13857 bool arg2 = (bool) False ;
13858 size_t result;
13859 PyObject * obj0 = 0 ;
13860 PyObject * obj1 = 0 ;
13861 char *kwnames[] = {
13862 (char *) "self",(char *) "bRecursive", NULL
13863 };
13864
13865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13867 if (obj1) {
13868 {
13869 arg2 = (bool) SPyObj_AsBool(obj1);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 }
13873 {
13874 PyThreadState* __tstate = wxPyBeginAllowThreads();
13875 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13876
13877 wxPyEndAllowThreads(__tstate);
13878 if (PyErr_Occurred()) SWIG_fail;
13879 }
13880 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
13881 return resultobj;
13882 fail:
13883 return NULL;
13884 }
13885
13886
13887 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13888 PyObject *resultobj;
13889 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13890 bool arg2 = (bool) False ;
13891 size_t result;
13892 PyObject * obj0 = 0 ;
13893 PyObject * obj1 = 0 ;
13894 char *kwnames[] = {
13895 (char *) "self",(char *) "bRecursive", NULL
13896 };
13897
13898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13900 if (obj1) {
13901 {
13902 arg2 = (bool) SPyObj_AsBool(obj1);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 }
13906 {
13907 PyThreadState* __tstate = wxPyBeginAllowThreads();
13908 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13909
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
13914 return resultobj;
13915 fail:
13916 return NULL;
13917 }
13918
13919
13920 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj;
13922 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13923 wxString *arg2 = 0 ;
13924 bool result;
13925 bool temp2 = False ;
13926 PyObject * obj0 = 0 ;
13927 PyObject * obj1 = 0 ;
13928 char *kwnames[] = {
13929 (char *) "self",(char *) "strName", NULL
13930 };
13931
13932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13934 {
13935 arg2 = wxString_in_helper(obj1);
13936 if (arg2 == NULL) SWIG_fail;
13937 temp2 = True;
13938 }
13939 {
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13942
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 resultobj = PyInt_FromLong((long)result);
13947 {
13948 if (temp2)
13949 delete arg2;
13950 }
13951 return resultobj;
13952 fail:
13953 {
13954 if (temp2)
13955 delete arg2;
13956 }
13957 return NULL;
13958 }
13959
13960
13961 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13962 PyObject *resultobj;
13963 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13964 wxString *arg2 = 0 ;
13965 bool result;
13966 bool temp2 = False ;
13967 PyObject * obj0 = 0 ;
13968 PyObject * obj1 = 0 ;
13969 char *kwnames[] = {
13970 (char *) "self",(char *) "strName", NULL
13971 };
13972
13973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13975 {
13976 arg2 = wxString_in_helper(obj1);
13977 if (arg2 == NULL) SWIG_fail;
13978 temp2 = True;
13979 }
13980 {
13981 PyThreadState* __tstate = wxPyBeginAllowThreads();
13982 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13983
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
13987 resultobj = PyInt_FromLong((long)result);
13988 {
13989 if (temp2)
13990 delete arg2;
13991 }
13992 return resultobj;
13993 fail:
13994 {
13995 if (temp2)
13996 delete arg2;
13997 }
13998 return NULL;
13999 }
14000
14001
14002 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
14003 PyObject *resultobj;
14004 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14005 wxString *arg2 = 0 ;
14006 bool result;
14007 bool temp2 = False ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "self",(char *) "strName", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
14015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14016 {
14017 arg2 = wxString_in_helper(obj1);
14018 if (arg2 == NULL) SWIG_fail;
14019 temp2 = True;
14020 }
14021 {
14022 PyThreadState* __tstate = wxPyBeginAllowThreads();
14023 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
14024
14025 wxPyEndAllowThreads(__tstate);
14026 if (PyErr_Occurred()) SWIG_fail;
14027 }
14028 resultobj = PyInt_FromLong((long)result);
14029 {
14030 if (temp2)
14031 delete arg2;
14032 }
14033 return resultobj;
14034 fail:
14035 {
14036 if (temp2)
14037 delete arg2;
14038 }
14039 return NULL;
14040 }
14041
14042
14043 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
14044 PyObject *resultobj;
14045 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14046 wxString *arg2 = 0 ;
14047 int result;
14048 bool temp2 = False ;
14049 PyObject * obj0 = 0 ;
14050 PyObject * obj1 = 0 ;
14051 char *kwnames[] = {
14052 (char *) "self",(char *) "name", NULL
14053 };
14054
14055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
14056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14057 {
14058 arg2 = wxString_in_helper(obj1);
14059 if (arg2 == NULL) SWIG_fail;
14060 temp2 = True;
14061 }
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
14065
14066 wxPyEndAllowThreads(__tstate);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 resultobj = PyInt_FromLong((long)result);
14070 {
14071 if (temp2)
14072 delete arg2;
14073 }
14074 return resultobj;
14075 fail:
14076 {
14077 if (temp2)
14078 delete arg2;
14079 }
14080 return NULL;
14081 }
14082
14083
14084 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
14085 PyObject *resultobj;
14086 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14087 wxString *arg2 = 0 ;
14088 wxString const &arg3_defvalue = wxPyEmptyString ;
14089 wxString *arg3 = (wxString *) &arg3_defvalue ;
14090 wxString result;
14091 bool temp2 = False ;
14092 bool temp3 = False ;
14093 PyObject * obj0 = 0 ;
14094 PyObject * obj1 = 0 ;
14095 PyObject * obj2 = 0 ;
14096 char *kwnames[] = {
14097 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14098 };
14099
14100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
14101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14102 {
14103 arg2 = wxString_in_helper(obj1);
14104 if (arg2 == NULL) SWIG_fail;
14105 temp2 = True;
14106 }
14107 if (obj2) {
14108 {
14109 arg3 = wxString_in_helper(obj2);
14110 if (arg3 == NULL) SWIG_fail;
14111 temp3 = True;
14112 }
14113 }
14114 {
14115 PyThreadState* __tstate = wxPyBeginAllowThreads();
14116 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
14117
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
14121 {
14122 #if wxUSE_UNICODE
14123 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14124 #else
14125 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14126 #endif
14127 }
14128 {
14129 if (temp2)
14130 delete arg2;
14131 }
14132 {
14133 if (temp3)
14134 delete arg3;
14135 }
14136 return resultobj;
14137 fail:
14138 {
14139 if (temp2)
14140 delete arg2;
14141 }
14142 {
14143 if (temp3)
14144 delete arg3;
14145 }
14146 return NULL;
14147 }
14148
14149
14150 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14151 PyObject *resultobj;
14152 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14153 wxString *arg2 = 0 ;
14154 long arg3 = (long) 0 ;
14155 long result;
14156 bool temp2 = False ;
14157 PyObject * obj0 = 0 ;
14158 PyObject * obj1 = 0 ;
14159 char *kwnames[] = {
14160 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14161 };
14162
14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
14164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14165 {
14166 arg2 = wxString_in_helper(obj1);
14167 if (arg2 == NULL) SWIG_fail;
14168 temp2 = True;
14169 }
14170 {
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
14172 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
14173
14174 wxPyEndAllowThreads(__tstate);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 resultobj = PyInt_FromLong((long)result);
14178 {
14179 if (temp2)
14180 delete arg2;
14181 }
14182 return resultobj;
14183 fail:
14184 {
14185 if (temp2)
14186 delete arg2;
14187 }
14188 return NULL;
14189 }
14190
14191
14192 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14193 PyObject *resultobj;
14194 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14195 wxString *arg2 = 0 ;
14196 double arg3 = (double) 0.0 ;
14197 double result;
14198 bool temp2 = False ;
14199 PyObject * obj0 = 0 ;
14200 PyObject * obj1 = 0 ;
14201 char *kwnames[] = {
14202 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14203 };
14204
14205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
14206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14207 {
14208 arg2 = wxString_in_helper(obj1);
14209 if (arg2 == NULL) SWIG_fail;
14210 temp2 = True;
14211 }
14212 {
14213 PyThreadState* __tstate = wxPyBeginAllowThreads();
14214 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
14215
14216 wxPyEndAllowThreads(__tstate);
14217 if (PyErr_Occurred()) SWIG_fail;
14218 }
14219 resultobj = PyFloat_FromDouble(result);
14220 {
14221 if (temp2)
14222 delete arg2;
14223 }
14224 return resultobj;
14225 fail:
14226 {
14227 if (temp2)
14228 delete arg2;
14229 }
14230 return NULL;
14231 }
14232
14233
14234 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14235 PyObject *resultobj;
14236 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14237 wxString *arg2 = 0 ;
14238 bool arg3 = (bool) False ;
14239 bool result;
14240 bool temp2 = False ;
14241 PyObject * obj0 = 0 ;
14242 PyObject * obj1 = 0 ;
14243 PyObject * obj2 = 0 ;
14244 char *kwnames[] = {
14245 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14246 };
14247
14248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14250 {
14251 arg2 = wxString_in_helper(obj1);
14252 if (arg2 == NULL) SWIG_fail;
14253 temp2 = True;
14254 }
14255 if (obj2) {
14256 {
14257 arg3 = (bool) SPyObj_AsBool(obj2);
14258 if (PyErr_Occurred()) SWIG_fail;
14259 }
14260 }
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
14264
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 resultobj = PyInt_FromLong((long)result);
14269 {
14270 if (temp2)
14271 delete arg2;
14272 }
14273 return resultobj;
14274 fail:
14275 {
14276 if (temp2)
14277 delete arg2;
14278 }
14279 return NULL;
14280 }
14281
14282
14283 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj;
14285 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14286 wxString *arg2 = 0 ;
14287 wxString *arg3 = 0 ;
14288 bool result;
14289 bool temp2 = False ;
14290 bool temp3 = False ;
14291 PyObject * obj0 = 0 ;
14292 PyObject * obj1 = 0 ;
14293 PyObject * obj2 = 0 ;
14294 char *kwnames[] = {
14295 (char *) "self",(char *) "key",(char *) "value", NULL
14296 };
14297
14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
14299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14300 {
14301 arg2 = wxString_in_helper(obj1);
14302 if (arg2 == NULL) SWIG_fail;
14303 temp2 = True;
14304 }
14305 {
14306 arg3 = wxString_in_helper(obj2);
14307 if (arg3 == NULL) SWIG_fail;
14308 temp3 = True;
14309 }
14310 {
14311 PyThreadState* __tstate = wxPyBeginAllowThreads();
14312 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
14313
14314 wxPyEndAllowThreads(__tstate);
14315 if (PyErr_Occurred()) SWIG_fail;
14316 }
14317 resultobj = PyInt_FromLong((long)result);
14318 {
14319 if (temp2)
14320 delete arg2;
14321 }
14322 {
14323 if (temp3)
14324 delete arg3;
14325 }
14326 return resultobj;
14327 fail:
14328 {
14329 if (temp2)
14330 delete arg2;
14331 }
14332 {
14333 if (temp3)
14334 delete arg3;
14335 }
14336 return NULL;
14337 }
14338
14339
14340 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14341 PyObject *resultobj;
14342 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14343 wxString *arg2 = 0 ;
14344 long arg3 ;
14345 bool result;
14346 bool temp2 = False ;
14347 PyObject * obj0 = 0 ;
14348 PyObject * obj1 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self",(char *) "key",(char *) "value", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
14354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14355 {
14356 arg2 = wxString_in_helper(obj1);
14357 if (arg2 == NULL) SWIG_fail;
14358 temp2 = True;
14359 }
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 resultobj = PyInt_FromLong((long)result);
14368 {
14369 if (temp2)
14370 delete arg2;
14371 }
14372 return resultobj;
14373 fail:
14374 {
14375 if (temp2)
14376 delete arg2;
14377 }
14378 return NULL;
14379 }
14380
14381
14382 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14383 PyObject *resultobj;
14384 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14385 wxString *arg2 = 0 ;
14386 double arg3 ;
14387 bool result;
14388 bool temp2 = False ;
14389 PyObject * obj0 = 0 ;
14390 PyObject * obj1 = 0 ;
14391 char *kwnames[] = {
14392 (char *) "self",(char *) "key",(char *) "value", NULL
14393 };
14394
14395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
14396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14397 {
14398 arg2 = wxString_in_helper(obj1);
14399 if (arg2 == NULL) SWIG_fail;
14400 temp2 = True;
14401 }
14402 {
14403 PyThreadState* __tstate = wxPyBeginAllowThreads();
14404 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14405
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 resultobj = PyInt_FromLong((long)result);
14410 {
14411 if (temp2)
14412 delete arg2;
14413 }
14414 return resultobj;
14415 fail:
14416 {
14417 if (temp2)
14418 delete arg2;
14419 }
14420 return NULL;
14421 }
14422
14423
14424 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14425 PyObject *resultobj;
14426 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14427 wxString *arg2 = 0 ;
14428 bool arg3 ;
14429 bool result;
14430 bool temp2 = False ;
14431 PyObject * obj0 = 0 ;
14432 PyObject * obj1 = 0 ;
14433 PyObject * obj2 = 0 ;
14434 char *kwnames[] = {
14435 (char *) "self",(char *) "key",(char *) "value", NULL
14436 };
14437
14438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14440 {
14441 arg2 = wxString_in_helper(obj1);
14442 if (arg2 == NULL) SWIG_fail;
14443 temp2 = True;
14444 }
14445 {
14446 arg3 = (bool) SPyObj_AsBool(obj2);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 {
14450 PyThreadState* __tstate = wxPyBeginAllowThreads();
14451 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14452
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 resultobj = PyInt_FromLong((long)result);
14457 {
14458 if (temp2)
14459 delete arg2;
14460 }
14461 return resultobj;
14462 fail:
14463 {
14464 if (temp2)
14465 delete arg2;
14466 }
14467 return NULL;
14468 }
14469
14470
14471 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14472 PyObject *resultobj;
14473 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14474 bool arg2 = (bool) False ;
14475 bool result;
14476 PyObject * obj0 = 0 ;
14477 PyObject * obj1 = 0 ;
14478 char *kwnames[] = {
14479 (char *) "self",(char *) "bCurrentOnly", NULL
14480 };
14481
14482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14484 if (obj1) {
14485 {
14486 arg2 = (bool) SPyObj_AsBool(obj1);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 }
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 result = (bool)(arg1)->Flush(arg2);
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 resultobj = PyInt_FromLong((long)result);
14498 return resultobj;
14499 fail:
14500 return NULL;
14501 }
14502
14503
14504 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14505 PyObject *resultobj;
14506 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14507 wxString *arg2 = 0 ;
14508 wxString *arg3 = 0 ;
14509 bool result;
14510 bool temp2 = False ;
14511 bool temp3 = False ;
14512 PyObject * obj0 = 0 ;
14513 PyObject * obj1 = 0 ;
14514 PyObject * obj2 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14521 {
14522 arg2 = wxString_in_helper(obj1);
14523 if (arg2 == NULL) SWIG_fail;
14524 temp2 = True;
14525 }
14526 {
14527 arg3 = wxString_in_helper(obj2);
14528 if (arg3 == NULL) SWIG_fail;
14529 temp3 = True;
14530 }
14531 {
14532 PyThreadState* __tstate = wxPyBeginAllowThreads();
14533 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14534
14535 wxPyEndAllowThreads(__tstate);
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
14538 resultobj = PyInt_FromLong((long)result);
14539 {
14540 if (temp2)
14541 delete arg2;
14542 }
14543 {
14544 if (temp3)
14545 delete arg3;
14546 }
14547 return resultobj;
14548 fail:
14549 {
14550 if (temp2)
14551 delete arg2;
14552 }
14553 {
14554 if (temp3)
14555 delete arg3;
14556 }
14557 return NULL;
14558 }
14559
14560
14561 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14562 PyObject *resultobj;
14563 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14564 wxString *arg2 = 0 ;
14565 wxString *arg3 = 0 ;
14566 bool result;
14567 bool temp2 = False ;
14568 bool temp3 = False ;
14569 PyObject * obj0 = 0 ;
14570 PyObject * obj1 = 0 ;
14571 PyObject * obj2 = 0 ;
14572 char *kwnames[] = {
14573 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14574 };
14575
14576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14578 {
14579 arg2 = wxString_in_helper(obj1);
14580 if (arg2 == NULL) SWIG_fail;
14581 temp2 = True;
14582 }
14583 {
14584 arg3 = wxString_in_helper(obj2);
14585 if (arg3 == NULL) SWIG_fail;
14586 temp3 = True;
14587 }
14588 {
14589 PyThreadState* __tstate = wxPyBeginAllowThreads();
14590 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14591
14592 wxPyEndAllowThreads(__tstate);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 }
14595 resultobj = PyInt_FromLong((long)result);
14596 {
14597 if (temp2)
14598 delete arg2;
14599 }
14600 {
14601 if (temp3)
14602 delete arg3;
14603 }
14604 return resultobj;
14605 fail:
14606 {
14607 if (temp2)
14608 delete arg2;
14609 }
14610 {
14611 if (temp3)
14612 delete arg3;
14613 }
14614 return NULL;
14615 }
14616
14617
14618 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj;
14620 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14621 wxString *arg2 = 0 ;
14622 bool arg3 = (bool) True ;
14623 bool result;
14624 bool temp2 = False ;
14625 PyObject * obj0 = 0 ;
14626 PyObject * obj1 = 0 ;
14627 PyObject * obj2 = 0 ;
14628 char *kwnames[] = {
14629 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14630 };
14631
14632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14634 {
14635 arg2 = wxString_in_helper(obj1);
14636 if (arg2 == NULL) SWIG_fail;
14637 temp2 = True;
14638 }
14639 if (obj2) {
14640 {
14641 arg3 = (bool) SPyObj_AsBool(obj2);
14642 if (PyErr_Occurred()) SWIG_fail;
14643 }
14644 }
14645 {
14646 PyThreadState* __tstate = wxPyBeginAllowThreads();
14647 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14648
14649 wxPyEndAllowThreads(__tstate);
14650 if (PyErr_Occurred()) SWIG_fail;
14651 }
14652 resultobj = PyInt_FromLong((long)result);
14653 {
14654 if (temp2)
14655 delete arg2;
14656 }
14657 return resultobj;
14658 fail:
14659 {
14660 if (temp2)
14661 delete arg2;
14662 }
14663 return NULL;
14664 }
14665
14666
14667 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14668 PyObject *resultobj;
14669 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14670 wxString *arg2 = 0 ;
14671 bool result;
14672 bool temp2 = False ;
14673 PyObject * obj0 = 0 ;
14674 PyObject * obj1 = 0 ;
14675 char *kwnames[] = {
14676 (char *) "self",(char *) "key", NULL
14677 };
14678
14679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14681 {
14682 arg2 = wxString_in_helper(obj1);
14683 if (arg2 == NULL) SWIG_fail;
14684 temp2 = True;
14685 }
14686 {
14687 PyThreadState* __tstate = wxPyBeginAllowThreads();
14688 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14689
14690 wxPyEndAllowThreads(__tstate);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 }
14693 resultobj = PyInt_FromLong((long)result);
14694 {
14695 if (temp2)
14696 delete arg2;
14697 }
14698 return resultobj;
14699 fail:
14700 {
14701 if (temp2)
14702 delete arg2;
14703 }
14704 return NULL;
14705 }
14706
14707
14708 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14709 PyObject *resultobj;
14710 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14711 bool result;
14712 PyObject * obj0 = 0 ;
14713 char *kwnames[] = {
14714 (char *) "self", NULL
14715 };
14716
14717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 result = (bool)(arg1)->DeleteAll();
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 resultobj = PyInt_FromLong((long)result);
14727 return resultobj;
14728 fail:
14729 return NULL;
14730 }
14731
14732
14733 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14734 PyObject *resultobj;
14735 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14736 bool result;
14737 PyObject * obj0 = 0 ;
14738 char *kwnames[] = {
14739 (char *) "self", NULL
14740 };
14741
14742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14744 {
14745 PyThreadState* __tstate = wxPyBeginAllowThreads();
14746 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14747
14748 wxPyEndAllowThreads(__tstate);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
14751 resultobj = PyInt_FromLong((long)result);
14752 return resultobj;
14753 fail:
14754 return NULL;
14755 }
14756
14757
14758 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14759 PyObject *resultobj;
14760 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14761 bool arg2 = (bool) True ;
14762 PyObject * obj0 = 0 ;
14763 PyObject * obj1 = 0 ;
14764 char *kwnames[] = {
14765 (char *) "self",(char *) "bDoIt", NULL
14766 };
14767
14768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14770 if (obj1) {
14771 {
14772 arg2 = (bool) SPyObj_AsBool(obj1);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
14775 }
14776 {
14777 PyThreadState* __tstate = wxPyBeginAllowThreads();
14778 (arg1)->SetExpandEnvVars(arg2);
14779
14780 wxPyEndAllowThreads(__tstate);
14781 if (PyErr_Occurred()) SWIG_fail;
14782 }
14783 Py_INCREF(Py_None); resultobj = Py_None;
14784 return resultobj;
14785 fail:
14786 return NULL;
14787 }
14788
14789
14790 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14791 PyObject *resultobj;
14792 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14793 bool arg2 = (bool) True ;
14794 PyObject * obj0 = 0 ;
14795 PyObject * obj1 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self",(char *) "bDoIt", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14802 if (obj1) {
14803 {
14804 arg2 = (bool) SPyObj_AsBool(obj1);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 }
14807 }
14808 {
14809 PyThreadState* __tstate = wxPyBeginAllowThreads();
14810 (arg1)->SetRecordDefaults(arg2);
14811
14812 wxPyEndAllowThreads(__tstate);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 Py_INCREF(Py_None); resultobj = Py_None;
14816 return resultobj;
14817 fail:
14818 return NULL;
14819 }
14820
14821
14822 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14823 PyObject *resultobj;
14824 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14825 bool result;
14826 PyObject * obj0 = 0 ;
14827 char *kwnames[] = {
14828 (char *) "self", NULL
14829 };
14830
14831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14833 {
14834 PyThreadState* __tstate = wxPyBeginAllowThreads();
14835 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14836
14837 wxPyEndAllowThreads(__tstate);
14838 if (PyErr_Occurred()) SWIG_fail;
14839 }
14840 resultobj = PyInt_FromLong((long)result);
14841 return resultobj;
14842 fail:
14843 return NULL;
14844 }
14845
14846
14847 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14848 PyObject *resultobj;
14849 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14850 wxString *arg2 = 0 ;
14851 wxString result;
14852 bool temp2 = False ;
14853 PyObject * obj0 = 0 ;
14854 PyObject * obj1 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self",(char *) "str", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14861 {
14862 arg2 = wxString_in_helper(obj1);
14863 if (arg2 == NULL) SWIG_fail;
14864 temp2 = True;
14865 }
14866 {
14867 PyThreadState* __tstate = wxPyBeginAllowThreads();
14868 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14869
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 {
14874 #if wxUSE_UNICODE
14875 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14876 #else
14877 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14878 #endif
14879 }
14880 {
14881 if (temp2)
14882 delete arg2;
14883 }
14884 return resultobj;
14885 fail:
14886 {
14887 if (temp2)
14888 delete arg2;
14889 }
14890 return NULL;
14891 }
14892
14893
14894 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14895 PyObject *resultobj;
14896 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14897 wxString result;
14898 PyObject * obj0 = 0 ;
14899 char *kwnames[] = {
14900 (char *) "self", NULL
14901 };
14902
14903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 result = ((wxConfigBase const *)arg1)->GetAppName();
14908
14909 wxPyEndAllowThreads(__tstate);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 {
14913 #if wxUSE_UNICODE
14914 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14915 #else
14916 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14917 #endif
14918 }
14919 return resultobj;
14920 fail:
14921 return NULL;
14922 }
14923
14924
14925 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14926 PyObject *resultobj;
14927 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14928 wxString result;
14929 PyObject * obj0 = 0 ;
14930 char *kwnames[] = {
14931 (char *) "self", NULL
14932 };
14933
14934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 result = ((wxConfigBase const *)arg1)->GetVendorName();
14939
14940 wxPyEndAllowThreads(__tstate);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 }
14943 {
14944 #if wxUSE_UNICODE
14945 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14946 #else
14947 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14948 #endif
14949 }
14950 return resultobj;
14951 fail:
14952 return NULL;
14953 }
14954
14955
14956 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj;
14958 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14959 wxString *arg2 = 0 ;
14960 bool temp2 = False ;
14961 PyObject * obj0 = 0 ;
14962 PyObject * obj1 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self",(char *) "appName", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14969 {
14970 arg2 = wxString_in_helper(obj1);
14971 if (arg2 == NULL) SWIG_fail;
14972 temp2 = True;
14973 }
14974 {
14975 PyThreadState* __tstate = wxPyBeginAllowThreads();
14976 (arg1)->SetAppName((wxString const &)*arg2);
14977
14978 wxPyEndAllowThreads(__tstate);
14979 if (PyErr_Occurred()) SWIG_fail;
14980 }
14981 Py_INCREF(Py_None); resultobj = Py_None;
14982 {
14983 if (temp2)
14984 delete arg2;
14985 }
14986 return resultobj;
14987 fail:
14988 {
14989 if (temp2)
14990 delete arg2;
14991 }
14992 return NULL;
14993 }
14994
14995
14996 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14999 wxString *arg2 = 0 ;
15000 bool temp2 = False ;
15001 PyObject * obj0 = 0 ;
15002 PyObject * obj1 = 0 ;
15003 char *kwnames[] = {
15004 (char *) "self",(char *) "vendorName", NULL
15005 };
15006
15007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15009 {
15010 arg2 = wxString_in_helper(obj1);
15011 if (arg2 == NULL) SWIG_fail;
15012 temp2 = True;
15013 }
15014 {
15015 PyThreadState* __tstate = wxPyBeginAllowThreads();
15016 (arg1)->SetVendorName((wxString const &)*arg2);
15017
15018 wxPyEndAllowThreads(__tstate);
15019 if (PyErr_Occurred()) SWIG_fail;
15020 }
15021 Py_INCREF(Py_None); resultobj = Py_None;
15022 {
15023 if (temp2)
15024 delete arg2;
15025 }
15026 return resultobj;
15027 fail:
15028 {
15029 if (temp2)
15030 delete arg2;
15031 }
15032 return NULL;
15033 }
15034
15035
15036 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15039 long arg2 ;
15040 PyObject * obj0 = 0 ;
15041 char *kwnames[] = {
15042 (char *) "self",(char *) "style", NULL
15043 };
15044
15045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
15046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15047 {
15048 PyThreadState* __tstate = wxPyBeginAllowThreads();
15049 (arg1)->SetStyle(arg2);
15050
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 Py_INCREF(Py_None); resultobj = Py_None;
15055 return resultobj;
15056 fail:
15057 return NULL;
15058 }
15059
15060
15061 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15062 PyObject *resultobj;
15063 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15064 long result;
15065 PyObject * obj0 = 0 ;
15066 char *kwnames[] = {
15067 (char *) "self", NULL
15068 };
15069
15070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
15071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (long)((wxConfigBase const *)arg1)->GetStyle();
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 resultobj = PyInt_FromLong((long)result);
15080 return resultobj;
15081 fail:
15082 return NULL;
15083 }
15084
15085
15086 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
15087 PyObject *obj;
15088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15089 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
15090 Py_INCREF(obj);
15091 return Py_BuildValue((char *)"");
15092 }
15093 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj;
15095 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15096 wxString *arg2 = 0 ;
15097 wxConfigPathChanger *result;
15098 bool temp2 = False ;
15099 PyObject * obj0 = 0 ;
15100 PyObject * obj1 = 0 ;
15101 char *kwnames[] = {
15102 (char *) "pContainer",(char *) "strEntry", NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
15106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15107 {
15108 arg2 = wxString_in_helper(obj1);
15109 if (arg2 == NULL) SWIG_fail;
15110 temp2 = True;
15111 }
15112 {
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
15120 {
15121 if (temp2)
15122 delete arg2;
15123 }
15124 return resultobj;
15125 fail:
15126 {
15127 if (temp2)
15128 delete arg2;
15129 }
15130 return NULL;
15131 }
15132
15133
15134 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
15135 PyObject *resultobj;
15136 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
15137 PyObject * obj0 = 0 ;
15138 char *kwnames[] = {
15139 (char *) "self", NULL
15140 };
15141
15142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
15143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15144 {
15145 PyThreadState* __tstate = wxPyBeginAllowThreads();
15146 delete arg1;
15147
15148 wxPyEndAllowThreads(__tstate);
15149 if (PyErr_Occurred()) SWIG_fail;
15150 }
15151 Py_INCREF(Py_None); resultobj = Py_None;
15152 return resultobj;
15153 fail:
15154 return NULL;
15155 }
15156
15157
15158 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
15161 wxString *result;
15162 PyObject * obj0 = 0 ;
15163 char *kwnames[] = {
15164 (char *) "self", NULL
15165 };
15166
15167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
15168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 {
15172 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
15173 result = (wxString *) &_result_ref;
15174 }
15175
15176 wxPyEndAllowThreads(__tstate);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 }
15179 {
15180 #if wxUSE_UNICODE
15181 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15182 #else
15183 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15184 #endif
15185 }
15186 return resultobj;
15187 fail:
15188 return NULL;
15189 }
15190
15191
15192 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
15193 PyObject *obj;
15194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15195 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
15196 Py_INCREF(obj);
15197 return Py_BuildValue((char *)"");
15198 }
15199 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15200 PyObject *resultobj;
15201 wxString const &arg1_defvalue = wxPyEmptyString ;
15202 wxString *arg1 = (wxString *) &arg1_defvalue ;
15203 wxString const &arg2_defvalue = wxPyEmptyString ;
15204 wxString *arg2 = (wxString *) &arg2_defvalue ;
15205 wxString const &arg3_defvalue = wxPyEmptyString ;
15206 wxString *arg3 = (wxString *) &arg3_defvalue ;
15207 wxString const &arg4_defvalue = wxPyEmptyString ;
15208 wxString *arg4 = (wxString *) &arg4_defvalue ;
15209 long arg5 = (long) 0 ;
15210 wxConfig *result;
15211 bool temp1 = False ;
15212 bool temp2 = False ;
15213 bool temp3 = False ;
15214 bool temp4 = False ;
15215 PyObject * obj0 = 0 ;
15216 PyObject * obj1 = 0 ;
15217 PyObject * obj2 = 0 ;
15218 PyObject * obj3 = 0 ;
15219 char *kwnames[] = {
15220 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15221 };
15222
15223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
15224 if (obj0) {
15225 {
15226 arg1 = wxString_in_helper(obj0);
15227 if (arg1 == NULL) SWIG_fail;
15228 temp1 = True;
15229 }
15230 }
15231 if (obj1) {
15232 {
15233 arg2 = wxString_in_helper(obj1);
15234 if (arg2 == NULL) SWIG_fail;
15235 temp2 = True;
15236 }
15237 }
15238 if (obj2) {
15239 {
15240 arg3 = wxString_in_helper(obj2);
15241 if (arg3 == NULL) SWIG_fail;
15242 temp3 = True;
15243 }
15244 }
15245 if (obj3) {
15246 {
15247 arg4 = wxString_in_helper(obj3);
15248 if (arg4 == NULL) SWIG_fail;
15249 temp4 = True;
15250 }
15251 }
15252 {
15253 PyThreadState* __tstate = wxPyBeginAllowThreads();
15254 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15255
15256 wxPyEndAllowThreads(__tstate);
15257 if (PyErr_Occurred()) SWIG_fail;
15258 }
15259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
15260 {
15261 if (temp1)
15262 delete arg1;
15263 }
15264 {
15265 if (temp2)
15266 delete arg2;
15267 }
15268 {
15269 if (temp3)
15270 delete arg3;
15271 }
15272 {
15273 if (temp4)
15274 delete arg4;
15275 }
15276 return resultobj;
15277 fail:
15278 {
15279 if (temp1)
15280 delete arg1;
15281 }
15282 {
15283 if (temp2)
15284 delete arg2;
15285 }
15286 {
15287 if (temp3)
15288 delete arg3;
15289 }
15290 {
15291 if (temp4)
15292 delete arg4;
15293 }
15294 return NULL;
15295 }
15296
15297
15298 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15299 PyObject *resultobj;
15300 wxConfig *arg1 = (wxConfig *) 0 ;
15301 PyObject * obj0 = 0 ;
15302 char *kwnames[] = {
15303 (char *) "self", NULL
15304 };
15305
15306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
15307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 delete arg1;
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 Py_INCREF(Py_None); resultobj = Py_None;
15316 return resultobj;
15317 fail:
15318 return NULL;
15319 }
15320
15321
15322 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
15323 PyObject *obj;
15324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15325 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
15326 Py_INCREF(obj);
15327 return Py_BuildValue((char *)"");
15328 }
15329 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15330 PyObject *resultobj;
15331 wxString const &arg1_defvalue = wxPyEmptyString ;
15332 wxString *arg1 = (wxString *) &arg1_defvalue ;
15333 wxString const &arg2_defvalue = wxPyEmptyString ;
15334 wxString *arg2 = (wxString *) &arg2_defvalue ;
15335 wxString const &arg3_defvalue = wxPyEmptyString ;
15336 wxString *arg3 = (wxString *) &arg3_defvalue ;
15337 wxString const &arg4_defvalue = wxPyEmptyString ;
15338 wxString *arg4 = (wxString *) &arg4_defvalue ;
15339 long arg5 = (long) 0 ;
15340 wxFileConfig *result;
15341 bool temp1 = False ;
15342 bool temp2 = False ;
15343 bool temp3 = False ;
15344 bool temp4 = False ;
15345 PyObject * obj0 = 0 ;
15346 PyObject * obj1 = 0 ;
15347 PyObject * obj2 = 0 ;
15348 PyObject * obj3 = 0 ;
15349 char *kwnames[] = {
15350 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15351 };
15352
15353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
15354 if (obj0) {
15355 {
15356 arg1 = wxString_in_helper(obj0);
15357 if (arg1 == NULL) SWIG_fail;
15358 temp1 = True;
15359 }
15360 }
15361 if (obj1) {
15362 {
15363 arg2 = wxString_in_helper(obj1);
15364 if (arg2 == NULL) SWIG_fail;
15365 temp2 = True;
15366 }
15367 }
15368 if (obj2) {
15369 {
15370 arg3 = wxString_in_helper(obj2);
15371 if (arg3 == NULL) SWIG_fail;
15372 temp3 = True;
15373 }
15374 }
15375 if (obj3) {
15376 {
15377 arg4 = wxString_in_helper(obj3);
15378 if (arg4 == NULL) SWIG_fail;
15379 temp4 = True;
15380 }
15381 }
15382 {
15383 PyThreadState* __tstate = wxPyBeginAllowThreads();
15384 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15385
15386 wxPyEndAllowThreads(__tstate);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
15389 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
15390 {
15391 if (temp1)
15392 delete arg1;
15393 }
15394 {
15395 if (temp2)
15396 delete arg2;
15397 }
15398 {
15399 if (temp3)
15400 delete arg3;
15401 }
15402 {
15403 if (temp4)
15404 delete arg4;
15405 }
15406 return resultobj;
15407 fail:
15408 {
15409 if (temp1)
15410 delete arg1;
15411 }
15412 {
15413 if (temp2)
15414 delete arg2;
15415 }
15416 {
15417 if (temp3)
15418 delete arg3;
15419 }
15420 {
15421 if (temp4)
15422 delete arg4;
15423 }
15424 return NULL;
15425 }
15426
15427
15428 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15429 PyObject *resultobj;
15430 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15431 PyObject * obj0 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15438 {
15439 PyThreadState* __tstate = wxPyBeginAllowThreads();
15440 delete arg1;
15441
15442 wxPyEndAllowThreads(__tstate);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 }
15445 Py_INCREF(Py_None); resultobj = Py_None;
15446 return resultobj;
15447 fail:
15448 return NULL;
15449 }
15450
15451
15452 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15453 PyObject *obj;
15454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15455 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15456 Py_INCREF(obj);
15457 return Py_BuildValue((char *)"");
15458 }
15459 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxString *arg1 = 0 ;
15462 wxString result;
15463 bool temp1 = False ;
15464 PyObject * obj0 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "sz", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15470 {
15471 arg1 = wxString_in_helper(obj0);
15472 if (arg1 == NULL) SWIG_fail;
15473 temp1 = True;
15474 }
15475 {
15476 PyThreadState* __tstate = wxPyBeginAllowThreads();
15477 result = wxExpandEnvVars((wxString const &)*arg1);
15478
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 {
15483 #if wxUSE_UNICODE
15484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15485 #else
15486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15487 #endif
15488 }
15489 {
15490 if (temp1)
15491 delete arg1;
15492 }
15493 return resultobj;
15494 fail:
15495 {
15496 if (temp1)
15497 delete arg1;
15498 }
15499 return NULL;
15500 }
15501
15502
15503 static int _wrap_DateFormatStr_set(PyObject *_val) {
15504 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
15505 return 1;
15506 }
15507
15508
15509 static PyObject *_wrap_DateFormatStr_get() {
15510 PyObject *pyobj;
15511
15512 {
15513 #if wxUSE_UNICODE
15514 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15515 #else
15516 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15517 #endif
15518 }
15519 return pyobj;
15520 }
15521
15522
15523 static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
15524 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
15525 return 1;
15526 }
15527
15528
15529 static PyObject *_wrap_TimeSpanFormatStr_get() {
15530 PyObject *pyobj;
15531
15532 {
15533 #if wxUSE_UNICODE
15534 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15535 #else
15536 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15537 #endif
15538 }
15539 return pyobj;
15540 }
15541
15542
15543 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15544 PyObject *resultobj;
15545 int arg1 ;
15546 char *kwnames[] = {
15547 (char *) "country", NULL
15548 };
15549
15550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 Py_INCREF(Py_None); resultobj = Py_None;
15559 return resultobj;
15560 fail:
15561 return NULL;
15562 }
15563
15564
15565 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15566 PyObject *resultobj;
15567 int result;
15568 char *kwnames[] = {
15569 NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15573 {
15574 PyThreadState* __tstate = wxPyBeginAllowThreads();
15575 result = (int)wxDateTime::GetCountry();
15576
15577 wxPyEndAllowThreads(__tstate);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
15580 resultobj = PyInt_FromLong((long)result);
15581 return resultobj;
15582 fail:
15583 return NULL;
15584 }
15585
15586
15587 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15588 PyObject *resultobj;
15589 int arg1 = (int) wxDateTime::Country_Default ;
15590 bool result;
15591 char *kwnames[] = {
15592 (char *) "country", NULL
15593 };
15594
15595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15596 {
15597 PyThreadState* __tstate = wxPyBeginAllowThreads();
15598 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15599
15600 wxPyEndAllowThreads(__tstate);
15601 if (PyErr_Occurred()) SWIG_fail;
15602 }
15603 resultobj = PyInt_FromLong((long)result);
15604 return resultobj;
15605 fail:
15606 return NULL;
15607 }
15608
15609
15610 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15611 PyObject *resultobj;
15612 int arg1 = (int) wxDateTime::Gregorian ;
15613 int result;
15614 char *kwnames[] = {
15615 (char *) "cal", NULL
15616 };
15617
15618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15622
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 resultobj = PyInt_FromLong((long)result);
15627 return resultobj;
15628 fail:
15629 return NULL;
15630 }
15631
15632
15633 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 int arg1 ;
15636 int result;
15637 char *kwnames[] = {
15638 (char *) "year", NULL
15639 };
15640
15641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 result = (int)wxDateTime::ConvertYearToBC(arg1);
15645
15646 wxPyEndAllowThreads(__tstate);
15647 if (PyErr_Occurred()) SWIG_fail;
15648 }
15649 resultobj = PyInt_FromLong((long)result);
15650 return resultobj;
15651 fail:
15652 return NULL;
15653 }
15654
15655
15656 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 int arg1 = (int) wxDateTime::Gregorian ;
15659 int result;
15660 char *kwnames[] = {
15661 (char *) "cal", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 resultobj = PyInt_FromLong((long)result);
15673 return resultobj;
15674 fail:
15675 return NULL;
15676 }
15677
15678
15679 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15680 PyObject *resultobj;
15681 int arg1 = (int) wxDateTime::Inv_Year ;
15682 int arg2 = (int) wxDateTime::Gregorian ;
15683 bool result;
15684 char *kwnames[] = {
15685 (char *) "year",(char *) "cal", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15692
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 resultobj = PyInt_FromLong((long)result);
15697 return resultobj;
15698 fail:
15699 return NULL;
15700 }
15701
15702
15703 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15704 PyObject *resultobj;
15705 int arg1 = (int) wxDateTime::Inv_Year ;
15706 int result;
15707 char *kwnames[] = {
15708 (char *) "year", NULL
15709 };
15710
15711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15712 {
15713 PyThreadState* __tstate = wxPyBeginAllowThreads();
15714 result = (int)wxDateTime::GetCentury(arg1);
15715
15716 wxPyEndAllowThreads(__tstate);
15717 if (PyErr_Occurred()) SWIG_fail;
15718 }
15719 resultobj = PyInt_FromLong((long)result);
15720 return resultobj;
15721 fail:
15722 return NULL;
15723 }
15724
15725
15726 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15727 PyObject *resultobj;
15728 int arg1 ;
15729 int arg2 = (int) wxDateTime::Gregorian ;
15730 int result;
15731 char *kwnames[] = {
15732 (char *) "year",(char *) "cal", NULL
15733 };
15734
15735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 resultobj = PyInt_FromLong((long)result);
15744 return resultobj;
15745 fail:
15746 return NULL;
15747 }
15748
15749
15750 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15751 PyObject *resultobj;
15752 int arg1 ;
15753 int arg2 = (int) wxDateTime::Inv_Year ;
15754 int arg3 = (int) wxDateTime::Gregorian ;
15755 int result;
15756 char *kwnames[] = {
15757 (char *) "month",(char *) "year",(char *) "cal", NULL
15758 };
15759
15760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
15764
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 resultobj = PyInt_FromLong((long)result);
15769 return resultobj;
15770 fail:
15771 return NULL;
15772 }
15773
15774
15775 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 int arg1 ;
15778 int arg2 = (int) wxDateTime::Name_Full ;
15779 wxString result;
15780 char *kwnames[] = {
15781 (char *) "month",(char *) "flags", NULL
15782 };
15783
15784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15785 {
15786 PyThreadState* __tstate = wxPyBeginAllowThreads();
15787 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15788
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15792 {
15793 #if wxUSE_UNICODE
15794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15795 #else
15796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15797 #endif
15798 }
15799 return resultobj;
15800 fail:
15801 return NULL;
15802 }
15803
15804
15805 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15806 PyObject *resultobj;
15807 int arg1 ;
15808 int arg2 = (int) wxDateTime::Name_Full ;
15809 wxString result;
15810 char *kwnames[] = {
15811 (char *) "weekday",(char *) "flags", NULL
15812 };
15813
15814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15815 {
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15818
15819 wxPyEndAllowThreads(__tstate);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 {
15823 #if wxUSE_UNICODE
15824 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15825 #else
15826 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15827 #endif
15828 }
15829 return resultobj;
15830 fail:
15831 return NULL;
15832 }
15833
15834
15835 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15836 PyObject *resultobj;
15837 wxString *arg1 = (wxString *) 0 ;
15838 wxString *arg2 = (wxString *) 0 ;
15839 bool temp1 = False ;
15840 bool temp2 = False ;
15841 PyObject * obj0 = 0 ;
15842 PyObject * obj1 = 0 ;
15843 char *kwnames[] = {
15844 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15845 };
15846
15847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15848 {
15849 arg1 = wxString_in_helper(obj0);
15850 if (arg1 == NULL) SWIG_fail;
15851 temp1 = True;
15852 }
15853 {
15854 arg2 = wxString_in_helper(obj1);
15855 if (arg2 == NULL) SWIG_fail;
15856 temp2 = True;
15857 }
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 wxDateTime::GetAmPmStrings(arg1,arg2);
15861
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 Py_INCREF(Py_None); resultobj = Py_None;
15866 {
15867 if (temp1)
15868 delete arg1;
15869 }
15870 {
15871 if (temp2)
15872 delete arg2;
15873 }
15874 return resultobj;
15875 fail:
15876 {
15877 if (temp1)
15878 delete arg1;
15879 }
15880 {
15881 if (temp2)
15882 delete arg2;
15883 }
15884 return NULL;
15885 }
15886
15887
15888 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15889 PyObject *resultobj;
15890 int arg1 = (int) wxDateTime::Inv_Year ;
15891 int arg2 = (int) wxDateTime::Country_Default ;
15892 bool result;
15893 char *kwnames[] = {
15894 (char *) "year",(char *) "country", NULL
15895 };
15896
15897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15898 {
15899 PyThreadState* __tstate = wxPyBeginAllowThreads();
15900 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15901
15902 wxPyEndAllowThreads(__tstate);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 resultobj = PyInt_FromLong((long)result);
15906 return resultobj;
15907 fail:
15908 return NULL;
15909 }
15910
15911
15912 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15913 PyObject *resultobj;
15914 int arg1 = (int) wxDateTime::Inv_Year ;
15915 int arg2 = (int) wxDateTime::Country_Default ;
15916 wxDateTime result;
15917 char *kwnames[] = {
15918 (char *) "year",(char *) "country", NULL
15919 };
15920
15921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15925
15926 wxPyEndAllowThreads(__tstate);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
15929 {
15930 wxDateTime * resultptr;
15931 resultptr = new wxDateTime((wxDateTime &) result);
15932 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15933 }
15934 return resultobj;
15935 fail:
15936 return NULL;
15937 }
15938
15939
15940 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15941 PyObject *resultobj;
15942 int arg1 = (int) wxDateTime::Inv_Year ;
15943 int arg2 = (int) wxDateTime::Country_Default ;
15944 wxDateTime result;
15945 char *kwnames[] = {
15946 (char *) "year",(char *) "country", NULL
15947 };
15948
15949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15950 {
15951 PyThreadState* __tstate = wxPyBeginAllowThreads();
15952 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15953
15954 wxPyEndAllowThreads(__tstate);
15955 if (PyErr_Occurred()) SWIG_fail;
15956 }
15957 {
15958 wxDateTime * resultptr;
15959 resultptr = new wxDateTime((wxDateTime &) result);
15960 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15961 }
15962 return resultobj;
15963 fail:
15964 return NULL;
15965 }
15966
15967
15968 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15969 PyObject *resultobj;
15970 wxDateTime result;
15971 char *kwnames[] = {
15972 NULL
15973 };
15974
15975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15976 {
15977 PyThreadState* __tstate = wxPyBeginAllowThreads();
15978 result = wxDateTime::Now();
15979
15980 wxPyEndAllowThreads(__tstate);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 {
15984 wxDateTime * resultptr;
15985 resultptr = new wxDateTime((wxDateTime &) result);
15986 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15987 }
15988 return resultobj;
15989 fail:
15990 return NULL;
15991 }
15992
15993
15994 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15995 PyObject *resultobj;
15996 wxDateTime result;
15997 char *kwnames[] = {
15998 NULL
15999 };
16000
16001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 result = wxDateTime::UNow();
16005
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 {
16010 wxDateTime * resultptr;
16011 resultptr = new wxDateTime((wxDateTime &) result);
16012 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16013 }
16014 return resultobj;
16015 fail:
16016 return NULL;
16017 }
16018
16019
16020 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
16021 PyObject *resultobj;
16022 wxDateTime result;
16023 char *kwnames[] = {
16024 NULL
16025 };
16026
16027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 result = wxDateTime::Today();
16031
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
16035 {
16036 wxDateTime * resultptr;
16037 resultptr = new wxDateTime((wxDateTime &) result);
16038 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16039 }
16040 return resultobj;
16041 fail:
16042 return NULL;
16043 }
16044
16045
16046 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxDateTime *result;
16049 char *kwnames[] = {
16050 NULL
16051 };
16052
16053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
16054 {
16055 PyThreadState* __tstate = wxPyBeginAllowThreads();
16056 result = (wxDateTime *)new wxDateTime();
16057
16058 wxPyEndAllowThreads(__tstate);
16059 if (PyErr_Occurred()) SWIG_fail;
16060 }
16061 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16062 return resultobj;
16063 fail:
16064 return NULL;
16065 }
16066
16067
16068 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
16069 PyObject *resultobj;
16070 time_t arg1 ;
16071 wxDateTime *result;
16072 PyObject * obj0 = 0 ;
16073 char *kwnames[] = {
16074 (char *) "timet", NULL
16075 };
16076
16077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
16078 {
16079 arg1 = (time_t) SPyObj_AsUnsignedInt(obj0);
16080 if (PyErr_Occurred()) SWIG_fail;
16081 }
16082 {
16083 PyThreadState* __tstate = wxPyBeginAllowThreads();
16084 result = (wxDateTime *)new wxDateTime(arg1);
16085
16086 wxPyEndAllowThreads(__tstate);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16090 return resultobj;
16091 fail:
16092 return NULL;
16093 }
16094
16095
16096 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16097 PyObject *resultobj;
16098 double arg1 ;
16099 wxDateTime *result;
16100 char *kwnames[] = {
16101 (char *) "jdn", NULL
16102 };
16103
16104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
16105 {
16106 PyThreadState* __tstate = wxPyBeginAllowThreads();
16107 result = (wxDateTime *)new wxDateTime(arg1);
16108
16109 wxPyEndAllowThreads(__tstate);
16110 if (PyErr_Occurred()) SWIG_fail;
16111 }
16112 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16113 return resultobj;
16114 fail:
16115 return NULL;
16116 }
16117
16118
16119 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
16120 PyObject *resultobj;
16121 int arg1 ;
16122 int arg2 = (int) 0 ;
16123 int arg3 = (int) 0 ;
16124 int arg4 = (int) 0 ;
16125 wxDateTime *result;
16126 char *kwnames[] = {
16127 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16128 };
16129
16130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
16134
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16139 return resultobj;
16140 fail:
16141 return NULL;
16142 }
16143
16144
16145 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
16146 PyObject *resultobj;
16147 int arg1 ;
16148 int arg2 = (int) wxDateTime::Inv_Month ;
16149 int arg3 = (int) wxDateTime::Inv_Year ;
16150 int arg4 = (int) 0 ;
16151 int arg5 = (int) 0 ;
16152 int arg6 = (int) 0 ;
16153 int arg7 = (int) 0 ;
16154 wxDateTime *result;
16155 char *kwnames[] = {
16156 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16157 };
16158
16159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
16160 {
16161 PyThreadState* __tstate = wxPyBeginAllowThreads();
16162 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
16163
16164 wxPyEndAllowThreads(__tstate);
16165 if (PyErr_Occurred()) SWIG_fail;
16166 }
16167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16168 return resultobj;
16169 fail:
16170 return NULL;
16171 }
16172
16173
16174 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16175 PyObject *resultobj;
16176 wxDateTime *arg1 = (wxDateTime *) 0 ;
16177 PyObject * obj0 = 0 ;
16178 char *kwnames[] = {
16179 (char *) "self", NULL
16180 };
16181
16182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
16183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16184 {
16185 PyThreadState* __tstate = wxPyBeginAllowThreads();
16186 delete arg1;
16187
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
16191 Py_INCREF(Py_None); resultobj = Py_None;
16192 return resultobj;
16193 fail:
16194 return NULL;
16195 }
16196
16197
16198 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxDateTime *arg1 = (wxDateTime *) 0 ;
16201 wxDateTime *result;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
16208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16209 {
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 {
16212 wxDateTime &_result_ref = (arg1)->SetToCurrent();
16213 result = (wxDateTime *) &_result_ref;
16214 }
16215
16216 wxPyEndAllowThreads(__tstate);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 }
16219 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16220 return resultobj;
16221 fail:
16222 return NULL;
16223 }
16224
16225
16226 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
16227 PyObject *resultobj;
16228 wxDateTime *arg1 = (wxDateTime *) 0 ;
16229 time_t arg2 ;
16230 wxDateTime *result;
16231 PyObject * obj0 = 0 ;
16232 PyObject * obj1 = 0 ;
16233 char *kwnames[] = {
16234 (char *) "self",(char *) "timet", NULL
16235 };
16236
16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
16238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16239 {
16240 arg2 = (time_t) SPyObj_AsUnsignedInt(obj1);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 }
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 {
16246 wxDateTime &_result_ref = (arg1)->Set(arg2);
16247 result = (wxDateTime *) &_result_ref;
16248 }
16249
16250 wxPyEndAllowThreads(__tstate);
16251 if (PyErr_Occurred()) SWIG_fail;
16252 }
16253 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16254 return resultobj;
16255 fail:
16256 return NULL;
16257 }
16258
16259
16260 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16261 PyObject *resultobj;
16262 wxDateTime *arg1 = (wxDateTime *) 0 ;
16263 double arg2 ;
16264 wxDateTime *result;
16265 PyObject * obj0 = 0 ;
16266 char *kwnames[] = {
16267 (char *) "self",(char *) "jdn", NULL
16268 };
16269
16270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
16271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16272 {
16273 PyThreadState* __tstate = wxPyBeginAllowThreads();
16274 {
16275 wxDateTime &_result_ref = (arg1)->Set(arg2);
16276 result = (wxDateTime *) &_result_ref;
16277 }
16278
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
16290 PyObject *resultobj;
16291 wxDateTime *arg1 = (wxDateTime *) 0 ;
16292 int arg2 ;
16293 int arg3 = (int) 0 ;
16294 int arg4 = (int) 0 ;
16295 int arg5 = (int) 0 ;
16296 wxDateTime *result;
16297 PyObject * obj0 = 0 ;
16298 char *kwnames[] = {
16299 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16300 };
16301
16302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16304 {
16305 PyThreadState* __tstate = wxPyBeginAllowThreads();
16306 {
16307 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
16308 result = (wxDateTime *) &_result_ref;
16309 }
16310
16311 wxPyEndAllowThreads(__tstate);
16312 if (PyErr_Occurred()) SWIG_fail;
16313 }
16314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16315 return resultobj;
16316 fail:
16317 return NULL;
16318 }
16319
16320
16321 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
16322 PyObject *resultobj;
16323 wxDateTime *arg1 = (wxDateTime *) 0 ;
16324 int arg2 ;
16325 int arg3 = (int) wxDateTime::Inv_Month ;
16326 int arg4 = (int) wxDateTime::Inv_Year ;
16327 int arg5 = (int) 0 ;
16328 int arg6 = (int) 0 ;
16329 int arg7 = (int) 0 ;
16330 int arg8 = (int) 0 ;
16331 wxDateTime *result;
16332 PyObject * obj0 = 0 ;
16333 char *kwnames[] = {
16334 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16335 };
16336
16337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
16338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16339 {
16340 PyThreadState* __tstate = wxPyBeginAllowThreads();
16341 {
16342 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
16343 result = (wxDateTime *) &_result_ref;
16344 }
16345
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16350 return resultobj;
16351 fail:
16352 return NULL;
16353 }
16354
16355
16356 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj;
16358 wxDateTime *arg1 = (wxDateTime *) 0 ;
16359 wxDateTime *result;
16360 PyObject * obj0 = 0 ;
16361 char *kwnames[] = {
16362 (char *) "self", NULL
16363 };
16364
16365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
16366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 {
16370 wxDateTime &_result_ref = (arg1)->ResetTime();
16371 result = (wxDateTime *) &_result_ref;
16372 }
16373
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16378 return resultobj;
16379 fail:
16380 return NULL;
16381 }
16382
16383
16384 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16385 PyObject *resultobj;
16386 wxDateTime *arg1 = (wxDateTime *) 0 ;
16387 int arg2 ;
16388 wxDateTime *result;
16389 PyObject * obj0 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self",(char *) "year", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
16395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16396 {
16397 PyThreadState* __tstate = wxPyBeginAllowThreads();
16398 {
16399 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
16400 result = (wxDateTime *) &_result_ref;
16401 }
16402
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16407 return resultobj;
16408 fail:
16409 return NULL;
16410 }
16411
16412
16413 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxDateTime *arg1 = (wxDateTime *) 0 ;
16416 int arg2 ;
16417 wxDateTime *result;
16418 PyObject * obj0 = 0 ;
16419 char *kwnames[] = {
16420 (char *) "self",(char *) "month", NULL
16421 };
16422
16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
16424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16425 {
16426 PyThreadState* __tstate = wxPyBeginAllowThreads();
16427 {
16428 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
16429 result = (wxDateTime *) &_result_ref;
16430 }
16431
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
16435 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16436 return resultobj;
16437 fail:
16438 return NULL;
16439 }
16440
16441
16442 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16443 PyObject *resultobj;
16444 wxDateTime *arg1 = (wxDateTime *) 0 ;
16445 int arg2 ;
16446 wxDateTime *result;
16447 PyObject * obj0 = 0 ;
16448 char *kwnames[] = {
16449 (char *) "self",(char *) "day", NULL
16450 };
16451
16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
16453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 {
16457 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
16458 result = (wxDateTime *) &_result_ref;
16459 }
16460
16461 wxPyEndAllowThreads(__tstate);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 }
16464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16465 return resultobj;
16466 fail:
16467 return NULL;
16468 }
16469
16470
16471 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxDateTime *arg1 = (wxDateTime *) 0 ;
16474 int arg2 ;
16475 wxDateTime *result;
16476 PyObject * obj0 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self",(char *) "hour", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 {
16486 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
16487 result = (wxDateTime *) &_result_ref;
16488 }
16489
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
16493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16494 return resultobj;
16495 fail:
16496 return NULL;
16497 }
16498
16499
16500 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
16501 PyObject *resultobj;
16502 wxDateTime *arg1 = (wxDateTime *) 0 ;
16503 int arg2 ;
16504 wxDateTime *result;
16505 PyObject * obj0 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self",(char *) "minute", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
16511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16512 {
16513 PyThreadState* __tstate = wxPyBeginAllowThreads();
16514 {
16515 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
16516 result = (wxDateTime *) &_result_ref;
16517 }
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxDateTime *arg1 = (wxDateTime *) 0 ;
16532 int arg2 ;
16533 wxDateTime *result;
16534 PyObject * obj0 = 0 ;
16535 char *kwnames[] = {
16536 (char *) "self",(char *) "second", NULL
16537 };
16538
16539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
16540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16541 {
16542 PyThreadState* __tstate = wxPyBeginAllowThreads();
16543 {
16544 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16545 result = (wxDateTime *) &_result_ref;
16546 }
16547
16548 wxPyEndAllowThreads(__tstate);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
16551 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16552 return resultobj;
16553 fail:
16554 return NULL;
16555 }
16556
16557
16558 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16559 PyObject *resultobj;
16560 wxDateTime *arg1 = (wxDateTime *) 0 ;
16561 int arg2 ;
16562 wxDateTime *result;
16563 PyObject * obj0 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self",(char *) "millisecond", NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
16569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16570 {
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 {
16573 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16574 result = (wxDateTime *) &_result_ref;
16575 }
16576
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16581 return resultobj;
16582 fail:
16583 return NULL;
16584 }
16585
16586
16587 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj;
16589 wxDateTime *arg1 = (wxDateTime *) 0 ;
16590 int arg2 ;
16591 int arg3 = (int) wxDateTime::Monday_First ;
16592 wxDateTime *result;
16593 PyObject * obj0 = 0 ;
16594 char *kwnames[] = {
16595 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16596 };
16597
16598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 {
16603 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16604 result = (wxDateTime *) &_result_ref;
16605 }
16606
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
16610 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16611 return resultobj;
16612 fail:
16613 return NULL;
16614 }
16615
16616
16617 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxDateTime *arg1 = (wxDateTime *) 0 ;
16620 int arg2 ;
16621 int arg3 = (int) wxDateTime::Monday_First ;
16622 wxDateTime result;
16623 PyObject * obj0 = 0 ;
16624 char *kwnames[] = {
16625 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16626 };
16627
16628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16630 {
16631 PyThreadState* __tstate = wxPyBeginAllowThreads();
16632 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16633
16634 wxPyEndAllowThreads(__tstate);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 }
16637 {
16638 wxDateTime * resultptr;
16639 resultptr = new wxDateTime((wxDateTime &) result);
16640 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16641 }
16642 return resultobj;
16643 fail:
16644 return NULL;
16645 }
16646
16647
16648 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj;
16650 wxDateTime *arg1 = (wxDateTime *) 0 ;
16651 int arg2 ;
16652 wxDateTime *result;
16653 PyObject * obj0 = 0 ;
16654 char *kwnames[] = {
16655 (char *) "self",(char *) "weekday", NULL
16656 };
16657
16658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16660 {
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 {
16663 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16664 result = (wxDateTime *) &_result_ref;
16665 }
16666
16667 wxPyEndAllowThreads(__tstate);
16668 if (PyErr_Occurred()) SWIG_fail;
16669 }
16670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16671 return resultobj;
16672 fail:
16673 return NULL;
16674 }
16675
16676
16677 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16678 PyObject *resultobj;
16679 wxDateTime *arg1 = (wxDateTime *) 0 ;
16680 int arg2 ;
16681 wxDateTime result;
16682 PyObject * obj0 = 0 ;
16683 char *kwnames[] = {
16684 (char *) "self",(char *) "weekday", NULL
16685 };
16686
16687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16689 {
16690 PyThreadState* __tstate = wxPyBeginAllowThreads();
16691 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16692
16693 wxPyEndAllowThreads(__tstate);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 }
16696 {
16697 wxDateTime * resultptr;
16698 resultptr = new wxDateTime((wxDateTime &) result);
16699 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16700 }
16701 return resultobj;
16702 fail:
16703 return NULL;
16704 }
16705
16706
16707 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16708 PyObject *resultobj;
16709 wxDateTime *arg1 = (wxDateTime *) 0 ;
16710 int arg2 ;
16711 wxDateTime *result;
16712 PyObject * obj0 = 0 ;
16713 char *kwnames[] = {
16714 (char *) "self",(char *) "weekday", NULL
16715 };
16716
16717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16719 {
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
16721 {
16722 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16723 result = (wxDateTime *) &_result_ref;
16724 }
16725
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
16729 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16730 return resultobj;
16731 fail:
16732 return NULL;
16733 }
16734
16735
16736 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj;
16738 wxDateTime *arg1 = (wxDateTime *) 0 ;
16739 int arg2 ;
16740 wxDateTime result;
16741 PyObject * obj0 = 0 ;
16742 char *kwnames[] = {
16743 (char *) "self",(char *) "weekday", NULL
16744 };
16745
16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16748 {
16749 PyThreadState* __tstate = wxPyBeginAllowThreads();
16750 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16751
16752 wxPyEndAllowThreads(__tstate);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 }
16755 {
16756 wxDateTime * resultptr;
16757 resultptr = new wxDateTime((wxDateTime &) result);
16758 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16759 }
16760 return resultobj;
16761 fail:
16762 return NULL;
16763 }
16764
16765
16766 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16767 PyObject *resultobj;
16768 wxDateTime *arg1 = (wxDateTime *) 0 ;
16769 int arg2 ;
16770 int arg3 = (int) 1 ;
16771 int arg4 = (int) wxDateTime::Inv_Month ;
16772 int arg5 = (int) wxDateTime::Inv_Year ;
16773 bool result;
16774 PyObject * obj0 = 0 ;
16775 char *kwnames[] = {
16776 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16777 };
16778
16779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16781 {
16782 PyThreadState* __tstate = wxPyBeginAllowThreads();
16783 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16784
16785 wxPyEndAllowThreads(__tstate);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 resultobj = PyInt_FromLong((long)result);
16789 return resultobj;
16790 fail:
16791 return NULL;
16792 }
16793
16794
16795 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16796 PyObject *resultobj;
16797 wxDateTime *arg1 = (wxDateTime *) 0 ;
16798 int arg2 ;
16799 int arg3 = (int) wxDateTime::Inv_Month ;
16800 int arg4 = (int) wxDateTime::Inv_Year ;
16801 bool result;
16802 PyObject * obj0 = 0 ;
16803 char *kwnames[] = {
16804 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16805 };
16806
16807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16809 {
16810 PyThreadState* __tstate = wxPyBeginAllowThreads();
16811 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16812
16813 wxPyEndAllowThreads(__tstate);
16814 if (PyErr_Occurred()) SWIG_fail;
16815 }
16816 resultobj = PyInt_FromLong((long)result);
16817 return resultobj;
16818 fail:
16819 return NULL;
16820 }
16821
16822
16823 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16824 PyObject *resultobj;
16825 wxDateTime *arg1 = (wxDateTime *) 0 ;
16826 int arg2 ;
16827 int arg3 = (int) wxDateTime::Inv_Month ;
16828 int arg4 = (int) wxDateTime::Inv_Year ;
16829 wxDateTime result;
16830 PyObject * obj0 = 0 ;
16831 char *kwnames[] = {
16832 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16833 };
16834
16835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16837 {
16838 PyThreadState* __tstate = wxPyBeginAllowThreads();
16839 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16840
16841 wxPyEndAllowThreads(__tstate);
16842 if (PyErr_Occurred()) SWIG_fail;
16843 }
16844 {
16845 wxDateTime * resultptr;
16846 resultptr = new wxDateTime((wxDateTime &) result);
16847 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16848 }
16849 return resultobj;
16850 fail:
16851 return NULL;
16852 }
16853
16854
16855 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16856 PyObject *resultobj;
16857 wxDateTime *arg1 = (wxDateTime *) 0 ;
16858 int arg2 ;
16859 int arg3 = (int) wxDateTime::Mon ;
16860 int arg4 = (int) wxDateTime::Monday_First ;
16861 bool result;
16862 PyObject * obj0 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16865 };
16866
16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16869 {
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16872
16873 wxPyEndAllowThreads(__tstate);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 resultobj = PyInt_FromLong((long)result);
16877 return resultobj;
16878 fail:
16879 return NULL;
16880 }
16881
16882
16883 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16884 PyObject *resultobj;
16885 wxDateTime *arg1 = (wxDateTime *) 0 ;
16886 int arg2 ;
16887 int arg3 = (int) wxDateTime::Mon ;
16888 int arg4 = (int) wxDateTime::Monday_First ;
16889 wxDateTime result;
16890 PyObject * obj0 = 0 ;
16891 char *kwnames[] = {
16892 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16893 };
16894
16895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16897 {
16898 PyThreadState* __tstate = wxPyBeginAllowThreads();
16899 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16900
16901 wxPyEndAllowThreads(__tstate);
16902 if (PyErr_Occurred()) SWIG_fail;
16903 }
16904 {
16905 wxDateTime * resultptr;
16906 resultptr = new wxDateTime((wxDateTime &) result);
16907 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16908 }
16909 return resultobj;
16910 fail:
16911 return NULL;
16912 }
16913
16914
16915 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16916 PyObject *resultobj;
16917 wxDateTime *arg1 = (wxDateTime *) 0 ;
16918 int arg2 = (int) wxDateTime::Inv_Month ;
16919 int arg3 = (int) wxDateTime::Inv_Year ;
16920 wxDateTime *result;
16921 PyObject * obj0 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "self",(char *) "month",(char *) "year", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 {
16931 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16932 result = (wxDateTime *) &_result_ref;
16933 }
16934
16935 wxPyEndAllowThreads(__tstate);
16936 if (PyErr_Occurred()) SWIG_fail;
16937 }
16938 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16939 return resultobj;
16940 fail:
16941 return NULL;
16942 }
16943
16944
16945 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16946 PyObject *resultobj;
16947 wxDateTime *arg1 = (wxDateTime *) 0 ;
16948 int arg2 = (int) wxDateTime::Inv_Month ;
16949 int arg3 = (int) wxDateTime::Inv_Year ;
16950 wxDateTime result;
16951 PyObject * obj0 = 0 ;
16952 char *kwnames[] = {
16953 (char *) "self",(char *) "month",(char *) "year", NULL
16954 };
16955
16956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16958 {
16959 PyThreadState* __tstate = wxPyBeginAllowThreads();
16960 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16961
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
16965 {
16966 wxDateTime * resultptr;
16967 resultptr = new wxDateTime((wxDateTime &) result);
16968 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16969 }
16970 return resultobj;
16971 fail:
16972 return NULL;
16973 }
16974
16975
16976 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16977 PyObject *resultobj;
16978 wxDateTime *arg1 = (wxDateTime *) 0 ;
16979 int arg2 ;
16980 wxDateTime *result;
16981 PyObject * obj0 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self",(char *) "yday", NULL
16984 };
16985
16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
16987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16988 {
16989 PyThreadState* __tstate = wxPyBeginAllowThreads();
16990 {
16991 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16992 result = (wxDateTime *) &_result_ref;
16993 }
16994
16995 wxPyEndAllowThreads(__tstate);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 }
16998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16999 return resultobj;
17000 fail:
17001 return NULL;
17002 }
17003
17004
17005 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17006 PyObject *resultobj;
17007 wxDateTime *arg1 = (wxDateTime *) 0 ;
17008 int arg2 ;
17009 wxDateTime result;
17010 PyObject * obj0 = 0 ;
17011 char *kwnames[] = {
17012 (char *) "self",(char *) "yday", NULL
17013 };
17014
17015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
17016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17017 {
17018 PyThreadState* __tstate = wxPyBeginAllowThreads();
17019 result = (arg1)->GetYearDay(arg2);
17020
17021 wxPyEndAllowThreads(__tstate);
17022 if (PyErr_Occurred()) SWIG_fail;
17023 }
17024 {
17025 wxDateTime * resultptr;
17026 resultptr = new wxDateTime((wxDateTime &) result);
17027 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17028 }
17029 return resultobj;
17030 fail:
17031 return NULL;
17032 }
17033
17034
17035 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj;
17037 wxDateTime *arg1 = (wxDateTime *) 0 ;
17038 double result;
17039 PyObject * obj0 = 0 ;
17040 char *kwnames[] = {
17041 (char *) "self", NULL
17042 };
17043
17044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
17045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 result = (double)(arg1)->GetJulianDayNumber();
17049
17050 wxPyEndAllowThreads(__tstate);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 }
17053 resultobj = PyFloat_FromDouble(result);
17054 return resultobj;
17055 fail:
17056 return NULL;
17057 }
17058
17059
17060 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxDateTime *arg1 = (wxDateTime *) 0 ;
17063 double result;
17064 PyObject * obj0 = 0 ;
17065 char *kwnames[] = {
17066 (char *) "self", NULL
17067 };
17068
17069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
17070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 result = (double)(arg1)->GetJDN();
17074
17075 wxPyEndAllowThreads(__tstate);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 resultobj = PyFloat_FromDouble(result);
17079 return resultobj;
17080 fail:
17081 return NULL;
17082 }
17083
17084
17085 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
17086 PyObject *resultobj;
17087 wxDateTime *arg1 = (wxDateTime *) 0 ;
17088 double result;
17089 PyObject * obj0 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
17095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 resultobj = PyFloat_FromDouble(result);
17104 return resultobj;
17105 fail:
17106 return NULL;
17107 }
17108
17109
17110 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj;
17112 wxDateTime *arg1 = (wxDateTime *) 0 ;
17113 double result;
17114 PyObject * obj0 = 0 ;
17115 char *kwnames[] = {
17116 (char *) "self", NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
17120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (double)(arg1)->GetMJD();
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 resultobj = PyFloat_FromDouble(result);
17129 return resultobj;
17130 fail:
17131 return NULL;
17132 }
17133
17134
17135 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj;
17137 wxDateTime *arg1 = (wxDateTime *) 0 ;
17138 double result;
17139 PyObject * obj0 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
17145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 result = (double)(arg1)->GetRataDie();
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 resultobj = PyFloat_FromDouble(result);
17154 return resultobj;
17155 fail:
17156 return NULL;
17157 }
17158
17159
17160 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
17161 PyObject *resultobj;
17162 wxDateTime *arg1 = (wxDateTime *) 0 ;
17163 wxDateTime::TimeZone *arg2 = 0 ;
17164 bool arg3 = (bool) False ;
17165 wxDateTime result;
17166 bool temp2 = False ;
17167 PyObject * obj0 = 0 ;
17168 PyObject * obj1 = 0 ;
17169 PyObject * obj2 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "self",(char *) "tz",(char *) "noDST", NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
17175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17176 {
17177 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17178 temp2 = True;
17179 }
17180 if (obj2) {
17181 {
17182 arg3 = (bool) SPyObj_AsBool(obj2);
17183 if (PyErr_Occurred()) SWIG_fail;
17184 }
17185 }
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 {
17194 wxDateTime * resultptr;
17195 resultptr = new wxDateTime((wxDateTime &) result);
17196 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17197 }
17198 {
17199 if (temp2) delete arg2;
17200 }
17201 return resultobj;
17202 fail:
17203 {
17204 if (temp2) delete arg2;
17205 }
17206 return NULL;
17207 }
17208
17209
17210 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
17211 PyObject *resultobj;
17212 wxDateTime *arg1 = (wxDateTime *) 0 ;
17213 wxDateTime::TimeZone *arg2 = 0 ;
17214 bool arg3 = (bool) False ;
17215 wxDateTime *result;
17216 bool temp2 = False ;
17217 PyObject * obj0 = 0 ;
17218 PyObject * obj1 = 0 ;
17219 PyObject * obj2 = 0 ;
17220 char *kwnames[] = {
17221 (char *) "self",(char *) "tz",(char *) "noDST", NULL
17222 };
17223
17224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
17225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17226 {
17227 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17228 temp2 = True;
17229 }
17230 if (obj2) {
17231 {
17232 arg3 = (bool) SPyObj_AsBool(obj2);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 }
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 {
17239 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
17240 result = (wxDateTime *) &_result_ref;
17241 }
17242
17243 wxPyEndAllowThreads(__tstate);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
17246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17247 {
17248 if (temp2) delete arg2;
17249 }
17250 return resultobj;
17251 fail:
17252 {
17253 if (temp2) delete arg2;
17254 }
17255 return NULL;
17256 }
17257
17258
17259 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
17260 PyObject *resultobj;
17261 wxDateTime *arg1 = (wxDateTime *) 0 ;
17262 bool arg2 = (bool) False ;
17263 wxDateTime result;
17264 PyObject * obj0 = 0 ;
17265 PyObject * obj1 = 0 ;
17266 char *kwnames[] = {
17267 (char *) "self",(char *) "noDST", NULL
17268 };
17269
17270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
17271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17272 if (obj1) {
17273 {
17274 arg2 = (bool) SPyObj_AsBool(obj1);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 }
17278 {
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 result = (arg1)->ToGMT(arg2);
17281
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 {
17286 wxDateTime * resultptr;
17287 resultptr = new wxDateTime((wxDateTime &) result);
17288 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17289 }
17290 return resultobj;
17291 fail:
17292 return NULL;
17293 }
17294
17295
17296 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
17297 PyObject *resultobj;
17298 wxDateTime *arg1 = (wxDateTime *) 0 ;
17299 bool arg2 = (bool) False ;
17300 wxDateTime *result;
17301 PyObject * obj0 = 0 ;
17302 PyObject * obj1 = 0 ;
17303 char *kwnames[] = {
17304 (char *) "self",(char *) "noDST", NULL
17305 };
17306
17307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
17308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17309 if (obj1) {
17310 {
17311 arg2 = (bool) SPyObj_AsBool(obj1);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 }
17315 {
17316 PyThreadState* __tstate = wxPyBeginAllowThreads();
17317 {
17318 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
17319 result = (wxDateTime *) &_result_ref;
17320 }
17321
17322 wxPyEndAllowThreads(__tstate);
17323 if (PyErr_Occurred()) SWIG_fail;
17324 }
17325 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17326 return resultobj;
17327 fail:
17328 return NULL;
17329 }
17330
17331
17332 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17333 PyObject *resultobj;
17334 wxDateTime *arg1 = (wxDateTime *) 0 ;
17335 int arg2 = (int) wxDateTime::Country_Default ;
17336 int result;
17337 PyObject * obj0 = 0 ;
17338 char *kwnames[] = {
17339 (char *) "self",(char *) "country", NULL
17340 };
17341
17342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
17343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17344 {
17345 PyThreadState* __tstate = wxPyBeginAllowThreads();
17346 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
17347
17348 wxPyEndAllowThreads(__tstate);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 }
17351 resultobj = PyInt_FromLong((long)result);
17352 return resultobj;
17353 fail:
17354 return NULL;
17355 }
17356
17357
17358 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
17359 PyObject *resultobj;
17360 wxDateTime *arg1 = (wxDateTime *) 0 ;
17361 bool result;
17362 PyObject * obj0 = 0 ;
17363 char *kwnames[] = {
17364 (char *) "self", NULL
17365 };
17366
17367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
17368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 result = (bool)((wxDateTime const *)arg1)->IsValid();
17372
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
17376 resultobj = PyInt_FromLong((long)result);
17377 return resultobj;
17378 fail:
17379 return NULL;
17380 }
17381
17382
17383 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
17384 PyObject *resultobj;
17385 wxDateTime *arg1 = (wxDateTime *) 0 ;
17386 time_t result;
17387 PyObject * obj0 = 0 ;
17388 char *kwnames[] = {
17389 (char *) "self", NULL
17390 };
17391
17392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
17393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
17396 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
17397
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
17401 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
17402 return resultobj;
17403 fail:
17404 return NULL;
17405 }
17406
17407
17408 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17409 PyObject *resultobj;
17410 wxDateTime *arg1 = (wxDateTime *) 0 ;
17411 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17412 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17413 int result;
17414 bool temp2 = False ;
17415 PyObject * obj0 = 0 ;
17416 PyObject * obj1 = 0 ;
17417 char *kwnames[] = {
17418 (char *) "self",(char *) "tz", NULL
17419 };
17420
17421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
17422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17423 if (obj1) {
17424 {
17425 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17426 temp2 = True;
17427 }
17428 }
17429 {
17430 PyThreadState* __tstate = wxPyBeginAllowThreads();
17431 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
17432
17433 wxPyEndAllowThreads(__tstate);
17434 if (PyErr_Occurred()) SWIG_fail;
17435 }
17436 resultobj = PyInt_FromLong((long)result);
17437 {
17438 if (temp2) delete arg2;
17439 }
17440 return resultobj;
17441 fail:
17442 {
17443 if (temp2) delete arg2;
17444 }
17445 return NULL;
17446 }
17447
17448
17449 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17450 PyObject *resultobj;
17451 wxDateTime *arg1 = (wxDateTime *) 0 ;
17452 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17453 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17454 int result;
17455 bool temp2 = False ;
17456 PyObject * obj0 = 0 ;
17457 PyObject * obj1 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "self",(char *) "tz", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
17463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17464 if (obj1) {
17465 {
17466 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17467 temp2 = True;
17468 }
17469 }
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
17477 resultobj = PyInt_FromLong((long)result);
17478 {
17479 if (temp2) delete arg2;
17480 }
17481 return resultobj;
17482 fail:
17483 {
17484 if (temp2) delete arg2;
17485 }
17486 return NULL;
17487 }
17488
17489
17490 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17491 PyObject *resultobj;
17492 wxDateTime *arg1 = (wxDateTime *) 0 ;
17493 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17494 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17495 int result;
17496 bool temp2 = False ;
17497 PyObject * obj0 = 0 ;
17498 PyObject * obj1 = 0 ;
17499 char *kwnames[] = {
17500 (char *) "self",(char *) "tz", NULL
17501 };
17502
17503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
17504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17505 if (obj1) {
17506 {
17507 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17508 temp2 = True;
17509 }
17510 }
17511 {
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
17514
17515 wxPyEndAllowThreads(__tstate);
17516 if (PyErr_Occurred()) SWIG_fail;
17517 }
17518 resultobj = PyInt_FromLong((long)result);
17519 {
17520 if (temp2) delete arg2;
17521 }
17522 return resultobj;
17523 fail:
17524 {
17525 if (temp2) delete arg2;
17526 }
17527 return NULL;
17528 }
17529
17530
17531 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17532 PyObject *resultobj;
17533 wxDateTime *arg1 = (wxDateTime *) 0 ;
17534 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17535 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17536 int result;
17537 bool temp2 = False ;
17538 PyObject * obj0 = 0 ;
17539 PyObject * obj1 = 0 ;
17540 char *kwnames[] = {
17541 (char *) "self",(char *) "tz", NULL
17542 };
17543
17544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
17545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17546 if (obj1) {
17547 {
17548 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17549 temp2 = True;
17550 }
17551 }
17552 {
17553 PyThreadState* __tstate = wxPyBeginAllowThreads();
17554 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17555
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 resultobj = PyInt_FromLong((long)result);
17560 {
17561 if (temp2) delete arg2;
17562 }
17563 return resultobj;
17564 fail:
17565 {
17566 if (temp2) delete arg2;
17567 }
17568 return NULL;
17569 }
17570
17571
17572 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17573 PyObject *resultobj;
17574 wxDateTime *arg1 = (wxDateTime *) 0 ;
17575 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17576 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17577 int result;
17578 bool temp2 = False ;
17579 PyObject * obj0 = 0 ;
17580 PyObject * obj1 = 0 ;
17581 char *kwnames[] = {
17582 (char *) "self",(char *) "tz", NULL
17583 };
17584
17585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17587 if (obj1) {
17588 {
17589 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17590 temp2 = True;
17591 }
17592 }
17593 {
17594 PyThreadState* __tstate = wxPyBeginAllowThreads();
17595 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
17596
17597 wxPyEndAllowThreads(__tstate);
17598 if (PyErr_Occurred()) SWIG_fail;
17599 }
17600 resultobj = PyInt_FromLong((long)result);
17601 {
17602 if (temp2) delete arg2;
17603 }
17604 return resultobj;
17605 fail:
17606 {
17607 if (temp2) delete arg2;
17608 }
17609 return NULL;
17610 }
17611
17612
17613 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17614 PyObject *resultobj;
17615 wxDateTime *arg1 = (wxDateTime *) 0 ;
17616 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17617 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17618 int result;
17619 bool temp2 = False ;
17620 PyObject * obj0 = 0 ;
17621 PyObject * obj1 = 0 ;
17622 char *kwnames[] = {
17623 (char *) "self",(char *) "tz", NULL
17624 };
17625
17626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17628 if (obj1) {
17629 {
17630 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17631 temp2 = True;
17632 }
17633 }
17634 {
17635 PyThreadState* __tstate = wxPyBeginAllowThreads();
17636 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
17637
17638 wxPyEndAllowThreads(__tstate);
17639 if (PyErr_Occurred()) SWIG_fail;
17640 }
17641 resultobj = PyInt_FromLong((long)result);
17642 {
17643 if (temp2) delete arg2;
17644 }
17645 return resultobj;
17646 fail:
17647 {
17648 if (temp2) delete arg2;
17649 }
17650 return NULL;
17651 }
17652
17653
17654 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17655 PyObject *resultobj;
17656 wxDateTime *arg1 = (wxDateTime *) 0 ;
17657 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17658 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17659 int result;
17660 bool temp2 = False ;
17661 PyObject * obj0 = 0 ;
17662 PyObject * obj1 = 0 ;
17663 char *kwnames[] = {
17664 (char *) "self",(char *) "tz", NULL
17665 };
17666
17667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17669 if (obj1) {
17670 {
17671 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17672 temp2 = True;
17673 }
17674 }
17675 {
17676 PyThreadState* __tstate = wxPyBeginAllowThreads();
17677 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
17678
17679 wxPyEndAllowThreads(__tstate);
17680 if (PyErr_Occurred()) SWIG_fail;
17681 }
17682 resultobj = PyInt_FromLong((long)result);
17683 {
17684 if (temp2) delete arg2;
17685 }
17686 return resultobj;
17687 fail:
17688 {
17689 if (temp2) delete arg2;
17690 }
17691 return NULL;
17692 }
17693
17694
17695 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17696 PyObject *resultobj;
17697 wxDateTime *arg1 = (wxDateTime *) 0 ;
17698 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17699 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17700 int result;
17701 bool temp2 = False ;
17702 PyObject * obj0 = 0 ;
17703 PyObject * obj1 = 0 ;
17704 char *kwnames[] = {
17705 (char *) "self",(char *) "tz", NULL
17706 };
17707
17708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17710 if (obj1) {
17711 {
17712 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17713 temp2 = True;
17714 }
17715 }
17716 {
17717 PyThreadState* __tstate = wxPyBeginAllowThreads();
17718 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
17719
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
17723 resultobj = PyInt_FromLong((long)result);
17724 {
17725 if (temp2) delete arg2;
17726 }
17727 return resultobj;
17728 fail:
17729 {
17730 if (temp2) delete arg2;
17731 }
17732 return NULL;
17733 }
17734
17735
17736 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17737 PyObject *resultobj;
17738 wxDateTime *arg1 = (wxDateTime *) 0 ;
17739 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17740 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17741 int result;
17742 bool temp2 = False ;
17743 PyObject * obj0 = 0 ;
17744 PyObject * obj1 = 0 ;
17745 char *kwnames[] = {
17746 (char *) "self",(char *) "tz", NULL
17747 };
17748
17749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17751 if (obj1) {
17752 {
17753 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17754 temp2 = True;
17755 }
17756 }
17757 {
17758 PyThreadState* __tstate = wxPyBeginAllowThreads();
17759 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
17760
17761 wxPyEndAllowThreads(__tstate);
17762 if (PyErr_Occurred()) SWIG_fail;
17763 }
17764 resultobj = PyInt_FromLong((long)result);
17765 {
17766 if (temp2) delete arg2;
17767 }
17768 return resultobj;
17769 fail:
17770 {
17771 if (temp2) delete arg2;
17772 }
17773 return NULL;
17774 }
17775
17776
17777 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17778 PyObject *resultobj;
17779 wxDateTime *arg1 = (wxDateTime *) 0 ;
17780 int arg2 = (int) wxDateTime::Monday_First ;
17781 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17782 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17783 int result;
17784 bool temp3 = False ;
17785 PyObject * obj0 = 0 ;
17786 PyObject * obj2 = 0 ;
17787 char *kwnames[] = {
17788 (char *) "self",(char *) "flags",(char *) "tz", NULL
17789 };
17790
17791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17793 if (obj2) {
17794 {
17795 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17796 temp3 = True;
17797 }
17798 }
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 resultobj = PyInt_FromLong((long)result);
17807 {
17808 if (temp3) delete arg3;
17809 }
17810 return resultobj;
17811 fail:
17812 {
17813 if (temp3) delete arg3;
17814 }
17815 return NULL;
17816 }
17817
17818
17819 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxDateTime *arg1 = (wxDateTime *) 0 ;
17822 int arg2 = (int) wxDateTime::Monday_First ;
17823 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17824 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17825 int result;
17826 bool temp3 = False ;
17827 PyObject * obj0 = 0 ;
17828 PyObject * obj2 = 0 ;
17829 char *kwnames[] = {
17830 (char *) "self",(char *) "flags",(char *) "tz", NULL
17831 };
17832
17833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17835 if (obj2) {
17836 {
17837 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17838 temp3 = True;
17839 }
17840 }
17841 {
17842 PyThreadState* __tstate = wxPyBeginAllowThreads();
17843 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17844
17845 wxPyEndAllowThreads(__tstate);
17846 if (PyErr_Occurred()) SWIG_fail;
17847 }
17848 resultobj = PyInt_FromLong((long)result);
17849 {
17850 if (temp3) delete arg3;
17851 }
17852 return resultobj;
17853 fail:
17854 {
17855 if (temp3) delete arg3;
17856 }
17857 return NULL;
17858 }
17859
17860
17861 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17862 PyObject *resultobj;
17863 wxDateTime *arg1 = (wxDateTime *) 0 ;
17864 int arg2 = (int) wxDateTime::Country_Default ;
17865 bool result;
17866 PyObject * obj0 = 0 ;
17867 char *kwnames[] = {
17868 (char *) "self",(char *) "country", NULL
17869 };
17870
17871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17873 {
17874 PyThreadState* __tstate = wxPyBeginAllowThreads();
17875 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17876
17877 wxPyEndAllowThreads(__tstate);
17878 if (PyErr_Occurred()) SWIG_fail;
17879 }
17880 resultobj = PyInt_FromLong((long)result);
17881 return resultobj;
17882 fail:
17883 return NULL;
17884 }
17885
17886
17887 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17888 PyObject *resultobj;
17889 wxDateTime *arg1 = (wxDateTime *) 0 ;
17890 wxDateTime *arg2 = 0 ;
17891 bool result;
17892 PyObject * obj0 = 0 ;
17893 PyObject * obj1 = 0 ;
17894 char *kwnames[] = {
17895 (char *) "self",(char *) "datetime", NULL
17896 };
17897
17898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17900 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17901 if (arg2 == NULL) {
17902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17903 }
17904 {
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
17906 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17907
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
17911 resultobj = PyInt_FromLong((long)result);
17912 return resultobj;
17913 fail:
17914 return NULL;
17915 }
17916
17917
17918 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17919 PyObject *resultobj;
17920 wxDateTime *arg1 = (wxDateTime *) 0 ;
17921 wxDateTime *arg2 = 0 ;
17922 bool result;
17923 PyObject * obj0 = 0 ;
17924 PyObject * obj1 = 0 ;
17925 char *kwnames[] = {
17926 (char *) "self",(char *) "datetime", NULL
17927 };
17928
17929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17931 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17932 if (arg2 == NULL) {
17933 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17934 }
17935 {
17936 PyThreadState* __tstate = wxPyBeginAllowThreads();
17937 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17938
17939 wxPyEndAllowThreads(__tstate);
17940 if (PyErr_Occurred()) SWIG_fail;
17941 }
17942 resultobj = PyInt_FromLong((long)result);
17943 return resultobj;
17944 fail:
17945 return NULL;
17946 }
17947
17948
17949 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17950 PyObject *resultobj;
17951 wxDateTime *arg1 = (wxDateTime *) 0 ;
17952 wxDateTime *arg2 = 0 ;
17953 bool result;
17954 PyObject * obj0 = 0 ;
17955 PyObject * obj1 = 0 ;
17956 char *kwnames[] = {
17957 (char *) "self",(char *) "datetime", NULL
17958 };
17959
17960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17963 if (arg2 == NULL) {
17964 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17965 }
17966 {
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 resultobj = PyInt_FromLong((long)result);
17974 return resultobj;
17975 fail:
17976 return NULL;
17977 }
17978
17979
17980 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17981 PyObject *resultobj;
17982 wxDateTime *arg1 = (wxDateTime *) 0 ;
17983 wxDateTime *arg2 = 0 ;
17984 wxDateTime *arg3 = 0 ;
17985 bool result;
17986 PyObject * obj0 = 0 ;
17987 PyObject * obj1 = 0 ;
17988 PyObject * obj2 = 0 ;
17989 char *kwnames[] = {
17990 (char *) "self",(char *) "t1",(char *) "t2", NULL
17991 };
17992
17993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17996 if (arg2 == NULL) {
17997 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17998 }
17999 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18000 if (arg3 == NULL) {
18001 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18002 }
18003 {
18004 PyThreadState* __tstate = wxPyBeginAllowThreads();
18005 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
18006
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 resultobj = PyInt_FromLong((long)result);
18011 return resultobj;
18012 fail:
18013 return NULL;
18014 }
18015
18016
18017 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
18018 PyObject *resultobj;
18019 wxDateTime *arg1 = (wxDateTime *) 0 ;
18020 wxDateTime *arg2 = 0 ;
18021 wxDateTime *arg3 = 0 ;
18022 bool result;
18023 PyObject * obj0 = 0 ;
18024 PyObject * obj1 = 0 ;
18025 PyObject * obj2 = 0 ;
18026 char *kwnames[] = {
18027 (char *) "self",(char *) "t1",(char *) "t2", NULL
18028 };
18029
18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
18031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18033 if (arg2 == NULL) {
18034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18035 }
18036 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18037 if (arg3 == NULL) {
18038 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18039 }
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
18043
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 resultobj = PyInt_FromLong((long)result);
18048 return resultobj;
18049 fail:
18050 return NULL;
18051 }
18052
18053
18054 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18055 PyObject *resultobj;
18056 wxDateTime *arg1 = (wxDateTime *) 0 ;
18057 wxDateTime *arg2 = 0 ;
18058 bool result;
18059 PyObject * obj0 = 0 ;
18060 PyObject * obj1 = 0 ;
18061 char *kwnames[] = {
18062 (char *) "self",(char *) "dt", NULL
18063 };
18064
18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
18066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18068 if (arg2 == NULL) {
18069 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18070 }
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 resultobj = PyInt_FromLong((long)result);
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18086 PyObject *resultobj;
18087 wxDateTime *arg1 = (wxDateTime *) 0 ;
18088 wxDateTime *arg2 = 0 ;
18089 bool result;
18090 PyObject * obj0 = 0 ;
18091 PyObject * obj1 = 0 ;
18092 char *kwnames[] = {
18093 (char *) "self",(char *) "dt", NULL
18094 };
18095
18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
18097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18098 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18099 if (arg2 == NULL) {
18100 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18101 }
18102 {
18103 PyThreadState* __tstate = wxPyBeginAllowThreads();
18104 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
18105
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 resultobj = PyInt_FromLong((long)result);
18110 return resultobj;
18111 fail:
18112 return NULL;
18113 }
18114
18115
18116 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
18117 PyObject *resultobj;
18118 wxDateTime *arg1 = (wxDateTime *) 0 ;
18119 wxDateTime *arg2 = 0 ;
18120 wxTimeSpan *arg3 = 0 ;
18121 bool result;
18122 PyObject * obj0 = 0 ;
18123 PyObject * obj1 = 0 ;
18124 PyObject * obj2 = 0 ;
18125 char *kwnames[] = {
18126 (char *) "self",(char *) "dt",(char *) "ts", NULL
18127 };
18128
18129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18131 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18132 if (arg2 == NULL) {
18133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18134 }
18135 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18136 if (arg3 == NULL) {
18137 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18138 }
18139 {
18140 PyThreadState* __tstate = wxPyBeginAllowThreads();
18141 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
18142
18143 wxPyEndAllowThreads(__tstate);
18144 if (PyErr_Occurred()) SWIG_fail;
18145 }
18146 resultobj = PyInt_FromLong((long)result);
18147 return resultobj;
18148 fail:
18149 return NULL;
18150 }
18151
18152
18153 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
18154 PyObject *resultobj;
18155 wxDateTime *arg1 = (wxDateTime *) 0 ;
18156 wxTimeSpan *arg2 = 0 ;
18157 wxDateTime *result;
18158 PyObject * obj0 = 0 ;
18159 PyObject * obj1 = 0 ;
18160 char *kwnames[] = {
18161 (char *) "self",(char *) "diff", NULL
18162 };
18163
18164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
18165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18166 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18167 if (arg2 == NULL) {
18168 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18169 }
18170 {
18171 PyThreadState* __tstate = wxPyBeginAllowThreads();
18172 {
18173 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
18174 result = (wxDateTime *) &_result_ref;
18175 }
18176
18177 wxPyEndAllowThreads(__tstate);
18178 if (PyErr_Occurred()) SWIG_fail;
18179 }
18180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18181 return resultobj;
18182 fail:
18183 return NULL;
18184 }
18185
18186
18187 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 wxDateTime *arg1 = (wxDateTime *) 0 ;
18190 wxDateSpan *arg2 = 0 ;
18191 wxDateTime *result;
18192 PyObject * obj0 = 0 ;
18193 PyObject * obj1 = 0 ;
18194 char *kwnames[] = {
18195 (char *) "self",(char *) "diff", NULL
18196 };
18197
18198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
18199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18200 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18201 if (arg2 == NULL) {
18202 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18203 }
18204 {
18205 PyThreadState* __tstate = wxPyBeginAllowThreads();
18206 {
18207 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
18208 result = (wxDateTime *) &_result_ref;
18209 }
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
18214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18215 return resultobj;
18216 fail:
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj;
18223 wxDateTime *arg1 = (wxDateTime *) 0 ;
18224 wxTimeSpan *arg2 = 0 ;
18225 wxDateTime *result;
18226 PyObject * obj0 = 0 ;
18227 PyObject * obj1 = 0 ;
18228 char *kwnames[] = {
18229 (char *) "self",(char *) "diff", NULL
18230 };
18231
18232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
18233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18235 if (arg2 == NULL) {
18236 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18237 }
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 {
18241 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
18242 result = (wxDateTime *) &_result_ref;
18243 }
18244
18245 wxPyEndAllowThreads(__tstate);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 }
18248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18249 return resultobj;
18250 fail:
18251 return NULL;
18252 }
18253
18254
18255 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
18256 PyObject *resultobj;
18257 wxDateTime *arg1 = (wxDateTime *) 0 ;
18258 wxDateSpan *arg2 = 0 ;
18259 wxDateTime *result;
18260 PyObject * obj0 = 0 ;
18261 PyObject * obj1 = 0 ;
18262 char *kwnames[] = {
18263 (char *) "self",(char *) "diff", NULL
18264 };
18265
18266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
18267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18269 if (arg2 == NULL) {
18270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18271 }
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 {
18275 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
18276 result = (wxDateTime *) &_result_ref;
18277 }
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18283 return resultobj;
18284 fail:
18285 return NULL;
18286 }
18287
18288
18289 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
18290 PyObject *resultobj;
18291 wxDateTime *arg1 = (wxDateTime *) 0 ;
18292 wxDateTime *arg2 = 0 ;
18293 wxTimeSpan result;
18294 PyObject * obj0 = 0 ;
18295 PyObject * obj1 = 0 ;
18296 char *kwnames[] = {
18297 (char *) "self",(char *) "dt", NULL
18298 };
18299
18300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
18301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18302 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18303 if (arg2 == NULL) {
18304 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18305 }
18306 {
18307 PyThreadState* __tstate = wxPyBeginAllowThreads();
18308 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
18309
18310 wxPyEndAllowThreads(__tstate);
18311 if (PyErr_Occurred()) SWIG_fail;
18312 }
18313 {
18314 wxTimeSpan * resultptr;
18315 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18316 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18317 }
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
18325 PyObject *resultobj;
18326 wxDateTime *arg1 = (wxDateTime *) 0 ;
18327 wxTimeSpan *arg2 = 0 ;
18328 wxDateTime *result;
18329 PyObject * obj0 = 0 ;
18330 PyObject * obj1 = 0 ;
18331
18332 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18335 if (arg2 == NULL) {
18336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18337 }
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 {
18341 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
18342 result = (wxDateTime *) &_result_ref;
18343 }
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18349 return resultobj;
18350 fail:
18351 return NULL;
18352 }
18353
18354
18355 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
18356 PyObject *resultobj;
18357 wxDateTime *arg1 = (wxDateTime *) 0 ;
18358 wxDateSpan *arg2 = 0 ;
18359 wxDateTime *result;
18360 PyObject * obj0 = 0 ;
18361 PyObject * obj1 = 0 ;
18362
18363 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18366 if (arg2 == NULL) {
18367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18368 }
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 {
18372 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
18373 result = (wxDateTime *) &_result_ref;
18374 }
18375
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18380 return resultobj;
18381 fail:
18382 return NULL;
18383 }
18384
18385
18386 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
18387 int argc;
18388 PyObject *argv[3];
18389 int ii;
18390
18391 argc = PyObject_Length(args);
18392 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18393 argv[ii] = PyTuple_GetItem(args,ii);
18394 }
18395 if (argc == 2) {
18396 int _v;
18397 {
18398 void *ptr;
18399 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18400 _v = 0;
18401 PyErr_Clear();
18402 } else {
18403 _v = 1;
18404 }
18405 }
18406 if (_v) {
18407 {
18408 void *ptr;
18409 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18410 _v = 0;
18411 PyErr_Clear();
18412 } else {
18413 _v = 1;
18414 }
18415 }
18416 if (_v) {
18417 return _wrap_DateTime___iadd____SWIG_0(self,args);
18418 }
18419 }
18420 }
18421 if (argc == 2) {
18422 int _v;
18423 {
18424 void *ptr;
18425 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18426 _v = 0;
18427 PyErr_Clear();
18428 } else {
18429 _v = 1;
18430 }
18431 }
18432 if (_v) {
18433 {
18434 void *ptr;
18435 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18436 _v = 0;
18437 PyErr_Clear();
18438 } else {
18439 _v = 1;
18440 }
18441 }
18442 if (_v) {
18443 return _wrap_DateTime___iadd____SWIG_1(self,args);
18444 }
18445 }
18446 }
18447
18448 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
18449 return NULL;
18450 }
18451
18452
18453 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
18454 PyObject *resultobj;
18455 wxDateTime *arg1 = (wxDateTime *) 0 ;
18456 wxTimeSpan *arg2 = 0 ;
18457 wxDateTime *result;
18458 PyObject * obj0 = 0 ;
18459 PyObject * obj1 = 0 ;
18460
18461 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18463 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18464 if (arg2 == NULL) {
18465 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18466 }
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 {
18470 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
18471 result = (wxDateTime *) &_result_ref;
18472 }
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18478 return resultobj;
18479 fail:
18480 return NULL;
18481 }
18482
18483
18484 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
18485 PyObject *resultobj;
18486 wxDateTime *arg1 = (wxDateTime *) 0 ;
18487 wxDateSpan *arg2 = 0 ;
18488 wxDateTime *result;
18489 PyObject * obj0 = 0 ;
18490 PyObject * obj1 = 0 ;
18491
18492 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18494 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18495 if (arg2 == NULL) {
18496 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18497 }
18498 {
18499 PyThreadState* __tstate = wxPyBeginAllowThreads();
18500 {
18501 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
18502 result = (wxDateTime *) &_result_ref;
18503 }
18504
18505 wxPyEndAllowThreads(__tstate);
18506 if (PyErr_Occurred()) SWIG_fail;
18507 }
18508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18509 return resultobj;
18510 fail:
18511 return NULL;
18512 }
18513
18514
18515 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
18516 int argc;
18517 PyObject *argv[3];
18518 int ii;
18519
18520 argc = PyObject_Length(args);
18521 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18522 argv[ii] = PyTuple_GetItem(args,ii);
18523 }
18524 if (argc == 2) {
18525 int _v;
18526 {
18527 void *ptr;
18528 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18529 _v = 0;
18530 PyErr_Clear();
18531 } else {
18532 _v = 1;
18533 }
18534 }
18535 if (_v) {
18536 {
18537 void *ptr;
18538 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18539 _v = 0;
18540 PyErr_Clear();
18541 } else {
18542 _v = 1;
18543 }
18544 }
18545 if (_v) {
18546 return _wrap_DateTime___isub____SWIG_0(self,args);
18547 }
18548 }
18549 }
18550 if (argc == 2) {
18551 int _v;
18552 {
18553 void *ptr;
18554 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18555 _v = 0;
18556 PyErr_Clear();
18557 } else {
18558 _v = 1;
18559 }
18560 }
18561 if (_v) {
18562 {
18563 void *ptr;
18564 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18565 _v = 0;
18566 PyErr_Clear();
18567 } else {
18568 _v = 1;
18569 }
18570 }
18571 if (_v) {
18572 return _wrap_DateTime___isub____SWIG_1(self,args);
18573 }
18574 }
18575 }
18576
18577 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18578 return NULL;
18579 }
18580
18581
18582 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18583 PyObject *resultobj;
18584 wxDateTime *arg1 = (wxDateTime *) 0 ;
18585 wxTimeSpan *arg2 = 0 ;
18586 wxDateTime result;
18587 PyObject * obj0 = 0 ;
18588 PyObject * obj1 = 0 ;
18589
18590 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18593 if (arg2 == NULL) {
18594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18595 }
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18599
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 {
18604 wxDateTime * resultptr;
18605 resultptr = new wxDateTime((wxDateTime &) result);
18606 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18607 }
18608 return resultobj;
18609 fail:
18610 return NULL;
18611 }
18612
18613
18614 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18615 PyObject *resultobj;
18616 wxDateTime *arg1 = (wxDateTime *) 0 ;
18617 wxDateSpan *arg2 = 0 ;
18618 wxDateTime result;
18619 PyObject * obj0 = 0 ;
18620 PyObject * obj1 = 0 ;
18621
18622 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18624 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18625 if (arg2 == NULL) {
18626 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18627 }
18628 {
18629 PyThreadState* __tstate = wxPyBeginAllowThreads();
18630 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18631
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 {
18636 wxDateTime * resultptr;
18637 resultptr = new wxDateTime((wxDateTime &) result);
18638 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18639 }
18640 return resultobj;
18641 fail:
18642 return NULL;
18643 }
18644
18645
18646 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18647 int argc;
18648 PyObject *argv[3];
18649 int ii;
18650
18651 argc = PyObject_Length(args);
18652 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18653 argv[ii] = PyTuple_GetItem(args,ii);
18654 }
18655 if (argc == 2) {
18656 int _v;
18657 {
18658 void *ptr;
18659 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18660 _v = 0;
18661 PyErr_Clear();
18662 } else {
18663 _v = 1;
18664 }
18665 }
18666 if (_v) {
18667 {
18668 void *ptr;
18669 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18670 _v = 0;
18671 PyErr_Clear();
18672 } else {
18673 _v = 1;
18674 }
18675 }
18676 if (_v) {
18677 return _wrap_DateTime___add____SWIG_0(self,args);
18678 }
18679 }
18680 }
18681 if (argc == 2) {
18682 int _v;
18683 {
18684 void *ptr;
18685 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18686 _v = 0;
18687 PyErr_Clear();
18688 } else {
18689 _v = 1;
18690 }
18691 }
18692 if (_v) {
18693 {
18694 void *ptr;
18695 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18696 _v = 0;
18697 PyErr_Clear();
18698 } else {
18699 _v = 1;
18700 }
18701 }
18702 if (_v) {
18703 return _wrap_DateTime___add____SWIG_1(self,args);
18704 }
18705 }
18706 }
18707
18708 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18714 PyObject *resultobj;
18715 wxDateTime *arg1 = (wxDateTime *) 0 ;
18716 wxDateTime *arg2 = 0 ;
18717 wxTimeSpan result;
18718 PyObject * obj0 = 0 ;
18719 PyObject * obj1 = 0 ;
18720
18721 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18724 if (arg2 == NULL) {
18725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18726 }
18727 {
18728 PyThreadState* __tstate = wxPyBeginAllowThreads();
18729 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18730
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 {
18735 wxTimeSpan * resultptr;
18736 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18737 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18738 }
18739 return resultobj;
18740 fail:
18741 return NULL;
18742 }
18743
18744
18745 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18746 PyObject *resultobj;
18747 wxDateTime *arg1 = (wxDateTime *) 0 ;
18748 wxTimeSpan *arg2 = 0 ;
18749 wxDateTime result;
18750 PyObject * obj0 = 0 ;
18751 PyObject * obj1 = 0 ;
18752
18753 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18756 if (arg2 == NULL) {
18757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18758 }
18759 {
18760 PyThreadState* __tstate = wxPyBeginAllowThreads();
18761 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18762
18763 wxPyEndAllowThreads(__tstate);
18764 if (PyErr_Occurred()) SWIG_fail;
18765 }
18766 {
18767 wxDateTime * resultptr;
18768 resultptr = new wxDateTime((wxDateTime &) result);
18769 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18770 }
18771 return resultobj;
18772 fail:
18773 return NULL;
18774 }
18775
18776
18777 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18778 PyObject *resultobj;
18779 wxDateTime *arg1 = (wxDateTime *) 0 ;
18780 wxDateSpan *arg2 = 0 ;
18781 wxDateTime result;
18782 PyObject * obj0 = 0 ;
18783 PyObject * obj1 = 0 ;
18784
18785 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18788 if (arg2 == NULL) {
18789 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18790 }
18791 {
18792 PyThreadState* __tstate = wxPyBeginAllowThreads();
18793 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18794
18795 wxPyEndAllowThreads(__tstate);
18796 if (PyErr_Occurred()) SWIG_fail;
18797 }
18798 {
18799 wxDateTime * resultptr;
18800 resultptr = new wxDateTime((wxDateTime &) result);
18801 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18802 }
18803 return resultobj;
18804 fail:
18805 return NULL;
18806 }
18807
18808
18809 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18810 int argc;
18811 PyObject *argv[3];
18812 int ii;
18813
18814 argc = PyObject_Length(args);
18815 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18816 argv[ii] = PyTuple_GetItem(args,ii);
18817 }
18818 if (argc == 2) {
18819 int _v;
18820 {
18821 void *ptr;
18822 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18823 _v = 0;
18824 PyErr_Clear();
18825 } else {
18826 _v = 1;
18827 }
18828 }
18829 if (_v) {
18830 {
18831 void *ptr;
18832 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18833 _v = 0;
18834 PyErr_Clear();
18835 } else {
18836 _v = 1;
18837 }
18838 }
18839 if (_v) {
18840 return _wrap_DateTime___sub____SWIG_0(self,args);
18841 }
18842 }
18843 }
18844 if (argc == 2) {
18845 int _v;
18846 {
18847 void *ptr;
18848 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18849 _v = 0;
18850 PyErr_Clear();
18851 } else {
18852 _v = 1;
18853 }
18854 }
18855 if (_v) {
18856 {
18857 void *ptr;
18858 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18859 _v = 0;
18860 PyErr_Clear();
18861 } else {
18862 _v = 1;
18863 }
18864 }
18865 if (_v) {
18866 return _wrap_DateTime___sub____SWIG_1(self,args);
18867 }
18868 }
18869 }
18870 if (argc == 2) {
18871 int _v;
18872 {
18873 void *ptr;
18874 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18875 _v = 0;
18876 PyErr_Clear();
18877 } else {
18878 _v = 1;
18879 }
18880 }
18881 if (_v) {
18882 {
18883 void *ptr;
18884 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18885 _v = 0;
18886 PyErr_Clear();
18887 } else {
18888 _v = 1;
18889 }
18890 }
18891 if (_v) {
18892 return _wrap_DateTime___sub____SWIG_2(self,args);
18893 }
18894 }
18895 }
18896
18897 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18898 return NULL;
18899 }
18900
18901
18902 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18903 PyObject *resultobj;
18904 wxDateTime *arg1 = (wxDateTime *) 0 ;
18905 wxDateTime *arg2 = 0 ;
18906 bool result;
18907 PyObject * obj0 = 0 ;
18908 PyObject * obj1 = 0 ;
18909
18910 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18912 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18913 if (arg2 == NULL) {
18914 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18915 }
18916 {
18917 PyThreadState* __tstate = wxPyBeginAllowThreads();
18918 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18919
18920 wxPyEndAllowThreads(__tstate);
18921 if (PyErr_Occurred()) SWIG_fail;
18922 }
18923 resultobj = PyInt_FromLong((long)result);
18924 return resultobj;
18925 fail:
18926 return NULL;
18927 }
18928
18929
18930 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18931 PyObject *resultobj;
18932 wxDateTime *arg1 = (wxDateTime *) 0 ;
18933 wxDateTime *arg2 = 0 ;
18934 bool result;
18935 PyObject * obj0 = 0 ;
18936 PyObject * obj1 = 0 ;
18937
18938 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18941 if (arg2 == NULL) {
18942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18943 }
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 resultobj = PyInt_FromLong((long)result);
18952 return resultobj;
18953 fail:
18954 return NULL;
18955 }
18956
18957
18958 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18959 PyObject *resultobj;
18960 wxDateTime *arg1 = (wxDateTime *) 0 ;
18961 wxDateTime *arg2 = 0 ;
18962 bool result;
18963 PyObject * obj0 = 0 ;
18964 PyObject * obj1 = 0 ;
18965
18966 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18968 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18969 if (arg2 == NULL) {
18970 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18971 }
18972 {
18973 PyThreadState* __tstate = wxPyBeginAllowThreads();
18974 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18975
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 resultobj = PyInt_FromLong((long)result);
18980 return resultobj;
18981 fail:
18982 return NULL;
18983 }
18984
18985
18986 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18987 PyObject *resultobj;
18988 wxDateTime *arg1 = (wxDateTime *) 0 ;
18989 wxDateTime *arg2 = 0 ;
18990 bool result;
18991 PyObject * obj0 = 0 ;
18992 PyObject * obj1 = 0 ;
18993
18994 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18997 if (arg2 == NULL) {
18998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18999 }
19000 {
19001 PyThreadState* __tstate = wxPyBeginAllowThreads();
19002 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
19003
19004 wxPyEndAllowThreads(__tstate);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 }
19007 resultobj = PyInt_FromLong((long)result);
19008 return resultobj;
19009 fail:
19010 return NULL;
19011 }
19012
19013
19014 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
19015 PyObject *resultobj;
19016 wxDateTime *arg1 = (wxDateTime *) 0 ;
19017 wxDateTime *arg2 = 0 ;
19018 bool result;
19019 PyObject * obj0 = 0 ;
19020 PyObject * obj1 = 0 ;
19021
19022 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
19023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19025 if (arg2 == NULL) {
19026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19027 }
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
19031
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 resultobj = PyInt_FromLong((long)result);
19036 return resultobj;
19037 fail:
19038 return NULL;
19039 }
19040
19041
19042 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
19043 PyObject *resultobj;
19044 wxDateTime *arg1 = (wxDateTime *) 0 ;
19045 wxDateTime *arg2 = 0 ;
19046 bool result;
19047 PyObject * obj0 = 0 ;
19048 PyObject * obj1 = 0 ;
19049
19050 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
19051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19053 if (arg2 == NULL) {
19054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19055 }
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 resultobj = PyInt_FromLong((long)result);
19064 return resultobj;
19065 fail:
19066 return NULL;
19067 }
19068
19069
19070 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxDateTime *arg1 = (wxDateTime *) 0 ;
19073 wxString *arg2 = 0 ;
19074 int result;
19075 bool temp2 = False ;
19076 PyObject * obj0 = 0 ;
19077 PyObject * obj1 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self",(char *) "date", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
19083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19084 {
19085 arg2 = wxString_in_helper(obj1);
19086 if (arg2 == NULL) SWIG_fail;
19087 temp2 = True;
19088 }
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
19092
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 resultobj = PyInt_FromLong((long)result);
19097 {
19098 if (temp2)
19099 delete arg2;
19100 }
19101 return resultobj;
19102 fail:
19103 {
19104 if (temp2)
19105 delete arg2;
19106 }
19107 return NULL;
19108 }
19109
19110
19111 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
19112 PyObject *resultobj;
19113 wxDateTime *arg1 = (wxDateTime *) 0 ;
19114 wxString *arg2 = 0 ;
19115 wxString const &arg3_defvalue = wxPyDateFormatStr ;
19116 wxString *arg3 = (wxString *) &arg3_defvalue ;
19117 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
19118 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
19119 int result;
19120 bool temp2 = False ;
19121 bool temp3 = False ;
19122 PyObject * obj0 = 0 ;
19123 PyObject * obj1 = 0 ;
19124 PyObject * obj2 = 0 ;
19125 PyObject * obj3 = 0 ;
19126 char *kwnames[] = {
19127 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
19128 };
19129
19130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19132 {
19133 arg2 = wxString_in_helper(obj1);
19134 if (arg2 == NULL) SWIG_fail;
19135 temp2 = True;
19136 }
19137 if (obj2) {
19138 {
19139 arg3 = wxString_in_helper(obj2);
19140 if (arg3 == NULL) SWIG_fail;
19141 temp3 = True;
19142 }
19143 }
19144 if (obj3) {
19145 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19146 if (arg4 == NULL) {
19147 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19148 }
19149 }
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
19153
19154 wxPyEndAllowThreads(__tstate);
19155 if (PyErr_Occurred()) SWIG_fail;
19156 }
19157 resultobj = PyInt_FromLong((long)result);
19158 {
19159 if (temp2)
19160 delete arg2;
19161 }
19162 {
19163 if (temp3)
19164 delete arg3;
19165 }
19166 return resultobj;
19167 fail:
19168 {
19169 if (temp2)
19170 delete arg2;
19171 }
19172 {
19173 if (temp3)
19174 delete arg3;
19175 }
19176 return NULL;
19177 }
19178
19179
19180 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj;
19182 wxDateTime *arg1 = (wxDateTime *) 0 ;
19183 wxString *arg2 = 0 ;
19184 int result;
19185 bool temp2 = False ;
19186 PyObject * obj0 = 0 ;
19187 PyObject * obj1 = 0 ;
19188 char *kwnames[] = {
19189 (char *) "self",(char *) "datetime", NULL
19190 };
19191
19192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
19193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19194 {
19195 arg2 = wxString_in_helper(obj1);
19196 if (arg2 == NULL) SWIG_fail;
19197 temp2 = True;
19198 }
19199 {
19200 PyThreadState* __tstate = wxPyBeginAllowThreads();
19201 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
19202
19203 wxPyEndAllowThreads(__tstate);
19204 if (PyErr_Occurred()) SWIG_fail;
19205 }
19206 resultobj = PyInt_FromLong((long)result);
19207 {
19208 if (temp2)
19209 delete arg2;
19210 }
19211 return resultobj;
19212 fail:
19213 {
19214 if (temp2)
19215 delete arg2;
19216 }
19217 return NULL;
19218 }
19219
19220
19221 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19222 PyObject *resultobj;
19223 wxDateTime *arg1 = (wxDateTime *) 0 ;
19224 wxString *arg2 = 0 ;
19225 int result;
19226 bool temp2 = False ;
19227 PyObject * obj0 = 0 ;
19228 PyObject * obj1 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self",(char *) "date", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
19234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19235 {
19236 arg2 = wxString_in_helper(obj1);
19237 if (arg2 == NULL) SWIG_fail;
19238 temp2 = True;
19239 }
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 resultobj = PyInt_FromLong((long)result);
19248 {
19249 if (temp2)
19250 delete arg2;
19251 }
19252 return resultobj;
19253 fail:
19254 {
19255 if (temp2)
19256 delete arg2;
19257 }
19258 return NULL;
19259 }
19260
19261
19262 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19263 PyObject *resultobj;
19264 wxDateTime *arg1 = (wxDateTime *) 0 ;
19265 wxString *arg2 = 0 ;
19266 int result;
19267 bool temp2 = False ;
19268 PyObject * obj0 = 0 ;
19269 PyObject * obj1 = 0 ;
19270 char *kwnames[] = {
19271 (char *) "self",(char *) "time", NULL
19272 };
19273
19274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
19275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19276 {
19277 arg2 = wxString_in_helper(obj1);
19278 if (arg2 == NULL) SWIG_fail;
19279 temp2 = True;
19280 }
19281 {
19282 PyThreadState* __tstate = wxPyBeginAllowThreads();
19283 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
19284
19285 wxPyEndAllowThreads(__tstate);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 }
19288 resultobj = PyInt_FromLong((long)result);
19289 {
19290 if (temp2)
19291 delete arg2;
19292 }
19293 return resultobj;
19294 fail:
19295 {
19296 if (temp2)
19297 delete arg2;
19298 }
19299 return NULL;
19300 }
19301
19302
19303 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
19304 PyObject *resultobj;
19305 wxDateTime *arg1 = (wxDateTime *) 0 ;
19306 wxString const &arg2_defvalue = wxPyDateFormatStr ;
19307 wxString *arg2 = (wxString *) &arg2_defvalue ;
19308 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19309 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19310 wxString result;
19311 bool temp2 = False ;
19312 bool temp3 = False ;
19313 PyObject * obj0 = 0 ;
19314 PyObject * obj1 = 0 ;
19315 PyObject * obj2 = 0 ;
19316 char *kwnames[] = {
19317 (char *) "self",(char *) "format",(char *) "tz", NULL
19318 };
19319
19320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
19321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19322 if (obj1) {
19323 {
19324 arg2 = wxString_in_helper(obj1);
19325 if (arg2 == NULL) SWIG_fail;
19326 temp2 = True;
19327 }
19328 }
19329 if (obj2) {
19330 {
19331 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19332 temp3 = True;
19333 }
19334 }
19335 {
19336 PyThreadState* __tstate = wxPyBeginAllowThreads();
19337 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
19338
19339 wxPyEndAllowThreads(__tstate);
19340 if (PyErr_Occurred()) SWIG_fail;
19341 }
19342 {
19343 #if wxUSE_UNICODE
19344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19345 #else
19346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19347 #endif
19348 }
19349 {
19350 if (temp2)
19351 delete arg2;
19352 }
19353 {
19354 if (temp3) delete arg3;
19355 }
19356 return resultobj;
19357 fail:
19358 {
19359 if (temp2)
19360 delete arg2;
19361 }
19362 {
19363 if (temp3) delete arg3;
19364 }
19365 return NULL;
19366 }
19367
19368
19369 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19370 PyObject *resultobj;
19371 wxDateTime *arg1 = (wxDateTime *) 0 ;
19372 wxString result;
19373 PyObject * obj0 = 0 ;
19374 char *kwnames[] = {
19375 (char *) "self", NULL
19376 };
19377
19378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
19379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 result = ((wxDateTime const *)arg1)->FormatDate();
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 {
19388 #if wxUSE_UNICODE
19389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19390 #else
19391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19392 #endif
19393 }
19394 return resultobj;
19395 fail:
19396 return NULL;
19397 }
19398
19399
19400 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19401 PyObject *resultobj;
19402 wxDateTime *arg1 = (wxDateTime *) 0 ;
19403 wxString result;
19404 PyObject * obj0 = 0 ;
19405 char *kwnames[] = {
19406 (char *) "self", NULL
19407 };
19408
19409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
19410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19411 {
19412 PyThreadState* __tstate = wxPyBeginAllowThreads();
19413 result = ((wxDateTime const *)arg1)->FormatTime();
19414
19415 wxPyEndAllowThreads(__tstate);
19416 if (PyErr_Occurred()) SWIG_fail;
19417 }
19418 {
19419 #if wxUSE_UNICODE
19420 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19421 #else
19422 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19423 #endif
19424 }
19425 return resultobj;
19426 fail:
19427 return NULL;
19428 }
19429
19430
19431 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
19432 PyObject *resultobj;
19433 wxDateTime *arg1 = (wxDateTime *) 0 ;
19434 wxString result;
19435 PyObject * obj0 = 0 ;
19436 char *kwnames[] = {
19437 (char *) "self", NULL
19438 };
19439
19440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
19441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 result = ((wxDateTime const *)arg1)->FormatISODate();
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 {
19450 #if wxUSE_UNICODE
19451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19452 #else
19453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19454 #endif
19455 }
19456 return resultobj;
19457 fail:
19458 return NULL;
19459 }
19460
19461
19462 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19463 PyObject *resultobj;
19464 wxDateTime *arg1 = (wxDateTime *) 0 ;
19465 wxString result;
19466 PyObject * obj0 = 0 ;
19467 char *kwnames[] = {
19468 (char *) "self", NULL
19469 };
19470
19471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
19472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19473 {
19474 PyThreadState* __tstate = wxPyBeginAllowThreads();
19475 result = ((wxDateTime const *)arg1)->FormatISOTime();
19476
19477 wxPyEndAllowThreads(__tstate);
19478 if (PyErr_Occurred()) SWIG_fail;
19479 }
19480 {
19481 #if wxUSE_UNICODE
19482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19483 #else
19484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19485 #endif
19486 }
19487 return resultobj;
19488 fail:
19489 return NULL;
19490 }
19491
19492
19493 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
19494 PyObject *obj;
19495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19496 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
19497 Py_INCREF(obj);
19498 return Py_BuildValue((char *)"");
19499 }
19500 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
19501 PyObject *resultobj;
19502 long arg1 ;
19503 wxTimeSpan result;
19504 char *kwnames[] = {
19505 (char *) "sec", NULL
19506 };
19507
19508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
19509 {
19510 PyThreadState* __tstate = wxPyBeginAllowThreads();
19511 result = wxTimeSpan::Seconds(arg1);
19512
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 {
19517 wxTimeSpan * resultptr;
19518 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19519 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19520 }
19521 return resultobj;
19522 fail:
19523 return NULL;
19524 }
19525
19526
19527 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
19528 PyObject *resultobj;
19529 wxTimeSpan result;
19530 char *kwnames[] = {
19531 NULL
19532 };
19533
19534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
19535 {
19536 PyThreadState* __tstate = wxPyBeginAllowThreads();
19537 result = wxTimeSpan::Second();
19538
19539 wxPyEndAllowThreads(__tstate);
19540 if (PyErr_Occurred()) SWIG_fail;
19541 }
19542 {
19543 wxTimeSpan * resultptr;
19544 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19545 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19546 }
19547 return resultobj;
19548 fail:
19549 return NULL;
19550 }
19551
19552
19553 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19554 PyObject *resultobj;
19555 long arg1 ;
19556 wxTimeSpan result;
19557 char *kwnames[] = {
19558 (char *) "min", NULL
19559 };
19560
19561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 result = wxTimeSpan::Minutes(arg1);
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 {
19570 wxTimeSpan * resultptr;
19571 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19572 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19573 }
19574 return resultobj;
19575 fail:
19576 return NULL;
19577 }
19578
19579
19580 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19581 PyObject *resultobj;
19582 wxTimeSpan result;
19583 char *kwnames[] = {
19584 NULL
19585 };
19586
19587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19588 {
19589 PyThreadState* __tstate = wxPyBeginAllowThreads();
19590 result = wxTimeSpan::Minute();
19591
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 {
19596 wxTimeSpan * resultptr;
19597 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19598 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19599 }
19600 return resultobj;
19601 fail:
19602 return NULL;
19603 }
19604
19605
19606 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19607 PyObject *resultobj;
19608 long arg1 ;
19609 wxTimeSpan result;
19610 char *kwnames[] = {
19611 (char *) "hours", NULL
19612 };
19613
19614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 result = wxTimeSpan::Hours(arg1);
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 {
19623 wxTimeSpan * resultptr;
19624 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19625 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19626 }
19627 return resultobj;
19628 fail:
19629 return NULL;
19630 }
19631
19632
19633 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 wxTimeSpan result;
19636 char *kwnames[] = {
19637 NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19641 {
19642 PyThreadState* __tstate = wxPyBeginAllowThreads();
19643 result = wxTimeSpan::Hour();
19644
19645 wxPyEndAllowThreads(__tstate);
19646 if (PyErr_Occurred()) SWIG_fail;
19647 }
19648 {
19649 wxTimeSpan * resultptr;
19650 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19651 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19652 }
19653 return resultobj;
19654 fail:
19655 return NULL;
19656 }
19657
19658
19659 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19660 PyObject *resultobj;
19661 long arg1 ;
19662 wxTimeSpan result;
19663 char *kwnames[] = {
19664 (char *) "days", NULL
19665 };
19666
19667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19668 {
19669 PyThreadState* __tstate = wxPyBeginAllowThreads();
19670 result = wxTimeSpan::Days(arg1);
19671
19672 wxPyEndAllowThreads(__tstate);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 }
19675 {
19676 wxTimeSpan * resultptr;
19677 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19678 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19679 }
19680 return resultobj;
19681 fail:
19682 return NULL;
19683 }
19684
19685
19686 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19687 PyObject *resultobj;
19688 wxTimeSpan result;
19689 char *kwnames[] = {
19690 NULL
19691 };
19692
19693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19694 {
19695 PyThreadState* __tstate = wxPyBeginAllowThreads();
19696 result = wxTimeSpan::Day();
19697
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 {
19702 wxTimeSpan * resultptr;
19703 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19704 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19705 }
19706 return resultobj;
19707 fail:
19708 return NULL;
19709 }
19710
19711
19712 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19713 PyObject *resultobj;
19714 long arg1 ;
19715 wxTimeSpan result;
19716 char *kwnames[] = {
19717 (char *) "days", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 result = wxTimeSpan::Weeks(arg1);
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 {
19729 wxTimeSpan * resultptr;
19730 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19731 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19732 }
19733 return resultobj;
19734 fail:
19735 return NULL;
19736 }
19737
19738
19739 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19740 PyObject *resultobj;
19741 wxTimeSpan result;
19742 char *kwnames[] = {
19743 NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 result = wxTimeSpan::Week();
19750
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 {
19755 wxTimeSpan * resultptr;
19756 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19757 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19758 }
19759 return resultobj;
19760 fail:
19761 return NULL;
19762 }
19763
19764
19765 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19766 PyObject *resultobj;
19767 long arg1 = (long) 0 ;
19768 long arg2 = (long) 0 ;
19769 long arg3 = (long) 0 ;
19770 long arg4 = (long) 0 ;
19771 wxTimeSpan *result;
19772 char *kwnames[] = {
19773 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19774 };
19775
19776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19777 {
19778 PyThreadState* __tstate = wxPyBeginAllowThreads();
19779 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19780
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19794 PyObject * obj0 = 0 ;
19795 char *kwnames[] = {
19796 (char *) "self", NULL
19797 };
19798
19799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19801 {
19802 PyThreadState* __tstate = wxPyBeginAllowThreads();
19803 delete arg1;
19804
19805 wxPyEndAllowThreads(__tstate);
19806 if (PyErr_Occurred()) SWIG_fail;
19807 }
19808 Py_INCREF(Py_None); resultobj = Py_None;
19809 return resultobj;
19810 fail:
19811 return NULL;
19812 }
19813
19814
19815 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19816 PyObject *resultobj;
19817 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19818 wxTimeSpan *arg2 = 0 ;
19819 wxTimeSpan *result;
19820 PyObject * obj0 = 0 ;
19821 PyObject * obj1 = 0 ;
19822 char *kwnames[] = {
19823 (char *) "self",(char *) "diff", NULL
19824 };
19825
19826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19828 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19829 if (arg2 == NULL) {
19830 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19831 }
19832 {
19833 PyThreadState* __tstate = wxPyBeginAllowThreads();
19834 {
19835 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19836 result = (wxTimeSpan *) &_result_ref;
19837 }
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19843 return resultobj;
19844 fail:
19845 return NULL;
19846 }
19847
19848
19849 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj;
19851 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19852 wxTimeSpan *arg2 = 0 ;
19853 wxTimeSpan *result;
19854 PyObject * obj0 = 0 ;
19855 PyObject * obj1 = 0 ;
19856 char *kwnames[] = {
19857 (char *) "self",(char *) "diff", NULL
19858 };
19859
19860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19863 if (arg2 == NULL) {
19864 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19865 }
19866 {
19867 PyThreadState* __tstate = wxPyBeginAllowThreads();
19868 {
19869 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19870 result = (wxTimeSpan *) &_result_ref;
19871 }
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19886 int arg2 ;
19887 wxTimeSpan *result;
19888 PyObject * obj0 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self",(char *) "n", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 {
19898 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19899 result = (wxTimeSpan *) &_result_ref;
19900 }
19901
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19906 return resultobj;
19907 fail:
19908 return NULL;
19909 }
19910
19911
19912 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19913 PyObject *resultobj;
19914 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19915 wxTimeSpan *result;
19916 PyObject * obj0 = 0 ;
19917 char *kwnames[] = {
19918 (char *) "self", NULL
19919 };
19920
19921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 {
19926 wxTimeSpan &_result_ref = (arg1)->Neg();
19927 result = (wxTimeSpan *) &_result_ref;
19928 }
19929
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19934 return resultobj;
19935 fail:
19936 return NULL;
19937 }
19938
19939
19940 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19941 PyObject *resultobj;
19942 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19943 wxTimeSpan result;
19944 PyObject * obj0 = 0 ;
19945 char *kwnames[] = {
19946 (char *) "self", NULL
19947 };
19948
19949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19951 {
19952 PyThreadState* __tstate = wxPyBeginAllowThreads();
19953 result = ((wxTimeSpan const *)arg1)->Abs();
19954
19955 wxPyEndAllowThreads(__tstate);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 }
19958 {
19959 wxTimeSpan * resultptr;
19960 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19961 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19962 }
19963 return resultobj;
19964 fail:
19965 return NULL;
19966 }
19967
19968
19969 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19970 PyObject *resultobj;
19971 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19972 wxTimeSpan *arg2 = 0 ;
19973 wxTimeSpan *result;
19974 PyObject * obj0 = 0 ;
19975 PyObject * obj1 = 0 ;
19976 char *kwnames[] = {
19977 (char *) "self",(char *) "diff", NULL
19978 };
19979
19980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19982 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19983 if (arg2 == NULL) {
19984 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19985 }
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
19988 {
19989 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19990 result = (wxTimeSpan *) &_result_ref;
19991 }
19992
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
19996 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19997 return resultobj;
19998 fail:
19999 return NULL;
20000 }
20001
20002
20003 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
20004 PyObject *resultobj;
20005 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20006 wxTimeSpan *arg2 = 0 ;
20007 wxTimeSpan *result;
20008 PyObject * obj0 = 0 ;
20009 PyObject * obj1 = 0 ;
20010 char *kwnames[] = {
20011 (char *) "self",(char *) "diff", NULL
20012 };
20013
20014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
20015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20017 if (arg2 == NULL) {
20018 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20019 }
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 {
20023 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20024 result = (wxTimeSpan *) &_result_ref;
20025 }
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
20031 return resultobj;
20032 fail:
20033 return NULL;
20034 }
20035
20036
20037 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20040 int arg2 ;
20041 wxTimeSpan *result;
20042 PyObject * obj0 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self",(char *) "n", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
20048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 {
20052 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
20053 result = (wxTimeSpan *) &_result_ref;
20054 }
20055
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
20060 return resultobj;
20061 fail:
20062 return NULL;
20063 }
20064
20065
20066 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj;
20068 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20069 wxTimeSpan *result;
20070 PyObject * obj0 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 {
20080 wxTimeSpan &_result_ref = (arg1)->operator -();
20081 result = (wxTimeSpan *) &_result_ref;
20082 }
20083
20084 wxPyEndAllowThreads(__tstate);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 }
20087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
20088 return resultobj;
20089 fail:
20090 return NULL;
20091 }
20092
20093
20094 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20097 wxTimeSpan *arg2 = 0 ;
20098 wxTimeSpan result;
20099 PyObject * obj0 = 0 ;
20100 PyObject * obj1 = 0 ;
20101 char *kwnames[] = {
20102 (char *) "self",(char *) "other", NULL
20103 };
20104
20105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
20106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20108 if (arg2 == NULL) {
20109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20110 }
20111 {
20112 PyThreadState* __tstate = wxPyBeginAllowThreads();
20113 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
20114
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 {
20119 wxTimeSpan * resultptr;
20120 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20121 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20122 }
20123 return resultobj;
20124 fail:
20125 return NULL;
20126 }
20127
20128
20129 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
20130 PyObject *resultobj;
20131 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20132 wxTimeSpan *arg2 = 0 ;
20133 wxTimeSpan result;
20134 PyObject * obj0 = 0 ;
20135 PyObject * obj1 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "self",(char *) "other", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20143 if (arg2 == NULL) {
20144 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20145 }
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 {
20154 wxTimeSpan * resultptr;
20155 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20156 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20157 }
20158 return resultobj;
20159 fail:
20160 return NULL;
20161 }
20162
20163
20164 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
20165 PyObject *resultobj;
20166 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20167 int arg2 ;
20168 wxTimeSpan result;
20169 PyObject * obj0 = 0 ;
20170 char *kwnames[] = {
20171 (char *) "self",(char *) "n", NULL
20172 };
20173
20174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
20175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20176 {
20177 PyThreadState* __tstate = wxPyBeginAllowThreads();
20178 result = wxTimeSpan___mul__(arg1,arg2);
20179
20180 wxPyEndAllowThreads(__tstate);
20181 if (PyErr_Occurred()) SWIG_fail;
20182 }
20183 {
20184 wxTimeSpan * resultptr;
20185 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20187 }
20188 return resultobj;
20189 fail:
20190 return NULL;
20191 }
20192
20193
20194 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
20195 PyObject *resultobj;
20196 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20197 int arg2 ;
20198 wxTimeSpan result;
20199 PyObject * obj0 = 0 ;
20200 char *kwnames[] = {
20201 (char *) "self",(char *) "n", NULL
20202 };
20203
20204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
20205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20206 {
20207 PyThreadState* __tstate = wxPyBeginAllowThreads();
20208 result = wxTimeSpan___rmul__(arg1,arg2);
20209
20210 wxPyEndAllowThreads(__tstate);
20211 if (PyErr_Occurred()) SWIG_fail;
20212 }
20213 {
20214 wxTimeSpan * resultptr;
20215 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20216 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20217 }
20218 return resultobj;
20219 fail:
20220 return NULL;
20221 }
20222
20223
20224 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
20225 PyObject *resultobj;
20226 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20227 wxTimeSpan *arg2 = 0 ;
20228 bool result;
20229 PyObject * obj0 = 0 ;
20230 PyObject * obj1 = 0 ;
20231 char *kwnames[] = {
20232 (char *) "self",(char *) "other", NULL
20233 };
20234
20235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
20236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20237 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20238 if (arg2 == NULL) {
20239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20240 }
20241 {
20242 PyThreadState* __tstate = wxPyBeginAllowThreads();
20243 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
20244
20245 wxPyEndAllowThreads(__tstate);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
20248 resultobj = PyInt_FromLong((long)result);
20249 return resultobj;
20250 fail:
20251 return NULL;
20252 }
20253
20254
20255 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
20256 PyObject *resultobj;
20257 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20258 wxTimeSpan *arg2 = 0 ;
20259 bool result;
20260 PyObject * obj0 = 0 ;
20261 PyObject * obj1 = 0 ;
20262 char *kwnames[] = {
20263 (char *) "self",(char *) "other", NULL
20264 };
20265
20266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
20267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20269 if (arg2 == NULL) {
20270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20271 }
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 resultobj = PyInt_FromLong((long)result);
20280 return resultobj;
20281 fail:
20282 return NULL;
20283 }
20284
20285
20286 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj;
20288 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20289 wxTimeSpan *arg2 = 0 ;
20290 bool result;
20291 PyObject * obj0 = 0 ;
20292 PyObject * obj1 = 0 ;
20293 char *kwnames[] = {
20294 (char *) "self",(char *) "other", NULL
20295 };
20296
20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
20298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20300 if (arg2 == NULL) {
20301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20302 }
20303 {
20304 PyThreadState* __tstate = wxPyBeginAllowThreads();
20305 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
20306
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 resultobj = PyInt_FromLong((long)result);
20311 return resultobj;
20312 fail:
20313 return NULL;
20314 }
20315
20316
20317 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20320 wxTimeSpan *arg2 = 0 ;
20321 bool result;
20322 PyObject * obj0 = 0 ;
20323 PyObject * obj1 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self",(char *) "other", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
20329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20331 if (arg2 == NULL) {
20332 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20333 }
20334 {
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
20337
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 resultobj = PyInt_FromLong((long)result);
20342 return resultobj;
20343 fail:
20344 return NULL;
20345 }
20346
20347
20348 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20349 PyObject *resultobj;
20350 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20351 wxTimeSpan *arg2 = 0 ;
20352 bool result;
20353 PyObject * obj0 = 0 ;
20354 PyObject * obj1 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self",(char *) "other", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
20360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20362 if (arg2 == NULL) {
20363 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20364 }
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 resultobj = PyInt_FromLong((long)result);
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20380 PyObject *resultobj;
20381 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20382 wxTimeSpan *arg2 = 0 ;
20383 bool result;
20384 PyObject * obj0 = 0 ;
20385 PyObject * obj1 = 0 ;
20386 char *kwnames[] = {
20387 (char *) "self",(char *) "other", NULL
20388 };
20389
20390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
20391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20392 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20393 if (arg2 == NULL) {
20394 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20395 }
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 resultobj = PyInt_FromLong((long)result);
20404 return resultobj;
20405 fail:
20406 return NULL;
20407 }
20408
20409
20410 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
20411 PyObject *resultobj;
20412 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20413 bool result;
20414 PyObject * obj0 = 0 ;
20415 char *kwnames[] = {
20416 (char *) "self", NULL
20417 };
20418
20419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
20420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 resultobj = PyInt_FromLong((long)result);
20429 return resultobj;
20430 fail:
20431 return NULL;
20432 }
20433
20434
20435 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
20436 PyObject *resultobj;
20437 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20438 bool result;
20439 PyObject * obj0 = 0 ;
20440 char *kwnames[] = {
20441 (char *) "self", NULL
20442 };
20443
20444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
20445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
20449
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 resultobj = PyInt_FromLong((long)result);
20454 return resultobj;
20455 fail:
20456 return NULL;
20457 }
20458
20459
20460 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
20461 PyObject *resultobj;
20462 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20463 bool result;
20464 PyObject * obj0 = 0 ;
20465 char *kwnames[] = {
20466 (char *) "self", NULL
20467 };
20468
20469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
20470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 resultobj = PyInt_FromLong((long)result);
20479 return resultobj;
20480 fail:
20481 return NULL;
20482 }
20483
20484
20485 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20486 PyObject *resultobj;
20487 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20488 wxTimeSpan *arg2 = 0 ;
20489 bool result;
20490 PyObject * obj0 = 0 ;
20491 PyObject * obj1 = 0 ;
20492 char *kwnames[] = {
20493 (char *) "self",(char *) "ts", NULL
20494 };
20495
20496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
20497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20498 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20499 if (arg2 == NULL) {
20500 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20501 }
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 resultobj = PyInt_FromLong((long)result);
20510 return resultobj;
20511 fail:
20512 return NULL;
20513 }
20514
20515
20516 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20517 PyObject *resultobj;
20518 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20519 wxTimeSpan *arg2 = 0 ;
20520 bool result;
20521 PyObject * obj0 = 0 ;
20522 PyObject * obj1 = 0 ;
20523 char *kwnames[] = {
20524 (char *) "self",(char *) "ts", NULL
20525 };
20526
20527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
20528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20530 if (arg2 == NULL) {
20531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20532 }
20533 {
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
20535 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
20536
20537 wxPyEndAllowThreads(__tstate);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 }
20540 resultobj = PyInt_FromLong((long)result);
20541 return resultobj;
20542 fail:
20543 return NULL;
20544 }
20545
20546
20547 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj;
20549 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20550 wxTimeSpan *arg2 = 0 ;
20551 bool result;
20552 PyObject * obj0 = 0 ;
20553 PyObject * obj1 = 0 ;
20554 char *kwnames[] = {
20555 (char *) "self",(char *) "t", NULL
20556 };
20557
20558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20561 if (arg2 == NULL) {
20562 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20563 }
20564 {
20565 PyThreadState* __tstate = wxPyBeginAllowThreads();
20566 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20567
20568 wxPyEndAllowThreads(__tstate);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 }
20571 resultobj = PyInt_FromLong((long)result);
20572 return resultobj;
20573 fail:
20574 return NULL;
20575 }
20576
20577
20578 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20579 PyObject *resultobj;
20580 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20581 int result;
20582 PyObject * obj0 = 0 ;
20583 char *kwnames[] = {
20584 (char *) "self", NULL
20585 };
20586
20587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20589 {
20590 PyThreadState* __tstate = wxPyBeginAllowThreads();
20591 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20592
20593 wxPyEndAllowThreads(__tstate);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 }
20596 resultobj = PyInt_FromLong((long)result);
20597 return resultobj;
20598 fail:
20599 return NULL;
20600 }
20601
20602
20603 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20604 PyObject *resultobj;
20605 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20606 int result;
20607 PyObject * obj0 = 0 ;
20608 char *kwnames[] = {
20609 (char *) "self", NULL
20610 };
20611
20612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20614 {
20615 PyThreadState* __tstate = wxPyBeginAllowThreads();
20616 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20617
20618 wxPyEndAllowThreads(__tstate);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 }
20621 resultobj = PyInt_FromLong((long)result);
20622 return resultobj;
20623 fail:
20624 return NULL;
20625 }
20626
20627
20628 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20629 PyObject *resultobj;
20630 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20631 int result;
20632 PyObject * obj0 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20639 {
20640 PyThreadState* __tstate = wxPyBeginAllowThreads();
20641 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20642
20643 wxPyEndAllowThreads(__tstate);
20644 if (PyErr_Occurred()) SWIG_fail;
20645 }
20646 resultobj = PyInt_FromLong((long)result);
20647 return resultobj;
20648 fail:
20649 return NULL;
20650 }
20651
20652
20653 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20654 PyObject *resultobj;
20655 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20656 int result;
20657 PyObject * obj0 = 0 ;
20658 char *kwnames[] = {
20659 (char *) "self", NULL
20660 };
20661
20662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 resultobj = PyInt_FromLong((long)result);
20672 return resultobj;
20673 fail:
20674 return NULL;
20675 }
20676
20677
20678 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20679 PyObject *resultobj;
20680 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20681 wxLongLong result;
20682 PyObject * obj0 = 0 ;
20683 char *kwnames[] = {
20684 (char *) "self", NULL
20685 };
20686
20687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20689 {
20690 PyThreadState* __tstate = wxPyBeginAllowThreads();
20691 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20692
20693 wxPyEndAllowThreads(__tstate);
20694 if (PyErr_Occurred()) SWIG_fail;
20695 }
20696 {
20697 PyObject *hi, *lo, *shifter, *shifted;
20698 hi = PyLong_FromLong( (&result)->GetHi() );
20699 lo = PyLong_FromLong( (&result)->GetLo() );
20700 shifter = PyLong_FromLong(32);
20701 shifted = PyNumber_Lshift(hi, shifter);
20702 resultobj = PyNumber_Or(shifted, lo);
20703 Py_DECREF(hi);
20704 Py_DECREF(lo);
20705 Py_DECREF(shifter);
20706 Py_DECREF(shifted);
20707 }
20708 return resultobj;
20709 fail:
20710 return NULL;
20711 }
20712
20713
20714 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20715 PyObject *resultobj;
20716 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20717 wxLongLong result;
20718 PyObject * obj0 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20728
20729 wxPyEndAllowThreads(__tstate);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 {
20733 PyObject *hi, *lo, *shifter, *shifted;
20734 hi = PyLong_FromLong( (&result)->GetHi() );
20735 lo = PyLong_FromLong( (&result)->GetLo() );
20736 shifter = PyLong_FromLong(32);
20737 shifted = PyNumber_Lshift(hi, shifter);
20738 resultobj = PyNumber_Or(shifted, lo);
20739 Py_DECREF(hi);
20740 Py_DECREF(lo);
20741 Py_DECREF(shifter);
20742 Py_DECREF(shifted);
20743 }
20744 return resultobj;
20745 fail:
20746 return NULL;
20747 }
20748
20749
20750 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20751 PyObject *resultobj;
20752 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20753 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20754 wxString *arg2 = (wxString *) &arg2_defvalue ;
20755 wxString result;
20756 bool temp2 = False ;
20757 PyObject * obj0 = 0 ;
20758 PyObject * obj1 = 0 ;
20759 char *kwnames[] = {
20760 (char *) "self",(char *) "format", NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20765 if (obj1) {
20766 {
20767 arg2 = wxString_in_helper(obj1);
20768 if (arg2 == NULL) SWIG_fail;
20769 temp2 = True;
20770 }
20771 }
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 {
20780 #if wxUSE_UNICODE
20781 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20782 #else
20783 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20784 #endif
20785 }
20786 {
20787 if (temp2)
20788 delete arg2;
20789 }
20790 return resultobj;
20791 fail:
20792 {
20793 if (temp2)
20794 delete arg2;
20795 }
20796 return NULL;
20797 }
20798
20799
20800 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20801 PyObject *obj;
20802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20803 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20804 Py_INCREF(obj);
20805 return Py_BuildValue((char *)"");
20806 }
20807 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20808 PyObject *resultobj;
20809 int arg1 = (int) 0 ;
20810 int arg2 = (int) 0 ;
20811 int arg3 = (int) 0 ;
20812 int arg4 = (int) 0 ;
20813 wxDateSpan *result;
20814 char *kwnames[] = {
20815 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20819 {
20820 PyThreadState* __tstate = wxPyBeginAllowThreads();
20821 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20822
20823 wxPyEndAllowThreads(__tstate);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 }
20826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20827 return resultobj;
20828 fail:
20829 return NULL;
20830 }
20831
20832
20833 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20834 PyObject *resultobj;
20835 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20836 PyObject * obj0 = 0 ;
20837 char *kwnames[] = {
20838 (char *) "self", NULL
20839 };
20840
20841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20843 {
20844 PyThreadState* __tstate = wxPyBeginAllowThreads();
20845 delete arg1;
20846
20847 wxPyEndAllowThreads(__tstate);
20848 if (PyErr_Occurred()) SWIG_fail;
20849 }
20850 Py_INCREF(Py_None); resultobj = Py_None;
20851 return resultobj;
20852 fail:
20853 return NULL;
20854 }
20855
20856
20857 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20858 PyObject *resultobj;
20859 int arg1 ;
20860 wxDateSpan result;
20861 char *kwnames[] = {
20862 (char *) "days", NULL
20863 };
20864
20865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 result = wxDateSpan::Days(arg1);
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 {
20874 wxDateSpan * resultptr;
20875 resultptr = new wxDateSpan((wxDateSpan &) result);
20876 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20877 }
20878 return resultobj;
20879 fail:
20880 return NULL;
20881 }
20882
20883
20884 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20885 PyObject *resultobj;
20886 wxDateSpan result;
20887 char *kwnames[] = {
20888 NULL
20889 };
20890
20891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 result = wxDateSpan::Day();
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 {
20900 wxDateSpan * resultptr;
20901 resultptr = new wxDateSpan((wxDateSpan &) result);
20902 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20903 }
20904 return resultobj;
20905 fail:
20906 return NULL;
20907 }
20908
20909
20910 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20911 PyObject *resultobj;
20912 int arg1 ;
20913 wxDateSpan result;
20914 char *kwnames[] = {
20915 (char *) "weeks", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20919 {
20920 PyThreadState* __tstate = wxPyBeginAllowThreads();
20921 result = wxDateSpan::Weeks(arg1);
20922
20923 wxPyEndAllowThreads(__tstate);
20924 if (PyErr_Occurred()) SWIG_fail;
20925 }
20926 {
20927 wxDateSpan * resultptr;
20928 resultptr = new wxDateSpan((wxDateSpan &) result);
20929 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20930 }
20931 return resultobj;
20932 fail:
20933 return NULL;
20934 }
20935
20936
20937 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20938 PyObject *resultobj;
20939 wxDateSpan result;
20940 char *kwnames[] = {
20941 NULL
20942 };
20943
20944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20945 {
20946 PyThreadState* __tstate = wxPyBeginAllowThreads();
20947 result = wxDateSpan::Week();
20948
20949 wxPyEndAllowThreads(__tstate);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 }
20952 {
20953 wxDateSpan * resultptr;
20954 resultptr = new wxDateSpan((wxDateSpan &) result);
20955 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20956 }
20957 return resultobj;
20958 fail:
20959 return NULL;
20960 }
20961
20962
20963 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20964 PyObject *resultobj;
20965 int arg1 ;
20966 wxDateSpan result;
20967 char *kwnames[] = {
20968 (char *) "mon", NULL
20969 };
20970
20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20972 {
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
20974 result = wxDateSpan::Months(arg1);
20975
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 {
20980 wxDateSpan * resultptr;
20981 resultptr = new wxDateSpan((wxDateSpan &) result);
20982 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20983 }
20984 return resultobj;
20985 fail:
20986 return NULL;
20987 }
20988
20989
20990 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20991 PyObject *resultobj;
20992 wxDateSpan result;
20993 char *kwnames[] = {
20994 NULL
20995 };
20996
20997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20998 {
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 result = wxDateSpan::Month();
21001
21002 wxPyEndAllowThreads(__tstate);
21003 if (PyErr_Occurred()) SWIG_fail;
21004 }
21005 {
21006 wxDateSpan * resultptr;
21007 resultptr = new wxDateSpan((wxDateSpan &) result);
21008 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21009 }
21010 return resultobj;
21011 fail:
21012 return NULL;
21013 }
21014
21015
21016 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
21017 PyObject *resultobj;
21018 int arg1 ;
21019 wxDateSpan result;
21020 char *kwnames[] = {
21021 (char *) "years", NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 result = wxDateSpan::Years(arg1);
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 {
21033 wxDateSpan * resultptr;
21034 resultptr = new wxDateSpan((wxDateSpan &) result);
21035 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21036 }
21037 return resultobj;
21038 fail:
21039 return NULL;
21040 }
21041
21042
21043 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
21044 PyObject *resultobj;
21045 wxDateSpan result;
21046 char *kwnames[] = {
21047 NULL
21048 };
21049
21050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
21051 {
21052 PyThreadState* __tstate = wxPyBeginAllowThreads();
21053 result = wxDateSpan::Year();
21054
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 {
21059 wxDateSpan * resultptr;
21060 resultptr = new wxDateSpan((wxDateSpan &) result);
21061 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21062 }
21063 return resultobj;
21064 fail:
21065 return NULL;
21066 }
21067
21068
21069 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
21070 PyObject *resultobj;
21071 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21072 int arg2 ;
21073 wxDateSpan *result;
21074 PyObject * obj0 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self",(char *) "n", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
21080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21081 {
21082 PyThreadState* __tstate = wxPyBeginAllowThreads();
21083 {
21084 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
21085 result = (wxDateSpan *) &_result_ref;
21086 }
21087
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21092 return resultobj;
21093 fail:
21094 return NULL;
21095 }
21096
21097
21098 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
21099 PyObject *resultobj;
21100 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21101 int arg2 ;
21102 wxDateSpan *result;
21103 PyObject * obj0 = 0 ;
21104 char *kwnames[] = {
21105 (char *) "self",(char *) "n", NULL
21106 };
21107
21108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
21109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21110 {
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 {
21113 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
21114 result = (wxDateSpan *) &_result_ref;
21115 }
21116
21117 wxPyEndAllowThreads(__tstate);
21118 if (PyErr_Occurred()) SWIG_fail;
21119 }
21120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21121 return resultobj;
21122 fail:
21123 return NULL;
21124 }
21125
21126
21127 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21128 PyObject *resultobj;
21129 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21130 int arg2 ;
21131 wxDateSpan *result;
21132 PyObject * obj0 = 0 ;
21133 char *kwnames[] = {
21134 (char *) "self",(char *) "n", NULL
21135 };
21136
21137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
21138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21139 {
21140 PyThreadState* __tstate = wxPyBeginAllowThreads();
21141 {
21142 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
21143 result = (wxDateSpan *) &_result_ref;
21144 }
21145
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21150 return resultobj;
21151 fail:
21152 return NULL;
21153 }
21154
21155
21156 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
21157 PyObject *resultobj;
21158 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21159 int arg2 ;
21160 wxDateSpan *result;
21161 PyObject * obj0 = 0 ;
21162 char *kwnames[] = {
21163 (char *) "self",(char *) "n", NULL
21164 };
21165
21166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
21167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 {
21171 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
21172 result = (wxDateSpan *) &_result_ref;
21173 }
21174
21175 wxPyEndAllowThreads(__tstate);
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21179 return resultobj;
21180 fail:
21181 return NULL;
21182 }
21183
21184
21185 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
21186 PyObject *resultobj;
21187 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21188 int result;
21189 PyObject * obj0 = 0 ;
21190 char *kwnames[] = {
21191 (char *) "self", NULL
21192 };
21193
21194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
21195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21196 {
21197 PyThreadState* __tstate = wxPyBeginAllowThreads();
21198 result = (int)((wxDateSpan const *)arg1)->GetYears();
21199
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 resultobj = PyInt_FromLong((long)result);
21204 return resultobj;
21205 fail:
21206 return NULL;
21207 }
21208
21209
21210 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
21211 PyObject *resultobj;
21212 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21213 int result;
21214 PyObject * obj0 = 0 ;
21215 char *kwnames[] = {
21216 (char *) "self", NULL
21217 };
21218
21219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
21220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 result = (int)((wxDateSpan const *)arg1)->GetMonths();
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 resultobj = PyInt_FromLong((long)result);
21229 return resultobj;
21230 fail:
21231 return NULL;
21232 }
21233
21234
21235 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21236 PyObject *resultobj;
21237 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21238 int result;
21239 PyObject * obj0 = 0 ;
21240 char *kwnames[] = {
21241 (char *) "self", NULL
21242 };
21243
21244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
21245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21246 {
21247 PyThreadState* __tstate = wxPyBeginAllowThreads();
21248 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
21249
21250 wxPyEndAllowThreads(__tstate);
21251 if (PyErr_Occurred()) SWIG_fail;
21252 }
21253 resultobj = PyInt_FromLong((long)result);
21254 return resultobj;
21255 fail:
21256 return NULL;
21257 }
21258
21259
21260 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
21261 PyObject *resultobj;
21262 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21263 int result;
21264 PyObject * obj0 = 0 ;
21265 char *kwnames[] = {
21266 (char *) "self", NULL
21267 };
21268
21269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
21270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 result = (int)((wxDateSpan const *)arg1)->GetDays();
21274
21275 wxPyEndAllowThreads(__tstate);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 resultobj = PyInt_FromLong((long)result);
21279 return resultobj;
21280 fail:
21281 return NULL;
21282 }
21283
21284
21285 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
21286 PyObject *resultobj;
21287 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21288 int result;
21289 PyObject * obj0 = 0 ;
21290 char *kwnames[] = {
21291 (char *) "self", NULL
21292 };
21293
21294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
21295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 resultobj = PyInt_FromLong((long)result);
21304 return resultobj;
21305 fail:
21306 return NULL;
21307 }
21308
21309
21310 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21313 wxDateSpan *arg2 = 0 ;
21314 wxDateSpan *result;
21315 PyObject * obj0 = 0 ;
21316 PyObject * obj1 = 0 ;
21317 char *kwnames[] = {
21318 (char *) "self",(char *) "other", NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21324 if (arg2 == NULL) {
21325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21326 }
21327 {
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 {
21330 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
21331 result = (wxDateSpan *) &_result_ref;
21332 }
21333
21334 wxPyEndAllowThreads(__tstate);
21335 if (PyErr_Occurred()) SWIG_fail;
21336 }
21337 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21338 return resultobj;
21339 fail:
21340 return NULL;
21341 }
21342
21343
21344 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21345 PyObject *resultobj;
21346 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21347 wxDateSpan *arg2 = 0 ;
21348 wxDateSpan *result;
21349 PyObject * obj0 = 0 ;
21350 PyObject * obj1 = 0 ;
21351 char *kwnames[] = {
21352 (char *) "self",(char *) "other", NULL
21353 };
21354
21355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21358 if (arg2 == NULL) {
21359 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21360 }
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 {
21364 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
21365 result = (wxDateSpan *) &_result_ref;
21366 }
21367
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
21371 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21372 return resultobj;
21373 fail:
21374 return NULL;
21375 }
21376
21377
21378 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21379 PyObject *resultobj;
21380 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21381 wxDateSpan *result;
21382 PyObject * obj0 = 0 ;
21383 char *kwnames[] = {
21384 (char *) "self", NULL
21385 };
21386
21387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
21388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21389 {
21390 PyThreadState* __tstate = wxPyBeginAllowThreads();
21391 {
21392 wxDateSpan &_result_ref = (arg1)->Neg();
21393 result = (wxDateSpan *) &_result_ref;
21394 }
21395
21396 wxPyEndAllowThreads(__tstate);
21397 if (PyErr_Occurred()) SWIG_fail;
21398 }
21399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21400 return resultobj;
21401 fail:
21402 return NULL;
21403 }
21404
21405
21406 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21407 PyObject *resultobj;
21408 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21409 int arg2 ;
21410 wxDateSpan *result;
21411 PyObject * obj0 = 0 ;
21412 char *kwnames[] = {
21413 (char *) "self",(char *) "factor", NULL
21414 };
21415
21416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
21417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 {
21421 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
21422 result = (wxDateSpan *) &_result_ref;
21423 }
21424
21425 wxPyEndAllowThreads(__tstate);
21426 if (PyErr_Occurred()) SWIG_fail;
21427 }
21428 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21429 return resultobj;
21430 fail:
21431 return NULL;
21432 }
21433
21434
21435 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21436 PyObject *resultobj;
21437 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21438 wxDateSpan *arg2 = 0 ;
21439 wxDateSpan *result;
21440 PyObject * obj0 = 0 ;
21441 PyObject * obj1 = 0 ;
21442 char *kwnames[] = {
21443 (char *) "self",(char *) "other", NULL
21444 };
21445
21446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21449 if (arg2 == NULL) {
21450 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21451 }
21452 {
21453 PyThreadState* __tstate = wxPyBeginAllowThreads();
21454 {
21455 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
21456 result = (wxDateSpan *) &_result_ref;
21457 }
21458
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21463 return resultobj;
21464 fail:
21465 return NULL;
21466 }
21467
21468
21469 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21470 PyObject *resultobj;
21471 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21472 wxDateSpan *arg2 = 0 ;
21473 wxDateSpan *result;
21474 PyObject * obj0 = 0 ;
21475 PyObject * obj1 = 0 ;
21476 char *kwnames[] = {
21477 (char *) "self",(char *) "other", NULL
21478 };
21479
21480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21483 if (arg2 == NULL) {
21484 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21485 }
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 {
21489 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
21490 result = (wxDateSpan *) &_result_ref;
21491 }
21492
21493 wxPyEndAllowThreads(__tstate);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 }
21496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21497 return resultobj;
21498 fail:
21499 return NULL;
21500 }
21501
21502
21503 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21504 PyObject *resultobj;
21505 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21506 wxDateSpan *result;
21507 PyObject * obj0 = 0 ;
21508 char *kwnames[] = {
21509 (char *) "self", NULL
21510 };
21511
21512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
21513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21514 {
21515 PyThreadState* __tstate = wxPyBeginAllowThreads();
21516 {
21517 wxDateSpan &_result_ref = (arg1)->operator -();
21518 result = (wxDateSpan *) &_result_ref;
21519 }
21520
21521 wxPyEndAllowThreads(__tstate);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21525 return resultobj;
21526 fail:
21527 return NULL;
21528 }
21529
21530
21531 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21532 PyObject *resultobj;
21533 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21534 int arg2 ;
21535 wxDateSpan *result;
21536 PyObject * obj0 = 0 ;
21537 char *kwnames[] = {
21538 (char *) "self",(char *) "factor", NULL
21539 };
21540
21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
21542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 {
21546 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21547 result = (wxDateSpan *) &_result_ref;
21548 }
21549
21550 wxPyEndAllowThreads(__tstate);
21551 if (PyErr_Occurred()) SWIG_fail;
21552 }
21553 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21554 return resultobj;
21555 fail:
21556 return NULL;
21557 }
21558
21559
21560 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21561 PyObject *resultobj;
21562 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21563 wxDateSpan *arg2 = 0 ;
21564 wxDateSpan result;
21565 PyObject * obj0 = 0 ;
21566 PyObject * obj1 = 0 ;
21567 char *kwnames[] = {
21568 (char *) "self",(char *) "other", NULL
21569 };
21570
21571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21573 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21574 if (arg2 == NULL) {
21575 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21576 }
21577 {
21578 PyThreadState* __tstate = wxPyBeginAllowThreads();
21579 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21580
21581 wxPyEndAllowThreads(__tstate);
21582 if (PyErr_Occurred()) SWIG_fail;
21583 }
21584 {
21585 wxDateSpan * resultptr;
21586 resultptr = new wxDateSpan((wxDateSpan &) result);
21587 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21588 }
21589 return resultobj;
21590 fail:
21591 return NULL;
21592 }
21593
21594
21595 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21596 PyObject *resultobj;
21597 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21598 wxDateSpan *arg2 = 0 ;
21599 wxDateSpan result;
21600 PyObject * obj0 = 0 ;
21601 PyObject * obj1 = 0 ;
21602 char *kwnames[] = {
21603 (char *) "self",(char *) "other", NULL
21604 };
21605
21606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21609 if (arg2 == NULL) {
21610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21611 }
21612 {
21613 PyThreadState* __tstate = wxPyBeginAllowThreads();
21614 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21615
21616 wxPyEndAllowThreads(__tstate);
21617 if (PyErr_Occurred()) SWIG_fail;
21618 }
21619 {
21620 wxDateSpan * resultptr;
21621 resultptr = new wxDateSpan((wxDateSpan &) result);
21622 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21623 }
21624 return resultobj;
21625 fail:
21626 return NULL;
21627 }
21628
21629
21630 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21631 PyObject *resultobj;
21632 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21633 int arg2 ;
21634 wxDateSpan result;
21635 PyObject * obj0 = 0 ;
21636 char *kwnames[] = {
21637 (char *) "self",(char *) "n", NULL
21638 };
21639
21640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21642 {
21643 PyThreadState* __tstate = wxPyBeginAllowThreads();
21644 result = wxDateSpan___mul__(arg1,arg2);
21645
21646 wxPyEndAllowThreads(__tstate);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 }
21649 {
21650 wxDateSpan * resultptr;
21651 resultptr = new wxDateSpan((wxDateSpan &) result);
21652 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21653 }
21654 return resultobj;
21655 fail:
21656 return NULL;
21657 }
21658
21659
21660 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21661 PyObject *resultobj;
21662 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21663 int arg2 ;
21664 wxDateSpan result;
21665 PyObject * obj0 = 0 ;
21666 char *kwnames[] = {
21667 (char *) "self",(char *) "n", NULL
21668 };
21669
21670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 result = wxDateSpan___rmul__(arg1,arg2);
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 {
21680 wxDateSpan * resultptr;
21681 resultptr = new wxDateSpan((wxDateSpan &) result);
21682 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21683 }
21684 return resultobj;
21685 fail:
21686 return NULL;
21687 }
21688
21689
21690 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21691 PyObject *resultobj;
21692 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21693 wxDateSpan *arg2 = 0 ;
21694 bool result;
21695 PyObject * obj0 = 0 ;
21696 PyObject * obj1 = 0 ;
21697 char *kwnames[] = {
21698 (char *) "self",(char *) "other", NULL
21699 };
21700
21701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21703 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21704 if (arg2 == NULL) {
21705 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21706 }
21707 {
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21710
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 resultobj = PyInt_FromLong((long)result);
21715 return resultobj;
21716 fail:
21717 return NULL;
21718 }
21719
21720
21721 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21722 PyObject *resultobj;
21723 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21724 wxDateSpan *arg2 = 0 ;
21725 bool result;
21726 PyObject * obj0 = 0 ;
21727 PyObject * obj1 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self",(char *) "other", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21735 if (arg2 == NULL) {
21736 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21737 }
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21741
21742 wxPyEndAllowThreads(__tstate);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
21745 resultobj = PyInt_FromLong((long)result);
21746 return resultobj;
21747 fail:
21748 return NULL;
21749 }
21750
21751
21752 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21753 PyObject *obj;
21754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21755 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21756 Py_INCREF(obj);
21757 return Py_BuildValue((char *)"");
21758 }
21759 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21760 PyObject *resultobj;
21761 long result;
21762 char *kwnames[] = {
21763 NULL
21764 };
21765
21766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 result = (long)wxGetLocalTime();
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 resultobj = PyInt_FromLong((long)result);
21775 return resultobj;
21776 fail:
21777 return NULL;
21778 }
21779
21780
21781 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21782 PyObject *resultobj;
21783 long result;
21784 char *kwnames[] = {
21785 NULL
21786 };
21787
21788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 result = (long)wxGetUTCTime();
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 resultobj = PyInt_FromLong((long)result);
21797 return resultobj;
21798 fail:
21799 return NULL;
21800 }
21801
21802
21803 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 long result;
21806 char *kwnames[] = {
21807 NULL
21808 };
21809
21810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
21813 result = (long)wxGetCurrentTime();
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 resultobj = PyInt_FromLong((long)result);
21819 return resultobj;
21820 fail:
21821 return NULL;
21822 }
21823
21824
21825 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21826 PyObject *resultobj;
21827 wxLongLong result;
21828 char *kwnames[] = {
21829 NULL
21830 };
21831
21832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21833 {
21834 PyThreadState* __tstate = wxPyBeginAllowThreads();
21835 result = wxGetLocalTimeMillis();
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
21840 {
21841 PyObject *hi, *lo, *shifter, *shifted;
21842 hi = PyLong_FromLong( (&result)->GetHi() );
21843 lo = PyLong_FromLong( (&result)->GetLo() );
21844 shifter = PyLong_FromLong(32);
21845 shifted = PyNumber_Lshift(hi, shifter);
21846 resultobj = PyNumber_Or(shifted, lo);
21847 Py_DECREF(hi);
21848 Py_DECREF(lo);
21849 Py_DECREF(shifter);
21850 Py_DECREF(shifted);
21851 }
21852 return resultobj;
21853 fail:
21854 return NULL;
21855 }
21856
21857
21858 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21859 PyObject *resultobj;
21860 int arg1 ;
21861 wxDataFormat *result;
21862 char *kwnames[] = {
21863 (char *) "type", NULL
21864 };
21865
21866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21870
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21875 return resultobj;
21876 fail:
21877 return NULL;
21878 }
21879
21880
21881 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21882 PyObject *resultobj;
21883 wxString *arg1 = 0 ;
21884 wxDataFormat *result;
21885 bool temp1 = False ;
21886 PyObject * obj0 = 0 ;
21887 char *kwnames[] = {
21888 (char *) "format", NULL
21889 };
21890
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21892 {
21893 arg1 = wxString_in_helper(obj0);
21894 if (arg1 == NULL) SWIG_fail;
21895 temp1 = True;
21896 }
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21905 {
21906 if (temp1)
21907 delete arg1;
21908 }
21909 return resultobj;
21910 fail:
21911 {
21912 if (temp1)
21913 delete arg1;
21914 }
21915 return NULL;
21916 }
21917
21918
21919 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21920 PyObject *resultobj;
21921 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21922 PyObject * obj0 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "self", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 delete arg1;
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 Py_INCREF(Py_None); resultobj = Py_None;
21937 return resultobj;
21938 fail:
21939 return NULL;
21940 }
21941
21942
21943 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21944 PyObject *resultobj;
21945 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21946 int arg2 ;
21947 bool result;
21948 PyObject * obj0 = 0 ;
21949
21950 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21952 {
21953 PyThreadState* __tstate = wxPyBeginAllowThreads();
21954 result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2);
21955
21956 wxPyEndAllowThreads(__tstate);
21957 if (PyErr_Occurred()) SWIG_fail;
21958 }
21959 resultobj = PyInt_FromLong((long)result);
21960 return resultobj;
21961 fail:
21962 return NULL;
21963 }
21964
21965
21966 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21967 PyObject *resultobj;
21968 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21969 int arg2 ;
21970 bool result;
21971 PyObject * obj0 = 0 ;
21972
21973 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21975 {
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2);
21978
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 resultobj = PyInt_FromLong((long)result);
21983 return resultobj;
21984 fail:
21985 return NULL;
21986 }
21987
21988
21989 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21990 PyObject *resultobj;
21991 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21992 wxDataFormat *arg2 = 0 ;
21993 bool result;
21994 PyObject * obj0 = 0 ;
21995 PyObject * obj1 = 0 ;
21996
21997 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22000 if (arg2 == NULL) {
22001 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22002 }
22003 {
22004 PyThreadState* __tstate = wxPyBeginAllowThreads();
22005 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
22006
22007 wxPyEndAllowThreads(__tstate);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
22010 resultobj = PyInt_FromLong((long)result);
22011 return resultobj;
22012 fail:
22013 return NULL;
22014 }
22015
22016
22017 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
22018 int argc;
22019 PyObject *argv[3];
22020 int ii;
22021
22022 argc = PyObject_Length(args);
22023 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22024 argv[ii] = PyTuple_GetItem(args,ii);
22025 }
22026 if (argc == 2) {
22027 int _v;
22028 {
22029 void *ptr;
22030 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
22031 _v = 0;
22032 PyErr_Clear();
22033 } else {
22034 _v = 1;
22035 }
22036 }
22037 if (_v) {
22038 {
22039 void *ptr;
22040 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
22041 _v = 0;
22042 PyErr_Clear();
22043 } else {
22044 _v = 1;
22045 }
22046 }
22047 if (_v) {
22048 return _wrap_DataFormat___eq____SWIG_1(self,args);
22049 }
22050 }
22051 }
22052 if (argc == 2) {
22053 int _v;
22054 {
22055 void *ptr;
22056 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
22057 _v = 0;
22058 PyErr_Clear();
22059 } else {
22060 _v = 1;
22061 }
22062 }
22063 if (_v) {
22064 {
22065 SPyObj_AsInt(argv[1]);
22066 if (PyErr_Occurred()) {
22067 _v = 0;
22068 PyErr_Clear();
22069 } else {
22070 _v = 1;
22071 }
22072 }
22073 if (_v) {
22074 return _wrap_DataFormat___eq____SWIG_0(self,args);
22075 }
22076 }
22077 }
22078
22079 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
22080 return NULL;
22081 }
22082
22083
22084 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
22085 PyObject *resultobj;
22086 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
22087 wxDataFormat *arg2 = 0 ;
22088 bool result;
22089 PyObject * obj0 = 0 ;
22090 PyObject * obj1 = 0 ;
22091
22092 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
22093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22094 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22095 if (arg2 == NULL) {
22096 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22097 }
22098 {
22099 PyThreadState* __tstate = wxPyBeginAllowThreads();
22100 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
22101
22102 wxPyEndAllowThreads(__tstate);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 resultobj = PyInt_FromLong((long)result);
22106 return resultobj;
22107 fail:
22108 return NULL;
22109 }
22110
22111
22112 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
22113 int argc;
22114 PyObject *argv[3];
22115 int ii;
22116
22117 argc = PyObject_Length(args);
22118 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22119 argv[ii] = PyTuple_GetItem(args,ii);
22120 }
22121 if (argc == 2) {
22122 int _v;
22123 {
22124 void *ptr;
22125 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
22126 _v = 0;
22127 PyErr_Clear();
22128 } else {
22129 _v = 1;
22130 }
22131 }
22132 if (_v) {
22133 {
22134 void *ptr;
22135 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
22136 _v = 0;
22137 PyErr_Clear();
22138 } else {
22139 _v = 1;
22140 }
22141 }
22142 if (_v) {
22143 return _wrap_DataFormat___ne____SWIG_1(self,args);
22144 }
22145 }
22146 }
22147 if (argc == 2) {
22148 int _v;
22149 {
22150 void *ptr;
22151 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
22152 _v = 0;
22153 PyErr_Clear();
22154 } else {
22155 _v = 1;
22156 }
22157 }
22158 if (_v) {
22159 {
22160 SPyObj_AsInt(argv[1]);
22161 if (PyErr_Occurred()) {
22162 _v = 0;
22163 PyErr_Clear();
22164 } else {
22165 _v = 1;
22166 }
22167 }
22168 if (_v) {
22169 return _wrap_DataFormat___ne____SWIG_0(self,args);
22170 }
22171 }
22172 }
22173
22174 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
22175 return NULL;
22176 }
22177
22178
22179 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
22180 PyObject *resultobj;
22181 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
22182 int arg2 ;
22183 PyObject * obj0 = 0 ;
22184 char *kwnames[] = {
22185 (char *) "self",(char *) "format", NULL
22186 };
22187
22188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
22189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 (arg1)->SetType((wxDataFormatId )arg2);
22193
22194 wxPyEndAllowThreads(__tstate);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 Py_INCREF(Py_None); resultobj = Py_None;
22198 return resultobj;
22199 fail:
22200 return NULL;
22201 }
22202
22203
22204 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
22205 PyObject *resultobj;
22206 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
22207 int result;
22208 PyObject * obj0 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
22214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22215 {
22216 PyThreadState* __tstate = wxPyBeginAllowThreads();
22217 result = (int)((wxDataFormat const *)arg1)->GetType();
22218
22219 wxPyEndAllowThreads(__tstate);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 resultobj = PyInt_FromLong((long)result);
22223 return resultobj;
22224 fail:
22225 return NULL;
22226 }
22227
22228
22229 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22230 PyObject *resultobj;
22231 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
22232 wxString result;
22233 PyObject * obj0 = 0 ;
22234 char *kwnames[] = {
22235 (char *) "self", NULL
22236 };
22237
22238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
22239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22240 {
22241 PyThreadState* __tstate = wxPyBeginAllowThreads();
22242 result = ((wxDataFormat const *)arg1)->GetId();
22243
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 {
22248 #if wxUSE_UNICODE
22249 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22250 #else
22251 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22252 #endif
22253 }
22254 return resultobj;
22255 fail:
22256 return NULL;
22257 }
22258
22259
22260 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22261 PyObject *resultobj;
22262 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
22263 wxString *arg2 = 0 ;
22264 bool temp2 = False ;
22265 PyObject * obj0 = 0 ;
22266 PyObject * obj1 = 0 ;
22267 char *kwnames[] = {
22268 (char *) "self",(char *) "format", NULL
22269 };
22270
22271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
22272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22273 {
22274 arg2 = wxString_in_helper(obj1);
22275 if (arg2 == NULL) SWIG_fail;
22276 temp2 = True;
22277 }
22278 {
22279 PyThreadState* __tstate = wxPyBeginAllowThreads();
22280 (arg1)->SetId((wxString const &)*arg2);
22281
22282 wxPyEndAllowThreads(__tstate);
22283 if (PyErr_Occurred()) SWIG_fail;
22284 }
22285 Py_INCREF(Py_None); resultobj = Py_None;
22286 {
22287 if (temp2)
22288 delete arg2;
22289 }
22290 return resultobj;
22291 fail:
22292 {
22293 if (temp2)
22294 delete arg2;
22295 }
22296 return NULL;
22297 }
22298
22299
22300 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
22301 PyObject *obj;
22302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22303 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
22304 Py_INCREF(obj);
22305 return Py_BuildValue((char *)"");
22306 }
22307 static int _wrap_FormatInvalid_set(PyObject *_val) {
22308 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
22309 return 1;
22310 }
22311
22312
22313 static PyObject *_wrap_FormatInvalid_get() {
22314 PyObject *pyobj;
22315
22316 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
22317 return pyobj;
22318 }
22319
22320
22321 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22322 PyObject *resultobj;
22323 wxDataObject *arg1 = (wxDataObject *) 0 ;
22324 PyObject * obj0 = 0 ;
22325 char *kwnames[] = {
22326 (char *) "self", NULL
22327 };
22328
22329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
22330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 delete arg1;
22334
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 Py_INCREF(Py_None); resultobj = Py_None;
22339 return resultobj;
22340 fail:
22341 return NULL;
22342 }
22343
22344
22345 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22346 PyObject *resultobj;
22347 wxDataObject *arg1 = (wxDataObject *) 0 ;
22348 int arg2 = (int) wxDataObject::Get ;
22349 SwigValueWrapper< wxDataFormat > result;
22350 PyObject * obj0 = 0 ;
22351 char *kwnames[] = {
22352 (char *) "self",(char *) "dir", NULL
22353 };
22354
22355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
22356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22357 {
22358 PyThreadState* __tstate = wxPyBeginAllowThreads();
22359 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
22360
22361 wxPyEndAllowThreads(__tstate);
22362 if (PyErr_Occurred()) SWIG_fail;
22363 }
22364 {
22365 wxDataFormat * resultptr;
22366 resultptr = new wxDataFormat((wxDataFormat &) result);
22367 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
22368 }
22369 return resultobj;
22370 fail:
22371 return NULL;
22372 }
22373
22374
22375 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22376 PyObject *resultobj;
22377 wxDataObject *arg1 = (wxDataObject *) 0 ;
22378 int arg2 = (int) wxDataObject::Get ;
22379 size_t result;
22380 PyObject * obj0 = 0 ;
22381 char *kwnames[] = {
22382 (char *) "self",(char *) "dir", NULL
22383 };
22384
22385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
22386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22387 {
22388 PyThreadState* __tstate = wxPyBeginAllowThreads();
22389 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
22390
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
22395 return resultobj;
22396 fail:
22397 return NULL;
22398 }
22399
22400
22401 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
22402 PyObject *resultobj;
22403 wxDataObject *arg1 = (wxDataObject *) 0 ;
22404 wxDataFormat *arg2 = 0 ;
22405 int arg3 = (int) wxDataObject::Get ;
22406 bool result;
22407 PyObject * obj0 = 0 ;
22408 PyObject * obj1 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self",(char *) "format",(char *) "dir", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
22414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22416 if (arg2 == NULL) {
22417 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22418 }
22419 {
22420 PyThreadState* __tstate = wxPyBeginAllowThreads();
22421 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
22422
22423 wxPyEndAllowThreads(__tstate);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 }
22426 resultobj = PyInt_FromLong((long)result);
22427 return resultobj;
22428 fail:
22429 return NULL;
22430 }
22431
22432
22433 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22434 PyObject *resultobj;
22435 wxDataObject *arg1 = (wxDataObject *) 0 ;
22436 wxDataFormat *arg2 = 0 ;
22437 size_t result;
22438 PyObject * obj0 = 0 ;
22439 PyObject * obj1 = 0 ;
22440 char *kwnames[] = {
22441 (char *) "self",(char *) "format", NULL
22442 };
22443
22444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
22445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22447 if (arg2 == NULL) {
22448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22449 }
22450 {
22451 PyThreadState* __tstate = wxPyBeginAllowThreads();
22452 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
22453
22454 wxPyEndAllowThreads(__tstate);
22455 if (PyErr_Occurred()) SWIG_fail;
22456 }
22457 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
22458 return resultobj;
22459 fail:
22460 return NULL;
22461 }
22462
22463
22464 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
22465 PyObject *resultobj;
22466 wxDataObject *arg1 = (wxDataObject *) 0 ;
22467 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
22468 int arg3 = (int) wxDataObject::Get ;
22469 PyObject * obj0 = 0 ;
22470 PyObject * obj1 = 0 ;
22471 char *kwnames[] = {
22472 (char *) "self",(char *) "formats",(char *) "dir", NULL
22473 };
22474
22475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
22476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22477 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22478 {
22479 PyThreadState* __tstate = wxPyBeginAllowThreads();
22480 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
22481
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 Py_INCREF(Py_None); resultobj = Py_None;
22486 return resultobj;
22487 fail:
22488 return NULL;
22489 }
22490
22491
22492 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
22493 PyObject *resultobj;
22494 wxDataObject *arg1 = (wxDataObject *) 0 ;
22495 wxDataFormat *arg2 = 0 ;
22496 void *arg3 = (void *) 0 ;
22497 bool result;
22498 PyObject * obj0 = 0 ;
22499 PyObject * obj1 = 0 ;
22500 PyObject * obj2 = 0 ;
22501 char *kwnames[] = {
22502 (char *) "self",(char *) "format",(char *) "buf", NULL
22503 };
22504
22505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
22506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22508 if (arg2 == NULL) {
22509 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22510 }
22511 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22512 {
22513 PyThreadState* __tstate = wxPyBeginAllowThreads();
22514 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
22515
22516 wxPyEndAllowThreads(__tstate);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 }
22519 resultobj = PyInt_FromLong((long)result);
22520 return resultobj;
22521 fail:
22522 return NULL;
22523 }
22524
22525
22526 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22527 PyObject *resultobj;
22528 wxDataObject *arg1 = (wxDataObject *) 0 ;
22529 wxDataFormat *arg2 = 0 ;
22530 size_t arg3 ;
22531 void *arg4 = (void *) 0 ;
22532 bool result;
22533 PyObject * obj0 = 0 ;
22534 PyObject * obj1 = 0 ;
22535 PyObject * obj2 = 0 ;
22536 PyObject * obj3 = 0 ;
22537 char *kwnames[] = {
22538 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22539 };
22540
22541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22544 if (arg2 == NULL) {
22545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22546 }
22547 {
22548 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
22549 if (PyErr_Occurred()) SWIG_fail;
22550 }
22551 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 resultobj = PyInt_FromLong((long)result);
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22567 PyObject *obj;
22568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22569 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22570 Py_INCREF(obj);
22571 return Py_BuildValue((char *)"");
22572 }
22573 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22574 PyObject *resultobj;
22575 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22576 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22577 wxDataObjectSimple *result;
22578 PyObject * obj0 = 0 ;
22579 char *kwnames[] = {
22580 (char *) "format", NULL
22581 };
22582
22583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22584 if (obj0) {
22585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22586 if (arg1 == NULL) {
22587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22588 }
22589 }
22590 {
22591 PyThreadState* __tstate = wxPyBeginAllowThreads();
22592 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22593
22594 wxPyEndAllowThreads(__tstate);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
22597 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22598 return resultobj;
22599 fail:
22600 return NULL;
22601 }
22602
22603
22604 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22605 PyObject *resultobj;
22606 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22607 wxDataFormat *result;
22608 PyObject * obj0 = 0 ;
22609 char *kwnames[] = {
22610 (char *) "self", NULL
22611 };
22612
22613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22617 {
22618 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22619 result = (wxDataFormat *) &_result_ref;
22620 }
22621
22622 wxPyEndAllowThreads(__tstate);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22626 return resultobj;
22627 fail:
22628 return NULL;
22629 }
22630
22631
22632 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22633 PyObject *resultobj;
22634 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22635 wxDataFormat *arg2 = 0 ;
22636 PyObject * obj0 = 0 ;
22637 PyObject * obj1 = 0 ;
22638 char *kwnames[] = {
22639 (char *) "self",(char *) "format", NULL
22640 };
22641
22642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22645 if (arg2 == NULL) {
22646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22647 }
22648 {
22649 PyThreadState* __tstate = wxPyBeginAllowThreads();
22650 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 Py_INCREF(Py_None); resultobj = Py_None;
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22663 PyObject *obj;
22664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22665 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22666 Py_INCREF(obj);
22667 return Py_BuildValue((char *)"");
22668 }
22669 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22670 PyObject *resultobj;
22671 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22672 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22673 wxPyDataObjectSimple *result;
22674 PyObject * obj0 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "format", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22680 if (obj0) {
22681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22682 if (arg1 == NULL) {
22683 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22684 }
22685 }
22686 {
22687 PyThreadState* __tstate = wxPyBeginAllowThreads();
22688 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22689
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22694 return resultobj;
22695 fail:
22696 return NULL;
22697 }
22698
22699
22700 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj;
22702 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22703 PyObject *arg2 = (PyObject *) 0 ;
22704 PyObject *arg3 = (PyObject *) 0 ;
22705 PyObject * obj0 = 0 ;
22706 PyObject * obj1 = 0 ;
22707 PyObject * obj2 = 0 ;
22708 char *kwnames[] = {
22709 (char *) "self",(char *) "self",(char *) "_class", NULL
22710 };
22711
22712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22714 arg2 = obj1;
22715 arg3 = obj2;
22716 {
22717 PyThreadState* __tstate = wxPyBeginAllowThreads();
22718 (arg1)->_setCallbackInfo(arg2,arg3);
22719
22720 wxPyEndAllowThreads(__tstate);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 }
22723 Py_INCREF(Py_None); resultobj = Py_None;
22724 return resultobj;
22725 fail:
22726 return NULL;
22727 }
22728
22729
22730 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22731 PyObject *obj;
22732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22733 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22734 Py_INCREF(obj);
22735 return Py_BuildValue((char *)"");
22736 }
22737 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22738 PyObject *resultobj;
22739 wxDataObjectComposite *result;
22740 char *kwnames[] = {
22741 NULL
22742 };
22743
22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22748
22749 wxPyEndAllowThreads(__tstate);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
22752 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22753 return resultobj;
22754 fail:
22755 return NULL;
22756 }
22757
22758
22759 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22760 PyObject *resultobj;
22761 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22762 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
22763 int arg3 = (int) False ;
22764 PyObject * obj0 = 0 ;
22765 PyObject * obj1 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22768 };
22769
22770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 (arg1)->Add(arg2,arg3);
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 Py_INCREF(Py_None); resultobj = Py_None;
22781 return resultobj;
22782 fail:
22783 return NULL;
22784 }
22785
22786
22787 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22788 PyObject *obj;
22789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22790 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22791 Py_INCREF(obj);
22792 return Py_BuildValue((char *)"");
22793 }
22794 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22795 PyObject *resultobj;
22796 wxString const &arg1_defvalue = wxPyEmptyString ;
22797 wxString *arg1 = (wxString *) &arg1_defvalue ;
22798 wxTextDataObject *result;
22799 bool temp1 = False ;
22800 PyObject * obj0 = 0 ;
22801 char *kwnames[] = {
22802 (char *) "text", NULL
22803 };
22804
22805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22806 if (obj0) {
22807 {
22808 arg1 = wxString_in_helper(obj0);
22809 if (arg1 == NULL) SWIG_fail;
22810 temp1 = True;
22811 }
22812 }
22813 {
22814 PyThreadState* __tstate = wxPyBeginAllowThreads();
22815 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22816
22817 wxPyEndAllowThreads(__tstate);
22818 if (PyErr_Occurred()) SWIG_fail;
22819 }
22820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22821 {
22822 if (temp1)
22823 delete arg1;
22824 }
22825 return resultobj;
22826 fail:
22827 {
22828 if (temp1)
22829 delete arg1;
22830 }
22831 return NULL;
22832 }
22833
22834
22835 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj;
22837 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22838 size_t result;
22839 PyObject * obj0 = 0 ;
22840 char *kwnames[] = {
22841 (char *) "self", NULL
22842 };
22843
22844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22846 {
22847 PyThreadState* __tstate = wxPyBeginAllowThreads();
22848 result = (size_t)(arg1)->GetTextLength();
22849
22850 wxPyEndAllowThreads(__tstate);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 }
22853 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
22854 return resultobj;
22855 fail:
22856 return NULL;
22857 }
22858
22859
22860 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22861 PyObject *resultobj;
22862 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22863 wxString result;
22864 PyObject * obj0 = 0 ;
22865 char *kwnames[] = {
22866 (char *) "self", NULL
22867 };
22868
22869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22871 {
22872 PyThreadState* __tstate = wxPyBeginAllowThreads();
22873 result = (arg1)->GetText();
22874
22875 wxPyEndAllowThreads(__tstate);
22876 if (PyErr_Occurred()) SWIG_fail;
22877 }
22878 {
22879 #if wxUSE_UNICODE
22880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22881 #else
22882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22883 #endif
22884 }
22885 return resultobj;
22886 fail:
22887 return NULL;
22888 }
22889
22890
22891 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22892 PyObject *resultobj;
22893 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22894 wxString *arg2 = 0 ;
22895 bool temp2 = False ;
22896 PyObject * obj0 = 0 ;
22897 PyObject * obj1 = 0 ;
22898 char *kwnames[] = {
22899 (char *) "self",(char *) "text", NULL
22900 };
22901
22902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22904 {
22905 arg2 = wxString_in_helper(obj1);
22906 if (arg2 == NULL) SWIG_fail;
22907 temp2 = True;
22908 }
22909 {
22910 PyThreadState* __tstate = wxPyBeginAllowThreads();
22911 (arg1)->SetText((wxString const &)*arg2);
22912
22913 wxPyEndAllowThreads(__tstate);
22914 if (PyErr_Occurred()) SWIG_fail;
22915 }
22916 Py_INCREF(Py_None); resultobj = Py_None;
22917 {
22918 if (temp2)
22919 delete arg2;
22920 }
22921 return resultobj;
22922 fail:
22923 {
22924 if (temp2)
22925 delete arg2;
22926 }
22927 return NULL;
22928 }
22929
22930
22931 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22932 PyObject *obj;
22933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22934 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22935 Py_INCREF(obj);
22936 return Py_BuildValue((char *)"");
22937 }
22938 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22939 PyObject *resultobj;
22940 wxString const &arg1_defvalue = wxPyEmptyString ;
22941 wxString *arg1 = (wxString *) &arg1_defvalue ;
22942 wxPyTextDataObject *result;
22943 bool temp1 = False ;
22944 PyObject * obj0 = 0 ;
22945 char *kwnames[] = {
22946 (char *) "text", NULL
22947 };
22948
22949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22950 if (obj0) {
22951 {
22952 arg1 = wxString_in_helper(obj0);
22953 if (arg1 == NULL) SWIG_fail;
22954 temp1 = True;
22955 }
22956 }
22957 {
22958 PyThreadState* __tstate = wxPyBeginAllowThreads();
22959 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22960
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22965 {
22966 if (temp1)
22967 delete arg1;
22968 }
22969 return resultobj;
22970 fail:
22971 {
22972 if (temp1)
22973 delete arg1;
22974 }
22975 return NULL;
22976 }
22977
22978
22979 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22980 PyObject *resultobj;
22981 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22982 PyObject *arg2 = (PyObject *) 0 ;
22983 PyObject *arg3 = (PyObject *) 0 ;
22984 PyObject * obj0 = 0 ;
22985 PyObject * obj1 = 0 ;
22986 PyObject * obj2 = 0 ;
22987 char *kwnames[] = {
22988 (char *) "self",(char *) "self",(char *) "_class", NULL
22989 };
22990
22991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22993 arg2 = obj1;
22994 arg3 = obj2;
22995 {
22996 PyThreadState* __tstate = wxPyBeginAllowThreads();
22997 (arg1)->_setCallbackInfo(arg2,arg3);
22998
22999 wxPyEndAllowThreads(__tstate);
23000 if (PyErr_Occurred()) SWIG_fail;
23001 }
23002 Py_INCREF(Py_None); resultobj = Py_None;
23003 return resultobj;
23004 fail:
23005 return NULL;
23006 }
23007
23008
23009 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
23010 PyObject *obj;
23011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23012 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
23013 Py_INCREF(obj);
23014 return Py_BuildValue((char *)"");
23015 }
23016 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23017 PyObject *resultobj;
23018 wxBitmap const &arg1_defvalue = wxNullBitmap ;
23019 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
23020 wxBitmapDataObject *result;
23021 PyObject * obj0 = 0 ;
23022 char *kwnames[] = {
23023 (char *) "bitmap", NULL
23024 };
23025
23026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
23027 if (obj0) {
23028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23029 if (arg1 == NULL) {
23030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23031 }
23032 }
23033 {
23034 PyThreadState* __tstate = wxPyBeginAllowThreads();
23035 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
23036
23037 wxPyEndAllowThreads(__tstate);
23038 if (PyErr_Occurred()) SWIG_fail;
23039 }
23040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
23041 return resultobj;
23042 fail:
23043 return NULL;
23044 }
23045
23046
23047 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
23048 PyObject *resultobj;
23049 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
23050 wxBitmap result;
23051 PyObject * obj0 = 0 ;
23052 char *kwnames[] = {
23053 (char *) "self", NULL
23054 };
23055
23056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
23057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23058 {
23059 PyThreadState* __tstate = wxPyBeginAllowThreads();
23060 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
23061
23062 wxPyEndAllowThreads(__tstate);
23063 if (PyErr_Occurred()) SWIG_fail;
23064 }
23065 {
23066 wxBitmap * resultptr;
23067 resultptr = new wxBitmap((wxBitmap &) result);
23068 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
23069 }
23070 return resultobj;
23071 fail:
23072 return NULL;
23073 }
23074
23075
23076 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
23077 PyObject *resultobj;
23078 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
23079 wxBitmap *arg2 = 0 ;
23080 PyObject * obj0 = 0 ;
23081 PyObject * obj1 = 0 ;
23082 char *kwnames[] = {
23083 (char *) "self",(char *) "bitmap", NULL
23084 };
23085
23086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
23087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23088 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23089 if (arg2 == NULL) {
23090 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23091 }
23092 {
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 (arg1)->SetBitmap((wxBitmap const &)*arg2);
23095
23096 wxPyEndAllowThreads(__tstate);
23097 if (PyErr_Occurred()) SWIG_fail;
23098 }
23099 Py_INCREF(Py_None); resultobj = Py_None;
23100 return resultobj;
23101 fail:
23102 return NULL;
23103 }
23104
23105
23106 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
23107 PyObject *obj;
23108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23109 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
23110 Py_INCREF(obj);
23111 return Py_BuildValue((char *)"");
23112 }
23113 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23114 PyObject *resultobj;
23115 wxBitmap const &arg1_defvalue = wxNullBitmap ;
23116 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
23117 wxPyBitmapDataObject *result;
23118 PyObject * obj0 = 0 ;
23119 char *kwnames[] = {
23120 (char *) "bitmap", NULL
23121 };
23122
23123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
23124 if (obj0) {
23125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23126 if (arg1 == NULL) {
23127 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23128 }
23129 }
23130 {
23131 PyThreadState* __tstate = wxPyBeginAllowThreads();
23132 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
23133
23134 wxPyEndAllowThreads(__tstate);
23135 if (PyErr_Occurred()) SWIG_fail;
23136 }
23137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
23138 return resultobj;
23139 fail:
23140 return NULL;
23141 }
23142
23143
23144 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23145 PyObject *resultobj;
23146 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
23147 PyObject *arg2 = (PyObject *) 0 ;
23148 PyObject *arg3 = (PyObject *) 0 ;
23149 PyObject * obj0 = 0 ;
23150 PyObject * obj1 = 0 ;
23151 PyObject * obj2 = 0 ;
23152 char *kwnames[] = {
23153 (char *) "self",(char *) "self",(char *) "_class", NULL
23154 };
23155
23156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23158 arg2 = obj1;
23159 arg3 = obj2;
23160 {
23161 PyThreadState* __tstate = wxPyBeginAllowThreads();
23162 (arg1)->_setCallbackInfo(arg2,arg3);
23163
23164 wxPyEndAllowThreads(__tstate);
23165 if (PyErr_Occurred()) SWIG_fail;
23166 }
23167 Py_INCREF(Py_None); resultobj = Py_None;
23168 return resultobj;
23169 fail:
23170 return NULL;
23171 }
23172
23173
23174 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
23175 PyObject *obj;
23176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23177 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
23178 Py_INCREF(obj);
23179 return Py_BuildValue((char *)"");
23180 }
23181 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23182 PyObject *resultobj;
23183 wxFileDataObject *result;
23184 char *kwnames[] = {
23185 NULL
23186 };
23187
23188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
23189 {
23190 PyThreadState* __tstate = wxPyBeginAllowThreads();
23191 result = (wxFileDataObject *)new wxFileDataObject();
23192
23193 wxPyEndAllowThreads(__tstate);
23194 if (PyErr_Occurred()) SWIG_fail;
23195 }
23196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
23197 return resultobj;
23198 fail:
23199 return NULL;
23200 }
23201
23202
23203 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
23204 PyObject *resultobj;
23205 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
23206 wxArrayString *result;
23207 PyObject * obj0 = 0 ;
23208 char *kwnames[] = {
23209 (char *) "self", NULL
23210 };
23211
23212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
23213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 {
23217 wxArrayString const &_result_ref = (arg1)->GetFilenames();
23218 result = (wxArrayString *) &_result_ref;
23219 }
23220
23221 wxPyEndAllowThreads(__tstate);
23222 if (PyErr_Occurred()) SWIG_fail;
23223 }
23224 {
23225 resultobj = wxArrayString2PyList_helper(*result);
23226 }
23227 return resultobj;
23228 fail:
23229 return NULL;
23230 }
23231
23232
23233 static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
23234 PyObject *resultobj;
23235 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
23236 wxString *arg2 = 0 ;
23237 bool temp2 = False ;
23238 PyObject * obj0 = 0 ;
23239 PyObject * obj1 = 0 ;
23240 char *kwnames[] = {
23241 (char *) "self",(char *) "filename", NULL
23242 };
23243
23244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
23245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23246 {
23247 arg2 = wxString_in_helper(obj1);
23248 if (arg2 == NULL) SWIG_fail;
23249 temp2 = True;
23250 }
23251 {
23252 PyThreadState* __tstate = wxPyBeginAllowThreads();
23253 (arg1)->AddFile((wxString const &)*arg2);
23254
23255 wxPyEndAllowThreads(__tstate);
23256 if (PyErr_Occurred()) SWIG_fail;
23257 }
23258 Py_INCREF(Py_None); resultobj = Py_None;
23259 {
23260 if (temp2)
23261 delete arg2;
23262 }
23263 return resultobj;
23264 fail:
23265 {
23266 if (temp2)
23267 delete arg2;
23268 }
23269 return NULL;
23270 }
23271
23272
23273 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
23274 PyObject *obj;
23275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23276 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
23277 Py_INCREF(obj);
23278 return Py_BuildValue((char *)"");
23279 }
23280 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23281 PyObject *resultobj;
23282 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
23283 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
23284 wxCustomDataObject *result;
23285 PyObject * obj0 = 0 ;
23286 char *kwnames[] = {
23287 (char *) "format", NULL
23288 };
23289
23290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
23291 if (obj0) {
23292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23293 if (arg1 == NULL) {
23294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23295 }
23296 }
23297 {
23298 PyThreadState* __tstate = wxPyBeginAllowThreads();
23299 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
23300
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
23305 return resultobj;
23306 fail:
23307 return NULL;
23308 }
23309
23310
23311 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
23312 PyObject *resultobj;
23313 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23314 PyObject *arg2 = (PyObject *) 0 ;
23315 PyObject * obj0 = 0 ;
23316 PyObject * obj1 = 0 ;
23317 char *kwnames[] = {
23318 (char *) "self",(char *) "data", NULL
23319 };
23320
23321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
23322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23323 arg2 = obj1;
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 wxCustomDataObject_TakeData(arg1,arg2);
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 Py_INCREF(Py_None); resultobj = Py_None;
23332 return resultobj;
23333 fail:
23334 return NULL;
23335 }
23336
23337
23338 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23339 PyObject *resultobj;
23340 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23341 PyObject *arg2 = (PyObject *) 0 ;
23342 bool result;
23343 PyObject * obj0 = 0 ;
23344 PyObject * obj1 = 0 ;
23345 char *kwnames[] = {
23346 (char *) "self",(char *) "data", NULL
23347 };
23348
23349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
23350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23351 arg2 = obj1;
23352 {
23353 PyThreadState* __tstate = wxPyBeginAllowThreads();
23354 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
23355
23356 wxPyEndAllowThreads(__tstate);
23357 if (PyErr_Occurred()) SWIG_fail;
23358 }
23359 resultobj = PyInt_FromLong((long)result);
23360 return resultobj;
23361 fail:
23362 return NULL;
23363 }
23364
23365
23366 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23367 PyObject *resultobj;
23368 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23369 size_t result;
23370 PyObject * obj0 = 0 ;
23371 char *kwnames[] = {
23372 (char *) "self", NULL
23373 };
23374
23375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
23376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23377 {
23378 PyThreadState* __tstate = wxPyBeginAllowThreads();
23379 result = (size_t)(arg1)->GetSize();
23380
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
23385 return resultobj;
23386 fail:
23387 return NULL;
23388 }
23389
23390
23391 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23392 PyObject *resultobj;
23393 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23394 PyObject *result;
23395 PyObject * obj0 = 0 ;
23396 char *kwnames[] = {
23397 (char *) "self", NULL
23398 };
23399
23400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
23401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23402 {
23403 PyThreadState* __tstate = wxPyBeginAllowThreads();
23404 result = (PyObject *)wxCustomDataObject_GetData(arg1);
23405
23406 wxPyEndAllowThreads(__tstate);
23407 if (PyErr_Occurred()) SWIG_fail;
23408 }
23409 resultobj = result;
23410 return resultobj;
23411 fail:
23412 return NULL;
23413 }
23414
23415
23416 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
23417 PyObject *obj;
23418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23419 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
23420 Py_INCREF(obj);
23421 return Py_BuildValue((char *)"");
23422 }
23423 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23424 PyObject *resultobj;
23425 wxURLDataObject *result;
23426 char *kwnames[] = {
23427 NULL
23428 };
23429
23430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 result = (wxURLDataObject *)new wxURLDataObject();
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
23439 return resultobj;
23440 fail:
23441 return NULL;
23442 }
23443
23444
23445 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23446 PyObject *resultobj;
23447 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23448 wxString result;
23449 PyObject * obj0 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
23455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23456 {
23457 PyThreadState* __tstate = wxPyBeginAllowThreads();
23458 result = (arg1)->GetURL();
23459
23460 wxPyEndAllowThreads(__tstate);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 }
23463 {
23464 #if wxUSE_UNICODE
23465 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23466 #else
23467 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23468 #endif
23469 }
23470 return resultobj;
23471 fail:
23472 return NULL;
23473 }
23474
23475
23476 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23477 PyObject *resultobj;
23478 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23479 wxString *arg2 = 0 ;
23480 bool temp2 = False ;
23481 PyObject * obj0 = 0 ;
23482 PyObject * obj1 = 0 ;
23483 char *kwnames[] = {
23484 (char *) "self",(char *) "url", NULL
23485 };
23486
23487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
23488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23489 {
23490 arg2 = wxString_in_helper(obj1);
23491 if (arg2 == NULL) SWIG_fail;
23492 temp2 = True;
23493 }
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 (arg1)->SetURL((wxString const &)*arg2);
23497
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 Py_INCREF(Py_None); resultobj = Py_None;
23502 {
23503 if (temp2)
23504 delete arg2;
23505 }
23506 return resultobj;
23507 fail:
23508 {
23509 if (temp2)
23510 delete arg2;
23511 }
23512 return NULL;
23513 }
23514
23515
23516 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
23517 PyObject *obj;
23518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23519 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
23520 Py_INCREF(obj);
23521 return Py_BuildValue((char *)"");
23522 }
23523 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23524 PyObject *resultobj;
23525 wxMetafileDataObject *result;
23526 char *kwnames[] = {
23527 NULL
23528 };
23529
23530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
23531 {
23532 PyThreadState* __tstate = wxPyBeginAllowThreads();
23533 result = (wxMetafileDataObject *)new wxMetafileDataObject();
23534
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
23538 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
23539 return resultobj;
23540 fail:
23541 return NULL;
23542 }
23543
23544
23545 static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23546 PyObject *resultobj;
23547 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23548 wxMetafile *arg2 = 0 ;
23549 PyObject * obj0 = 0 ;
23550 PyObject * obj1 = 0 ;
23551 char *kwnames[] = {
23552 (char *) "self",(char *) "metafile", NULL
23553 };
23554
23555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
23556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMetafile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23558 if (arg2 == NULL) {
23559 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23560 }
23561 {
23562 PyThreadState* __tstate = wxPyBeginAllowThreads();
23563 (arg1)->SetMetafile((wxMetafile const &)*arg2);
23564
23565 wxPyEndAllowThreads(__tstate);
23566 if (PyErr_Occurred()) SWIG_fail;
23567 }
23568 Py_INCREF(Py_None); resultobj = Py_None;
23569 return resultobj;
23570 fail:
23571 return NULL;
23572 }
23573
23574
23575 static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23576 PyObject *resultobj;
23577 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23578 wxMetafile result;
23579 PyObject * obj0 = 0 ;
23580 char *kwnames[] = {
23581 (char *) "self", NULL
23582 };
23583
23584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
23585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23586 {
23587 PyThreadState* __tstate = wxPyBeginAllowThreads();
23588 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
23589
23590 wxPyEndAllowThreads(__tstate);
23591 if (PyErr_Occurred()) SWIG_fail;
23592 }
23593 {
23594 wxMetafile * resultptr;
23595 resultptr = new wxMetafile((wxMetafile &) result);
23596 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMetafile, 1);
23597 }
23598 return resultobj;
23599 fail:
23600 return NULL;
23601 }
23602
23603
23604 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
23605 PyObject *obj;
23606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23607 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
23608 Py_INCREF(obj);
23609 return Py_BuildValue((char *)"");
23610 }
23611 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23612 PyObject *resultobj;
23613 int arg1 ;
23614 bool result;
23615 char *kwnames[] = {
23616 (char *) "res", NULL
23617 };
23618
23619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
23620 {
23621 PyThreadState* __tstate = wxPyBeginAllowThreads();
23622 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
23623
23624 wxPyEndAllowThreads(__tstate);
23625 if (PyErr_Occurred()) SWIG_fail;
23626 }
23627 resultobj = PyInt_FromLong((long)result);
23628 return resultobj;
23629 fail:
23630 return NULL;
23631 }
23632
23633
23634 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23635 PyObject *resultobj;
23636 wxWindow *arg1 = (wxWindow *) 0 ;
23637 wxCursor const &arg2_defvalue = wxNullCursor ;
23638 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
23639 wxCursor const &arg3_defvalue = wxNullCursor ;
23640 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
23641 wxCursor const &arg4_defvalue = wxNullCursor ;
23642 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
23643 wxPyDropSource *result;
23644 PyObject * obj0 = 0 ;
23645 PyObject * obj1 = 0 ;
23646 PyObject * obj2 = 0 ;
23647 PyObject * obj3 = 0 ;
23648 char *kwnames[] = {
23649 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23650 };
23651
23652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23654 if (obj1) {
23655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23656 if (arg2 == NULL) {
23657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23658 }
23659 }
23660 if (obj2) {
23661 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23662 if (arg3 == NULL) {
23663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23664 }
23665 }
23666 if (obj3) {
23667 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23668 if (arg4 == NULL) {
23669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23670 }
23671 }
23672 {
23673 PyThreadState* __tstate = wxPyBeginAllowThreads();
23674 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
23675
23676 wxPyEndAllowThreads(__tstate);
23677 if (PyErr_Occurred()) SWIG_fail;
23678 }
23679 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23680 return resultobj;
23681 fail:
23682 return NULL;
23683 }
23684
23685
23686 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23687 PyObject *resultobj;
23688 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23689 PyObject *arg2 = (PyObject *) 0 ;
23690 PyObject *arg3 = (PyObject *) 0 ;
23691 int arg4 ;
23692 PyObject * obj0 = 0 ;
23693 PyObject * obj1 = 0 ;
23694 PyObject * obj2 = 0 ;
23695 char *kwnames[] = {
23696 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23697 };
23698
23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23701 arg2 = obj1;
23702 arg3 = obj2;
23703 {
23704 PyThreadState* __tstate = wxPyBeginAllowThreads();
23705 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23706
23707 wxPyEndAllowThreads(__tstate);
23708 if (PyErr_Occurred()) SWIG_fail;
23709 }
23710 Py_INCREF(Py_None); resultobj = Py_None;
23711 return resultobj;
23712 fail:
23713 return NULL;
23714 }
23715
23716
23717 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23718 PyObject *resultobj;
23719 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23720 PyObject * obj0 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23727 {
23728 PyThreadState* __tstate = wxPyBeginAllowThreads();
23729 delete arg1;
23730
23731 wxPyEndAllowThreads(__tstate);
23732 if (PyErr_Occurred()) SWIG_fail;
23733 }
23734 Py_INCREF(Py_None); resultobj = Py_None;
23735 return resultobj;
23736 fail:
23737 return NULL;
23738 }
23739
23740
23741 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23742 PyObject *resultobj;
23743 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23744 wxDataObject *arg2 = 0 ;
23745 PyObject * obj0 = 0 ;
23746 PyObject * obj1 = 0 ;
23747 char *kwnames[] = {
23748 (char *) "self",(char *) "data", NULL
23749 };
23750
23751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23754 if (arg2 == NULL) {
23755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23756 }
23757 {
23758 PyThreadState* __tstate = wxPyBeginAllowThreads();
23759 (arg1)->SetData(*arg2);
23760
23761 wxPyEndAllowThreads(__tstate);
23762 if (PyErr_Occurred()) SWIG_fail;
23763 }
23764 Py_INCREF(Py_None); resultobj = Py_None;
23765 return resultobj;
23766 fail:
23767 return NULL;
23768 }
23769
23770
23771 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23772 PyObject *resultobj;
23773 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23774 wxDataObject *result;
23775 PyObject * obj0 = 0 ;
23776 char *kwnames[] = {
23777 (char *) "self", NULL
23778 };
23779
23780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23782 {
23783 PyThreadState* __tstate = wxPyBeginAllowThreads();
23784 result = (wxDataObject *)(arg1)->GetDataObject();
23785
23786 wxPyEndAllowThreads(__tstate);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 }
23789 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23790 return resultobj;
23791 fail:
23792 return NULL;
23793 }
23794
23795
23796 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23797 PyObject *resultobj;
23798 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23799 int arg2 ;
23800 wxCursor *arg3 = 0 ;
23801 PyObject * obj0 = 0 ;
23802 PyObject * obj2 = 0 ;
23803 char *kwnames[] = {
23804 (char *) "self",(char *) "res",(char *) "cursor", NULL
23805 };
23806
23807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23809 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23810 if (arg3 == NULL) {
23811 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23812 }
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23816
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 Py_INCREF(Py_None); resultobj = Py_None;
23821 return resultobj;
23822 fail:
23823 return NULL;
23824 }
23825
23826
23827 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23828 PyObject *resultobj;
23829 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23830 int arg2 = (int) wxDrag_CopyOnly ;
23831 int result;
23832 PyObject * obj0 = 0 ;
23833 char *kwnames[] = {
23834 (char *) "self",(char *) "flags", NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23839 {
23840 PyThreadState* __tstate = wxPyBeginAllowThreads();
23841 result = (int)(arg1)->DoDragDrop(arg2);
23842
23843 wxPyEndAllowThreads(__tstate);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
23846 resultobj = PyInt_FromLong((long)result);
23847 return resultobj;
23848 fail:
23849 return NULL;
23850 }
23851
23852
23853 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23854 PyObject *resultobj;
23855 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23856 int arg2 ;
23857 bool result;
23858 PyObject * obj0 = 0 ;
23859 char *kwnames[] = {
23860 (char *) "self",(char *) "effect", NULL
23861 };
23862
23863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23865 {
23866 PyThreadState* __tstate = wxPyBeginAllowThreads();
23867 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23868
23869 wxPyEndAllowThreads(__tstate);
23870 if (PyErr_Occurred()) SWIG_fail;
23871 }
23872 resultobj = PyInt_FromLong((long)result);
23873 return resultobj;
23874 fail:
23875 return NULL;
23876 }
23877
23878
23879 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23880 PyObject *obj;
23881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23882 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23883 Py_INCREF(obj);
23884 return Py_BuildValue((char *)"");
23885 }
23886 static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23887 PyObject *resultobj;
23888 wxDataObject *arg1 = (wxDataObject *) NULL ;
23889 wxPyDropTarget *result;
23890 PyObject * obj0 = 0 ;
23891 char *kwnames[] = {
23892 (char *) "dataObject", NULL
23893 };
23894
23895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
23896 if (obj0) {
23897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23898 }
23899 {
23900 PyThreadState* __tstate = wxPyBeginAllowThreads();
23901 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23902
23903 wxPyEndAllowThreads(__tstate);
23904 if (PyErr_Occurred()) SWIG_fail;
23905 }
23906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23907 return resultobj;
23908 fail:
23909 return NULL;
23910 }
23911
23912
23913 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23914 PyObject *resultobj;
23915 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23916 PyObject *arg2 = (PyObject *) 0 ;
23917 PyObject *arg3 = (PyObject *) 0 ;
23918 PyObject * obj0 = 0 ;
23919 PyObject * obj1 = 0 ;
23920 PyObject * obj2 = 0 ;
23921 char *kwnames[] = {
23922 (char *) "self",(char *) "self",(char *) "_class", NULL
23923 };
23924
23925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23927 arg2 = obj1;
23928 arg3 = obj2;
23929 {
23930 PyThreadState* __tstate = wxPyBeginAllowThreads();
23931 (arg1)->_setCallbackInfo(arg2,arg3);
23932
23933 wxPyEndAllowThreads(__tstate);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 }
23936 Py_INCREF(Py_None); resultobj = Py_None;
23937 return resultobj;
23938 fail:
23939 return NULL;
23940 }
23941
23942
23943 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23944 PyObject *resultobj;
23945 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23946 PyObject * obj0 = 0 ;
23947 char *kwnames[] = {
23948 (char *) "self", NULL
23949 };
23950
23951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23953 {
23954 PyThreadState* __tstate = wxPyBeginAllowThreads();
23955 delete arg1;
23956
23957 wxPyEndAllowThreads(__tstate);
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 Py_INCREF(Py_None); resultobj = Py_None;
23961 return resultobj;
23962 fail:
23963 return NULL;
23964 }
23965
23966
23967 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23968 PyObject *resultobj;
23969 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23970 wxDataObject *result;
23971 PyObject * obj0 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23978 {
23979 PyThreadState* __tstate = wxPyBeginAllowThreads();
23980 result = (wxDataObject *)(arg1)->GetDataObject();
23981
23982 wxPyEndAllowThreads(__tstate);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 }
23985 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23986 return resultobj;
23987 fail:
23988 return NULL;
23989 }
23990
23991
23992 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23993 PyObject *resultobj;
23994 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23995 wxDataObject *arg2 = (wxDataObject *) 0 ;
23996 PyObject * obj0 = 0 ;
23997 PyObject * obj1 = 0 ;
23998 char *kwnames[] = {
23999 (char *) "self",(char *) "dataObject", NULL
24000 };
24001
24002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
24003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 (arg1)->SetDataObject(arg2);
24008
24009 wxPyEndAllowThreads(__tstate);
24010 if (PyErr_Occurred()) SWIG_fail;
24011 }
24012 Py_INCREF(Py_None); resultobj = Py_None;
24013 return resultobj;
24014 fail:
24015 return NULL;
24016 }
24017
24018
24019 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
24020 PyObject *resultobj;
24021 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
24022 int arg2 ;
24023 int arg3 ;
24024 int arg4 ;
24025 int result;
24026 PyObject * obj0 = 0 ;
24027 char *kwnames[] = {
24028 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24029 };
24030
24031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24033 {
24034 PyThreadState* __tstate = wxPyBeginAllowThreads();
24035 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
24036
24037 wxPyEndAllowThreads(__tstate);
24038 if (PyErr_Occurred()) SWIG_fail;
24039 }
24040 resultobj = PyInt_FromLong((long)result);
24041 return resultobj;
24042 fail:
24043 return NULL;
24044 }
24045
24046
24047 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
24048 PyObject *resultobj;
24049 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
24050 int arg2 ;
24051 int arg3 ;
24052 int arg4 ;
24053 int result;
24054 PyObject * obj0 = 0 ;
24055 char *kwnames[] = {
24056 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24057 };
24058
24059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24061 {
24062 PyThreadState* __tstate = wxPyBeginAllowThreads();
24063 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
24064
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 resultobj = PyInt_FromLong((long)result);
24069 return resultobj;
24070 fail:
24071 return NULL;
24072 }
24073
24074
24075 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
24076 PyObject *resultobj;
24077 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
24078 PyObject * obj0 = 0 ;
24079 char *kwnames[] = {
24080 (char *) "self", NULL
24081 };
24082
24083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
24084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 (arg1)->base_OnLeave();
24088
24089 wxPyEndAllowThreads(__tstate);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
24092 Py_INCREF(Py_None); resultobj = Py_None;
24093 return resultobj;
24094 fail:
24095 return NULL;
24096 }
24097
24098
24099 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
24100 PyObject *resultobj;
24101 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
24102 int arg2 ;
24103 int arg3 ;
24104 bool result;
24105 PyObject * obj0 = 0 ;
24106 char *kwnames[] = {
24107 (char *) "self",(char *) "x",(char *) "y", NULL
24108 };
24109
24110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
24111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24112 {
24113 PyThreadState* __tstate = wxPyBeginAllowThreads();
24114 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
24115
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 resultobj = PyInt_FromLong((long)result);
24120 return resultobj;
24121 fail:
24122 return NULL;
24123 }
24124
24125
24126 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24127 PyObject *resultobj;
24128 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
24129 bool result;
24130 PyObject * obj0 = 0 ;
24131 char *kwnames[] = {
24132 (char *) "self", NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
24136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24137 {
24138 PyThreadState* __tstate = wxPyBeginAllowThreads();
24139 result = (bool)(arg1)->GetData();
24140
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 resultobj = PyInt_FromLong((long)result);
24145 return resultobj;
24146 fail:
24147 return NULL;
24148 }
24149
24150
24151 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
24152 PyObject *obj;
24153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24154 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
24155 Py_INCREF(obj);
24156 return Py_BuildValue((char *)"");
24157 }
24158 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24159 PyObject *resultobj;
24160 wxPyTextDropTarget *result;
24161 char *kwnames[] = {
24162 NULL
24163 };
24164
24165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
24166 {
24167 PyThreadState* __tstate = wxPyBeginAllowThreads();
24168 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
24169
24170 wxPyEndAllowThreads(__tstate);
24171 if (PyErr_Occurred()) SWIG_fail;
24172 }
24173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
24174 return resultobj;
24175 fail:
24176 return NULL;
24177 }
24178
24179
24180 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24181 PyObject *resultobj;
24182 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
24183 PyObject *arg2 = (PyObject *) 0 ;
24184 PyObject *arg3 = (PyObject *) 0 ;
24185 PyObject * obj0 = 0 ;
24186 PyObject * obj1 = 0 ;
24187 PyObject * obj2 = 0 ;
24188 char *kwnames[] = {
24189 (char *) "self",(char *) "self",(char *) "_class", NULL
24190 };
24191
24192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24194 arg2 = obj1;
24195 arg3 = obj2;
24196 {
24197 PyThreadState* __tstate = wxPyBeginAllowThreads();
24198 (arg1)->_setCallbackInfo(arg2,arg3);
24199
24200 wxPyEndAllowThreads(__tstate);
24201 if (PyErr_Occurred()) SWIG_fail;
24202 }
24203 Py_INCREF(Py_None); resultobj = Py_None;
24204 return resultobj;
24205 fail:
24206 return NULL;
24207 }
24208
24209
24210 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
24211 PyObject *resultobj;
24212 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
24213 int arg2 ;
24214 int arg3 ;
24215 int arg4 ;
24216 int result;
24217 PyObject * obj0 = 0 ;
24218 char *kwnames[] = {
24219 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24220 };
24221
24222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
24227
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
24231 resultobj = PyInt_FromLong((long)result);
24232 return resultobj;
24233 fail:
24234 return NULL;
24235 }
24236
24237
24238 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
24239 PyObject *resultobj;
24240 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
24241 int arg2 ;
24242 int arg3 ;
24243 int arg4 ;
24244 int result;
24245 PyObject * obj0 = 0 ;
24246 char *kwnames[] = {
24247 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24248 };
24249
24250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24252 {
24253 PyThreadState* __tstate = wxPyBeginAllowThreads();
24254 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
24255
24256 wxPyEndAllowThreads(__tstate);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 resultobj = PyInt_FromLong((long)result);
24260 return resultobj;
24261 fail:
24262 return NULL;
24263 }
24264
24265
24266 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
24267 PyObject *resultobj;
24268 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
24269 PyObject * obj0 = 0 ;
24270 char *kwnames[] = {
24271 (char *) "self", NULL
24272 };
24273
24274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
24275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24276 {
24277 PyThreadState* __tstate = wxPyBeginAllowThreads();
24278 (arg1)->base_OnLeave();
24279
24280 wxPyEndAllowThreads(__tstate);
24281 if (PyErr_Occurred()) SWIG_fail;
24282 }
24283 Py_INCREF(Py_None); resultobj = Py_None;
24284 return resultobj;
24285 fail:
24286 return NULL;
24287 }
24288
24289
24290 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
24291 PyObject *resultobj;
24292 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
24293 int arg2 ;
24294 int arg3 ;
24295 bool result;
24296 PyObject * obj0 = 0 ;
24297 char *kwnames[] = {
24298 (char *) "self",(char *) "x",(char *) "y", NULL
24299 };
24300
24301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
24302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24303 {
24304 PyThreadState* __tstate = wxPyBeginAllowThreads();
24305 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
24306
24307 wxPyEndAllowThreads(__tstate);
24308 if (PyErr_Occurred()) SWIG_fail;
24309 }
24310 resultobj = PyInt_FromLong((long)result);
24311 return resultobj;
24312 fail:
24313 return NULL;
24314 }
24315
24316
24317 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
24318 PyObject *resultobj;
24319 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
24320 int arg2 ;
24321 int arg3 ;
24322 int arg4 ;
24323 int result;
24324 PyObject * obj0 = 0 ;
24325 char *kwnames[] = {
24326 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24327 };
24328
24329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24331 {
24332 PyThreadState* __tstate = wxPyBeginAllowThreads();
24333 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24334
24335 wxPyEndAllowThreads(__tstate);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 }
24338 resultobj = PyInt_FromLong((long)result);
24339 return resultobj;
24340 fail:
24341 return NULL;
24342 }
24343
24344
24345 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
24346 PyObject *obj;
24347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24348 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
24349 Py_INCREF(obj);
24350 return Py_BuildValue((char *)"");
24351 }
24352 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24353 PyObject *resultobj;
24354 wxPyFileDropTarget *result;
24355 char *kwnames[] = {
24356 NULL
24357 };
24358
24359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
24363
24364 wxPyEndAllowThreads(__tstate);
24365 if (PyErr_Occurred()) SWIG_fail;
24366 }
24367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
24368 return resultobj;
24369 fail:
24370 return NULL;
24371 }
24372
24373
24374 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24375 PyObject *resultobj;
24376 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24377 PyObject *arg2 = (PyObject *) 0 ;
24378 PyObject *arg3 = (PyObject *) 0 ;
24379 PyObject * obj0 = 0 ;
24380 PyObject * obj1 = 0 ;
24381 PyObject * obj2 = 0 ;
24382 char *kwnames[] = {
24383 (char *) "self",(char *) "self",(char *) "_class", NULL
24384 };
24385
24386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24388 arg2 = obj1;
24389 arg3 = obj2;
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 (arg1)->_setCallbackInfo(arg2,arg3);
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 Py_INCREF(Py_None); resultobj = Py_None;
24398 return resultobj;
24399 fail:
24400 return NULL;
24401 }
24402
24403
24404 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
24405 PyObject *resultobj;
24406 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24407 int arg2 ;
24408 int arg3 ;
24409 int arg4 ;
24410 int result;
24411 PyObject * obj0 = 0 ;
24412 char *kwnames[] = {
24413 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24414 };
24415
24416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24418 {
24419 PyThreadState* __tstate = wxPyBeginAllowThreads();
24420 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
24421
24422 wxPyEndAllowThreads(__tstate);
24423 if (PyErr_Occurred()) SWIG_fail;
24424 }
24425 resultobj = PyInt_FromLong((long)result);
24426 return resultobj;
24427 fail:
24428 return NULL;
24429 }
24430
24431
24432 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
24433 PyObject *resultobj;
24434 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24435 int arg2 ;
24436 int arg3 ;
24437 int arg4 ;
24438 int result;
24439 PyObject * obj0 = 0 ;
24440 char *kwnames[] = {
24441 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24442 };
24443
24444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24446 {
24447 PyThreadState* __tstate = wxPyBeginAllowThreads();
24448 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
24449
24450 wxPyEndAllowThreads(__tstate);
24451 if (PyErr_Occurred()) SWIG_fail;
24452 }
24453 resultobj = PyInt_FromLong((long)result);
24454 return resultobj;
24455 fail:
24456 return NULL;
24457 }
24458
24459
24460 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
24461 PyObject *resultobj;
24462 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24463 PyObject * obj0 = 0 ;
24464 char *kwnames[] = {
24465 (char *) "self", NULL
24466 };
24467
24468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
24469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24470 {
24471 PyThreadState* __tstate = wxPyBeginAllowThreads();
24472 (arg1)->base_OnLeave();
24473
24474 wxPyEndAllowThreads(__tstate);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 }
24477 Py_INCREF(Py_None); resultobj = Py_None;
24478 return resultobj;
24479 fail:
24480 return NULL;
24481 }
24482
24483
24484 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
24485 PyObject *resultobj;
24486 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24487 int arg2 ;
24488 int arg3 ;
24489 bool result;
24490 PyObject * obj0 = 0 ;
24491 char *kwnames[] = {
24492 (char *) "self",(char *) "x",(char *) "y", NULL
24493 };
24494
24495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
24496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
24500
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
24504 resultobj = PyInt_FromLong((long)result);
24505 return resultobj;
24506 fail:
24507 return NULL;
24508 }
24509
24510
24511 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
24512 PyObject *resultobj;
24513 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24514 int arg2 ;
24515 int arg3 ;
24516 int arg4 ;
24517 int result;
24518 PyObject * obj0 = 0 ;
24519 char *kwnames[] = {
24520 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24521 };
24522
24523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24528
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 resultobj = PyInt_FromLong((long)result);
24533 return resultobj;
24534 fail:
24535 return NULL;
24536 }
24537
24538
24539 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
24540 PyObject *obj;
24541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24542 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
24543 Py_INCREF(obj);
24544 return Py_BuildValue((char *)"");
24545 }
24546 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24547 PyObject *resultobj;
24548 wxClipboard *result;
24549 char *kwnames[] = {
24550 NULL
24551 };
24552
24553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 result = (wxClipboard *)new wxClipboard();
24557
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
24562 return resultobj;
24563 fail:
24564 return NULL;
24565 }
24566
24567
24568 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24569 PyObject *resultobj;
24570 wxClipboard *arg1 = (wxClipboard *) 0 ;
24571 PyObject * obj0 = 0 ;
24572 char *kwnames[] = {
24573 (char *) "self", NULL
24574 };
24575
24576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
24577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24578 {
24579 PyThreadState* __tstate = wxPyBeginAllowThreads();
24580 delete arg1;
24581
24582 wxPyEndAllowThreads(__tstate);
24583 if (PyErr_Occurred()) SWIG_fail;
24584 }
24585 Py_INCREF(Py_None); resultobj = Py_None;
24586 return resultobj;
24587 fail:
24588 return NULL;
24589 }
24590
24591
24592 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
24593 PyObject *resultobj;
24594 wxClipboard *arg1 = (wxClipboard *) 0 ;
24595 bool result;
24596 PyObject * obj0 = 0 ;
24597 char *kwnames[] = {
24598 (char *) "self", NULL
24599 };
24600
24601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
24602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24603 {
24604 PyThreadState* __tstate = wxPyBeginAllowThreads();
24605 result = (bool)(arg1)->Open();
24606
24607 wxPyEndAllowThreads(__tstate);
24608 if (PyErr_Occurred()) SWIG_fail;
24609 }
24610 resultobj = PyInt_FromLong((long)result);
24611 return resultobj;
24612 fail:
24613 return NULL;
24614 }
24615
24616
24617 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
24618 PyObject *resultobj;
24619 wxClipboard *arg1 = (wxClipboard *) 0 ;
24620 PyObject * obj0 = 0 ;
24621 char *kwnames[] = {
24622 (char *) "self", NULL
24623 };
24624
24625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
24626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24627 {
24628 PyThreadState* __tstate = wxPyBeginAllowThreads();
24629 (arg1)->Close();
24630
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 Py_INCREF(Py_None); resultobj = Py_None;
24635 return resultobj;
24636 fail:
24637 return NULL;
24638 }
24639
24640
24641 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
24642 PyObject *resultobj;
24643 wxClipboard *arg1 = (wxClipboard *) 0 ;
24644 bool result;
24645 PyObject * obj0 = 0 ;
24646 char *kwnames[] = {
24647 (char *) "self", NULL
24648 };
24649
24650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
24651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24652 {
24653 PyThreadState* __tstate = wxPyBeginAllowThreads();
24654 result = (bool)((wxClipboard const *)arg1)->IsOpened();
24655
24656 wxPyEndAllowThreads(__tstate);
24657 if (PyErr_Occurred()) SWIG_fail;
24658 }
24659 resultobj = PyInt_FromLong((long)result);
24660 return resultobj;
24661 fail:
24662 return NULL;
24663 }
24664
24665
24666 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24667 PyObject *resultobj;
24668 wxClipboard *arg1 = (wxClipboard *) 0 ;
24669 wxDataObject *arg2 = (wxDataObject *) 0 ;
24670 bool result;
24671 PyObject * obj0 = 0 ;
24672 PyObject * obj1 = 0 ;
24673 char *kwnames[] = {
24674 (char *) "self",(char *) "data", NULL
24675 };
24676
24677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24679 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24680 {
24681 PyThreadState* __tstate = wxPyBeginAllowThreads();
24682 result = (bool)(arg1)->AddData(arg2);
24683
24684 wxPyEndAllowThreads(__tstate);
24685 if (PyErr_Occurred()) SWIG_fail;
24686 }
24687 resultobj = PyInt_FromLong((long)result);
24688 return resultobj;
24689 fail:
24690 return NULL;
24691 }
24692
24693
24694 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24695 PyObject *resultobj;
24696 wxClipboard *arg1 = (wxClipboard *) 0 ;
24697 wxDataObject *arg2 = (wxDataObject *) 0 ;
24698 bool result;
24699 PyObject * obj0 = 0 ;
24700 PyObject * obj1 = 0 ;
24701 char *kwnames[] = {
24702 (char *) "self",(char *) "data", NULL
24703 };
24704
24705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24708 {
24709 PyThreadState* __tstate = wxPyBeginAllowThreads();
24710 result = (bool)(arg1)->SetData(arg2);
24711
24712 wxPyEndAllowThreads(__tstate);
24713 if (PyErr_Occurred()) SWIG_fail;
24714 }
24715 resultobj = PyInt_FromLong((long)result);
24716 return resultobj;
24717 fail:
24718 return NULL;
24719 }
24720
24721
24722 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24723 PyObject *resultobj;
24724 wxClipboard *arg1 = (wxClipboard *) 0 ;
24725 wxDataFormat *arg2 = 0 ;
24726 bool result;
24727 PyObject * obj0 = 0 ;
24728 PyObject * obj1 = 0 ;
24729 char *kwnames[] = {
24730 (char *) "self",(char *) "format", NULL
24731 };
24732
24733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24736 if (arg2 == NULL) {
24737 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24738 }
24739 {
24740 PyThreadState* __tstate = wxPyBeginAllowThreads();
24741 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24742
24743 wxPyEndAllowThreads(__tstate);
24744 if (PyErr_Occurred()) SWIG_fail;
24745 }
24746 resultobj = PyInt_FromLong((long)result);
24747 return resultobj;
24748 fail:
24749 return NULL;
24750 }
24751
24752
24753 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24754 PyObject *resultobj;
24755 wxClipboard *arg1 = (wxClipboard *) 0 ;
24756 wxDataObject *arg2 = 0 ;
24757 bool result;
24758 PyObject * obj0 = 0 ;
24759 PyObject * obj1 = 0 ;
24760 char *kwnames[] = {
24761 (char *) "self",(char *) "data", NULL
24762 };
24763
24764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24767 if (arg2 == NULL) {
24768 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24769 }
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 result = (bool)(arg1)->GetData(*arg2);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 resultobj = PyInt_FromLong((long)result);
24778 return resultobj;
24779 fail:
24780 return NULL;
24781 }
24782
24783
24784 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24785 PyObject *resultobj;
24786 wxClipboard *arg1 = (wxClipboard *) 0 ;
24787 PyObject * obj0 = 0 ;
24788 char *kwnames[] = {
24789 (char *) "self", NULL
24790 };
24791
24792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24794 {
24795 PyThreadState* __tstate = wxPyBeginAllowThreads();
24796 (arg1)->Clear();
24797
24798 wxPyEndAllowThreads(__tstate);
24799 if (PyErr_Occurred()) SWIG_fail;
24800 }
24801 Py_INCREF(Py_None); resultobj = Py_None;
24802 return resultobj;
24803 fail:
24804 return NULL;
24805 }
24806
24807
24808 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24809 PyObject *resultobj;
24810 wxClipboard *arg1 = (wxClipboard *) 0 ;
24811 bool result;
24812 PyObject * obj0 = 0 ;
24813 char *kwnames[] = {
24814 (char *) "self", NULL
24815 };
24816
24817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24819 {
24820 PyThreadState* __tstate = wxPyBeginAllowThreads();
24821 result = (bool)(arg1)->Flush();
24822
24823 wxPyEndAllowThreads(__tstate);
24824 if (PyErr_Occurred()) SWIG_fail;
24825 }
24826 resultobj = PyInt_FromLong((long)result);
24827 return resultobj;
24828 fail:
24829 return NULL;
24830 }
24831
24832
24833 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24834 PyObject *resultobj;
24835 wxClipboard *arg1 = (wxClipboard *) 0 ;
24836 bool arg2 = (bool) False ;
24837 PyObject * obj0 = 0 ;
24838 PyObject * obj1 = 0 ;
24839 char *kwnames[] = {
24840 (char *) "self",(char *) "primary", NULL
24841 };
24842
24843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24845 if (obj1) {
24846 {
24847 arg2 = (bool) SPyObj_AsBool(obj1);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 }
24851 {
24852 PyThreadState* __tstate = wxPyBeginAllowThreads();
24853 (arg1)->UsePrimarySelection(arg2);
24854
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 Py_INCREF(Py_None); resultobj = Py_None;
24859 return resultobj;
24860 fail:
24861 return NULL;
24862 }
24863
24864
24865 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24866 PyObject *obj;
24867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24868 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24869 Py_INCREF(obj);
24870 return Py_BuildValue((char *)"");
24871 }
24872 static int _wrap_TheClipboard_set(PyObject *_val) {
24873 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24874 return 1;
24875 }
24876
24877
24878 static PyObject *_wrap_TheClipboard_get() {
24879 PyObject *pyobj;
24880
24881 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24882 return pyobj;
24883 }
24884
24885
24886 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24887 PyObject *resultobj;
24888 wxClipboard *arg1 = (wxClipboard *) NULL ;
24889 wxClipboardLocker *result;
24890 PyObject * obj0 = 0 ;
24891 char *kwnames[] = {
24892 (char *) "clipboard", NULL
24893 };
24894
24895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24896 if (obj0) {
24897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24898 }
24899 {
24900 PyThreadState* __tstate = wxPyBeginAllowThreads();
24901 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24902
24903 wxPyEndAllowThreads(__tstate);
24904 if (PyErr_Occurred()) SWIG_fail;
24905 }
24906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24907 return resultobj;
24908 fail:
24909 return NULL;
24910 }
24911
24912
24913 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24914 PyObject *resultobj;
24915 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24916 PyObject * obj0 = 0 ;
24917 char *kwnames[] = {
24918 (char *) "self", NULL
24919 };
24920
24921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 delete arg1;
24926
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
24930 Py_INCREF(Py_None); resultobj = Py_None;
24931 return resultobj;
24932 fail:
24933 return NULL;
24934 }
24935
24936
24937 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24938 PyObject *resultobj;
24939 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24940 bool result;
24941 PyObject * obj0 = 0 ;
24942 char *kwnames[] = {
24943 (char *) "self", NULL
24944 };
24945
24946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24948 {
24949 PyThreadState* __tstate = wxPyBeginAllowThreads();
24950 result = (bool)wxClipboardLocker___nonzero__(arg1);
24951
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 resultobj = PyInt_FromLong((long)result);
24956 return resultobj;
24957 fail:
24958 return NULL;
24959 }
24960
24961
24962 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24963 PyObject *obj;
24964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24965 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24966 Py_INCREF(obj);
24967 return Py_BuildValue((char *)"");
24968 }
24969 static PyMethodDef SwigMethods[] = {
24970 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24977 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24984 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
25044 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
25052 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
25068 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
25073 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
25076 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
25079 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
25085 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
25099 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
25105 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
25111 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
25114 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
25127 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
25130 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
25131 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
25134 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
25161 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
25163 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
25165 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
25167 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
25174 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
25180 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
25193 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
25198 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
25201 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
25218 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
25226 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
25272 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
25300 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
25306 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
25322 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
25338 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
25352 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
25361 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
25380 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
25383 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
25385 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
25389 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
25395 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
25396 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
25400 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
25404 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25406 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
25408 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
25411 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
25414 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
25416 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
25420 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
25423 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
25427 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
25429 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
25430 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
25432 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
25437 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
25441 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
25445 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
25447 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
25448 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
25449 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
25450 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
25451 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
25452 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
25453 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25454 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25455 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25456 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25457 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25458 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25459 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
25460 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25461 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25462 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
25463 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
25464 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25465 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25466 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
25467 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
25468 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25469 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
25470 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25471 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
25472 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
25473 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
25474 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
25475 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
25476 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
25477 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
25478 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
25479 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
25480 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
25481 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
25482 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
25483 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
25484 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
25485 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
25486 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
25487 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
25488 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
25489 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
25490 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
25491 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
25492 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25493 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
25494 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
25495 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
25496 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
25497 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
25498 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
25499 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
25500 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
25501 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
25502 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
25503 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
25504 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
25505 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
25506 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
25507 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
25508 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
25509 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
25510 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
25511 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
25512 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
25513 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
25514 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
25515 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
25516 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
25517 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
25518 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
25519 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
25520 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
25521 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
25522 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
25523 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
25524 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
25525 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
25526 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
25527 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
25528 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
25529 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
25530 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
25531 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
25532 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
25533 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
25534 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25535 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
25536 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25537 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25538 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
25539 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25540 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25541 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25542 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
25543 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25544 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25545 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25546 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25547 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
25548 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25549 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25550 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25551 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
25552 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
25553 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
25554 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
25555 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25556 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25557 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
25558 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
25559 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
25560 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25561 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
25562 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
25563 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25564 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25565 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
25566 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
25567 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
25568 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
25569 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
25570 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
25571 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
25572 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
25573 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
25574 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
25575 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25576 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
25577 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
25578 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
25579 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
25580 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
25581 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
25582 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
25583 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
25584 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
25585 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
25586 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
25587 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25588 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25589 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
25590 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
25591 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25592 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25593 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25594 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25595 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25596 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25597 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25598 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
25599 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25600 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25601 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25602 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25603 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25604 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
25605 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
25606 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
25607 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
25608 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
25609 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
25610 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
25611 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
25612 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
25613 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
25614 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
25615 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
25616 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
25617 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
25618 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
25619 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
25620 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
25621 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
25622 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
25623 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
25624 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
25625 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
25626 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25627 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
25628 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25629 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
25630 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
25631 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
25632 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25633 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25634 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
25635 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
25636 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
25637 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
25638 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
25639 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
25640 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
25641 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
25642 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
25643 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
25644 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25645 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
25646 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25647 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25648 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25649 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
25650 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25651 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25652 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
25653 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
25654 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25655 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
25656 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
25657 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
25658 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
25659 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25660 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25661 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25662 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25663 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25664 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25665 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25666 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25667 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25668 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
25669 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
25670 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25671 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25672 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25673 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25674 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25675 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25676 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25677 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25678 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25679 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25680 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
25681 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
25682 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25683 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25684 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25685 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25686 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25687 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25688 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25689 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25690 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25691 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25692 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25693 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25694 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25695 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25696 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25697 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25698 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25699 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25700 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25701 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25702 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25703 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25704 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25705 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25706 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25707 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25708 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25709 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25710 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25711 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25712 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25713 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25714 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25715 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25716 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25717 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25718 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25719 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25720 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25721 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25722 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25723 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25724 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25725 { NULL, NULL }
25726 };
25727
25728
25729 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25730
25731 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25732 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25733 }
25734 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25735 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25736 }
25737 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25738 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25739 }
25740 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25741 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25742 }
25743 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25744 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25745 }
25746 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25747 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25748 }
25749 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25750 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25751 }
25752 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25753 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25754 }
25755 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25756 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25757 }
25758 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25759 return (void *)((wxEvent *) ((wxPyEvent *) x));
25760 }
25761 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25762 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25763 }
25764 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25765 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25766 }
25767 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25768 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25769 }
25770 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25771 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25772 }
25773 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25774 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25775 }
25776 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25777 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25778 }
25779 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25780 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25781 }
25782 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25783 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25784 }
25785 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25786 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25787 }
25788 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25789 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25790 }
25791 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25792 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25793 }
25794 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25795 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25796 }
25797 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25798 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25799 }
25800 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25801 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25802 }
25803 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25804 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25805 }
25806 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25807 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25808 }
25809 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25810 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25811 }
25812 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25813 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25814 }
25815 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25816 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25817 }
25818 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25819 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25820 }
25821 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25822 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25823 }
25824 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25825 return (void *)((wxEvent *) ((wxShowEvent *) x));
25826 }
25827 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25828 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25829 }
25830 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25831 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25832 }
25833 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25834 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25835 }
25836 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25837 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25838 }
25839 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25840 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25841 }
25842 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25843 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25844 }
25845 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25846 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25847 }
25848 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25849 return (void *)((wxConfigBase *) ((wxConfig *) x));
25850 }
25851 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25852 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25853 }
25854 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25855 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25856 }
25857 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25858 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25859 }
25860 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25861 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25862 }
25863 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25864 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25865 }
25866 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25867 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25868 }
25869 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25870 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25871 }
25872 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25873 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25874 }
25875 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25876 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25877 }
25878 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25879 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25880 }
25881 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25882 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25883 }
25884 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25885 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25886 }
25887 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25888 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25889 }
25890 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25891 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25892 }
25893 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25894 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25895 }
25896 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25897 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25898 }
25899 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25900 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25901 }
25902 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25903 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25904 }
25905 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25906 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25907 }
25908 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25909 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25910 }
25911 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25912 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25913 }
25914 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25915 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25916 }
25917 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25918 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25919 }
25920 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25921 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25922 }
25923 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25924 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25925 }
25926 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25927 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25928 }
25929 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25930 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25931 }
25932 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25933 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25934 }
25935 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25936 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25937 }
25938 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25939 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25940 }
25941 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25942 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25943 }
25944 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25945 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25946 }
25947 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25948 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25949 }
25950 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25951 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25952 }
25953 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25954 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25955 }
25956 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25957 return (void *)((wxObject *) ((wxSizerItem *) x));
25958 }
25959 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25960 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25961 }
25962 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25963 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25964 }
25965 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25966 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25967 }
25968 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25969 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25970 }
25971 static void *_p_wxSizerTo_p_wxObject(void *x) {
25972 return (void *)((wxObject *) ((wxSizer *) x));
25973 }
25974 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25975 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25976 }
25977 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25978 return (void *)((wxObject *) ((wxFileHistory *) x));
25979 }
25980 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25981 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25982 }
25983 static void *_p_wxEventTo_p_wxObject(void *x) {
25984 return (void *)((wxObject *) ((wxEvent *) x));
25985 }
25986 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25987 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25988 }
25989 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25990 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25991 }
25992 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25993 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25994 }
25995 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25996 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25997 }
25998 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25999 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26000 }
26001 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26002 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26003 }
26004 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26005 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26006 }
26007 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26008 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26009 }
26010 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26011 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26012 }
26013 static void *_p_wxControlTo_p_wxObject(void *x) {
26014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26015 }
26016 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26017 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26018 }
26019 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
26020 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
26021 }
26022 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26023 return (void *)((wxObject *) ((wxFSFile *) x));
26024 }
26025 static void *_p_wxClipboardTo_p_wxObject(void *x) {
26026 return (void *)((wxObject *) ((wxClipboard *) x));
26027 }
26028 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26029 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26030 }
26031 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26032 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26033 }
26034 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26036 }
26037 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26038 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26039 }
26040 static void *_p_wxToolTipTo_p_wxObject(void *x) {
26041 return (void *)((wxObject *) ((wxToolTip *) x));
26042 }
26043 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26044 return (void *)((wxObject *) ((wxMenuItem *) x));
26045 }
26046 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26047 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26048 }
26049 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26050 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26051 }
26052 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26053 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26054 }
26055 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26056 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26057 }
26058 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26059 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26060 }
26061 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26062 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26063 }
26064 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26065 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26066 }
26067 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26068 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26069 }
26070 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26071 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26072 }
26073 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26074 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26075 }
26076 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26077 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26078 }
26079 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26080 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26081 }
26082 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26083 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26084 }
26085 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26086 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26087 }
26088 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26089 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26090 }
26091 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26092 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26093 }
26094 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26095 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26096 }
26097 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26098 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26099 }
26100 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26101 return (void *)((wxObject *) ((wxImageHandler *) x));
26102 }
26103 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26104 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26105 }
26106 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26107 return (void *)((wxObject *) ((wxEvtHandler *) x));
26108 }
26109 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26110 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26111 }
26112 static void *_p_wxImageTo_p_wxObject(void *x) {
26113 return (void *)((wxObject *) ((wxImage *) x));
26114 }
26115 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26116 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26117 }
26118 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
26119 return (void *)((wxObject *) ((wxSystemOptions *) x));
26120 }
26121 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
26122 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
26123 }
26124 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26125 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26126 }
26127 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26128 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26129 }
26130 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26131 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26132 }
26133 static void *_p_wxWindowTo_p_wxObject(void *x) {
26134 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26135 }
26136 static void *_p_wxMenuTo_p_wxObject(void *x) {
26137 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26138 }
26139 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26141 }
26142 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
26143 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
26144 }
26145 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26146 return (void *)((wxObject *) ((wxFileSystem *) x));
26147 }
26148 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26149 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26150 }
26151 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26152 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26153 }
26154 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26155 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26156 }
26157 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26158 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26159 }
26160 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26161 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26162 }
26163 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26164 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26165 }
26166 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
26167 return (void *)((wxObject *) ((wxBusyInfo *) x));
26168 }
26169 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26170 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26171 }
26172 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26173 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26174 }
26175 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26176 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26177 }
26178 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26179 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26180 }
26181 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26182 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26183 }
26184 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
26185 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
26186 }
26187 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26189 }
26190 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26191 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26192 }
26193 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26194 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26195 }
26196 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
26197 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
26198 }
26199 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
26200 return (void *)((wxLog *) ((wxLogStderr *) x));
26201 }
26202 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
26203 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
26204 }
26205 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
26206 return (void *)((wxLog *) ((wxLogWindow *) x));
26207 }
26208 static void *_p_wxLogChainTo_p_wxLog(void *x) {
26209 return (void *)((wxLog *) ((wxLogChain *) x));
26210 }
26211 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
26212 return (void *)((wxLog *) ((wxLogGui *) x));
26213 }
26214 static void *_p_wxPyLogTo_p_wxLog(void *x) {
26215 return (void *)((wxLog *) ((wxPyLog *) x));
26216 }
26217 static void *_p_wxControlTo_p_wxWindow(void *x) {
26218 return (void *)((wxWindow *) ((wxControl *) x));
26219 }
26220 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26221 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26222 }
26223 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26224 return (void *)((wxWindow *) ((wxMenuBar *) x));
26225 }
26226 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
26227 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
26228 }
26229 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
26230 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
26231 }
26232 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
26233 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
26234 static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
26235 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
26236 static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog},{"_p_wxLog"},{0}};
26237 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
26238 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
26239 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
26240 static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase},{"_p_wxConfigBase"},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase},{0}};
26241 static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
26242 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
26243 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
26244 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
26245 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
26246 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
26247 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
26248 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
26249 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
26250 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
26251 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
26252 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
26253 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
26254 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
26255 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
26256 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
26257 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
26258 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
26259 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
26260 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
26261 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
26262 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
26263 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
26264 static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject},{"_p_wxDataObject"},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject},{0}};
26265 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
26266 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
26267 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
26268 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
26269 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
26270 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
26271 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
26272 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
26273 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
26274 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
26275 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
26276 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
26277 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
26278 static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0},{"_p_wxDataObjectSimple"},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple},{0}};
26279 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler},{0}};
26280 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
26281 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
26282 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
26283 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
26284 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
26285 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
26286 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
26287 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
26288 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
26289 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
26290 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
26291 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
26292 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
26293 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
26294 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
26295 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
26296 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
26297 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
26298 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{0}};
26299 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
26300 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
26301 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
26302 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
26303 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
26304 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
26305 static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget},{0}};
26306 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
26307 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
26308 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
26309 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
26310 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
26311 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
26312 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
26313 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
26314 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
26315
26316 static swig_type_info *swig_types_initial[] = {
26317 _swigt__p_wxLogChain,
26318 _swigt__p_wxMutexGuiLocker,
26319 _swigt__p_wxMetafile,
26320 _swigt__p_wxFileHistory,
26321 _swigt__p_wxLog,
26322 _swigt__p_wxDateTime__TimeZone,
26323 _swigt__p_wxMenu,
26324 _swigt__p_wxEvent,
26325 _swigt__p_wxConfigBase,
26326 _swigt__p_wxWave,
26327 _swigt__p_wxFileType,
26328 _swigt__p_wxLogGui,
26329 _swigt__p_wxFont,
26330 _swigt__p_wxDataFormat,
26331 _swigt__p_wxTimerEvent,
26332 _swigt__p_wxCaret,
26333 _swigt__p_int,
26334 _swigt__p_wxSize,
26335 _swigt__p_wxClipboard,
26336 _swigt__p_wxStopWatch,
26337 _swigt__p_wxDC,
26338 _swigt__p_wxClipboardLocker,
26339 _swigt__p_wxIcon,
26340 _swigt__p_wxLogStderr,
26341 _swigt__p_wxLogTextCtrl,
26342 _swigt__p_wxTextCtrl,
26343 _swigt__p_wxBusyCursor,
26344 _swigt__p_wxFileDataObject,
26345 _swigt__p_wxPyBitmapDataObject,
26346 _swigt__p_wxPyTextDataObject,
26347 _swigt__p_wxBitmapDataObject,
26348 _swigt__p_wxTextDataObject,
26349 _swigt__p_wxDataObject,
26350 _swigt__p_wxCustomDataObject,
26351 _swigt__p_wxURLDataObject,
26352 _swigt__p_wxMetafileDataObject,
26353 _swigt__p_wxTimerRunner,
26354 _swigt__p_wxLogWindow,
26355 _swigt__p_wxTimeSpan,
26356 _swigt__p_wxArrayString,
26357 _swigt__p_wxWindowDisabler,
26358 _swigt__p_wxToolTip,
26359 _swigt__p_wxDataObjectComposite,
26360 _swigt__p_wxFileConfig,
26361 _swigt__p_wxSystemSettings,
26362 _swigt__p_wxPyDataObjectSimple,
26363 _swigt__p_wxDataObjectSimple,
26364 _swigt__p_wxEvtHandler,
26365 _swigt__p_wxRect,
26366 _swigt__p_wxSingleInstanceChecker,
26367 _swigt__p_wxFileTypeInfo,
26368 _swigt__p_wxFrame,
26369 _swigt__p_wxTimer,
26370 _swigt__p_wxMimeTypesManager,
26371 _swigt__p_wxPyArtProvider,
26372 _swigt__p_wxPyTipProvider,
26373 _swigt__p_wxTipProvider,
26374 _swigt__p_wxJoystick,
26375 _swigt__p_wxSystemOptions,
26376 _swigt__p_wxPoint,
26377 _swigt__p_wxJoystickEvent,
26378 _swigt__p_wxCursor,
26379 _swigt__p_wxObject,
26380 _swigt__p_wxOutputStream,
26381 _swigt__p_wxDateTime,
26382 _swigt__p_wxPyDropSource,
26383 _swigt__p_wxWindow,
26384 _swigt__p_wxString,
26385 _swigt__p_wxPyProcess,
26386 _swigt__p_wxBitmap,
26387 _swigt__p_wxConfig,
26388 _swigt__p_wxChar,
26389 _swigt__p_wxBusyInfo,
26390 _swigt__p_wxPyDropTarget,
26391 _swigt__p_wxPyTextDropTarget,
26392 _swigt__p_wxPyFileDropTarget,
26393 _swigt__p_wxProcessEvent,
26394 _swigt__p_wxPyLog,
26395 _swigt__p_wxLogNull,
26396 _swigt__p_wxColour,
26397 _swigt__p_wxConfigPathChanger,
26398 _swigt__p_wxPyTimer,
26399 _swigt__p_wxDateSpan,
26400 0
26401 };
26402
26403
26404 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26405
26406 static swig_const_info swig_const_table[] = {
26407 { SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
26408 { SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
26409 { SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
26410 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
26411 { SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
26412 { SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
26413 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
26414 { SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
26415 { SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
26416 { SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
26417 { SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
26418 { SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
26419 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
26420 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
26421 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
26422 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
26423 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
26424 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
26425 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
26426 { SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
26427 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
26428 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
26429 { SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
26430 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
26431 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
26432 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
26433 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
26434 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
26435 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
26436 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
26437 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
26438 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
26439 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
26440 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
26441 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
26442 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
26443 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
26444 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
26445 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
26446 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
26447 { SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
26448 { SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
26449 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
26450 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
26451 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
26452 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
26453 { SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
26454 { SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
26455 { SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
26456 { SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
26457 { SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
26458 { SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
26459 { SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
26460 { SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
26461 { SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
26462 { SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
26463 { SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
26464 { SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
26465 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
26466 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
26467 { SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
26468 { SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
26469 { SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
26470 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
26471 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
26472 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
26473 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
26474 { SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
26475 { SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
26476 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
26477 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
26478 { SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
26479 { SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
26480 { SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
26481 { SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
26482 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
26483 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
26484 { SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
26485 { SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
26486 { SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
26487 { SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
26488 { SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
26489 { SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
26490 { SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
26491 { SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
26492 { SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
26493 { SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
26494 { SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
26495 { SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
26496 { SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
26497 { SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
26498 { SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
26499 { SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
26500 { SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
26501 { SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
26502 { SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
26503 { SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
26504 { SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
26505 { SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
26506 { SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
26507 { SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
26508 { SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
26509 { SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
26510 { SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
26511 { SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
26512 { SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
26513 { SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
26514 { SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26515 { SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26516 { SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26517 { SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26518 { SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26519 { SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26520 { SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26521 { SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26522 { SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26523 { SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26524 { SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
26525 { SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
26526 { SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
26527 { SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
26528 { SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
26529 { SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
26530 { SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
26531 { SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
26532 { SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
26533 { SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
26534 { SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
26535 { SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
26536 { SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
26537 { SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
26538 { SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
26539 { SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
26540 { SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
26541 { SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
26542 { SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
26543 { SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
26544 { SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
26545 { SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
26546 { SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
26547 { SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
26548 { SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
26549 { SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
26550 { SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
26551 { SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
26552 { SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
26553 { SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
26554 { SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
26555 { SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
26556 { SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
26557 { SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
26558 { SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
26559 { SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
26560 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
26561 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
26562 { SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
26563 { SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
26564 { SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
26565 { SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
26566 { SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
26567 { SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
26568 { SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
26569 { SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
26570 { SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
26571 { SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
26572 { SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
26573 { SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
26574 { SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
26575 { SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
26576 { SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
26577 { SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
26578 { SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
26579 { SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
26580 { SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
26581 { SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
26582 { SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
26583 { SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
26584 { SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
26585 { SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
26586 { SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
26587 { SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
26588 { SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
26589 { SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
26590 { SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
26591 { SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
26592 { SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
26593 { SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
26594 { SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
26595 { SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
26596 { SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
26597 { SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
26598 { SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
26599 { SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
26600 { SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
26601 { SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
26602 { SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
26603 { SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
26604 { SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
26605 { SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
26606 { SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
26607 { SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
26608 { SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
26609 { SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
26610 { SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
26611 { SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
26612 { SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
26613 { SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
26614 { SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
26615 { SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
26616 { SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
26617 { SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
26618 { SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
26619 { SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
26620 { SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
26621 { SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
26622 { SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
26623 { SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
26624 { SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
26625 { SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
26626 { SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
26627 { SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
26628 { SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
26629 { SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
26630 { SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
26631 { SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
26632 { SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
26633 { SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
26634 { SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
26635 { SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
26636 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
26637 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
26638 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
26639 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
26640 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
26641 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
26642 { SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
26643 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
26644 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
26645 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
26646 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
26647 { SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
26648 { SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
26649 { SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
26650 { SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
26651 { SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
26652 { SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
26653 { SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
26654 { SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
26655 { SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
26656 { SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
26657 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
26658 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
26659 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
26660 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
26661 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
26662 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
26663 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
26664 { SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26665 { SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26666 { SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26667 { SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26668 { SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26669 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26670 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26671 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26672 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26673 { SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26674 { SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26675 { SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26676 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26677 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26678 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26679 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26680 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26681 { SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26682 { SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26683 { SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26684 { SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26685 { SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26686 { SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26687 { SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26688 { SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26689 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26690 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26691 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26692 { SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26693 { SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26694 { SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26695 { SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26696 { SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26697 { SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26698 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26699 { SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26700 { SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26701 { SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26702 { SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26703 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26704 { SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26705 { SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26706 { SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26707 { SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26708 { SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26709 { SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26710 { SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26711 { SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26712 { SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26713 { SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26714 { SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26715 { SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26716 { SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26717 { SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26718 { SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26719 { SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26720 { SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26721 { SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26722 { SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26723 { SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26724 { SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26725 { SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26726 { SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26727 { SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26728 { SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26729 { SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26730 { SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26731 { SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26732 { SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26733 { SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26734 { SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26735 { SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26736 { SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26737 { SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26738 { SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26739 { SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26740 { SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26741 { SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26742 { SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26743 { SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26744 { SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26745 { SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26746 { SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26747 { SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26748 { SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26749 { SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26750 { SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26751 { SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26752 { SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26753 { SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26754 { SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26755 { SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26756 { SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26757 { SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26758 { SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26759 { SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26760 { SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26761 { SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26762 { SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26763 { SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26764 { SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26765 {0}};
26766
26767 #ifdef __cplusplus
26768 }
26769 #endif
26770
26771 #ifdef __cplusplus
26772 extern "C"
26773 #endif
26774 SWIGEXPORT(void) SWIG_init(void) {
26775 static PyObject *SWIG_globals = 0;
26776 static int typeinit = 0;
26777 PyObject *m, *d;
26778 int i;
26779 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26780 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26781 d = PyModule_GetDict(m);
26782
26783 if (!typeinit) {
26784 for (i = 0; swig_types_initial[i]; i++) {
26785 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26786 }
26787 typeinit = 1;
26788 }
26789 SWIG_InstallConstants(d,swig_const_table);
26790
26791 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26792 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26793 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26794 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26795 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26796 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26797
26798 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26799
26800 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26801 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26802 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26803 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
26804 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26805 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26806 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26807 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26808 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26809 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26810 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26811 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26812 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26813 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26814 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26815 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26816 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26817 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26818 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26819 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26820 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26821 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26822 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26823 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26824 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26825 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26826 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26827 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26828 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26829 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26830 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26831 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26832 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26833 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26834 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26835 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26836 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26837 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26838 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26839 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26840 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26841 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26842 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26843
26844 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26845
26846 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
26847 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
26848 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26849
26850 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26851 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26852 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26853 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26854
26855 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26856 }
26857