]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/misc_wrap.cpp
Forward declare wxPyScrolledWindow
[wxWidgets.git] / wxPython / src / mac / 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 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
239 #define SWIGTYPE_p_wxDataObject swig_types[30]
240 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxByte swig_types[83]
293 #define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
294 #define SWIGTYPE_p_wxPyTimer swig_types[85]
295 #define SWIGTYPE_p_wxDateSpan swig_types[86]
296 static swig_type_info *swig_types[88];
297
298 /* -------- TYPES TABLE (END) -------- */
299
300
301 /*-----------------------------------------------
302 @(target):= _misc.so
303 ------------------------------------------------*/
304 #define SWIG_init init_misc
305
306 #define SWIG_name "_misc"
307
308 /* Auxiliar swig macros */
309
310 #ifdef __cplusplus
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #else
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
323 #endif
324
325 #else /* C case */
326
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
335
336 #endif /* __cplusplus */
337
338
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
349
350
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353 #include "wx/wxPython/pyistream.h"
354
355
356 static const wxString wxPyEmptyString(wxEmptyString);
357
358
359
360 #include <limits.h>
361
362
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366 {
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384 }
385
386
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject * obj)
389 {
390 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
391 }
392
393
394 #if INT_MAX != LONG_MAX
395 SWIGSTATICINLINE(int)
396 SWIG_AsInt(PyObject *obj)
397 {
398 return swig_numeric_cast(int,
399 SWIG_CheckLongInRange(SWIG_AsLong(obj),
400 "int", INT_MIN, INT_MAX));
401 }
402 #else
403 #define SWIG_AsInt SWIG_AsLong
404 #endif
405
406
407 SWIGSTATICINLINE(int)
408 SWIG_CheckInt(PyObject* obj)
409 {
410 SWIG_AsInt(obj);
411 if (PyErr_Occurred()) {
412 PyErr_Clear();
413 return 0;
414 } else {
415 return 1;
416 }
417 }
418
419 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
420 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
421 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
422
423 SWIGSTATICINLINE(int)
424 SWIG_CheckLong(PyObject* obj)
425 {
426 SWIG_AsLong(obj);
427 if (PyErr_Occurred()) {
428 PyErr_Clear();
429 return 0;
430 } else {
431 return 1;
432 }
433 }
434
435
436 SWIGSTATICINLINE(bool)
437 SWIG_AsBool(PyObject *obj)
438 {
439 return PyObject_IsTrue(obj) ? true : false;
440 }
441
442
443 SWIGSTATICINLINE(int)
444 SWIG_CheckBool(PyObject* obj)
445 {
446 SWIG_AsBool(obj);
447 if (PyErr_Occurred()) {
448 PyErr_Clear();
449 return 0;
450 } else {
451 return 1;
452 }
453 }
454
455
456 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
457 PyObject* o2;
458 PyObject* o3;
459
460 if (!target) {
461 target = o;
462 } else if (target == Py_None) {
463 Py_DECREF(Py_None);
464 target = o;
465 } else {
466 if (!PyTuple_Check(target)) {
467 o2 = target;
468 target = PyTuple_New(1);
469 PyTuple_SetItem(target, 0, o2);
470 }
471 o3 = PyTuple_New(1);
472 PyTuple_SetItem(o3, 0, o);
473
474 o2 = target;
475 target = PySequence_Concat(o2, o3);
476 Py_DECREF(o2);
477 Py_DECREF(o3);
478 }
479 return target;
480 }
481
482
483 SWIGSTATICINLINE(unsigned long)
484 SWIG_AsUnsignedLong(PyObject * obj)
485 {
486 if (PyLong_Check(obj)) {
487 return PyLong_AsUnsignedLong(obj);
488 } else {
489 long i = PyInt_AsLong(obj);
490 if ( !PyErr_Occurred() && (i < 0)) {
491 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
492 }
493 return i;
494 }
495 }
496
497
498 SWIGSTATICINLINE(int)
499 SWIG_CheckUnsignedLong(PyObject* obj)
500 {
501 SWIG_AsUnsignedLong(obj);
502 if (PyErr_Occurred()) {
503 PyErr_Clear();
504 return 0;
505 } else {
506 return 1;
507 }
508 }
509
510
511 SWIGSTATICINLINE(PyObject* )
512 SWIG_FromUnsignedLong(unsigned long value)
513 {
514 return (value > LONG_MAX) ?
515 PyLong_FromUnsignedLong(value)
516 : PyInt_FromLong(swig_numeric_cast(long,value));
517 }
518
519
520 bool wxThread_IsMain() {
521 #ifdef WXP_WITH_THREAD
522 return wxThread::IsMain();
523 #else
524 return True;
525 #endif
526 }
527
528
529 int wxCaret_GetBlinkTime() {
530 return wxCaret::GetBlinkTime();
531 }
532
533 void wxCaret_SetBlinkTime(int milliseconds) {
534 wxCaret::SetBlinkTime(milliseconds);
535 }
536
537
538 #include <wx/snglinst.h>
539
540
541 #ifdef __WXMSW__
542 #include <wx/msw/private.h>
543 #include <wx/dynload.h>
544 #endif
545
546
547
548 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
549 {
550 #ifdef __WXMSW__
551
552 switch (method)
553 {
554 case 1:
555 // This one only partially works. Appears to be an undocumented
556 // "standard" convention that not all widgets adhear to. For
557 // example, for some widgets backgrounds or non-client areas may
558 // not be painted.
559 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
560 break;
561
562 case 2:
563 // This one works much better, except for on XP. On Win2k nearly
564 // all widgets and their children are captured correctly[**]. On
565 // XP with Themes activated most native widgets draw only
566 // partially, if at all. Without themes it works just like on
567 // Win2k.
568 //
569 // ** For example the radio buttons in a wxRadioBox are not its
570 // children by default, but you can capture it via the panel
571 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
572 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
573 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
574 PRF_ERASEBKGND | PRF_OWNED );
575 break;
576
577 case 3:
578 // This one is only defined in the latest SDK and is only
579 // available on XP. MSDN says it is similar to sending WM_PRINT
580 // so I expect that it will work similar to the above. Since it
581 // is avaialble only on XP, it can't be compiled like this and
582 // will have to be loaded dynamically.
583 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
584
585 // fall through
586
587 case 4:
588 // Use PrintWindow if available, or fallback to WM_PRINT
589 // otherwise. Unfortunately using PrintWindow is even worse than
590 // WM_PRINT. For most native widgets nothing is drawn to the dc
591 // at all, with or without Themes.
592 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
593 static bool s_triedToLoad = False;
594 static PrintWindow_t pfnPrintWindow = NULL;
595 if ( !s_triedToLoad )
596 {
597
598 s_triedToLoad = True;
599 wxDynamicLibrary dllUser32(_T("user32.dll"));
600 if ( dllUser32.IsLoaded() )
601 {
602 wxLogNull nolog; // Don't report errors here
603 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
604 }
605 }
606 if (pfnPrintWindow)
607 {
608 printf("Using PrintWindow\n");
609 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
610 }
611 else
612 {
613 printf("Using WM_PRINT\n");
614 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
615 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
616 }
617 }
618 #endif
619 }
620
621
622
623 #include <wx/tipdlg.h>
624
625
626 class wxPyTipProvider : public wxTipProvider {
627 public:
628 wxPyTipProvider(size_t currentTip)
629 : wxTipProvider(currentTip) {}
630
631 DEC_PYCALLBACK_STRING__pure(GetTip);
632 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
633 PYPRIVATE;
634 };
635
636 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
637 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
638
639
640 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
641
642 void wxPyTimer::Notify() {
643 bool found;
644 bool blocked = wxPyBeginBlockThreads();
645 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
646 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
647 wxPyEndBlockThreads(blocked);
648 if (! found)
649 wxTimer::Notify();
650 }
651 void wxPyTimer::base_Notify() {
652 wxTimer::Notify();
653 }
654
655
656
657 SWIGSTATICINLINE(PyObject *)
658 SWIG_FromCharPtr(const char* cptr)
659 {
660 size_t size = cptr ? strlen(cptr) : 0;
661 if (cptr) {
662 if (size > INT_MAX) {
663 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
664 SWIG_TypeQuery("char *"), 0);
665 } else {
666 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
667 }
668 } else {
669 Py_INCREF(Py_None);
670 return Py_None;
671 }
672 }
673
674
675 SWIGSTATICINLINE(unsigned long)
676 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
677 unsigned long max_value)
678 {
679 if (!PyErr_Occurred()) {
680 if (value > max_value) {
681 PyObject *err =
682 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
683 value, type, max_value);
684 PyErr_SetObject(PyExc_OverflowError, err);
685 Py_DECREF(err);
686 }
687 }
688 return value;
689 }
690
691
692 #if UINT_MAX != ULONG_MAX
693 SWIGSTATICINLINE(unsigned int)
694 SWIG_AsUnsignedInt(PyObject *obj)
695 {
696 return swig_numeric_cast(unsigned int,
697 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
698 "unsigned int", UINT_MAX));
699 }
700 #else
701 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
702 #endif
703
704
705 SWIGSTATICINLINE(int)
706 SWIG_CheckUnsignedInt(PyObject* obj)
707 {
708 SWIG_AsUnsignedInt(obj);
709 if (PyErr_Occurred()) {
710 PyErr_Clear();
711 return 0;
712 } else {
713 return 1;
714 }
715 }
716
717 wxString Log_TimeStamp(){
718 wxString msg;
719 wxLog::TimeStamp(&msg);
720 return msg;
721 }
722 void wxLog_Destroy(wxLog *self){ delete self; }
723
724 // A wxLog class that can be derived from in wxPython
725 class wxPyLog : public wxLog {
726 public:
727 wxPyLog() : wxLog() {}
728
729 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
730 bool found;
731 bool blocked = wxPyBeginBlockThreads();
732 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
733 PyObject* s = wx2PyString(szString);
734 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
735 Py_DECREF(s);
736 }
737 wxPyEndBlockThreads(blocked);
738 if (! found)
739 wxLog::DoLog(level, szString, t);
740 }
741
742 virtual void DoLogString(const wxChar *szString, time_t t) {
743 bool found;
744 bool blocked = wxPyBeginBlockThreads();
745 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
746 PyObject* s = wx2PyString(szString);
747 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
748 Py_DECREF(s);
749 }
750 wxPyEndBlockThreads(blocked);
751 if (! found)
752 wxLog::DoLogString(szString, t);
753 }
754
755 PYPRIVATE;
756 };
757
758
759
760
761 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
762
763
764 #include <wx/joystick.h>
765
766
767 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
768 // A C++ stub class for wxJoystick for platforms that don't have it.
769 class wxJoystick : public wxObject {
770 public:
771 wxJoystick(int joystick = wxJOYSTICK1) {
772 bool blocked = wxPyBeginBlockThreads();
773 PyErr_SetString(PyExc_NotImplementedError,
774 "wxJoystick is not available on this platform.");
775 wxPyEndBlockThreads(blocked);
776 }
777 wxPoint GetPosition() { return wxPoint(-1,-1); }
778 int GetZPosition() { return -1; }
779 int GetButtonState() { return -1; }
780 int GetPOVPosition() { return -1; }
781 int GetPOVCTSPosition() { return -1; }
782 int GetRudderPosition() { return -1; }
783 int GetUPosition() { return -1; }
784 int GetVPosition() { return -1; }
785 int GetMovementThreshold() { return -1; }
786 void SetMovementThreshold(int threshold) {}
787
788 bool IsOk(void) { return False; }
789 int GetNumberJoysticks() { return -1; }
790 int GetManufacturerId() { return -1; }
791 int GetProductId() { return -1; }
792 wxString GetProductName() { return ""; }
793 int GetXMin() { return -1; }
794 int GetYMin() { return -1; }
795 int GetZMin() { return -1; }
796 int GetXMax() { return -1; }
797 int GetYMax() { return -1; }
798 int GetZMax() { return -1; }
799 int GetNumberButtons() { return -1; }
800 int GetNumberAxes() { return -1; }
801 int GetMaxButtons() { return -1; }
802 int GetMaxAxes() { return -1; }
803 int GetPollingMin() { return -1; }
804 int GetPollingMax() { return -1; }
805 int GetRudderMin() { return -1; }
806 int GetRudderMax() { return -1; }
807 int GetUMin() { return -1; }
808 int GetUMax() { return -1; }
809 int GetVMin() { return -1; }
810 int GetVMax() { return -1; }
811
812 bool HasRudder() { return False; }
813 bool HasZ() { return False; }
814 bool HasU() { return False; }
815 bool HasV() { return False; }
816 bool HasPOV() { return False; }
817 bool HasPOV4Dir() { return False; }
818 bool HasPOVCTS() { return False; }
819
820 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
821 bool ReleaseCapture() { return False; }
822 };
823 #endif
824
825
826 #include <wx/sound.h>
827
828
829 #if !wxUSE_SOUND
830 // A C++ stub class for wxWave for platforms that don't have it.
831 class wxSound : public wxObject
832 {
833 public:
834 wxSound() {
835 bool blocked = wxPyBeginBlockThreads();
836 PyErr_SetString(PyExc_NotImplementedError,
837 "wxSound is not available on this platform.");
838 wxPyEndBlockThreads(blocked);
839 }
840 wxSound(const wxString&, bool) {
841 bool blocked = wxPyBeginBlockThreads();
842 PyErr_SetString(PyExc_NotImplementedError,
843 "wxSound is not available on this platform.");
844 wxPyEndBlockThreads(blocked);
845 }
846 wxSound(int, const wxByte*) {
847 bool blocked = wxPyBeginBlockThreads();
848 PyErr_SetString(PyExc_NotImplementedError,
849 "wxSound is not available on this platform.");
850 wxPyEndBlockThreads(blocked);
851 }
852
853 ~wxSound() {};
854
855 bool Create(const wxString&, bool) { return false; }
856 bool Create(int, const wxByte*) { return false; };
857 bool IsOk() { return false; };
858 bool Play(unsigned) const { return false; }
859 static bool Play(const wxString&, unsigned) { return false; }
860 static void Stop() {}
861 };
862
863 #endif
864
865 bool wxSound_Create__SWIG_1(wxSound *self,int size,wxByte const *data){
866 bool blocked = wxPyBeginBlockThreads();
867 PyErr_SetString(PyExc_NotImplementedError,
868 "Create from data is not available on this platform.");
869 wxPyEndBlockThreads(blocked);
870 return False;
871 }
872 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
873
874 #include <wx/mimetype.h>
875
876 PyObject *wxFileType_GetMimeType(wxFileType *self){
877 wxString str;
878 if (self->GetMimeType(&str))
879 return wx2PyString(str);
880 else
881 RETURN_NONE();
882 }
883 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
884 wxArrayString arr;
885 if (self->GetMimeTypes(arr))
886 return wxArrayString2PyList_helper(arr);
887 else
888 RETURN_NONE();
889 }
890 PyObject *wxFileType_GetExtensions(wxFileType *self){
891 wxArrayString arr;
892 if (self->GetExtensions(arr))
893 return wxArrayString2PyList_helper(arr);
894 else
895 RETURN_NONE();
896 }
897 wxIcon *wxFileType_GetIcon(wxFileType *self){
898 wxIconLocation loc;
899 if (self->GetIcon(&loc))
900 return new wxIcon(loc);
901 else
902 return NULL;
903 }
904 PyObject *wxFileType_GetIconInfo(wxFileType *self){
905 wxIconLocation loc;
906 if (self->GetIcon(&loc)) {
907 wxString iconFile = loc.GetFileName();
908 int iconIndex = -1;
909
910
911
912 // Make a tuple and put the values in it
913 bool blocked = wxPyBeginBlockThreads();
914 PyObject* tuple = PyTuple_New(3);
915 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
916 wxT("wxIcon"), True));
917 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
918 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
919 wxPyEndBlockThreads(blocked);
920 return tuple;
921 }
922 else
923 RETURN_NONE();
924 }
925 PyObject *wxFileType_GetDescription(wxFileType *self){
926 wxString str;
927 if (self->GetDescription(&str))
928 return wx2PyString(str);
929 else
930 RETURN_NONE();
931 }
932 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
933 wxString str;
934 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
935 return wx2PyString(str);
936 else
937 RETURN_NONE();
938 }
939 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
940 wxString str;
941 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
942 return wx2PyString(str);
943 else
944 RETURN_NONE();
945 }
946 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
947 wxArrayString verbs;
948 wxArrayString commands;
949 if (self->GetAllCommands(&verbs, &commands,
950 wxFileType::MessageParameters(filename, mimetype))) {
951 bool blocked = wxPyBeginBlockThreads();
952 PyObject* tuple = PyTuple_New(2);
953 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
954 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
955 wxPyEndBlockThreads(blocked);
956 return tuple;
957 }
958 else
959 RETURN_NONE();
960 }
961 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
962 return wxFileType::ExpandCommand(command,
963 wxFileType::MessageParameters(filename, mimetype));
964 }
965 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
966 wxArrayString arr;
967 self->EnumAllFileTypes(arr);
968 return wxArrayString2PyList_helper(arr);
969 }
970
971 #include <wx/artprov.h>
972
973 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
974 static const wxString wxPyART_MENU(wxART_MENU);
975 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
976 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
977 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
978 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
979 static const wxString wxPyART_OTHER(wxART_OTHER);
980 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
981 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
982 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
983 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
984 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
985 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
986 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
987 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
988 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
989 static const wxString wxPyART_GO_UP(wxART_GO_UP);
990 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
991 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
992 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
993 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
994 static const wxString wxPyART_PRINT(wxART_PRINT);
995 static const wxString wxPyART_HELP(wxART_HELP);
996 static const wxString wxPyART_TIP(wxART_TIP);
997 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
998 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
999 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
1000 static const wxString wxPyART_FOLDER(wxART_FOLDER);
1001 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1002 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1003 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1004 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1005 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1006 static const wxString wxPyART_ERROR(wxART_ERROR);
1007 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1008 static const wxString wxPyART_WARNING(wxART_WARNING);
1009 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1010 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1011 // Python aware wxArtProvider
1012 class wxPyArtProvider : public wxArtProvider {
1013 public:
1014
1015 virtual wxBitmap CreateBitmap(const wxArtID& id,
1016 const wxArtClient& client,
1017 const wxSize& size) {
1018 wxBitmap rval = wxNullBitmap;
1019 bool blocked = wxPyBeginBlockThreads();
1020 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1021 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1022 PyObject* ro;
1023 wxBitmap* ptr;
1024 PyObject* s1, *s2;
1025 s1 = wx2PyString(id);
1026 s2 = wx2PyString(client);
1027 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1028 Py_DECREF(so);
1029 Py_DECREF(s1);
1030 Py_DECREF(s2);
1031 if (ro) {
1032 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1033 rval = *ptr;
1034 Py_DECREF(ro);
1035 }
1036 }
1037 wxPyEndBlockThreads(blocked);
1038 return rval;
1039 }
1040
1041 PYPRIVATE;
1042 };
1043
1044 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
1045
1046
1047
1048 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1049 PyObject* ret = PyTuple_New(3);
1050 if (ret) {
1051 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1052 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1053 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1054 }
1055 return ret;
1056 }
1057
1058 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1059 bool cont;
1060 long index = 0;
1061 wxString value;
1062
1063 cont = self->GetFirstGroup(value, index);
1064 return __EnumerationHelper(cont, value, index);
1065 }
1066 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1067 bool cont;
1068 wxString value;
1069
1070 cont = self->GetNextGroup(value, index);
1071 return __EnumerationHelper(cont, value, index);
1072 }
1073 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1074 bool cont;
1075 long index = 0;
1076 wxString value;
1077
1078 cont = self->GetFirstEntry(value, index);
1079 return __EnumerationHelper(cont, value, index);
1080 }
1081 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1082 bool cont;
1083 wxString value;
1084
1085 cont = self->GetNextEntry(value, index);
1086 return __EnumerationHelper(cont, value, index);
1087 }
1088 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1089 long rv;
1090 self->Read(key, &rv, defaultVal);
1091 return rv;
1092 }
1093
1094 SWIGSTATICINLINE(double)
1095 SWIG_AsDouble(PyObject *obj)
1096 {
1097 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
1098 #if HAVE_LONG_LONG
1099 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
1100 #else
1101 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
1102 #endif
1103 if (PyErr_Occurred()) {
1104 PyErr_Clear();
1105 PyErr_SetString(PyExc_TypeError, "a double is expected");
1106 }
1107 return val;
1108 }
1109
1110
1111 SWIGSTATICINLINE(int)
1112 SWIG_CheckDouble(PyObject* obj)
1113 {
1114 SWIG_AsDouble(obj);
1115 if (PyErr_Occurred()) {
1116 PyErr_Clear();
1117 return 0;
1118 } else {
1119 return 1;
1120 }
1121 }
1122
1123 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1124 double rv;
1125 self->Read(key, &rv, defaultVal);
1126 return rv;
1127 }
1128 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1129 bool rv;
1130 self->Read(key, &rv, defaultVal);
1131 return rv;
1132 }
1133
1134 #include <wx/datetime.h>
1135
1136
1137 static const wxString wxPyDateFormatStr(wxT("%c"));
1138 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1139
1140 #define LOCAL_TZ wxDateTime::Local
1141
1142
1143 #if UINT_MAX < LONG_MAX
1144 #define SWIG_FromUnsignedInt SWIG_FromLong
1145 #else
1146 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1147 #endif
1148
1149 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1150 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1151 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1152 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1153 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
1154 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self < *other) : False; }
1155 bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){ return other ? (*self <= *other) : False; }
1156 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self > *other) : True; }
1157 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){ return other ? (*self >= *other) : True; }
1158 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){ return other ? (*self == *other) : False; }
1159 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){ return other ? (*self != *other) : True; }
1160 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1161 const wxChar* rv;
1162 const wxChar* _date = date;
1163 rv = self->ParseRfc822Date(_date);
1164 if (rv == NULL) return -1;
1165 return rv - _date;
1166 }
1167 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1168 const wxChar* rv;
1169 const wxChar* _date = date;
1170 rv = self->ParseFormat(_date, format, dateDef);
1171 if (rv == NULL) return -1;
1172 return rv - _date;
1173 }
1174 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1175 const wxChar* rv;
1176 const wxChar* _datetime = datetime;
1177 rv = self->ParseDateTime(_datetime);
1178 if (rv == NULL) return -1;
1179 return rv - _datetime;
1180 }
1181 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1182 const wxChar* rv;
1183 const wxChar* _date = date;
1184 rv = self->ParseDate(_date);
1185 if (rv == NULL) return -1;
1186 return rv - _date;
1187 }
1188 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1189 const wxChar* rv;
1190 const wxChar* _time = time;
1191 rv = self->ParseTime(_time);
1192 if (rv == NULL) return -1;
1193 return rv - _time;
1194 }
1195 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1196 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1197 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1198 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1199 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1200 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1201 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1202 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1203 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1204 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
1205 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1206 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1207 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1208 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1209 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1210 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
1211
1212 #include <wx/dataobj.h>
1213
1214 // Create a new class for wxPython to use
1215 class wxPyDataObjectSimple : public wxDataObjectSimple {
1216 public:
1217 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1218 : wxDataObjectSimple(format) {}
1219
1220 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1221 bool GetDataHere(void *buf) const;
1222 bool SetData(size_t len, const void *buf) const;
1223 PYPRIVATE;
1224 };
1225
1226 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1227
1228 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1229 // We need to get the data for this object and write it to buf. I think
1230 // the best way to do this for wxPython is to have the Python method
1231 // return either a string or None and then act appropriately with the
1232 // C++ version.
1233
1234 bool rval = False;
1235 bool blocked = wxPyBeginBlockThreads();
1236 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1237 PyObject* ro;
1238 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1239 if (ro) {
1240 rval = (ro != Py_None && PyString_Check(ro));
1241 if (rval)
1242 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1243 Py_DECREF(ro);
1244 }
1245 }
1246 wxPyEndBlockThreads(blocked);
1247 return rval;
1248 }
1249
1250 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1251 // For this one we simply need to make a string from buf and len
1252 // and send it to the Python method.
1253 bool rval = False;
1254 bool blocked = wxPyBeginBlockThreads();
1255 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1256 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1257 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1258 Py_DECREF(data);
1259 }
1260 wxPyEndBlockThreads(blocked);
1261 return rval;
1262 }
1263
1264 // Create a new class for wxPython to use
1265 class wxPyTextDataObject : public wxTextDataObject {
1266 public:
1267 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1268 : wxTextDataObject(text) {}
1269
1270 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1271 DEC_PYCALLBACK_STRING__const(GetText);
1272 DEC_PYCALLBACK__STRING(SetText);
1273 PYPRIVATE;
1274 };
1275
1276 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1277 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1278 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1279
1280
1281 // Create a new class for wxPython to use
1282 class wxPyBitmapDataObject : public wxBitmapDataObject {
1283 public:
1284 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1285 : wxBitmapDataObject(bitmap) {}
1286
1287 wxBitmap GetBitmap() const;
1288 void SetBitmap(const wxBitmap& bitmap);
1289 PYPRIVATE;
1290 };
1291
1292 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1293 wxBitmap* rval = &wxNullBitmap;
1294 bool blocked = wxPyBeginBlockThreads();
1295 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1296 PyObject* ro;
1297 wxBitmap* ptr;
1298 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1299 if (ro) {
1300 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1301 rval = ptr;
1302 Py_DECREF(ro);
1303 }
1304 }
1305 wxPyEndBlockThreads(blocked);
1306 return *rval;
1307 }
1308
1309 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1310 bool blocked = wxPyBeginBlockThreads();
1311 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1312 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1313 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1314 Py_DECREF(bo);
1315 }
1316 wxPyEndBlockThreads(blocked);
1317 }
1318
1319 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1320 if (PyString_Check(data)) {
1321 // for Python we just call SetData here since we always need it to make a copy.
1322 self->SetData(PyString_Size(data), PyString_AsString(data));
1323 }
1324 else {
1325 // raise a TypeError if not a string
1326 PyErr_SetString(PyExc_TypeError, "String expected.");
1327 }
1328 }
1329 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1330 if (PyString_Check(data)) {
1331 return self->SetData(PyString_Size(data), PyString_AsString(data));
1332 }
1333 else {
1334 // raise a TypeError if not a string
1335 PyErr_SetString(PyExc_TypeError, "String expected.");
1336 return False;
1337 }
1338 }
1339 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1340 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1341 }
1342
1343 #include <wx/metafile.h>
1344
1345
1346 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1347
1348
1349 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1350 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1351 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1352 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1353 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1354
1355
1356 class wxPyTextDropTarget : public wxTextDropTarget {
1357 public:
1358 wxPyTextDropTarget() {}
1359
1360 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1361
1362 DEC_PYCALLBACK__(OnLeave);
1363 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1364 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1365 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1366 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1367
1368 PYPRIVATE;
1369 };
1370
1371 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1372 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1373 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1374 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1375 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1376 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1377
1378
1379
1380 class wxPyFileDropTarget : public wxFileDropTarget {
1381 public:
1382 wxPyFileDropTarget() {}
1383
1384 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1385
1386 DEC_PYCALLBACK__(OnLeave);
1387 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1388 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1389 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1390 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1391
1392 PYPRIVATE;
1393 };
1394
1395 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1396 const wxArrayString& filenames) {
1397 bool rval = False;
1398 bool blocked = wxPyBeginBlockThreads();
1399 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1400 PyObject* list = wxArrayString2PyList_helper(filenames);
1401 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1402 Py_DECREF(list);
1403 }
1404 wxPyEndBlockThreads(blocked);
1405 return rval;
1406 }
1407
1408
1409
1410 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1411 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1412 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1413 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1414 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1415
1416
1417
1418
1419 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1420
1421 #include "wx/display.h"
1422
1423 bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
1424 bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
1425 int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1426 PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1427 PyObject* pyList = NULL;
1428 wxArrayVideoModes arr = self->GetModes(mode);
1429 bool blocked = wxPyBeginBlockThreads();
1430 pyList = PyList_New(0);
1431 for (int i=0; i < arr.GetCount(); i++) {
1432 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1433 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1434 PyList_Append(pyList, pyObj);
1435 }
1436 wxPyEndBlockThreads(blocked);
1437 return pyList;
1438 }
1439 #ifdef __cplusplus
1440 extern "C" {
1441 #endif
1442 static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
1443 PyObject *resultobj;
1444 int arg1 ;
1445 wxColour result;
1446 PyObject * obj0 = 0 ;
1447 char *kwnames[] = {
1448 (char *) "index", NULL
1449 };
1450
1451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1452 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1453 if (PyErr_Occurred()) SWIG_fail;
1454 {
1455 PyThreadState* __tstate = wxPyBeginAllowThreads();
1456 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1457
1458 wxPyEndAllowThreads(__tstate);
1459 if (PyErr_Occurred()) SWIG_fail;
1460 }
1461 {
1462 wxColour * resultptr;
1463 resultptr = new wxColour((wxColour &) result);
1464 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1465 }
1466 return resultobj;
1467 fail:
1468 return NULL;
1469 }
1470
1471
1472 static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
1473 PyObject *resultobj;
1474 int arg1 ;
1475 wxFont result;
1476 PyObject * obj0 = 0 ;
1477 char *kwnames[] = {
1478 (char *) "index", NULL
1479 };
1480
1481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1482 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1483 if (PyErr_Occurred()) SWIG_fail;
1484 {
1485 PyThreadState* __tstate = wxPyBeginAllowThreads();
1486 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1487
1488 wxPyEndAllowThreads(__tstate);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 }
1491 {
1492 wxFont * resultptr;
1493 resultptr = new wxFont((wxFont &) result);
1494 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1495 }
1496 return resultobj;
1497 fail:
1498 return NULL;
1499 }
1500
1501
1502 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
1503 PyObject *resultobj;
1504 int arg1 ;
1505 int result;
1506 PyObject * obj0 = 0 ;
1507 char *kwnames[] = {
1508 (char *) "index", NULL
1509 };
1510
1511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1512 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1513 if (PyErr_Occurred()) SWIG_fail;
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 resultobj = SWIG_FromInt((int)result);
1522 return resultobj;
1523 fail:
1524 return NULL;
1525 }
1526
1527
1528 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
1529 PyObject *resultobj;
1530 int arg1 ;
1531 bool result;
1532 PyObject * obj0 = 0 ;
1533 char *kwnames[] = {
1534 (char *) "index", NULL
1535 };
1536
1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1538 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 {
1548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1549 }
1550 return resultobj;
1551 fail:
1552 return NULL;
1553 }
1554
1555
1556 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
1557 PyObject *resultobj;
1558 int result;
1559 char *kwnames[] = {
1560 NULL
1561 };
1562
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 result = (int)wxSystemSettings::GetScreenType();
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 resultobj = SWIG_FromInt((int)result);
1572 return resultobj;
1573 fail:
1574 return NULL;
1575 }
1576
1577
1578 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
1579 PyObject *resultobj;
1580 int arg1 ;
1581 PyObject * obj0 = 0 ;
1582 char *kwnames[] = {
1583 (char *) "screen", NULL
1584 };
1585
1586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1587 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1588 if (PyErr_Occurred()) SWIG_fail;
1589 {
1590 PyThreadState* __tstate = wxPyBeginAllowThreads();
1591 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1592
1593 wxPyEndAllowThreads(__tstate);
1594 if (PyErr_Occurred()) SWIG_fail;
1595 }
1596 Py_INCREF(Py_None); resultobj = Py_None;
1597 return resultobj;
1598 fail:
1599 return NULL;
1600 }
1601
1602
1603 static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
1604 PyObject *obj;
1605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1606 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1607 Py_INCREF(obj);
1608 return Py_BuildValue((char *)"");
1609 }
1610 static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
1611 PyObject *resultobj;
1612 wxSystemOptions *result;
1613 char *kwnames[] = {
1614 NULL
1615 };
1616
1617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1618 {
1619 PyThreadState* __tstate = wxPyBeginAllowThreads();
1620 result = (wxSystemOptions *)new wxSystemOptions();
1621
1622 wxPyEndAllowThreads(__tstate);
1623 if (PyErr_Occurred()) SWIG_fail;
1624 }
1625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1626 return resultobj;
1627 fail:
1628 return NULL;
1629 }
1630
1631
1632 static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
1633 PyObject *resultobj;
1634 wxString *arg1 = 0 ;
1635 wxString *arg2 = 0 ;
1636 bool temp1 = False ;
1637 bool temp2 = False ;
1638 PyObject * obj0 = 0 ;
1639 PyObject * obj1 = 0 ;
1640 char *kwnames[] = {
1641 (char *) "name",(char *) "value", NULL
1642 };
1643
1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1645 {
1646 arg1 = wxString_in_helper(obj0);
1647 if (arg1 == NULL) SWIG_fail;
1648 temp1 = True;
1649 }
1650 {
1651 arg2 = wxString_in_helper(obj1);
1652 if (arg2 == NULL) SWIG_fail;
1653 temp2 = True;
1654 }
1655 {
1656 PyThreadState* __tstate = wxPyBeginAllowThreads();
1657 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1658
1659 wxPyEndAllowThreads(__tstate);
1660 if (PyErr_Occurred()) SWIG_fail;
1661 }
1662 Py_INCREF(Py_None); resultobj = Py_None;
1663 {
1664 if (temp1)
1665 delete arg1;
1666 }
1667 {
1668 if (temp2)
1669 delete arg2;
1670 }
1671 return resultobj;
1672 fail:
1673 {
1674 if (temp1)
1675 delete arg1;
1676 }
1677 {
1678 if (temp2)
1679 delete arg2;
1680 }
1681 return NULL;
1682 }
1683
1684
1685 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
1686 PyObject *resultobj;
1687 wxString *arg1 = 0 ;
1688 int arg2 ;
1689 bool temp1 = False ;
1690 PyObject * obj0 = 0 ;
1691 PyObject * obj1 = 0 ;
1692 char *kwnames[] = {
1693 (char *) "name",(char *) "value", NULL
1694 };
1695
1696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1697 {
1698 arg1 = wxString_in_helper(obj0);
1699 if (arg1 == NULL) SWIG_fail;
1700 temp1 = True;
1701 }
1702 arg2 = (int) SWIG_AsInt(obj1);
1703 if (PyErr_Occurred()) SWIG_fail;
1704 {
1705 PyThreadState* __tstate = wxPyBeginAllowThreads();
1706 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1707
1708 wxPyEndAllowThreads(__tstate);
1709 if (PyErr_Occurred()) SWIG_fail;
1710 }
1711 Py_INCREF(Py_None); resultobj = Py_None;
1712 {
1713 if (temp1)
1714 delete arg1;
1715 }
1716 return resultobj;
1717 fail:
1718 {
1719 if (temp1)
1720 delete arg1;
1721 }
1722 return NULL;
1723 }
1724
1725
1726 static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
1727 PyObject *resultobj;
1728 wxString *arg1 = 0 ;
1729 wxString result;
1730 bool temp1 = False ;
1731 PyObject * obj0 = 0 ;
1732 char *kwnames[] = {
1733 (char *) "name", NULL
1734 };
1735
1736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1737 {
1738 arg1 = wxString_in_helper(obj0);
1739 if (arg1 == NULL) SWIG_fail;
1740 temp1 = True;
1741 }
1742 {
1743 PyThreadState* __tstate = wxPyBeginAllowThreads();
1744 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1745
1746 wxPyEndAllowThreads(__tstate);
1747 if (PyErr_Occurred()) SWIG_fail;
1748 }
1749 {
1750 #if wxUSE_UNICODE
1751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1752 #else
1753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1754 #endif
1755 }
1756 {
1757 if (temp1)
1758 delete arg1;
1759 }
1760 return resultobj;
1761 fail:
1762 {
1763 if (temp1)
1764 delete arg1;
1765 }
1766 return NULL;
1767 }
1768
1769
1770 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
1771 PyObject *resultobj;
1772 wxString *arg1 = 0 ;
1773 int result;
1774 bool temp1 = False ;
1775 PyObject * obj0 = 0 ;
1776 char *kwnames[] = {
1777 (char *) "name", NULL
1778 };
1779
1780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1781 {
1782 arg1 = wxString_in_helper(obj0);
1783 if (arg1 == NULL) SWIG_fail;
1784 temp1 = True;
1785 }
1786 {
1787 PyThreadState* __tstate = wxPyBeginAllowThreads();
1788 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1789
1790 wxPyEndAllowThreads(__tstate);
1791 if (PyErr_Occurred()) SWIG_fail;
1792 }
1793 resultobj = SWIG_FromInt((int)result);
1794 {
1795 if (temp1)
1796 delete arg1;
1797 }
1798 return resultobj;
1799 fail:
1800 {
1801 if (temp1)
1802 delete arg1;
1803 }
1804 return NULL;
1805 }
1806
1807
1808 static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
1809 PyObject *resultobj;
1810 wxString *arg1 = 0 ;
1811 bool result;
1812 bool temp1 = False ;
1813 PyObject * obj0 = 0 ;
1814 char *kwnames[] = {
1815 (char *) "name", NULL
1816 };
1817
1818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1819 {
1820 arg1 = wxString_in_helper(obj0);
1821 if (arg1 == NULL) SWIG_fail;
1822 temp1 = True;
1823 }
1824 {
1825 PyThreadState* __tstate = wxPyBeginAllowThreads();
1826 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1827
1828 wxPyEndAllowThreads(__tstate);
1829 if (PyErr_Occurred()) SWIG_fail;
1830 }
1831 {
1832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1833 }
1834 {
1835 if (temp1)
1836 delete arg1;
1837 }
1838 return resultobj;
1839 fail:
1840 {
1841 if (temp1)
1842 delete arg1;
1843 }
1844 return NULL;
1845 }
1846
1847
1848 static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
1849 PyObject *obj;
1850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1851 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1852 Py_INCREF(obj);
1853 return Py_BuildValue((char *)"");
1854 }
1855 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
1856 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1857 return 1;
1858 }
1859
1860
1861 static PyObject *_wrap_FileSelectorPromptStr_get() {
1862 PyObject *pyobj;
1863
1864 {
1865 #if wxUSE_UNICODE
1866 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1867 #else
1868 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1869 #endif
1870 }
1871 return pyobj;
1872 }
1873
1874
1875 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
1876 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1877 return 1;
1878 }
1879
1880
1881 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1882 PyObject *pyobj;
1883
1884 {
1885 #if wxUSE_UNICODE
1886 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1887 #else
1888 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1889 #endif
1890 }
1891 return pyobj;
1892 }
1893
1894
1895 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
1896 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1897 return 1;
1898 }
1899
1900
1901 static PyObject *_wrap_DirSelectorPromptStr_get() {
1902 PyObject *pyobj;
1903
1904 {
1905 #if wxUSE_UNICODE
1906 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1907 #else
1908 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1909 #endif
1910 }
1911 return pyobj;
1912 }
1913
1914
1915 static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
1916 PyObject *resultobj;
1917 long result;
1918 char *kwnames[] = {
1919 NULL
1920 };
1921
1922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1923 {
1924 PyThreadState* __tstate = wxPyBeginAllowThreads();
1925 result = (long)wxNewId();
1926
1927 wxPyEndAllowThreads(__tstate);
1928 if (PyErr_Occurred()) SWIG_fail;
1929 }
1930 resultobj = SWIG_FromLong((long)result);
1931 return resultobj;
1932 fail:
1933 return NULL;
1934 }
1935
1936
1937 static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
1938 PyObject *resultobj;
1939 long arg1 ;
1940 PyObject * obj0 = 0 ;
1941 char *kwnames[] = {
1942 (char *) "id", NULL
1943 };
1944
1945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
1946 arg1 = (long) SWIG_AsLong(obj0);
1947 if (PyErr_Occurred()) SWIG_fail;
1948 {
1949 PyThreadState* __tstate = wxPyBeginAllowThreads();
1950 wxRegisterId(arg1);
1951
1952 wxPyEndAllowThreads(__tstate);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 }
1955 Py_INCREF(Py_None); resultobj = Py_None;
1956 return resultobj;
1957 fail:
1958 return NULL;
1959 }
1960
1961
1962 static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
1963 PyObject *resultobj;
1964 long result;
1965 char *kwnames[] = {
1966 NULL
1967 };
1968
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1970 {
1971 PyThreadState* __tstate = wxPyBeginAllowThreads();
1972 result = (long)wxGetCurrentId();
1973
1974 wxPyEndAllowThreads(__tstate);
1975 if (PyErr_Occurred()) SWIG_fail;
1976 }
1977 resultobj = SWIG_FromLong((long)result);
1978 return resultobj;
1979 fail:
1980 return NULL;
1981 }
1982
1983
1984 static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
1985 PyObject *resultobj;
1986 char *kwnames[] = {
1987 NULL
1988 };
1989
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1991 {
1992 PyThreadState* __tstate = wxPyBeginAllowThreads();
1993 wxBell();
1994
1995 wxPyEndAllowThreads(__tstate);
1996 if (PyErr_Occurred()) SWIG_fail;
1997 }
1998 Py_INCREF(Py_None); resultobj = Py_None;
1999 return resultobj;
2000 fail:
2001 return NULL;
2002 }
2003
2004
2005 static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
2006 PyObject *resultobj;
2007 char *kwnames[] = {
2008 NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2012 {
2013 PyThreadState* __tstate = wxPyBeginAllowThreads();
2014 wxEndBusyCursor();
2015
2016 wxPyEndAllowThreads(__tstate);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 }
2019 Py_INCREF(Py_None); resultobj = Py_None;
2020 return resultobj;
2021 fail:
2022 return NULL;
2023 }
2024
2025
2026 static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
2027 PyObject *resultobj;
2028 bool arg1 = (bool) True ;
2029 long result;
2030 PyObject * obj0 = 0 ;
2031 char *kwnames[] = {
2032 (char *) "resetTimer", NULL
2033 };
2034
2035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2036 if (obj0) {
2037 arg1 = (bool) SWIG_AsBool(obj0);
2038 if (PyErr_Occurred()) SWIG_fail;
2039 }
2040 {
2041 PyThreadState* __tstate = wxPyBeginAllowThreads();
2042 result = (long)wxGetElapsedTime(arg1);
2043
2044 wxPyEndAllowThreads(__tstate);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 }
2047 resultobj = SWIG_FromLong((long)result);
2048 return resultobj;
2049 fail:
2050 return NULL;
2051 }
2052
2053
2054 static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
2055 PyObject *resultobj;
2056 int *arg1 = (int *) 0 ;
2057 int *arg2 = (int *) 0 ;
2058 int temp1 ;
2059 int temp2 ;
2060 char *kwnames[] = {
2061 NULL
2062 };
2063
2064 arg1 = &temp1;
2065 arg2 = &temp2;
2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2067 {
2068 PyThreadState* __tstate = wxPyBeginAllowThreads();
2069 wxGetMousePosition(arg1,arg2);
2070
2071 wxPyEndAllowThreads(__tstate);
2072 if (PyErr_Occurred()) SWIG_fail;
2073 }
2074 Py_INCREF(Py_None); resultobj = Py_None;
2075 {
2076 PyObject *o = PyInt_FromLong((long) (*arg1));
2077 resultobj = t_output_helper(resultobj,o);
2078 }
2079 {
2080 PyObject *o = PyInt_FromLong((long) (*arg2));
2081 resultobj = t_output_helper(resultobj,o);
2082 }
2083 return resultobj;
2084 fail:
2085 return NULL;
2086 }
2087
2088
2089 static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
2090 PyObject *resultobj;
2091 bool result;
2092 char *kwnames[] = {
2093 NULL
2094 };
2095
2096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 result = (bool)wxIsBusy();
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 {
2105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2106 }
2107 return resultobj;
2108 fail:
2109 return NULL;
2110 }
2111
2112
2113 static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
2114 PyObject *resultobj;
2115 wxString result;
2116 char *kwnames[] = {
2117 NULL
2118 };
2119
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2121 {
2122 PyThreadState* __tstate = wxPyBeginAllowThreads();
2123 result = wxNow();
2124
2125 wxPyEndAllowThreads(__tstate);
2126 if (PyErr_Occurred()) SWIG_fail;
2127 }
2128 {
2129 #if wxUSE_UNICODE
2130 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2131 #else
2132 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2133 #endif
2134 }
2135 return resultobj;
2136 fail:
2137 return NULL;
2138 }
2139
2140
2141 static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
2142 PyObject *resultobj;
2143 wxString const &arg1_defvalue = wxPyEmptyString ;
2144 wxString *arg1 = (wxString *) &arg1_defvalue ;
2145 bool result;
2146 bool temp1 = False ;
2147 PyObject * obj0 = 0 ;
2148 char *kwnames[] = {
2149 (char *) "command", NULL
2150 };
2151
2152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2153 if (obj0) {
2154 {
2155 arg1 = wxString_in_helper(obj0);
2156 if (arg1 == NULL) SWIG_fail;
2157 temp1 = True;
2158 }
2159 }
2160 {
2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
2162 result = (bool)wxShell((wxString const &)*arg1);
2163
2164 wxPyEndAllowThreads(__tstate);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 }
2167 {
2168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2169 }
2170 {
2171 if (temp1)
2172 delete arg1;
2173 }
2174 return resultobj;
2175 fail:
2176 {
2177 if (temp1)
2178 delete arg1;
2179 }
2180 return NULL;
2181 }
2182
2183
2184 static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
2185 PyObject *resultobj;
2186 char *kwnames[] = {
2187 NULL
2188 };
2189
2190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2191 {
2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
2193 wxStartTimer();
2194
2195 wxPyEndAllowThreads(__tstate);
2196 if (PyErr_Occurred()) SWIG_fail;
2197 }
2198 Py_INCREF(Py_None); resultobj = Py_None;
2199 return resultobj;
2200 fail:
2201 return NULL;
2202 }
2203
2204
2205 static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
2206 PyObject *resultobj;
2207 int *arg1 = (int *) 0 ;
2208 int *arg2 = (int *) 0 ;
2209 int result;
2210 int temp1 ;
2211 int temp2 ;
2212 char *kwnames[] = {
2213 NULL
2214 };
2215
2216 arg1 = &temp1;
2217 arg2 = &temp2;
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2219 {
2220 PyThreadState* __tstate = wxPyBeginAllowThreads();
2221 result = (int)wxGetOsVersion(arg1,arg2);
2222
2223 wxPyEndAllowThreads(__tstate);
2224 if (PyErr_Occurred()) SWIG_fail;
2225 }
2226 resultobj = SWIG_FromInt((int)result);
2227 {
2228 PyObject *o = PyInt_FromLong((long) (*arg1));
2229 resultobj = t_output_helper(resultobj,o);
2230 }
2231 {
2232 PyObject *o = PyInt_FromLong((long) (*arg2));
2233 resultobj = t_output_helper(resultobj,o);
2234 }
2235 return resultobj;
2236 fail:
2237 return NULL;
2238 }
2239
2240
2241 static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
2242 PyObject *resultobj;
2243 wxString result;
2244 char *kwnames[] = {
2245 NULL
2246 };
2247
2248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2249 {
2250 PyThreadState* __tstate = wxPyBeginAllowThreads();
2251 result = wxGetOsDescription();
2252
2253 wxPyEndAllowThreads(__tstate);
2254 if (PyErr_Occurred()) SWIG_fail;
2255 }
2256 {
2257 #if wxUSE_UNICODE
2258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2259 #else
2260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2261 #endif
2262 }
2263 return resultobj;
2264 fail:
2265 return NULL;
2266 }
2267
2268
2269 static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
2270 PyObject *resultobj;
2271 long result;
2272 char *kwnames[] = {
2273 NULL
2274 };
2275
2276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 result = (long)wxGetFreeMemory();
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 resultobj = SWIG_FromLong((long)result);
2285 return resultobj;
2286 fail:
2287 return NULL;
2288 }
2289
2290
2291 static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
2292 PyObject *resultobj;
2293 int arg1 ;
2294 bool result;
2295 PyObject * obj0 = 0 ;
2296 char *kwnames[] = {
2297 (char *) "wFlags", NULL
2298 };
2299
2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2301 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 {
2304 PyThreadState* __tstate = wxPyBeginAllowThreads();
2305 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2306
2307 wxPyEndAllowThreads(__tstate);
2308 if (PyErr_Occurred()) SWIG_fail;
2309 }
2310 {
2311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2312 }
2313 return resultobj;
2314 fail:
2315 return NULL;
2316 }
2317
2318
2319 static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 int arg1 ;
2322 PyObject * obj0 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "secs", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2328 arg1 = (int) SWIG_AsInt(obj0);
2329 if (PyErr_Occurred()) SWIG_fail;
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 wxSleep(arg1);
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 Py_INCREF(Py_None); resultobj = Py_None;
2338 return resultobj;
2339 fail:
2340 return NULL;
2341 }
2342
2343
2344 static PyObject *_wrap_Usleep(PyObject *, PyObject *args, PyObject *kwargs) {
2345 PyObject *resultobj;
2346 unsigned long arg1 ;
2347 PyObject * obj0 = 0 ;
2348 char *kwnames[] = {
2349 (char *) "milliseconds", NULL
2350 };
2351
2352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2353 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2354 if (PyErr_Occurred()) SWIG_fail;
2355 {
2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
2357 wxUsleep(arg1);
2358
2359 wxPyEndAllowThreads(__tstate);
2360 if (PyErr_Occurred()) SWIG_fail;
2361 }
2362 Py_INCREF(Py_None); resultobj = Py_None;
2363 return resultobj;
2364 fail:
2365 return NULL;
2366 }
2367
2368
2369 static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
2370 PyObject *resultobj;
2371 bool arg1 ;
2372 PyObject * obj0 = 0 ;
2373 char *kwnames[] = {
2374 (char *) "enable", NULL
2375 };
2376
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2378 arg1 = (bool) SWIG_AsBool(obj0);
2379 if (PyErr_Occurred()) SWIG_fail;
2380 {
2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
2382 wxEnableTopLevelWindows(arg1);
2383
2384 wxPyEndAllowThreads(__tstate);
2385 if (PyErr_Occurred()) SWIG_fail;
2386 }
2387 Py_INCREF(Py_None); resultobj = Py_None;
2388 return resultobj;
2389 fail:
2390 return NULL;
2391 }
2392
2393
2394 static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
2395 PyObject *resultobj;
2396 wxString *arg1 = 0 ;
2397 wxString result;
2398 bool temp1 = False ;
2399 PyObject * obj0 = 0 ;
2400 char *kwnames[] = {
2401 (char *) "in", NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2405 {
2406 arg1 = wxString_in_helper(obj0);
2407 if (arg1 == NULL) SWIG_fail;
2408 temp1 = True;
2409 }
2410 {
2411 PyThreadState* __tstate = wxPyBeginAllowThreads();
2412 result = wxStripMenuCodes((wxString const &)*arg1);
2413
2414 wxPyEndAllowThreads(__tstate);
2415 if (PyErr_Occurred()) SWIG_fail;
2416 }
2417 {
2418 #if wxUSE_UNICODE
2419 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2420 #else
2421 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2422 #endif
2423 }
2424 {
2425 if (temp1)
2426 delete arg1;
2427 }
2428 return resultobj;
2429 fail:
2430 {
2431 if (temp1)
2432 delete arg1;
2433 }
2434 return NULL;
2435 }
2436
2437
2438 static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
2439 PyObject *resultobj;
2440 wxString result;
2441 char *kwnames[] = {
2442 NULL
2443 };
2444
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2446 {
2447 PyThreadState* __tstate = wxPyBeginAllowThreads();
2448 result = wxGetEmailAddress();
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 return resultobj;
2461 fail:
2462 return NULL;
2463 }
2464
2465
2466 static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
2467 PyObject *resultobj;
2468 wxString result;
2469 char *kwnames[] = {
2470 NULL
2471 };
2472
2473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2474 {
2475 PyThreadState* __tstate = wxPyBeginAllowThreads();
2476 result = wxGetHostName();
2477
2478 wxPyEndAllowThreads(__tstate);
2479 if (PyErr_Occurred()) SWIG_fail;
2480 }
2481 {
2482 #if wxUSE_UNICODE
2483 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2484 #else
2485 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2486 #endif
2487 }
2488 return resultobj;
2489 fail:
2490 return NULL;
2491 }
2492
2493
2494 static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
2495 PyObject *resultobj;
2496 wxString result;
2497 char *kwnames[] = {
2498 NULL
2499 };
2500
2501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2502 {
2503 PyThreadState* __tstate = wxPyBeginAllowThreads();
2504 result = wxGetFullHostName();
2505
2506 wxPyEndAllowThreads(__tstate);
2507 if (PyErr_Occurred()) SWIG_fail;
2508 }
2509 {
2510 #if wxUSE_UNICODE
2511 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2512 #else
2513 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2514 #endif
2515 }
2516 return resultobj;
2517 fail:
2518 return NULL;
2519 }
2520
2521
2522 static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
2523 PyObject *resultobj;
2524 wxString result;
2525 char *kwnames[] = {
2526 NULL
2527 };
2528
2529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2530 {
2531 PyThreadState* __tstate = wxPyBeginAllowThreads();
2532 result = wxGetUserId();
2533
2534 wxPyEndAllowThreads(__tstate);
2535 if (PyErr_Occurred()) SWIG_fail;
2536 }
2537 {
2538 #if wxUSE_UNICODE
2539 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2540 #else
2541 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2542 #endif
2543 }
2544 return resultobj;
2545 fail:
2546 return NULL;
2547 }
2548
2549
2550 static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
2551 PyObject *resultobj;
2552 wxString result;
2553 char *kwnames[] = {
2554 NULL
2555 };
2556
2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2558 {
2559 PyThreadState* __tstate = wxPyBeginAllowThreads();
2560 result = wxGetUserName();
2561
2562 wxPyEndAllowThreads(__tstate);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
2565 {
2566 #if wxUSE_UNICODE
2567 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2568 #else
2569 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2570 #endif
2571 }
2572 return resultobj;
2573 fail:
2574 return NULL;
2575 }
2576
2577
2578 static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
2579 PyObject *resultobj;
2580 wxString result;
2581 char *kwnames[] = {
2582 NULL
2583 };
2584
2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2586 {
2587 PyThreadState* __tstate = wxPyBeginAllowThreads();
2588 result = wxGetHomeDir();
2589
2590 wxPyEndAllowThreads(__tstate);
2591 if (PyErr_Occurred()) SWIG_fail;
2592 }
2593 {
2594 #if wxUSE_UNICODE
2595 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2596 #else
2597 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2598 #endif
2599 }
2600 return resultobj;
2601 fail:
2602 return NULL;
2603 }
2604
2605
2606 static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
2607 PyObject *resultobj;
2608 wxString const &arg1_defvalue = wxPyEmptyString ;
2609 wxString *arg1 = (wxString *) &arg1_defvalue ;
2610 wxString result;
2611 bool temp1 = False ;
2612 PyObject * obj0 = 0 ;
2613 char *kwnames[] = {
2614 (char *) "user", NULL
2615 };
2616
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2618 if (obj0) {
2619 {
2620 arg1 = wxString_in_helper(obj0);
2621 if (arg1 == NULL) SWIG_fail;
2622 temp1 = True;
2623 }
2624 }
2625 {
2626 PyThreadState* __tstate = wxPyBeginAllowThreads();
2627 result = wxGetUserHome((wxString const &)*arg1);
2628
2629 wxPyEndAllowThreads(__tstate);
2630 if (PyErr_Occurred()) SWIG_fail;
2631 }
2632 {
2633 #if wxUSE_UNICODE
2634 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2635 #else
2636 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2637 #endif
2638 }
2639 {
2640 if (temp1)
2641 delete arg1;
2642 }
2643 return resultobj;
2644 fail:
2645 {
2646 if (temp1)
2647 delete arg1;
2648 }
2649 return NULL;
2650 }
2651
2652
2653 static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
2654 PyObject *resultobj;
2655 unsigned long result;
2656 char *kwnames[] = {
2657 NULL
2658 };
2659
2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2661 {
2662 PyThreadState* __tstate = wxPyBeginAllowThreads();
2663 result = (unsigned long)wxGetProcessId();
2664
2665 wxPyEndAllowThreads(__tstate);
2666 if (PyErr_Occurred()) SWIG_fail;
2667 }
2668 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
2669 return resultobj;
2670 fail:
2671 return NULL;
2672 }
2673
2674
2675 static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
2676 PyObject *resultobj;
2677 char *kwnames[] = {
2678 NULL
2679 };
2680
2681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2682 {
2683 PyThreadState* __tstate = wxPyBeginAllowThreads();
2684 wxTrap();
2685
2686 wxPyEndAllowThreads(__tstate);
2687 if (PyErr_Occurred()) SWIG_fail;
2688 }
2689 Py_INCREF(Py_None); resultobj = Py_None;
2690 return resultobj;
2691 fail:
2692 return NULL;
2693 }
2694
2695
2696 static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
2697 PyObject *resultobj;
2698 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2699 wxString *arg1 = (wxString *) &arg1_defvalue ;
2700 wxString const &arg2_defvalue = wxPyEmptyString ;
2701 wxString *arg2 = (wxString *) &arg2_defvalue ;
2702 wxString const &arg3_defvalue = wxPyEmptyString ;
2703 wxString *arg3 = (wxString *) &arg3_defvalue ;
2704 wxString const &arg4_defvalue = wxPyEmptyString ;
2705 wxString *arg4 = (wxString *) &arg4_defvalue ;
2706 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2707 wxString *arg5 = (wxString *) &arg5_defvalue ;
2708 int arg6 = (int) 0 ;
2709 wxWindow *arg7 = (wxWindow *) NULL ;
2710 int arg8 = (int) -1 ;
2711 int arg9 = (int) -1 ;
2712 wxString result;
2713 bool temp1 = False ;
2714 bool temp2 = False ;
2715 bool temp3 = False ;
2716 bool temp4 = False ;
2717 bool temp5 = False ;
2718 PyObject * obj0 = 0 ;
2719 PyObject * obj1 = 0 ;
2720 PyObject * obj2 = 0 ;
2721 PyObject * obj3 = 0 ;
2722 PyObject * obj4 = 0 ;
2723 PyObject * obj5 = 0 ;
2724 PyObject * obj6 = 0 ;
2725 PyObject * obj7 = 0 ;
2726 PyObject * obj8 = 0 ;
2727 char *kwnames[] = {
2728 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2732 if (obj0) {
2733 {
2734 arg1 = wxString_in_helper(obj0);
2735 if (arg1 == NULL) SWIG_fail;
2736 temp1 = True;
2737 }
2738 }
2739 if (obj1) {
2740 {
2741 arg2 = wxString_in_helper(obj1);
2742 if (arg2 == NULL) SWIG_fail;
2743 temp2 = True;
2744 }
2745 }
2746 if (obj2) {
2747 {
2748 arg3 = wxString_in_helper(obj2);
2749 if (arg3 == NULL) SWIG_fail;
2750 temp3 = True;
2751 }
2752 }
2753 if (obj3) {
2754 {
2755 arg4 = wxString_in_helper(obj3);
2756 if (arg4 == NULL) SWIG_fail;
2757 temp4 = True;
2758 }
2759 }
2760 if (obj4) {
2761 {
2762 arg5 = wxString_in_helper(obj4);
2763 if (arg5 == NULL) SWIG_fail;
2764 temp5 = True;
2765 }
2766 }
2767 if (obj5) {
2768 arg6 = (int) SWIG_AsInt(obj5);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 if (obj6) {
2772 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2774 }
2775 if (obj7) {
2776 arg8 = (int) SWIG_AsInt(obj7);
2777 if (PyErr_Occurred()) SWIG_fail;
2778 }
2779 if (obj8) {
2780 arg9 = (int) SWIG_AsInt(obj8);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
2790 {
2791 #if wxUSE_UNICODE
2792 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2793 #else
2794 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2795 #endif
2796 }
2797 {
2798 if (temp1)
2799 delete arg1;
2800 }
2801 {
2802 if (temp2)
2803 delete arg2;
2804 }
2805 {
2806 if (temp3)
2807 delete arg3;
2808 }
2809 {
2810 if (temp4)
2811 delete arg4;
2812 }
2813 {
2814 if (temp5)
2815 delete arg5;
2816 }
2817 return resultobj;
2818 fail:
2819 {
2820 if (temp1)
2821 delete arg1;
2822 }
2823 {
2824 if (temp2)
2825 delete arg2;
2826 }
2827 {
2828 if (temp3)
2829 delete arg3;
2830 }
2831 {
2832 if (temp4)
2833 delete arg4;
2834 }
2835 {
2836 if (temp5)
2837 delete arg5;
2838 }
2839 return NULL;
2840 }
2841
2842
2843 static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
2844 PyObject *resultobj;
2845 wxString *arg1 = 0 ;
2846 wxString *arg2 = 0 ;
2847 wxString const &arg3_defvalue = wxPyEmptyString ;
2848 wxString *arg3 = (wxString *) &arg3_defvalue ;
2849 wxWindow *arg4 = (wxWindow *) NULL ;
2850 wxString result;
2851 bool temp1 = False ;
2852 bool temp2 = False ;
2853 bool temp3 = False ;
2854 PyObject * obj0 = 0 ;
2855 PyObject * obj1 = 0 ;
2856 PyObject * obj2 = 0 ;
2857 PyObject * obj3 = 0 ;
2858 char *kwnames[] = {
2859 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2860 };
2861
2862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2863 {
2864 arg1 = wxString_in_helper(obj0);
2865 if (arg1 == NULL) SWIG_fail;
2866 temp1 = True;
2867 }
2868 {
2869 arg2 = wxString_in_helper(obj1);
2870 if (arg2 == NULL) SWIG_fail;
2871 temp2 = True;
2872 }
2873 if (obj2) {
2874 {
2875 arg3 = wxString_in_helper(obj2);
2876 if (arg3 == NULL) SWIG_fail;
2877 temp3 = True;
2878 }
2879 }
2880 if (obj3) {
2881 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2883 }
2884 {
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2887
2888 wxPyEndAllowThreads(__tstate);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 {
2892 #if wxUSE_UNICODE
2893 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2894 #else
2895 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2896 #endif
2897 }
2898 {
2899 if (temp1)
2900 delete arg1;
2901 }
2902 {
2903 if (temp2)
2904 delete arg2;
2905 }
2906 {
2907 if (temp3)
2908 delete arg3;
2909 }
2910 return resultobj;
2911 fail:
2912 {
2913 if (temp1)
2914 delete arg1;
2915 }
2916 {
2917 if (temp2)
2918 delete arg2;
2919 }
2920 {
2921 if (temp3)
2922 delete arg3;
2923 }
2924 return NULL;
2925 }
2926
2927
2928 static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
2929 PyObject *resultobj;
2930 wxString *arg1 = 0 ;
2931 wxString *arg2 = 0 ;
2932 wxString const &arg3_defvalue = wxPyEmptyString ;
2933 wxString *arg3 = (wxString *) &arg3_defvalue ;
2934 wxWindow *arg4 = (wxWindow *) NULL ;
2935 wxString result;
2936 bool temp1 = False ;
2937 bool temp2 = False ;
2938 bool temp3 = False ;
2939 PyObject * obj0 = 0 ;
2940 PyObject * obj1 = 0 ;
2941 PyObject * obj2 = 0 ;
2942 PyObject * obj3 = 0 ;
2943 char *kwnames[] = {
2944 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2945 };
2946
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2948 {
2949 arg1 = wxString_in_helper(obj0);
2950 if (arg1 == NULL) SWIG_fail;
2951 temp1 = True;
2952 }
2953 {
2954 arg2 = wxString_in_helper(obj1);
2955 if (arg2 == NULL) SWIG_fail;
2956 temp2 = True;
2957 }
2958 if (obj2) {
2959 {
2960 arg3 = wxString_in_helper(obj2);
2961 if (arg3 == NULL) SWIG_fail;
2962 temp3 = True;
2963 }
2964 }
2965 if (obj3) {
2966 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2968 }
2969 {
2970 PyThreadState* __tstate = wxPyBeginAllowThreads();
2971 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2972
2973 wxPyEndAllowThreads(__tstate);
2974 if (PyErr_Occurred()) SWIG_fail;
2975 }
2976 {
2977 #if wxUSE_UNICODE
2978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2979 #else
2980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2981 #endif
2982 }
2983 {
2984 if (temp1)
2985 delete arg1;
2986 }
2987 {
2988 if (temp2)
2989 delete arg2;
2990 }
2991 {
2992 if (temp3)
2993 delete arg3;
2994 }
2995 return resultobj;
2996 fail:
2997 {
2998 if (temp1)
2999 delete arg1;
3000 }
3001 {
3002 if (temp2)
3003 delete arg2;
3004 }
3005 {
3006 if (temp3)
3007 delete arg3;
3008 }
3009 return NULL;
3010 }
3011
3012
3013 static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
3014 PyObject *resultobj;
3015 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3016 wxString *arg1 = (wxString *) &arg1_defvalue ;
3017 wxString const &arg2_defvalue = wxPyEmptyString ;
3018 wxString *arg2 = (wxString *) &arg2_defvalue ;
3019 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3020 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3021 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3022 wxWindow *arg5 = (wxWindow *) NULL ;
3023 wxString result;
3024 bool temp1 = False ;
3025 bool temp2 = False ;
3026 wxPoint temp4 ;
3027 PyObject * obj0 = 0 ;
3028 PyObject * obj1 = 0 ;
3029 PyObject * obj2 = 0 ;
3030 PyObject * obj3 = 0 ;
3031 PyObject * obj4 = 0 ;
3032 char *kwnames[] = {
3033 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3034 };
3035
3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3037 if (obj0) {
3038 {
3039 arg1 = wxString_in_helper(obj0);
3040 if (arg1 == NULL) SWIG_fail;
3041 temp1 = True;
3042 }
3043 }
3044 if (obj1) {
3045 {
3046 arg2 = wxString_in_helper(obj1);
3047 if (arg2 == NULL) SWIG_fail;
3048 temp2 = True;
3049 }
3050 }
3051 if (obj2) {
3052 arg3 = (long) SWIG_AsLong(obj2);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 if (obj3) {
3056 {
3057 arg4 = &temp4;
3058 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3059 }
3060 }
3061 if (obj4) {
3062 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3064 }
3065 {
3066 PyThreadState* __tstate = wxPyBeginAllowThreads();
3067 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3068
3069 wxPyEndAllowThreads(__tstate);
3070 if (PyErr_Occurred()) SWIG_fail;
3071 }
3072 {
3073 #if wxUSE_UNICODE
3074 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3075 #else
3076 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3077 #endif
3078 }
3079 {
3080 if (temp1)
3081 delete arg1;
3082 }
3083 {
3084 if (temp2)
3085 delete arg2;
3086 }
3087 return resultobj;
3088 fail:
3089 {
3090 if (temp1)
3091 delete arg1;
3092 }
3093 {
3094 if (temp2)
3095 delete arg2;
3096 }
3097 return NULL;
3098 }
3099
3100
3101 static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
3102 PyObject *resultobj;
3103 wxString *arg1 = 0 ;
3104 wxString const &arg2_defvalue = wxPyEmptyString ;
3105 wxString *arg2 = (wxString *) &arg2_defvalue ;
3106 wxString const &arg3_defvalue = wxPyEmptyString ;
3107 wxString *arg3 = (wxString *) &arg3_defvalue ;
3108 wxWindow *arg4 = (wxWindow *) NULL ;
3109 int arg5 = (int) -1 ;
3110 int arg6 = (int) -1 ;
3111 bool arg7 = (bool) True ;
3112 wxString result;
3113 bool temp1 = False ;
3114 bool temp2 = False ;
3115 bool temp3 = False ;
3116 PyObject * obj0 = 0 ;
3117 PyObject * obj1 = 0 ;
3118 PyObject * obj2 = 0 ;
3119 PyObject * obj3 = 0 ;
3120 PyObject * obj4 = 0 ;
3121 PyObject * obj5 = 0 ;
3122 PyObject * obj6 = 0 ;
3123 char *kwnames[] = {
3124 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3125 };
3126
3127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3128 {
3129 arg1 = wxString_in_helper(obj0);
3130 if (arg1 == NULL) SWIG_fail;
3131 temp1 = True;
3132 }
3133 if (obj1) {
3134 {
3135 arg2 = wxString_in_helper(obj1);
3136 if (arg2 == NULL) SWIG_fail;
3137 temp2 = True;
3138 }
3139 }
3140 if (obj2) {
3141 {
3142 arg3 = wxString_in_helper(obj2);
3143 if (arg3 == NULL) SWIG_fail;
3144 temp3 = True;
3145 }
3146 }
3147 if (obj3) {
3148 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3150 }
3151 if (obj4) {
3152 arg5 = (int) SWIG_AsInt(obj4);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 if (obj5) {
3156 arg6 = (int) SWIG_AsInt(obj5);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 if (obj6) {
3160 arg7 = (bool) SWIG_AsBool(obj6);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 {
3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
3165 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3166
3167 wxPyEndAllowThreads(__tstate);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 {
3171 #if wxUSE_UNICODE
3172 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3173 #else
3174 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3175 #endif
3176 }
3177 {
3178 if (temp1)
3179 delete arg1;
3180 }
3181 {
3182 if (temp2)
3183 delete arg2;
3184 }
3185 {
3186 if (temp3)
3187 delete arg3;
3188 }
3189 return resultobj;
3190 fail:
3191 {
3192 if (temp1)
3193 delete arg1;
3194 }
3195 {
3196 if (temp2)
3197 delete arg2;
3198 }
3199 {
3200 if (temp3)
3201 delete arg3;
3202 }
3203 return NULL;
3204 }
3205
3206
3207 static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
3208 PyObject *resultobj;
3209 wxString *arg1 = 0 ;
3210 wxString const &arg2_defvalue = wxPyEmptyString ;
3211 wxString *arg2 = (wxString *) &arg2_defvalue ;
3212 wxString const &arg3_defvalue = wxPyEmptyString ;
3213 wxString *arg3 = (wxString *) &arg3_defvalue ;
3214 wxWindow *arg4 = (wxWindow *) NULL ;
3215 wxString result;
3216 bool temp1 = False ;
3217 bool temp2 = False ;
3218 bool temp3 = False ;
3219 PyObject * obj0 = 0 ;
3220 PyObject * obj1 = 0 ;
3221 PyObject * obj2 = 0 ;
3222 PyObject * obj3 = 0 ;
3223 char *kwnames[] = {
3224 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3225 };
3226
3227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3228 {
3229 arg1 = wxString_in_helper(obj0);
3230 if (arg1 == NULL) SWIG_fail;
3231 temp1 = True;
3232 }
3233 if (obj1) {
3234 {
3235 arg2 = wxString_in_helper(obj1);
3236 if (arg2 == NULL) SWIG_fail;
3237 temp2 = True;
3238 }
3239 }
3240 if (obj2) {
3241 {
3242 arg3 = wxString_in_helper(obj2);
3243 if (arg3 == NULL) SWIG_fail;
3244 temp3 = True;
3245 }
3246 }
3247 if (obj3) {
3248 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3250 }
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 {
3259 #if wxUSE_UNICODE
3260 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3261 #else
3262 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3263 #endif
3264 }
3265 {
3266 if (temp1)
3267 delete arg1;
3268 }
3269 {
3270 if (temp2)
3271 delete arg2;
3272 }
3273 {
3274 if (temp3)
3275 delete arg3;
3276 }
3277 return resultobj;
3278 fail:
3279 {
3280 if (temp1)
3281 delete arg1;
3282 }
3283 {
3284 if (temp2)
3285 delete arg2;
3286 }
3287 {
3288 if (temp3)
3289 delete arg3;
3290 }
3291 return NULL;
3292 }
3293
3294
3295 static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3296 PyObject *resultobj;
3297 wxString *arg1 = 0 ;
3298 wxString *arg2 = 0 ;
3299 int arg3 ;
3300 wxString *arg4 = (wxString *) 0 ;
3301 wxWindow *arg5 = (wxWindow *) NULL ;
3302 int arg6 = (int) -1 ;
3303 int arg7 = (int) -1 ;
3304 bool arg8 = (bool) True ;
3305 int arg9 = (int) 150 ;
3306 int arg10 = (int) 200 ;
3307 wxString result;
3308 bool temp1 = False ;
3309 bool temp2 = False ;
3310 PyObject * obj0 = 0 ;
3311 PyObject * obj1 = 0 ;
3312 PyObject * obj2 = 0 ;
3313 PyObject * obj3 = 0 ;
3314 PyObject * obj4 = 0 ;
3315 PyObject * obj5 = 0 ;
3316 PyObject * obj6 = 0 ;
3317 PyObject * obj7 = 0 ;
3318 PyObject * obj8 = 0 ;
3319 char *kwnames[] = {
3320 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3321 };
3322
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3324 {
3325 arg1 = wxString_in_helper(obj0);
3326 if (arg1 == NULL) SWIG_fail;
3327 temp1 = True;
3328 }
3329 {
3330 arg2 = wxString_in_helper(obj1);
3331 if (arg2 == NULL) SWIG_fail;
3332 temp2 = True;
3333 }
3334 {
3335 arg3 = PyList_Size(obj2);
3336 arg4 = wxString_LIST_helper(obj2);
3337 if (arg4 == NULL) SWIG_fail;
3338 }
3339 if (obj3) {
3340 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3342 }
3343 if (obj4) {
3344 arg6 = (int) SWIG_AsInt(obj4);
3345 if (PyErr_Occurred()) SWIG_fail;
3346 }
3347 if (obj5) {
3348 arg7 = (int) SWIG_AsInt(obj5);
3349 if (PyErr_Occurred()) SWIG_fail;
3350 }
3351 if (obj6) {
3352 arg8 = (bool) SWIG_AsBool(obj6);
3353 if (PyErr_Occurred()) SWIG_fail;
3354 }
3355 if (obj7) {
3356 arg9 = (int) SWIG_AsInt(obj7);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 if (obj8) {
3360 arg10 = (int) SWIG_AsInt(obj8);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 {
3371 #if wxUSE_UNICODE
3372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3373 #else
3374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3375 #endif
3376 }
3377 {
3378 if (temp1)
3379 delete arg1;
3380 }
3381 {
3382 if (temp2)
3383 delete arg2;
3384 }
3385 {
3386 if (arg4) delete [] arg4;
3387 }
3388 return resultobj;
3389 fail:
3390 {
3391 if (temp1)
3392 delete arg1;
3393 }
3394 {
3395 if (temp2)
3396 delete arg2;
3397 }
3398 {
3399 if (arg4) delete [] arg4;
3400 }
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxString *arg1 = 0 ;
3408 wxString *arg2 = 0 ;
3409 int arg3 ;
3410 wxString *arg4 = (wxString *) 0 ;
3411 wxWindow *arg5 = (wxWindow *) NULL ;
3412 int arg6 = (int) -1 ;
3413 int arg7 = (int) -1 ;
3414 bool arg8 = (bool) True ;
3415 int arg9 = (int) 150 ;
3416 int arg10 = (int) 200 ;
3417 int result;
3418 bool temp1 = False ;
3419 bool temp2 = False ;
3420 PyObject * obj0 = 0 ;
3421 PyObject * obj1 = 0 ;
3422 PyObject * obj2 = 0 ;
3423 PyObject * obj3 = 0 ;
3424 PyObject * obj4 = 0 ;
3425 PyObject * obj5 = 0 ;
3426 PyObject * obj6 = 0 ;
3427 PyObject * obj7 = 0 ;
3428 PyObject * obj8 = 0 ;
3429 char *kwnames[] = {
3430 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3431 };
3432
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3434 {
3435 arg1 = wxString_in_helper(obj0);
3436 if (arg1 == NULL) SWIG_fail;
3437 temp1 = True;
3438 }
3439 {
3440 arg2 = wxString_in_helper(obj1);
3441 if (arg2 == NULL) SWIG_fail;
3442 temp2 = True;
3443 }
3444 {
3445 arg3 = PyList_Size(obj2);
3446 arg4 = wxString_LIST_helper(obj2);
3447 if (arg4 == NULL) SWIG_fail;
3448 }
3449 if (obj3) {
3450 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3452 }
3453 if (obj4) {
3454 arg6 = (int) SWIG_AsInt(obj4);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
3457 if (obj5) {
3458 arg7 = (int) SWIG_AsInt(obj5);
3459 if (PyErr_Occurred()) SWIG_fail;
3460 }
3461 if (obj6) {
3462 arg8 = (bool) SWIG_AsBool(obj6);
3463 if (PyErr_Occurred()) SWIG_fail;
3464 }
3465 if (obj7) {
3466 arg9 = (int) SWIG_AsInt(obj7);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 if (obj8) {
3470 arg10 = (int) SWIG_AsInt(obj8);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 {
3474 PyThreadState* __tstate = wxPyBeginAllowThreads();
3475 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3476
3477 wxPyEndAllowThreads(__tstate);
3478 if (PyErr_Occurred()) SWIG_fail;
3479 }
3480 resultobj = SWIG_FromInt((int)result);
3481 {
3482 if (temp1)
3483 delete arg1;
3484 }
3485 {
3486 if (temp2)
3487 delete arg2;
3488 }
3489 {
3490 if (arg4) delete [] arg4;
3491 }
3492 return resultobj;
3493 fail:
3494 {
3495 if (temp1)
3496 delete arg1;
3497 }
3498 {
3499 if (temp2)
3500 delete arg2;
3501 }
3502 {
3503 if (arg4) delete [] arg4;
3504 }
3505 return NULL;
3506 }
3507
3508
3509 static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
3510 PyObject *resultobj;
3511 wxString *arg1 = 0 ;
3512 wxString const &arg2_defvalue = wxPyEmptyString ;
3513 wxString *arg2 = (wxString *) &arg2_defvalue ;
3514 int arg3 = (int) wxOK|wxCENTRE ;
3515 wxWindow *arg4 = (wxWindow *) NULL ;
3516 int arg5 = (int) -1 ;
3517 int arg6 = (int) -1 ;
3518 int result;
3519 bool temp1 = False ;
3520 bool temp2 = False ;
3521 PyObject * obj0 = 0 ;
3522 PyObject * obj1 = 0 ;
3523 PyObject * obj2 = 0 ;
3524 PyObject * obj3 = 0 ;
3525 PyObject * obj4 = 0 ;
3526 PyObject * obj5 = 0 ;
3527 char *kwnames[] = {
3528 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3529 };
3530
3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3532 {
3533 arg1 = wxString_in_helper(obj0);
3534 if (arg1 == NULL) SWIG_fail;
3535 temp1 = True;
3536 }
3537 if (obj1) {
3538 {
3539 arg2 = wxString_in_helper(obj1);
3540 if (arg2 == NULL) SWIG_fail;
3541 temp2 = True;
3542 }
3543 }
3544 if (obj2) {
3545 arg3 = (int) SWIG_AsInt(obj2);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
3548 if (obj3) {
3549 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3551 }
3552 if (obj4) {
3553 arg5 = (int) SWIG_AsInt(obj4);
3554 if (PyErr_Occurred()) SWIG_fail;
3555 }
3556 if (obj5) {
3557 arg6 = (int) SWIG_AsInt(obj5);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 }
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 resultobj = SWIG_FromInt((int)result);
3568 {
3569 if (temp1)
3570 delete arg1;
3571 }
3572 {
3573 if (temp2)
3574 delete arg2;
3575 }
3576 return resultobj;
3577 fail:
3578 {
3579 if (temp1)
3580 delete arg1;
3581 }
3582 {
3583 if (temp2)
3584 delete arg2;
3585 }
3586 return NULL;
3587 }
3588
3589
3590 static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
3591 PyObject *resultobj;
3592 wxString *arg1 = 0 ;
3593 wxString *arg2 = 0 ;
3594 wxString *arg3 = 0 ;
3595 long arg4 ;
3596 long arg5 = (long) 0 ;
3597 long arg6 = (long) 100 ;
3598 wxWindow *arg7 = (wxWindow *) NULL ;
3599 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3600 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3601 long result;
3602 bool temp1 = False ;
3603 bool temp2 = False ;
3604 bool temp3 = False ;
3605 wxPoint temp8 ;
3606 PyObject * obj0 = 0 ;
3607 PyObject * obj1 = 0 ;
3608 PyObject * obj2 = 0 ;
3609 PyObject * obj3 = 0 ;
3610 PyObject * obj4 = 0 ;
3611 PyObject * obj5 = 0 ;
3612 PyObject * obj6 = 0 ;
3613 PyObject * obj7 = 0 ;
3614 char *kwnames[] = {
3615 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3616 };
3617
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3619 {
3620 arg1 = wxString_in_helper(obj0);
3621 if (arg1 == NULL) SWIG_fail;
3622 temp1 = True;
3623 }
3624 {
3625 arg2 = wxString_in_helper(obj1);
3626 if (arg2 == NULL) SWIG_fail;
3627 temp2 = True;
3628 }
3629 {
3630 arg3 = wxString_in_helper(obj2);
3631 if (arg3 == NULL) SWIG_fail;
3632 temp3 = True;
3633 }
3634 arg4 = (long) SWIG_AsLong(obj3);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 if (obj4) {
3637 arg5 = (long) SWIG_AsLong(obj4);
3638 if (PyErr_Occurred()) SWIG_fail;
3639 }
3640 if (obj5) {
3641 arg6 = (long) SWIG_AsLong(obj5);
3642 if (PyErr_Occurred()) SWIG_fail;
3643 }
3644 if (obj6) {
3645 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3647 }
3648 if (obj7) {
3649 {
3650 arg8 = &temp8;
3651 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3652 }
3653 }
3654 {
3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
3656 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3657
3658 wxPyEndAllowThreads(__tstate);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 }
3661 resultobj = SWIG_FromLong((long)result);
3662 {
3663 if (temp1)
3664 delete arg1;
3665 }
3666 {
3667 if (temp2)
3668 delete arg2;
3669 }
3670 {
3671 if (temp3)
3672 delete arg3;
3673 }
3674 return resultobj;
3675 fail:
3676 {
3677 if (temp1)
3678 delete arg1;
3679 }
3680 {
3681 if (temp2)
3682 delete arg2;
3683 }
3684 {
3685 if (temp3)
3686 delete arg3;
3687 }
3688 return NULL;
3689 }
3690
3691
3692 static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
3693 PyObject *resultobj;
3694 bool result;
3695 char *kwnames[] = {
3696 NULL
3697 };
3698
3699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 result = (bool)wxColourDisplay();
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 {
3708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3709 }
3710 return resultobj;
3711 fail:
3712 return NULL;
3713 }
3714
3715
3716 static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
3717 PyObject *resultobj;
3718 int result;
3719 char *kwnames[] = {
3720 NULL
3721 };
3722
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 result = (int)wxDisplayDepth();
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 resultobj = SWIG_FromInt((int)result);
3732 return resultobj;
3733 fail:
3734 return NULL;
3735 }
3736
3737
3738 static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
3739 PyObject *resultobj;
3740 int result;
3741 char *kwnames[] = {
3742 NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 result = (int)wxGetDisplayDepth();
3749
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) SWIG_fail;
3752 }
3753 resultobj = SWIG_FromInt((int)result);
3754 return resultobj;
3755 fail:
3756 return NULL;
3757 }
3758
3759
3760 static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
3761 PyObject *resultobj;
3762 int *arg1 = (int *) 0 ;
3763 int *arg2 = (int *) 0 ;
3764 int temp1 ;
3765 int temp2 ;
3766 char *kwnames[] = {
3767 NULL
3768 };
3769
3770 arg1 = &temp1;
3771 arg2 = &temp2;
3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3773 {
3774 PyThreadState* __tstate = wxPyBeginAllowThreads();
3775 wxDisplaySize(arg1,arg2);
3776
3777 wxPyEndAllowThreads(__tstate);
3778 if (PyErr_Occurred()) SWIG_fail;
3779 }
3780 Py_INCREF(Py_None); resultobj = Py_None;
3781 {
3782 PyObject *o = PyInt_FromLong((long) (*arg1));
3783 resultobj = t_output_helper(resultobj,o);
3784 }
3785 {
3786 PyObject *o = PyInt_FromLong((long) (*arg2));
3787 resultobj = t_output_helper(resultobj,o);
3788 }
3789 return resultobj;
3790 fail:
3791 return NULL;
3792 }
3793
3794
3795 static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
3796 PyObject *resultobj;
3797 wxSize result;
3798 char *kwnames[] = {
3799 NULL
3800 };
3801
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 result = wxGetDisplaySize();
3806
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 {
3811 wxSize * resultptr;
3812 resultptr = new wxSize((wxSize &) result);
3813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3814 }
3815 return resultobj;
3816 fail:
3817 return NULL;
3818 }
3819
3820
3821 static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
3822 PyObject *resultobj;
3823 int *arg1 = (int *) 0 ;
3824 int *arg2 = (int *) 0 ;
3825 int temp1 ;
3826 int temp2 ;
3827 char *kwnames[] = {
3828 NULL
3829 };
3830
3831 arg1 = &temp1;
3832 arg2 = &temp2;
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3834 {
3835 PyThreadState* __tstate = wxPyBeginAllowThreads();
3836 wxDisplaySizeMM(arg1,arg2);
3837
3838 wxPyEndAllowThreads(__tstate);
3839 if (PyErr_Occurred()) SWIG_fail;
3840 }
3841 Py_INCREF(Py_None); resultobj = Py_None;
3842 {
3843 PyObject *o = PyInt_FromLong((long) (*arg1));
3844 resultobj = t_output_helper(resultobj,o);
3845 }
3846 {
3847 PyObject *o = PyInt_FromLong((long) (*arg2));
3848 resultobj = t_output_helper(resultobj,o);
3849 }
3850 return resultobj;
3851 fail:
3852 return NULL;
3853 }
3854
3855
3856 static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
3857 PyObject *resultobj;
3858 wxSize result;
3859 char *kwnames[] = {
3860 NULL
3861 };
3862
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 result = wxGetDisplaySizeMM();
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 {
3872 wxSize * resultptr;
3873 resultptr = new wxSize((wxSize &) result);
3874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3875 }
3876 return resultobj;
3877 fail:
3878 return NULL;
3879 }
3880
3881
3882 static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
3883 PyObject *resultobj;
3884 int *arg1 = (int *) 0 ;
3885 int *arg2 = (int *) 0 ;
3886 int *arg3 = (int *) 0 ;
3887 int *arg4 = (int *) 0 ;
3888 int temp1 ;
3889 int temp2 ;
3890 int temp3 ;
3891 int temp4 ;
3892 char *kwnames[] = {
3893 NULL
3894 };
3895
3896 arg1 = &temp1;
3897 arg2 = &temp2;
3898 arg3 = &temp3;
3899 arg4 = &temp4;
3900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 Py_INCREF(Py_None); resultobj = Py_None;
3909 {
3910 PyObject *o = PyInt_FromLong((long) (*arg1));
3911 resultobj = t_output_helper(resultobj,o);
3912 }
3913 {
3914 PyObject *o = PyInt_FromLong((long) (*arg2));
3915 resultobj = t_output_helper(resultobj,o);
3916 }
3917 {
3918 PyObject *o = PyInt_FromLong((long) (*arg3));
3919 resultobj = t_output_helper(resultobj,o);
3920 }
3921 {
3922 PyObject *o = PyInt_FromLong((long) (*arg4));
3923 resultobj = t_output_helper(resultobj,o);
3924 }
3925 return resultobj;
3926 fail:
3927 return NULL;
3928 }
3929
3930
3931 static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
3932 PyObject *resultobj;
3933 wxRect result;
3934 char *kwnames[] = {
3935 NULL
3936 };
3937
3938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 result = wxGetClientDisplayRect();
3942
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 {
3947 wxRect * resultptr;
3948 resultptr = new wxRect((wxRect &) result);
3949 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3950 }
3951 return resultobj;
3952 fail:
3953 return NULL;
3954 }
3955
3956
3957 static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
3958 PyObject *resultobj;
3959 wxCursor *arg1 = 0 ;
3960 PyObject * obj0 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "cursor", NULL
3963 };
3964
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3967 SWIG_POINTER_EXCEPTION | 0)) == -1)
3968 SWIG_fail;
3969 if (arg1 == NULL) {
3970 PyErr_SetString(PyExc_TypeError,"null reference");
3971 SWIG_fail;
3972 }
3973 {
3974 PyThreadState* __tstate = wxPyBeginAllowThreads();
3975 wxSetCursor(*arg1);
3976
3977 wxPyEndAllowThreads(__tstate);
3978 if (PyErr_Occurred()) SWIG_fail;
3979 }
3980 Py_INCREF(Py_None); resultobj = Py_None;
3981 return resultobj;
3982 fail:
3983 return NULL;
3984 }
3985
3986
3987 static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
3988 PyObject *resultobj;
3989 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3990 PyObject * obj0 = 0 ;
3991 char *kwnames[] = {
3992 (char *) "cursor", NULL
3993 };
3994
3995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3996 if (obj0) {
3997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3999 }
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 wxBeginBusyCursor(arg1);
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 Py_INCREF(Py_None); resultobj = Py_None;
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj;
4016 wxWindow *result;
4017 char *kwnames[] = {
4018 NULL
4019 };
4020
4021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4022 {
4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
4024 result = (wxWindow *)wxGetActiveWindow();
4025
4026 wxPyEndAllowThreads(__tstate);
4027 if (PyErr_Occurred()) SWIG_fail;
4028 }
4029 {
4030 resultobj = wxPyMake_wxObject(result);
4031 }
4032 return resultobj;
4033 fail:
4034 return NULL;
4035 }
4036
4037
4038 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj;
4040 wxPoint *arg1 = 0 ;
4041 wxWindow *result;
4042 wxPoint temp1 ;
4043 PyObject * obj0 = 0 ;
4044 char *kwnames[] = {
4045 (char *) "pt", NULL
4046 };
4047
4048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4049 {
4050 arg1 = &temp1;
4051 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4052 }
4053 {
4054 PyThreadState* __tstate = wxPyBeginAllowThreads();
4055 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4056
4057 wxPyEndAllowThreads(__tstate);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 }
4060 {
4061 resultobj = wxPyMake_wxObject(result);
4062 }
4063 return resultobj;
4064 fail:
4065 return NULL;
4066 }
4067
4068
4069 static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4070 PyObject *resultobj;
4071 wxPoint *arg1 = 0 ;
4072 wxWindow *result;
4073 wxPoint temp1 ;
4074 PyObject * obj0 = 0 ;
4075 char *kwnames[] = {
4076 (char *) "pt", NULL
4077 };
4078
4079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4080 {
4081 arg1 = &temp1;
4082 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4083 }
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 {
4092 resultobj = wxPyMake_wxObject(result);
4093 }
4094 return resultobj;
4095 fail:
4096 return NULL;
4097 }
4098
4099
4100 static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
4101 PyObject *resultobj;
4102 wxWindow *arg1 = (wxWindow *) 0 ;
4103 wxWindow *result;
4104 PyObject * obj0 = 0 ;
4105 char *kwnames[] = {
4106 (char *) "win", NULL
4107 };
4108
4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 result = (wxWindow *)wxGetTopLevelParent(arg1);
4115
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 {
4120 resultobj = wxPyMake_wxObject(result);
4121 }
4122 return resultobj;
4123 fail:
4124 return NULL;
4125 }
4126
4127
4128 static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
4129 PyObject *resultobj;
4130 int arg1 ;
4131 bool result;
4132 PyObject * obj0 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "key", NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4138 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4139 if (PyErr_Occurred()) SWIG_fail;
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4143
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 {
4148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4149 }
4150 return resultobj;
4151 fail:
4152 return NULL;
4153 }
4154
4155
4156 static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
4157 PyObject *resultobj;
4158 char *kwnames[] = {
4159 NULL
4160 };
4161
4162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 wxWakeUpMainThread();
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 Py_INCREF(Py_None); resultobj = Py_None;
4171 return resultobj;
4172 fail:
4173 return NULL;
4174 }
4175
4176
4177 static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 char *kwnames[] = {
4180 NULL
4181 };
4182
4183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4184 {
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4186 wxMutexGuiEnter();
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 }
4191 Py_INCREF(Py_None); resultobj = Py_None;
4192 return resultobj;
4193 fail:
4194 return NULL;
4195 }
4196
4197
4198 static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
4199 PyObject *resultobj;
4200 char *kwnames[] = {
4201 NULL
4202 };
4203
4204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4205 {
4206 PyThreadState* __tstate = wxPyBeginAllowThreads();
4207 wxMutexGuiLeave();
4208
4209 wxPyEndAllowThreads(__tstate);
4210 if (PyErr_Occurred()) SWIG_fail;
4211 }
4212 Py_INCREF(Py_None); resultobj = Py_None;
4213 return resultobj;
4214 fail:
4215 return NULL;
4216 }
4217
4218
4219 static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
4220 PyObject *resultobj;
4221 wxMutexGuiLocker *result;
4222 char *kwnames[] = {
4223 NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4235 return resultobj;
4236 fail:
4237 return NULL;
4238 }
4239
4240
4241 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
4242 PyObject *resultobj;
4243 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4244 PyObject * obj0 = 0 ;
4245 char *kwnames[] = {
4246 (char *) "self", NULL
4247 };
4248
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4252 {
4253 PyThreadState* __tstate = wxPyBeginAllowThreads();
4254 delete arg1;
4255
4256 wxPyEndAllowThreads(__tstate);
4257 if (PyErr_Occurred()) SWIG_fail;
4258 }
4259 Py_INCREF(Py_None); resultobj = Py_None;
4260 return resultobj;
4261 fail:
4262 return NULL;
4263 }
4264
4265
4266 static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
4267 PyObject *obj;
4268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4269 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4270 Py_INCREF(obj);
4271 return Py_BuildValue((char *)"");
4272 }
4273 static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
4274 PyObject *resultobj;
4275 bool result;
4276 char *kwnames[] = {
4277 NULL
4278 };
4279
4280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 result = (bool)wxThread_IsMain();
4284
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 {
4289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4290 }
4291 return resultobj;
4292 fail:
4293 return NULL;
4294 }
4295
4296
4297 static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 wxString *arg1 = 0 ;
4300 wxToolTip *result;
4301 bool temp1 = False ;
4302 PyObject * obj0 = 0 ;
4303 char *kwnames[] = {
4304 (char *) "tip", NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4308 {
4309 arg1 = wxString_in_helper(obj0);
4310 if (arg1 == NULL) SWIG_fail;
4311 temp1 = True;
4312 }
4313 {
4314 PyThreadState* __tstate = wxPyBeginAllowThreads();
4315 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4316
4317 wxPyEndAllowThreads(__tstate);
4318 if (PyErr_Occurred()) SWIG_fail;
4319 }
4320 {
4321 resultobj = wxPyMake_wxObject(result);
4322 }
4323 {
4324 if (temp1)
4325 delete arg1;
4326 }
4327 return resultobj;
4328 fail:
4329 {
4330 if (temp1)
4331 delete arg1;
4332 }
4333 return NULL;
4334 }
4335
4336
4337 static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxToolTip *arg1 = (wxToolTip *) 0 ;
4340 wxString *arg2 = 0 ;
4341 bool temp2 = False ;
4342 PyObject * obj0 = 0 ;
4343 PyObject * obj1 = 0 ;
4344 char *kwnames[] = {
4345 (char *) "self",(char *) "tip", NULL
4346 };
4347
4348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4351 {
4352 arg2 = wxString_in_helper(obj1);
4353 if (arg2 == NULL) SWIG_fail;
4354 temp2 = True;
4355 }
4356 {
4357 PyThreadState* __tstate = wxPyBeginAllowThreads();
4358 (arg1)->SetTip((wxString const &)*arg2);
4359
4360 wxPyEndAllowThreads(__tstate);
4361 if (PyErr_Occurred()) SWIG_fail;
4362 }
4363 Py_INCREF(Py_None); resultobj = Py_None;
4364 {
4365 if (temp2)
4366 delete arg2;
4367 }
4368 return resultobj;
4369 fail:
4370 {
4371 if (temp2)
4372 delete arg2;
4373 }
4374 return NULL;
4375 }
4376
4377
4378 static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
4379 PyObject *resultobj;
4380 wxToolTip *arg1 = (wxToolTip *) 0 ;
4381 wxString result;
4382 PyObject * obj0 = 0 ;
4383 char *kwnames[] = {
4384 (char *) "self", NULL
4385 };
4386
4387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 result = (arg1)->GetTip();
4393
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 {
4398 #if wxUSE_UNICODE
4399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4400 #else
4401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4402 #endif
4403 }
4404 return resultobj;
4405 fail:
4406 return NULL;
4407 }
4408
4409
4410 static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4411 PyObject *resultobj;
4412 wxToolTip *arg1 = (wxToolTip *) 0 ;
4413 wxWindow *result;
4414 PyObject * obj0 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "self", NULL
4417 };
4418
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4422 {
4423 PyThreadState* __tstate = wxPyBeginAllowThreads();
4424 result = (wxWindow *)(arg1)->GetWindow();
4425
4426 wxPyEndAllowThreads(__tstate);
4427 if (PyErr_Occurred()) SWIG_fail;
4428 }
4429 {
4430 resultobj = wxPyMake_wxObject(result);
4431 }
4432 return resultobj;
4433 fail:
4434 return NULL;
4435 }
4436
4437
4438 static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
4439 PyObject *resultobj;
4440 bool arg1 ;
4441 PyObject * obj0 = 0 ;
4442 char *kwnames[] = {
4443 (char *) "flag", NULL
4444 };
4445
4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4447 arg1 = (bool) SWIG_AsBool(obj0);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 {
4450 PyThreadState* __tstate = wxPyBeginAllowThreads();
4451 wxToolTip::Enable(arg1);
4452
4453 wxPyEndAllowThreads(__tstate);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 }
4456 Py_INCREF(Py_None); resultobj = Py_None;
4457 return resultobj;
4458 fail:
4459 return NULL;
4460 }
4461
4462
4463 static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
4464 PyObject *resultobj;
4465 long arg1 ;
4466 PyObject * obj0 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "milliseconds", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4472 arg1 = (long) SWIG_AsLong(obj0);
4473 if (PyErr_Occurred()) SWIG_fail;
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 wxToolTip::SetDelay(arg1);
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 * ToolTip_swigregister(PyObject *, PyObject *args) {
4489 PyObject *obj;
4490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4491 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4492 Py_INCREF(obj);
4493 return Py_BuildValue((char *)"");
4494 }
4495 static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
4496 PyObject *resultobj;
4497 wxWindow *arg1 = (wxWindow *) 0 ;
4498 wxSize *arg2 = 0 ;
4499 wxCaret *result;
4500 wxSize temp2 ;
4501 PyObject * obj0 = 0 ;
4502 PyObject * obj1 = 0 ;
4503 char *kwnames[] = {
4504 (char *) "window",(char *) "size", NULL
4505 };
4506
4507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4510 {
4511 arg2 = &temp2;
4512 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4513 }
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
4522 return resultobj;
4523 fail:
4524 return NULL;
4525 }
4526
4527
4528 static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxCaret *arg1 = (wxCaret *) 0 ;
4531 PyObject * obj0 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4539 {
4540 PyThreadState* __tstate = wxPyBeginAllowThreads();
4541 delete arg1;
4542
4543 wxPyEndAllowThreads(__tstate);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 }
4546 Py_INCREF(Py_None); resultobj = Py_None;
4547 return resultobj;
4548 fail:
4549 return NULL;
4550 }
4551
4552
4553 static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj;
4555 wxCaret *arg1 = (wxCaret *) 0 ;
4556 bool result;
4557 PyObject * obj0 = 0 ;
4558 char *kwnames[] = {
4559 (char *) "self", NULL
4560 };
4561
4562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 result = (bool)(arg1)->IsOk();
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 {
4573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4574 }
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj;
4583 wxCaret *arg1 = (wxCaret *) 0 ;
4584 bool result;
4585 PyObject * obj0 = 0 ;
4586 char *kwnames[] = {
4587 (char *) "self", NULL
4588 };
4589
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4593 {
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 result = (bool)(arg1)->IsVisible();
4596
4597 wxPyEndAllowThreads(__tstate);
4598 if (PyErr_Occurred()) SWIG_fail;
4599 }
4600 {
4601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4602 }
4603 return resultobj;
4604 fail:
4605 return NULL;
4606 }
4607
4608
4609 static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4610 PyObject *resultobj;
4611 wxCaret *arg1 = (wxCaret *) 0 ;
4612 wxPoint result;
4613 PyObject * obj0 = 0 ;
4614 char *kwnames[] = {
4615 (char *) "self", NULL
4616 };
4617
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 result = (arg1)->GetPosition();
4624
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 {
4629 wxPoint * resultptr;
4630 resultptr = new wxPoint((wxPoint &) result);
4631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4632 }
4633 return resultobj;
4634 fail:
4635 return NULL;
4636 }
4637
4638
4639 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
4640 PyObject *resultobj;
4641 wxCaret *arg1 = (wxCaret *) 0 ;
4642 int *arg2 = (int *) 0 ;
4643 int *arg3 = (int *) 0 ;
4644 int temp2 ;
4645 int temp3 ;
4646 PyObject * obj0 = 0 ;
4647 char *kwnames[] = {
4648 (char *) "self", NULL
4649 };
4650
4651 arg2 = &temp2;
4652 arg3 = &temp3;
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4656 {
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 (arg1)->GetPosition(arg2,arg3);
4659
4660 wxPyEndAllowThreads(__tstate);
4661 if (PyErr_Occurred()) SWIG_fail;
4662 }
4663 Py_INCREF(Py_None); resultobj = Py_None;
4664 {
4665 PyObject *o = PyInt_FromLong((long) (*arg2));
4666 resultobj = t_output_helper(resultobj,o);
4667 }
4668 {
4669 PyObject *o = PyInt_FromLong((long) (*arg3));
4670 resultobj = t_output_helper(resultobj,o);
4671 }
4672 return resultobj;
4673 fail:
4674 return NULL;
4675 }
4676
4677
4678 static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
4679 PyObject *resultobj;
4680 wxCaret *arg1 = (wxCaret *) 0 ;
4681 wxSize result;
4682 PyObject * obj0 = 0 ;
4683 char *kwnames[] = {
4684 (char *) "self", NULL
4685 };
4686
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 result = (arg1)->GetSize();
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 {
4698 wxSize * resultptr;
4699 resultptr = new wxSize((wxSize &) result);
4700 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4701 }
4702 return resultobj;
4703 fail:
4704 return NULL;
4705 }
4706
4707
4708 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxCaret *arg1 = (wxCaret *) 0 ;
4711 int *arg2 = (int *) 0 ;
4712 int *arg3 = (int *) 0 ;
4713 int temp2 ;
4714 int temp3 ;
4715 PyObject * obj0 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "self", NULL
4718 };
4719
4720 arg2 = &temp2;
4721 arg3 = &temp3;
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4725 {
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 (arg1)->GetSize(arg2,arg3);
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 Py_INCREF(Py_None); resultobj = Py_None;
4733 {
4734 PyObject *o = PyInt_FromLong((long) (*arg2));
4735 resultobj = t_output_helper(resultobj,o);
4736 }
4737 {
4738 PyObject *o = PyInt_FromLong((long) (*arg3));
4739 resultobj = t_output_helper(resultobj,o);
4740 }
4741 return resultobj;
4742 fail:
4743 return NULL;
4744 }
4745
4746
4747 static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4748 PyObject *resultobj;
4749 wxCaret *arg1 = (wxCaret *) 0 ;
4750 wxWindow *result;
4751 PyObject * obj0 = 0 ;
4752 char *kwnames[] = {
4753 (char *) "self", NULL
4754 };
4755
4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4759 {
4760 PyThreadState* __tstate = wxPyBeginAllowThreads();
4761 result = (wxWindow *)(arg1)->GetWindow();
4762
4763 wxPyEndAllowThreads(__tstate);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
4766 {
4767 resultobj = wxPyMake_wxObject(result);
4768 }
4769 return resultobj;
4770 fail:
4771 return NULL;
4772 }
4773
4774
4775 static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
4776 PyObject *resultobj;
4777 wxCaret *arg1 = (wxCaret *) 0 ;
4778 int arg2 ;
4779 int arg3 ;
4780 PyObject * obj0 = 0 ;
4781 PyObject * obj1 = 0 ;
4782 PyObject * obj2 = 0 ;
4783 char *kwnames[] = {
4784 (char *) "self",(char *) "x",(char *) "y", NULL
4785 };
4786
4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4790 arg2 = (int) SWIG_AsInt(obj1);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 arg3 = (int) SWIG_AsInt(obj2);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 {
4795 PyThreadState* __tstate = wxPyBeginAllowThreads();
4796 (arg1)->Move(arg2,arg3);
4797
4798 wxPyEndAllowThreads(__tstate);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 }
4801 Py_INCREF(Py_None); resultobj = Py_None;
4802 return resultobj;
4803 fail:
4804 return NULL;
4805 }
4806
4807
4808 static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
4809 PyObject *resultobj;
4810 wxCaret *arg1 = (wxCaret *) 0 ;
4811 wxPoint *arg2 = 0 ;
4812 wxPoint temp2 ;
4813 PyObject * obj0 = 0 ;
4814 PyObject * obj1 = 0 ;
4815 char *kwnames[] = {
4816 (char *) "self",(char *) "pt", NULL
4817 };
4818
4819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4822 {
4823 arg2 = &temp2;
4824 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4825 }
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 (arg1)->Move((wxPoint const &)*arg2);
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 Py_INCREF(Py_None); resultobj = Py_None;
4834 return resultobj;
4835 fail:
4836 return NULL;
4837 }
4838
4839
4840 static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
4841 PyObject *resultobj;
4842 wxCaret *arg1 = (wxCaret *) 0 ;
4843 int arg2 ;
4844 int arg3 ;
4845 PyObject * obj0 = 0 ;
4846 PyObject * obj1 = 0 ;
4847 PyObject * obj2 = 0 ;
4848 char *kwnames[] = {
4849 (char *) "self",(char *) "width",(char *) "height", NULL
4850 };
4851
4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
4853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4855 arg2 = (int) SWIG_AsInt(obj1);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 arg3 = (int) SWIG_AsInt(obj2);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 {
4860 PyThreadState* __tstate = wxPyBeginAllowThreads();
4861 (arg1)->SetSize(arg2,arg3);
4862
4863 wxPyEndAllowThreads(__tstate);
4864 if (PyErr_Occurred()) SWIG_fail;
4865 }
4866 Py_INCREF(Py_None); resultobj = Py_None;
4867 return resultobj;
4868 fail:
4869 return NULL;
4870 }
4871
4872
4873 static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
4874 PyObject *resultobj;
4875 wxCaret *arg1 = (wxCaret *) 0 ;
4876 wxSize *arg2 = 0 ;
4877 wxSize temp2 ;
4878 PyObject * obj0 = 0 ;
4879 PyObject * obj1 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "size", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4887 {
4888 arg2 = &temp2;
4889 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4890 }
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 (arg1)->SetSize((wxSize const &)*arg2);
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 Py_INCREF(Py_None); resultobj = Py_None;
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxCaret *arg1 = (wxCaret *) 0 ;
4908 int arg2 = (int) True ;
4909 PyObject * obj0 = 0 ;
4910 PyObject * obj1 = 0 ;
4911 char *kwnames[] = {
4912 (char *) "self",(char *) "show", NULL
4913 };
4914
4915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
4916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4918 if (obj1) {
4919 arg2 = (int) SWIG_AsInt(obj1);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 {
4923 PyThreadState* __tstate = wxPyBeginAllowThreads();
4924 (arg1)->Show(arg2);
4925
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 Py_INCREF(Py_None); resultobj = Py_None;
4930 return resultobj;
4931 fail:
4932 return NULL;
4933 }
4934
4935
4936 static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
4937 PyObject *resultobj;
4938 wxCaret *arg1 = (wxCaret *) 0 ;
4939 PyObject * obj0 = 0 ;
4940 char *kwnames[] = {
4941 (char *) "self", NULL
4942 };
4943
4944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 (arg1)->Hide();
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 Py_INCREF(Py_None); resultobj = Py_None;
4955 return resultobj;
4956 fail:
4957 return NULL;
4958 }
4959
4960
4961 static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
4962 PyObject *obj;
4963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4964 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4965 Py_INCREF(obj);
4966 return Py_BuildValue((char *)"");
4967 }
4968 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj;
4970 int result;
4971 char *kwnames[] = {
4972 NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 result = (int)wxCaret_GetBlinkTime();
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 resultobj = SWIG_FromInt((int)result);
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 int arg1 ;
4993 PyObject * obj0 = 0 ;
4994 char *kwnames[] = {
4995 (char *) "milliseconds", NULL
4996 };
4997
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
4999 arg1 = (int) SWIG_AsInt(obj0);
5000 if (PyErr_Occurred()) SWIG_fail;
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 wxCaret_SetBlinkTime(arg1);
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 Py_INCREF(Py_None); resultobj = Py_None;
5009 return resultobj;
5010 fail:
5011 return NULL;
5012 }
5013
5014
5015 static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5016 PyObject *resultobj;
5017 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5018 wxBusyCursor *result;
5019 PyObject * obj0 = 0 ;
5020 char *kwnames[] = {
5021 (char *) "cursor", NULL
5022 };
5023
5024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5025 if (obj0) {
5026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5028 }
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5037 return resultobj;
5038 fail:
5039 return NULL;
5040 }
5041
5042
5043 static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5044 PyObject *resultobj;
5045 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5046 PyObject * obj0 = 0 ;
5047 char *kwnames[] = {
5048 (char *) "self", NULL
5049 };
5050
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5054 {
5055 PyThreadState* __tstate = wxPyBeginAllowThreads();
5056 delete arg1;
5057
5058 wxPyEndAllowThreads(__tstate);
5059 if (PyErr_Occurred()) SWIG_fail;
5060 }
5061 Py_INCREF(Py_None); resultobj = Py_None;
5062 return resultobj;
5063 fail:
5064 return NULL;
5065 }
5066
5067
5068 static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
5069 PyObject *obj;
5070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5071 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5072 Py_INCREF(obj);
5073 return Py_BuildValue((char *)"");
5074 }
5075 static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxWindow *arg1 = (wxWindow *) NULL ;
5078 wxWindowDisabler *result;
5079 PyObject * obj0 = 0 ;
5080 char *kwnames[] = {
5081 (char *) "winToSkip", NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5085 if (obj0) {
5086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5088 }
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5097 return resultobj;
5098 fail:
5099 return NULL;
5100 }
5101
5102
5103 static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
5104 PyObject *resultobj;
5105 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5106 PyObject * obj0 = 0 ;
5107 char *kwnames[] = {
5108 (char *) "self", NULL
5109 };
5110
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 delete arg1;
5117
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 Py_INCREF(Py_None); resultobj = Py_None;
5122 return resultobj;
5123 fail:
5124 return NULL;
5125 }
5126
5127
5128 static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
5129 PyObject *obj;
5130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5131 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5132 Py_INCREF(obj);
5133 return Py_BuildValue((char *)"");
5134 }
5135 static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5136 PyObject *resultobj;
5137 wxString *arg1 = 0 ;
5138 wxBusyInfo *result;
5139 bool temp1 = False ;
5140 PyObject * obj0 = 0 ;
5141 char *kwnames[] = {
5142 (char *) "message", NULL
5143 };
5144
5145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5146 {
5147 arg1 = wxString_in_helper(obj0);
5148 if (arg1 == NULL) SWIG_fail;
5149 temp1 = True;
5150 }
5151 {
5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5153 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5154
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5159 {
5160 if (temp1)
5161 delete arg1;
5162 }
5163 return resultobj;
5164 fail:
5165 {
5166 if (temp1)
5167 delete arg1;
5168 }
5169 return NULL;
5170 }
5171
5172
5173 static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5174 PyObject *resultobj;
5175 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5176 PyObject * obj0 = 0 ;
5177 char *kwnames[] = {
5178 (char *) "self", NULL
5179 };
5180
5181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 delete arg1;
5187
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
5191 Py_INCREF(Py_None); resultobj = Py_None;
5192 return resultobj;
5193 fail:
5194 return NULL;
5195 }
5196
5197
5198 static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
5199 PyObject *obj;
5200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5201 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5202 Py_INCREF(obj);
5203 return Py_BuildValue((char *)"");
5204 }
5205 static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
5206 PyObject *resultobj;
5207 wxStopWatch *result;
5208 char *kwnames[] = {
5209 NULL
5210 };
5211
5212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 result = (wxStopWatch *)new wxStopWatch();
5216
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5221 return resultobj;
5222 fail:
5223 return NULL;
5224 }
5225
5226
5227 static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
5228 PyObject *resultobj;
5229 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5230 long arg2 = (long) 0 ;
5231 PyObject * obj0 = 0 ;
5232 PyObject * obj1 = 0 ;
5233 char *kwnames[] = {
5234 (char *) "self",(char *) "t0", NULL
5235 };
5236
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5240 if (obj1) {
5241 arg2 = (long) SWIG_AsLong(obj1);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 {
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 (arg1)->Start(arg2);
5247
5248 wxPyEndAllowThreads(__tstate);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 Py_INCREF(Py_None); resultobj = Py_None;
5252 return resultobj;
5253 fail:
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5261 PyObject * obj0 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5269 {
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 (arg1)->Pause();
5272
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 Py_INCREF(Py_None); resultobj = Py_None;
5277 return resultobj;
5278 fail:
5279 return NULL;
5280 }
5281
5282
5283 static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
5284 PyObject *resultobj;
5285 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5286 PyObject * obj0 = 0 ;
5287 char *kwnames[] = {
5288 (char *) "self", NULL
5289 };
5290
5291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5294 {
5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5296 (arg1)->Resume();
5297
5298 wxPyEndAllowThreads(__tstate);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 Py_INCREF(Py_None); resultobj = Py_None;
5302 return resultobj;
5303 fail:
5304 return NULL;
5305 }
5306
5307
5308 static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
5309 PyObject *resultobj;
5310 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5311 long result;
5312 PyObject * obj0 = 0 ;
5313 char *kwnames[] = {
5314 (char *) "self", NULL
5315 };
5316
5317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 result = (long)((wxStopWatch const *)arg1)->Time();
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 resultobj = SWIG_FromLong((long)result);
5328 return resultobj;
5329 fail:
5330 return NULL;
5331 }
5332
5333
5334 static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
5335 PyObject *obj;
5336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5337 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5338 Py_INCREF(obj);
5339 return Py_BuildValue((char *)"");
5340 }
5341 static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5342 PyObject *resultobj;
5343 int arg1 = (int) 9 ;
5344 wxFileHistory *result;
5345 PyObject * obj0 = 0 ;
5346 char *kwnames[] = {
5347 (char *) "maxFiles", NULL
5348 };
5349
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5351 if (obj0) {
5352 arg1 = (int) SWIG_AsInt(obj0);
5353 if (PyErr_Occurred()) SWIG_fail;
5354 }
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 result = (wxFileHistory *)new wxFileHistory(arg1);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5363 return resultobj;
5364 fail:
5365 return NULL;
5366 }
5367
5368
5369 static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5372 PyObject * obj0 = 0 ;
5373 char *kwnames[] = {
5374 (char *) "self", NULL
5375 };
5376
5377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 delete arg1;
5383
5384 wxPyEndAllowThreads(__tstate);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 }
5387 Py_INCREF(Py_None); resultobj = Py_None;
5388 return resultobj;
5389 fail:
5390 return NULL;
5391 }
5392
5393
5394 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5395 PyObject *resultobj;
5396 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5397 wxString *arg2 = 0 ;
5398 bool temp2 = False ;
5399 PyObject * obj0 = 0 ;
5400 PyObject * obj1 = 0 ;
5401 char *kwnames[] = {
5402 (char *) "self",(char *) "file", NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5408 {
5409 arg2 = wxString_in_helper(obj1);
5410 if (arg2 == NULL) SWIG_fail;
5411 temp2 = True;
5412 }
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 (arg1)->AddFileToHistory((wxString const &)*arg2);
5416
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 Py_INCREF(Py_None); resultobj = Py_None;
5421 {
5422 if (temp2)
5423 delete arg2;
5424 }
5425 return resultobj;
5426 fail:
5427 {
5428 if (temp2)
5429 delete arg2;
5430 }
5431 return NULL;
5432 }
5433
5434
5435 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5438 int arg2 ;
5439 PyObject * obj0 = 0 ;
5440 PyObject * obj1 = 0 ;
5441 char *kwnames[] = {
5442 (char *) "self",(char *) "i", NULL
5443 };
5444
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5448 arg2 = (int) SWIG_AsInt(obj1);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 (arg1)->RemoveFileFromHistory(arg2);
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 Py_INCREF(Py_None); resultobj = Py_None;
5458 return resultobj;
5459 fail:
5460 return NULL;
5461 }
5462
5463
5464 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
5465 PyObject *resultobj;
5466 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5467 int result;
5468 PyObject * obj0 = 0 ;
5469 char *kwnames[] = {
5470 (char *) "self", NULL
5471 };
5472
5473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5479
5480 wxPyEndAllowThreads(__tstate);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 }
5483 resultobj = SWIG_FromInt((int)result);
5484 return resultobj;
5485 fail:
5486 return NULL;
5487 }
5488
5489
5490 static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
5491 PyObject *resultobj;
5492 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5493 wxMenu *arg2 = (wxMenu *) 0 ;
5494 PyObject * obj0 = 0 ;
5495 PyObject * obj1 = 0 ;
5496 char *kwnames[] = {
5497 (char *) "self",(char *) "menu", NULL
5498 };
5499
5500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 (arg1)->UseMenu(arg2);
5508
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 Py_INCREF(Py_None); resultobj = Py_None;
5513 return resultobj;
5514 fail:
5515 return NULL;
5516 }
5517
5518
5519 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
5520 PyObject *resultobj;
5521 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5522 wxMenu *arg2 = (wxMenu *) 0 ;
5523 PyObject * obj0 = 0 ;
5524 PyObject * obj1 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "self",(char *) "menu", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5532 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5534 {
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 (arg1)->RemoveMenu(arg2);
5537
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 }
5541 Py_INCREF(Py_None); resultobj = Py_None;
5542 return resultobj;
5543 fail:
5544 return NULL;
5545 }
5546
5547
5548 static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
5549 PyObject *resultobj;
5550 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5551 wxConfigBase *arg2 = 0 ;
5552 PyObject * obj0 = 0 ;
5553 PyObject * obj1 = 0 ;
5554 char *kwnames[] = {
5555 (char *) "self",(char *) "config", NULL
5556 };
5557
5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5562 SWIG_POINTER_EXCEPTION | 0)) == -1)
5563 SWIG_fail;
5564 if (arg2 == NULL) {
5565 PyErr_SetString(PyExc_TypeError,"null reference");
5566 SWIG_fail;
5567 }
5568 {
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 (arg1)->Load(*arg2);
5571
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 Py_INCREF(Py_None); resultobj = Py_None;
5576 return resultobj;
5577 fail:
5578 return NULL;
5579 }
5580
5581
5582 static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
5583 PyObject *resultobj;
5584 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5585 wxConfigBase *arg2 = 0 ;
5586 PyObject * obj0 = 0 ;
5587 PyObject * obj1 = 0 ;
5588 char *kwnames[] = {
5589 (char *) "self",(char *) "config", NULL
5590 };
5591
5592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5596 SWIG_POINTER_EXCEPTION | 0)) == -1)
5597 SWIG_fail;
5598 if (arg2 == NULL) {
5599 PyErr_SetString(PyExc_TypeError,"null reference");
5600 SWIG_fail;
5601 }
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 (arg1)->Save(*arg2);
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 Py_INCREF(Py_None); resultobj = Py_None;
5610 return resultobj;
5611 fail:
5612 return NULL;
5613 }
5614
5615
5616 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj;
5618 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5619 PyObject * obj0 = 0 ;
5620 char *kwnames[] = {
5621 (char *) "self", NULL
5622 };
5623
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 (arg1)->AddFilesToMenu();
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 Py_INCREF(Py_None); resultobj = Py_None;
5635 return resultobj;
5636 fail:
5637 return NULL;
5638 }
5639
5640
5641 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
5642 PyObject *resultobj;
5643 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5644 wxMenu *arg2 = (wxMenu *) 0 ;
5645 PyObject * obj0 = 0 ;
5646 PyObject * obj1 = 0 ;
5647 char *kwnames[] = {
5648 (char *) "self",(char *) "menu", NULL
5649 };
5650
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5656 {
5657 PyThreadState* __tstate = wxPyBeginAllowThreads();
5658 (arg1)->AddFilesToMenu(arg2);
5659
5660 wxPyEndAllowThreads(__tstate);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 }
5663 Py_INCREF(Py_None); resultobj = Py_None;
5664 return resultobj;
5665 fail:
5666 return NULL;
5667 }
5668
5669
5670 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
5671 PyObject *resultobj;
5672 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5673 int arg2 ;
5674 wxString result;
5675 PyObject * obj0 = 0 ;
5676 PyObject * obj1 = 0 ;
5677 char *kwnames[] = {
5678 (char *) "self",(char *) "i", NULL
5679 };
5680
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5684 arg2 = (int) SWIG_AsInt(obj1);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 {
5687 PyThreadState* __tstate = wxPyBeginAllowThreads();
5688 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5689
5690 wxPyEndAllowThreads(__tstate);
5691 if (PyErr_Occurred()) SWIG_fail;
5692 }
5693 {
5694 #if wxUSE_UNICODE
5695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5696 #else
5697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5698 #endif
5699 }
5700 return resultobj;
5701 fail:
5702 return NULL;
5703 }
5704
5705
5706 static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
5707 PyObject *resultobj;
5708 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5709 int result;
5710 PyObject * obj0 = 0 ;
5711 char *kwnames[] = {
5712 (char *) "self", NULL
5713 };
5714
5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5718 {
5719 PyThreadState* __tstate = wxPyBeginAllowThreads();
5720 result = (int)((wxFileHistory const *)arg1)->GetCount();
5721
5722 wxPyEndAllowThreads(__tstate);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 resultobj = SWIG_FromInt((int)result);
5726 return resultobj;
5727 fail:
5728 return NULL;
5729 }
5730
5731
5732 static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
5733 PyObject *obj;
5734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5735 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5736 Py_INCREF(obj);
5737 return Py_BuildValue((char *)"");
5738 }
5739 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj;
5741 wxString *arg1 = 0 ;
5742 wxString const &arg2_defvalue = wxPyEmptyString ;
5743 wxString *arg2 = (wxString *) &arg2_defvalue ;
5744 wxSingleInstanceChecker *result;
5745 bool temp1 = False ;
5746 bool temp2 = False ;
5747 PyObject * obj0 = 0 ;
5748 PyObject * obj1 = 0 ;
5749 char *kwnames[] = {
5750 (char *) "name",(char *) "path", NULL
5751 };
5752
5753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5754 {
5755 arg1 = wxString_in_helper(obj0);
5756 if (arg1 == NULL) SWIG_fail;
5757 temp1 = True;
5758 }
5759 if (obj1) {
5760 {
5761 arg2 = wxString_in_helper(obj1);
5762 if (arg2 == NULL) SWIG_fail;
5763 temp2 = True;
5764 }
5765 }
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5769
5770 wxPyEndAllowThreads(__tstate);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
5774 {
5775 if (temp1)
5776 delete arg1;
5777 }
5778 {
5779 if (temp2)
5780 delete arg2;
5781 }
5782 return resultobj;
5783 fail:
5784 {
5785 if (temp1)
5786 delete arg1;
5787 }
5788 {
5789 if (temp2)
5790 delete arg2;
5791 }
5792 return NULL;
5793 }
5794
5795
5796 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
5797 PyObject *resultobj;
5798 wxSingleInstanceChecker *result;
5799 char *kwnames[] = {
5800 NULL
5801 };
5802
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5804 {
5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
5806 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5807
5808 wxPyEndAllowThreads(__tstate);
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
5811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
5812 return resultobj;
5813 fail:
5814 return NULL;
5815 }
5816
5817
5818 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5821 PyObject * obj0 = 0 ;
5822 char *kwnames[] = {
5823 (char *) "self", NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5829 {
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 delete arg1;
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 Py_INCREF(Py_None); resultobj = Py_None;
5837 return resultobj;
5838 fail:
5839 return NULL;
5840 }
5841
5842
5843 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5844 PyObject *resultobj;
5845 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5846 wxString *arg2 = 0 ;
5847 wxString const &arg3_defvalue = wxPyEmptyString ;
5848 wxString *arg3 = (wxString *) &arg3_defvalue ;
5849 bool result;
5850 bool temp2 = False ;
5851 bool temp3 = False ;
5852 PyObject * obj0 = 0 ;
5853 PyObject * obj1 = 0 ;
5854 PyObject * obj2 = 0 ;
5855 char *kwnames[] = {
5856 (char *) "self",(char *) "name",(char *) "path", NULL
5857 };
5858
5859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5862 {
5863 arg2 = wxString_in_helper(obj1);
5864 if (arg2 == NULL) SWIG_fail;
5865 temp2 = True;
5866 }
5867 if (obj2) {
5868 {
5869 arg3 = wxString_in_helper(obj2);
5870 if (arg3 == NULL) SWIG_fail;
5871 temp3 = True;
5872 }
5873 }
5874 {
5875 PyThreadState* __tstate = wxPyBeginAllowThreads();
5876 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5877
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 {
5882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5883 }
5884 {
5885 if (temp2)
5886 delete arg2;
5887 }
5888 {
5889 if (temp3)
5890 delete arg3;
5891 }
5892 return resultobj;
5893 fail:
5894 {
5895 if (temp2)
5896 delete arg2;
5897 }
5898 {
5899 if (temp3)
5900 delete arg3;
5901 }
5902 return NULL;
5903 }
5904
5905
5906 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
5907 PyObject *resultobj;
5908 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5909 bool result;
5910 PyObject * obj0 = 0 ;
5911 char *kwnames[] = {
5912 (char *) "self", NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 {
5926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5927 }
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
5935 PyObject *obj;
5936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5937 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5938 Py_INCREF(obj);
5939 return Py_BuildValue((char *)"");
5940 }
5941 static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
5942 PyObject *resultobj;
5943 wxWindow *arg1 = (wxWindow *) 0 ;
5944 wxDC *arg2 = 0 ;
5945 int arg3 ;
5946 PyObject * obj0 = 0 ;
5947 PyObject * obj1 = 0 ;
5948 PyObject * obj2 = 0 ;
5949 char *kwnames[] = {
5950 (char *) "window",(char *) "dc",(char *) "method", NULL
5951 };
5952
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
5954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5957 SWIG_POINTER_EXCEPTION | 0)) == -1)
5958 SWIG_fail;
5959 if (arg2 == NULL) {
5960 PyErr_SetString(PyExc_TypeError,"null reference");
5961 SWIG_fail;
5962 }
5963 arg3 = (int) SWIG_AsInt(obj2);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5968
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 Py_INCREF(Py_None); resultobj = Py_None;
5973 return resultobj;
5974 fail:
5975 return NULL;
5976 }
5977
5978
5979 static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
5980 PyObject *resultobj;
5981 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5982 PyObject * obj0 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
5989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5990 {
5991 PyThreadState* __tstate = wxPyBeginAllowThreads();
5992 delete arg1;
5993
5994 wxPyEndAllowThreads(__tstate);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 }
5997 Py_INCREF(Py_None); resultobj = Py_None;
5998 return resultobj;
5999 fail:
6000 return NULL;
6001 }
6002
6003
6004 static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
6005 PyObject *resultobj;
6006 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6007 wxString result;
6008 PyObject * obj0 = 0 ;
6009 char *kwnames[] = {
6010 (char *) "self", NULL
6011 };
6012
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 result = (arg1)->GetTip();
6019
6020 wxPyEndAllowThreads(__tstate);
6021 if (PyErr_Occurred()) SWIG_fail;
6022 }
6023 {
6024 #if wxUSE_UNICODE
6025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6026 #else
6027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6028 #endif
6029 }
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6039 size_t result;
6040 PyObject * obj0 = 0 ;
6041 char *kwnames[] = {
6042 (char *) "self", NULL
6043 };
6044
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6048 {
6049 PyThreadState* __tstate = wxPyBeginAllowThreads();
6050 result = (size_t)(arg1)->GetCurrentTip();
6051
6052 wxPyEndAllowThreads(__tstate);
6053 if (PyErr_Occurred()) SWIG_fail;
6054 }
6055 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
6056 return resultobj;
6057 fail:
6058 return NULL;
6059 }
6060
6061
6062 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
6063 PyObject *resultobj;
6064 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6065 wxString *arg2 = 0 ;
6066 wxString result;
6067 bool temp2 = False ;
6068 PyObject * obj0 = 0 ;
6069 PyObject * obj1 = 0 ;
6070 char *kwnames[] = {
6071 (char *) "self",(char *) "tip", NULL
6072 };
6073
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6077 {
6078 arg2 = wxString_in_helper(obj1);
6079 if (arg2 == NULL) SWIG_fail;
6080 temp2 = True;
6081 }
6082 {
6083 PyThreadState* __tstate = wxPyBeginAllowThreads();
6084 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6085
6086 wxPyEndAllowThreads(__tstate);
6087 if (PyErr_Occurred()) SWIG_fail;
6088 }
6089 {
6090 #if wxUSE_UNICODE
6091 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6092 #else
6093 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6094 #endif
6095 }
6096 {
6097 if (temp2)
6098 delete arg2;
6099 }
6100 return resultobj;
6101 fail:
6102 {
6103 if (temp2)
6104 delete arg2;
6105 }
6106 return NULL;
6107 }
6108
6109
6110 static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
6111 PyObject *obj;
6112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6113 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6114 Py_INCREF(obj);
6115 return Py_BuildValue((char *)"");
6116 }
6117 static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
6118 PyObject *resultobj;
6119 size_t arg1 ;
6120 wxPyTipProvider *result;
6121 PyObject * obj0 = 0 ;
6122 char *kwnames[] = {
6123 (char *) "currentTip", NULL
6124 };
6125
6126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6127 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6137 return resultobj;
6138 fail:
6139 return NULL;
6140 }
6141
6142
6143 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6144 PyObject *resultobj;
6145 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6146 PyObject *arg2 = (PyObject *) 0 ;
6147 PyObject *arg3 = (PyObject *) 0 ;
6148 PyObject * obj0 = 0 ;
6149 PyObject * obj1 = 0 ;
6150 PyObject * obj2 = 0 ;
6151 char *kwnames[] = {
6152 (char *) "self",(char *) "self",(char *) "_class", NULL
6153 };
6154
6155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6158 arg2 = obj1;
6159 arg3 = obj2;
6160 {
6161 PyThreadState* __tstate = wxPyBeginAllowThreads();
6162 (arg1)->_setCallbackInfo(arg2,arg3);
6163
6164 wxPyEndAllowThreads(__tstate);
6165 if (PyErr_Occurred()) SWIG_fail;
6166 }
6167 Py_INCREF(Py_None); resultobj = Py_None;
6168 return resultobj;
6169 fail:
6170 return NULL;
6171 }
6172
6173
6174 static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
6175 PyObject *obj;
6176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6177 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6178 Py_INCREF(obj);
6179 return Py_BuildValue((char *)"");
6180 }
6181 static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
6182 PyObject *resultobj;
6183 wxWindow *arg1 = (wxWindow *) 0 ;
6184 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6185 bool arg3 = (bool) True ;
6186 bool result;
6187 PyObject * obj0 = 0 ;
6188 PyObject * obj1 = 0 ;
6189 PyObject * obj2 = 0 ;
6190 char *kwnames[] = {
6191 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6192 };
6193
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6199 if (obj2) {
6200 arg3 = (bool) SWIG_AsBool(obj2);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 result = (bool)wxShowTip(arg1,arg2,arg3);
6206
6207 wxPyEndAllowThreads(__tstate);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 {
6211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6212 }
6213 return resultobj;
6214 fail:
6215 return NULL;
6216 }
6217
6218
6219 static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj;
6221 wxString *arg1 = 0 ;
6222 size_t arg2 ;
6223 wxTipProvider *result;
6224 bool temp1 = False ;
6225 PyObject * obj0 = 0 ;
6226 PyObject * obj1 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "filename",(char *) "currentTip", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6232 {
6233 arg1 = wxString_in_helper(obj0);
6234 if (arg1 == NULL) SWIG_fail;
6235 temp1 = True;
6236 }
6237 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6238 if (PyErr_Occurred()) SWIG_fail;
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6247 {
6248 if (temp1)
6249 delete arg1;
6250 }
6251 return resultobj;
6252 fail:
6253 {
6254 if (temp1)
6255 delete arg1;
6256 }
6257 return NULL;
6258 }
6259
6260
6261 static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
6262 PyObject *resultobj;
6263 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6264 int arg2 = (int) -1 ;
6265 wxPyTimer *result;
6266 PyObject * obj0 = 0 ;
6267 PyObject * obj1 = 0 ;
6268 char *kwnames[] = {
6269 (char *) "owner",(char *) "id", NULL
6270 };
6271
6272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6273 if (obj0) {
6274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6276 }
6277 if (obj1) {
6278 arg2 = (int) SWIG_AsInt(obj1);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6289 return resultobj;
6290 fail:
6291 return NULL;
6292 }
6293
6294
6295 static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
6296 PyObject *resultobj;
6297 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6298 PyObject * obj0 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 delete arg1;
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 Py_INCREF(Py_None); resultobj = Py_None;
6314 return resultobj;
6315 fail:
6316 return NULL;
6317 }
6318
6319
6320 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6323 PyObject *arg2 = (PyObject *) 0 ;
6324 PyObject *arg3 = (PyObject *) 0 ;
6325 int arg4 = (int) 1 ;
6326 PyObject * obj0 = 0 ;
6327 PyObject * obj1 = 0 ;
6328 PyObject * obj2 = 0 ;
6329 PyObject * obj3 = 0 ;
6330 char *kwnames[] = {
6331 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6332 };
6333
6334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6337 arg2 = obj1;
6338 arg3 = obj2;
6339 if (obj3) {
6340 arg4 = (int) SWIG_AsInt(obj3);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 {
6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6345 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6346
6347 wxPyEndAllowThreads(__tstate);
6348 if (PyErr_Occurred()) SWIG_fail;
6349 }
6350 Py_INCREF(Py_None); resultobj = Py_None;
6351 return resultobj;
6352 fail:
6353 return NULL;
6354 }
6355
6356
6357 static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
6358 PyObject *resultobj;
6359 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6360 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6361 int arg3 = (int) -1 ;
6362 PyObject * obj0 = 0 ;
6363 PyObject * obj1 = 0 ;
6364 PyObject * obj2 = 0 ;
6365 char *kwnames[] = {
6366 (char *) "self",(char *) "owner",(char *) "id", NULL
6367 };
6368
6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6372 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6374 if (obj2) {
6375 arg3 = (int) SWIG_AsInt(obj2);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 }
6378 {
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 (arg1)->SetOwner(arg2,arg3);
6381
6382 wxPyEndAllowThreads(__tstate);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 Py_INCREF(Py_None); resultobj = Py_None;
6386 return resultobj;
6387 fail:
6388 return NULL;
6389 }
6390
6391
6392 static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
6393 PyObject *resultobj;
6394 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6395 int arg2 = (int) -1 ;
6396 bool arg3 = (bool) False ;
6397 bool result;
6398 PyObject * obj0 = 0 ;
6399 PyObject * obj1 = 0 ;
6400 PyObject * obj2 = 0 ;
6401 char *kwnames[] = {
6402 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6403 };
6404
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6408 if (obj1) {
6409 arg2 = (int) SWIG_AsInt(obj1);
6410 if (PyErr_Occurred()) SWIG_fail;
6411 }
6412 if (obj2) {
6413 arg3 = (bool) SWIG_AsBool(obj2);
6414 if (PyErr_Occurred()) SWIG_fail;
6415 }
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 result = (bool)(arg1)->Start(arg2,arg3);
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 {
6424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6425 }
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6435 PyObject * obj0 = 0 ;
6436 char *kwnames[] = {
6437 (char *) "self", NULL
6438 };
6439
6440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 (arg1)->Stop();
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 Py_INCREF(Py_None); resultobj = Py_None;
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj;
6459 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6460 bool result;
6461 PyObject * obj0 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "self", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6469 {
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
6471 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6472
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 {
6477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6478 }
6479 return resultobj;
6480 fail:
6481 return NULL;
6482 }
6483
6484
6485 static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
6486 PyObject *resultobj;
6487 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6488 int result;
6489 PyObject * obj0 = 0 ;
6490 char *kwnames[] = {
6491 (char *) "self", NULL
6492 };
6493
6494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 resultobj = SWIG_FromInt((int)result);
6505 return resultobj;
6506 fail:
6507 return NULL;
6508 }
6509
6510
6511 static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6514 bool result;
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "self", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 {
6531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6532 }
6533 return resultobj;
6534 fail:
6535 return NULL;
6536 }
6537
6538
6539 static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj;
6541 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6542 int result;
6543 PyObject * obj0 = 0 ;
6544 char *kwnames[] = {
6545 (char *) "self", NULL
6546 };
6547
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 result = (int)((wxPyTimer const *)arg1)->GetId();
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 resultobj = SWIG_FromInt((int)result);
6559 return resultobj;
6560 fail:
6561 return NULL;
6562 }
6563
6564
6565 static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
6566 PyObject *obj;
6567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6568 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6569 Py_INCREF(obj);
6570 return Py_BuildValue((char *)"");
6571 }
6572 static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6573 PyObject *resultobj;
6574 int arg1 = (int) 0 ;
6575 int arg2 = (int) 0 ;
6576 wxTimerEvent *result;
6577 PyObject * obj0 = 0 ;
6578 PyObject * obj1 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "timerid",(char *) "interval", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6584 if (obj0) {
6585 arg1 = (int) SWIG_AsInt(obj0);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 if (obj1) {
6589 arg2 = (int) SWIG_AsInt(obj1);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
6600 return resultobj;
6601 fail:
6602 return NULL;
6603 }
6604
6605
6606 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6609 int result;
6610 PyObject * obj0 = 0 ;
6611 char *kwnames[] = {
6612 (char *) "self", NULL
6613 };
6614
6615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6618 {
6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
6620 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6621
6622 wxPyEndAllowThreads(__tstate);
6623 if (PyErr_Occurred()) SWIG_fail;
6624 }
6625 resultobj = SWIG_FromInt((int)result);
6626 return resultobj;
6627 fail:
6628 return NULL;
6629 }
6630
6631
6632 static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
6633 PyObject *obj;
6634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6635 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6636 Py_INCREF(obj);
6637 return Py_BuildValue((char *)"");
6638 }
6639 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
6640 PyObject *resultobj;
6641 wxTimer *arg1 = 0 ;
6642 wxTimerRunner *result;
6643 PyObject * obj0 = 0 ;
6644
6645 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6647 SWIG_POINTER_EXCEPTION | 0)) == -1)
6648 SWIG_fail;
6649 if (arg1 == NULL) {
6650 PyErr_SetString(PyExc_TypeError,"null reference");
6651 SWIG_fail;
6652 }
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
6668 PyObject *resultobj;
6669 wxTimer *arg1 = 0 ;
6670 int arg2 ;
6671 bool arg3 = (bool) False ;
6672 wxTimerRunner *result;
6673 PyObject * obj0 = 0 ;
6674 PyObject * obj1 = 0 ;
6675 PyObject * obj2 = 0 ;
6676
6677 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6679 SWIG_POINTER_EXCEPTION | 0)) == -1)
6680 SWIG_fail;
6681 if (arg1 == NULL) {
6682 PyErr_SetString(PyExc_TypeError,"null reference");
6683 SWIG_fail;
6684 }
6685 arg2 = (int) SWIG_AsInt(obj1);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 if (obj2) {
6688 arg3 = (bool) SWIG_AsBool(obj2);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6706 int argc;
6707 PyObject *argv[4];
6708 int ii;
6709
6710 argc = PyObject_Length(args);
6711 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6712 argv[ii] = PyTuple_GetItem(args,ii);
6713 }
6714 if (argc == 1) {
6715 int _v;
6716 {
6717 void *ptr;
6718 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6719 _v = 0;
6720 PyErr_Clear();
6721 } else {
6722 _v = 1;
6723 }
6724 }
6725 if (_v) {
6726 return _wrap_new_TimerRunner__SWIG_0(self,args);
6727 }
6728 }
6729 if ((argc >= 2) && (argc <= 3)) {
6730 int _v;
6731 {
6732 void *ptr;
6733 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6734 _v = 0;
6735 PyErr_Clear();
6736 } else {
6737 _v = 1;
6738 }
6739 }
6740 if (_v) {
6741 _v = SWIG_CheckInt(argv[1]);
6742 if (_v) {
6743 if (argc <= 2) {
6744 return _wrap_new_TimerRunner__SWIG_1(self,args);
6745 }
6746 _v = SWIG_CheckBool(argv[2]);
6747 if (_v) {
6748 return _wrap_new_TimerRunner__SWIG_1(self,args);
6749 }
6750 }
6751 }
6752 }
6753
6754 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6755 return NULL;
6756 }
6757
6758
6759 static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
6760 PyObject *resultobj;
6761 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6762 PyObject * obj0 = 0 ;
6763 char *kwnames[] = {
6764 (char *) "self", NULL
6765 };
6766
6767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6770 {
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 delete arg1;
6773
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 Py_INCREF(Py_None); resultobj = Py_None;
6778 return resultobj;
6779 fail:
6780 return NULL;
6781 }
6782
6783
6784 static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
6785 PyObject *resultobj;
6786 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6787 int arg2 ;
6788 bool arg3 = (bool) False ;
6789 PyObject * obj0 = 0 ;
6790 PyObject * obj1 = 0 ;
6791 PyObject * obj2 = 0 ;
6792 char *kwnames[] = {
6793 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6794 };
6795
6796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6799 arg2 = (int) SWIG_AsInt(obj1);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 if (obj2) {
6802 arg3 = (bool) SWIG_AsBool(obj2);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 (arg1)->Start(arg2,arg3);
6808
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 Py_INCREF(Py_None); resultobj = Py_None;
6813 return resultobj;
6814 fail:
6815 return NULL;
6816 }
6817
6818
6819 static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
6820 PyObject *obj;
6821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6822 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6823 Py_INCREF(obj);
6824 return Py_BuildValue((char *)"");
6825 }
6826 static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxLog *result;
6829 char *kwnames[] = {
6830 NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 result = (wxLog *)new wxLog();
6837
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
6842 return resultobj;
6843 fail:
6844 return NULL;
6845 }
6846
6847
6848 static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
6849 PyObject *resultobj;
6850 bool result;
6851 char *kwnames[] = {
6852 NULL
6853 };
6854
6855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6856 {
6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6858 result = (bool)wxLog::IsEnabled();
6859
6860 wxPyEndAllowThreads(__tstate);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 {
6864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6865 }
6866 return resultobj;
6867 fail:
6868 return NULL;
6869 }
6870
6871
6872 static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 bool arg1 = (bool) True ;
6875 bool result;
6876 PyObject * obj0 = 0 ;
6877 char *kwnames[] = {
6878 (char *) "doIt", NULL
6879 };
6880
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6882 if (obj0) {
6883 arg1 = (bool) SWIG_AsBool(obj0);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 {
6887 PyThreadState* __tstate = wxPyBeginAllowThreads();
6888 result = (bool)wxLog::EnableLogging(arg1);
6889
6890 wxPyEndAllowThreads(__tstate);
6891 if (PyErr_Occurred()) SWIG_fail;
6892 }
6893 {
6894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6895 }
6896 return resultobj;
6897 fail:
6898 return NULL;
6899 }
6900
6901
6902 static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
6903 PyObject *resultobj;
6904 wxLogLevel arg1 ;
6905 wxChar *arg2 = (wxChar *) 0 ;
6906 time_t arg3 ;
6907 PyObject * obj0 = 0 ;
6908 PyObject * obj1 = 0 ;
6909 PyObject * obj2 = 0 ;
6910 char *kwnames[] = {
6911 (char *) "level",(char *) "szString",(char *) "t", NULL
6912 };
6913
6914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6915 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
6916 if (PyErr_Occurred()) SWIG_fail;
6917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
6918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6919 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
6920 if (PyErr_Occurred()) SWIG_fail;
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 Py_INCREF(Py_None); resultobj = Py_None;
6929 return resultobj;
6930 fail:
6931 return NULL;
6932 }
6933
6934
6935 static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj;
6937 wxLog *arg1 = (wxLog *) 0 ;
6938 PyObject * obj0 = 0 ;
6939 char *kwnames[] = {
6940 (char *) "self", NULL
6941 };
6942
6943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
6945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 (arg1)->Flush();
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 Py_INCREF(Py_None); resultobj = Py_None;
6954 return resultobj;
6955 fail:
6956 return NULL;
6957 }
6958
6959
6960 static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 char *kwnames[] = {
6963 NULL
6964 };
6965
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6967 {
6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6969 wxLog::FlushActive();
6970
6971 wxPyEndAllowThreads(__tstate);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 Py_INCREF(Py_None); resultobj = Py_None;
6975 return resultobj;
6976 fail:
6977 return NULL;
6978 }
6979
6980
6981 static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
6982 PyObject *resultobj;
6983 wxLog *result;
6984 char *kwnames[] = {
6985 NULL
6986 };
6987
6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6989 {
6990 PyThreadState* __tstate = wxPyBeginAllowThreads();
6991 result = (wxLog *)wxLog::GetActiveTarget();
6992
6993 wxPyEndAllowThreads(__tstate);
6994 if (PyErr_Occurred()) SWIG_fail;
6995 }
6996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
6997 return resultobj;
6998 fail:
6999 return NULL;
7000 }
7001
7002
7003 static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7004 PyObject *resultobj;
7005 wxLog *arg1 = (wxLog *) 0 ;
7006 wxLog *result;
7007 PyObject * obj0 = 0 ;
7008 char *kwnames[] = {
7009 (char *) "pLogger", NULL
7010 };
7011
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7018
7019 wxPyEndAllowThreads(__tstate);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
7022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7023 return resultobj;
7024 fail:
7025 return NULL;
7026 }
7027
7028
7029 static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
7030 PyObject *resultobj;
7031 char *kwnames[] = {
7032 NULL
7033 };
7034
7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7036 {
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 wxLog::Suspend();
7039
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 Py_INCREF(Py_None); resultobj = Py_None;
7044 return resultobj;
7045 fail:
7046 return NULL;
7047 }
7048
7049
7050 static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj;
7052 char *kwnames[] = {
7053 NULL
7054 };
7055
7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7057 {
7058 PyThreadState* __tstate = wxPyBeginAllowThreads();
7059 wxLog::Resume();
7060
7061 wxPyEndAllowThreads(__tstate);
7062 if (PyErr_Occurred()) SWIG_fail;
7063 }
7064 Py_INCREF(Py_None); resultobj = Py_None;
7065 return resultobj;
7066 fail:
7067 return NULL;
7068 }
7069
7070
7071 static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj;
7073 bool arg1 = (bool) True ;
7074 PyObject * obj0 = 0 ;
7075 char *kwnames[] = {
7076 (char *) "bVerbose", NULL
7077 };
7078
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7080 if (obj0) {
7081 arg1 = (bool) SWIG_AsBool(obj0);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 wxLog::SetVerbose(arg1);
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 Py_INCREF(Py_None); resultobj = Py_None;
7092 return resultobj;
7093 fail:
7094 return NULL;
7095 }
7096
7097
7098 static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj;
7100 wxLogLevel arg1 ;
7101 PyObject * obj0 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "logLevel", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7107 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 wxLog::SetLogLevel(arg1);
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 Py_INCREF(Py_None); resultobj = Py_None;
7117 return resultobj;
7118 fail:
7119 return NULL;
7120 }
7121
7122
7123 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj;
7125 char *kwnames[] = {
7126 NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 wxLog::DontCreateOnDemand();
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
7137 Py_INCREF(Py_None); resultobj = Py_None;
7138 return resultobj;
7139 fail:
7140 return NULL;
7141 }
7142
7143
7144 static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7145 PyObject *resultobj;
7146 wxTraceMask arg1 ;
7147 PyObject * obj0 = 0 ;
7148 char *kwnames[] = {
7149 (char *) "ulMask", NULL
7150 };
7151
7152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7153 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 wxLog::SetTraceMask(arg1);
7158
7159 wxPyEndAllowThreads(__tstate);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 }
7162 Py_INCREF(Py_None); resultobj = Py_None;
7163 return resultobj;
7164 fail:
7165 return NULL;
7166 }
7167
7168
7169 static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7170 PyObject *resultobj;
7171 wxString *arg1 = 0 ;
7172 bool temp1 = False ;
7173 PyObject * obj0 = 0 ;
7174 char *kwnames[] = {
7175 (char *) "str", NULL
7176 };
7177
7178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7179 {
7180 arg1 = wxString_in_helper(obj0);
7181 if (arg1 == NULL) SWIG_fail;
7182 temp1 = True;
7183 }
7184 {
7185 PyThreadState* __tstate = wxPyBeginAllowThreads();
7186 wxLog::AddTraceMask((wxString const &)*arg1);
7187
7188 wxPyEndAllowThreads(__tstate);
7189 if (PyErr_Occurred()) SWIG_fail;
7190 }
7191 Py_INCREF(Py_None); resultobj = Py_None;
7192 {
7193 if (temp1)
7194 delete arg1;
7195 }
7196 return resultobj;
7197 fail:
7198 {
7199 if (temp1)
7200 delete arg1;
7201 }
7202 return NULL;
7203 }
7204
7205
7206 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj;
7208 wxString *arg1 = 0 ;
7209 bool temp1 = False ;
7210 PyObject * obj0 = 0 ;
7211 char *kwnames[] = {
7212 (char *) "str", NULL
7213 };
7214
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7216 {
7217 arg1 = wxString_in_helper(obj0);
7218 if (arg1 == NULL) SWIG_fail;
7219 temp1 = True;
7220 }
7221 {
7222 PyThreadState* __tstate = wxPyBeginAllowThreads();
7223 wxLog::RemoveTraceMask((wxString const &)*arg1);
7224
7225 wxPyEndAllowThreads(__tstate);
7226 if (PyErr_Occurred()) SWIG_fail;
7227 }
7228 Py_INCREF(Py_None); resultobj = Py_None;
7229 {
7230 if (temp1)
7231 delete arg1;
7232 }
7233 return resultobj;
7234 fail:
7235 {
7236 if (temp1)
7237 delete arg1;
7238 }
7239 return NULL;
7240 }
7241
7242
7243 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7244 PyObject *resultobj;
7245 char *kwnames[] = {
7246 NULL
7247 };
7248
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 wxLog::ClearTraceMasks();
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 Py_INCREF(Py_None); resultobj = Py_None;
7258 return resultobj;
7259 fail:
7260 return NULL;
7261 }
7262
7263
7264 static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj;
7266 wxArrayString *result;
7267 char *kwnames[] = {
7268 NULL
7269 };
7270
7271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 {
7275 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7276 result = (wxArrayString *) &_result_ref;
7277 }
7278
7279 wxPyEndAllowThreads(__tstate);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 {
7283 resultobj = wxArrayString2PyList_helper(*result);
7284 }
7285 return resultobj;
7286 fail:
7287 return NULL;
7288 }
7289
7290
7291 static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj;
7293 wxChar *arg1 = (wxChar *) 0 ;
7294 PyObject * obj0 = 0 ;
7295 char *kwnames[] = {
7296 (char *) "ts", NULL
7297 };
7298
7299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 wxLog::SetTimestamp((wxChar const *)arg1);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 Py_INCREF(Py_None); resultobj = Py_None;
7310 return resultobj;
7311 fail:
7312 return NULL;
7313 }
7314
7315
7316 static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj;
7318 bool result;
7319 char *kwnames[] = {
7320 NULL
7321 };
7322
7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7324 {
7325 PyThreadState* __tstate = wxPyBeginAllowThreads();
7326 result = (bool)wxLog::GetVerbose();
7327
7328 wxPyEndAllowThreads(__tstate);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
7331 {
7332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7333 }
7334 return resultobj;
7335 fail:
7336 return NULL;
7337 }
7338
7339
7340 static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7341 PyObject *resultobj;
7342 wxTraceMask result;
7343 char *kwnames[] = {
7344 NULL
7345 };
7346
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (wxTraceMask)wxLog::GetTraceMask();
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7356 return resultobj;
7357 fail:
7358 return NULL;
7359 }
7360
7361
7362 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxChar *arg1 = (wxChar *) 0 ;
7365 bool result;
7366 PyObject * obj0 = 0 ;
7367 char *kwnames[] = {
7368 (char *) "mask", NULL
7369 };
7370
7371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7374 {
7375 PyThreadState* __tstate = wxPyBeginAllowThreads();
7376 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7377
7378 wxPyEndAllowThreads(__tstate);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
7381 {
7382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7383 }
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj;
7392 wxLogLevel result;
7393 char *kwnames[] = {
7394 NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 result = (wxLogLevel)wxLog::GetLogLevel();
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7406 return resultobj;
7407 fail:
7408 return NULL;
7409 }
7410
7411
7412 static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj;
7414 wxChar *result;
7415 char *kwnames[] = {
7416 NULL
7417 };
7418
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7420 {
7421 PyThreadState* __tstate = wxPyBeginAllowThreads();
7422 result = (wxChar *)wxLog::GetTimestamp();
7423
7424 wxPyEndAllowThreads(__tstate);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 }
7427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7428 return resultobj;
7429 fail:
7430 return NULL;
7431 }
7432
7433
7434 static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
7435 PyObject *resultobj;
7436 wxString result;
7437 char *kwnames[] = {
7438 NULL
7439 };
7440
7441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = Log_TimeStamp();
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 {
7450 #if wxUSE_UNICODE
7451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7452 #else
7453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7454 #endif
7455 }
7456 return resultobj;
7457 fail:
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxLog *arg1 = (wxLog *) 0 ;
7465 PyObject * obj0 = 0 ;
7466 char *kwnames[] = {
7467 (char *) "self", NULL
7468 };
7469
7470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7473 {
7474 PyThreadState* __tstate = wxPyBeginAllowThreads();
7475 wxLog_Destroy(arg1);
7476
7477 wxPyEndAllowThreads(__tstate);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
7480 Py_INCREF(Py_None); resultobj = Py_None;
7481 return resultobj;
7482 fail:
7483 return NULL;
7484 }
7485
7486
7487 static PyObject * Log_swigregister(PyObject *, PyObject *args) {
7488 PyObject *obj;
7489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7490 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7491 Py_INCREF(obj);
7492 return Py_BuildValue((char *)"");
7493 }
7494 static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxLogStderr *result;
7497 char *kwnames[] = {
7498 NULL
7499 };
7500
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7502 {
7503 PyThreadState* __tstate = wxPyBeginAllowThreads();
7504 result = (wxLogStderr *)new wxLogStderr();
7505
7506 wxPyEndAllowThreads(__tstate);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 }
7509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
7510 return resultobj;
7511 fail:
7512 return NULL;
7513 }
7514
7515
7516 static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
7517 PyObject *obj;
7518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7519 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7520 Py_INCREF(obj);
7521 return Py_BuildValue((char *)"");
7522 }
7523 static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7524 PyObject *resultobj;
7525 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7526 wxLogTextCtrl *result;
7527 PyObject * obj0 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "pTextCtrl", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7538
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
7543 return resultobj;
7544 fail:
7545 return NULL;
7546 }
7547
7548
7549 static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
7550 PyObject *obj;
7551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7552 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7553 Py_INCREF(obj);
7554 return Py_BuildValue((char *)"");
7555 }
7556 static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 wxLogGui *result;
7559 char *kwnames[] = {
7560 NULL
7561 };
7562
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7564 {
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 result = (wxLogGui *)new wxLogGui();
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
7572 return resultobj;
7573 fail:
7574 return NULL;
7575 }
7576
7577
7578 static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
7579 PyObject *obj;
7580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7581 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7582 Py_INCREF(obj);
7583 return Py_BuildValue((char *)"");
7584 }
7585 static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7586 PyObject *resultobj;
7587 wxFrame *arg1 = (wxFrame *) 0 ;
7588 wxString *arg2 = 0 ;
7589 bool arg3 = (bool) True ;
7590 bool arg4 = (bool) True ;
7591 wxLogWindow *result;
7592 bool temp2 = False ;
7593 PyObject * obj0 = 0 ;
7594 PyObject * obj1 = 0 ;
7595 PyObject * obj2 = 0 ;
7596 PyObject * obj3 = 0 ;
7597 char *kwnames[] = {
7598 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7599 };
7600
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7604 {
7605 arg2 = wxString_in_helper(obj1);
7606 if (arg2 == NULL) SWIG_fail;
7607 temp2 = True;
7608 }
7609 if (obj2) {
7610 arg3 = (bool) SWIG_AsBool(obj2);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
7613 if (obj3) {
7614 arg4 = (bool) SWIG_AsBool(obj3);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
7625 {
7626 if (temp2)
7627 delete arg2;
7628 }
7629 return resultobj;
7630 fail:
7631 {
7632 if (temp2)
7633 delete arg2;
7634 }
7635 return NULL;
7636 }
7637
7638
7639 static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
7640 PyObject *resultobj;
7641 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7642 bool arg2 = (bool) True ;
7643 PyObject * obj0 = 0 ;
7644 PyObject * obj1 = 0 ;
7645 char *kwnames[] = {
7646 (char *) "self",(char *) "bShow", NULL
7647 };
7648
7649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7652 if (obj1) {
7653 arg2 = (bool) SWIG_AsBool(obj1);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 (arg1)->Show(arg2);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 Py_INCREF(Py_None); resultobj = Py_None;
7664 return resultobj;
7665 fail:
7666 return NULL;
7667 }
7668
7669
7670 static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7671 PyObject *resultobj;
7672 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7673 wxFrame *result;
7674 PyObject * obj0 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 {
7690 resultobj = wxPyMake_wxObject(result);
7691 }
7692 return resultobj;
7693 fail:
7694 return NULL;
7695 }
7696
7697
7698 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
7699 PyObject *resultobj;
7700 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7701 wxLog *result;
7702 PyObject * obj0 = 0 ;
7703 char *kwnames[] = {
7704 (char *) "self", NULL
7705 };
7706
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7713
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7718 return resultobj;
7719 fail:
7720 return NULL;
7721 }
7722
7723
7724 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7725 PyObject *resultobj;
7726 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7727 bool result;
7728 PyObject * obj0 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7736 {
7737 PyThreadState* __tstate = wxPyBeginAllowThreads();
7738 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7739
7740 wxPyEndAllowThreads(__tstate);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 }
7743 {
7744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7745 }
7746 return resultobj;
7747 fail:
7748 return NULL;
7749 }
7750
7751
7752 static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7753 PyObject *resultobj;
7754 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7755 bool arg2 ;
7756 PyObject * obj0 = 0 ;
7757 PyObject * obj1 = 0 ;
7758 char *kwnames[] = {
7759 (char *) "self",(char *) "bDoPass", NULL
7760 };
7761
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7765 arg2 = (bool) SWIG_AsBool(obj1);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 {
7768 PyThreadState* __tstate = wxPyBeginAllowThreads();
7769 (arg1)->PassMessages(arg2);
7770
7771 wxPyEndAllowThreads(__tstate);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 }
7774 Py_INCREF(Py_None); resultobj = Py_None;
7775 return resultobj;
7776 fail:
7777 return NULL;
7778 }
7779
7780
7781 static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
7782 PyObject *obj;
7783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7784 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7785 Py_INCREF(obj);
7786 return Py_BuildValue((char *)"");
7787 }
7788 static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
7789 PyObject *resultobj;
7790 wxLog *arg1 = (wxLog *) 0 ;
7791 wxLogChain *result;
7792 PyObject * obj0 = 0 ;
7793 char *kwnames[] = {
7794 (char *) "logger", NULL
7795 };
7796
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 result = (wxLogChain *)new wxLogChain(arg1);
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
7808 return resultobj;
7809 fail:
7810 return NULL;
7811 }
7812
7813
7814 static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj;
7816 wxLogChain *arg1 = (wxLogChain *) 0 ;
7817 wxLog *arg2 = (wxLog *) 0 ;
7818 PyObject * obj0 = 0 ;
7819 PyObject * obj1 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "self",(char *) "logger", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
7828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7829 {
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 (arg1)->SetLog(arg2);
7832
7833 wxPyEndAllowThreads(__tstate);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 }
7836 Py_INCREF(Py_None); resultobj = Py_None;
7837 return resultobj;
7838 fail:
7839 return NULL;
7840 }
7841
7842
7843 static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7844 PyObject *resultobj;
7845 wxLogChain *arg1 = (wxLogChain *) 0 ;
7846 bool arg2 ;
7847 PyObject * obj0 = 0 ;
7848 PyObject * obj1 = 0 ;
7849 char *kwnames[] = {
7850 (char *) "self",(char *) "bDoPass", NULL
7851 };
7852
7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7856 arg2 = (bool) SWIG_AsBool(obj1);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 {
7859 PyThreadState* __tstate = wxPyBeginAllowThreads();
7860 (arg1)->PassMessages(arg2);
7861
7862 wxPyEndAllowThreads(__tstate);
7863 if (PyErr_Occurred()) SWIG_fail;
7864 }
7865 Py_INCREF(Py_None); resultobj = Py_None;
7866 return resultobj;
7867 fail:
7868 return NULL;
7869 }
7870
7871
7872 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7873 PyObject *resultobj;
7874 wxLogChain *arg1 = (wxLogChain *) 0 ;
7875 bool result;
7876 PyObject * obj0 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 result = (bool)(arg1)->IsPassingMessages();
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 {
7892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7893 }
7894 return resultobj;
7895 fail:
7896 return NULL;
7897 }
7898
7899
7900 static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
7901 PyObject *resultobj;
7902 wxLogChain *arg1 = (wxLogChain *) 0 ;
7903 wxLog *result;
7904 PyObject * obj0 = 0 ;
7905 char *kwnames[] = {
7906 (char *) "self", NULL
7907 };
7908
7909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7912 {
7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
7914 result = (wxLog *)(arg1)->GetOldLog();
7915
7916 wxPyEndAllowThreads(__tstate);
7917 if (PyErr_Occurred()) SWIG_fail;
7918 }
7919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7920 return resultobj;
7921 fail:
7922 return NULL;
7923 }
7924
7925
7926 static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
7927 PyObject *obj;
7928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7929 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7930 Py_INCREF(obj);
7931 return Py_BuildValue((char *)"");
7932 }
7933 static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 unsigned long result;
7936 char *kwnames[] = {
7937 NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 result = (unsigned long)wxSysErrorCode();
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7949 return resultobj;
7950 fail:
7951 return NULL;
7952 }
7953
7954
7955 static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
7956 PyObject *resultobj;
7957 unsigned long arg1 = (unsigned long) 0 ;
7958 wxString result;
7959 PyObject * obj0 = 0 ;
7960 char *kwnames[] = {
7961 (char *) "nErrCode", NULL
7962 };
7963
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7965 if (obj0) {
7966 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 result = wxSysErrorMsg(arg1);
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 {
7977 #if wxUSE_UNICODE
7978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7979 #else
7980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7981 #endif
7982 }
7983 return resultobj;
7984 fail:
7985 return NULL;
7986 }
7987
7988
7989 static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj;
7991 wxString *arg1 = 0 ;
7992 bool temp1 = False ;
7993 PyObject * obj0 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "msg", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7999 {
8000 arg1 = wxString_in_helper(obj0);
8001 if (arg1 == NULL) SWIG_fail;
8002 temp1 = True;
8003 }
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 wxLogFatalError((wxString const &)*arg1);
8007
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 Py_INCREF(Py_None); resultobj = Py_None;
8012 {
8013 if (temp1)
8014 delete arg1;
8015 }
8016 return resultobj;
8017 fail:
8018 {
8019 if (temp1)
8020 delete arg1;
8021 }
8022 return NULL;
8023 }
8024
8025
8026 static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
8027 PyObject *resultobj;
8028 wxString *arg1 = 0 ;
8029 bool temp1 = False ;
8030 PyObject * obj0 = 0 ;
8031 char *kwnames[] = {
8032 (char *) "msg", NULL
8033 };
8034
8035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8036 {
8037 arg1 = wxString_in_helper(obj0);
8038 if (arg1 == NULL) SWIG_fail;
8039 temp1 = True;
8040 }
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 wxLogError((wxString const &)*arg1);
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 Py_INCREF(Py_None); resultobj = Py_None;
8049 {
8050 if (temp1)
8051 delete arg1;
8052 }
8053 return resultobj;
8054 fail:
8055 {
8056 if (temp1)
8057 delete arg1;
8058 }
8059 return NULL;
8060 }
8061
8062
8063 static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
8064 PyObject *resultobj;
8065 wxString *arg1 = 0 ;
8066 bool temp1 = False ;
8067 PyObject * obj0 = 0 ;
8068 char *kwnames[] = {
8069 (char *) "msg", NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8073 {
8074 arg1 = wxString_in_helper(obj0);
8075 if (arg1 == NULL) SWIG_fail;
8076 temp1 = True;
8077 }
8078 {
8079 PyThreadState* __tstate = wxPyBeginAllowThreads();
8080 wxLogWarning((wxString const &)*arg1);
8081
8082 wxPyEndAllowThreads(__tstate);
8083 if (PyErr_Occurred()) SWIG_fail;
8084 }
8085 Py_INCREF(Py_None); resultobj = Py_None;
8086 {
8087 if (temp1)
8088 delete arg1;
8089 }
8090 return resultobj;
8091 fail:
8092 {
8093 if (temp1)
8094 delete arg1;
8095 }
8096 return NULL;
8097 }
8098
8099
8100 static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
8101 PyObject *resultobj;
8102 wxString *arg1 = 0 ;
8103 bool temp1 = False ;
8104 PyObject * obj0 = 0 ;
8105 char *kwnames[] = {
8106 (char *) "msg", NULL
8107 };
8108
8109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8110 {
8111 arg1 = wxString_in_helper(obj0);
8112 if (arg1 == NULL) SWIG_fail;
8113 temp1 = True;
8114 }
8115 {
8116 PyThreadState* __tstate = wxPyBeginAllowThreads();
8117 wxLogMessage((wxString const &)*arg1);
8118
8119 wxPyEndAllowThreads(__tstate);
8120 if (PyErr_Occurred()) SWIG_fail;
8121 }
8122 Py_INCREF(Py_None); resultobj = Py_None;
8123 {
8124 if (temp1)
8125 delete arg1;
8126 }
8127 return resultobj;
8128 fail:
8129 {
8130 if (temp1)
8131 delete arg1;
8132 }
8133 return NULL;
8134 }
8135
8136
8137 static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxString *arg1 = 0 ;
8140 bool temp1 = False ;
8141 PyObject * obj0 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "msg", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8147 {
8148 arg1 = wxString_in_helper(obj0);
8149 if (arg1 == NULL) SWIG_fail;
8150 temp1 = True;
8151 }
8152 {
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 wxLogInfo((wxString const &)*arg1);
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 Py_INCREF(Py_None); resultobj = Py_None;
8160 {
8161 if (temp1)
8162 delete arg1;
8163 }
8164 return resultobj;
8165 fail:
8166 {
8167 if (temp1)
8168 delete arg1;
8169 }
8170 return NULL;
8171 }
8172
8173
8174 static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
8175 PyObject *resultobj;
8176 wxString *arg1 = 0 ;
8177 bool temp1 = False ;
8178 PyObject * obj0 = 0 ;
8179 char *kwnames[] = {
8180 (char *) "msg", NULL
8181 };
8182
8183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8184 {
8185 arg1 = wxString_in_helper(obj0);
8186 if (arg1 == NULL) SWIG_fail;
8187 temp1 = True;
8188 }
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 wxLogDebug((wxString const &)*arg1);
8192
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 Py_INCREF(Py_None); resultobj = Py_None;
8197 {
8198 if (temp1)
8199 delete arg1;
8200 }
8201 return resultobj;
8202 fail:
8203 {
8204 if (temp1)
8205 delete arg1;
8206 }
8207 return NULL;
8208 }
8209
8210
8211 static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxString *arg1 = 0 ;
8214 bool temp1 = False ;
8215 PyObject * obj0 = 0 ;
8216 char *kwnames[] = {
8217 (char *) "msg", NULL
8218 };
8219
8220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8221 {
8222 arg1 = wxString_in_helper(obj0);
8223 if (arg1 == NULL) SWIG_fail;
8224 temp1 = True;
8225 }
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 wxLogVerbose((wxString const &)*arg1);
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 Py_INCREF(Py_None); resultobj = Py_None;
8234 {
8235 if (temp1)
8236 delete arg1;
8237 }
8238 return resultobj;
8239 fail:
8240 {
8241 if (temp1)
8242 delete arg1;
8243 }
8244 return NULL;
8245 }
8246
8247
8248 static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxString *arg1 = 0 ;
8251 bool temp1 = False ;
8252 PyObject * obj0 = 0 ;
8253 char *kwnames[] = {
8254 (char *) "msg", NULL
8255 };
8256
8257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8258 {
8259 arg1 = wxString_in_helper(obj0);
8260 if (arg1 == NULL) SWIG_fail;
8261 temp1 = True;
8262 }
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 wxLogStatus((wxString const &)*arg1);
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 Py_INCREF(Py_None); resultobj = Py_None;
8271 {
8272 if (temp1)
8273 delete arg1;
8274 }
8275 return resultobj;
8276 fail:
8277 {
8278 if (temp1)
8279 delete arg1;
8280 }
8281 return NULL;
8282 }
8283
8284
8285 static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8286 PyObject *resultobj;
8287 wxFrame *arg1 = (wxFrame *) 0 ;
8288 wxString *arg2 = 0 ;
8289 bool temp2 = False ;
8290 PyObject * obj0 = 0 ;
8291 PyObject * obj1 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "pFrame",(char *) "msg", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8299 {
8300 arg2 = wxString_in_helper(obj1);
8301 if (arg2 == NULL) SWIG_fail;
8302 temp2 = True;
8303 }
8304 {
8305 PyThreadState* __tstate = wxPyBeginAllowThreads();
8306 wxLogStatus(arg1,(wxString const &)*arg2);
8307
8308 wxPyEndAllowThreads(__tstate);
8309 if (PyErr_Occurred()) SWIG_fail;
8310 }
8311 Py_INCREF(Py_None); resultobj = Py_None;
8312 {
8313 if (temp2)
8314 delete arg2;
8315 }
8316 return resultobj;
8317 fail:
8318 {
8319 if (temp2)
8320 delete arg2;
8321 }
8322 return NULL;
8323 }
8324
8325
8326 static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxString *arg1 = 0 ;
8329 bool temp1 = False ;
8330 PyObject * obj0 = 0 ;
8331 char *kwnames[] = {
8332 (char *) "msg", NULL
8333 };
8334
8335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) 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 wxLogSysError((wxString const &)*arg1);
8344
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 Py_INCREF(Py_None); resultobj = Py_None;
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_LogTrace__SWIG_0(PyObject *, PyObject *args) {
8364 PyObject *resultobj;
8365 unsigned long arg1 ;
8366 wxString *arg2 = 0 ;
8367 bool temp2 = False ;
8368 PyObject * obj0 = 0 ;
8369 PyObject * obj1 = 0 ;
8370
8371 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8372 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 {
8375 arg2 = wxString_in_helper(obj1);
8376 if (arg2 == NULL) SWIG_fail;
8377 temp2 = True;
8378 }
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 wxLogTrace(arg1,(wxString const &)*arg2);
8382
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 Py_INCREF(Py_None); resultobj = Py_None;
8387 {
8388 if (temp2)
8389 delete arg2;
8390 }
8391 return resultobj;
8392 fail:
8393 {
8394 if (temp2)
8395 delete arg2;
8396 }
8397 return NULL;
8398 }
8399
8400
8401 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
8402 PyObject *resultobj;
8403 wxString *arg1 = 0 ;
8404 wxString *arg2 = 0 ;
8405 bool temp1 = False ;
8406 bool temp2 = False ;
8407 PyObject * obj0 = 0 ;
8408 PyObject * obj1 = 0 ;
8409
8410 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8411 {
8412 arg1 = wxString_in_helper(obj0);
8413 if (arg1 == NULL) SWIG_fail;
8414 temp1 = True;
8415 }
8416 {
8417 arg2 = wxString_in_helper(obj1);
8418 if (arg2 == NULL) SWIG_fail;
8419 temp2 = True;
8420 }
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 Py_INCREF(Py_None); resultobj = Py_None;
8429 {
8430 if (temp1)
8431 delete arg1;
8432 }
8433 {
8434 if (temp2)
8435 delete arg2;
8436 }
8437 return resultobj;
8438 fail:
8439 {
8440 if (temp1)
8441 delete arg1;
8442 }
8443 {
8444 if (temp2)
8445 delete arg2;
8446 }
8447 return NULL;
8448 }
8449
8450
8451 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8452 int argc;
8453 PyObject *argv[3];
8454 int ii;
8455
8456 argc = PyObject_Length(args);
8457 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8458 argv[ii] = PyTuple_GetItem(args,ii);
8459 }
8460 if (argc == 2) {
8461 int _v;
8462 {
8463 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8464 }
8465 if (_v) {
8466 {
8467 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8468 }
8469 if (_v) {
8470 return _wrap_LogTrace__SWIG_1(self,args);
8471 }
8472 }
8473 }
8474 if (argc == 2) {
8475 int _v;
8476 _v = SWIG_CheckUnsignedLong(argv[0]);
8477 if (_v) {
8478 {
8479 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8480 }
8481 if (_v) {
8482 return _wrap_LogTrace__SWIG_0(self,args);
8483 }
8484 }
8485 }
8486
8487 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8488 return NULL;
8489 }
8490
8491
8492 static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
8493 PyObject *resultobj;
8494 unsigned long arg1 ;
8495 wxString *arg2 = 0 ;
8496 bool temp2 = False ;
8497 PyObject * obj0 = 0 ;
8498 PyObject * obj1 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "level",(char *) "msg", NULL
8501 };
8502
8503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8504 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 {
8507 arg2 = wxString_in_helper(obj1);
8508 if (arg2 == NULL) SWIG_fail;
8509 temp2 = True;
8510 }
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 wxLogGeneric(arg1,(wxString const &)*arg2);
8514
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 Py_INCREF(Py_None); resultobj = Py_None;
8519 {
8520 if (temp2)
8521 delete arg2;
8522 }
8523 return resultobj;
8524 fail:
8525 {
8526 if (temp2)
8527 delete arg2;
8528 }
8529 return NULL;
8530 }
8531
8532
8533 static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxString *arg1 = 0 ;
8536 wxString *arg2 = 0 ;
8537 bool temp1 = False ;
8538 bool temp2 = False ;
8539 PyObject * obj0 = 0 ;
8540 PyObject * obj1 = 0 ;
8541 char *kwnames[] = {
8542 (char *) "title",(char *) "text", NULL
8543 };
8544
8545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8546 {
8547 arg1 = wxString_in_helper(obj0);
8548 if (arg1 == NULL) SWIG_fail;
8549 temp1 = True;
8550 }
8551 {
8552 arg2 = wxString_in_helper(obj1);
8553 if (arg2 == NULL) SWIG_fail;
8554 temp2 = True;
8555 }
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 Py_INCREF(Py_None); resultobj = Py_None;
8564 {
8565 if (temp1)
8566 delete arg1;
8567 }
8568 {
8569 if (temp2)
8570 delete arg2;
8571 }
8572 return resultobj;
8573 fail:
8574 {
8575 if (temp1)
8576 delete arg1;
8577 }
8578 {
8579 if (temp2)
8580 delete arg2;
8581 }
8582 return NULL;
8583 }
8584
8585
8586 static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
8587 PyObject *resultobj;
8588 wxLogNull *result;
8589 char *kwnames[] = {
8590 NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (wxLogNull *)new wxLogNull();
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxLogNull *arg1 = (wxLogNull *) 0 ;
8611 PyObject * obj0 = 0 ;
8612 char *kwnames[] = {
8613 (char *) "self", NULL
8614 };
8615
8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8619 {
8620 PyThreadState* __tstate = wxPyBeginAllowThreads();
8621 delete arg1;
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 * LogNull_swigregister(PyObject *, PyObject *args) {
8634 PyObject *obj;
8635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8636 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8637 Py_INCREF(obj);
8638 return Py_BuildValue((char *)"");
8639 }
8640 static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxPyLog *result;
8643 char *kwnames[] = {
8644 NULL
8645 };
8646
8647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 result = (wxPyLog *)new wxPyLog();
8651
8652 wxPyEndAllowThreads(__tstate);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
8656 return resultobj;
8657 fail:
8658 return NULL;
8659 }
8660
8661
8662 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8663 PyObject *resultobj;
8664 wxPyLog *arg1 = (wxPyLog *) 0 ;
8665 PyObject *arg2 = (PyObject *) 0 ;
8666 PyObject *arg3 = (PyObject *) 0 ;
8667 PyObject * obj0 = 0 ;
8668 PyObject * obj1 = 0 ;
8669 PyObject * obj2 = 0 ;
8670 char *kwnames[] = {
8671 (char *) "self",(char *) "self",(char *) "_class", NULL
8672 };
8673
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8677 arg2 = obj1;
8678 arg3 = obj2;
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 (arg1)->_setCallbackInfo(arg2,arg3);
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 Py_INCREF(Py_None); resultobj = Py_None;
8687 return resultobj;
8688 fail:
8689 return NULL;
8690 }
8691
8692
8693 static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
8694 PyObject *obj;
8695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8696 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8697 Py_INCREF(obj);
8698 return Py_BuildValue((char *)"");
8699 }
8700 static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 int arg1 ;
8703 int arg2 = (int) wxSIGTERM ;
8704 int result;
8705 PyObject * obj0 = 0 ;
8706 PyObject * obj1 = 0 ;
8707 char *kwnames[] = {
8708 (char *) "pid",(char *) "sig", NULL
8709 };
8710
8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8712 arg1 = (int) SWIG_AsInt(obj0);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 if (obj1) {
8715 arg2 = (wxSignal) SWIG_AsInt(obj1);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 resultobj = SWIG_FromInt((int)result);
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 int arg1 ;
8735 bool result;
8736 PyObject * obj0 = 0 ;
8737 char *kwnames[] = {
8738 (char *) "pid", NULL
8739 };
8740
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
8742 arg1 = (int) SWIG_AsInt(obj0);
8743 if (PyErr_Occurred()) SWIG_fail;
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 result = (bool)wxPyProcess::Exists(arg1);
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 {
8752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8753 }
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxString *arg1 = 0 ;
8763 int arg2 = (int) wxEXEC_ASYNC ;
8764 wxPyProcess *result;
8765 bool temp1 = False ;
8766 PyObject * obj0 = 0 ;
8767 PyObject * obj1 = 0 ;
8768 char *kwnames[] = {
8769 (char *) "cmd",(char *) "flags", NULL
8770 };
8771
8772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
8773 {
8774 arg1 = wxString_in_helper(obj0);
8775 if (arg1 == NULL) SWIG_fail;
8776 temp1 = True;
8777 }
8778 if (obj1) {
8779 arg2 = (int) SWIG_AsInt(obj1);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
8790 {
8791 if (temp1)
8792 delete arg1;
8793 }
8794 return resultobj;
8795 fail:
8796 {
8797 if (temp1)
8798 delete arg1;
8799 }
8800 return NULL;
8801 }
8802
8803
8804 static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8807 int arg2 = (int) -1 ;
8808 wxPyProcess *result;
8809 PyObject * obj0 = 0 ;
8810 PyObject * obj1 = 0 ;
8811 char *kwnames[] = {
8812 (char *) "parent",(char *) "id", NULL
8813 };
8814
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
8816 if (obj0) {
8817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
8818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8819 }
8820 if (obj1) {
8821 arg2 = (int) SWIG_AsInt(obj1);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 {
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8827
8828 wxPyEndAllowThreads(__tstate);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
8832 return resultobj;
8833 fail:
8834 return NULL;
8835 }
8836
8837
8838 static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj;
8840 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8841 PyObject *arg2 = (PyObject *) 0 ;
8842 PyObject *arg3 = (PyObject *) 0 ;
8843 PyObject * obj0 = 0 ;
8844 PyObject * obj1 = 0 ;
8845 PyObject * obj2 = 0 ;
8846 char *kwnames[] = {
8847 (char *) "self",(char *) "self",(char *) "_class", NULL
8848 };
8849
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8853 arg2 = obj1;
8854 arg3 = obj2;
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 (arg1)->_setCallbackInfo(arg2,arg3);
8858
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 Py_INCREF(Py_None); resultobj = Py_None;
8863 return resultobj;
8864 fail:
8865 return NULL;
8866 }
8867
8868
8869 static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj;
8871 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8872 int arg2 ;
8873 int arg3 ;
8874 PyObject * obj0 = 0 ;
8875 PyObject * obj1 = 0 ;
8876 PyObject * obj2 = 0 ;
8877 char *kwnames[] = {
8878 (char *) "self",(char *) "pid",(char *) "status", NULL
8879 };
8880
8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
8882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8884 arg2 = (int) SWIG_AsInt(obj1);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 arg3 = (int) SWIG_AsInt(obj2);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 {
8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
8890 (arg1)->base_OnTerminate(arg2,arg3);
8891
8892 wxPyEndAllowThreads(__tstate);
8893 if (PyErr_Occurred()) SWIG_fail;
8894 }
8895 Py_INCREF(Py_None); resultobj = Py_None;
8896 return resultobj;
8897 fail:
8898 return NULL;
8899 }
8900
8901
8902 static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
8903 PyObject *resultobj;
8904 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8905 PyObject * obj0 = 0 ;
8906 char *kwnames[] = {
8907 (char *) "self", NULL
8908 };
8909
8910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 (arg1)->Redirect();
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 Py_INCREF(Py_None); resultobj = Py_None;
8921 return resultobj;
8922 fail:
8923 return NULL;
8924 }
8925
8926
8927 static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8930 bool result;
8931 PyObject * obj0 = 0 ;
8932 char *kwnames[] = {
8933 (char *) "self", NULL
8934 };
8935
8936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 result = (bool)(arg1)->IsRedirected();
8942
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 {
8947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8948 }
8949 return resultobj;
8950 fail:
8951 return NULL;
8952 }
8953
8954
8955 static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
8956 PyObject *resultobj;
8957 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8958 PyObject * obj0 = 0 ;
8959 char *kwnames[] = {
8960 (char *) "self", NULL
8961 };
8962
8963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 (arg1)->Detach();
8969
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 Py_INCREF(Py_None); resultobj = Py_None;
8974 return resultobj;
8975 fail:
8976 return NULL;
8977 }
8978
8979
8980 static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj;
8982 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8983 wxInputStream *result;
8984 PyObject * obj0 = 0 ;
8985 char *kwnames[] = {
8986 (char *) "self", NULL
8987 };
8988
8989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8992 {
8993 PyThreadState* __tstate = wxPyBeginAllowThreads();
8994 result = (wxInputStream *)(arg1)->GetInputStream();
8995
8996 wxPyEndAllowThreads(__tstate);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 }
8999 {
9000 wxPyInputStream * _ptr = NULL;
9001
9002 if (result) {
9003 _ptr = new wxPyInputStream(result);
9004 }
9005 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9006 }
9007 return resultobj;
9008 fail:
9009 return NULL;
9010 }
9011
9012
9013 static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9016 wxInputStream *result;
9017 PyObject * obj0 = 0 ;
9018 char *kwnames[] = {
9019 (char *) "self", NULL
9020 };
9021
9022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 result = (wxInputStream *)(arg1)->GetErrorStream();
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 {
9033 wxPyInputStream * _ptr = NULL;
9034
9035 if (result) {
9036 _ptr = new wxPyInputStream(result);
9037 }
9038 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9039 }
9040 return resultobj;
9041 fail:
9042 return NULL;
9043 }
9044
9045
9046 static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
9047 PyObject *resultobj;
9048 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9049 wxOutputStream *result;
9050 PyObject * obj0 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "self", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 result = (wxOutputStream *)(arg1)->GetOutputStream();
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj;
9074 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9075 PyObject * obj0 = 0 ;
9076 char *kwnames[] = {
9077 (char *) "self", NULL
9078 };
9079
9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 (arg1)->CloseOutput();
9086
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 Py_INCREF(Py_None); resultobj = Py_None;
9091 return resultobj;
9092 fail:
9093 return NULL;
9094 }
9095
9096
9097 static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
9098 PyObject *resultobj;
9099 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9100 bool result;
9101 PyObject * obj0 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 {
9117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9118 }
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9128 bool result;
9129 PyObject * obj0 = 0 ;
9130 char *kwnames[] = {
9131 (char *) "self", NULL
9132 };
9133
9134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 {
9145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9146 }
9147 return resultobj;
9148 fail:
9149 return NULL;
9150 }
9151
9152
9153 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
9154 PyObject *resultobj;
9155 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9156 bool result;
9157 PyObject * obj0 = 0 ;
9158 char *kwnames[] = {
9159 (char *) "self", NULL
9160 };
9161
9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 {
9173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9174 }
9175 return resultobj;
9176 fail:
9177 return NULL;
9178 }
9179
9180
9181 static PyObject * Process_swigregister(PyObject *, PyObject *args) {
9182 PyObject *obj;
9183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9184 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9185 Py_INCREF(obj);
9186 return Py_BuildValue((char *)"");
9187 }
9188 static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj;
9190 int arg1 = (int) 0 ;
9191 int arg2 = (int) 0 ;
9192 int arg3 = (int) 0 ;
9193 wxProcessEvent *result;
9194 PyObject * obj0 = 0 ;
9195 PyObject * obj1 = 0 ;
9196 PyObject * obj2 = 0 ;
9197 char *kwnames[] = {
9198 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9199 };
9200
9201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9202 if (obj0) {
9203 arg1 = (int) SWIG_AsInt(obj0);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 if (obj1) {
9207 arg2 = (int) SWIG_AsInt(obj1);
9208 if (PyErr_Occurred()) SWIG_fail;
9209 }
9210 if (obj2) {
9211 arg3 = (int) SWIG_AsInt(obj2);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9222 return resultobj;
9223 fail:
9224 return NULL;
9225 }
9226
9227
9228 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj;
9230 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9231 int result;
9232 PyObject * obj0 = 0 ;
9233 char *kwnames[] = {
9234 (char *) "self", NULL
9235 };
9236
9237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 result = (int)(arg1)->GetPid();
9243
9244 wxPyEndAllowThreads(__tstate);
9245 if (PyErr_Occurred()) SWIG_fail;
9246 }
9247 resultobj = SWIG_FromInt((int)result);
9248 return resultobj;
9249 fail:
9250 return NULL;
9251 }
9252
9253
9254 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
9255 PyObject *resultobj;
9256 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9257 int result;
9258 PyObject * obj0 = 0 ;
9259 char *kwnames[] = {
9260 (char *) "self", NULL
9261 };
9262
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9266 {
9267 PyThreadState* __tstate = wxPyBeginAllowThreads();
9268 result = (int)(arg1)->GetExitCode();
9269
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 }
9273 resultobj = SWIG_FromInt((int)result);
9274 return resultobj;
9275 fail:
9276 return NULL;
9277 }
9278
9279
9280 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
9281 PyObject *resultobj;
9282 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9283 int arg2 ;
9284 PyObject * obj0 = 0 ;
9285 PyObject * obj1 = 0 ;
9286 char *kwnames[] = {
9287 (char *) "self",(char *) "m_pid", NULL
9288 };
9289
9290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9293 arg2 = (int) SWIG_AsInt(obj1);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 if (arg1) (arg1)->m_pid = arg2;
9296
9297 Py_INCREF(Py_None); resultobj = Py_None;
9298 return resultobj;
9299 fail:
9300 return NULL;
9301 }
9302
9303
9304 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
9305 PyObject *resultobj;
9306 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9307 int result;
9308 PyObject * obj0 = 0 ;
9309 char *kwnames[] = {
9310 (char *) "self", NULL
9311 };
9312
9313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9316 result = (int) ((arg1)->m_pid);
9317
9318 resultobj = SWIG_FromInt((int)result);
9319 return resultobj;
9320 fail:
9321 return NULL;
9322 }
9323
9324
9325 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
9326 PyObject *resultobj;
9327 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9328 int arg2 ;
9329 PyObject * obj0 = 0 ;
9330 PyObject * obj1 = 0 ;
9331 char *kwnames[] = {
9332 (char *) "self",(char *) "m_exitcode", NULL
9333 };
9334
9335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9338 arg2 = (int) SWIG_AsInt(obj1);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 if (arg1) (arg1)->m_exitcode = arg2;
9341
9342 Py_INCREF(Py_None); resultobj = Py_None;
9343 return resultobj;
9344 fail:
9345 return NULL;
9346 }
9347
9348
9349 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
9350 PyObject *resultobj;
9351 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9352 int result;
9353 PyObject * obj0 = 0 ;
9354 char *kwnames[] = {
9355 (char *) "self", NULL
9356 };
9357
9358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9361 result = (int) ((arg1)->m_exitcode);
9362
9363 resultobj = SWIG_FromInt((int)result);
9364 return resultobj;
9365 fail:
9366 return NULL;
9367 }
9368
9369
9370 static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
9371 PyObject *obj;
9372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9373 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9374 Py_INCREF(obj);
9375 return Py_BuildValue((char *)"");
9376 }
9377 static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
9378 PyObject *resultobj;
9379 wxString *arg1 = 0 ;
9380 int arg2 = (int) wxEXEC_ASYNC ;
9381 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9382 long result;
9383 bool temp1 = False ;
9384 PyObject * obj0 = 0 ;
9385 PyObject * obj1 = 0 ;
9386 PyObject * obj2 = 0 ;
9387 char *kwnames[] = {
9388 (char *) "command",(char *) "flags",(char *) "process", NULL
9389 };
9390
9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9392 {
9393 arg1 = wxString_in_helper(obj0);
9394 if (arg1 == NULL) SWIG_fail;
9395 temp1 = True;
9396 }
9397 if (obj1) {
9398 arg2 = (int) SWIG_AsInt(obj1);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 if (obj2) {
9402 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9404 }
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 resultobj = SWIG_FromLong((long)result);
9413 {
9414 if (temp1)
9415 delete arg1;
9416 }
9417 return resultobj;
9418 fail:
9419 {
9420 if (temp1)
9421 delete arg1;
9422 }
9423 return NULL;
9424 }
9425
9426
9427 static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj;
9429 int arg1 = (int) wxJOYSTICK1 ;
9430 wxJoystick *result;
9431 PyObject * obj0 = 0 ;
9432 char *kwnames[] = {
9433 (char *) "joystick", NULL
9434 };
9435
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9437 if (obj0) {
9438 arg1 = (int) SWIG_AsInt(obj0);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 {
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 result = (wxJoystick *)new wxJoystick(arg1);
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
9448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
9449 return resultobj;
9450 fail:
9451 return NULL;
9452 }
9453
9454
9455 static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj;
9457 wxJoystick *arg1 = (wxJoystick *) 0 ;
9458 PyObject * obj0 = 0 ;
9459 char *kwnames[] = {
9460 (char *) "self", NULL
9461 };
9462
9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 delete arg1;
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 Py_INCREF(Py_None); resultobj = Py_None;
9474 return resultobj;
9475 fail:
9476 return NULL;
9477 }
9478
9479
9480 static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9481 PyObject *resultobj;
9482 wxJoystick *arg1 = (wxJoystick *) 0 ;
9483 wxPoint result;
9484 PyObject * obj0 = 0 ;
9485 char *kwnames[] = {
9486 (char *) "self", NULL
9487 };
9488
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 result = (arg1)->GetPosition();
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 {
9500 wxPoint * resultptr;
9501 resultptr = new wxPoint((wxPoint &) result);
9502 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9503 }
9504 return resultobj;
9505 fail:
9506 return NULL;
9507 }
9508
9509
9510 static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj;
9512 wxJoystick *arg1 = (wxJoystick *) 0 ;
9513 int result;
9514 PyObject * obj0 = 0 ;
9515 char *kwnames[] = {
9516 (char *) "self", NULL
9517 };
9518
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 result = (int)(arg1)->GetZPosition();
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 resultobj = SWIG_FromInt((int)result);
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj;
9538 wxJoystick *arg1 = (wxJoystick *) 0 ;
9539 int result;
9540 PyObject * obj0 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 result = (int)(arg1)->GetButtonState();
9551
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) SWIG_fail;
9554 }
9555 resultobj = SWIG_FromInt((int)result);
9556 return resultobj;
9557 fail:
9558 return NULL;
9559 }
9560
9561
9562 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9563 PyObject *resultobj;
9564 wxJoystick *arg1 = (wxJoystick *) 0 ;
9565 int result;
9566 PyObject * obj0 = 0 ;
9567 char *kwnames[] = {
9568 (char *) "self", NULL
9569 };
9570
9571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9574 {
9575 PyThreadState* __tstate = wxPyBeginAllowThreads();
9576 result = (int)(arg1)->GetPOVPosition();
9577
9578 wxPyEndAllowThreads(__tstate);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 }
9581 resultobj = SWIG_FromInt((int)result);
9582 return resultobj;
9583 fail:
9584 return NULL;
9585 }
9586
9587
9588 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9589 PyObject *resultobj;
9590 wxJoystick *arg1 = (wxJoystick *) 0 ;
9591 int result;
9592 PyObject * obj0 = 0 ;
9593 char *kwnames[] = {
9594 (char *) "self", NULL
9595 };
9596
9597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9600 {
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 result = (int)(arg1)->GetPOVCTSPosition();
9603
9604 wxPyEndAllowThreads(__tstate);
9605 if (PyErr_Occurred()) SWIG_fail;
9606 }
9607 resultobj = SWIG_FromInt((int)result);
9608 return resultobj;
9609 fail:
9610 return NULL;
9611 }
9612
9613
9614 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9615 PyObject *resultobj;
9616 wxJoystick *arg1 = (wxJoystick *) 0 ;
9617 int result;
9618 PyObject * obj0 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "self", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9626 {
9627 PyThreadState* __tstate = wxPyBeginAllowThreads();
9628 result = (int)(arg1)->GetRudderPosition();
9629
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 }
9633 resultobj = SWIG_FromInt((int)result);
9634 return resultobj;
9635 fail:
9636 return NULL;
9637 }
9638
9639
9640 static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9641 PyObject *resultobj;
9642 wxJoystick *arg1 = (wxJoystick *) 0 ;
9643 int result;
9644 PyObject * obj0 = 0 ;
9645 char *kwnames[] = {
9646 (char *) "self", NULL
9647 };
9648
9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 result = (int)(arg1)->GetUPosition();
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 resultobj = SWIG_FromInt((int)result);
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj;
9668 wxJoystick *arg1 = (wxJoystick *) 0 ;
9669 int result;
9670 PyObject * obj0 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 result = (int)(arg1)->GetVPosition();
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 resultobj = SWIG_FromInt((int)result);
9686 return resultobj;
9687 fail:
9688 return NULL;
9689 }
9690
9691
9692 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
9693 PyObject *resultobj;
9694 wxJoystick *arg1 = (wxJoystick *) 0 ;
9695 int result;
9696 PyObject * obj0 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 result = (int)(arg1)->GetMovementThreshold();
9707
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 resultobj = SWIG_FromInt((int)result);
9712 return resultobj;
9713 fail:
9714 return NULL;
9715 }
9716
9717
9718 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
9719 PyObject *resultobj;
9720 wxJoystick *arg1 = (wxJoystick *) 0 ;
9721 int arg2 ;
9722 PyObject * obj0 = 0 ;
9723 PyObject * obj1 = 0 ;
9724 char *kwnames[] = {
9725 (char *) "self",(char *) "threshold", NULL
9726 };
9727
9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
9729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9731 arg2 = (int) SWIG_AsInt(obj1);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 (arg1)->SetMovementThreshold(arg2);
9736
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 }
9740 Py_INCREF(Py_None); resultobj = Py_None;
9741 return resultobj;
9742 fail:
9743 return NULL;
9744 }
9745
9746
9747 static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
9748 PyObject *resultobj;
9749 wxJoystick *arg1 = (wxJoystick *) 0 ;
9750 bool result;
9751 PyObject * obj0 = 0 ;
9752 char *kwnames[] = {
9753 (char *) "self", NULL
9754 };
9755
9756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9759 {
9760 PyThreadState* __tstate = wxPyBeginAllowThreads();
9761 result = (bool)(arg1)->IsOk();
9762
9763 wxPyEndAllowThreads(__tstate);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 }
9766 {
9767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9768 }
9769 return resultobj;
9770 fail:
9771 return NULL;
9772 }
9773
9774
9775 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
9776 PyObject *resultobj;
9777 wxJoystick *arg1 = (wxJoystick *) 0 ;
9778 int result;
9779 PyObject * obj0 = 0 ;
9780 char *kwnames[] = {
9781 (char *) "self", NULL
9782 };
9783
9784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 result = (int)(arg1)->GetNumberJoysticks();
9790
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 }
9794 resultobj = SWIG_FromInt((int)result);
9795 return resultobj;
9796 fail:
9797 return NULL;
9798 }
9799
9800
9801 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
9802 PyObject *resultobj;
9803 wxJoystick *arg1 = (wxJoystick *) 0 ;
9804 int result;
9805 PyObject * obj0 = 0 ;
9806 char *kwnames[] = {
9807 (char *) "self", NULL
9808 };
9809
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9813 {
9814 PyThreadState* __tstate = wxPyBeginAllowThreads();
9815 result = (int)(arg1)->GetManufacturerId();
9816
9817 wxPyEndAllowThreads(__tstate);
9818 if (PyErr_Occurred()) SWIG_fail;
9819 }
9820 resultobj = SWIG_FromInt((int)result);
9821 return resultobj;
9822 fail:
9823 return NULL;
9824 }
9825
9826
9827 static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
9828 PyObject *resultobj;
9829 wxJoystick *arg1 = (wxJoystick *) 0 ;
9830 int result;
9831 PyObject * obj0 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "self", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 result = (int)(arg1)->GetProductId();
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 resultobj = SWIG_FromInt((int)result);
9847 return resultobj;
9848 fail:
9849 return NULL;
9850 }
9851
9852
9853 static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxJoystick *arg1 = (wxJoystick *) 0 ;
9856 wxString result;
9857 PyObject * obj0 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9865 {
9866 PyThreadState* __tstate = wxPyBeginAllowThreads();
9867 result = (arg1)->GetProductName();
9868
9869 wxPyEndAllowThreads(__tstate);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 }
9872 {
9873 #if wxUSE_UNICODE
9874 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9875 #else
9876 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9877 #endif
9878 }
9879 return resultobj;
9880 fail:
9881 return NULL;
9882 }
9883
9884
9885 static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
9886 PyObject *resultobj;
9887 wxJoystick *arg1 = (wxJoystick *) 0 ;
9888 int result;
9889 PyObject * obj0 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "self", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 result = (int)(arg1)->GetXMin();
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
9904 resultobj = SWIG_FromInt((int)result);
9905 return resultobj;
9906 fail:
9907 return NULL;
9908 }
9909
9910
9911 static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
9912 PyObject *resultobj;
9913 wxJoystick *arg1 = (wxJoystick *) 0 ;
9914 int result;
9915 PyObject * obj0 = 0 ;
9916 char *kwnames[] = {
9917 (char *) "self", NULL
9918 };
9919
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 result = (int)(arg1)->GetYMin();
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 resultobj = SWIG_FromInt((int)result);
9931 return resultobj;
9932 fail:
9933 return NULL;
9934 }
9935
9936
9937 static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
9938 PyObject *resultobj;
9939 wxJoystick *arg1 = (wxJoystick *) 0 ;
9940 int result;
9941 PyObject * obj0 = 0 ;
9942 char *kwnames[] = {
9943 (char *) "self", NULL
9944 };
9945
9946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9949 {
9950 PyThreadState* __tstate = wxPyBeginAllowThreads();
9951 result = (int)(arg1)->GetZMin();
9952
9953 wxPyEndAllowThreads(__tstate);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 }
9956 resultobj = SWIG_FromInt((int)result);
9957 return resultobj;
9958 fail:
9959 return NULL;
9960 }
9961
9962
9963 static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
9964 PyObject *resultobj;
9965 wxJoystick *arg1 = (wxJoystick *) 0 ;
9966 int result;
9967 PyObject * obj0 = 0 ;
9968 char *kwnames[] = {
9969 (char *) "self", NULL
9970 };
9971
9972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 result = (int)(arg1)->GetXMax();
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 resultobj = SWIG_FromInt((int)result);
9983 return resultobj;
9984 fail:
9985 return NULL;
9986 }
9987
9988
9989 static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 wxJoystick *arg1 = (wxJoystick *) 0 ;
9992 int result;
9993 PyObject * obj0 = 0 ;
9994 char *kwnames[] = {
9995 (char *) "self", NULL
9996 };
9997
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 result = (int)(arg1)->GetYMax();
10004
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
10008 resultobj = SWIG_FromInt((int)result);
10009 return resultobj;
10010 fail:
10011 return NULL;
10012 }
10013
10014
10015 static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
10016 PyObject *resultobj;
10017 wxJoystick *arg1 = (wxJoystick *) 0 ;
10018 int result;
10019 PyObject * obj0 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "self", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10027 {
10028 PyThreadState* __tstate = wxPyBeginAllowThreads();
10029 result = (int)(arg1)->GetZMax();
10030
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 resultobj = SWIG_FromInt((int)result);
10035 return resultobj;
10036 fail:
10037 return NULL;
10038 }
10039
10040
10041 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
10042 PyObject *resultobj;
10043 wxJoystick *arg1 = (wxJoystick *) 0 ;
10044 int result;
10045 PyObject * obj0 = 0 ;
10046 char *kwnames[] = {
10047 (char *) "self", NULL
10048 };
10049
10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 result = (int)(arg1)->GetNumberButtons();
10056
10057 wxPyEndAllowThreads(__tstate);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 resultobj = SWIG_FromInt((int)result);
10061 return resultobj;
10062 fail:
10063 return NULL;
10064 }
10065
10066
10067 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
10068 PyObject *resultobj;
10069 wxJoystick *arg1 = (wxJoystick *) 0 ;
10070 int result;
10071 PyObject * obj0 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "self", NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10079 {
10080 PyThreadState* __tstate = wxPyBeginAllowThreads();
10081 result = (int)(arg1)->GetNumberAxes();
10082
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) SWIG_fail;
10085 }
10086 resultobj = SWIG_FromInt((int)result);
10087 return resultobj;
10088 fail:
10089 return NULL;
10090 }
10091
10092
10093 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
10094 PyObject *resultobj;
10095 wxJoystick *arg1 = (wxJoystick *) 0 ;
10096 int result;
10097 PyObject * obj0 = 0 ;
10098 char *kwnames[] = {
10099 (char *) "self", NULL
10100 };
10101
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 result = (int)(arg1)->GetMaxButtons();
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 resultobj = SWIG_FromInt((int)result);
10113 return resultobj;
10114 fail:
10115 return NULL;
10116 }
10117
10118
10119 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
10120 PyObject *resultobj;
10121 wxJoystick *arg1 = (wxJoystick *) 0 ;
10122 int result;
10123 PyObject * obj0 = 0 ;
10124 char *kwnames[] = {
10125 (char *) "self", NULL
10126 };
10127
10128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 result = (int)(arg1)->GetMaxAxes();
10134
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) SWIG_fail;
10137 }
10138 resultobj = SWIG_FromInt((int)result);
10139 return resultobj;
10140 fail:
10141 return NULL;
10142 }
10143
10144
10145 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
10146 PyObject *resultobj;
10147 wxJoystick *arg1 = (wxJoystick *) 0 ;
10148 int result;
10149 PyObject * obj0 = 0 ;
10150 char *kwnames[] = {
10151 (char *) "self", NULL
10152 };
10153
10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10157 {
10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
10159 result = (int)(arg1)->GetPollingMin();
10160
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
10164 resultobj = SWIG_FromInt((int)result);
10165 return resultobj;
10166 fail:
10167 return NULL;
10168 }
10169
10170
10171 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
10172 PyObject *resultobj;
10173 wxJoystick *arg1 = (wxJoystick *) 0 ;
10174 int result;
10175 PyObject * obj0 = 0 ;
10176 char *kwnames[] = {
10177 (char *) "self", NULL
10178 };
10179
10180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10183 {
10184 PyThreadState* __tstate = wxPyBeginAllowThreads();
10185 result = (int)(arg1)->GetPollingMax();
10186
10187 wxPyEndAllowThreads(__tstate);
10188 if (PyErr_Occurred()) SWIG_fail;
10189 }
10190 resultobj = SWIG_FromInt((int)result);
10191 return resultobj;
10192 fail:
10193 return NULL;
10194 }
10195
10196
10197 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
10198 PyObject *resultobj;
10199 wxJoystick *arg1 = (wxJoystick *) 0 ;
10200 int result;
10201 PyObject * obj0 = 0 ;
10202 char *kwnames[] = {
10203 (char *) "self", NULL
10204 };
10205
10206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10209 {
10210 PyThreadState* __tstate = wxPyBeginAllowThreads();
10211 result = (int)(arg1)->GetRudderMin();
10212
10213 wxPyEndAllowThreads(__tstate);
10214 if (PyErr_Occurred()) SWIG_fail;
10215 }
10216 resultobj = SWIG_FromInt((int)result);
10217 return resultobj;
10218 fail:
10219 return NULL;
10220 }
10221
10222
10223 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
10224 PyObject *resultobj;
10225 wxJoystick *arg1 = (wxJoystick *) 0 ;
10226 int result;
10227 PyObject * obj0 = 0 ;
10228 char *kwnames[] = {
10229 (char *) "self", NULL
10230 };
10231
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 result = (int)(arg1)->GetRudderMax();
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 resultobj = SWIG_FromInt((int)result);
10243 return resultobj;
10244 fail:
10245 return NULL;
10246 }
10247
10248
10249 static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
10250 PyObject *resultobj;
10251 wxJoystick *arg1 = (wxJoystick *) 0 ;
10252 int result;
10253 PyObject * obj0 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = (int)(arg1)->GetUMin();
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 resultobj = SWIG_FromInt((int)result);
10269 return resultobj;
10270 fail:
10271 return NULL;
10272 }
10273
10274
10275 static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
10276 PyObject *resultobj;
10277 wxJoystick *arg1 = (wxJoystick *) 0 ;
10278 int result;
10279 PyObject * obj0 = 0 ;
10280 char *kwnames[] = {
10281 (char *) "self", NULL
10282 };
10283
10284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10287 {
10288 PyThreadState* __tstate = wxPyBeginAllowThreads();
10289 result = (int)(arg1)->GetUMax();
10290
10291 wxPyEndAllowThreads(__tstate);
10292 if (PyErr_Occurred()) SWIG_fail;
10293 }
10294 resultobj = SWIG_FromInt((int)result);
10295 return resultobj;
10296 fail:
10297 return NULL;
10298 }
10299
10300
10301 static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
10302 PyObject *resultobj;
10303 wxJoystick *arg1 = (wxJoystick *) 0 ;
10304 int result;
10305 PyObject * obj0 = 0 ;
10306 char *kwnames[] = {
10307 (char *) "self", NULL
10308 };
10309
10310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10313 {
10314 PyThreadState* __tstate = wxPyBeginAllowThreads();
10315 result = (int)(arg1)->GetVMin();
10316
10317 wxPyEndAllowThreads(__tstate);
10318 if (PyErr_Occurred()) SWIG_fail;
10319 }
10320 resultobj = SWIG_FromInt((int)result);
10321 return resultobj;
10322 fail:
10323 return NULL;
10324 }
10325
10326
10327 static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
10328 PyObject *resultobj;
10329 wxJoystick *arg1 = (wxJoystick *) 0 ;
10330 int result;
10331 PyObject * obj0 = 0 ;
10332 char *kwnames[] = {
10333 (char *) "self", NULL
10334 };
10335
10336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 result = (int)(arg1)->GetVMax();
10342
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
10346 resultobj = SWIG_FromInt((int)result);
10347 return resultobj;
10348 fail:
10349 return NULL;
10350 }
10351
10352
10353 static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
10354 PyObject *resultobj;
10355 wxJoystick *arg1 = (wxJoystick *) 0 ;
10356 bool result;
10357 PyObject * obj0 = 0 ;
10358 char *kwnames[] = {
10359 (char *) "self", NULL
10360 };
10361
10362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 result = (bool)(arg1)->HasRudder();
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 {
10373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10374 }
10375 return resultobj;
10376 fail:
10377 return NULL;
10378 }
10379
10380
10381 static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
10382 PyObject *resultobj;
10383 wxJoystick *arg1 = (wxJoystick *) 0 ;
10384 bool result;
10385 PyObject * obj0 = 0 ;
10386 char *kwnames[] = {
10387 (char *) "self", NULL
10388 };
10389
10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10393 {
10394 PyThreadState* __tstate = wxPyBeginAllowThreads();
10395 result = (bool)(arg1)->HasZ();
10396
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
10400 {
10401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10402 }
10403 return resultobj;
10404 fail:
10405 return NULL;
10406 }
10407
10408
10409 static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
10410 PyObject *resultobj;
10411 wxJoystick *arg1 = (wxJoystick *) 0 ;
10412 bool result;
10413 PyObject * obj0 = 0 ;
10414 char *kwnames[] = {
10415 (char *) "self", NULL
10416 };
10417
10418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10421 {
10422 PyThreadState* __tstate = wxPyBeginAllowThreads();
10423 result = (bool)(arg1)->HasU();
10424
10425 wxPyEndAllowThreads(__tstate);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 {
10429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10430 }
10431 return resultobj;
10432 fail:
10433 return NULL;
10434 }
10435
10436
10437 static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
10438 PyObject *resultobj;
10439 wxJoystick *arg1 = (wxJoystick *) 0 ;
10440 bool result;
10441 PyObject * obj0 = 0 ;
10442 char *kwnames[] = {
10443 (char *) "self", NULL
10444 };
10445
10446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10449 {
10450 PyThreadState* __tstate = wxPyBeginAllowThreads();
10451 result = (bool)(arg1)->HasV();
10452
10453 wxPyEndAllowThreads(__tstate);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 {
10457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10458 }
10459 return resultobj;
10460 fail:
10461 return NULL;
10462 }
10463
10464
10465 static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
10466 PyObject *resultobj;
10467 wxJoystick *arg1 = (wxJoystick *) 0 ;
10468 bool result;
10469 PyObject * obj0 = 0 ;
10470 char *kwnames[] = {
10471 (char *) "self", NULL
10472 };
10473
10474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10477 {
10478 PyThreadState* __tstate = wxPyBeginAllowThreads();
10479 result = (bool)(arg1)->HasPOV();
10480
10481 wxPyEndAllowThreads(__tstate);
10482 if (PyErr_Occurred()) SWIG_fail;
10483 }
10484 {
10485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10486 }
10487 return resultobj;
10488 fail:
10489 return NULL;
10490 }
10491
10492
10493 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
10494 PyObject *resultobj;
10495 wxJoystick *arg1 = (wxJoystick *) 0 ;
10496 bool result;
10497 PyObject * obj0 = 0 ;
10498 char *kwnames[] = {
10499 (char *) "self", NULL
10500 };
10501
10502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 result = (bool)(arg1)->HasPOV4Dir();
10508
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 {
10513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10514 }
10515 return resultobj;
10516 fail:
10517 return NULL;
10518 }
10519
10520
10521 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
10522 PyObject *resultobj;
10523 wxJoystick *arg1 = (wxJoystick *) 0 ;
10524 bool result;
10525 PyObject * obj0 = 0 ;
10526 char *kwnames[] = {
10527 (char *) "self", NULL
10528 };
10529
10530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10533 {
10534 PyThreadState* __tstate = wxPyBeginAllowThreads();
10535 result = (bool)(arg1)->HasPOVCTS();
10536
10537 wxPyEndAllowThreads(__tstate);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 }
10540 {
10541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10542 }
10543 return resultobj;
10544 fail:
10545 return NULL;
10546 }
10547
10548
10549 static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
10550 PyObject *resultobj;
10551 wxJoystick *arg1 = (wxJoystick *) 0 ;
10552 wxWindow *arg2 = (wxWindow *) 0 ;
10553 int arg3 = (int) 0 ;
10554 bool result;
10555 PyObject * obj0 = 0 ;
10556 PyObject * obj1 = 0 ;
10557 PyObject * obj2 = 0 ;
10558 char *kwnames[] = {
10559 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10560 };
10561
10562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10565 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10567 if (obj2) {
10568 arg3 = (int) SWIG_AsInt(obj2);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 {
10572 PyThreadState* __tstate = wxPyBeginAllowThreads();
10573 result = (bool)(arg1)->SetCapture(arg2,arg3);
10574
10575 wxPyEndAllowThreads(__tstate);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 }
10578 {
10579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10580 }
10581 return resultobj;
10582 fail:
10583 return NULL;
10584 }
10585
10586
10587 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
10588 PyObject *resultobj;
10589 wxJoystick *arg1 = (wxJoystick *) 0 ;
10590 bool result;
10591 PyObject * obj0 = 0 ;
10592 char *kwnames[] = {
10593 (char *) "self", NULL
10594 };
10595
10596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 result = (bool)(arg1)->ReleaseCapture();
10602
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 {
10607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10608 }
10609 return resultobj;
10610 fail:
10611 return NULL;
10612 }
10613
10614
10615 static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
10616 PyObject *obj;
10617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10618 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10619 Py_INCREF(obj);
10620 return Py_BuildValue((char *)"");
10621 }
10622 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj;
10624 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10625 wxPoint *arg2 = (wxPoint *) 0 ;
10626 PyObject * obj0 = 0 ;
10627 PyObject * obj1 = 0 ;
10628 char *kwnames[] = {
10629 (char *) "self",(char *) "m_pos", NULL
10630 };
10631
10632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10637 if (arg1) (arg1)->m_pos = *arg2;
10638
10639 Py_INCREF(Py_None); resultobj = Py_None;
10640 return resultobj;
10641 fail:
10642 return NULL;
10643 }
10644
10645
10646 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
10647 PyObject *resultobj;
10648 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10649 wxPoint *result;
10650 PyObject * obj0 = 0 ;
10651 char *kwnames[] = {
10652 (char *) "self", NULL
10653 };
10654
10655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10658 result = (wxPoint *)& ((arg1)->m_pos);
10659
10660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
10661 return resultobj;
10662 fail:
10663 return NULL;
10664 }
10665
10666
10667 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *, PyObject *args, PyObject *kwargs) {
10668 PyObject *resultobj;
10669 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10670 int arg2 ;
10671 PyObject * obj0 = 0 ;
10672 PyObject * obj1 = 0 ;
10673 char *kwnames[] = {
10674 (char *) "self",(char *) "m_zPosition", NULL
10675 };
10676
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10680 arg2 = (int) SWIG_AsInt(obj1);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 if (arg1) (arg1)->m_zPosition = arg2;
10683
10684 Py_INCREF(Py_None); resultobj = Py_None;
10685 return resultobj;
10686 fail:
10687 return NULL;
10688 }
10689
10690
10691 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *, PyObject *args, PyObject *kwargs) {
10692 PyObject *resultobj;
10693 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10694 int result;
10695 PyObject * obj0 = 0 ;
10696 char *kwnames[] = {
10697 (char *) "self", NULL
10698 };
10699
10700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10703 result = (int) ((arg1)->m_zPosition);
10704
10705 resultobj = SWIG_FromInt((int)result);
10706 return resultobj;
10707 fail:
10708 return NULL;
10709 }
10710
10711
10712 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *, PyObject *args, PyObject *kwargs) {
10713 PyObject *resultobj;
10714 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10715 int arg2 ;
10716 PyObject * obj0 = 0 ;
10717 PyObject * obj1 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self",(char *) "m_buttonChange", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
10723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10725 arg2 = (int) SWIG_AsInt(obj1);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 if (arg1) (arg1)->m_buttonChange = arg2;
10728
10729 Py_INCREF(Py_None); resultobj = Py_None;
10730 return resultobj;
10731 fail:
10732 return NULL;
10733 }
10734
10735
10736 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *, PyObject *args, PyObject *kwargs) {
10737 PyObject *resultobj;
10738 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10739 int result;
10740 PyObject * obj0 = 0 ;
10741 char *kwnames[] = {
10742 (char *) "self", NULL
10743 };
10744
10745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
10746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10748 result = (int) ((arg1)->m_buttonChange);
10749
10750 resultobj = SWIG_FromInt((int)result);
10751 return resultobj;
10752 fail:
10753 return NULL;
10754 }
10755
10756
10757 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *, PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj;
10759 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10760 int arg2 ;
10761 PyObject * obj0 = 0 ;
10762 PyObject * obj1 = 0 ;
10763 char *kwnames[] = {
10764 (char *) "self",(char *) "m_buttonState", NULL
10765 };
10766
10767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
10768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10770 arg2 = (int) SWIG_AsInt(obj1);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 if (arg1) (arg1)->m_buttonState = arg2;
10773
10774 Py_INCREF(Py_None); resultobj = Py_None;
10775 return resultobj;
10776 fail:
10777 return NULL;
10778 }
10779
10780
10781 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *, PyObject *args, PyObject *kwargs) {
10782 PyObject *resultobj;
10783 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10784 int result;
10785 PyObject * obj0 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
10791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10793 result = (int) ((arg1)->m_buttonState);
10794
10795 resultobj = SWIG_FromInt((int)result);
10796 return resultobj;
10797 fail:
10798 return NULL;
10799 }
10800
10801
10802 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *, PyObject *args, PyObject *kwargs) {
10803 PyObject *resultobj;
10804 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10805 int arg2 ;
10806 PyObject * obj0 = 0 ;
10807 PyObject * obj1 = 0 ;
10808 char *kwnames[] = {
10809 (char *) "self",(char *) "m_joyStick", NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
10813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10815 arg2 = (int) SWIG_AsInt(obj1);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 if (arg1) (arg1)->m_joyStick = arg2;
10818
10819 Py_INCREF(Py_None); resultobj = Py_None;
10820 return resultobj;
10821 fail:
10822 return NULL;
10823 }
10824
10825
10826 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *, PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj;
10828 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10829 int result;
10830 PyObject * obj0 = 0 ;
10831 char *kwnames[] = {
10832 (char *) "self", NULL
10833 };
10834
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
10836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10838 result = (int) ((arg1)->m_joyStick);
10839
10840 resultobj = SWIG_FromInt((int)result);
10841 return resultobj;
10842 fail:
10843 return NULL;
10844 }
10845
10846
10847 static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj;
10849 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10850 int arg2 = (int) 0 ;
10851 int arg3 = (int) wxJOYSTICK1 ;
10852 int arg4 = (int) 0 ;
10853 wxJoystickEvent *result;
10854 PyObject * obj0 = 0 ;
10855 PyObject * obj1 = 0 ;
10856 PyObject * obj2 = 0 ;
10857 PyObject * obj3 = 0 ;
10858 char *kwnames[] = {
10859 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10860 };
10861
10862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10863 if (obj0) {
10864 arg1 = (wxEventType) SWIG_AsInt(obj0);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 if (obj1) {
10868 arg2 = (int) SWIG_AsInt(obj1);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 }
10871 if (obj2) {
10872 arg3 = (int) SWIG_AsInt(obj2);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 if (obj3) {
10876 arg4 = (int) SWIG_AsInt(obj3);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 }
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
10887 return resultobj;
10888 fail:
10889 return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10896 wxPoint result;
10897 PyObject * obj0 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "self", NULL
10900 };
10901
10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10905 {
10906 PyThreadState* __tstate = wxPyBeginAllowThreads();
10907 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10908
10909 wxPyEndAllowThreads(__tstate);
10910 if (PyErr_Occurred()) SWIG_fail;
10911 }
10912 {
10913 wxPoint * resultptr;
10914 resultptr = new wxPoint((wxPoint &) result);
10915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10916 }
10917 return resultobj;
10918 fail:
10919 return NULL;
10920 }
10921
10922
10923 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10924 PyObject *resultobj;
10925 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10926 int result;
10927 PyObject * obj0 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 resultobj = SWIG_FromInt((int)result);
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10952 int result;
10953 PyObject * obj0 = 0 ;
10954 char *kwnames[] = {
10955 (char *) "self", NULL
10956 };
10957
10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10964
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 resultobj = SWIG_FromInt((int)result);
10969 return resultobj;
10970 fail:
10971 return NULL;
10972 }
10973
10974
10975 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
10976 PyObject *resultobj;
10977 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10978 int result;
10979 PyObject * obj0 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "self", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 resultobj = SWIG_FromInt((int)result);
10995 return resultobj;
10996 fail:
10997 return NULL;
10998 }
10999
11000
11001 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11004 int result;
11005 PyObject * obj0 = 0 ;
11006 char *kwnames[] = {
11007 (char *) "self", NULL
11008 };
11009
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11013 {
11014 PyThreadState* __tstate = wxPyBeginAllowThreads();
11015 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11016
11017 wxPyEndAllowThreads(__tstate);
11018 if (PyErr_Occurred()) SWIG_fail;
11019 }
11020 resultobj = SWIG_FromInt((int)result);
11021 return resultobj;
11022 fail:
11023 return NULL;
11024 }
11025
11026
11027 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
11028 PyObject *resultobj;
11029 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11030 int arg2 ;
11031 PyObject * obj0 = 0 ;
11032 PyObject * obj1 = 0 ;
11033 char *kwnames[] = {
11034 (char *) "self",(char *) "stick", NULL
11035 };
11036
11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11040 arg2 = (int) SWIG_AsInt(obj1);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 {
11043 PyThreadState* __tstate = wxPyBeginAllowThreads();
11044 (arg1)->SetJoystick(arg2);
11045
11046 wxPyEndAllowThreads(__tstate);
11047 if (PyErr_Occurred()) SWIG_fail;
11048 }
11049 Py_INCREF(Py_None); resultobj = Py_None;
11050 return resultobj;
11051 fail:
11052 return NULL;
11053 }
11054
11055
11056 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
11057 PyObject *resultobj;
11058 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11059 int arg2 ;
11060 PyObject * obj0 = 0 ;
11061 PyObject * obj1 = 0 ;
11062 char *kwnames[] = {
11063 (char *) "self",(char *) "state", NULL
11064 };
11065
11066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11069 arg2 = (int) SWIG_AsInt(obj1);
11070 if (PyErr_Occurred()) SWIG_fail;
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 (arg1)->SetButtonState(arg2);
11074
11075 wxPyEndAllowThreads(__tstate);
11076 if (PyErr_Occurred()) SWIG_fail;
11077 }
11078 Py_INCREF(Py_None); resultobj = Py_None;
11079 return resultobj;
11080 fail:
11081 return NULL;
11082 }
11083
11084
11085 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
11086 PyObject *resultobj;
11087 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11088 int arg2 ;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self",(char *) "change", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11098 arg2 = (int) SWIG_AsInt(obj1);
11099 if (PyErr_Occurred()) SWIG_fail;
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 (arg1)->SetButtonChange(arg2);
11103
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 Py_INCREF(Py_None); resultobj = Py_None;
11108 return resultobj;
11109 fail:
11110 return NULL;
11111 }
11112
11113
11114 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11115 PyObject *resultobj;
11116 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11117 wxPoint *arg2 = 0 ;
11118 wxPoint temp2 ;
11119 PyObject * obj0 = 0 ;
11120 PyObject * obj1 = 0 ;
11121 char *kwnames[] = {
11122 (char *) "self",(char *) "pos", NULL
11123 };
11124
11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11128 {
11129 arg2 = &temp2;
11130 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11131 }
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 (arg1)->SetPosition((wxPoint const &)*arg2);
11135
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 Py_INCREF(Py_None); resultobj = Py_None;
11140 return resultobj;
11141 fail:
11142 return NULL;
11143 }
11144
11145
11146 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj;
11148 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11149 int arg2 ;
11150 PyObject * obj0 = 0 ;
11151 PyObject * obj1 = 0 ;
11152 char *kwnames[] = {
11153 (char *) "self",(char *) "zPos", NULL
11154 };
11155
11156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11159 arg2 = (int) SWIG_AsInt(obj1);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 (arg1)->SetZPosition(arg2);
11164
11165 wxPyEndAllowThreads(__tstate);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 }
11168 Py_INCREF(Py_None); resultobj = Py_None;
11169 return resultobj;
11170 fail:
11171 return NULL;
11172 }
11173
11174
11175 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
11176 PyObject *resultobj;
11177 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11178 bool result;
11179 PyObject * obj0 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "self", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 {
11195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11196 }
11197 return resultobj;
11198 fail:
11199 return NULL;
11200 }
11201
11202
11203 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
11204 PyObject *resultobj;
11205 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11206 bool result;
11207 PyObject * obj0 = 0 ;
11208 char *kwnames[] = {
11209 (char *) "self", NULL
11210 };
11211
11212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11218
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 {
11223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11224 }
11225 return resultobj;
11226 fail:
11227 return NULL;
11228 }
11229
11230
11231 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj;
11233 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11234 bool result;
11235 PyObject * obj0 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 {
11251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11252 }
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
11260 PyObject *resultobj;
11261 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11262 int arg2 = (int) wxJOY_BUTTON_ANY ;
11263 bool result;
11264 PyObject * obj0 = 0 ;
11265 PyObject * obj1 = 0 ;
11266 char *kwnames[] = {
11267 (char *) "self",(char *) "but", NULL
11268 };
11269
11270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11273 if (obj1) {
11274 arg2 = (int) SWIG_AsInt(obj1);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 {
11285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11286 }
11287 return resultobj;
11288 fail:
11289 return NULL;
11290 }
11291
11292
11293 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
11294 PyObject *resultobj;
11295 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11296 int arg2 = (int) wxJOY_BUTTON_ANY ;
11297 bool result;
11298 PyObject * obj0 = 0 ;
11299 PyObject * obj1 = 0 ;
11300 char *kwnames[] = {
11301 (char *) "self",(char *) "but", NULL
11302 };
11303
11304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11307 if (obj1) {
11308 arg2 = (int) SWIG_AsInt(obj1);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 }
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11314
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 {
11319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11320 }
11321 return resultobj;
11322 fail:
11323 return NULL;
11324 }
11325
11326
11327 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
11328 PyObject *resultobj;
11329 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11330 int arg2 = (int) wxJOY_BUTTON_ANY ;
11331 bool result;
11332 PyObject * obj0 = 0 ;
11333 PyObject * obj1 = 0 ;
11334 char *kwnames[] = {
11335 (char *) "self",(char *) "but", NULL
11336 };
11337
11338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11341 if (obj1) {
11342 arg2 = (int) SWIG_AsInt(obj1);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 {
11353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11354 }
11355 return resultobj;
11356 fail:
11357 return NULL;
11358 }
11359
11360
11361 static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
11362 PyObject *obj;
11363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11364 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11365 Py_INCREF(obj);
11366 return Py_BuildValue((char *)"");
11367 }
11368 static PyObject *_wrap_new_Sound__SWIG_0(PyObject *, PyObject *args) {
11369 PyObject *resultobj;
11370 wxSound *result;
11371
11372 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 result = (wxSound *)new wxSound();
11376
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11381 return resultobj;
11382 fail:
11383 return NULL;
11384 }
11385
11386
11387 static PyObject *_wrap_new_Sound__SWIG_1(PyObject *, PyObject *args) {
11388 PyObject *resultobj;
11389 wxString *arg1 = 0 ;
11390 bool arg2 = (bool) false ;
11391 wxSound *result;
11392 bool temp1 = False ;
11393 PyObject * obj0 = 0 ;
11394 PyObject * obj1 = 0 ;
11395
11396 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
11397 {
11398 arg1 = wxString_in_helper(obj0);
11399 if (arg1 == NULL) SWIG_fail;
11400 temp1 = True;
11401 }
11402 if (obj1) {
11403 arg2 = (bool) SWIG_AsBool(obj1);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
11409
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11414 {
11415 if (temp1)
11416 delete arg1;
11417 }
11418 return resultobj;
11419 fail:
11420 {
11421 if (temp1)
11422 delete arg1;
11423 }
11424 return NULL;
11425 }
11426
11427
11428 static PyObject *_wrap_new_Sound__SWIG_2(PyObject *, PyObject *args) {
11429 PyObject *resultobj;
11430 int arg1 ;
11431 wxByte *arg2 = (wxByte *) 0 ;
11432 wxSound *result;
11433 PyObject * obj0 = 0 ;
11434 PyObject * obj1 = 0 ;
11435
11436 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
11437 arg1 = (int) SWIG_AsInt(obj0);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxByte,
11440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
11444
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11449 return resultobj;
11450 fail:
11451 return NULL;
11452 }
11453
11454
11455 static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11456 int argc;
11457 PyObject *argv[3];
11458 int ii;
11459
11460 argc = PyObject_Length(args);
11461 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11462 argv[ii] = PyTuple_GetItem(args,ii);
11463 }
11464 if (argc == 0) {
11465 return _wrap_new_Sound__SWIG_0(self,args);
11466 }
11467 if ((argc >= 1) && (argc <= 2)) {
11468 int _v;
11469 {
11470 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11471 }
11472 if (_v) {
11473 if (argc <= 1) {
11474 return _wrap_new_Sound__SWIG_1(self,args);
11475 }
11476 _v = SWIG_CheckBool(argv[1]);
11477 if (_v) {
11478 return _wrap_new_Sound__SWIG_1(self,args);
11479 }
11480 }
11481 }
11482 if (argc == 2) {
11483 int _v;
11484 _v = SWIG_CheckInt(argv[0]);
11485 if (_v) {
11486 {
11487 void *ptr;
11488 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11489 _v = 0;
11490 PyErr_Clear();
11491 } else {
11492 _v = 1;
11493 }
11494 }
11495 if (_v) {
11496 return _wrap_new_Sound__SWIG_2(self,args);
11497 }
11498 }
11499 }
11500
11501 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
11502 return NULL;
11503 }
11504
11505
11506 static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
11507 PyObject *resultobj;
11508 wxSound *arg1 = (wxSound *) 0 ;
11509 PyObject * obj0 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "self", NULL
11512 };
11513
11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11517 {
11518 PyThreadState* __tstate = wxPyBeginAllowThreads();
11519 delete arg1;
11520
11521 wxPyEndAllowThreads(__tstate);
11522 if (PyErr_Occurred()) SWIG_fail;
11523 }
11524 Py_INCREF(Py_None); resultobj = Py_None;
11525 return resultobj;
11526 fail:
11527 return NULL;
11528 }
11529
11530
11531 static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *, PyObject *args) {
11532 PyObject *resultobj;
11533 wxSound *arg1 = (wxSound *) 0 ;
11534 wxString *arg2 = 0 ;
11535 bool arg3 = (bool) false ;
11536 bool result;
11537 bool temp2 = False ;
11538 PyObject * obj0 = 0 ;
11539 PyObject * obj1 = 0 ;
11540 PyObject * obj2 = 0 ;
11541
11542 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11545 {
11546 arg2 = wxString_in_helper(obj1);
11547 if (arg2 == NULL) SWIG_fail;
11548 temp2 = True;
11549 }
11550 if (obj2) {
11551 arg3 = (bool) SWIG_AsBool(obj2);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 {
11562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11563 }
11564 {
11565 if (temp2)
11566 delete arg2;
11567 }
11568 return resultobj;
11569 fail:
11570 {
11571 if (temp2)
11572 delete arg2;
11573 }
11574 return NULL;
11575 }
11576
11577
11578 static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *, PyObject *args) {
11579 PyObject *resultobj;
11580 wxSound *arg1 = (wxSound *) 0 ;
11581 int arg2 ;
11582 wxByte *arg3 = (wxByte *) 0 ;
11583 bool result;
11584 PyObject * obj0 = 0 ;
11585 PyObject * obj1 = 0 ;
11586 PyObject * obj2 = 0 ;
11587
11588 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11591 arg2 = (int) SWIG_AsInt(obj1);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxByte,
11594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 result = (bool)wxSound_Create__SWIG_1(arg1,arg2,(wxByte const *)arg3);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 {
11603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11604 }
11605 return resultobj;
11606 fail:
11607 return NULL;
11608 }
11609
11610
11611 static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11612 int argc;
11613 PyObject *argv[4];
11614 int ii;
11615
11616 argc = PyObject_Length(args);
11617 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11618 argv[ii] = PyTuple_GetItem(args,ii);
11619 }
11620 if ((argc >= 2) && (argc <= 3)) {
11621 int _v;
11622 {
11623 void *ptr;
11624 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11625 _v = 0;
11626 PyErr_Clear();
11627 } else {
11628 _v = 1;
11629 }
11630 }
11631 if (_v) {
11632 {
11633 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11634 }
11635 if (_v) {
11636 if (argc <= 2) {
11637 return _wrap_Sound_Create__SWIG_0(self,args);
11638 }
11639 _v = SWIG_CheckBool(argv[2]);
11640 if (_v) {
11641 return _wrap_Sound_Create__SWIG_0(self,args);
11642 }
11643 }
11644 }
11645 }
11646 if (argc == 3) {
11647 int _v;
11648 {
11649 void *ptr;
11650 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11651 _v = 0;
11652 PyErr_Clear();
11653 } else {
11654 _v = 1;
11655 }
11656 }
11657 if (_v) {
11658 _v = SWIG_CheckInt(argv[1]);
11659 if (_v) {
11660 {
11661 void *ptr;
11662 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11663 _v = 0;
11664 PyErr_Clear();
11665 } else {
11666 _v = 1;
11667 }
11668 }
11669 if (_v) {
11670 return _wrap_Sound_Create__SWIG_1(self,args);
11671 }
11672 }
11673 }
11674 }
11675
11676 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11677 return NULL;
11678 }
11679
11680
11681 static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj;
11683 wxSound *arg1 = (wxSound *) 0 ;
11684 bool result;
11685 PyObject * obj0 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "self", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
11695 result = (bool)(arg1)->IsOk();
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 {
11701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11702 }
11703 return resultobj;
11704 fail:
11705 return NULL;
11706 }
11707
11708
11709 static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args) {
11710 PyObject *resultobj;
11711 wxSound *arg1 = (wxSound *) 0 ;
11712 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11713 bool result;
11714 PyObject * obj0 = 0 ;
11715 PyObject * obj1 = 0 ;
11716
11717 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
11718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11720 if (obj1) {
11721 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
11724 {
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 result = (bool)((wxSound const *)arg1)->Play(arg2);
11727
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 }
11731 {
11732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11733 }
11734 return resultobj;
11735 fail:
11736 return NULL;
11737 }
11738
11739
11740 static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args) {
11741 PyObject *resultobj;
11742 wxString *arg1 = 0 ;
11743 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11744 bool result;
11745 bool temp1 = False ;
11746 PyObject * obj0 = 0 ;
11747 PyObject * obj1 = 0 ;
11748
11749 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11750 {
11751 arg1 = wxString_in_helper(obj0);
11752 if (arg1 == NULL) SWIG_fail;
11753 temp1 = True;
11754 }
11755 if (obj1) {
11756 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 {
11767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11768 }
11769 {
11770 if (temp1)
11771 delete arg1;
11772 }
11773 return resultobj;
11774 fail:
11775 {
11776 if (temp1)
11777 delete arg1;
11778 }
11779 return NULL;
11780 }
11781
11782
11783 static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 char *kwnames[] = {
11786 NULL
11787 };
11788
11789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11790 {
11791 PyThreadState* __tstate = wxPyBeginAllowThreads();
11792 Sound_Stop();
11793
11794 wxPyEndAllowThreads(__tstate);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 }
11797 Py_INCREF(Py_None); resultobj = Py_None;
11798 return resultobj;
11799 fail:
11800 return NULL;
11801 }
11802
11803
11804 static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
11805 PyObject *obj;
11806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11807 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11808 Py_INCREF(obj);
11809 return Py_BuildValue((char *)"");
11810 }
11811 static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11812 PyObject *resultobj;
11813 wxString *arg1 = 0 ;
11814 wxString *arg2 = 0 ;
11815 wxString *arg3 = 0 ;
11816 wxString *arg4 = 0 ;
11817 wxFileTypeInfo *result;
11818 bool temp1 = False ;
11819 bool temp2 = False ;
11820 bool temp3 = False ;
11821 bool temp4 = False ;
11822 PyObject * obj0 = 0 ;
11823 PyObject * obj1 = 0 ;
11824 PyObject * obj2 = 0 ;
11825 PyObject * obj3 = 0 ;
11826 char *kwnames[] = {
11827 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11828 };
11829
11830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11831 {
11832 arg1 = wxString_in_helper(obj0);
11833 if (arg1 == NULL) SWIG_fail;
11834 temp1 = True;
11835 }
11836 {
11837 arg2 = wxString_in_helper(obj1);
11838 if (arg2 == NULL) SWIG_fail;
11839 temp2 = True;
11840 }
11841 {
11842 arg3 = wxString_in_helper(obj2);
11843 if (arg3 == NULL) SWIG_fail;
11844 temp3 = True;
11845 }
11846 {
11847 arg4 = wxString_in_helper(obj3);
11848 if (arg4 == NULL) SWIG_fail;
11849 temp4 = True;
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11859 {
11860 if (temp1)
11861 delete arg1;
11862 }
11863 {
11864 if (temp2)
11865 delete arg2;
11866 }
11867 {
11868 if (temp3)
11869 delete arg3;
11870 }
11871 {
11872 if (temp4)
11873 delete arg4;
11874 }
11875 return resultobj;
11876 fail:
11877 {
11878 if (temp1)
11879 delete arg1;
11880 }
11881 {
11882 if (temp2)
11883 delete arg2;
11884 }
11885 {
11886 if (temp3)
11887 delete arg3;
11888 }
11889 {
11890 if (temp4)
11891 delete arg4;
11892 }
11893 return NULL;
11894 }
11895
11896
11897 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
11898 PyObject *resultobj;
11899 wxArrayString *arg1 = 0 ;
11900 wxFileTypeInfo *result;
11901 bool temp1 = False ;
11902 PyObject * obj0 = 0 ;
11903 char *kwnames[] = {
11904 (char *) "sArray", NULL
11905 };
11906
11907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11908 {
11909 if (! PySequence_Check(obj0)) {
11910 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11911 SWIG_fail;
11912 }
11913 arg1 = new wxArrayString;
11914 temp1 = True;
11915 int i, len=PySequence_Length(obj0);
11916 for (i=0; i<len; i++) {
11917 PyObject* item = PySequence_GetItem(obj0, i);
11918 #if wxUSE_UNICODE
11919 PyObject* str = PyObject_Unicode(item);
11920 #else
11921 PyObject* str = PyObject_Str(item);
11922 #endif
11923 arg1->Add(Py2wxString(str));
11924 Py_DECREF(item);
11925 Py_DECREF(str);
11926 }
11927 }
11928 {
11929 PyThreadState* __tstate = wxPyBeginAllowThreads();
11930 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11931
11932 wxPyEndAllowThreads(__tstate);
11933 if (PyErr_Occurred()) SWIG_fail;
11934 }
11935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11936 {
11937 if (temp1) delete arg1;
11938 }
11939 return resultobj;
11940 fail:
11941 {
11942 if (temp1) delete arg1;
11943 }
11944 return NULL;
11945 }
11946
11947
11948 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11949 PyObject *resultobj;
11950 wxFileTypeInfo *result;
11951 char *kwnames[] = {
11952 NULL
11953 };
11954
11955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11956 {
11957 PyThreadState* __tstate = wxPyBeginAllowThreads();
11958 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11959
11960 wxPyEndAllowThreads(__tstate);
11961 if (PyErr_Occurred()) SWIG_fail;
11962 }
11963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11964 return resultobj;
11965 fail:
11966 return NULL;
11967 }
11968
11969
11970 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
11971 PyObject *resultobj;
11972 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11973 bool result;
11974 PyObject * obj0 = 0 ;
11975 char *kwnames[] = {
11976 (char *) "self", NULL
11977 };
11978
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
11980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11982 {
11983 PyThreadState* __tstate = wxPyBeginAllowThreads();
11984 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11985
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 {
11990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11991 }
11992 return resultobj;
11993 fail:
11994 return NULL;
11995 }
11996
11997
11998 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj;
12000 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12001 wxString *arg2 = 0 ;
12002 int arg3 = (int) 0 ;
12003 bool temp2 = False ;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 PyObject * obj2 = 0 ;
12007 char *kwnames[] = {
12008 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12009 };
12010
12011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12014 {
12015 arg2 = wxString_in_helper(obj1);
12016 if (arg2 == NULL) SWIG_fail;
12017 temp2 = True;
12018 }
12019 if (obj2) {
12020 arg3 = (int) SWIG_AsInt(obj2);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12026
12027 wxPyEndAllowThreads(__tstate);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 Py_INCREF(Py_None); resultobj = Py_None;
12031 {
12032 if (temp2)
12033 delete arg2;
12034 }
12035 return resultobj;
12036 fail:
12037 {
12038 if (temp2)
12039 delete arg2;
12040 }
12041 return NULL;
12042 }
12043
12044
12045 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
12046 PyObject *resultobj;
12047 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12048 wxString *arg2 = 0 ;
12049 bool temp2 = False ;
12050 PyObject * obj0 = 0 ;
12051 PyObject * obj1 = 0 ;
12052 char *kwnames[] = {
12053 (char *) "self",(char *) "shortDesc", NULL
12054 };
12055
12056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12059 {
12060 arg2 = wxString_in_helper(obj1);
12061 if (arg2 == NULL) SWIG_fail;
12062 temp2 = True;
12063 }
12064 {
12065 PyThreadState* __tstate = wxPyBeginAllowThreads();
12066 (arg1)->SetShortDesc((wxString const &)*arg2);
12067
12068 wxPyEndAllowThreads(__tstate);
12069 if (PyErr_Occurred()) SWIG_fail;
12070 }
12071 Py_INCREF(Py_None); resultobj = Py_None;
12072 {
12073 if (temp2)
12074 delete arg2;
12075 }
12076 return resultobj;
12077 fail:
12078 {
12079 if (temp2)
12080 delete arg2;
12081 }
12082 return NULL;
12083 }
12084
12085
12086 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
12087 PyObject *resultobj;
12088 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12089 wxString *result;
12090 PyObject * obj0 = 0 ;
12091 char *kwnames[] = {
12092 (char *) "self", NULL
12093 };
12094
12095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12098 {
12099 PyThreadState* __tstate = wxPyBeginAllowThreads();
12100 {
12101 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12102 result = (wxString *) &_result_ref;
12103 }
12104
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 {
12109 #if wxUSE_UNICODE
12110 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12111 #else
12112 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12113 #endif
12114 }
12115 return resultobj;
12116 fail:
12117 return NULL;
12118 }
12119
12120
12121 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12122 PyObject *resultobj;
12123 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12124 wxString *result;
12125 PyObject * obj0 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self", NULL
12128 };
12129
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12133 {
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 {
12136 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12137 result = (wxString *) &_result_ref;
12138 }
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
12143 {
12144 #if wxUSE_UNICODE
12145 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12146 #else
12147 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12148 #endif
12149 }
12150 return resultobj;
12151 fail:
12152 return NULL;
12153 }
12154
12155
12156 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12157 PyObject *resultobj;
12158 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12159 wxString *result;
12160 PyObject * obj0 = 0 ;
12161 char *kwnames[] = {
12162 (char *) "self", NULL
12163 };
12164
12165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12168 {
12169 PyThreadState* __tstate = wxPyBeginAllowThreads();
12170 {
12171 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12172 result = (wxString *) &_result_ref;
12173 }
12174
12175 wxPyEndAllowThreads(__tstate);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 {
12179 #if wxUSE_UNICODE
12180 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12181 #else
12182 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12183 #endif
12184 }
12185 return resultobj;
12186 fail:
12187 return NULL;
12188 }
12189
12190
12191 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12194 wxString *result;
12195 PyObject * obj0 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12203 {
12204 PyThreadState* __tstate = wxPyBeginAllowThreads();
12205 {
12206 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12207 result = (wxString *) &_result_ref;
12208 }
12209
12210 wxPyEndAllowThreads(__tstate);
12211 if (PyErr_Occurred()) SWIG_fail;
12212 }
12213 {
12214 #if wxUSE_UNICODE
12215 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12216 #else
12217 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12218 #endif
12219 }
12220 return resultobj;
12221 fail:
12222 return NULL;
12223 }
12224
12225
12226 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
12227 PyObject *resultobj;
12228 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12229 wxString *result;
12230 PyObject * obj0 = 0 ;
12231 char *kwnames[] = {
12232 (char *) "self", NULL
12233 };
12234
12235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12238 {
12239 PyThreadState* __tstate = wxPyBeginAllowThreads();
12240 {
12241 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12242 result = (wxString *) &_result_ref;
12243 }
12244
12245 wxPyEndAllowThreads(__tstate);
12246 if (PyErr_Occurred()) SWIG_fail;
12247 }
12248 {
12249 #if wxUSE_UNICODE
12250 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12251 #else
12252 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12253 #endif
12254 }
12255 return resultobj;
12256 fail:
12257 return NULL;
12258 }
12259
12260
12261 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj;
12263 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12264 wxArrayString *result;
12265 PyObject * obj0 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 {
12276 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12277 result = (wxArrayString *) &_result_ref;
12278 }
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
12283 {
12284 resultobj = wxArrayString2PyList_helper(*result);
12285 }
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
12293 PyObject *resultobj;
12294 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12295 int result;
12296 PyObject * obj0 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 resultobj = SWIG_FromInt((int)result);
12312 return resultobj;
12313 fail:
12314 return NULL;
12315 }
12316
12317
12318 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj;
12320 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12321 wxString *result;
12322 PyObject * obj0 = 0 ;
12323 char *kwnames[] = {
12324 (char *) "self", NULL
12325 };
12326
12327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 {
12333 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12334 result = (wxString *) &_result_ref;
12335 }
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 {
12341 #if wxUSE_UNICODE
12342 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12343 #else
12344 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12345 #endif
12346 }
12347 return resultobj;
12348 fail:
12349 return NULL;
12350 }
12351
12352
12353 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12354 PyObject *resultobj;
12355 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12356 int result;
12357 PyObject * obj0 = 0 ;
12358 char *kwnames[] = {
12359 (char *) "self", NULL
12360 };
12361
12362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12365 {
12366 PyThreadState* __tstate = wxPyBeginAllowThreads();
12367 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12368
12369 wxPyEndAllowThreads(__tstate);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 }
12372 resultobj = SWIG_FromInt((int)result);
12373 return resultobj;
12374 fail:
12375 return NULL;
12376 }
12377
12378
12379 static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
12380 PyObject *obj;
12381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12382 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12383 Py_INCREF(obj);
12384 return Py_BuildValue((char *)"");
12385 }
12386 static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
12387 PyObject *resultobj;
12388 wxFileTypeInfo *arg1 = 0 ;
12389 wxFileType *result;
12390 PyObject * obj0 = 0 ;
12391 char *kwnames[] = {
12392 (char *) "ftInfo", NULL
12393 };
12394
12395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12397 SWIG_POINTER_EXCEPTION | 0)) == -1)
12398 SWIG_fail;
12399 if (arg1 == NULL) {
12400 PyErr_SetString(PyExc_TypeError,"null reference");
12401 SWIG_fail;
12402 }
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
12410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12411 return resultobj;
12412 fail:
12413 return NULL;
12414 }
12415
12416
12417 static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
12418 PyObject *resultobj;
12419 wxFileType *arg1 = (wxFileType *) 0 ;
12420 PyObject * obj0 = 0 ;
12421 char *kwnames[] = {
12422 (char *) "self", NULL
12423 };
12424
12425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12428 {
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 delete arg1;
12431
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 Py_INCREF(Py_None); resultobj = Py_None;
12436 return resultobj;
12437 fail:
12438 return NULL;
12439 }
12440
12441
12442 static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
12443 PyObject *resultobj;
12444 wxFileType *arg1 = (wxFileType *) 0 ;
12445 PyObject *result;
12446 PyObject * obj0 = 0 ;
12447 char *kwnames[] = {
12448 (char *) "self", NULL
12449 };
12450
12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 result = (PyObject *)wxFileType_GetMimeType(arg1);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 resultobj = result;
12462 return resultobj;
12463 fail:
12464 return NULL;
12465 }
12466
12467
12468 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxFileType *arg1 = (wxFileType *) 0 ;
12471 PyObject *result;
12472 PyObject * obj0 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12480 {
12481 PyThreadState* __tstate = wxPyBeginAllowThreads();
12482 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 resultobj = result;
12488 return resultobj;
12489 fail:
12490 return NULL;
12491 }
12492
12493
12494 static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
12495 PyObject *resultobj;
12496 wxFileType *arg1 = (wxFileType *) 0 ;
12497 PyObject *result;
12498 PyObject * obj0 = 0 ;
12499 char *kwnames[] = {
12500 (char *) "self", NULL
12501 };
12502
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12506 {
12507 PyThreadState* __tstate = wxPyBeginAllowThreads();
12508 result = (PyObject *)wxFileType_GetExtensions(arg1);
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 resultobj = result;
12514 return resultobj;
12515 fail:
12516 return NULL;
12517 }
12518
12519
12520 static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj;
12522 wxFileType *arg1 = (wxFileType *) 0 ;
12523 wxIcon *result;
12524 PyObject * obj0 = 0 ;
12525 char *kwnames[] = {
12526 (char *) "self", NULL
12527 };
12528
12529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 result = (wxIcon *)wxFileType_GetIcon(arg1);
12535
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12540 return resultobj;
12541 fail:
12542 return NULL;
12543 }
12544
12545
12546 static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12547 PyObject *resultobj;
12548 wxFileType *arg1 = (wxFileType *) 0 ;
12549 PyObject *result;
12550 PyObject * obj0 = 0 ;
12551 char *kwnames[] = {
12552 (char *) "self", NULL
12553 };
12554
12555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12561
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 resultobj = result;
12566 return resultobj;
12567 fail:
12568 return NULL;
12569 }
12570
12571
12572 static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
12573 PyObject *resultobj;
12574 wxFileType *arg1 = (wxFileType *) 0 ;
12575 PyObject *result;
12576 PyObject * obj0 = 0 ;
12577 char *kwnames[] = {
12578 (char *) "self", NULL
12579 };
12580
12581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12584 {
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 result = (PyObject *)wxFileType_GetDescription(arg1);
12587
12588 wxPyEndAllowThreads(__tstate);
12589 if (PyErr_Occurred()) SWIG_fail;
12590 }
12591 resultobj = result;
12592 return resultobj;
12593 fail:
12594 return NULL;
12595 }
12596
12597
12598 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12599 PyObject *resultobj;
12600 wxFileType *arg1 = (wxFileType *) 0 ;
12601 wxString *arg2 = 0 ;
12602 wxString const &arg3_defvalue = wxPyEmptyString ;
12603 wxString *arg3 = (wxString *) &arg3_defvalue ;
12604 PyObject *result;
12605 bool temp2 = False ;
12606 bool temp3 = False ;
12607 PyObject * obj0 = 0 ;
12608 PyObject * obj1 = 0 ;
12609 PyObject * obj2 = 0 ;
12610 char *kwnames[] = {
12611 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12612 };
12613
12614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12617 {
12618 arg2 = wxString_in_helper(obj1);
12619 if (arg2 == NULL) SWIG_fail;
12620 temp2 = True;
12621 }
12622 if (obj2) {
12623 {
12624 arg3 = wxString_in_helper(obj2);
12625 if (arg3 == NULL) SWIG_fail;
12626 temp3 = True;
12627 }
12628 }
12629 {
12630 PyThreadState* __tstate = wxPyBeginAllowThreads();
12631 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12632
12633 wxPyEndAllowThreads(__tstate);
12634 if (PyErr_Occurred()) SWIG_fail;
12635 }
12636 resultobj = result;
12637 {
12638 if (temp2)
12639 delete arg2;
12640 }
12641 {
12642 if (temp3)
12643 delete arg3;
12644 }
12645 return resultobj;
12646 fail:
12647 {
12648 if (temp2)
12649 delete arg2;
12650 }
12651 {
12652 if (temp3)
12653 delete arg3;
12654 }
12655 return NULL;
12656 }
12657
12658
12659 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12660 PyObject *resultobj;
12661 wxFileType *arg1 = (wxFileType *) 0 ;
12662 wxString *arg2 = 0 ;
12663 wxString const &arg3_defvalue = wxPyEmptyString ;
12664 wxString *arg3 = (wxString *) &arg3_defvalue ;
12665 PyObject *result;
12666 bool temp2 = False ;
12667 bool temp3 = False ;
12668 PyObject * obj0 = 0 ;
12669 PyObject * obj1 = 0 ;
12670 PyObject * obj2 = 0 ;
12671 char *kwnames[] = {
12672 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12673 };
12674
12675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12678 {
12679 arg2 = wxString_in_helper(obj1);
12680 if (arg2 == NULL) SWIG_fail;
12681 temp2 = True;
12682 }
12683 if (obj2) {
12684 {
12685 arg3 = wxString_in_helper(obj2);
12686 if (arg3 == NULL) SWIG_fail;
12687 temp3 = True;
12688 }
12689 }
12690 {
12691 PyThreadState* __tstate = wxPyBeginAllowThreads();
12692 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12693
12694 wxPyEndAllowThreads(__tstate);
12695 if (PyErr_Occurred()) SWIG_fail;
12696 }
12697 resultobj = result;
12698 {
12699 if (temp2)
12700 delete arg2;
12701 }
12702 {
12703 if (temp3)
12704 delete arg3;
12705 }
12706 return resultobj;
12707 fail:
12708 {
12709 if (temp2)
12710 delete arg2;
12711 }
12712 {
12713 if (temp3)
12714 delete arg3;
12715 }
12716 return NULL;
12717 }
12718
12719
12720 static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
12721 PyObject *resultobj;
12722 wxFileType *arg1 = (wxFileType *) 0 ;
12723 wxString *arg2 = 0 ;
12724 wxString const &arg3_defvalue = wxPyEmptyString ;
12725 wxString *arg3 = (wxString *) &arg3_defvalue ;
12726 PyObject *result;
12727 bool temp2 = False ;
12728 bool temp3 = False ;
12729 PyObject * obj0 = 0 ;
12730 PyObject * obj1 = 0 ;
12731 PyObject * obj2 = 0 ;
12732 char *kwnames[] = {
12733 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12734 };
12735
12736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12739 {
12740 arg2 = wxString_in_helper(obj1);
12741 if (arg2 == NULL) SWIG_fail;
12742 temp2 = True;
12743 }
12744 if (obj2) {
12745 {
12746 arg3 = wxString_in_helper(obj2);
12747 if (arg3 == NULL) SWIG_fail;
12748 temp3 = True;
12749 }
12750 }
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12754
12755 wxPyEndAllowThreads(__tstate);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
12758 resultobj = result;
12759 {
12760 if (temp2)
12761 delete arg2;
12762 }
12763 {
12764 if (temp3)
12765 delete arg3;
12766 }
12767 return resultobj;
12768 fail:
12769 {
12770 if (temp2)
12771 delete arg2;
12772 }
12773 {
12774 if (temp3)
12775 delete arg3;
12776 }
12777 return NULL;
12778 }
12779
12780
12781 static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12782 PyObject *resultobj;
12783 wxFileType *arg1 = (wxFileType *) 0 ;
12784 wxString *arg2 = 0 ;
12785 wxString *arg3 = 0 ;
12786 bool arg4 = (bool) True ;
12787 bool result;
12788 bool temp2 = False ;
12789 bool temp3 = False ;
12790 PyObject * obj0 = 0 ;
12791 PyObject * obj1 = 0 ;
12792 PyObject * obj2 = 0 ;
12793 PyObject * obj3 = 0 ;
12794 char *kwnames[] = {
12795 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12796 };
12797
12798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12801 {
12802 arg2 = wxString_in_helper(obj1);
12803 if (arg2 == NULL) SWIG_fail;
12804 temp2 = True;
12805 }
12806 {
12807 arg3 = wxString_in_helper(obj2);
12808 if (arg3 == NULL) SWIG_fail;
12809 temp3 = True;
12810 }
12811 if (obj3) {
12812 arg4 = (bool) SWIG_AsBool(obj3);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12818
12819 wxPyEndAllowThreads(__tstate);
12820 if (PyErr_Occurred()) SWIG_fail;
12821 }
12822 {
12823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12824 }
12825 {
12826 if (temp2)
12827 delete arg2;
12828 }
12829 {
12830 if (temp3)
12831 delete arg3;
12832 }
12833 return resultobj;
12834 fail:
12835 {
12836 if (temp2)
12837 delete arg2;
12838 }
12839 {
12840 if (temp3)
12841 delete arg3;
12842 }
12843 return NULL;
12844 }
12845
12846
12847 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12848 PyObject *resultobj;
12849 wxFileType *arg1 = (wxFileType *) 0 ;
12850 wxString const &arg2_defvalue = wxPyEmptyString ;
12851 wxString *arg2 = (wxString *) &arg2_defvalue ;
12852 int arg3 = (int) 0 ;
12853 bool result;
12854 bool temp2 = False ;
12855 PyObject * obj0 = 0 ;
12856 PyObject * obj1 = 0 ;
12857 PyObject * obj2 = 0 ;
12858 char *kwnames[] = {
12859 (char *) "self",(char *) "cmd",(char *) "index", NULL
12860 };
12861
12862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12865 if (obj1) {
12866 {
12867 arg2 = wxString_in_helper(obj1);
12868 if (arg2 == NULL) SWIG_fail;
12869 temp2 = True;
12870 }
12871 }
12872 if (obj2) {
12873 arg3 = (int) SWIG_AsInt(obj2);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 {
12877 PyThreadState* __tstate = wxPyBeginAllowThreads();
12878 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12879
12880 wxPyEndAllowThreads(__tstate);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 }
12883 {
12884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12885 }
12886 {
12887 if (temp2)
12888 delete arg2;
12889 }
12890 return resultobj;
12891 fail:
12892 {
12893 if (temp2)
12894 delete arg2;
12895 }
12896 return NULL;
12897 }
12898
12899
12900 static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj;
12902 wxFileType *arg1 = (wxFileType *) 0 ;
12903 bool result;
12904 PyObject * obj0 = 0 ;
12905 char *kwnames[] = {
12906 (char *) "self", NULL
12907 };
12908
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
12910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 result = (bool)(arg1)->Unassociate();
12915
12916 wxPyEndAllowThreads(__tstate);
12917 if (PyErr_Occurred()) SWIG_fail;
12918 }
12919 {
12920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12921 }
12922 return resultobj;
12923 fail:
12924 return NULL;
12925 }
12926
12927
12928 static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12929 PyObject *resultobj;
12930 wxString *arg1 = 0 ;
12931 wxString *arg2 = 0 ;
12932 wxString const &arg3_defvalue = wxPyEmptyString ;
12933 wxString *arg3 = (wxString *) &arg3_defvalue ;
12934 wxString result;
12935 bool temp1 = False ;
12936 bool temp2 = False ;
12937 bool temp3 = False ;
12938 PyObject * obj0 = 0 ;
12939 PyObject * obj1 = 0 ;
12940 PyObject * obj2 = 0 ;
12941 char *kwnames[] = {
12942 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12943 };
12944
12945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12946 {
12947 arg1 = wxString_in_helper(obj0);
12948 if (arg1 == NULL) SWIG_fail;
12949 temp1 = True;
12950 }
12951 {
12952 arg2 = wxString_in_helper(obj1);
12953 if (arg2 == NULL) SWIG_fail;
12954 temp2 = True;
12955 }
12956 if (obj2) {
12957 {
12958 arg3 = wxString_in_helper(obj2);
12959 if (arg3 == NULL) SWIG_fail;
12960 temp3 = True;
12961 }
12962 }
12963 {
12964 PyThreadState* __tstate = wxPyBeginAllowThreads();
12965 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12966
12967 wxPyEndAllowThreads(__tstate);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 }
12970 {
12971 #if wxUSE_UNICODE
12972 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12973 #else
12974 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12975 #endif
12976 }
12977 {
12978 if (temp1)
12979 delete arg1;
12980 }
12981 {
12982 if (temp2)
12983 delete arg2;
12984 }
12985 {
12986 if (temp3)
12987 delete arg3;
12988 }
12989 return resultobj;
12990 fail:
12991 {
12992 if (temp1)
12993 delete arg1;
12994 }
12995 {
12996 if (temp2)
12997 delete arg2;
12998 }
12999 {
13000 if (temp3)
13001 delete arg3;
13002 }
13003 return NULL;
13004 }
13005
13006
13007 static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
13008 PyObject *obj;
13009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13010 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13011 Py_INCREF(obj);
13012 return Py_BuildValue((char *)"");
13013 }
13014 static int _wrap_TheMimeTypesManager_set(PyObject *) {
13015 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13016 return 1;
13017 }
13018
13019
13020 static PyObject *_wrap_TheMimeTypesManager_get() {
13021 PyObject *pyobj;
13022
13023 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13024 return pyobj;
13025 }
13026
13027
13028 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
13029 PyObject *resultobj;
13030 wxString *arg1 = 0 ;
13031 wxString *arg2 = 0 ;
13032 bool result;
13033 bool temp1 = False ;
13034 bool temp2 = False ;
13035 PyObject * obj0 = 0 ;
13036 PyObject * obj1 = 0 ;
13037 char *kwnames[] = {
13038 (char *) "mimeType",(char *) "wildcard", NULL
13039 };
13040
13041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13042 {
13043 arg1 = wxString_in_helper(obj0);
13044 if (arg1 == NULL) SWIG_fail;
13045 temp1 = True;
13046 }
13047 {
13048 arg2 = wxString_in_helper(obj1);
13049 if (arg2 == NULL) SWIG_fail;
13050 temp2 = True;
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 {
13060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13061 }
13062 {
13063 if (temp1)
13064 delete arg1;
13065 }
13066 {
13067 if (temp2)
13068 delete arg2;
13069 }
13070 return resultobj;
13071 fail:
13072 {
13073 if (temp1)
13074 delete arg1;
13075 }
13076 {
13077 if (temp2)
13078 delete arg2;
13079 }
13080 return NULL;
13081 }
13082
13083
13084 static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj;
13086 wxMimeTypesManager *result;
13087 char *kwnames[] = {
13088 NULL
13089 };
13090
13091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13095
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13100 return resultobj;
13101 fail:
13102 return NULL;
13103 }
13104
13105
13106 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
13107 PyObject *resultobj;
13108 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13109 int arg2 = (int) wxMAILCAP_ALL ;
13110 wxString const &arg3_defvalue = wxPyEmptyString ;
13111 wxString *arg3 = (wxString *) &arg3_defvalue ;
13112 bool temp3 = False ;
13113 PyObject * obj0 = 0 ;
13114 PyObject * obj1 = 0 ;
13115 PyObject * obj2 = 0 ;
13116 char *kwnames[] = {
13117 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13118 };
13119
13120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13123 if (obj1) {
13124 arg2 = (int) SWIG_AsInt(obj1);
13125 if (PyErr_Occurred()) SWIG_fail;
13126 }
13127 if (obj2) {
13128 {
13129 arg3 = wxString_in_helper(obj2);
13130 if (arg3 == NULL) SWIG_fail;
13131 temp3 = True;
13132 }
13133 }
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 Py_INCREF(Py_None); resultobj = Py_None;
13142 {
13143 if (temp3)
13144 delete arg3;
13145 }
13146 return resultobj;
13147 fail:
13148 {
13149 if (temp3)
13150 delete arg3;
13151 }
13152 return NULL;
13153 }
13154
13155
13156 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj;
13158 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13159 PyObject * obj0 = 0 ;
13160 char *kwnames[] = {
13161 (char *) "self", NULL
13162 };
13163
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 (arg1)->ClearData();
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 Py_INCREF(Py_None); resultobj = Py_None;
13175 return resultobj;
13176 fail:
13177 return NULL;
13178 }
13179
13180
13181 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj;
13183 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13184 wxString *arg2 = 0 ;
13185 wxFileType *result;
13186 bool temp2 = False ;
13187 PyObject * obj0 = 0 ;
13188 PyObject * obj1 = 0 ;
13189 char *kwnames[] = {
13190 (char *) "self",(char *) "ext", NULL
13191 };
13192
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13196 {
13197 arg2 = wxString_in_helper(obj1);
13198 if (arg2 == NULL) SWIG_fail;
13199 temp2 = True;
13200 }
13201 {
13202 PyThreadState* __tstate = wxPyBeginAllowThreads();
13203 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13204
13205 wxPyEndAllowThreads(__tstate);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 }
13208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13209 {
13210 if (temp2)
13211 delete arg2;
13212 }
13213 return resultobj;
13214 fail:
13215 {
13216 if (temp2)
13217 delete arg2;
13218 }
13219 return NULL;
13220 }
13221
13222
13223 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
13224 PyObject *resultobj;
13225 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13226 wxString *arg2 = 0 ;
13227 wxFileType *result;
13228 bool temp2 = False ;
13229 PyObject * obj0 = 0 ;
13230 PyObject * obj1 = 0 ;
13231 char *kwnames[] = {
13232 (char *) "self",(char *) "mimeType", NULL
13233 };
13234
13235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13238 {
13239 arg2 = wxString_in_helper(obj1);
13240 if (arg2 == NULL) SWIG_fail;
13241 temp2 = True;
13242 }
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13251 {
13252 if (temp2)
13253 delete arg2;
13254 }
13255 return resultobj;
13256 fail:
13257 {
13258 if (temp2)
13259 delete arg2;
13260 }
13261 return NULL;
13262 }
13263
13264
13265 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
13266 PyObject *resultobj;
13267 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13268 wxString *arg2 = 0 ;
13269 bool arg3 = (bool) False ;
13270 bool result;
13271 bool temp2 = False ;
13272 PyObject * obj0 = 0 ;
13273 PyObject * obj1 = 0 ;
13274 PyObject * obj2 = 0 ;
13275 char *kwnames[] = {
13276 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13277 };
13278
13279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13282 {
13283 arg2 = wxString_in_helper(obj1);
13284 if (arg2 == NULL) SWIG_fail;
13285 temp2 = True;
13286 }
13287 if (obj2) {
13288 arg3 = (bool) SWIG_AsBool(obj2);
13289 if (PyErr_Occurred()) SWIG_fail;
13290 }
13291 {
13292 PyThreadState* __tstate = wxPyBeginAllowThreads();
13293 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13294
13295 wxPyEndAllowThreads(__tstate);
13296 if (PyErr_Occurred()) SWIG_fail;
13297 }
13298 {
13299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13300 }
13301 {
13302 if (temp2)
13303 delete arg2;
13304 }
13305 return resultobj;
13306 fail:
13307 {
13308 if (temp2)
13309 delete arg2;
13310 }
13311 return NULL;
13312 }
13313
13314
13315 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
13316 PyObject *resultobj;
13317 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13318 wxString *arg2 = 0 ;
13319 bool result;
13320 bool temp2 = False ;
13321 PyObject * obj0 = 0 ;
13322 PyObject * obj1 = 0 ;
13323 char *kwnames[] = {
13324 (char *) "self",(char *) "filename", NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13330 {
13331 arg2 = wxString_in_helper(obj1);
13332 if (arg2 == NULL) SWIG_fail;
13333 temp2 = True;
13334 }
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13338
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 {
13343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13344 }
13345 {
13346 if (temp2)
13347 delete arg2;
13348 }
13349 return resultobj;
13350 fail:
13351 {
13352 if (temp2)
13353 delete arg2;
13354 }
13355 return NULL;
13356 }
13357
13358
13359 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
13360 PyObject *resultobj;
13361 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13362 PyObject *result;
13363 PyObject * obj0 = 0 ;
13364 char *kwnames[] = {
13365 (char *) "self", NULL
13366 };
13367
13368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 resultobj = result;
13379 return resultobj;
13380 fail:
13381 return NULL;
13382 }
13383
13384
13385 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13388 wxFileTypeInfo *arg2 = 0 ;
13389 PyObject * obj0 = 0 ;
13390 PyObject * obj1 = 0 ;
13391 char *kwnames[] = {
13392 (char *) "self",(char *) "ft", NULL
13393 };
13394
13395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13399 SWIG_POINTER_EXCEPTION | 0)) == -1)
13400 SWIG_fail;
13401 if (arg2 == NULL) {
13402 PyErr_SetString(PyExc_TypeError,"null reference");
13403 SWIG_fail;
13404 }
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 Py_INCREF(Py_None); resultobj = Py_None;
13413 return resultobj;
13414 fail:
13415 return NULL;
13416 }
13417
13418
13419 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
13420 PyObject *resultobj;
13421 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13422 wxFileTypeInfo *arg2 = 0 ;
13423 wxFileType *result;
13424 PyObject * obj0 = 0 ;
13425 PyObject * obj1 = 0 ;
13426 char *kwnames[] = {
13427 (char *) "self",(char *) "ftInfo", NULL
13428 };
13429
13430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13434 SWIG_POINTER_EXCEPTION | 0)) == -1)
13435 SWIG_fail;
13436 if (arg2 == NULL) {
13437 PyErr_SetString(PyExc_TypeError,"null reference");
13438 SWIG_fail;
13439 }
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13448 return resultobj;
13449 fail:
13450 return NULL;
13451 }
13452
13453
13454 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
13455 PyObject *resultobj;
13456 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13457 wxFileType *arg2 = (wxFileType *) 0 ;
13458 bool result;
13459 PyObject * obj0 = 0 ;
13460 PyObject * obj1 = 0 ;
13461 char *kwnames[] = {
13462 (char *) "self",(char *) "ft", NULL
13463 };
13464
13465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 result = (bool)(arg1)->Unassociate(arg2);
13473
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 {
13478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13479 }
13480 return resultobj;
13481 fail:
13482 return NULL;
13483 }
13484
13485
13486 static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
13487 PyObject *resultobj;
13488 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13489 PyObject * obj0 = 0 ;
13490 char *kwnames[] = {
13491 (char *) "self", NULL
13492 };
13493
13494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13497 {
13498 PyThreadState* __tstate = wxPyBeginAllowThreads();
13499 delete arg1;
13500
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 Py_INCREF(Py_None); resultobj = Py_None;
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
13512 PyObject *obj;
13513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13514 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13515 Py_INCREF(obj);
13516 return Py_BuildValue((char *)"");
13517 }
13518 static int _wrap_ART_TOOLBAR_set(PyObject *) {
13519 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13520 return 1;
13521 }
13522
13523
13524 static PyObject *_wrap_ART_TOOLBAR_get() {
13525 PyObject *pyobj;
13526
13527 {
13528 #if wxUSE_UNICODE
13529 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13530 #else
13531 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13532 #endif
13533 }
13534 return pyobj;
13535 }
13536
13537
13538 static int _wrap_ART_MENU_set(PyObject *) {
13539 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13540 return 1;
13541 }
13542
13543
13544 static PyObject *_wrap_ART_MENU_get() {
13545 PyObject *pyobj;
13546
13547 {
13548 #if wxUSE_UNICODE
13549 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13550 #else
13551 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13552 #endif
13553 }
13554 return pyobj;
13555 }
13556
13557
13558 static int _wrap_ART_FRAME_ICON_set(PyObject *) {
13559 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13560 return 1;
13561 }
13562
13563
13564 static PyObject *_wrap_ART_FRAME_ICON_get() {
13565 PyObject *pyobj;
13566
13567 {
13568 #if wxUSE_UNICODE
13569 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13570 #else
13571 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13572 #endif
13573 }
13574 return pyobj;
13575 }
13576
13577
13578 static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
13579 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13580 return 1;
13581 }
13582
13583
13584 static PyObject *_wrap_ART_CMN_DIALOG_get() {
13585 PyObject *pyobj;
13586
13587 {
13588 #if wxUSE_UNICODE
13589 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13590 #else
13591 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13592 #endif
13593 }
13594 return pyobj;
13595 }
13596
13597
13598 static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
13599 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13600 return 1;
13601 }
13602
13603
13604 static PyObject *_wrap_ART_HELP_BROWSER_get() {
13605 PyObject *pyobj;
13606
13607 {
13608 #if wxUSE_UNICODE
13609 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13610 #else
13611 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13612 #endif
13613 }
13614 return pyobj;
13615 }
13616
13617
13618 static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
13619 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13620 return 1;
13621 }
13622
13623
13624 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13625 PyObject *pyobj;
13626
13627 {
13628 #if wxUSE_UNICODE
13629 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13630 #else
13631 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13632 #endif
13633 }
13634 return pyobj;
13635 }
13636
13637
13638 static int _wrap_ART_OTHER_set(PyObject *) {
13639 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13640 return 1;
13641 }
13642
13643
13644 static PyObject *_wrap_ART_OTHER_get() {
13645 PyObject *pyobj;
13646
13647 {
13648 #if wxUSE_UNICODE
13649 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13650 #else
13651 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13652 #endif
13653 }
13654 return pyobj;
13655 }
13656
13657
13658 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
13659 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13660 return 1;
13661 }
13662
13663
13664 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13665 PyObject *pyobj;
13666
13667 {
13668 #if wxUSE_UNICODE
13669 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13670 #else
13671 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13672 #endif
13673 }
13674 return pyobj;
13675 }
13676
13677
13678 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
13679 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13680 return 1;
13681 }
13682
13683
13684 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13685 PyObject *pyobj;
13686
13687 {
13688 #if wxUSE_UNICODE
13689 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13690 #else
13691 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13692 #endif
13693 }
13694 return pyobj;
13695 }
13696
13697
13698 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
13699 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13700 return 1;
13701 }
13702
13703
13704 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13705 PyObject *pyobj;
13706
13707 {
13708 #if wxUSE_UNICODE
13709 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13710 #else
13711 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13712 #endif
13713 }
13714 return pyobj;
13715 }
13716
13717
13718 static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
13719 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13720 return 1;
13721 }
13722
13723
13724 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13725 PyObject *pyobj;
13726
13727 {
13728 #if wxUSE_UNICODE
13729 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13730 #else
13731 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13732 #endif
13733 }
13734 return pyobj;
13735 }
13736
13737
13738 static int _wrap_ART_HELP_BOOK_set(PyObject *) {
13739 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13740 return 1;
13741 }
13742
13743
13744 static PyObject *_wrap_ART_HELP_BOOK_get() {
13745 PyObject *pyobj;
13746
13747 {
13748 #if wxUSE_UNICODE
13749 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13750 #else
13751 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13752 #endif
13753 }
13754 return pyobj;
13755 }
13756
13757
13758 static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
13759 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13760 return 1;
13761 }
13762
13763
13764 static PyObject *_wrap_ART_HELP_FOLDER_get() {
13765 PyObject *pyobj;
13766
13767 {
13768 #if wxUSE_UNICODE
13769 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13770 #else
13771 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13772 #endif
13773 }
13774 return pyobj;
13775 }
13776
13777
13778 static int _wrap_ART_HELP_PAGE_set(PyObject *) {
13779 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13780 return 1;
13781 }
13782
13783
13784 static PyObject *_wrap_ART_HELP_PAGE_get() {
13785 PyObject *pyobj;
13786
13787 {
13788 #if wxUSE_UNICODE
13789 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13790 #else
13791 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13792 #endif
13793 }
13794 return pyobj;
13795 }
13796
13797
13798 static int _wrap_ART_GO_BACK_set(PyObject *) {
13799 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13800 return 1;
13801 }
13802
13803
13804 static PyObject *_wrap_ART_GO_BACK_get() {
13805 PyObject *pyobj;
13806
13807 {
13808 #if wxUSE_UNICODE
13809 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13810 #else
13811 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13812 #endif
13813 }
13814 return pyobj;
13815 }
13816
13817
13818 static int _wrap_ART_GO_FORWARD_set(PyObject *) {
13819 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13820 return 1;
13821 }
13822
13823
13824 static PyObject *_wrap_ART_GO_FORWARD_get() {
13825 PyObject *pyobj;
13826
13827 {
13828 #if wxUSE_UNICODE
13829 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13830 #else
13831 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13832 #endif
13833 }
13834 return pyobj;
13835 }
13836
13837
13838 static int _wrap_ART_GO_UP_set(PyObject *) {
13839 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13840 return 1;
13841 }
13842
13843
13844 static PyObject *_wrap_ART_GO_UP_get() {
13845 PyObject *pyobj;
13846
13847 {
13848 #if wxUSE_UNICODE
13849 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13850 #else
13851 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13852 #endif
13853 }
13854 return pyobj;
13855 }
13856
13857
13858 static int _wrap_ART_GO_DOWN_set(PyObject *) {
13859 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13860 return 1;
13861 }
13862
13863
13864 static PyObject *_wrap_ART_GO_DOWN_get() {
13865 PyObject *pyobj;
13866
13867 {
13868 #if wxUSE_UNICODE
13869 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13870 #else
13871 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13872 #endif
13873 }
13874 return pyobj;
13875 }
13876
13877
13878 static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
13879 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13880 return 1;
13881 }
13882
13883
13884 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13885 PyObject *pyobj;
13886
13887 {
13888 #if wxUSE_UNICODE
13889 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13890 #else
13891 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13892 #endif
13893 }
13894 return pyobj;
13895 }
13896
13897
13898 static int _wrap_ART_GO_HOME_set(PyObject *) {
13899 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13900 return 1;
13901 }
13902
13903
13904 static PyObject *_wrap_ART_GO_HOME_get() {
13905 PyObject *pyobj;
13906
13907 {
13908 #if wxUSE_UNICODE
13909 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13910 #else
13911 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13912 #endif
13913 }
13914 return pyobj;
13915 }
13916
13917
13918 static int _wrap_ART_FILE_OPEN_set(PyObject *) {
13919 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13920 return 1;
13921 }
13922
13923
13924 static PyObject *_wrap_ART_FILE_OPEN_get() {
13925 PyObject *pyobj;
13926
13927 {
13928 #if wxUSE_UNICODE
13929 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13930 #else
13931 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13932 #endif
13933 }
13934 return pyobj;
13935 }
13936
13937
13938 static int _wrap_ART_PRINT_set(PyObject *) {
13939 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13940 return 1;
13941 }
13942
13943
13944 static PyObject *_wrap_ART_PRINT_get() {
13945 PyObject *pyobj;
13946
13947 {
13948 #if wxUSE_UNICODE
13949 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13950 #else
13951 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13952 #endif
13953 }
13954 return pyobj;
13955 }
13956
13957
13958 static int _wrap_ART_HELP_set(PyObject *) {
13959 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13960 return 1;
13961 }
13962
13963
13964 static PyObject *_wrap_ART_HELP_get() {
13965 PyObject *pyobj;
13966
13967 {
13968 #if wxUSE_UNICODE
13969 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13970 #else
13971 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13972 #endif
13973 }
13974 return pyobj;
13975 }
13976
13977
13978 static int _wrap_ART_TIP_set(PyObject *) {
13979 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13980 return 1;
13981 }
13982
13983
13984 static PyObject *_wrap_ART_TIP_get() {
13985 PyObject *pyobj;
13986
13987 {
13988 #if wxUSE_UNICODE
13989 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13990 #else
13991 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13992 #endif
13993 }
13994 return pyobj;
13995 }
13996
13997
13998 static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
13999 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14000 return 1;
14001 }
14002
14003
14004 static PyObject *_wrap_ART_REPORT_VIEW_get() {
14005 PyObject *pyobj;
14006
14007 {
14008 #if wxUSE_UNICODE
14009 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14010 #else
14011 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14012 #endif
14013 }
14014 return pyobj;
14015 }
14016
14017
14018 static int _wrap_ART_LIST_VIEW_set(PyObject *) {
14019 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14020 return 1;
14021 }
14022
14023
14024 static PyObject *_wrap_ART_LIST_VIEW_get() {
14025 PyObject *pyobj;
14026
14027 {
14028 #if wxUSE_UNICODE
14029 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14030 #else
14031 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14032 #endif
14033 }
14034 return pyobj;
14035 }
14036
14037
14038 static int _wrap_ART_NEW_DIR_set(PyObject *) {
14039 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14040 return 1;
14041 }
14042
14043
14044 static PyObject *_wrap_ART_NEW_DIR_get() {
14045 PyObject *pyobj;
14046
14047 {
14048 #if wxUSE_UNICODE
14049 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14050 #else
14051 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14052 #endif
14053 }
14054 return pyobj;
14055 }
14056
14057
14058 static int _wrap_ART_FOLDER_set(PyObject *) {
14059 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14060 return 1;
14061 }
14062
14063
14064 static PyObject *_wrap_ART_FOLDER_get() {
14065 PyObject *pyobj;
14066
14067 {
14068 #if wxUSE_UNICODE
14069 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14070 #else
14071 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14072 #endif
14073 }
14074 return pyobj;
14075 }
14076
14077
14078 static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
14079 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14080 return 1;
14081 }
14082
14083
14084 static PyObject *_wrap_ART_GO_DIR_UP_get() {
14085 PyObject *pyobj;
14086
14087 {
14088 #if wxUSE_UNICODE
14089 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14090 #else
14091 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14092 #endif
14093 }
14094 return pyobj;
14095 }
14096
14097
14098 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
14099 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14100 return 1;
14101 }
14102
14103
14104 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14105 PyObject *pyobj;
14106
14107 {
14108 #if wxUSE_UNICODE
14109 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14110 #else
14111 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14112 #endif
14113 }
14114 return pyobj;
14115 }
14116
14117
14118 static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
14119 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14120 return 1;
14121 }
14122
14123
14124 static PyObject *_wrap_ART_NORMAL_FILE_get() {
14125 PyObject *pyobj;
14126
14127 {
14128 #if wxUSE_UNICODE
14129 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14130 #else
14131 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14132 #endif
14133 }
14134 return pyobj;
14135 }
14136
14137
14138 static int _wrap_ART_TICK_MARK_set(PyObject *) {
14139 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14140 return 1;
14141 }
14142
14143
14144 static PyObject *_wrap_ART_TICK_MARK_get() {
14145 PyObject *pyobj;
14146
14147 {
14148 #if wxUSE_UNICODE
14149 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14150 #else
14151 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14152 #endif
14153 }
14154 return pyobj;
14155 }
14156
14157
14158 static int _wrap_ART_CROSS_MARK_set(PyObject *) {
14159 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14160 return 1;
14161 }
14162
14163
14164 static PyObject *_wrap_ART_CROSS_MARK_get() {
14165 PyObject *pyobj;
14166
14167 {
14168 #if wxUSE_UNICODE
14169 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14170 #else
14171 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14172 #endif
14173 }
14174 return pyobj;
14175 }
14176
14177
14178 static int _wrap_ART_ERROR_set(PyObject *) {
14179 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14180 return 1;
14181 }
14182
14183
14184 static PyObject *_wrap_ART_ERROR_get() {
14185 PyObject *pyobj;
14186
14187 {
14188 #if wxUSE_UNICODE
14189 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14190 #else
14191 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14192 #endif
14193 }
14194 return pyobj;
14195 }
14196
14197
14198 static int _wrap_ART_QUESTION_set(PyObject *) {
14199 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14200 return 1;
14201 }
14202
14203
14204 static PyObject *_wrap_ART_QUESTION_get() {
14205 PyObject *pyobj;
14206
14207 {
14208 #if wxUSE_UNICODE
14209 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14210 #else
14211 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14212 #endif
14213 }
14214 return pyobj;
14215 }
14216
14217
14218 static int _wrap_ART_WARNING_set(PyObject *) {
14219 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14220 return 1;
14221 }
14222
14223
14224 static PyObject *_wrap_ART_WARNING_get() {
14225 PyObject *pyobj;
14226
14227 {
14228 #if wxUSE_UNICODE
14229 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14230 #else
14231 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14232 #endif
14233 }
14234 return pyobj;
14235 }
14236
14237
14238 static int _wrap_ART_INFORMATION_set(PyObject *) {
14239 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14240 return 1;
14241 }
14242
14243
14244 static PyObject *_wrap_ART_INFORMATION_get() {
14245 PyObject *pyobj;
14246
14247 {
14248 #if wxUSE_UNICODE
14249 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14250 #else
14251 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14252 #endif
14253 }
14254 return pyobj;
14255 }
14256
14257
14258 static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
14259 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14260 return 1;
14261 }
14262
14263
14264 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14265 PyObject *pyobj;
14266
14267 {
14268 #if wxUSE_UNICODE
14269 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14270 #else
14271 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14272 #endif
14273 }
14274 return pyobj;
14275 }
14276
14277
14278 static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14279 PyObject *resultobj;
14280 wxPyArtProvider *result;
14281 char *kwnames[] = {
14282 NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 result = (wxPyArtProvider *)new wxPyArtProvider();
14289
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14294 return resultobj;
14295 fail:
14296 return NULL;
14297 }
14298
14299
14300 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
14301 PyObject *resultobj;
14302 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14303 PyObject *arg2 = (PyObject *) 0 ;
14304 PyObject *arg3 = (PyObject *) 0 ;
14305 PyObject * obj0 = 0 ;
14306 PyObject * obj1 = 0 ;
14307 PyObject * obj2 = 0 ;
14308 char *kwnames[] = {
14309 (char *) "self",(char *) "self",(char *) "_class", NULL
14310 };
14311
14312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14315 arg2 = obj1;
14316 arg3 = obj2;
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 (arg1)->_setCallbackInfo(arg2,arg3);
14320
14321 wxPyEndAllowThreads(__tstate);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
14324 Py_INCREF(Py_None); resultobj = Py_None;
14325 return resultobj;
14326 fail:
14327 return NULL;
14328 }
14329
14330
14331 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj;
14333 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14334 PyObject * obj0 = 0 ;
14335 char *kwnames[] = {
14336 (char *) "provider", NULL
14337 };
14338
14339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14342 {
14343 PyThreadState* __tstate = wxPyBeginAllowThreads();
14344 wxPyArtProvider::PushProvider(arg1);
14345
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 Py_INCREF(Py_None); resultobj = Py_None;
14350 return resultobj;
14351 fail:
14352 return NULL;
14353 }
14354
14355
14356 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14357 PyObject *resultobj;
14358 bool result;
14359 char *kwnames[] = {
14360 NULL
14361 };
14362
14363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14364 {
14365 PyThreadState* __tstate = wxPyBeginAllowThreads();
14366 result = (bool)wxPyArtProvider::PopProvider();
14367
14368 wxPyEndAllowThreads(__tstate);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 }
14371 {
14372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14373 }
14374 return resultobj;
14375 fail:
14376 return NULL;
14377 }
14378
14379
14380 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14381 PyObject *resultobj;
14382 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14383 bool result;
14384 PyObject * obj0 = 0 ;
14385 char *kwnames[] = {
14386 (char *) "provider", NULL
14387 };
14388
14389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 {
14400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14401 }
14402 return resultobj;
14403 fail:
14404 return NULL;
14405 }
14406
14407
14408 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
14409 PyObject *resultobj;
14410 wxString *arg1 = 0 ;
14411 wxString const &arg2_defvalue = wxPyART_OTHER ;
14412 wxString *arg2 = (wxString *) &arg2_defvalue ;
14413 wxSize const &arg3_defvalue = wxDefaultSize ;
14414 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14415 wxBitmap result;
14416 bool temp1 = False ;
14417 bool temp2 = False ;
14418 wxSize temp3 ;
14419 PyObject * obj0 = 0 ;
14420 PyObject * obj1 = 0 ;
14421 PyObject * obj2 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "id",(char *) "client",(char *) "size", NULL
14424 };
14425
14426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14427 {
14428 arg1 = wxString_in_helper(obj0);
14429 if (arg1 == NULL) SWIG_fail;
14430 temp1 = True;
14431 }
14432 if (obj1) {
14433 {
14434 arg2 = wxString_in_helper(obj1);
14435 if (arg2 == NULL) SWIG_fail;
14436 temp2 = True;
14437 }
14438 }
14439 if (obj2) {
14440 {
14441 arg3 = &temp3;
14442 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14443 }
14444 }
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14448
14449 wxPyEndAllowThreads(__tstate);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
14452 {
14453 wxBitmap * resultptr;
14454 resultptr = new wxBitmap((wxBitmap &) result);
14455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14456 }
14457 {
14458 if (temp1)
14459 delete arg1;
14460 }
14461 {
14462 if (temp2)
14463 delete arg2;
14464 }
14465 return resultobj;
14466 fail:
14467 {
14468 if (temp1)
14469 delete arg1;
14470 }
14471 {
14472 if (temp2)
14473 delete arg2;
14474 }
14475 return NULL;
14476 }
14477
14478
14479 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxString *arg1 = 0 ;
14482 wxString const &arg2_defvalue = wxPyART_OTHER ;
14483 wxString *arg2 = (wxString *) &arg2_defvalue ;
14484 wxSize const &arg3_defvalue = wxDefaultSize ;
14485 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14486 wxIcon result;
14487 bool temp1 = False ;
14488 bool temp2 = False ;
14489 wxSize temp3 ;
14490 PyObject * obj0 = 0 ;
14491 PyObject * obj1 = 0 ;
14492 PyObject * obj2 = 0 ;
14493 char *kwnames[] = {
14494 (char *) "id",(char *) "client",(char *) "size", NULL
14495 };
14496
14497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14498 {
14499 arg1 = wxString_in_helper(obj0);
14500 if (arg1 == NULL) SWIG_fail;
14501 temp1 = True;
14502 }
14503 if (obj1) {
14504 {
14505 arg2 = wxString_in_helper(obj1);
14506 if (arg2 == NULL) SWIG_fail;
14507 temp2 = True;
14508 }
14509 }
14510 if (obj2) {
14511 {
14512 arg3 = &temp3;
14513 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14514 }
14515 }
14516 {
14517 PyThreadState* __tstate = wxPyBeginAllowThreads();
14518 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14519
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 {
14524 wxIcon * resultptr;
14525 resultptr = new wxIcon((wxIcon &) result);
14526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14527 }
14528 {
14529 if (temp1)
14530 delete arg1;
14531 }
14532 {
14533 if (temp2)
14534 delete arg2;
14535 }
14536 return resultobj;
14537 fail:
14538 {
14539 if (temp1)
14540 delete arg1;
14541 }
14542 {
14543 if (temp2)
14544 delete arg2;
14545 }
14546 return NULL;
14547 }
14548
14549
14550 static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
14551 PyObject *resultobj;
14552 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14553 PyObject * obj0 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14561 {
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 wxPyArtProvider_Destroy(arg1);
14564
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 Py_INCREF(Py_None); resultobj = Py_None;
14569 return resultobj;
14570 fail:
14571 return NULL;
14572 }
14573
14574
14575 static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
14576 PyObject *obj;
14577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14578 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14579 Py_INCREF(obj);
14580 return Py_BuildValue((char *)"");
14581 }
14582 static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
14583 PyObject *resultobj;
14584 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14585 PyObject * obj0 = 0 ;
14586 char *kwnames[] = {
14587 (char *) "self", NULL
14588 };
14589
14590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 delete arg1;
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 Py_INCREF(Py_None); resultobj = Py_None;
14601 return resultobj;
14602 fail:
14603 return NULL;
14604 }
14605
14606
14607 static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
14608 PyObject *resultobj;
14609 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14610 wxConfigBase *result;
14611 PyObject * obj0 = 0 ;
14612 char *kwnames[] = {
14613 (char *) "config", NULL
14614 };
14615
14616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj;
14635 bool arg1 = (bool) True ;
14636 wxConfigBase *result;
14637 PyObject * obj0 = 0 ;
14638 char *kwnames[] = {
14639 (char *) "createOnDemand", NULL
14640 };
14641
14642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14643 if (obj0) {
14644 arg1 = (bool) SWIG_AsBool(obj0);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 }
14647 {
14648 PyThreadState* __tstate = wxPyBeginAllowThreads();
14649 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14650
14651 wxPyEndAllowThreads(__tstate);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
14654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14655 return resultobj;
14656 fail:
14657 return NULL;
14658 }
14659
14660
14661 static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14662 PyObject *resultobj;
14663 wxConfigBase *result;
14664 char *kwnames[] = {
14665 NULL
14666 };
14667
14668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14669 {
14670 PyThreadState* __tstate = wxPyBeginAllowThreads();
14671 result = (wxConfigBase *)wxConfigBase::Create();
14672
14673 wxPyEndAllowThreads(__tstate);
14674 if (PyErr_Occurred()) SWIG_fail;
14675 }
14676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14677 return resultobj;
14678 fail:
14679 return NULL;
14680 }
14681
14682
14683 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
14684 PyObject *resultobj;
14685 char *kwnames[] = {
14686 NULL
14687 };
14688
14689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14690 {
14691 PyThreadState* __tstate = wxPyBeginAllowThreads();
14692 wxConfigBase::DontCreateOnDemand();
14693
14694 wxPyEndAllowThreads(__tstate);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 }
14697 Py_INCREF(Py_None); resultobj = Py_None;
14698 return resultobj;
14699 fail:
14700 return NULL;
14701 }
14702
14703
14704 static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14705 PyObject *resultobj;
14706 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14707 wxString *arg2 = 0 ;
14708 bool temp2 = False ;
14709 PyObject * obj0 = 0 ;
14710 PyObject * obj1 = 0 ;
14711 char *kwnames[] = {
14712 (char *) "self",(char *) "path", NULL
14713 };
14714
14715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14718 {
14719 arg2 = wxString_in_helper(obj1);
14720 if (arg2 == NULL) SWIG_fail;
14721 temp2 = True;
14722 }
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 (arg1)->SetPath((wxString const &)*arg2);
14726
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 Py_INCREF(Py_None); resultobj = Py_None;
14731 {
14732 if (temp2)
14733 delete arg2;
14734 }
14735 return resultobj;
14736 fail:
14737 {
14738 if (temp2)
14739 delete arg2;
14740 }
14741 return NULL;
14742 }
14743
14744
14745 static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14746 PyObject *resultobj;
14747 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14748 wxString *result;
14749 PyObject * obj0 = 0 ;
14750 char *kwnames[] = {
14751 (char *) "self", NULL
14752 };
14753
14754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 {
14760 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14761 result = (wxString *) &_result_ref;
14762 }
14763
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
14767 {
14768 #if wxUSE_UNICODE
14769 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14770 #else
14771 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14772 #endif
14773 }
14774 return resultobj;
14775 fail:
14776 return NULL;
14777 }
14778
14779
14780 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
14781 PyObject *resultobj;
14782 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14783 PyObject *result;
14784 PyObject * obj0 = 0 ;
14785 char *kwnames[] = {
14786 (char *) "self", NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 resultobj = result;
14800 return resultobj;
14801 fail:
14802 return NULL;
14803 }
14804
14805
14806 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
14807 PyObject *resultobj;
14808 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14809 long arg2 ;
14810 PyObject *result;
14811 PyObject * obj0 = 0 ;
14812 PyObject * obj1 = 0 ;
14813 char *kwnames[] = {
14814 (char *) "self",(char *) "index", NULL
14815 };
14816
14817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14820 arg2 = (long) SWIG_AsLong(obj1);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 {
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
14824 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14825
14826 wxPyEndAllowThreads(__tstate);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 resultobj = result;
14830 return resultobj;
14831 fail:
14832 return NULL;
14833 }
14834
14835
14836 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
14837 PyObject *resultobj;
14838 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14839 PyObject *result;
14840 PyObject * obj0 = 0 ;
14841 char *kwnames[] = {
14842 (char *) "self", NULL
14843 };
14844
14845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14848 {
14849 PyThreadState* __tstate = wxPyBeginAllowThreads();
14850 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14851
14852 wxPyEndAllowThreads(__tstate);
14853 if (PyErr_Occurred()) SWIG_fail;
14854 }
14855 resultobj = result;
14856 return resultobj;
14857 fail:
14858 return NULL;
14859 }
14860
14861
14862 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
14863 PyObject *resultobj;
14864 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14865 long arg2 ;
14866 PyObject *result;
14867 PyObject * obj0 = 0 ;
14868 PyObject * obj1 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self",(char *) "index", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
14874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14876 arg2 = (long) SWIG_AsLong(obj1);
14877 if (PyErr_Occurred()) SWIG_fail;
14878 {
14879 PyThreadState* __tstate = wxPyBeginAllowThreads();
14880 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14881
14882 wxPyEndAllowThreads(__tstate);
14883 if (PyErr_Occurred()) SWIG_fail;
14884 }
14885 resultobj = result;
14886 return resultobj;
14887 fail:
14888 return NULL;
14889 }
14890
14891
14892 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
14893 PyObject *resultobj;
14894 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14895 bool arg2 = (bool) False ;
14896 size_t result;
14897 PyObject * obj0 = 0 ;
14898 PyObject * obj1 = 0 ;
14899 char *kwnames[] = {
14900 (char *) "self",(char *) "recursive", NULL
14901 };
14902
14903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
14904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14906 if (obj1) {
14907 arg2 = (bool) SWIG_AsBool(obj1);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 {
14911 PyThreadState* __tstate = wxPyBeginAllowThreads();
14912 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14913
14914 wxPyEndAllowThreads(__tstate);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14918 return resultobj;
14919 fail:
14920 return NULL;
14921 }
14922
14923
14924 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
14925 PyObject *resultobj;
14926 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14927 bool arg2 = (bool) False ;
14928 size_t result;
14929 PyObject * obj0 = 0 ;
14930 PyObject * obj1 = 0 ;
14931 char *kwnames[] = {
14932 (char *) "self",(char *) "recursive", NULL
14933 };
14934
14935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
14936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14938 if (obj1) {
14939 arg2 = (bool) SWIG_AsBool(obj1);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 {
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14945
14946 wxPyEndAllowThreads(__tstate);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 }
14949 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14950 return resultobj;
14951 fail:
14952 return NULL;
14953 }
14954
14955
14956 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj;
14958 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14959 wxString *arg2 = 0 ;
14960 bool result;
14961 bool temp2 = False ;
14962 PyObject * obj0 = 0 ;
14963 PyObject * obj1 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self",(char *) "name", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
14969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14971 {
14972 arg2 = wxString_in_helper(obj1);
14973 if (arg2 == NULL) SWIG_fail;
14974 temp2 = True;
14975 }
14976 {
14977 PyThreadState* __tstate = wxPyBeginAllowThreads();
14978 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14979
14980 wxPyEndAllowThreads(__tstate);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 {
14984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14985 }
14986 {
14987 if (temp2)
14988 delete arg2;
14989 }
14990 return resultobj;
14991 fail:
14992 {
14993 if (temp2)
14994 delete arg2;
14995 }
14996 return NULL;
14997 }
14998
14999
15000 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15001 PyObject *resultobj;
15002 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15003 wxString *arg2 = 0 ;
15004 bool result;
15005 bool temp2 = False ;
15006 PyObject * obj0 = 0 ;
15007 PyObject * obj1 = 0 ;
15008 char *kwnames[] = {
15009 (char *) "self",(char *) "name", NULL
15010 };
15011
15012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15015 {
15016 arg2 = wxString_in_helper(obj1);
15017 if (arg2 == NULL) SWIG_fail;
15018 temp2 = True;
15019 }
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 {
15028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15029 }
15030 {
15031 if (temp2)
15032 delete arg2;
15033 }
15034 return resultobj;
15035 fail:
15036 {
15037 if (temp2)
15038 delete arg2;
15039 }
15040 return NULL;
15041 }
15042
15043
15044 static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
15045 PyObject *resultobj;
15046 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15047 wxString *arg2 = 0 ;
15048 bool result;
15049 bool temp2 = False ;
15050 PyObject * obj0 = 0 ;
15051 PyObject * obj1 = 0 ;
15052 char *kwnames[] = {
15053 (char *) "self",(char *) "name", NULL
15054 };
15055
15056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15059 {
15060 arg2 = wxString_in_helper(obj1);
15061 if (arg2 == NULL) SWIG_fail;
15062 temp2 = True;
15063 }
15064 {
15065 PyThreadState* __tstate = wxPyBeginAllowThreads();
15066 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15067
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 {
15072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15073 }
15074 {
15075 if (temp2)
15076 delete arg2;
15077 }
15078 return resultobj;
15079 fail:
15080 {
15081 if (temp2)
15082 delete arg2;
15083 }
15084 return NULL;
15085 }
15086
15087
15088 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
15089 PyObject *resultobj;
15090 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15091 wxString *arg2 = 0 ;
15092 int result;
15093 bool temp2 = False ;
15094 PyObject * obj0 = 0 ;
15095 PyObject * obj1 = 0 ;
15096 char *kwnames[] = {
15097 (char *) "self",(char *) "name", NULL
15098 };
15099
15100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15103 {
15104 arg2 = wxString_in_helper(obj1);
15105 if (arg2 == NULL) SWIG_fail;
15106 temp2 = True;
15107 }
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 resultobj = SWIG_FromInt((int)result);
15116 {
15117 if (temp2)
15118 delete arg2;
15119 }
15120 return resultobj;
15121 fail:
15122 {
15123 if (temp2)
15124 delete arg2;
15125 }
15126 return NULL;
15127 }
15128
15129
15130 static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
15131 PyObject *resultobj;
15132 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15133 wxString *arg2 = 0 ;
15134 wxString const &arg3_defvalue = wxPyEmptyString ;
15135 wxString *arg3 = (wxString *) &arg3_defvalue ;
15136 wxString result;
15137 bool temp2 = False ;
15138 bool temp3 = False ;
15139 PyObject * obj0 = 0 ;
15140 PyObject * obj1 = 0 ;
15141 PyObject * obj2 = 0 ;
15142 char *kwnames[] = {
15143 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15149 {
15150 arg2 = wxString_in_helper(obj1);
15151 if (arg2 == NULL) SWIG_fail;
15152 temp2 = True;
15153 }
15154 if (obj2) {
15155 {
15156 arg3 = wxString_in_helper(obj2);
15157 if (arg3 == NULL) SWIG_fail;
15158 temp3 = True;
15159 }
15160 }
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15164
15165 wxPyEndAllowThreads(__tstate);
15166 if (PyErr_Occurred()) SWIG_fail;
15167 }
15168 {
15169 #if wxUSE_UNICODE
15170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15171 #else
15172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15173 #endif
15174 }
15175 {
15176 if (temp2)
15177 delete arg2;
15178 }
15179 {
15180 if (temp3)
15181 delete arg3;
15182 }
15183 return resultobj;
15184 fail:
15185 {
15186 if (temp2)
15187 delete arg2;
15188 }
15189 {
15190 if (temp3)
15191 delete arg3;
15192 }
15193 return NULL;
15194 }
15195
15196
15197 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
15198 PyObject *resultobj;
15199 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15200 wxString *arg2 = 0 ;
15201 long arg3 = (long) 0 ;
15202 long result;
15203 bool temp2 = False ;
15204 PyObject * obj0 = 0 ;
15205 PyObject * obj1 = 0 ;
15206 PyObject * obj2 = 0 ;
15207 char *kwnames[] = {
15208 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15209 };
15210
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15214 {
15215 arg2 = wxString_in_helper(obj1);
15216 if (arg2 == NULL) SWIG_fail;
15217 temp2 = True;
15218 }
15219 if (obj2) {
15220 arg3 = (long) SWIG_AsLong(obj2);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15226
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 resultobj = SWIG_FromLong((long)result);
15231 {
15232 if (temp2)
15233 delete arg2;
15234 }
15235 return resultobj;
15236 fail:
15237 {
15238 if (temp2)
15239 delete arg2;
15240 }
15241 return NULL;
15242 }
15243
15244
15245 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
15246 PyObject *resultobj;
15247 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15248 wxString *arg2 = 0 ;
15249 double arg3 = (double) 0.0 ;
15250 double result;
15251 bool temp2 = False ;
15252 PyObject * obj0 = 0 ;
15253 PyObject * obj1 = 0 ;
15254 PyObject * obj2 = 0 ;
15255 char *kwnames[] = {
15256 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15262 {
15263 arg2 = wxString_in_helper(obj1);
15264 if (arg2 == NULL) SWIG_fail;
15265 temp2 = True;
15266 }
15267 if (obj2) {
15268 arg3 = (double) SWIG_AsDouble(obj2);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 {
15272 PyThreadState* __tstate = wxPyBeginAllowThreads();
15273 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15274
15275 wxPyEndAllowThreads(__tstate);
15276 if (PyErr_Occurred()) SWIG_fail;
15277 }
15278 resultobj = SWIG_FromDouble((double)result);
15279 {
15280 if (temp2)
15281 delete arg2;
15282 }
15283 return resultobj;
15284 fail:
15285 {
15286 if (temp2)
15287 delete arg2;
15288 }
15289 return NULL;
15290 }
15291
15292
15293 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
15294 PyObject *resultobj;
15295 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15296 wxString *arg2 = 0 ;
15297 bool arg3 = (bool) False ;
15298 bool result;
15299 bool temp2 = False ;
15300 PyObject * obj0 = 0 ;
15301 PyObject * obj1 = 0 ;
15302 PyObject * obj2 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15310 {
15311 arg2 = wxString_in_helper(obj1);
15312 if (arg2 == NULL) SWIG_fail;
15313 temp2 = True;
15314 }
15315 if (obj2) {
15316 arg3 = (bool) SWIG_AsBool(obj2);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15322
15323 wxPyEndAllowThreads(__tstate);
15324 if (PyErr_Occurred()) SWIG_fail;
15325 }
15326 {
15327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15328 }
15329 {
15330 if (temp2)
15331 delete arg2;
15332 }
15333 return resultobj;
15334 fail:
15335 {
15336 if (temp2)
15337 delete arg2;
15338 }
15339 return NULL;
15340 }
15341
15342
15343 static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
15344 PyObject *resultobj;
15345 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15346 wxString *arg2 = 0 ;
15347 wxString *arg3 = 0 ;
15348 bool result;
15349 bool temp2 = False ;
15350 bool temp3 = False ;
15351 PyObject * obj0 = 0 ;
15352 PyObject * obj1 = 0 ;
15353 PyObject * obj2 = 0 ;
15354 char *kwnames[] = {
15355 (char *) "self",(char *) "key",(char *) "value", NULL
15356 };
15357
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15361 {
15362 arg2 = wxString_in_helper(obj1);
15363 if (arg2 == NULL) SWIG_fail;
15364 temp2 = True;
15365 }
15366 {
15367 arg3 = wxString_in_helper(obj2);
15368 if (arg3 == NULL) SWIG_fail;
15369 temp3 = True;
15370 }
15371 {
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15374
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
15378 {
15379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15380 }
15381 {
15382 if (temp2)
15383 delete arg2;
15384 }
15385 {
15386 if (temp3)
15387 delete arg3;
15388 }
15389 return resultobj;
15390 fail:
15391 {
15392 if (temp2)
15393 delete arg2;
15394 }
15395 {
15396 if (temp3)
15397 delete arg3;
15398 }
15399 return NULL;
15400 }
15401
15402
15403 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
15404 PyObject *resultobj;
15405 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15406 wxString *arg2 = 0 ;
15407 long arg3 ;
15408 bool result;
15409 bool temp2 = False ;
15410 PyObject * obj0 = 0 ;
15411 PyObject * obj1 = 0 ;
15412 PyObject * obj2 = 0 ;
15413 char *kwnames[] = {
15414 (char *) "self",(char *) "key",(char *) "value", NULL
15415 };
15416
15417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15420 {
15421 arg2 = wxString_in_helper(obj1);
15422 if (arg2 == NULL) SWIG_fail;
15423 temp2 = True;
15424 }
15425 arg3 = (long) SWIG_AsLong(obj2);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 {
15428 PyThreadState* __tstate = wxPyBeginAllowThreads();
15429 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15430
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 {
15435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15436 }
15437 {
15438 if (temp2)
15439 delete arg2;
15440 }
15441 return resultobj;
15442 fail:
15443 {
15444 if (temp2)
15445 delete arg2;
15446 }
15447 return NULL;
15448 }
15449
15450
15451 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
15452 PyObject *resultobj;
15453 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15454 wxString *arg2 = 0 ;
15455 double arg3 ;
15456 bool result;
15457 bool temp2 = False ;
15458 PyObject * obj0 = 0 ;
15459 PyObject * obj1 = 0 ;
15460 PyObject * obj2 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "self",(char *) "key",(char *) "value", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15468 {
15469 arg2 = wxString_in_helper(obj1);
15470 if (arg2 == NULL) SWIG_fail;
15471 temp2 = True;
15472 }
15473 arg3 = (double) SWIG_AsDouble(obj2);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 {
15476 PyThreadState* __tstate = wxPyBeginAllowThreads();
15477 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15478
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 {
15483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15484 }
15485 {
15486 if (temp2)
15487 delete arg2;
15488 }
15489 return resultobj;
15490 fail:
15491 {
15492 if (temp2)
15493 delete arg2;
15494 }
15495 return NULL;
15496 }
15497
15498
15499 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
15500 PyObject *resultobj;
15501 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15502 wxString *arg2 = 0 ;
15503 bool arg3 ;
15504 bool result;
15505 bool temp2 = False ;
15506 PyObject * obj0 = 0 ;
15507 PyObject * obj1 = 0 ;
15508 PyObject * obj2 = 0 ;
15509 char *kwnames[] = {
15510 (char *) "self",(char *) "key",(char *) "value", NULL
15511 };
15512
15513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15516 {
15517 arg2 = wxString_in_helper(obj1);
15518 if (arg2 == NULL) SWIG_fail;
15519 temp2 = True;
15520 }
15521 arg3 = (bool) SWIG_AsBool(obj2);
15522 if (PyErr_Occurred()) SWIG_fail;
15523 {
15524 PyThreadState* __tstate = wxPyBeginAllowThreads();
15525 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15526
15527 wxPyEndAllowThreads(__tstate);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 }
15530 {
15531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15532 }
15533 {
15534 if (temp2)
15535 delete arg2;
15536 }
15537 return resultobj;
15538 fail:
15539 {
15540 if (temp2)
15541 delete arg2;
15542 }
15543 return NULL;
15544 }
15545
15546
15547 static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
15548 PyObject *resultobj;
15549 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15550 bool arg2 = (bool) False ;
15551 bool result;
15552 PyObject * obj0 = 0 ;
15553 PyObject * obj1 = 0 ;
15554 char *kwnames[] = {
15555 (char *) "self",(char *) "currentOnly", NULL
15556 };
15557
15558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15561 if (obj1) {
15562 arg2 = (bool) SWIG_AsBool(obj1);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
15565 {
15566 PyThreadState* __tstate = wxPyBeginAllowThreads();
15567 result = (bool)(arg1)->Flush(arg2);
15568
15569 wxPyEndAllowThreads(__tstate);
15570 if (PyErr_Occurred()) SWIG_fail;
15571 }
15572 {
15573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15574 }
15575 return resultobj;
15576 fail:
15577 return NULL;
15578 }
15579
15580
15581 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15582 PyObject *resultobj;
15583 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15584 wxString *arg2 = 0 ;
15585 wxString *arg3 = 0 ;
15586 bool result;
15587 bool temp2 = False ;
15588 bool temp3 = False ;
15589 PyObject * obj0 = 0 ;
15590 PyObject * obj1 = 0 ;
15591 PyObject * obj2 = 0 ;
15592 char *kwnames[] = {
15593 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15594 };
15595
15596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15599 {
15600 arg2 = wxString_in_helper(obj1);
15601 if (arg2 == NULL) SWIG_fail;
15602 temp2 = True;
15603 }
15604 {
15605 arg3 = wxString_in_helper(obj2);
15606 if (arg3 == NULL) SWIG_fail;
15607 temp3 = True;
15608 }
15609 {
15610 PyThreadState* __tstate = wxPyBeginAllowThreads();
15611 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15612
15613 wxPyEndAllowThreads(__tstate);
15614 if (PyErr_Occurred()) SWIG_fail;
15615 }
15616 {
15617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15618 }
15619 {
15620 if (temp2)
15621 delete arg2;
15622 }
15623 {
15624 if (temp3)
15625 delete arg3;
15626 }
15627 return resultobj;
15628 fail:
15629 {
15630 if (temp2)
15631 delete arg2;
15632 }
15633 {
15634 if (temp3)
15635 delete arg3;
15636 }
15637 return NULL;
15638 }
15639
15640
15641 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
15642 PyObject *resultobj;
15643 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15644 wxString *arg2 = 0 ;
15645 wxString *arg3 = 0 ;
15646 bool result;
15647 bool temp2 = False ;
15648 bool temp3 = False ;
15649 PyObject * obj0 = 0 ;
15650 PyObject * obj1 = 0 ;
15651 PyObject * obj2 = 0 ;
15652 char *kwnames[] = {
15653 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15654 };
15655
15656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15659 {
15660 arg2 = wxString_in_helper(obj1);
15661 if (arg2 == NULL) SWIG_fail;
15662 temp2 = True;
15663 }
15664 {
15665 arg3 = wxString_in_helper(obj2);
15666 if (arg3 == NULL) SWIG_fail;
15667 temp3 = True;
15668 }
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
15671 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 {
15677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15678 }
15679 {
15680 if (temp2)
15681 delete arg2;
15682 }
15683 {
15684 if (temp3)
15685 delete arg3;
15686 }
15687 return resultobj;
15688 fail:
15689 {
15690 if (temp2)
15691 delete arg2;
15692 }
15693 {
15694 if (temp3)
15695 delete arg3;
15696 }
15697 return NULL;
15698 }
15699
15700
15701 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15702 PyObject *resultobj;
15703 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15704 wxString *arg2 = 0 ;
15705 bool arg3 = (bool) True ;
15706 bool result;
15707 bool temp2 = False ;
15708 PyObject * obj0 = 0 ;
15709 PyObject * obj1 = 0 ;
15710 PyObject * obj2 = 0 ;
15711 char *kwnames[] = {
15712 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15713 };
15714
15715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15718 {
15719 arg2 = wxString_in_helper(obj1);
15720 if (arg2 == NULL) SWIG_fail;
15721 temp2 = True;
15722 }
15723 if (obj2) {
15724 arg3 = (bool) SWIG_AsBool(obj2);
15725 if (PyErr_Occurred()) SWIG_fail;
15726 }
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 {
15735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15736 }
15737 {
15738 if (temp2)
15739 delete arg2;
15740 }
15741 return resultobj;
15742 fail:
15743 {
15744 if (temp2)
15745 delete arg2;
15746 }
15747 return NULL;
15748 }
15749
15750
15751 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
15752 PyObject *resultobj;
15753 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15754 wxString *arg2 = 0 ;
15755 bool result;
15756 bool temp2 = False ;
15757 PyObject * obj0 = 0 ;
15758 PyObject * obj1 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self",(char *) "key", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15766 {
15767 arg2 = wxString_in_helper(obj1);
15768 if (arg2 == NULL) SWIG_fail;
15769 temp2 = True;
15770 }
15771 {
15772 PyThreadState* __tstate = wxPyBeginAllowThreads();
15773 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15774
15775 wxPyEndAllowThreads(__tstate);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 {
15779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15780 }
15781 {
15782 if (temp2)
15783 delete arg2;
15784 }
15785 return resultobj;
15786 fail:
15787 {
15788 if (temp2)
15789 delete arg2;
15790 }
15791 return NULL;
15792 }
15793
15794
15795 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
15796 PyObject *resultobj;
15797 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15798 bool result;
15799 PyObject * obj0 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 result = (bool)(arg1)->DeleteAll();
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 {
15815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15816 }
15817 return resultobj;
15818 fail:
15819 return NULL;
15820 }
15821
15822
15823 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
15824 PyObject *resultobj;
15825 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15826 bool arg2 = (bool) True ;
15827 PyObject * obj0 = 0 ;
15828 PyObject * obj1 = 0 ;
15829 char *kwnames[] = {
15830 (char *) "self",(char *) "doIt", NULL
15831 };
15832
15833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15836 if (obj1) {
15837 arg2 = (bool) SWIG_AsBool(obj1);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 (arg1)->SetExpandEnvVars(arg2);
15843
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 Py_INCREF(Py_None); resultobj = Py_None;
15848 return resultobj;
15849 fail:
15850 return NULL;
15851 }
15852
15853
15854 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
15855 PyObject *resultobj;
15856 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15857 bool result;
15858 PyObject * obj0 = 0 ;
15859 char *kwnames[] = {
15860 (char *) "self", NULL
15861 };
15862
15863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15866 {
15867 PyThreadState* __tstate = wxPyBeginAllowThreads();
15868 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
15869
15870 wxPyEndAllowThreads(__tstate);
15871 if (PyErr_Occurred()) SWIG_fail;
15872 }
15873 {
15874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15875 }
15876 return resultobj;
15877 fail:
15878 return NULL;
15879 }
15880
15881
15882 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
15883 PyObject *resultobj;
15884 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15885 bool arg2 = (bool) True ;
15886 PyObject * obj0 = 0 ;
15887 PyObject * obj1 = 0 ;
15888 char *kwnames[] = {
15889 (char *) "self",(char *) "doIt", NULL
15890 };
15891
15892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15895 if (obj1) {
15896 arg2 = (bool) SWIG_AsBool(obj1);
15897 if (PyErr_Occurred()) SWIG_fail;
15898 }
15899 {
15900 PyThreadState* __tstate = wxPyBeginAllowThreads();
15901 (arg1)->SetRecordDefaults(arg2);
15902
15903 wxPyEndAllowThreads(__tstate);
15904 if (PyErr_Occurred()) SWIG_fail;
15905 }
15906 Py_INCREF(Py_None); resultobj = Py_None;
15907 return resultobj;
15908 fail:
15909 return NULL;
15910 }
15911
15912
15913 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
15914 PyObject *resultobj;
15915 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15916 bool result;
15917 PyObject * obj0 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "self", NULL
15920 };
15921
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
15923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15925 {
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15928
15929 wxPyEndAllowThreads(__tstate);
15930 if (PyErr_Occurred()) SWIG_fail;
15931 }
15932 {
15933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15934 }
15935 return resultobj;
15936 fail:
15937 return NULL;
15938 }
15939
15940
15941 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
15942 PyObject *resultobj;
15943 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15944 wxString *arg2 = 0 ;
15945 wxString result;
15946 bool temp2 = False ;
15947 PyObject * obj0 = 0 ;
15948 PyObject * obj1 = 0 ;
15949 char *kwnames[] = {
15950 (char *) "self",(char *) "str", NULL
15951 };
15952
15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15956 {
15957 arg2 = wxString_in_helper(obj1);
15958 if (arg2 == NULL) SWIG_fail;
15959 temp2 = True;
15960 }
15961 {
15962 PyThreadState* __tstate = wxPyBeginAllowThreads();
15963 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15964
15965 wxPyEndAllowThreads(__tstate);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 }
15968 {
15969 #if wxUSE_UNICODE
15970 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15971 #else
15972 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15973 #endif
15974 }
15975 {
15976 if (temp2)
15977 delete arg2;
15978 }
15979 return resultobj;
15980 fail:
15981 {
15982 if (temp2)
15983 delete arg2;
15984 }
15985 return NULL;
15986 }
15987
15988
15989 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
15990 PyObject *resultobj;
15991 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15992 wxString result;
15993 PyObject * obj0 = 0 ;
15994 char *kwnames[] = {
15995 (char *) "self", NULL
15996 };
15997
15998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
15999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16001 {
16002 PyThreadState* __tstate = wxPyBeginAllowThreads();
16003 result = ((wxConfigBase const *)arg1)->GetAppName();
16004
16005 wxPyEndAllowThreads(__tstate);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 }
16008 {
16009 #if wxUSE_UNICODE
16010 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16011 #else
16012 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16013 #endif
16014 }
16015 return resultobj;
16016 fail:
16017 return NULL;
16018 }
16019
16020
16021 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
16022 PyObject *resultobj;
16023 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16024 wxString result;
16025 PyObject * obj0 = 0 ;
16026 char *kwnames[] = {
16027 (char *) "self", NULL
16028 };
16029
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16033 {
16034 PyThreadState* __tstate = wxPyBeginAllowThreads();
16035 result = ((wxConfigBase const *)arg1)->GetVendorName();
16036
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 {
16041 #if wxUSE_UNICODE
16042 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16043 #else
16044 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16045 #endif
16046 }
16047 return resultobj;
16048 fail:
16049 return NULL;
16050 }
16051
16052
16053 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16056 wxString *arg2 = 0 ;
16057 bool temp2 = False ;
16058 PyObject * obj0 = 0 ;
16059 PyObject * obj1 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "self",(char *) "appName", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16067 {
16068 arg2 = wxString_in_helper(obj1);
16069 if (arg2 == NULL) SWIG_fail;
16070 temp2 = True;
16071 }
16072 {
16073 PyThreadState* __tstate = wxPyBeginAllowThreads();
16074 (arg1)->SetAppName((wxString const &)*arg2);
16075
16076 wxPyEndAllowThreads(__tstate);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 }
16079 Py_INCREF(Py_None); resultobj = Py_None;
16080 {
16081 if (temp2)
16082 delete arg2;
16083 }
16084 return resultobj;
16085 fail:
16086 {
16087 if (temp2)
16088 delete arg2;
16089 }
16090 return NULL;
16091 }
16092
16093
16094 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
16095 PyObject *resultobj;
16096 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16097 wxString *arg2 = 0 ;
16098 bool temp2 = False ;
16099 PyObject * obj0 = 0 ;
16100 PyObject * obj1 = 0 ;
16101 char *kwnames[] = {
16102 (char *) "self",(char *) "vendorName", NULL
16103 };
16104
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16108 {
16109 arg2 = wxString_in_helper(obj1);
16110 if (arg2 == NULL) SWIG_fail;
16111 temp2 = True;
16112 }
16113 {
16114 PyThreadState* __tstate = wxPyBeginAllowThreads();
16115 (arg1)->SetVendorName((wxString const &)*arg2);
16116
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
16120 Py_INCREF(Py_None); resultobj = Py_None;
16121 {
16122 if (temp2)
16123 delete arg2;
16124 }
16125 return resultobj;
16126 fail:
16127 {
16128 if (temp2)
16129 delete arg2;
16130 }
16131 return NULL;
16132 }
16133
16134
16135 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16136 PyObject *resultobj;
16137 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16138 long arg2 ;
16139 PyObject * obj0 = 0 ;
16140 PyObject * obj1 = 0 ;
16141 char *kwnames[] = {
16142 (char *) "self",(char *) "style", NULL
16143 };
16144
16145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16148 arg2 = (long) SWIG_AsLong(obj1);
16149 if (PyErr_Occurred()) SWIG_fail;
16150 {
16151 PyThreadState* __tstate = wxPyBeginAllowThreads();
16152 (arg1)->SetStyle(arg2);
16153
16154 wxPyEndAllowThreads(__tstate);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 }
16157 Py_INCREF(Py_None); resultobj = Py_None;
16158 return resultobj;
16159 fail:
16160 return NULL;
16161 }
16162
16163
16164 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16167 long result;
16168 PyObject * obj0 = 0 ;
16169 char *kwnames[] = {
16170 (char *) "self", NULL
16171 };
16172
16173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16176 {
16177 PyThreadState* __tstate = wxPyBeginAllowThreads();
16178 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 resultobj = SWIG_FromLong((long)result);
16184 return resultobj;
16185 fail:
16186 return NULL;
16187 }
16188
16189
16190 static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
16191 PyObject *obj;
16192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16193 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16194 Py_INCREF(obj);
16195 return Py_BuildValue((char *)"");
16196 }
16197 static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
16198 PyObject *resultobj;
16199 wxString const &arg1_defvalue = wxPyEmptyString ;
16200 wxString *arg1 = (wxString *) &arg1_defvalue ;
16201 wxString const &arg2_defvalue = wxPyEmptyString ;
16202 wxString *arg2 = (wxString *) &arg2_defvalue ;
16203 wxString const &arg3_defvalue = wxPyEmptyString ;
16204 wxString *arg3 = (wxString *) &arg3_defvalue ;
16205 wxString const &arg4_defvalue = wxPyEmptyString ;
16206 wxString *arg4 = (wxString *) &arg4_defvalue ;
16207 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16208 wxConfig *result;
16209 bool temp1 = False ;
16210 bool temp2 = False ;
16211 bool temp3 = False ;
16212 bool temp4 = False ;
16213 PyObject * obj0 = 0 ;
16214 PyObject * obj1 = 0 ;
16215 PyObject * obj2 = 0 ;
16216 PyObject * obj3 = 0 ;
16217 PyObject * obj4 = 0 ;
16218 char *kwnames[] = {
16219 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16220 };
16221
16222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16223 if (obj0) {
16224 {
16225 arg1 = wxString_in_helper(obj0);
16226 if (arg1 == NULL) SWIG_fail;
16227 temp1 = True;
16228 }
16229 }
16230 if (obj1) {
16231 {
16232 arg2 = wxString_in_helper(obj1);
16233 if (arg2 == NULL) SWIG_fail;
16234 temp2 = True;
16235 }
16236 }
16237 if (obj2) {
16238 {
16239 arg3 = wxString_in_helper(obj2);
16240 if (arg3 == NULL) SWIG_fail;
16241 temp3 = True;
16242 }
16243 }
16244 if (obj3) {
16245 {
16246 arg4 = wxString_in_helper(obj3);
16247 if (arg4 == NULL) SWIG_fail;
16248 temp4 = True;
16249 }
16250 }
16251 if (obj4) {
16252 arg5 = (long) SWIG_AsLong(obj4);
16253 if (PyErr_Occurred()) SWIG_fail;
16254 }
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16263 {
16264 if (temp1)
16265 delete arg1;
16266 }
16267 {
16268 if (temp2)
16269 delete arg2;
16270 }
16271 {
16272 if (temp3)
16273 delete arg3;
16274 }
16275 {
16276 if (temp4)
16277 delete arg4;
16278 }
16279 return resultobj;
16280 fail:
16281 {
16282 if (temp1)
16283 delete arg1;
16284 }
16285 {
16286 if (temp2)
16287 delete arg2;
16288 }
16289 {
16290 if (temp3)
16291 delete arg3;
16292 }
16293 {
16294 if (temp4)
16295 delete arg4;
16296 }
16297 return NULL;
16298 }
16299
16300
16301 static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
16302 PyObject *resultobj;
16303 wxConfig *arg1 = (wxConfig *) 0 ;
16304 PyObject * obj0 = 0 ;
16305 char *kwnames[] = {
16306 (char *) "self", NULL
16307 };
16308
16309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16312 {
16313 PyThreadState* __tstate = wxPyBeginAllowThreads();
16314 delete arg1;
16315
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
16319 Py_INCREF(Py_None); resultobj = Py_None;
16320 return resultobj;
16321 fail:
16322 return NULL;
16323 }
16324
16325
16326 static PyObject * Config_swigregister(PyObject *, PyObject *args) {
16327 PyObject *obj;
16328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16329 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16330 Py_INCREF(obj);
16331 return Py_BuildValue((char *)"");
16332 }
16333 static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
16334 PyObject *resultobj;
16335 wxString const &arg1_defvalue = wxPyEmptyString ;
16336 wxString *arg1 = (wxString *) &arg1_defvalue ;
16337 wxString const &arg2_defvalue = wxPyEmptyString ;
16338 wxString *arg2 = (wxString *) &arg2_defvalue ;
16339 wxString const &arg3_defvalue = wxPyEmptyString ;
16340 wxString *arg3 = (wxString *) &arg3_defvalue ;
16341 wxString const &arg4_defvalue = wxPyEmptyString ;
16342 wxString *arg4 = (wxString *) &arg4_defvalue ;
16343 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16344 wxFileConfig *result;
16345 bool temp1 = False ;
16346 bool temp2 = False ;
16347 bool temp3 = False ;
16348 bool temp4 = False ;
16349 PyObject * obj0 = 0 ;
16350 PyObject * obj1 = 0 ;
16351 PyObject * obj2 = 0 ;
16352 PyObject * obj3 = 0 ;
16353 PyObject * obj4 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16359 if (obj0) {
16360 {
16361 arg1 = wxString_in_helper(obj0);
16362 if (arg1 == NULL) SWIG_fail;
16363 temp1 = True;
16364 }
16365 }
16366 if (obj1) {
16367 {
16368 arg2 = wxString_in_helper(obj1);
16369 if (arg2 == NULL) SWIG_fail;
16370 temp2 = True;
16371 }
16372 }
16373 if (obj2) {
16374 {
16375 arg3 = wxString_in_helper(obj2);
16376 if (arg3 == NULL) SWIG_fail;
16377 temp3 = True;
16378 }
16379 }
16380 if (obj3) {
16381 {
16382 arg4 = wxString_in_helper(obj3);
16383 if (arg4 == NULL) SWIG_fail;
16384 temp4 = True;
16385 }
16386 }
16387 if (obj4) {
16388 arg5 = (long) SWIG_AsLong(obj4);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 {
16392 PyThreadState* __tstate = wxPyBeginAllowThreads();
16393 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16394
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
16398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16399 {
16400 if (temp1)
16401 delete arg1;
16402 }
16403 {
16404 if (temp2)
16405 delete arg2;
16406 }
16407 {
16408 if (temp3)
16409 delete arg3;
16410 }
16411 {
16412 if (temp4)
16413 delete arg4;
16414 }
16415 return resultobj;
16416 fail:
16417 {
16418 if (temp1)
16419 delete arg1;
16420 }
16421 {
16422 if (temp2)
16423 delete arg2;
16424 }
16425 {
16426 if (temp3)
16427 delete arg3;
16428 }
16429 {
16430 if (temp4)
16431 delete arg4;
16432 }
16433 return NULL;
16434 }
16435
16436
16437 static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16440 PyObject * obj0 = 0 ;
16441 char *kwnames[] = {
16442 (char *) "self", NULL
16443 };
16444
16445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 delete arg1;
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 Py_INCREF(Py_None); resultobj = Py_None;
16456 return resultobj;
16457 fail:
16458 return NULL;
16459 }
16460
16461
16462 static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
16463 PyObject *obj;
16464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16465 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16466 Py_INCREF(obj);
16467 return Py_BuildValue((char *)"");
16468 }
16469 static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
16470 PyObject *resultobj;
16471 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16472 wxString *arg2 = 0 ;
16473 wxConfigPathChanger *result;
16474 bool temp2 = False ;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "config",(char *) "entry", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16484 {
16485 arg2 = wxString_in_helper(obj1);
16486 if (arg2 == NULL) SWIG_fail;
16487 temp2 = True;
16488 }
16489 {
16490 PyThreadState* __tstate = wxPyBeginAllowThreads();
16491 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16492
16493 wxPyEndAllowThreads(__tstate);
16494 if (PyErr_Occurred()) SWIG_fail;
16495 }
16496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16497 {
16498 if (temp2)
16499 delete arg2;
16500 }
16501 return resultobj;
16502 fail:
16503 {
16504 if (temp2)
16505 delete arg2;
16506 }
16507 return NULL;
16508 }
16509
16510
16511 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
16512 PyObject *resultobj;
16513 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16514 PyObject * obj0 = 0 ;
16515 char *kwnames[] = {
16516 (char *) "self", NULL
16517 };
16518
16519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16522 {
16523 PyThreadState* __tstate = wxPyBeginAllowThreads();
16524 delete arg1;
16525
16526 wxPyEndAllowThreads(__tstate);
16527 if (PyErr_Occurred()) SWIG_fail;
16528 }
16529 Py_INCREF(Py_None); resultobj = Py_None;
16530 return resultobj;
16531 fail:
16532 return NULL;
16533 }
16534
16535
16536 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
16537 PyObject *resultobj;
16538 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16539 wxString *result;
16540 PyObject * obj0 = 0 ;
16541 char *kwnames[] = {
16542 (char *) "self", NULL
16543 };
16544
16545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 {
16551 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16552 result = (wxString *) &_result_ref;
16553 }
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 {
16559 #if wxUSE_UNICODE
16560 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16561 #else
16562 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16563 #endif
16564 }
16565 return resultobj;
16566 fail:
16567 return NULL;
16568 }
16569
16570
16571 static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
16572 PyObject *obj;
16573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16574 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16575 Py_INCREF(obj);
16576 return Py_BuildValue((char *)"");
16577 }
16578 static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxString *arg1 = 0 ;
16581 wxString result;
16582 bool temp1 = False ;
16583 PyObject * obj0 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "sz", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16589 {
16590 arg1 = wxString_in_helper(obj0);
16591 if (arg1 == NULL) SWIG_fail;
16592 temp1 = True;
16593 }
16594 {
16595 PyThreadState* __tstate = wxPyBeginAllowThreads();
16596 result = wxExpandEnvVars((wxString const &)*arg1);
16597
16598 wxPyEndAllowThreads(__tstate);
16599 if (PyErr_Occurred()) SWIG_fail;
16600 }
16601 {
16602 #if wxUSE_UNICODE
16603 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16604 #else
16605 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16606 #endif
16607 }
16608 {
16609 if (temp1)
16610 delete arg1;
16611 }
16612 return resultobj;
16613 fail:
16614 {
16615 if (temp1)
16616 delete arg1;
16617 }
16618 return NULL;
16619 }
16620
16621
16622 static int _wrap_DateFormatStr_set(PyObject *) {
16623 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16624 return 1;
16625 }
16626
16627
16628 static PyObject *_wrap_DateFormatStr_get() {
16629 PyObject *pyobj;
16630
16631 {
16632 #if wxUSE_UNICODE
16633 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16634 #else
16635 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16636 #endif
16637 }
16638 return pyobj;
16639 }
16640
16641
16642 static int _wrap_TimeSpanFormatStr_set(PyObject *) {
16643 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16644 return 1;
16645 }
16646
16647
16648 static PyObject *_wrap_TimeSpanFormatStr_get() {
16649 PyObject *pyobj;
16650
16651 {
16652 #if wxUSE_UNICODE
16653 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16654 #else
16655 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16656 #endif
16657 }
16658 return pyobj;
16659 }
16660
16661
16662 static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj;
16664 int arg1 ;
16665 PyObject * obj0 = 0 ;
16666 char *kwnames[] = {
16667 (char *) "country", NULL
16668 };
16669
16670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16671 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 {
16674 PyThreadState* __tstate = wxPyBeginAllowThreads();
16675 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16676
16677 wxPyEndAllowThreads(__tstate);
16678 if (PyErr_Occurred()) SWIG_fail;
16679 }
16680 Py_INCREF(Py_None); resultobj = Py_None;
16681 return resultobj;
16682 fail:
16683 return NULL;
16684 }
16685
16686
16687 static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
16688 PyObject *resultobj;
16689 int result;
16690 char *kwnames[] = {
16691 NULL
16692 };
16693
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16695 {
16696 PyThreadState* __tstate = wxPyBeginAllowThreads();
16697 result = (int)wxDateTime::GetCountry();
16698
16699 wxPyEndAllowThreads(__tstate);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
16702 resultobj = SWIG_FromInt((int)result);
16703 return resultobj;
16704 fail:
16705 return NULL;
16706 }
16707
16708
16709 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
16710 PyObject *resultobj;
16711 int arg1 = (int) wxDateTime::Country_Default ;
16712 bool result;
16713 PyObject * obj0 = 0 ;
16714 char *kwnames[] = {
16715 (char *) "country", NULL
16716 };
16717
16718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16719 if (obj0) {
16720 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16721 if (PyErr_Occurred()) SWIG_fail;
16722 }
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16726
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 {
16731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16732 }
16733 return resultobj;
16734 fail:
16735 return NULL;
16736 }
16737
16738
16739 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
16740 PyObject *resultobj;
16741 int arg1 = (int) wxDateTime::Gregorian ;
16742 int result;
16743 PyObject * obj0 = 0 ;
16744 char *kwnames[] = {
16745 (char *) "cal", NULL
16746 };
16747
16748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16749 if (obj0) {
16750 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 }
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16756
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 resultobj = SWIG_FromInt((int)result);
16761 return resultobj;
16762 fail:
16763 return NULL;
16764 }
16765
16766
16767 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
16768 PyObject *resultobj;
16769 int arg1 ;
16770 int result;
16771 PyObject * obj0 = 0 ;
16772 char *kwnames[] = {
16773 (char *) "year", NULL
16774 };
16775
16776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16777 arg1 = (int) SWIG_AsInt(obj0);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 {
16780 PyThreadState* __tstate = wxPyBeginAllowThreads();
16781 result = (int)wxDateTime::ConvertYearToBC(arg1);
16782
16783 wxPyEndAllowThreads(__tstate);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 }
16786 resultobj = SWIG_FromInt((int)result);
16787 return resultobj;
16788 fail:
16789 return NULL;
16790 }
16791
16792
16793 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
16794 PyObject *resultobj;
16795 int arg1 = (int) wxDateTime::Gregorian ;
16796 int result;
16797 PyObject * obj0 = 0 ;
16798 char *kwnames[] = {
16799 (char *) "cal", NULL
16800 };
16801
16802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16803 if (obj0) {
16804 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 }
16807 {
16808 PyThreadState* __tstate = wxPyBeginAllowThreads();
16809 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16810
16811 wxPyEndAllowThreads(__tstate);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 }
16814 resultobj = SWIG_FromInt((int)result);
16815 return resultobj;
16816 fail:
16817 return NULL;
16818 }
16819
16820
16821 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
16822 PyObject *resultobj;
16823 int arg1 = (int) wxDateTime::Inv_Year ;
16824 int arg2 = (int) wxDateTime::Gregorian ;
16825 bool result;
16826 PyObject * obj0 = 0 ;
16827 PyObject * obj1 = 0 ;
16828 char *kwnames[] = {
16829 (char *) "year",(char *) "cal", NULL
16830 };
16831
16832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16833 if (obj0) {
16834 arg1 = (int) SWIG_AsInt(obj0);
16835 if (PyErr_Occurred()) SWIG_fail;
16836 }
16837 if (obj1) {
16838 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16839 if (PyErr_Occurred()) SWIG_fail;
16840 }
16841 {
16842 PyThreadState* __tstate = wxPyBeginAllowThreads();
16843 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16844
16845 wxPyEndAllowThreads(__tstate);
16846 if (PyErr_Occurred()) SWIG_fail;
16847 }
16848 {
16849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16850 }
16851 return resultobj;
16852 fail:
16853 return NULL;
16854 }
16855
16856
16857 static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
16858 PyObject *resultobj;
16859 int arg1 = (int) wxDateTime::Inv_Year ;
16860 int result;
16861 PyObject * obj0 = 0 ;
16862 char *kwnames[] = {
16863 (char *) "year", NULL
16864 };
16865
16866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16867 if (obj0) {
16868 arg1 = (int) SWIG_AsInt(obj0);
16869 if (PyErr_Occurred()) SWIG_fail;
16870 }
16871 {
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 result = (int)wxDateTime::GetCentury(arg1);
16874
16875 wxPyEndAllowThreads(__tstate);
16876 if (PyErr_Occurred()) SWIG_fail;
16877 }
16878 resultobj = SWIG_FromInt((int)result);
16879 return resultobj;
16880 fail:
16881 return NULL;
16882 }
16883
16884
16885 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
16886 PyObject *resultobj;
16887 int arg1 ;
16888 int arg2 = (int) wxDateTime::Gregorian ;
16889 int result;
16890 PyObject * obj0 = 0 ;
16891 PyObject * obj1 = 0 ;
16892 char *kwnames[] = {
16893 (char *) "year",(char *) "cal", NULL
16894 };
16895
16896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
16897 arg1 = (int) SWIG_AsInt(obj0);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 if (obj1) {
16900 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 {
16904 PyThreadState* __tstate = wxPyBeginAllowThreads();
16905 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
16906
16907 wxPyEndAllowThreads(__tstate);
16908 if (PyErr_Occurred()) SWIG_fail;
16909 }
16910 resultobj = SWIG_FromInt((int)result);
16911 return resultobj;
16912 fail:
16913 return NULL;
16914 }
16915
16916
16917 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
16918 PyObject *resultobj;
16919 int arg1 ;
16920 int arg2 = (int) wxDateTime::Inv_Year ;
16921 int arg3 = (int) wxDateTime::Gregorian ;
16922 int result;
16923 PyObject * obj0 = 0 ;
16924 PyObject * obj1 = 0 ;
16925 PyObject * obj2 = 0 ;
16926 char *kwnames[] = {
16927 (char *) "month",(char *) "year",(char *) "cal", NULL
16928 };
16929
16930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
16931 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16932 if (PyErr_Occurred()) SWIG_fail;
16933 if (obj1) {
16934 arg2 = (int) SWIG_AsInt(obj1);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 if (obj2) {
16938 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
16939 if (PyErr_Occurred()) SWIG_fail;
16940 }
16941 {
16942 PyThreadState* __tstate = wxPyBeginAllowThreads();
16943 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
16944
16945 wxPyEndAllowThreads(__tstate);
16946 if (PyErr_Occurred()) SWIG_fail;
16947 }
16948 resultobj = SWIG_FromInt((int)result);
16949 return resultobj;
16950 fail:
16951 return NULL;
16952 }
16953
16954
16955 static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
16956 PyObject *resultobj;
16957 int arg1 ;
16958 int arg2 = (int) wxDateTime::Name_Full ;
16959 wxString result;
16960 PyObject * obj0 = 0 ;
16961 PyObject * obj1 = 0 ;
16962 char *kwnames[] = {
16963 (char *) "month",(char *) "flags", NULL
16964 };
16965
16966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
16967 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 if (obj1) {
16970 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 {
16974 PyThreadState* __tstate = wxPyBeginAllowThreads();
16975 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16976
16977 wxPyEndAllowThreads(__tstate);
16978 if (PyErr_Occurred()) SWIG_fail;
16979 }
16980 {
16981 #if wxUSE_UNICODE
16982 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16983 #else
16984 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16985 #endif
16986 }
16987 return resultobj;
16988 fail:
16989 return NULL;
16990 }
16991
16992
16993 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
16994 PyObject *resultobj;
16995 int arg1 ;
16996 int arg2 = (int) wxDateTime::Name_Full ;
16997 wxString result;
16998 PyObject * obj0 = 0 ;
16999 PyObject * obj1 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "weekday",(char *) "flags", NULL
17002 };
17003
17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
17005 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
17006 if (PyErr_Occurred()) SWIG_fail;
17007 if (obj1) {
17008 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 {
17012 PyThreadState* __tstate = wxPyBeginAllowThreads();
17013 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17014
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 {
17019 #if wxUSE_UNICODE
17020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17021 #else
17022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17023 #endif
17024 }
17025 return resultobj;
17026 fail:
17027 return NULL;
17028 }
17029
17030
17031 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
17032 PyObject *resultobj;
17033 wxString *arg1 = (wxString *) 0 ;
17034 wxString *arg2 = (wxString *) 0 ;
17035 bool temp1 = False ;
17036 bool temp2 = False ;
17037 PyObject * obj0 = 0 ;
17038 PyObject * obj1 = 0 ;
17039 char *kwnames[] = {
17040 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17041 };
17042
17043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17044 {
17045 arg1 = wxString_in_helper(obj0);
17046 if (arg1 == NULL) SWIG_fail;
17047 temp1 = True;
17048 }
17049 {
17050 arg2 = wxString_in_helper(obj1);
17051 if (arg2 == NULL) SWIG_fail;
17052 temp2 = True;
17053 }
17054 {
17055 PyThreadState* __tstate = wxPyBeginAllowThreads();
17056 wxDateTime::GetAmPmStrings(arg1,arg2);
17057
17058 wxPyEndAllowThreads(__tstate);
17059 if (PyErr_Occurred()) SWIG_fail;
17060 }
17061 Py_INCREF(Py_None); resultobj = Py_None;
17062 {
17063 if (temp1)
17064 delete arg1;
17065 }
17066 {
17067 if (temp2)
17068 delete arg2;
17069 }
17070 return resultobj;
17071 fail:
17072 {
17073 if (temp1)
17074 delete arg1;
17075 }
17076 {
17077 if (temp2)
17078 delete arg2;
17079 }
17080 return NULL;
17081 }
17082
17083
17084 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
17085 PyObject *resultobj;
17086 int arg1 = (int) wxDateTime::Inv_Year ;
17087 int arg2 = (int) wxDateTime::Country_Default ;
17088 bool result;
17089 PyObject * obj0 = 0 ;
17090 PyObject * obj1 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "year",(char *) "country", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17096 if (obj0) {
17097 arg1 = (int) SWIG_AsInt(obj0);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 if (obj1) {
17101 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17102 if (PyErr_Occurred()) SWIG_fail;
17103 }
17104 {
17105 PyThreadState* __tstate = wxPyBeginAllowThreads();
17106 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17107
17108 wxPyEndAllowThreads(__tstate);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
17111 {
17112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17113 }
17114 return resultobj;
17115 fail:
17116 return NULL;
17117 }
17118
17119
17120 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
17121 PyObject *resultobj;
17122 int arg1 = (int) wxDateTime::Inv_Year ;
17123 int arg2 = (int) wxDateTime::Country_Default ;
17124 wxDateTime result;
17125 PyObject * obj0 = 0 ;
17126 PyObject * obj1 = 0 ;
17127 char *kwnames[] = {
17128 (char *) "year",(char *) "country", NULL
17129 };
17130
17131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17132 if (obj0) {
17133 arg1 = (int) SWIG_AsInt(obj0);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 if (obj1) {
17137 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17138 if (PyErr_Occurred()) SWIG_fail;
17139 }
17140 {
17141 PyThreadState* __tstate = wxPyBeginAllowThreads();
17142 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17143
17144 wxPyEndAllowThreads(__tstate);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 {
17148 wxDateTime * resultptr;
17149 resultptr = new wxDateTime((wxDateTime &) result);
17150 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17151 }
17152 return resultobj;
17153 fail:
17154 return NULL;
17155 }
17156
17157
17158 static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
17159 PyObject *resultobj;
17160 int arg1 = (int) wxDateTime::Inv_Year ;
17161 int arg2 = (int) wxDateTime::Country_Default ;
17162 wxDateTime result;
17163 PyObject * obj0 = 0 ;
17164 PyObject * obj1 = 0 ;
17165 char *kwnames[] = {
17166 (char *) "year",(char *) "country", NULL
17167 };
17168
17169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17170 if (obj0) {
17171 arg1 = (int) SWIG_AsInt(obj0);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 if (obj1) {
17175 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 {
17179 PyThreadState* __tstate = wxPyBeginAllowThreads();
17180 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17181
17182 wxPyEndAllowThreads(__tstate);
17183 if (PyErr_Occurred()) SWIG_fail;
17184 }
17185 {
17186 wxDateTime * resultptr;
17187 resultptr = new wxDateTime((wxDateTime &) result);
17188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17189 }
17190 return resultobj;
17191 fail:
17192 return NULL;
17193 }
17194
17195
17196 static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
17197 PyObject *resultobj;
17198 wxDateTime result;
17199 char *kwnames[] = {
17200 NULL
17201 };
17202
17203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 result = wxDateTime::Now();
17207
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 {
17212 wxDateTime * resultptr;
17213 resultptr = new wxDateTime((wxDateTime &) result);
17214 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17215 }
17216 return resultobj;
17217 fail:
17218 return NULL;
17219 }
17220
17221
17222 static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
17223 PyObject *resultobj;
17224 wxDateTime result;
17225 char *kwnames[] = {
17226 NULL
17227 };
17228
17229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17230 {
17231 PyThreadState* __tstate = wxPyBeginAllowThreads();
17232 result = wxDateTime::UNow();
17233
17234 wxPyEndAllowThreads(__tstate);
17235 if (PyErr_Occurred()) SWIG_fail;
17236 }
17237 {
17238 wxDateTime * resultptr;
17239 resultptr = new wxDateTime((wxDateTime &) result);
17240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17241 }
17242 return resultobj;
17243 fail:
17244 return NULL;
17245 }
17246
17247
17248 static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
17249 PyObject *resultobj;
17250 wxDateTime result;
17251 char *kwnames[] = {
17252 NULL
17253 };
17254
17255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17256 {
17257 PyThreadState* __tstate = wxPyBeginAllowThreads();
17258 result = wxDateTime::Today();
17259
17260 wxPyEndAllowThreads(__tstate);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 }
17263 {
17264 wxDateTime * resultptr;
17265 resultptr = new wxDateTime((wxDateTime &) result);
17266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17267 }
17268 return resultobj;
17269 fail:
17270 return NULL;
17271 }
17272
17273
17274 static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
17275 PyObject *resultobj;
17276 wxDateTime *result;
17277 char *kwnames[] = {
17278 NULL
17279 };
17280
17281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17282 {
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 result = (wxDateTime *)new wxDateTime();
17285
17286 wxPyEndAllowThreads(__tstate);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 }
17289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17290 return resultobj;
17291 fail:
17292 return NULL;
17293 }
17294
17295
17296 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
17297 PyObject *resultobj;
17298 time_t arg1 ;
17299 wxDateTime *result;
17300 PyObject * obj0 = 0 ;
17301 char *kwnames[] = {
17302 (char *) "timet", NULL
17303 };
17304
17305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17306 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 {
17309 PyThreadState* __tstate = wxPyBeginAllowThreads();
17310 result = (wxDateTime *)new wxDateTime(arg1);
17311
17312 wxPyEndAllowThreads(__tstate);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
17315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17316 return resultobj;
17317 fail:
17318 return NULL;
17319 }
17320
17321
17322 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
17323 PyObject *resultobj;
17324 double arg1 ;
17325 wxDateTime *result;
17326 PyObject * obj0 = 0 ;
17327 char *kwnames[] = {
17328 (char *) "jdn", NULL
17329 };
17330
17331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17332 arg1 = (double) SWIG_AsDouble(obj0);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 {
17335 PyThreadState* __tstate = wxPyBeginAllowThreads();
17336 result = (wxDateTime *)new wxDateTime(arg1);
17337
17338 wxPyEndAllowThreads(__tstate);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
17341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17342 return resultobj;
17343 fail:
17344 return NULL;
17345 }
17346
17347
17348 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
17349 PyObject *resultobj;
17350 int arg1 ;
17351 int arg2 = (int) 0 ;
17352 int arg3 = (int) 0 ;
17353 int arg4 = (int) 0 ;
17354 wxDateTime *result;
17355 PyObject * obj0 = 0 ;
17356 PyObject * obj1 = 0 ;
17357 PyObject * obj2 = 0 ;
17358 PyObject * obj3 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17364 arg1 = (int) SWIG_AsInt(obj0);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 if (obj1) {
17367 arg2 = (int) SWIG_AsInt(obj1);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 if (obj2) {
17371 arg3 = (int) SWIG_AsInt(obj2);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 if (obj3) {
17375 arg4 = (int) SWIG_AsInt(obj3);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 {
17379 PyThreadState* __tstate = wxPyBeginAllowThreads();
17380 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17381
17382 wxPyEndAllowThreads(__tstate);
17383 if (PyErr_Occurred()) SWIG_fail;
17384 }
17385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17386 return resultobj;
17387 fail:
17388 return NULL;
17389 }
17390
17391
17392 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
17393 PyObject *resultobj;
17394 int arg1 ;
17395 int arg2 = (int) wxDateTime::Inv_Month ;
17396 int arg3 = (int) wxDateTime::Inv_Year ;
17397 int arg4 = (int) 0 ;
17398 int arg5 = (int) 0 ;
17399 int arg6 = (int) 0 ;
17400 int arg7 = (int) 0 ;
17401 wxDateTime *result;
17402 PyObject * obj0 = 0 ;
17403 PyObject * obj1 = 0 ;
17404 PyObject * obj2 = 0 ;
17405 PyObject * obj3 = 0 ;
17406 PyObject * obj4 = 0 ;
17407 PyObject * obj5 = 0 ;
17408 PyObject * obj6 = 0 ;
17409 char *kwnames[] = {
17410 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17411 };
17412
17413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17414 arg1 = (int) SWIG_AsInt(obj0);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 if (obj1) {
17417 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17418 if (PyErr_Occurred()) SWIG_fail;
17419 }
17420 if (obj2) {
17421 arg3 = (int) SWIG_AsInt(obj2);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 if (obj3) {
17425 arg4 = (int) SWIG_AsInt(obj3);
17426 if (PyErr_Occurred()) SWIG_fail;
17427 }
17428 if (obj4) {
17429 arg5 = (int) SWIG_AsInt(obj4);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 }
17432 if (obj5) {
17433 arg6 = (int) SWIG_AsInt(obj5);
17434 if (PyErr_Occurred()) SWIG_fail;
17435 }
17436 if (obj6) {
17437 arg7 = (int) SWIG_AsInt(obj6);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxDateTime *arg1 = (wxDateTime *) 0 ;
17457 PyObject * obj0 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "self", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 delete arg1;
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 Py_INCREF(Py_None); resultobj = Py_None;
17473 return resultobj;
17474 fail:
17475 return NULL;
17476 }
17477
17478
17479 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxDateTime *arg1 = (wxDateTime *) 0 ;
17482 wxDateTime *result;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 {
17494 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17495 result = (wxDateTime *) &_result_ref;
17496 }
17497
17498 wxPyEndAllowThreads(__tstate);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 }
17501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17502 return resultobj;
17503 fail:
17504 return NULL;
17505 }
17506
17507
17508 static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxDateTime *arg1 = (wxDateTime *) 0 ;
17511 time_t arg2 ;
17512 wxDateTime *result;
17513 PyObject * obj0 = 0 ;
17514 PyObject * obj1 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "self",(char *) "timet", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17522 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 {
17527 wxDateTime &_result_ref = (arg1)->Set(arg2);
17528 result = (wxDateTime *) &_result_ref;
17529 }
17530
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17535 return resultobj;
17536 fail:
17537 return NULL;
17538 }
17539
17540
17541 static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
17542 PyObject *resultobj;
17543 wxDateTime *arg1 = (wxDateTime *) 0 ;
17544 double arg2 ;
17545 wxDateTime *result;
17546 PyObject * obj0 = 0 ;
17547 PyObject * obj1 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self",(char *) "jdn", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17555 arg2 = (double) SWIG_AsDouble(obj1);
17556 if (PyErr_Occurred()) SWIG_fail;
17557 {
17558 PyThreadState* __tstate = wxPyBeginAllowThreads();
17559 {
17560 wxDateTime &_result_ref = (arg1)->Set(arg2);
17561 result = (wxDateTime *) &_result_ref;
17562 }
17563
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17568 return resultobj;
17569 fail:
17570 return NULL;
17571 }
17572
17573
17574 static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
17575 PyObject *resultobj;
17576 wxDateTime *arg1 = (wxDateTime *) 0 ;
17577 int arg2 ;
17578 int arg3 = (int) 0 ;
17579 int arg4 = (int) 0 ;
17580 int arg5 = (int) 0 ;
17581 wxDateTime *result;
17582 PyObject * obj0 = 0 ;
17583 PyObject * obj1 = 0 ;
17584 PyObject * obj2 = 0 ;
17585 PyObject * obj3 = 0 ;
17586 PyObject * obj4 = 0 ;
17587 char *kwnames[] = {
17588 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17589 };
17590
17591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17594 arg2 = (int) SWIG_AsInt(obj1);
17595 if (PyErr_Occurred()) SWIG_fail;
17596 if (obj2) {
17597 arg3 = (int) SWIG_AsInt(obj2);
17598 if (PyErr_Occurred()) SWIG_fail;
17599 }
17600 if (obj3) {
17601 arg4 = (int) SWIG_AsInt(obj3);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 }
17604 if (obj4) {
17605 arg5 = (int) SWIG_AsInt(obj4);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 {
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 {
17611 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17612 result = (wxDateTime *) &_result_ref;
17613 }
17614
17615 wxPyEndAllowThreads(__tstate);
17616 if (PyErr_Occurred()) SWIG_fail;
17617 }
17618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17619 return resultobj;
17620 fail:
17621 return NULL;
17622 }
17623
17624
17625 static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
17626 PyObject *resultobj;
17627 wxDateTime *arg1 = (wxDateTime *) 0 ;
17628 int arg2 ;
17629 int arg3 = (int) wxDateTime::Inv_Month ;
17630 int arg4 = (int) wxDateTime::Inv_Year ;
17631 int arg5 = (int) 0 ;
17632 int arg6 = (int) 0 ;
17633 int arg7 = (int) 0 ;
17634 int arg8 = (int) 0 ;
17635 wxDateTime *result;
17636 PyObject * obj0 = 0 ;
17637 PyObject * obj1 = 0 ;
17638 PyObject * obj2 = 0 ;
17639 PyObject * obj3 = 0 ;
17640 PyObject * obj4 = 0 ;
17641 PyObject * obj5 = 0 ;
17642 PyObject * obj6 = 0 ;
17643 PyObject * obj7 = 0 ;
17644 char *kwnames[] = {
17645 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17646 };
17647
17648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17651 arg2 = (int) SWIG_AsInt(obj1);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 if (obj2) {
17654 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17655 if (PyErr_Occurred()) SWIG_fail;
17656 }
17657 if (obj3) {
17658 arg4 = (int) SWIG_AsInt(obj3);
17659 if (PyErr_Occurred()) SWIG_fail;
17660 }
17661 if (obj4) {
17662 arg5 = (int) SWIG_AsInt(obj4);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 }
17665 if (obj5) {
17666 arg6 = (int) SWIG_AsInt(obj5);
17667 if (PyErr_Occurred()) SWIG_fail;
17668 }
17669 if (obj6) {
17670 arg7 = (int) SWIG_AsInt(obj6);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 if (obj7) {
17674 arg8 = (int) SWIG_AsInt(obj7);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
17677 {
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 {
17680 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17681 result = (wxDateTime *) &_result_ref;
17682 }
17683
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17688 return resultobj;
17689 fail:
17690 return NULL;
17691 }
17692
17693
17694 static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
17695 PyObject *resultobj;
17696 wxDateTime *arg1 = (wxDateTime *) 0 ;
17697 wxDateTime *result;
17698 PyObject * obj0 = 0 ;
17699 char *kwnames[] = {
17700 (char *) "self", NULL
17701 };
17702
17703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17706 {
17707 PyThreadState* __tstate = wxPyBeginAllowThreads();
17708 {
17709 wxDateTime &_result_ref = (arg1)->ResetTime();
17710 result = (wxDateTime *) &_result_ref;
17711 }
17712
17713 wxPyEndAllowThreads(__tstate);
17714 if (PyErr_Occurred()) SWIG_fail;
17715 }
17716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17717 return resultobj;
17718 fail:
17719 return NULL;
17720 }
17721
17722
17723 static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
17724 PyObject *resultobj;
17725 wxDateTime *arg1 = (wxDateTime *) 0 ;
17726 int arg2 ;
17727 wxDateTime *result;
17728 PyObject * obj0 = 0 ;
17729 PyObject * obj1 = 0 ;
17730 char *kwnames[] = {
17731 (char *) "self",(char *) "year", NULL
17732 };
17733
17734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17737 arg2 = (int) SWIG_AsInt(obj1);
17738 if (PyErr_Occurred()) SWIG_fail;
17739 {
17740 PyThreadState* __tstate = wxPyBeginAllowThreads();
17741 {
17742 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17743 result = (wxDateTime *) &_result_ref;
17744 }
17745
17746 wxPyEndAllowThreads(__tstate);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 }
17749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17750 return resultobj;
17751 fail:
17752 return NULL;
17753 }
17754
17755
17756 static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
17757 PyObject *resultobj;
17758 wxDateTime *arg1 = (wxDateTime *) 0 ;
17759 int arg2 ;
17760 wxDateTime *result;
17761 PyObject * obj0 = 0 ;
17762 PyObject * obj1 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self",(char *) "month", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17770 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 {
17775 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17776 result = (wxDateTime *) &_result_ref;
17777 }
17778
17779 wxPyEndAllowThreads(__tstate);
17780 if (PyErr_Occurred()) SWIG_fail;
17781 }
17782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17783 return resultobj;
17784 fail:
17785 return NULL;
17786 }
17787
17788
17789 static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
17790 PyObject *resultobj;
17791 wxDateTime *arg1 = (wxDateTime *) 0 ;
17792 int arg2 ;
17793 wxDateTime *result;
17794 PyObject * obj0 = 0 ;
17795 PyObject * obj1 = 0 ;
17796 char *kwnames[] = {
17797 (char *) "self",(char *) "day", NULL
17798 };
17799
17800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17803 arg2 = (int) SWIG_AsInt(obj1);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 {
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 {
17808 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17809 result = (wxDateTime *) &_result_ref;
17810 }
17811
17812 wxPyEndAllowThreads(__tstate);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
17815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17816 return resultobj;
17817 fail:
17818 return NULL;
17819 }
17820
17821
17822 static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
17823 PyObject *resultobj;
17824 wxDateTime *arg1 = (wxDateTime *) 0 ;
17825 int arg2 ;
17826 wxDateTime *result;
17827 PyObject * obj0 = 0 ;
17828 PyObject * obj1 = 0 ;
17829 char *kwnames[] = {
17830 (char *) "self",(char *) "hour", NULL
17831 };
17832
17833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
17834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17836 arg2 = (int) SWIG_AsInt(obj1);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 {
17839 PyThreadState* __tstate = wxPyBeginAllowThreads();
17840 {
17841 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17842 result = (wxDateTime *) &_result_ref;
17843 }
17844
17845 wxPyEndAllowThreads(__tstate);
17846 if (PyErr_Occurred()) SWIG_fail;
17847 }
17848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17849 return resultobj;
17850 fail:
17851 return NULL;
17852 }
17853
17854
17855 static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
17856 PyObject *resultobj;
17857 wxDateTime *arg1 = (wxDateTime *) 0 ;
17858 int arg2 ;
17859 wxDateTime *result;
17860 PyObject * obj0 = 0 ;
17861 PyObject * obj1 = 0 ;
17862 char *kwnames[] = {
17863 (char *) "self",(char *) "minute", NULL
17864 };
17865
17866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
17867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17869 arg2 = (int) SWIG_AsInt(obj1);
17870 if (PyErr_Occurred()) SWIG_fail;
17871 {
17872 PyThreadState* __tstate = wxPyBeginAllowThreads();
17873 {
17874 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17875 result = (wxDateTime *) &_result_ref;
17876 }
17877
17878 wxPyEndAllowThreads(__tstate);
17879 if (PyErr_Occurred()) SWIG_fail;
17880 }
17881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17882 return resultobj;
17883 fail:
17884 return NULL;
17885 }
17886
17887
17888 static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
17889 PyObject *resultobj;
17890 wxDateTime *arg1 = (wxDateTime *) 0 ;
17891 int arg2 ;
17892 wxDateTime *result;
17893 PyObject * obj0 = 0 ;
17894 PyObject * obj1 = 0 ;
17895 char *kwnames[] = {
17896 (char *) "self",(char *) "second", NULL
17897 };
17898
17899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
17900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17902 arg2 = (int) SWIG_AsInt(obj1);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 {
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
17906 {
17907 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17908 result = (wxDateTime *) &_result_ref;
17909 }
17910
17911 wxPyEndAllowThreads(__tstate);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 }
17914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17915 return resultobj;
17916 fail:
17917 return NULL;
17918 }
17919
17920
17921 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
17922 PyObject *resultobj;
17923 wxDateTime *arg1 = (wxDateTime *) 0 ;
17924 int arg2 ;
17925 wxDateTime *result;
17926 PyObject * obj0 = 0 ;
17927 PyObject * obj1 = 0 ;
17928 char *kwnames[] = {
17929 (char *) "self",(char *) "millisecond", NULL
17930 };
17931
17932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17935 arg2 = (int) SWIG_AsInt(obj1);
17936 if (PyErr_Occurred()) SWIG_fail;
17937 {
17938 PyThreadState* __tstate = wxPyBeginAllowThreads();
17939 {
17940 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17941 result = (wxDateTime *) &_result_ref;
17942 }
17943
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17948 return resultobj;
17949 fail:
17950 return NULL;
17951 }
17952
17953
17954 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
17955 PyObject *resultobj;
17956 wxDateTime *arg1 = (wxDateTime *) 0 ;
17957 int arg2 ;
17958 int arg3 = (int) wxDateTime::Monday_First ;
17959 wxDateTime *result;
17960 PyObject * obj0 = 0 ;
17961 PyObject * obj1 = 0 ;
17962 PyObject * obj2 = 0 ;
17963 char *kwnames[] = {
17964 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17965 };
17966
17967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
17968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17970 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 if (obj2) {
17973 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 }
17976 {
17977 PyThreadState* __tstate = wxPyBeginAllowThreads();
17978 {
17979 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17980 result = (wxDateTime *) &_result_ref;
17981 }
17982
17983 wxPyEndAllowThreads(__tstate);
17984 if (PyErr_Occurred()) SWIG_fail;
17985 }
17986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17987 return resultobj;
17988 fail:
17989 return NULL;
17990 }
17991
17992
17993 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
17994 PyObject *resultobj;
17995 wxDateTime *arg1 = (wxDateTime *) 0 ;
17996 int arg2 ;
17997 int arg3 = (int) wxDateTime::Monday_First ;
17998 wxDateTime result;
17999 PyObject * obj0 = 0 ;
18000 PyObject * obj1 = 0 ;
18001 PyObject * obj2 = 0 ;
18002 char *kwnames[] = {
18003 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18004 };
18005
18006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18009 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18010 if (PyErr_Occurred()) SWIG_fail;
18011 if (obj2) {
18012 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 }
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18018
18019 wxPyEndAllowThreads(__tstate);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 }
18022 {
18023 wxDateTime * resultptr;
18024 resultptr = new wxDateTime((wxDateTime &) result);
18025 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18026 }
18027 return resultobj;
18028 fail:
18029 return NULL;
18030 }
18031
18032
18033 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18034 PyObject *resultobj;
18035 wxDateTime *arg1 = (wxDateTime *) 0 ;
18036 int arg2 ;
18037 wxDateTime *result;
18038 PyObject * obj0 = 0 ;
18039 PyObject * obj1 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "self",(char *) "weekday", NULL
18042 };
18043
18044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18047 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 {
18052 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18053 result = (wxDateTime *) &_result_ref;
18054 }
18055
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18060 return resultobj;
18061 fail:
18062 return NULL;
18063 }
18064
18065
18066 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj;
18068 wxDateTime *arg1 = (wxDateTime *) 0 ;
18069 int arg2 ;
18070 wxDateTime result;
18071 PyObject * obj0 = 0 ;
18072 PyObject * obj1 = 0 ;
18073 char *kwnames[] = {
18074 (char *) "self",(char *) "weekday", NULL
18075 };
18076
18077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18080 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18081 if (PyErr_Occurred()) SWIG_fail;
18082 {
18083 PyThreadState* __tstate = wxPyBeginAllowThreads();
18084 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 {
18090 wxDateTime * resultptr;
18091 resultptr = new wxDateTime((wxDateTime &) result);
18092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18093 }
18094 return resultobj;
18095 fail:
18096 return NULL;
18097 }
18098
18099
18100 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18101 PyObject *resultobj;
18102 wxDateTime *arg1 = (wxDateTime *) 0 ;
18103 int arg2 ;
18104 wxDateTime *result;
18105 PyObject * obj0 = 0 ;
18106 PyObject * obj1 = 0 ;
18107 char *kwnames[] = {
18108 (char *) "self",(char *) "weekday", NULL
18109 };
18110
18111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18114 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 {
18117 PyThreadState* __tstate = wxPyBeginAllowThreads();
18118 {
18119 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18120 result = (wxDateTime *) &_result_ref;
18121 }
18122
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18127 return resultobj;
18128 fail:
18129 return NULL;
18130 }
18131
18132
18133 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18134 PyObject *resultobj;
18135 wxDateTime *arg1 = (wxDateTime *) 0 ;
18136 int arg2 ;
18137 wxDateTime result;
18138 PyObject * obj0 = 0 ;
18139 PyObject * obj1 = 0 ;
18140 char *kwnames[] = {
18141 (char *) "self",(char *) "weekday", NULL
18142 };
18143
18144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18147 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18148 if (PyErr_Occurred()) SWIG_fail;
18149 {
18150 PyThreadState* __tstate = wxPyBeginAllowThreads();
18151 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18152
18153 wxPyEndAllowThreads(__tstate);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 }
18156 {
18157 wxDateTime * resultptr;
18158 resultptr = new wxDateTime((wxDateTime &) result);
18159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18160 }
18161 return resultobj;
18162 fail:
18163 return NULL;
18164 }
18165
18166
18167 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18168 PyObject *resultobj;
18169 wxDateTime *arg1 = (wxDateTime *) 0 ;
18170 int arg2 ;
18171 int arg3 = (int) 1 ;
18172 int arg4 = (int) wxDateTime::Inv_Month ;
18173 int arg5 = (int) wxDateTime::Inv_Year ;
18174 bool result;
18175 PyObject * obj0 = 0 ;
18176 PyObject * obj1 = 0 ;
18177 PyObject * obj2 = 0 ;
18178 PyObject * obj3 = 0 ;
18179 PyObject * obj4 = 0 ;
18180 char *kwnames[] = {
18181 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18182 };
18183
18184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18187 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 if (obj2) {
18190 arg3 = (int) SWIG_AsInt(obj2);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
18193 if (obj3) {
18194 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 }
18197 if (obj4) {
18198 arg5 = (int) SWIG_AsInt(obj4);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 }
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 {
18209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18210 }
18211 return resultobj;
18212 fail:
18213 return NULL;
18214 }
18215
18216
18217 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18218 PyObject *resultobj;
18219 wxDateTime *arg1 = (wxDateTime *) 0 ;
18220 int arg2 ;
18221 int arg3 = (int) wxDateTime::Inv_Month ;
18222 int arg4 = (int) wxDateTime::Inv_Year ;
18223 bool result;
18224 PyObject * obj0 = 0 ;
18225 PyObject * obj1 = 0 ;
18226 PyObject * obj2 = 0 ;
18227 PyObject * obj3 = 0 ;
18228 char *kwnames[] = {
18229 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18230 };
18231
18232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18235 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 if (obj2) {
18238 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18239 if (PyErr_Occurred()) SWIG_fail;
18240 }
18241 if (obj3) {
18242 arg4 = (int) SWIG_AsInt(obj3);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 {
18253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18254 }
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxDateTime *arg1 = (wxDateTime *) 0 ;
18264 int arg2 ;
18265 int arg3 = (int) wxDateTime::Inv_Month ;
18266 int arg4 = (int) wxDateTime::Inv_Year ;
18267 wxDateTime result;
18268 PyObject * obj0 = 0 ;
18269 PyObject * obj1 = 0 ;
18270 PyObject * obj2 = 0 ;
18271 PyObject * obj3 = 0 ;
18272 char *kwnames[] = {
18273 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18279 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 if (obj2) {
18282 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 }
18285 if (obj3) {
18286 arg4 = (int) SWIG_AsInt(obj3);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 {
18290 PyThreadState* __tstate = wxPyBeginAllowThreads();
18291 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18292
18293 wxPyEndAllowThreads(__tstate);
18294 if (PyErr_Occurred()) SWIG_fail;
18295 }
18296 {
18297 wxDateTime * resultptr;
18298 resultptr = new wxDateTime((wxDateTime &) result);
18299 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18300 }
18301 return resultobj;
18302 fail:
18303 return NULL;
18304 }
18305
18306
18307 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18308 PyObject *resultobj;
18309 wxDateTime *arg1 = (wxDateTime *) 0 ;
18310 int arg2 ;
18311 int arg3 = (int) wxDateTime::Mon ;
18312 int arg4 = (int) wxDateTime::Monday_First ;
18313 bool result;
18314 PyObject * obj0 = 0 ;
18315 PyObject * obj1 = 0 ;
18316 PyObject * obj2 = 0 ;
18317 PyObject * obj3 = 0 ;
18318 char *kwnames[] = {
18319 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18320 };
18321
18322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18325 arg2 = (int) SWIG_AsInt(obj1);
18326 if (PyErr_Occurred()) SWIG_fail;
18327 if (obj2) {
18328 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 if (obj3) {
18332 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18338
18339 wxPyEndAllowThreads(__tstate);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 }
18342 {
18343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18344 }
18345 return resultobj;
18346 fail:
18347 return NULL;
18348 }
18349
18350
18351 static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18352 PyObject *resultobj;
18353 wxDateTime *arg1 = (wxDateTime *) 0 ;
18354 int arg2 ;
18355 int arg3 = (int) wxDateTime::Mon ;
18356 int arg4 = (int) wxDateTime::Monday_First ;
18357 wxDateTime result;
18358 PyObject * obj0 = 0 ;
18359 PyObject * obj1 = 0 ;
18360 PyObject * obj2 = 0 ;
18361 PyObject * obj3 = 0 ;
18362 char *kwnames[] = {
18363 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18364 };
18365
18366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18369 arg2 = (int) SWIG_AsInt(obj1);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 if (obj2) {
18372 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18373 if (PyErr_Occurred()) SWIG_fail;
18374 }
18375 if (obj3) {
18376 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 {
18380 PyThreadState* __tstate = wxPyBeginAllowThreads();
18381 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18382
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
18386 {
18387 wxDateTime * resultptr;
18388 resultptr = new wxDateTime((wxDateTime &) result);
18389 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18390 }
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxDateTime *arg1 = (wxDateTime *) 0 ;
18400 int arg2 = (int) wxDateTime::Inv_Month ;
18401 int arg3 = (int) wxDateTime::Inv_Year ;
18402 wxDateTime *result;
18403 PyObject * obj0 = 0 ;
18404 PyObject * obj1 = 0 ;
18405 PyObject * obj2 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "self",(char *) "month",(char *) "year", NULL
18408 };
18409
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18413 if (obj1) {
18414 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
18417 if (obj2) {
18418 arg3 = (int) SWIG_AsInt(obj2);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 {
18422 PyThreadState* __tstate = wxPyBeginAllowThreads();
18423 {
18424 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18425 result = (wxDateTime *) &_result_ref;
18426 }
18427
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
18431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18432 return resultobj;
18433 fail:
18434 return NULL;
18435 }
18436
18437
18438 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
18439 PyObject *resultobj;
18440 wxDateTime *arg1 = (wxDateTime *) 0 ;
18441 int arg2 = (int) wxDateTime::Inv_Month ;
18442 int arg3 = (int) wxDateTime::Inv_Year ;
18443 wxDateTime result;
18444 PyObject * obj0 = 0 ;
18445 PyObject * obj1 = 0 ;
18446 PyObject * obj2 = 0 ;
18447 char *kwnames[] = {
18448 (char *) "self",(char *) "month",(char *) "year", NULL
18449 };
18450
18451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18454 if (obj1) {
18455 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 if (obj2) {
18459 arg3 = (int) SWIG_AsInt(obj2);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 {
18470 wxDateTime * resultptr;
18471 resultptr = new wxDateTime((wxDateTime &) result);
18472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18473 }
18474 return resultobj;
18475 fail:
18476 return NULL;
18477 }
18478
18479
18480 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
18481 PyObject *resultobj;
18482 wxDateTime *arg1 = (wxDateTime *) 0 ;
18483 int arg2 ;
18484 wxDateTime *result;
18485 PyObject * obj0 = 0 ;
18486 PyObject * obj1 = 0 ;
18487 char *kwnames[] = {
18488 (char *) "self",(char *) "yday", NULL
18489 };
18490
18491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18494 arg2 = (int) SWIG_AsInt(obj1);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 {
18499 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18500 result = (wxDateTime *) &_result_ref;
18501 }
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18507 return resultobj;
18508 fail:
18509 return NULL;
18510 }
18511
18512
18513 static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
18514 PyObject *resultobj;
18515 wxDateTime *arg1 = (wxDateTime *) 0 ;
18516 int arg2 ;
18517 wxDateTime result;
18518 PyObject * obj0 = 0 ;
18519 PyObject * obj1 = 0 ;
18520 char *kwnames[] = {
18521 (char *) "self",(char *) "yday", NULL
18522 };
18523
18524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18527 arg2 = (int) SWIG_AsInt(obj1);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 {
18530 PyThreadState* __tstate = wxPyBeginAllowThreads();
18531 result = (arg1)->GetYearDay(arg2);
18532
18533 wxPyEndAllowThreads(__tstate);
18534 if (PyErr_Occurred()) SWIG_fail;
18535 }
18536 {
18537 wxDateTime * resultptr;
18538 resultptr = new wxDateTime((wxDateTime &) result);
18539 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18540 }
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxDateTime *arg1 = (wxDateTime *) 0 ;
18550 double result;
18551 PyObject * obj0 = 0 ;
18552 char *kwnames[] = {
18553 (char *) "self", NULL
18554 };
18555
18556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18559 {
18560 PyThreadState* __tstate = wxPyBeginAllowThreads();
18561 result = (double)(arg1)->GetJulianDayNumber();
18562
18563 wxPyEndAllowThreads(__tstate);
18564 if (PyErr_Occurred()) SWIG_fail;
18565 }
18566 resultobj = SWIG_FromDouble((double)result);
18567 return resultobj;
18568 fail:
18569 return NULL;
18570 }
18571
18572
18573 static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
18574 PyObject *resultobj;
18575 wxDateTime *arg1 = (wxDateTime *) 0 ;
18576 double result;
18577 PyObject * obj0 = 0 ;
18578 char *kwnames[] = {
18579 (char *) "self", NULL
18580 };
18581
18582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18585 {
18586 PyThreadState* __tstate = wxPyBeginAllowThreads();
18587 result = (double)(arg1)->GetJDN();
18588
18589 wxPyEndAllowThreads(__tstate);
18590 if (PyErr_Occurred()) SWIG_fail;
18591 }
18592 resultobj = SWIG_FromDouble((double)result);
18593 return resultobj;
18594 fail:
18595 return NULL;
18596 }
18597
18598
18599 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
18600 PyObject *resultobj;
18601 wxDateTime *arg1 = (wxDateTime *) 0 ;
18602 double result;
18603 PyObject * obj0 = 0 ;
18604 char *kwnames[] = {
18605 (char *) "self", NULL
18606 };
18607
18608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18611 {
18612 PyThreadState* __tstate = wxPyBeginAllowThreads();
18613 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18614
18615 wxPyEndAllowThreads(__tstate);
18616 if (PyErr_Occurred()) SWIG_fail;
18617 }
18618 resultobj = SWIG_FromDouble((double)result);
18619 return resultobj;
18620 fail:
18621 return NULL;
18622 }
18623
18624
18625 static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
18626 PyObject *resultobj;
18627 wxDateTime *arg1 = (wxDateTime *) 0 ;
18628 double result;
18629 PyObject * obj0 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (double)(arg1)->GetMJD();
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 resultobj = SWIG_FromDouble((double)result);
18645 return resultobj;
18646 fail:
18647 return NULL;
18648 }
18649
18650
18651 static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
18652 PyObject *resultobj;
18653 wxDateTime *arg1 = (wxDateTime *) 0 ;
18654 double result;
18655 PyObject * obj0 = 0 ;
18656 char *kwnames[] = {
18657 (char *) "self", NULL
18658 };
18659
18660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18663 {
18664 PyThreadState* __tstate = wxPyBeginAllowThreads();
18665 result = (double)(arg1)->GetRataDie();
18666
18667 wxPyEndAllowThreads(__tstate);
18668 if (PyErr_Occurred()) SWIG_fail;
18669 }
18670 resultobj = SWIG_FromDouble((double)result);
18671 return resultobj;
18672 fail:
18673 return NULL;
18674 }
18675
18676
18677 static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
18678 PyObject *resultobj;
18679 wxDateTime *arg1 = (wxDateTime *) 0 ;
18680 wxDateTime::TimeZone *arg2 = 0 ;
18681 bool arg3 = (bool) False ;
18682 wxDateTime result;
18683 bool temp2 = False ;
18684 PyObject * obj0 = 0 ;
18685 PyObject * obj1 = 0 ;
18686 PyObject * obj2 = 0 ;
18687 char *kwnames[] = {
18688 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18689 };
18690
18691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18694 {
18695 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18696 temp2 = True;
18697 }
18698 if (obj2) {
18699 arg3 = (bool) SWIG_AsBool(obj2);
18700 if (PyErr_Occurred()) SWIG_fail;
18701 }
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 {
18710 wxDateTime * resultptr;
18711 resultptr = new wxDateTime((wxDateTime &) result);
18712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18713 }
18714 {
18715 if (temp2) delete arg2;
18716 }
18717 return resultobj;
18718 fail:
18719 {
18720 if (temp2) delete arg2;
18721 }
18722 return NULL;
18723 }
18724
18725
18726 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
18727 PyObject *resultobj;
18728 wxDateTime *arg1 = (wxDateTime *) 0 ;
18729 wxDateTime::TimeZone *arg2 = 0 ;
18730 bool arg3 = (bool) False ;
18731 wxDateTime *result;
18732 bool temp2 = False ;
18733 PyObject * obj0 = 0 ;
18734 PyObject * obj1 = 0 ;
18735 PyObject * obj2 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18743 {
18744 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18745 temp2 = True;
18746 }
18747 if (obj2) {
18748 arg3 = (bool) SWIG_AsBool(obj2);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 {
18754 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18755 result = (wxDateTime *) &_result_ref;
18756 }
18757
18758 wxPyEndAllowThreads(__tstate);
18759 if (PyErr_Occurred()) SWIG_fail;
18760 }
18761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18762 {
18763 if (temp2) delete arg2;
18764 }
18765 return resultobj;
18766 fail:
18767 {
18768 if (temp2) delete arg2;
18769 }
18770 return NULL;
18771 }
18772
18773
18774 static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj;
18776 wxDateTime *arg1 = (wxDateTime *) 0 ;
18777 bool arg2 = (bool) False ;
18778 wxDateTime result;
18779 PyObject * obj0 = 0 ;
18780 PyObject * obj1 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self",(char *) "noDST", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18788 if (obj1) {
18789 arg2 = (bool) SWIG_AsBool(obj1);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 {
18793 PyThreadState* __tstate = wxPyBeginAllowThreads();
18794 result = (arg1)->ToGMT(arg2);
18795
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 {
18800 wxDateTime * resultptr;
18801 resultptr = new wxDateTime((wxDateTime &) result);
18802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18803 }
18804 return resultobj;
18805 fail:
18806 return NULL;
18807 }
18808
18809
18810 static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
18811 PyObject *resultobj;
18812 wxDateTime *arg1 = (wxDateTime *) 0 ;
18813 bool arg2 = (bool) False ;
18814 wxDateTime *result;
18815 PyObject * obj0 = 0 ;
18816 PyObject * obj1 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self",(char *) "noDST", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18824 if (obj1) {
18825 arg2 = (bool) SWIG_AsBool(obj1);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 {
18829 PyThreadState* __tstate = wxPyBeginAllowThreads();
18830 {
18831 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18832 result = (wxDateTime *) &_result_ref;
18833 }
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18839 return resultobj;
18840 fail:
18841 return NULL;
18842 }
18843
18844
18845 static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
18846 PyObject *resultobj;
18847 wxDateTime *arg1 = (wxDateTime *) 0 ;
18848 int arg2 = (int) wxDateTime::Country_Default ;
18849 int result;
18850 PyObject * obj0 = 0 ;
18851 PyObject * obj1 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self",(char *) "country", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
18857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18859 if (obj1) {
18860 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 {
18864 PyThreadState* __tstate = wxPyBeginAllowThreads();
18865 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18866
18867 wxPyEndAllowThreads(__tstate);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
18870 resultobj = SWIG_FromInt((int)result);
18871 return resultobj;
18872 fail:
18873 return NULL;
18874 }
18875
18876
18877 static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
18878 PyObject *resultobj;
18879 wxDateTime *arg1 = (wxDateTime *) 0 ;
18880 bool result;
18881 PyObject * obj0 = 0 ;
18882 char *kwnames[] = {
18883 (char *) "self", NULL
18884 };
18885
18886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
18887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 result = (bool)((wxDateTime const *)arg1)->IsValid();
18892
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 {
18897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18898 }
18899 return resultobj;
18900 fail:
18901 return NULL;
18902 }
18903
18904
18905 static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj;
18907 wxDateTime *arg1 = (wxDateTime *) 0 ;
18908 time_t result;
18909 PyObject * obj0 = 0 ;
18910 char *kwnames[] = {
18911 (char *) "self", NULL
18912 };
18913
18914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
18915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18920
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
18925 return resultobj;
18926 fail:
18927 return NULL;
18928 }
18929
18930
18931 static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj;
18933 wxDateTime *arg1 = (wxDateTime *) 0 ;
18934 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18935 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18936 int result;
18937 bool temp2 = False ;
18938 PyObject * obj0 = 0 ;
18939 PyObject * obj1 = 0 ;
18940 char *kwnames[] = {
18941 (char *) "self",(char *) "tz", NULL
18942 };
18943
18944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
18945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18947 if (obj1) {
18948 {
18949 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18950 temp2 = True;
18951 }
18952 }
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 resultobj = SWIG_FromInt((int)result);
18961 {
18962 if (temp2) delete arg2;
18963 }
18964 return resultobj;
18965 fail:
18966 {
18967 if (temp2) delete arg2;
18968 }
18969 return NULL;
18970 }
18971
18972
18973 static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj;
18975 wxDateTime *arg1 = (wxDateTime *) 0 ;
18976 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18977 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18978 int result;
18979 bool temp2 = False ;
18980 PyObject * obj0 = 0 ;
18981 PyObject * obj1 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self",(char *) "tz", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
18987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18989 if (obj1) {
18990 {
18991 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18992 temp2 = True;
18993 }
18994 }
18995 {
18996 PyThreadState* __tstate = wxPyBeginAllowThreads();
18997 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
18998
18999 wxPyEndAllowThreads(__tstate);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 }
19002 resultobj = SWIG_FromInt((int)result);
19003 {
19004 if (temp2) delete arg2;
19005 }
19006 return resultobj;
19007 fail:
19008 {
19009 if (temp2) delete arg2;
19010 }
19011 return NULL;
19012 }
19013
19014
19015 static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
19016 PyObject *resultobj;
19017 wxDateTime *arg1 = (wxDateTime *) 0 ;
19018 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19019 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19020 int result;
19021 bool temp2 = False ;
19022 PyObject * obj0 = 0 ;
19023 PyObject * obj1 = 0 ;
19024 char *kwnames[] = {
19025 (char *) "self",(char *) "tz", NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19031 if (obj1) {
19032 {
19033 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19034 temp2 = True;
19035 }
19036 }
19037 {
19038 PyThreadState* __tstate = wxPyBeginAllowThreads();
19039 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19040
19041 wxPyEndAllowThreads(__tstate);
19042 if (PyErr_Occurred()) SWIG_fail;
19043 }
19044 resultobj = SWIG_FromInt((int)result);
19045 {
19046 if (temp2) delete arg2;
19047 }
19048 return resultobj;
19049 fail:
19050 {
19051 if (temp2) delete arg2;
19052 }
19053 return NULL;
19054 }
19055
19056
19057 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
19058 PyObject *resultobj;
19059 wxDateTime *arg1 = (wxDateTime *) 0 ;
19060 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19061 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19062 int result;
19063 bool temp2 = False ;
19064 PyObject * obj0 = 0 ;
19065 PyObject * obj1 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self",(char *) "tz", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19073 if (obj1) {
19074 {
19075 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19076 temp2 = True;
19077 }
19078 }
19079 {
19080 PyThreadState* __tstate = wxPyBeginAllowThreads();
19081 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19082
19083 wxPyEndAllowThreads(__tstate);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
19086 resultobj = SWIG_FromInt((int)result);
19087 {
19088 if (temp2) delete arg2;
19089 }
19090 return resultobj;
19091 fail:
19092 {
19093 if (temp2) delete arg2;
19094 }
19095 return NULL;
19096 }
19097
19098
19099 static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj;
19101 wxDateTime *arg1 = (wxDateTime *) 0 ;
19102 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19103 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19104 int result;
19105 bool temp2 = False ;
19106 PyObject * obj0 = 0 ;
19107 PyObject * obj1 = 0 ;
19108 char *kwnames[] = {
19109 (char *) "self",(char *) "tz", NULL
19110 };
19111
19112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19115 if (obj1) {
19116 {
19117 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19118 temp2 = True;
19119 }
19120 }
19121 {
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19124
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 resultobj = SWIG_FromInt((int)result);
19129 {
19130 if (temp2) delete arg2;
19131 }
19132 return resultobj;
19133 fail:
19134 {
19135 if (temp2) delete arg2;
19136 }
19137 return NULL;
19138 }
19139
19140
19141 static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
19142 PyObject *resultobj;
19143 wxDateTime *arg1 = (wxDateTime *) 0 ;
19144 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19145 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19146 int result;
19147 bool temp2 = False ;
19148 PyObject * obj0 = 0 ;
19149 PyObject * obj1 = 0 ;
19150 char *kwnames[] = {
19151 (char *) "self",(char *) "tz", NULL
19152 };
19153
19154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19157 if (obj1) {
19158 {
19159 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19160 temp2 = True;
19161 }
19162 }
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 resultobj = SWIG_FromInt((int)result);
19171 {
19172 if (temp2) delete arg2;
19173 }
19174 return resultobj;
19175 fail:
19176 {
19177 if (temp2) delete arg2;
19178 }
19179 return NULL;
19180 }
19181
19182
19183 static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj;
19185 wxDateTime *arg1 = (wxDateTime *) 0 ;
19186 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19187 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19188 int result;
19189 bool temp2 = False ;
19190 PyObject * obj0 = 0 ;
19191 PyObject * obj1 = 0 ;
19192 char *kwnames[] = {
19193 (char *) "self",(char *) "tz", NULL
19194 };
19195
19196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19199 if (obj1) {
19200 {
19201 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19202 temp2 = True;
19203 }
19204 }
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 resultobj = SWIG_FromInt((int)result);
19213 {
19214 if (temp2) delete arg2;
19215 }
19216 return resultobj;
19217 fail:
19218 {
19219 if (temp2) delete arg2;
19220 }
19221 return NULL;
19222 }
19223
19224
19225 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
19226 PyObject *resultobj;
19227 wxDateTime *arg1 = (wxDateTime *) 0 ;
19228 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19229 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19230 int result;
19231 bool temp2 = False ;
19232 PyObject * obj0 = 0 ;
19233 PyObject * obj1 = 0 ;
19234 char *kwnames[] = {
19235 (char *) "self",(char *) "tz", NULL
19236 };
19237
19238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19241 if (obj1) {
19242 {
19243 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19244 temp2 = True;
19245 }
19246 }
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19250
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 resultobj = SWIG_FromInt((int)result);
19255 {
19256 if (temp2) delete arg2;
19257 }
19258 return resultobj;
19259 fail:
19260 {
19261 if (temp2) delete arg2;
19262 }
19263 return NULL;
19264 }
19265
19266
19267 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
19268 PyObject *resultobj;
19269 wxDateTime *arg1 = (wxDateTime *) 0 ;
19270 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19271 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19272 int result;
19273 bool temp2 = False ;
19274 PyObject * obj0 = 0 ;
19275 PyObject * obj1 = 0 ;
19276 char *kwnames[] = {
19277 (char *) "self",(char *) "tz", NULL
19278 };
19279
19280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19283 if (obj1) {
19284 {
19285 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19286 temp2 = True;
19287 }
19288 }
19289 {
19290 PyThreadState* __tstate = wxPyBeginAllowThreads();
19291 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
19296 resultobj = SWIG_FromInt((int)result);
19297 {
19298 if (temp2) delete arg2;
19299 }
19300 return resultobj;
19301 fail:
19302 {
19303 if (temp2) delete arg2;
19304 }
19305 return NULL;
19306 }
19307
19308
19309 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
19310 PyObject *resultobj;
19311 wxDateTime *arg1 = (wxDateTime *) 0 ;
19312 int arg2 = (int) wxDateTime::Monday_First ;
19313 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19314 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19315 int result;
19316 bool temp3 = False ;
19317 PyObject * obj0 = 0 ;
19318 PyObject * obj1 = 0 ;
19319 PyObject * obj2 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self",(char *) "flags",(char *) "tz", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19327 if (obj1) {
19328 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19329 if (PyErr_Occurred()) SWIG_fail;
19330 }
19331 if (obj2) {
19332 {
19333 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19334 temp3 = True;
19335 }
19336 }
19337 {
19338 PyThreadState* __tstate = wxPyBeginAllowThreads();
19339 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19340
19341 wxPyEndAllowThreads(__tstate);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 resultobj = SWIG_FromInt((int)result);
19345 {
19346 if (temp3) delete arg3;
19347 }
19348 return resultobj;
19349 fail:
19350 {
19351 if (temp3) delete arg3;
19352 }
19353 return NULL;
19354 }
19355
19356
19357 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
19358 PyObject *resultobj;
19359 wxDateTime *arg1 = (wxDateTime *) 0 ;
19360 int arg2 = (int) wxDateTime::Monday_First ;
19361 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19362 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19363 int result;
19364 bool temp3 = False ;
19365 PyObject * obj0 = 0 ;
19366 PyObject * obj1 = 0 ;
19367 PyObject * obj2 = 0 ;
19368 char *kwnames[] = {
19369 (char *) "self",(char *) "flags",(char *) "tz", NULL
19370 };
19371
19372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19375 if (obj1) {
19376 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 }
19379 if (obj2) {
19380 {
19381 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19382 temp3 = True;
19383 }
19384 }
19385 {
19386 PyThreadState* __tstate = wxPyBeginAllowThreads();
19387 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19388
19389 wxPyEndAllowThreads(__tstate);
19390 if (PyErr_Occurred()) SWIG_fail;
19391 }
19392 resultobj = SWIG_FromInt((int)result);
19393 {
19394 if (temp3) delete arg3;
19395 }
19396 return resultobj;
19397 fail:
19398 {
19399 if (temp3) delete arg3;
19400 }
19401 return NULL;
19402 }
19403
19404
19405 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj;
19407 wxDateTime *arg1 = (wxDateTime *) 0 ;
19408 int arg2 = (int) wxDateTime::Country_Default ;
19409 bool result;
19410 PyObject * obj0 = 0 ;
19411 PyObject * obj1 = 0 ;
19412 char *kwnames[] = {
19413 (char *) "self",(char *) "country", NULL
19414 };
19415
19416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19419 if (obj1) {
19420 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19421 if (PyErr_Occurred()) SWIG_fail;
19422 }
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 {
19431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19432 }
19433 return resultobj;
19434 fail:
19435 return NULL;
19436 }
19437
19438
19439 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
19440 PyObject *resultobj;
19441 wxDateTime *arg1 = (wxDateTime *) 0 ;
19442 wxDateTime *arg2 = 0 ;
19443 bool result;
19444 PyObject * obj0 = 0 ;
19445 PyObject * obj1 = 0 ;
19446 char *kwnames[] = {
19447 (char *) "self",(char *) "datetime", NULL
19448 };
19449
19450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19454 SWIG_POINTER_EXCEPTION | 0)) == -1)
19455 SWIG_fail;
19456 if (arg2 == NULL) {
19457 PyErr_SetString(PyExc_TypeError,"null reference");
19458 SWIG_fail;
19459 }
19460 {
19461 PyThreadState* __tstate = wxPyBeginAllowThreads();
19462 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19463
19464 wxPyEndAllowThreads(__tstate);
19465 if (PyErr_Occurred()) SWIG_fail;
19466 }
19467 {
19468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19469 }
19470 return resultobj;
19471 fail:
19472 return NULL;
19473 }
19474
19475
19476 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
19477 PyObject *resultobj;
19478 wxDateTime *arg1 = (wxDateTime *) 0 ;
19479 wxDateTime *arg2 = 0 ;
19480 bool result;
19481 PyObject * obj0 = 0 ;
19482 PyObject * obj1 = 0 ;
19483 char *kwnames[] = {
19484 (char *) "self",(char *) "datetime", NULL
19485 };
19486
19487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19491 SWIG_POINTER_EXCEPTION | 0)) == -1)
19492 SWIG_fail;
19493 if (arg2 == NULL) {
19494 PyErr_SetString(PyExc_TypeError,"null reference");
19495 SWIG_fail;
19496 }
19497 {
19498 PyThreadState* __tstate = wxPyBeginAllowThreads();
19499 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19500
19501 wxPyEndAllowThreads(__tstate);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 }
19504 {
19505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19506 }
19507 return resultobj;
19508 fail:
19509 return NULL;
19510 }
19511
19512
19513 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
19514 PyObject *resultobj;
19515 wxDateTime *arg1 = (wxDateTime *) 0 ;
19516 wxDateTime *arg2 = 0 ;
19517 bool result;
19518 PyObject * obj0 = 0 ;
19519 PyObject * obj1 = 0 ;
19520 char *kwnames[] = {
19521 (char *) "self",(char *) "datetime", NULL
19522 };
19523
19524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19528 SWIG_POINTER_EXCEPTION | 0)) == -1)
19529 SWIG_fail;
19530 if (arg2 == NULL) {
19531 PyErr_SetString(PyExc_TypeError,"null reference");
19532 SWIG_fail;
19533 }
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19537
19538 wxPyEndAllowThreads(__tstate);
19539 if (PyErr_Occurred()) SWIG_fail;
19540 }
19541 {
19542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19543 }
19544 return resultobj;
19545 fail:
19546 return NULL;
19547 }
19548
19549
19550 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
19551 PyObject *resultobj;
19552 wxDateTime *arg1 = (wxDateTime *) 0 ;
19553 wxDateTime *arg2 = 0 ;
19554 wxDateTime *arg3 = 0 ;
19555 bool result;
19556 PyObject * obj0 = 0 ;
19557 PyObject * obj1 = 0 ;
19558 PyObject * obj2 = 0 ;
19559 char *kwnames[] = {
19560 (char *) "self",(char *) "t1",(char *) "t2", NULL
19561 };
19562
19563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19566 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19567 SWIG_POINTER_EXCEPTION | 0)) == -1)
19568 SWIG_fail;
19569 if (arg2 == NULL) {
19570 PyErr_SetString(PyExc_TypeError,"null reference");
19571 SWIG_fail;
19572 }
19573 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19574 SWIG_POINTER_EXCEPTION | 0)) == -1)
19575 SWIG_fail;
19576 if (arg3 == NULL) {
19577 PyErr_SetString(PyExc_TypeError,"null reference");
19578 SWIG_fail;
19579 }
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 {
19588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19589 }
19590 return resultobj;
19591 fail:
19592 return NULL;
19593 }
19594
19595
19596 static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
19597 PyObject *resultobj;
19598 wxDateTime *arg1 = (wxDateTime *) 0 ;
19599 wxDateTime *arg2 = 0 ;
19600 wxDateTime *arg3 = 0 ;
19601 bool result;
19602 PyObject * obj0 = 0 ;
19603 PyObject * obj1 = 0 ;
19604 PyObject * obj2 = 0 ;
19605 char *kwnames[] = {
19606 (char *) "self",(char *) "t1",(char *) "t2", NULL
19607 };
19608
19609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19613 SWIG_POINTER_EXCEPTION | 0)) == -1)
19614 SWIG_fail;
19615 if (arg2 == NULL) {
19616 PyErr_SetString(PyExc_TypeError,"null reference");
19617 SWIG_fail;
19618 }
19619 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19620 SWIG_POINTER_EXCEPTION | 0)) == -1)
19621 SWIG_fail;
19622 if (arg3 == NULL) {
19623 PyErr_SetString(PyExc_TypeError,"null reference");
19624 SWIG_fail;
19625 }
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 {
19634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19635 }
19636 return resultobj;
19637 fail:
19638 return NULL;
19639 }
19640
19641
19642 static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
19643 PyObject *resultobj;
19644 wxDateTime *arg1 = (wxDateTime *) 0 ;
19645 wxDateTime *arg2 = 0 ;
19646 bool result;
19647 PyObject * obj0 = 0 ;
19648 PyObject * obj1 = 0 ;
19649 char *kwnames[] = {
19650 (char *) "self",(char *) "dt", NULL
19651 };
19652
19653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19657 SWIG_POINTER_EXCEPTION | 0)) == -1)
19658 SWIG_fail;
19659 if (arg2 == NULL) {
19660 PyErr_SetString(PyExc_TypeError,"null reference");
19661 SWIG_fail;
19662 }
19663 {
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19666
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
19670 {
19671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19672 }
19673 return resultobj;
19674 fail:
19675 return NULL;
19676 }
19677
19678
19679 static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
19680 PyObject *resultobj;
19681 wxDateTime *arg1 = (wxDateTime *) 0 ;
19682 wxDateTime *arg2 = 0 ;
19683 bool result;
19684 PyObject * obj0 = 0 ;
19685 PyObject * obj1 = 0 ;
19686 char *kwnames[] = {
19687 (char *) "self",(char *) "dt", NULL
19688 };
19689
19690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19694 SWIG_POINTER_EXCEPTION | 0)) == -1)
19695 SWIG_fail;
19696 if (arg2 == NULL) {
19697 PyErr_SetString(PyExc_TypeError,"null reference");
19698 SWIG_fail;
19699 }
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 {
19708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19709 }
19710 return resultobj;
19711 fail:
19712 return NULL;
19713 }
19714
19715
19716 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
19717 PyObject *resultobj;
19718 wxDateTime *arg1 = (wxDateTime *) 0 ;
19719 wxDateTime *arg2 = 0 ;
19720 wxTimeSpan *arg3 = 0 ;
19721 bool result;
19722 PyObject * obj0 = 0 ;
19723 PyObject * obj1 = 0 ;
19724 PyObject * obj2 = 0 ;
19725 char *kwnames[] = {
19726 (char *) "self",(char *) "dt",(char *) "ts", NULL
19727 };
19728
19729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19733 SWIG_POINTER_EXCEPTION | 0)) == -1)
19734 SWIG_fail;
19735 if (arg2 == NULL) {
19736 PyErr_SetString(PyExc_TypeError,"null reference");
19737 SWIG_fail;
19738 }
19739 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19740 SWIG_POINTER_EXCEPTION | 0)) == -1)
19741 SWIG_fail;
19742 if (arg3 == NULL) {
19743 PyErr_SetString(PyExc_TypeError,"null reference");
19744 SWIG_fail;
19745 }
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19749
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 {
19754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19755 }
19756 return resultobj;
19757 fail:
19758 return NULL;
19759 }
19760
19761
19762 static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
19763 PyObject *resultobj;
19764 wxDateTime *arg1 = (wxDateTime *) 0 ;
19765 wxTimeSpan *arg2 = 0 ;
19766 wxDateTime *result;
19767 PyObject * obj0 = 0 ;
19768 PyObject * obj1 = 0 ;
19769 char *kwnames[] = {
19770 (char *) "self",(char *) "diff", NULL
19771 };
19772
19773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19777 SWIG_POINTER_EXCEPTION | 0)) == -1)
19778 SWIG_fail;
19779 if (arg2 == NULL) {
19780 PyErr_SetString(PyExc_TypeError,"null reference");
19781 SWIG_fail;
19782 }
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 {
19786 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19787 result = (wxDateTime *) &_result_ref;
19788 }
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19794 return resultobj;
19795 fail:
19796 return NULL;
19797 }
19798
19799
19800 static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
19801 PyObject *resultobj;
19802 wxDateTime *arg1 = (wxDateTime *) 0 ;
19803 wxDateSpan *arg2 = 0 ;
19804 wxDateTime *result;
19805 PyObject * obj0 = 0 ;
19806 PyObject * obj1 = 0 ;
19807 char *kwnames[] = {
19808 (char *) "self",(char *) "diff", NULL
19809 };
19810
19811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19815 SWIG_POINTER_EXCEPTION | 0)) == -1)
19816 SWIG_fail;
19817 if (arg2 == NULL) {
19818 PyErr_SetString(PyExc_TypeError,"null reference");
19819 SWIG_fail;
19820 }
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 {
19824 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19825 result = (wxDateTime *) &_result_ref;
19826 }
19827
19828 wxPyEndAllowThreads(__tstate);
19829 if (PyErr_Occurred()) SWIG_fail;
19830 }
19831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19832 return resultobj;
19833 fail:
19834 return NULL;
19835 }
19836
19837
19838 static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
19839 PyObject *resultobj;
19840 wxDateTime *arg1 = (wxDateTime *) 0 ;
19841 wxTimeSpan *arg2 = 0 ;
19842 wxDateTime *result;
19843 PyObject * obj0 = 0 ;
19844 PyObject * obj1 = 0 ;
19845 char *kwnames[] = {
19846 (char *) "self",(char *) "diff", NULL
19847 };
19848
19849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
19850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19853 SWIG_POINTER_EXCEPTION | 0)) == -1)
19854 SWIG_fail;
19855 if (arg2 == NULL) {
19856 PyErr_SetString(PyExc_TypeError,"null reference");
19857 SWIG_fail;
19858 }
19859 {
19860 PyThreadState* __tstate = wxPyBeginAllowThreads();
19861 {
19862 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19863 result = (wxDateTime *) &_result_ref;
19864 }
19865
19866 wxPyEndAllowThreads(__tstate);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 }
19869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19870 return resultobj;
19871 fail:
19872 return NULL;
19873 }
19874
19875
19876 static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
19877 PyObject *resultobj;
19878 wxDateTime *arg1 = (wxDateTime *) 0 ;
19879 wxDateSpan *arg2 = 0 ;
19880 wxDateTime *result;
19881 PyObject * obj0 = 0 ;
19882 PyObject * obj1 = 0 ;
19883 char *kwnames[] = {
19884 (char *) "self",(char *) "diff", NULL
19885 };
19886
19887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
19888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19891 SWIG_POINTER_EXCEPTION | 0)) == -1)
19892 SWIG_fail;
19893 if (arg2 == NULL) {
19894 PyErr_SetString(PyExc_TypeError,"null reference");
19895 SWIG_fail;
19896 }
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 {
19900 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19901 result = (wxDateTime *) &_result_ref;
19902 }
19903
19904 wxPyEndAllowThreads(__tstate);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 }
19907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19908 return resultobj;
19909 fail:
19910 return NULL;
19911 }
19912
19913
19914 static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
19915 PyObject *resultobj;
19916 wxDateTime *arg1 = (wxDateTime *) 0 ;
19917 wxDateTime *arg2 = 0 ;
19918 wxTimeSpan result;
19919 PyObject * obj0 = 0 ;
19920 PyObject * obj1 = 0 ;
19921 char *kwnames[] = {
19922 (char *) "self",(char *) "dt", NULL
19923 };
19924
19925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
19926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19929 SWIG_POINTER_EXCEPTION | 0)) == -1)
19930 SWIG_fail;
19931 if (arg2 == NULL) {
19932 PyErr_SetString(PyExc_TypeError,"null reference");
19933 SWIG_fail;
19934 }
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 {
19943 wxTimeSpan * resultptr;
19944 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
19946 }
19947 return resultobj;
19948 fail:
19949 return NULL;
19950 }
19951
19952
19953 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
19954 PyObject *resultobj;
19955 wxDateTime *arg1 = (wxDateTime *) 0 ;
19956 wxTimeSpan *arg2 = 0 ;
19957 wxDateTime *result;
19958 PyObject * obj0 = 0 ;
19959 PyObject * obj1 = 0 ;
19960
19961 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19965 SWIG_POINTER_EXCEPTION | 0)) == -1)
19966 SWIG_fail;
19967 if (arg2 == NULL) {
19968 PyErr_SetString(PyExc_TypeError,"null reference");
19969 SWIG_fail;
19970 }
19971 {
19972 PyThreadState* __tstate = wxPyBeginAllowThreads();
19973 {
19974 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19975 result = (wxDateTime *) &_result_ref;
19976 }
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
19989 PyObject *resultobj;
19990 wxDateTime *arg1 = (wxDateTime *) 0 ;
19991 wxDateSpan *arg2 = 0 ;
19992 wxDateTime *result;
19993 PyObject * obj0 = 0 ;
19994 PyObject * obj1 = 0 ;
19995
19996 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20000 SWIG_POINTER_EXCEPTION | 0)) == -1)
20001 SWIG_fail;
20002 if (arg2 == NULL) {
20003 PyErr_SetString(PyExc_TypeError,"null reference");
20004 SWIG_fail;
20005 }
20006 {
20007 PyThreadState* __tstate = wxPyBeginAllowThreads();
20008 {
20009 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20010 result = (wxDateTime *) &_result_ref;
20011 }
20012
20013 wxPyEndAllowThreads(__tstate);
20014 if (PyErr_Occurred()) SWIG_fail;
20015 }
20016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20017 return resultobj;
20018 fail:
20019 return NULL;
20020 }
20021
20022
20023 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20024 int argc;
20025 PyObject *argv[3];
20026 int ii;
20027
20028 argc = PyObject_Length(args);
20029 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20030 argv[ii] = PyTuple_GetItem(args,ii);
20031 }
20032 if (argc == 2) {
20033 int _v;
20034 {
20035 void *ptr;
20036 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20037 _v = 0;
20038 PyErr_Clear();
20039 } else {
20040 _v = 1;
20041 }
20042 }
20043 if (_v) {
20044 {
20045 void *ptr;
20046 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20047 _v = 0;
20048 PyErr_Clear();
20049 } else {
20050 _v = 1;
20051 }
20052 }
20053 if (_v) {
20054 return _wrap_DateTime___iadd____SWIG_0(self,args);
20055 }
20056 }
20057 }
20058 if (argc == 2) {
20059 int _v;
20060 {
20061 void *ptr;
20062 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20063 _v = 0;
20064 PyErr_Clear();
20065 } else {
20066 _v = 1;
20067 }
20068 }
20069 if (_v) {
20070 {
20071 void *ptr;
20072 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20073 _v = 0;
20074 PyErr_Clear();
20075 } else {
20076 _v = 1;
20077 }
20078 }
20079 if (_v) {
20080 return _wrap_DateTime___iadd____SWIG_1(self,args);
20081 }
20082 }
20083 }
20084
20085 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20086 return NULL;
20087 }
20088
20089
20090 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
20091 PyObject *resultobj;
20092 wxDateTime *arg1 = (wxDateTime *) 0 ;
20093 wxTimeSpan *arg2 = 0 ;
20094 wxDateTime *result;
20095 PyObject * obj0 = 0 ;
20096 PyObject * obj1 = 0 ;
20097
20098 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20102 SWIG_POINTER_EXCEPTION | 0)) == -1)
20103 SWIG_fail;
20104 if (arg2 == NULL) {
20105 PyErr_SetString(PyExc_TypeError,"null reference");
20106 SWIG_fail;
20107 }
20108 {
20109 PyThreadState* __tstate = wxPyBeginAllowThreads();
20110 {
20111 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20112 result = (wxDateTime *) &_result_ref;
20113 }
20114
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20119 return resultobj;
20120 fail:
20121 return NULL;
20122 }
20123
20124
20125 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
20126 PyObject *resultobj;
20127 wxDateTime *arg1 = (wxDateTime *) 0 ;
20128 wxDateSpan *arg2 = 0 ;
20129 wxDateTime *result;
20130 PyObject * obj0 = 0 ;
20131 PyObject * obj1 = 0 ;
20132
20133 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20137 SWIG_POINTER_EXCEPTION | 0)) == -1)
20138 SWIG_fail;
20139 if (arg2 == NULL) {
20140 PyErr_SetString(PyExc_TypeError,"null reference");
20141 SWIG_fail;
20142 }
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 {
20146 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20147 result = (wxDateTime *) &_result_ref;
20148 }
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20154 return resultobj;
20155 fail:
20156 return NULL;
20157 }
20158
20159
20160 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20161 int argc;
20162 PyObject *argv[3];
20163 int ii;
20164
20165 argc = PyObject_Length(args);
20166 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20167 argv[ii] = PyTuple_GetItem(args,ii);
20168 }
20169 if (argc == 2) {
20170 int _v;
20171 {
20172 void *ptr;
20173 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20174 _v = 0;
20175 PyErr_Clear();
20176 } else {
20177 _v = 1;
20178 }
20179 }
20180 if (_v) {
20181 {
20182 void *ptr;
20183 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20184 _v = 0;
20185 PyErr_Clear();
20186 } else {
20187 _v = 1;
20188 }
20189 }
20190 if (_v) {
20191 return _wrap_DateTime___isub____SWIG_0(self,args);
20192 }
20193 }
20194 }
20195 if (argc == 2) {
20196 int _v;
20197 {
20198 void *ptr;
20199 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20200 _v = 0;
20201 PyErr_Clear();
20202 } else {
20203 _v = 1;
20204 }
20205 }
20206 if (_v) {
20207 {
20208 void *ptr;
20209 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20210 _v = 0;
20211 PyErr_Clear();
20212 } else {
20213 _v = 1;
20214 }
20215 }
20216 if (_v) {
20217 return _wrap_DateTime___isub____SWIG_1(self,args);
20218 }
20219 }
20220 }
20221
20222 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20223 return NULL;
20224 }
20225
20226
20227 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
20228 PyObject *resultobj;
20229 wxDateTime *arg1 = (wxDateTime *) 0 ;
20230 wxTimeSpan *arg2 = 0 ;
20231 wxDateTime result;
20232 PyObject * obj0 = 0 ;
20233 PyObject * obj1 = 0 ;
20234
20235 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20239 SWIG_POINTER_EXCEPTION | 0)) == -1)
20240 SWIG_fail;
20241 if (arg2 == NULL) {
20242 PyErr_SetString(PyExc_TypeError,"null reference");
20243 SWIG_fail;
20244 }
20245 {
20246 PyThreadState* __tstate = wxPyBeginAllowThreads();
20247 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20248
20249 wxPyEndAllowThreads(__tstate);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 }
20252 {
20253 wxDateTime * resultptr;
20254 resultptr = new wxDateTime((wxDateTime &) result);
20255 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20256 }
20257 return resultobj;
20258 fail:
20259 return NULL;
20260 }
20261
20262
20263 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
20264 PyObject *resultobj;
20265 wxDateTime *arg1 = (wxDateTime *) 0 ;
20266 wxDateSpan *arg2 = 0 ;
20267 wxDateTime result;
20268 PyObject * obj0 = 0 ;
20269 PyObject * obj1 = 0 ;
20270
20271 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20275 SWIG_POINTER_EXCEPTION | 0)) == -1)
20276 SWIG_fail;
20277 if (arg2 == NULL) {
20278 PyErr_SetString(PyExc_TypeError,"null reference");
20279 SWIG_fail;
20280 }
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 {
20289 wxDateTime * resultptr;
20290 resultptr = new wxDateTime((wxDateTime &) result);
20291 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20292 }
20293 return resultobj;
20294 fail:
20295 return NULL;
20296 }
20297
20298
20299 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20300 int argc;
20301 PyObject *argv[3];
20302 int ii;
20303
20304 argc = PyObject_Length(args);
20305 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20306 argv[ii] = PyTuple_GetItem(args,ii);
20307 }
20308 if (argc == 2) {
20309 int _v;
20310 {
20311 void *ptr;
20312 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20313 _v = 0;
20314 PyErr_Clear();
20315 } else {
20316 _v = 1;
20317 }
20318 }
20319 if (_v) {
20320 {
20321 void *ptr;
20322 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20323 _v = 0;
20324 PyErr_Clear();
20325 } else {
20326 _v = 1;
20327 }
20328 }
20329 if (_v) {
20330 return _wrap_DateTime___add____SWIG_0(self,args);
20331 }
20332 }
20333 }
20334 if (argc == 2) {
20335 int _v;
20336 {
20337 void *ptr;
20338 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20339 _v = 0;
20340 PyErr_Clear();
20341 } else {
20342 _v = 1;
20343 }
20344 }
20345 if (_v) {
20346 {
20347 void *ptr;
20348 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20349 _v = 0;
20350 PyErr_Clear();
20351 } else {
20352 _v = 1;
20353 }
20354 }
20355 if (_v) {
20356 return _wrap_DateTime___add____SWIG_1(self,args);
20357 }
20358 }
20359 }
20360
20361 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20362 return NULL;
20363 }
20364
20365
20366 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
20367 PyObject *resultobj;
20368 wxDateTime *arg1 = (wxDateTime *) 0 ;
20369 wxDateTime *arg2 = 0 ;
20370 wxTimeSpan result;
20371 PyObject * obj0 = 0 ;
20372 PyObject * obj1 = 0 ;
20373
20374 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20378 SWIG_POINTER_EXCEPTION | 0)) == -1)
20379 SWIG_fail;
20380 if (arg2 == NULL) {
20381 PyErr_SetString(PyExc_TypeError,"null reference");
20382 SWIG_fail;
20383 }
20384 {
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20387
20388 wxPyEndAllowThreads(__tstate);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 }
20391 {
20392 wxTimeSpan * resultptr;
20393 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20394 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20395 }
20396 return resultobj;
20397 fail:
20398 return NULL;
20399 }
20400
20401
20402 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
20403 PyObject *resultobj;
20404 wxDateTime *arg1 = (wxDateTime *) 0 ;
20405 wxTimeSpan *arg2 = 0 ;
20406 wxDateTime result;
20407 PyObject * obj0 = 0 ;
20408 PyObject * obj1 = 0 ;
20409
20410 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20414 SWIG_POINTER_EXCEPTION | 0)) == -1)
20415 SWIG_fail;
20416 if (arg2 == NULL) {
20417 PyErr_SetString(PyExc_TypeError,"null reference");
20418 SWIG_fail;
20419 }
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 {
20428 wxDateTime * resultptr;
20429 resultptr = new wxDateTime((wxDateTime &) result);
20430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20431 }
20432 return resultobj;
20433 fail:
20434 return NULL;
20435 }
20436
20437
20438 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
20439 PyObject *resultobj;
20440 wxDateTime *arg1 = (wxDateTime *) 0 ;
20441 wxDateSpan *arg2 = 0 ;
20442 wxDateTime result;
20443 PyObject * obj0 = 0 ;
20444 PyObject * obj1 = 0 ;
20445
20446 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20449 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20450 SWIG_POINTER_EXCEPTION | 0)) == -1)
20451 SWIG_fail;
20452 if (arg2 == NULL) {
20453 PyErr_SetString(PyExc_TypeError,"null reference");
20454 SWIG_fail;
20455 }
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 {
20464 wxDateTime * resultptr;
20465 resultptr = new wxDateTime((wxDateTime &) result);
20466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20467 }
20468 return resultobj;
20469 fail:
20470 return NULL;
20471 }
20472
20473
20474 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20475 int argc;
20476 PyObject *argv[3];
20477 int ii;
20478
20479 argc = PyObject_Length(args);
20480 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20481 argv[ii] = PyTuple_GetItem(args,ii);
20482 }
20483 if (argc == 2) {
20484 int _v;
20485 {
20486 void *ptr;
20487 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20488 _v = 0;
20489 PyErr_Clear();
20490 } else {
20491 _v = 1;
20492 }
20493 }
20494 if (_v) {
20495 {
20496 void *ptr;
20497 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20498 _v = 0;
20499 PyErr_Clear();
20500 } else {
20501 _v = 1;
20502 }
20503 }
20504 if (_v) {
20505 return _wrap_DateTime___sub____SWIG_0(self,args);
20506 }
20507 }
20508 }
20509 if (argc == 2) {
20510 int _v;
20511 {
20512 void *ptr;
20513 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20514 _v = 0;
20515 PyErr_Clear();
20516 } else {
20517 _v = 1;
20518 }
20519 }
20520 if (_v) {
20521 {
20522 void *ptr;
20523 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20524 _v = 0;
20525 PyErr_Clear();
20526 } else {
20527 _v = 1;
20528 }
20529 }
20530 if (_v) {
20531 return _wrap_DateTime___sub____SWIG_1(self,args);
20532 }
20533 }
20534 }
20535 if (argc == 2) {
20536 int _v;
20537 {
20538 void *ptr;
20539 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20540 _v = 0;
20541 PyErr_Clear();
20542 } else {
20543 _v = 1;
20544 }
20545 }
20546 if (_v) {
20547 {
20548 void *ptr;
20549 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20550 _v = 0;
20551 PyErr_Clear();
20552 } else {
20553 _v = 1;
20554 }
20555 }
20556 if (_v) {
20557 return _wrap_DateTime___sub____SWIG_2(self,args);
20558 }
20559 }
20560 }
20561
20562 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20563 return NULL;
20564 }
20565
20566
20567 static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args) {
20568 PyObject *resultobj;
20569 wxDateTime *arg1 = (wxDateTime *) 0 ;
20570 wxDateTime *arg2 = (wxDateTime *) 0 ;
20571 bool result;
20572 PyObject * obj0 = 0 ;
20573 PyObject * obj1 = 0 ;
20574
20575 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20580 {
20581 PyThreadState* __tstate = wxPyBeginAllowThreads();
20582 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
20583
20584 wxPyEndAllowThreads(__tstate);
20585 if (PyErr_Occurred()) SWIG_fail;
20586 }
20587 {
20588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20589 }
20590 return resultobj;
20591 fail:
20592 return NULL;
20593 }
20594
20595
20596 static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args) {
20597 PyObject *resultobj;
20598 wxDateTime *arg1 = (wxDateTime *) 0 ;
20599 wxDateTime *arg2 = (wxDateTime *) 0 ;
20600 bool result;
20601 PyObject * obj0 = 0 ;
20602 PyObject * obj1 = 0 ;
20603
20604 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20609 {
20610 PyThreadState* __tstate = wxPyBeginAllowThreads();
20611 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
20612
20613 wxPyEndAllowThreads(__tstate);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 }
20616 {
20617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20618 }
20619 return resultobj;
20620 fail:
20621 return NULL;
20622 }
20623
20624
20625 static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args) {
20626 PyObject *resultobj;
20627 wxDateTime *arg1 = (wxDateTime *) 0 ;
20628 wxDateTime *arg2 = (wxDateTime *) 0 ;
20629 bool result;
20630 PyObject * obj0 = 0 ;
20631 PyObject * obj1 = 0 ;
20632
20633 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20638 {
20639 PyThreadState* __tstate = wxPyBeginAllowThreads();
20640 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
20641
20642 wxPyEndAllowThreads(__tstate);
20643 if (PyErr_Occurred()) SWIG_fail;
20644 }
20645 {
20646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20647 }
20648 return resultobj;
20649 fail:
20650 return NULL;
20651 }
20652
20653
20654 static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args) {
20655 PyObject *resultobj;
20656 wxDateTime *arg1 = (wxDateTime *) 0 ;
20657 wxDateTime *arg2 = (wxDateTime *) 0 ;
20658 bool result;
20659 PyObject * obj0 = 0 ;
20660 PyObject * obj1 = 0 ;
20661
20662 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20667 {
20668 PyThreadState* __tstate = wxPyBeginAllowThreads();
20669 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
20670
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 {
20675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20676 }
20677 return resultobj;
20678 fail:
20679 return NULL;
20680 }
20681
20682
20683 static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args) {
20684 PyObject *resultobj;
20685 wxDateTime *arg1 = (wxDateTime *) 0 ;
20686 wxDateTime *arg2 = (wxDateTime *) 0 ;
20687 bool result;
20688 PyObject * obj0 = 0 ;
20689 PyObject * obj1 = 0 ;
20690
20691 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20696 {
20697 PyThreadState* __tstate = wxPyBeginAllowThreads();
20698 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
20699
20700 wxPyEndAllowThreads(__tstate);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 }
20703 {
20704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20705 }
20706 return resultobj;
20707 fail:
20708 return NULL;
20709 }
20710
20711
20712 static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args) {
20713 PyObject *resultobj;
20714 wxDateTime *arg1 = (wxDateTime *) 0 ;
20715 wxDateTime *arg2 = (wxDateTime *) 0 ;
20716 bool result;
20717 PyObject * obj0 = 0 ;
20718 PyObject * obj1 = 0 ;
20719
20720 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
20728
20729 wxPyEndAllowThreads(__tstate);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 {
20733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20734 }
20735 return resultobj;
20736 fail:
20737 return NULL;
20738 }
20739
20740
20741 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
20742 PyObject *resultobj;
20743 wxDateTime *arg1 = (wxDateTime *) 0 ;
20744 wxString *arg2 = 0 ;
20745 int result;
20746 bool temp2 = False ;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj1 = 0 ;
20749 char *kwnames[] = {
20750 (char *) "self",(char *) "date", NULL
20751 };
20752
20753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20756 {
20757 arg2 = wxString_in_helper(obj1);
20758 if (arg2 == NULL) SWIG_fail;
20759 temp2 = True;
20760 }
20761 {
20762 PyThreadState* __tstate = wxPyBeginAllowThreads();
20763 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20764
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 resultobj = SWIG_FromInt((int)result);
20769 {
20770 if (temp2)
20771 delete arg2;
20772 }
20773 return resultobj;
20774 fail:
20775 {
20776 if (temp2)
20777 delete arg2;
20778 }
20779 return NULL;
20780 }
20781
20782
20783 static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj;
20785 wxDateTime *arg1 = (wxDateTime *) 0 ;
20786 wxString *arg2 = 0 ;
20787 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20788 wxString *arg3 = (wxString *) &arg3_defvalue ;
20789 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20790 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20791 int result;
20792 bool temp2 = False ;
20793 bool temp3 = False ;
20794 PyObject * obj0 = 0 ;
20795 PyObject * obj1 = 0 ;
20796 PyObject * obj2 = 0 ;
20797 PyObject * obj3 = 0 ;
20798 char *kwnames[] = {
20799 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20800 };
20801
20802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20805 {
20806 arg2 = wxString_in_helper(obj1);
20807 if (arg2 == NULL) SWIG_fail;
20808 temp2 = True;
20809 }
20810 if (obj2) {
20811 {
20812 arg3 = wxString_in_helper(obj2);
20813 if (arg3 == NULL) SWIG_fail;
20814 temp3 = True;
20815 }
20816 }
20817 if (obj3) {
20818 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20819 SWIG_POINTER_EXCEPTION | 0)) == -1)
20820 SWIG_fail;
20821 if (arg4 == NULL) {
20822 PyErr_SetString(PyExc_TypeError,"null reference");
20823 SWIG_fail;
20824 }
20825 }
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 resultobj = SWIG_FromInt((int)result);
20834 {
20835 if (temp2)
20836 delete arg2;
20837 }
20838 {
20839 if (temp3)
20840 delete arg3;
20841 }
20842 return resultobj;
20843 fail:
20844 {
20845 if (temp2)
20846 delete arg2;
20847 }
20848 {
20849 if (temp3)
20850 delete arg3;
20851 }
20852 return NULL;
20853 }
20854
20855
20856 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
20857 PyObject *resultobj;
20858 wxDateTime *arg1 = (wxDateTime *) 0 ;
20859 wxString *arg2 = 0 ;
20860 int result;
20861 bool temp2 = False ;
20862 PyObject * obj0 = 0 ;
20863 PyObject * obj1 = 0 ;
20864 char *kwnames[] = {
20865 (char *) "self",(char *) "datetime", NULL
20866 };
20867
20868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
20869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20871 {
20872 arg2 = wxString_in_helper(obj1);
20873 if (arg2 == NULL) SWIG_fail;
20874 temp2 = True;
20875 }
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
20883 resultobj = SWIG_FromInt((int)result);
20884 {
20885 if (temp2)
20886 delete arg2;
20887 }
20888 return resultobj;
20889 fail:
20890 {
20891 if (temp2)
20892 delete arg2;
20893 }
20894 return NULL;
20895 }
20896
20897
20898 static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
20899 PyObject *resultobj;
20900 wxDateTime *arg1 = (wxDateTime *) 0 ;
20901 wxString *arg2 = 0 ;
20902 int result;
20903 bool temp2 = False ;
20904 PyObject * obj0 = 0 ;
20905 PyObject * obj1 = 0 ;
20906 char *kwnames[] = {
20907 (char *) "self",(char *) "date", NULL
20908 };
20909
20910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
20911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20913 {
20914 arg2 = wxString_in_helper(obj1);
20915 if (arg2 == NULL) SWIG_fail;
20916 temp2 = True;
20917 }
20918 {
20919 PyThreadState* __tstate = wxPyBeginAllowThreads();
20920 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20921
20922 wxPyEndAllowThreads(__tstate);
20923 if (PyErr_Occurred()) SWIG_fail;
20924 }
20925 resultobj = SWIG_FromInt((int)result);
20926 {
20927 if (temp2)
20928 delete arg2;
20929 }
20930 return resultobj;
20931 fail:
20932 {
20933 if (temp2)
20934 delete arg2;
20935 }
20936 return NULL;
20937 }
20938
20939
20940 static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
20941 PyObject *resultobj;
20942 wxDateTime *arg1 = (wxDateTime *) 0 ;
20943 wxString *arg2 = 0 ;
20944 int result;
20945 bool temp2 = False ;
20946 PyObject * obj0 = 0 ;
20947 PyObject * obj1 = 0 ;
20948 char *kwnames[] = {
20949 (char *) "self",(char *) "time", NULL
20950 };
20951
20952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
20953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20955 {
20956 arg2 = wxString_in_helper(obj1);
20957 if (arg2 == NULL) SWIG_fail;
20958 temp2 = True;
20959 }
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20963
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 resultobj = SWIG_FromInt((int)result);
20968 {
20969 if (temp2)
20970 delete arg2;
20971 }
20972 return resultobj;
20973 fail:
20974 {
20975 if (temp2)
20976 delete arg2;
20977 }
20978 return NULL;
20979 }
20980
20981
20982 static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj;
20984 wxDateTime *arg1 = (wxDateTime *) 0 ;
20985 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20986 wxString *arg2 = (wxString *) &arg2_defvalue ;
20987 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20988 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20989 wxString result;
20990 bool temp2 = False ;
20991 bool temp3 = False ;
20992 PyObject * obj0 = 0 ;
20993 PyObject * obj1 = 0 ;
20994 PyObject * obj2 = 0 ;
20995 char *kwnames[] = {
20996 (char *) "self",(char *) "format",(char *) "tz", NULL
20997 };
20998
20999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21002 if (obj1) {
21003 {
21004 arg2 = wxString_in_helper(obj1);
21005 if (arg2 == NULL) SWIG_fail;
21006 temp2 = True;
21007 }
21008 }
21009 if (obj2) {
21010 {
21011 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21012 temp3 = True;
21013 }
21014 }
21015 {
21016 PyThreadState* __tstate = wxPyBeginAllowThreads();
21017 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21018
21019 wxPyEndAllowThreads(__tstate);
21020 if (PyErr_Occurred()) SWIG_fail;
21021 }
21022 {
21023 #if wxUSE_UNICODE
21024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21025 #else
21026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21027 #endif
21028 }
21029 {
21030 if (temp2)
21031 delete arg2;
21032 }
21033 {
21034 if (temp3) delete arg3;
21035 }
21036 return resultobj;
21037 fail:
21038 {
21039 if (temp2)
21040 delete arg2;
21041 }
21042 {
21043 if (temp3) delete arg3;
21044 }
21045 return NULL;
21046 }
21047
21048
21049 static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj;
21051 wxDateTime *arg1 = (wxDateTime *) 0 ;
21052 wxString result;
21053 PyObject * obj0 = 0 ;
21054 char *kwnames[] = {
21055 (char *) "self", NULL
21056 };
21057
21058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21061 {
21062 PyThreadState* __tstate = wxPyBeginAllowThreads();
21063 result = ((wxDateTime const *)arg1)->FormatDate();
21064
21065 wxPyEndAllowThreads(__tstate);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 }
21068 {
21069 #if wxUSE_UNICODE
21070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21071 #else
21072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21073 #endif
21074 }
21075 return resultobj;
21076 fail:
21077 return NULL;
21078 }
21079
21080
21081 static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
21082 PyObject *resultobj;
21083 wxDateTime *arg1 = (wxDateTime *) 0 ;
21084 wxString result;
21085 PyObject * obj0 = 0 ;
21086 char *kwnames[] = {
21087 (char *) "self", NULL
21088 };
21089
21090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 result = ((wxDateTime const *)arg1)->FormatTime();
21096
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 {
21101 #if wxUSE_UNICODE
21102 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21103 #else
21104 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21105 #endif
21106 }
21107 return resultobj;
21108 fail:
21109 return NULL;
21110 }
21111
21112
21113 static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
21114 PyObject *resultobj;
21115 wxDateTime *arg1 = (wxDateTime *) 0 ;
21116 wxString result;
21117 PyObject * obj0 = 0 ;
21118 char *kwnames[] = {
21119 (char *) "self", NULL
21120 };
21121
21122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21125 {
21126 PyThreadState* __tstate = wxPyBeginAllowThreads();
21127 result = ((wxDateTime const *)arg1)->FormatISODate();
21128
21129 wxPyEndAllowThreads(__tstate);
21130 if (PyErr_Occurred()) SWIG_fail;
21131 }
21132 {
21133 #if wxUSE_UNICODE
21134 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21135 #else
21136 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21137 #endif
21138 }
21139 return resultobj;
21140 fail:
21141 return NULL;
21142 }
21143
21144
21145 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj;
21147 wxDateTime *arg1 = (wxDateTime *) 0 ;
21148 wxString result;
21149 PyObject * obj0 = 0 ;
21150 char *kwnames[] = {
21151 (char *) "self", NULL
21152 };
21153
21154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21157 {
21158 PyThreadState* __tstate = wxPyBeginAllowThreads();
21159 result = ((wxDateTime const *)arg1)->FormatISOTime();
21160
21161 wxPyEndAllowThreads(__tstate);
21162 if (PyErr_Occurred()) SWIG_fail;
21163 }
21164 {
21165 #if wxUSE_UNICODE
21166 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21167 #else
21168 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21169 #endif
21170 }
21171 return resultobj;
21172 fail:
21173 return NULL;
21174 }
21175
21176
21177 static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
21178 PyObject *obj;
21179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21180 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21181 Py_INCREF(obj);
21182 return Py_BuildValue((char *)"");
21183 }
21184 static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
21185 PyObject *resultobj;
21186 long arg1 ;
21187 wxTimeSpan result;
21188 PyObject * obj0 = 0 ;
21189 char *kwnames[] = {
21190 (char *) "sec", NULL
21191 };
21192
21193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21194 arg1 = (long) SWIG_AsLong(obj0);
21195 if (PyErr_Occurred()) SWIG_fail;
21196 {
21197 PyThreadState* __tstate = wxPyBeginAllowThreads();
21198 result = wxTimeSpan::Seconds(arg1);
21199
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 {
21204 wxTimeSpan * resultptr;
21205 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21206 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21207 }
21208 return resultobj;
21209 fail:
21210 return NULL;
21211 }
21212
21213
21214 static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
21215 PyObject *resultobj;
21216 wxTimeSpan result;
21217 char *kwnames[] = {
21218 NULL
21219 };
21220
21221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21222 {
21223 PyThreadState* __tstate = wxPyBeginAllowThreads();
21224 result = wxTimeSpan::Second();
21225
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 {
21230 wxTimeSpan * resultptr;
21231 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21232 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21233 }
21234 return resultobj;
21235 fail:
21236 return NULL;
21237 }
21238
21239
21240 static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
21241 PyObject *resultobj;
21242 long arg1 ;
21243 wxTimeSpan result;
21244 PyObject * obj0 = 0 ;
21245 char *kwnames[] = {
21246 (char *) "min", NULL
21247 };
21248
21249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21250 arg1 = (long) SWIG_AsLong(obj0);
21251 if (PyErr_Occurred()) SWIG_fail;
21252 {
21253 PyThreadState* __tstate = wxPyBeginAllowThreads();
21254 result = wxTimeSpan::Minutes(arg1);
21255
21256 wxPyEndAllowThreads(__tstate);
21257 if (PyErr_Occurred()) SWIG_fail;
21258 }
21259 {
21260 wxTimeSpan * resultptr;
21261 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21263 }
21264 return resultobj;
21265 fail:
21266 return NULL;
21267 }
21268
21269
21270 static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
21271 PyObject *resultobj;
21272 wxTimeSpan result;
21273 char *kwnames[] = {
21274 NULL
21275 };
21276
21277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21278 {
21279 PyThreadState* __tstate = wxPyBeginAllowThreads();
21280 result = wxTimeSpan::Minute();
21281
21282 wxPyEndAllowThreads(__tstate);
21283 if (PyErr_Occurred()) SWIG_fail;
21284 }
21285 {
21286 wxTimeSpan * resultptr;
21287 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21289 }
21290 return resultobj;
21291 fail:
21292 return NULL;
21293 }
21294
21295
21296 static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
21297 PyObject *resultobj;
21298 long arg1 ;
21299 wxTimeSpan result;
21300 PyObject * obj0 = 0 ;
21301 char *kwnames[] = {
21302 (char *) "hours", NULL
21303 };
21304
21305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21306 arg1 = (long) SWIG_AsLong(obj0);
21307 if (PyErr_Occurred()) SWIG_fail;
21308 {
21309 PyThreadState* __tstate = wxPyBeginAllowThreads();
21310 result = wxTimeSpan::Hours(arg1);
21311
21312 wxPyEndAllowThreads(__tstate);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 }
21315 {
21316 wxTimeSpan * resultptr;
21317 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21319 }
21320 return resultobj;
21321 fail:
21322 return NULL;
21323 }
21324
21325
21326 static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
21327 PyObject *resultobj;
21328 wxTimeSpan result;
21329 char *kwnames[] = {
21330 NULL
21331 };
21332
21333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 result = wxTimeSpan::Hour();
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 {
21342 wxTimeSpan * resultptr;
21343 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21345 }
21346 return resultobj;
21347 fail:
21348 return NULL;
21349 }
21350
21351
21352 static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 long arg1 ;
21355 wxTimeSpan result;
21356 PyObject * obj0 = 0 ;
21357 char *kwnames[] = {
21358 (char *) "days", NULL
21359 };
21360
21361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21362 arg1 = (long) SWIG_AsLong(obj0);
21363 if (PyErr_Occurred()) SWIG_fail;
21364 {
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 result = wxTimeSpan::Days(arg1);
21367
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
21371 {
21372 wxTimeSpan * resultptr;
21373 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21374 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21375 }
21376 return resultobj;
21377 fail:
21378 return NULL;
21379 }
21380
21381
21382 static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
21383 PyObject *resultobj;
21384 wxTimeSpan result;
21385 char *kwnames[] = {
21386 NULL
21387 };
21388
21389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21390 {
21391 PyThreadState* __tstate = wxPyBeginAllowThreads();
21392 result = wxTimeSpan::Day();
21393
21394 wxPyEndAllowThreads(__tstate);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 }
21397 {
21398 wxTimeSpan * resultptr;
21399 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21401 }
21402 return resultobj;
21403 fail:
21404 return NULL;
21405 }
21406
21407
21408 static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
21409 PyObject *resultobj;
21410 long arg1 ;
21411 wxTimeSpan result;
21412 PyObject * obj0 = 0 ;
21413 char *kwnames[] = {
21414 (char *) "days", NULL
21415 };
21416
21417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21418 arg1 = (long) SWIG_AsLong(obj0);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 {
21421 PyThreadState* __tstate = wxPyBeginAllowThreads();
21422 result = wxTimeSpan::Weeks(arg1);
21423
21424 wxPyEndAllowThreads(__tstate);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 }
21427 {
21428 wxTimeSpan * resultptr;
21429 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21431 }
21432 return resultobj;
21433 fail:
21434 return NULL;
21435 }
21436
21437
21438 static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
21439 PyObject *resultobj;
21440 wxTimeSpan result;
21441 char *kwnames[] = {
21442 NULL
21443 };
21444
21445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21446 {
21447 PyThreadState* __tstate = wxPyBeginAllowThreads();
21448 result = wxTimeSpan::Week();
21449
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
21453 {
21454 wxTimeSpan * resultptr;
21455 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21457 }
21458 return resultobj;
21459 fail:
21460 return NULL;
21461 }
21462
21463
21464 static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
21465 PyObject *resultobj;
21466 long arg1 = (long) 0 ;
21467 long arg2 = (long) 0 ;
21468 long arg3 = (long) 0 ;
21469 long arg4 = (long) 0 ;
21470 wxTimeSpan *result;
21471 PyObject * obj0 = 0 ;
21472 PyObject * obj1 = 0 ;
21473 PyObject * obj2 = 0 ;
21474 PyObject * obj3 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21480 if (obj0) {
21481 arg1 = (long) SWIG_AsLong(obj0);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 }
21484 if (obj1) {
21485 arg2 = (long) SWIG_AsLong(obj1);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
21488 if (obj2) {
21489 arg3 = (long) SWIG_AsLong(obj2);
21490 if (PyErr_Occurred()) SWIG_fail;
21491 }
21492 if (obj3) {
21493 arg4 = (long) SWIG_AsLong(obj3);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 }
21496 {
21497 PyThreadState* __tstate = wxPyBeginAllowThreads();
21498 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21499
21500 wxPyEndAllowThreads(__tstate);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
21503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21504 return resultobj;
21505 fail:
21506 return NULL;
21507 }
21508
21509
21510 static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
21511 PyObject *resultobj;
21512 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21513 PyObject * obj0 = 0 ;
21514 char *kwnames[] = {
21515 (char *) "self", NULL
21516 };
21517
21518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 delete arg1;
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 Py_INCREF(Py_None); resultobj = Py_None;
21529 return resultobj;
21530 fail:
21531 return NULL;
21532 }
21533
21534
21535 static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
21536 PyObject *resultobj;
21537 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21538 wxTimeSpan *arg2 = 0 ;
21539 wxTimeSpan *result;
21540 PyObject * obj0 = 0 ;
21541 PyObject * obj1 = 0 ;
21542 char *kwnames[] = {
21543 (char *) "self",(char *) "diff", NULL
21544 };
21545
21546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21550 SWIG_POINTER_EXCEPTION | 0)) == -1)
21551 SWIG_fail;
21552 if (arg2 == NULL) {
21553 PyErr_SetString(PyExc_TypeError,"null reference");
21554 SWIG_fail;
21555 }
21556 {
21557 PyThreadState* __tstate = wxPyBeginAllowThreads();
21558 {
21559 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21560 result = (wxTimeSpan *) &_result_ref;
21561 }
21562
21563 wxPyEndAllowThreads(__tstate);
21564 if (PyErr_Occurred()) SWIG_fail;
21565 }
21566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21567 return resultobj;
21568 fail:
21569 return NULL;
21570 }
21571
21572
21573 static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21576 wxTimeSpan *arg2 = 0 ;
21577 wxTimeSpan *result;
21578 PyObject * obj0 = 0 ;
21579 PyObject * obj1 = 0 ;
21580 char *kwnames[] = {
21581 (char *) "self",(char *) "diff", NULL
21582 };
21583
21584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21588 SWIG_POINTER_EXCEPTION | 0)) == -1)
21589 SWIG_fail;
21590 if (arg2 == NULL) {
21591 PyErr_SetString(PyExc_TypeError,"null reference");
21592 SWIG_fail;
21593 }
21594 {
21595 PyThreadState* __tstate = wxPyBeginAllowThreads();
21596 {
21597 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21598 result = (wxTimeSpan *) &_result_ref;
21599 }
21600
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21614 int arg2 ;
21615 wxTimeSpan *result;
21616 PyObject * obj0 = 0 ;
21617 PyObject * obj1 = 0 ;
21618 char *kwnames[] = {
21619 (char *) "self",(char *) "n", NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21625 arg2 = (int) SWIG_AsInt(obj1);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 {
21628 PyThreadState* __tstate = wxPyBeginAllowThreads();
21629 {
21630 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21631 result = (wxTimeSpan *) &_result_ref;
21632 }
21633
21634 wxPyEndAllowThreads(__tstate);
21635 if (PyErr_Occurred()) SWIG_fail;
21636 }
21637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21638 return resultobj;
21639 fail:
21640 return NULL;
21641 }
21642
21643
21644 static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
21645 PyObject *resultobj;
21646 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21647 wxTimeSpan *result;
21648 PyObject * obj0 = 0 ;
21649 char *kwnames[] = {
21650 (char *) "self", NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21656 {
21657 PyThreadState* __tstate = wxPyBeginAllowThreads();
21658 {
21659 wxTimeSpan &_result_ref = (arg1)->Neg();
21660 result = (wxTimeSpan *) &_result_ref;
21661 }
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21667 return resultobj;
21668 fail:
21669 return NULL;
21670 }
21671
21672
21673 static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
21674 PyObject *resultobj;
21675 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21676 wxTimeSpan result;
21677 PyObject * obj0 = 0 ;
21678 char *kwnames[] = {
21679 (char *) "self", NULL
21680 };
21681
21682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21685 {
21686 PyThreadState* __tstate = wxPyBeginAllowThreads();
21687 result = ((wxTimeSpan const *)arg1)->Abs();
21688
21689 wxPyEndAllowThreads(__tstate);
21690 if (PyErr_Occurred()) SWIG_fail;
21691 }
21692 {
21693 wxTimeSpan * resultptr;
21694 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21696 }
21697 return resultobj;
21698 fail:
21699 return NULL;
21700 }
21701
21702
21703 static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
21704 PyObject *resultobj;
21705 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21706 wxTimeSpan *arg2 = 0 ;
21707 wxTimeSpan *result;
21708 PyObject * obj0 = 0 ;
21709 PyObject * obj1 = 0 ;
21710 char *kwnames[] = {
21711 (char *) "self",(char *) "diff", NULL
21712 };
21713
21714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21718 SWIG_POINTER_EXCEPTION | 0)) == -1)
21719 SWIG_fail;
21720 if (arg2 == NULL) {
21721 PyErr_SetString(PyExc_TypeError,"null reference");
21722 SWIG_fail;
21723 }
21724 {
21725 PyThreadState* __tstate = wxPyBeginAllowThreads();
21726 {
21727 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21728 result = (wxTimeSpan *) &_result_ref;
21729 }
21730
21731 wxPyEndAllowThreads(__tstate);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 }
21734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21735 return resultobj;
21736 fail:
21737 return NULL;
21738 }
21739
21740
21741 static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
21742 PyObject *resultobj;
21743 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21744 wxTimeSpan *arg2 = 0 ;
21745 wxTimeSpan *result;
21746 PyObject * obj0 = 0 ;
21747 PyObject * obj1 = 0 ;
21748 char *kwnames[] = {
21749 (char *) "self",(char *) "diff", NULL
21750 };
21751
21752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21756 SWIG_POINTER_EXCEPTION | 0)) == -1)
21757 SWIG_fail;
21758 if (arg2 == NULL) {
21759 PyErr_SetString(PyExc_TypeError,"null reference");
21760 SWIG_fail;
21761 }
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 {
21765 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21766 result = (wxTimeSpan *) &_result_ref;
21767 }
21768
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21773 return resultobj;
21774 fail:
21775 return NULL;
21776 }
21777
21778
21779 static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
21780 PyObject *resultobj;
21781 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21782 int arg2 ;
21783 wxTimeSpan *result;
21784 PyObject * obj0 = 0 ;
21785 PyObject * obj1 = 0 ;
21786 char *kwnames[] = {
21787 (char *) "self",(char *) "n", NULL
21788 };
21789
21790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21793 arg2 = (int) SWIG_AsInt(obj1);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 {
21796 PyThreadState* __tstate = wxPyBeginAllowThreads();
21797 {
21798 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21799 result = (wxTimeSpan *) &_result_ref;
21800 }
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21806 return resultobj;
21807 fail:
21808 return NULL;
21809 }
21810
21811
21812 static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
21813 PyObject *resultobj;
21814 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21815 wxTimeSpan *result;
21816 PyObject * obj0 = 0 ;
21817 char *kwnames[] = {
21818 (char *) "self", NULL
21819 };
21820
21821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21824 {
21825 PyThreadState* __tstate = wxPyBeginAllowThreads();
21826 {
21827 wxTimeSpan &_result_ref = (arg1)->operator -();
21828 result = (wxTimeSpan *) &_result_ref;
21829 }
21830
21831 wxPyEndAllowThreads(__tstate);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 }
21834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21835 return resultobj;
21836 fail:
21837 return NULL;
21838 }
21839
21840
21841 static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
21842 PyObject *resultobj;
21843 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21844 wxTimeSpan *arg2 = 0 ;
21845 wxTimeSpan result;
21846 PyObject * obj0 = 0 ;
21847 PyObject * obj1 = 0 ;
21848 char *kwnames[] = {
21849 (char *) "self",(char *) "other", NULL
21850 };
21851
21852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21856 SWIG_POINTER_EXCEPTION | 0)) == -1)
21857 SWIG_fail;
21858 if (arg2 == NULL) {
21859 PyErr_SetString(PyExc_TypeError,"null reference");
21860 SWIG_fail;
21861 }
21862 {
21863 PyThreadState* __tstate = wxPyBeginAllowThreads();
21864 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21865
21866 wxPyEndAllowThreads(__tstate);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 {
21870 wxTimeSpan * resultptr;
21871 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21873 }
21874 return resultobj;
21875 fail:
21876 return NULL;
21877 }
21878
21879
21880 static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
21881 PyObject *resultobj;
21882 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21883 wxTimeSpan *arg2 = 0 ;
21884 wxTimeSpan result;
21885 PyObject * obj0 = 0 ;
21886 PyObject * obj1 = 0 ;
21887 char *kwnames[] = {
21888 (char *) "self",(char *) "other", NULL
21889 };
21890
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21895 SWIG_POINTER_EXCEPTION | 0)) == -1)
21896 SWIG_fail;
21897 if (arg2 == NULL) {
21898 PyErr_SetString(PyExc_TypeError,"null reference");
21899 SWIG_fail;
21900 }
21901 {
21902 PyThreadState* __tstate = wxPyBeginAllowThreads();
21903 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21904
21905 wxPyEndAllowThreads(__tstate);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 }
21908 {
21909 wxTimeSpan * resultptr;
21910 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21912 }
21913 return resultobj;
21914 fail:
21915 return NULL;
21916 }
21917
21918
21919 static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
21920 PyObject *resultobj;
21921 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21922 int arg2 ;
21923 wxTimeSpan result;
21924 PyObject * obj0 = 0 ;
21925 PyObject * obj1 = 0 ;
21926 char *kwnames[] = {
21927 (char *) "self",(char *) "n", NULL
21928 };
21929
21930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
21931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21933 arg2 = (int) SWIG_AsInt(obj1);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 {
21936 PyThreadState* __tstate = wxPyBeginAllowThreads();
21937 result = wxTimeSpan___mul__(arg1,arg2);
21938
21939 wxPyEndAllowThreads(__tstate);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 {
21943 wxTimeSpan * resultptr;
21944 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21946 }
21947 return resultobj;
21948 fail:
21949 return NULL;
21950 }
21951
21952
21953 static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
21954 PyObject *resultobj;
21955 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21956 int arg2 ;
21957 wxTimeSpan result;
21958 PyObject * obj0 = 0 ;
21959 PyObject * obj1 = 0 ;
21960 char *kwnames[] = {
21961 (char *) "self",(char *) "n", NULL
21962 };
21963
21964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
21965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21967 arg2 = (int) SWIG_AsInt(obj1);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 {
21970 PyThreadState* __tstate = wxPyBeginAllowThreads();
21971 result = wxTimeSpan___rmul__(arg1,arg2);
21972
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 {
21977 wxTimeSpan * resultptr;
21978 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21979 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21980 }
21981 return resultobj;
21982 fail:
21983 return NULL;
21984 }
21985
21986
21987 static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
21988 PyObject *resultobj;
21989 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21990 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
21991 bool result;
21992 PyObject * obj0 = 0 ;
21993 PyObject * obj1 = 0 ;
21994 char *kwnames[] = {
21995 (char *) "self",(char *) "other", NULL
21996 };
21997
21998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
21999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22003 {
22004 PyThreadState* __tstate = wxPyBeginAllowThreads();
22005 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22006
22007 wxPyEndAllowThreads(__tstate);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
22010 {
22011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22012 }
22013 return resultobj;
22014 fail:
22015 return NULL;
22016 }
22017
22018
22019 static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
22020 PyObject *resultobj;
22021 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22022 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22023 bool result;
22024 PyObject * obj0 = 0 ;
22025 PyObject * obj1 = 0 ;
22026 char *kwnames[] = {
22027 (char *) "self",(char *) "other", NULL
22028 };
22029
22030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22035 {
22036 PyThreadState* __tstate = wxPyBeginAllowThreads();
22037 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22038
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 {
22043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22044 }
22045 return resultobj;
22046 fail:
22047 return NULL;
22048 }
22049
22050
22051 static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
22052 PyObject *resultobj;
22053 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22054 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22055 bool result;
22056 PyObject * obj0 = 0 ;
22057 PyObject * obj1 = 0 ;
22058 char *kwnames[] = {
22059 (char *) "self",(char *) "other", NULL
22060 };
22061
22062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22067 {
22068 PyThreadState* __tstate = wxPyBeginAllowThreads();
22069 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22070
22071 wxPyEndAllowThreads(__tstate);
22072 if (PyErr_Occurred()) SWIG_fail;
22073 }
22074 {
22075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22076 }
22077 return resultobj;
22078 fail:
22079 return NULL;
22080 }
22081
22082
22083 static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
22084 PyObject *resultobj;
22085 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22086 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22087 bool result;
22088 PyObject * obj0 = 0 ;
22089 PyObject * obj1 = 0 ;
22090 char *kwnames[] = {
22091 (char *) "self",(char *) "other", NULL
22092 };
22093
22094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22099 {
22100 PyThreadState* __tstate = wxPyBeginAllowThreads();
22101 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22102
22103 wxPyEndAllowThreads(__tstate);
22104 if (PyErr_Occurred()) SWIG_fail;
22105 }
22106 {
22107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22108 }
22109 return resultobj;
22110 fail:
22111 return NULL;
22112 }
22113
22114
22115 static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
22116 PyObject *resultobj;
22117 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22118 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22119 bool result;
22120 PyObject * obj0 = 0 ;
22121 PyObject * obj1 = 0 ;
22122 char *kwnames[] = {
22123 (char *) "self",(char *) "other", NULL
22124 };
22125
22126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22134
22135 wxPyEndAllowThreads(__tstate);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 }
22138 {
22139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22140 }
22141 return resultobj;
22142 fail:
22143 return NULL;
22144 }
22145
22146
22147 static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
22148 PyObject *resultobj;
22149 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22150 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22151 bool result;
22152 PyObject * obj0 = 0 ;
22153 PyObject * obj1 = 0 ;
22154 char *kwnames[] = {
22155 (char *) "self",(char *) "other", NULL
22156 };
22157
22158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22161 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22163 {
22164 PyThreadState* __tstate = wxPyBeginAllowThreads();
22165 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22166
22167 wxPyEndAllowThreads(__tstate);
22168 if (PyErr_Occurred()) SWIG_fail;
22169 }
22170 {
22171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22172 }
22173 return resultobj;
22174 fail:
22175 return NULL;
22176 }
22177
22178
22179 static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
22180 PyObject *resultobj;
22181 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22182 bool result;
22183 PyObject * obj0 = 0 ;
22184 char *kwnames[] = {
22185 (char *) "self", NULL
22186 };
22187
22188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22191 {
22192 PyThreadState* __tstate = wxPyBeginAllowThreads();
22193 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22194
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
22198 {
22199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22200 }
22201 return resultobj;
22202 fail:
22203 return NULL;
22204 }
22205
22206
22207 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj;
22209 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22210 bool result;
22211 PyObject * obj0 = 0 ;
22212 char *kwnames[] = {
22213 (char *) "self", NULL
22214 };
22215
22216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 {
22227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22228 }
22229 return resultobj;
22230 fail:
22231 return NULL;
22232 }
22233
22234
22235 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
22236 PyObject *resultobj;
22237 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22238 bool result;
22239 PyObject * obj0 = 0 ;
22240 char *kwnames[] = {
22241 (char *) "self", NULL
22242 };
22243
22244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22247 {
22248 PyThreadState* __tstate = wxPyBeginAllowThreads();
22249 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22250
22251 wxPyEndAllowThreads(__tstate);
22252 if (PyErr_Occurred()) SWIG_fail;
22253 }
22254 {
22255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22256 }
22257 return resultobj;
22258 fail:
22259 return NULL;
22260 }
22261
22262
22263 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
22264 PyObject *resultobj;
22265 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22266 wxTimeSpan *arg2 = 0 ;
22267 bool result;
22268 PyObject * obj0 = 0 ;
22269 PyObject * obj1 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self",(char *) "ts", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22278 SWIG_POINTER_EXCEPTION | 0)) == -1)
22279 SWIG_fail;
22280 if (arg2 == NULL) {
22281 PyErr_SetString(PyExc_TypeError,"null reference");
22282 SWIG_fail;
22283 }
22284 {
22285 PyThreadState* __tstate = wxPyBeginAllowThreads();
22286 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22287
22288 wxPyEndAllowThreads(__tstate);
22289 if (PyErr_Occurred()) SWIG_fail;
22290 }
22291 {
22292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22293 }
22294 return resultobj;
22295 fail:
22296 return NULL;
22297 }
22298
22299
22300 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
22301 PyObject *resultobj;
22302 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22303 wxTimeSpan *arg2 = 0 ;
22304 bool result;
22305 PyObject * obj0 = 0 ;
22306 PyObject * obj1 = 0 ;
22307 char *kwnames[] = {
22308 (char *) "self",(char *) "ts", NULL
22309 };
22310
22311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22314 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22315 SWIG_POINTER_EXCEPTION | 0)) == -1)
22316 SWIG_fail;
22317 if (arg2 == NULL) {
22318 PyErr_SetString(PyExc_TypeError,"null reference");
22319 SWIG_fail;
22320 }
22321 {
22322 PyThreadState* __tstate = wxPyBeginAllowThreads();
22323 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22324
22325 wxPyEndAllowThreads(__tstate);
22326 if (PyErr_Occurred()) SWIG_fail;
22327 }
22328 {
22329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22330 }
22331 return resultobj;
22332 fail:
22333 return NULL;
22334 }
22335
22336
22337 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
22338 PyObject *resultobj;
22339 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22340 wxTimeSpan *arg2 = 0 ;
22341 bool result;
22342 PyObject * obj0 = 0 ;
22343 PyObject * obj1 = 0 ;
22344 char *kwnames[] = {
22345 (char *) "self",(char *) "t", NULL
22346 };
22347
22348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22352 SWIG_POINTER_EXCEPTION | 0)) == -1)
22353 SWIG_fail;
22354 if (arg2 == NULL) {
22355 PyErr_SetString(PyExc_TypeError,"null reference");
22356 SWIG_fail;
22357 }
22358 {
22359 PyThreadState* __tstate = wxPyBeginAllowThreads();
22360 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22361
22362 wxPyEndAllowThreads(__tstate);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
22365 {
22366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22367 }
22368 return resultobj;
22369 fail:
22370 return NULL;
22371 }
22372
22373
22374 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj;
22376 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22377 int result;
22378 PyObject * obj0 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22389
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 resultobj = SWIG_FromInt((int)result);
22394 return resultobj;
22395 fail:
22396 return NULL;
22397 }
22398
22399
22400 static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
22401 PyObject *resultobj;
22402 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22403 int result;
22404 PyObject * obj0 = 0 ;
22405 char *kwnames[] = {
22406 (char *) "self", NULL
22407 };
22408
22409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22415
22416 wxPyEndAllowThreads(__tstate);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 }
22419 resultobj = SWIG_FromInt((int)result);
22420 return resultobj;
22421 fail:
22422 return NULL;
22423 }
22424
22425
22426 static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
22427 PyObject *resultobj;
22428 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22429 int result;
22430 PyObject * obj0 = 0 ;
22431 char *kwnames[] = {
22432 (char *) "self", NULL
22433 };
22434
22435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22438 {
22439 PyThreadState* __tstate = wxPyBeginAllowThreads();
22440 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22441
22442 wxPyEndAllowThreads(__tstate);
22443 if (PyErr_Occurred()) SWIG_fail;
22444 }
22445 resultobj = SWIG_FromInt((int)result);
22446 return resultobj;
22447 fail:
22448 return NULL;
22449 }
22450
22451
22452 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
22453 PyObject *resultobj;
22454 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22455 int result;
22456 PyObject * obj0 = 0 ;
22457 char *kwnames[] = {
22458 (char *) "self", NULL
22459 };
22460
22461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22464 {
22465 PyThreadState* __tstate = wxPyBeginAllowThreads();
22466 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22467
22468 wxPyEndAllowThreads(__tstate);
22469 if (PyErr_Occurred()) SWIG_fail;
22470 }
22471 resultobj = SWIG_FromInt((int)result);
22472 return resultobj;
22473 fail:
22474 return NULL;
22475 }
22476
22477
22478 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
22479 PyObject *resultobj;
22480 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22481 wxLongLong result;
22482 PyObject * obj0 = 0 ;
22483 char *kwnames[] = {
22484 (char *) "self", NULL
22485 };
22486
22487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22490 {
22491 PyThreadState* __tstate = wxPyBeginAllowThreads();
22492 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22493
22494 wxPyEndAllowThreads(__tstate);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 }
22497 {
22498 PyObject *hi, *lo, *shifter, *shifted;
22499 hi = PyLong_FromLong( (&result)->GetHi() );
22500 lo = PyLong_FromLong( (&result)->GetLo() );
22501 shifter = PyLong_FromLong(32);
22502 shifted = PyNumber_Lshift(hi, shifter);
22503 resultobj = PyNumber_Or(shifted, lo);
22504 Py_DECREF(hi);
22505 Py_DECREF(lo);
22506 Py_DECREF(shifter);
22507 Py_DECREF(shifted);
22508 }
22509 return resultobj;
22510 fail:
22511 return NULL;
22512 }
22513
22514
22515 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
22516 PyObject *resultobj;
22517 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22518 wxLongLong result;
22519 PyObject * obj0 = 0 ;
22520 char *kwnames[] = {
22521 (char *) "self", NULL
22522 };
22523
22524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22527 {
22528 PyThreadState* __tstate = wxPyBeginAllowThreads();
22529 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22530
22531 wxPyEndAllowThreads(__tstate);
22532 if (PyErr_Occurred()) SWIG_fail;
22533 }
22534 {
22535 PyObject *hi, *lo, *shifter, *shifted;
22536 hi = PyLong_FromLong( (&result)->GetHi() );
22537 lo = PyLong_FromLong( (&result)->GetLo() );
22538 shifter = PyLong_FromLong(32);
22539 shifted = PyNumber_Lshift(hi, shifter);
22540 resultobj = PyNumber_Or(shifted, lo);
22541 Py_DECREF(hi);
22542 Py_DECREF(lo);
22543 Py_DECREF(shifter);
22544 Py_DECREF(shifted);
22545 }
22546 return resultobj;
22547 fail:
22548 return NULL;
22549 }
22550
22551
22552 static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
22553 PyObject *resultobj;
22554 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22555 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22556 wxString *arg2 = (wxString *) &arg2_defvalue ;
22557 wxString result;
22558 bool temp2 = False ;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 char *kwnames[] = {
22562 (char *) "self",(char *) "format", NULL
22563 };
22564
22565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22568 if (obj1) {
22569 {
22570 arg2 = wxString_in_helper(obj1);
22571 if (arg2 == NULL) SWIG_fail;
22572 temp2 = True;
22573 }
22574 }
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22578
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 {
22583 #if wxUSE_UNICODE
22584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22585 #else
22586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22587 #endif
22588 }
22589 {
22590 if (temp2)
22591 delete arg2;
22592 }
22593 return resultobj;
22594 fail:
22595 {
22596 if (temp2)
22597 delete arg2;
22598 }
22599 return NULL;
22600 }
22601
22602
22603 static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
22604 PyObject *obj;
22605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22606 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22607 Py_INCREF(obj);
22608 return Py_BuildValue((char *)"");
22609 }
22610 static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
22611 PyObject *resultobj;
22612 int arg1 = (int) 0 ;
22613 int arg2 = (int) 0 ;
22614 int arg3 = (int) 0 ;
22615 int arg4 = (int) 0 ;
22616 wxDateSpan *result;
22617 PyObject * obj0 = 0 ;
22618 PyObject * obj1 = 0 ;
22619 PyObject * obj2 = 0 ;
22620 PyObject * obj3 = 0 ;
22621 char *kwnames[] = {
22622 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22623 };
22624
22625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22626 if (obj0) {
22627 arg1 = (int) SWIG_AsInt(obj0);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
22630 if (obj1) {
22631 arg2 = (int) SWIG_AsInt(obj1);
22632 if (PyErr_Occurred()) SWIG_fail;
22633 }
22634 if (obj2) {
22635 arg3 = (int) SWIG_AsInt(obj2);
22636 if (PyErr_Occurred()) SWIG_fail;
22637 }
22638 if (obj3) {
22639 arg4 = (int) SWIG_AsInt(obj3);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 }
22642 {
22643 PyThreadState* __tstate = wxPyBeginAllowThreads();
22644 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22645
22646 wxPyEndAllowThreads(__tstate);
22647 if (PyErr_Occurred()) SWIG_fail;
22648 }
22649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
22650 return resultobj;
22651 fail:
22652 return NULL;
22653 }
22654
22655
22656 static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
22657 PyObject *resultobj;
22658 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22659 PyObject * obj0 = 0 ;
22660 char *kwnames[] = {
22661 (char *) "self", NULL
22662 };
22663
22664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22667 {
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 delete arg1;
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 Py_INCREF(Py_None); resultobj = Py_None;
22675 return resultobj;
22676 fail:
22677 return NULL;
22678 }
22679
22680
22681 static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
22682 PyObject *resultobj;
22683 int arg1 ;
22684 wxDateSpan result;
22685 PyObject * obj0 = 0 ;
22686 char *kwnames[] = {
22687 (char *) "days", NULL
22688 };
22689
22690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22691 arg1 = (int) SWIG_AsInt(obj0);
22692 if (PyErr_Occurred()) SWIG_fail;
22693 {
22694 PyThreadState* __tstate = wxPyBeginAllowThreads();
22695 result = wxDateSpan::Days(arg1);
22696
22697 wxPyEndAllowThreads(__tstate);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 }
22700 {
22701 wxDateSpan * resultptr;
22702 resultptr = new wxDateSpan((wxDateSpan &) result);
22703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22704 }
22705 return resultobj;
22706 fail:
22707 return NULL;
22708 }
22709
22710
22711 static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
22712 PyObject *resultobj;
22713 wxDateSpan result;
22714 char *kwnames[] = {
22715 NULL
22716 };
22717
22718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22719 {
22720 PyThreadState* __tstate = wxPyBeginAllowThreads();
22721 result = wxDateSpan::Day();
22722
22723 wxPyEndAllowThreads(__tstate);
22724 if (PyErr_Occurred()) SWIG_fail;
22725 }
22726 {
22727 wxDateSpan * resultptr;
22728 resultptr = new wxDateSpan((wxDateSpan &) result);
22729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22730 }
22731 return resultobj;
22732 fail:
22733 return NULL;
22734 }
22735
22736
22737 static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
22738 PyObject *resultobj;
22739 int arg1 ;
22740 wxDateSpan result;
22741 PyObject * obj0 = 0 ;
22742 char *kwnames[] = {
22743 (char *) "weeks", NULL
22744 };
22745
22746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22747 arg1 = (int) SWIG_AsInt(obj0);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 {
22750 PyThreadState* __tstate = wxPyBeginAllowThreads();
22751 result = wxDateSpan::Weeks(arg1);
22752
22753 wxPyEndAllowThreads(__tstate);
22754 if (PyErr_Occurred()) SWIG_fail;
22755 }
22756 {
22757 wxDateSpan * resultptr;
22758 resultptr = new wxDateSpan((wxDateSpan &) result);
22759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22760 }
22761 return resultobj;
22762 fail:
22763 return NULL;
22764 }
22765
22766
22767 static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
22768 PyObject *resultobj;
22769 wxDateSpan result;
22770 char *kwnames[] = {
22771 NULL
22772 };
22773
22774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22775 {
22776 PyThreadState* __tstate = wxPyBeginAllowThreads();
22777 result = wxDateSpan::Week();
22778
22779 wxPyEndAllowThreads(__tstate);
22780 if (PyErr_Occurred()) SWIG_fail;
22781 }
22782 {
22783 wxDateSpan * resultptr;
22784 resultptr = new wxDateSpan((wxDateSpan &) result);
22785 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22786 }
22787 return resultobj;
22788 fail:
22789 return NULL;
22790 }
22791
22792
22793 static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
22794 PyObject *resultobj;
22795 int arg1 ;
22796 wxDateSpan result;
22797 PyObject * obj0 = 0 ;
22798 char *kwnames[] = {
22799 (char *) "mon", NULL
22800 };
22801
22802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22803 arg1 = (int) SWIG_AsInt(obj0);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 result = wxDateSpan::Months(arg1);
22808
22809 wxPyEndAllowThreads(__tstate);
22810 if (PyErr_Occurred()) SWIG_fail;
22811 }
22812 {
22813 wxDateSpan * resultptr;
22814 resultptr = new wxDateSpan((wxDateSpan &) result);
22815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22816 }
22817 return resultobj;
22818 fail:
22819 return NULL;
22820 }
22821
22822
22823 static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
22824 PyObject *resultobj;
22825 wxDateSpan result;
22826 char *kwnames[] = {
22827 NULL
22828 };
22829
22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 result = wxDateSpan::Month();
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 {
22839 wxDateSpan * resultptr;
22840 resultptr = new wxDateSpan((wxDateSpan &) result);
22841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22842 }
22843 return resultobj;
22844 fail:
22845 return NULL;
22846 }
22847
22848
22849 static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 int arg1 ;
22852 wxDateSpan result;
22853 PyObject * obj0 = 0 ;
22854 char *kwnames[] = {
22855 (char *) "years", NULL
22856 };
22857
22858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
22859 arg1 = (int) SWIG_AsInt(obj0);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 result = wxDateSpan::Years(arg1);
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 {
22869 wxDateSpan * resultptr;
22870 resultptr = new wxDateSpan((wxDateSpan &) result);
22871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22872 }
22873 return resultobj;
22874 fail:
22875 return NULL;
22876 }
22877
22878
22879 static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
22880 PyObject *resultobj;
22881 wxDateSpan result;
22882 char *kwnames[] = {
22883 NULL
22884 };
22885
22886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 result = wxDateSpan::Year();
22890
22891 wxPyEndAllowThreads(__tstate);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 {
22895 wxDateSpan * resultptr;
22896 resultptr = new wxDateSpan((wxDateSpan &) result);
22897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22898 }
22899 return resultobj;
22900 fail:
22901 return NULL;
22902 }
22903
22904
22905 static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
22906 PyObject *resultobj;
22907 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22908 int arg2 ;
22909 wxDateSpan *result;
22910 PyObject * obj0 = 0 ;
22911 PyObject * obj1 = 0 ;
22912 char *kwnames[] = {
22913 (char *) "self",(char *) "n", NULL
22914 };
22915
22916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
22917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22919 arg2 = (int) SWIG_AsInt(obj1);
22920 if (PyErr_Occurred()) SWIG_fail;
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 {
22924 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22925 result = (wxDateSpan *) &_result_ref;
22926 }
22927
22928 wxPyEndAllowThreads(__tstate);
22929 if (PyErr_Occurred()) SWIG_fail;
22930 }
22931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
22932 return resultobj;
22933 fail:
22934 return NULL;
22935 }
22936
22937
22938 static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
22939 PyObject *resultobj;
22940 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22941 int arg2 ;
22942 wxDateSpan *result;
22943 PyObject * obj0 = 0 ;
22944 PyObject * obj1 = 0 ;
22945 char *kwnames[] = {
22946 (char *) "self",(char *) "n", NULL
22947 };
22948
22949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
22950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22952 arg2 = (int) SWIG_AsInt(obj1);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 {
22957 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22958 result = (wxDateSpan *) &_result_ref;
22959 }
22960
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
22965 return resultobj;
22966 fail:
22967 return NULL;
22968 }
22969
22970
22971 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
22972 PyObject *resultobj;
22973 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22974 int arg2 ;
22975 wxDateSpan *result;
22976 PyObject * obj0 = 0 ;
22977 PyObject * obj1 = 0 ;
22978 char *kwnames[] = {
22979 (char *) "self",(char *) "n", NULL
22980 };
22981
22982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
22983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22985 arg2 = (int) SWIG_AsInt(obj1);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 {
22988 PyThreadState* __tstate = wxPyBeginAllowThreads();
22989 {
22990 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22991 result = (wxDateSpan *) &_result_ref;
22992 }
22993
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
22997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
22998 return resultobj;
22999 fail:
23000 return NULL;
23001 }
23002
23003
23004 static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
23005 PyObject *resultobj;
23006 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23007 int arg2 ;
23008 wxDateSpan *result;
23009 PyObject * obj0 = 0 ;
23010 PyObject * obj1 = 0 ;
23011 char *kwnames[] = {
23012 (char *) "self",(char *) "n", NULL
23013 };
23014
23015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23018 arg2 = (int) SWIG_AsInt(obj1);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 {
23021 PyThreadState* __tstate = wxPyBeginAllowThreads();
23022 {
23023 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23024 result = (wxDateSpan *) &_result_ref;
23025 }
23026
23027 wxPyEndAllowThreads(__tstate);
23028 if (PyErr_Occurred()) SWIG_fail;
23029 }
23030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23031 return resultobj;
23032 fail:
23033 return NULL;
23034 }
23035
23036
23037 static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
23038 PyObject *resultobj;
23039 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23040 int result;
23041 PyObject * obj0 = 0 ;
23042 char *kwnames[] = {
23043 (char *) "self", NULL
23044 };
23045
23046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23049 {
23050 PyThreadState* __tstate = wxPyBeginAllowThreads();
23051 result = (int)((wxDateSpan const *)arg1)->GetYears();
23052
23053 wxPyEndAllowThreads(__tstate);
23054 if (PyErr_Occurred()) SWIG_fail;
23055 }
23056 resultobj = SWIG_FromInt((int)result);
23057 return resultobj;
23058 fail:
23059 return NULL;
23060 }
23061
23062
23063 static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
23064 PyObject *resultobj;
23065 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23066 int result;
23067 PyObject * obj0 = 0 ;
23068 char *kwnames[] = {
23069 (char *) "self", NULL
23070 };
23071
23072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23078
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 resultobj = SWIG_FromInt((int)result);
23083 return resultobj;
23084 fail:
23085 return NULL;
23086 }
23087
23088
23089 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
23090 PyObject *resultobj;
23091 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23092 int result;
23093 PyObject * obj0 = 0 ;
23094 char *kwnames[] = {
23095 (char *) "self", NULL
23096 };
23097
23098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23101 {
23102 PyThreadState* __tstate = wxPyBeginAllowThreads();
23103 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23104
23105 wxPyEndAllowThreads(__tstate);
23106 if (PyErr_Occurred()) SWIG_fail;
23107 }
23108 resultobj = SWIG_FromInt((int)result);
23109 return resultobj;
23110 fail:
23111 return NULL;
23112 }
23113
23114
23115 static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
23116 PyObject *resultobj;
23117 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23118 int result;
23119 PyObject * obj0 = 0 ;
23120 char *kwnames[] = {
23121 (char *) "self", NULL
23122 };
23123
23124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23127 {
23128 PyThreadState* __tstate = wxPyBeginAllowThreads();
23129 result = (int)((wxDateSpan const *)arg1)->GetDays();
23130
23131 wxPyEndAllowThreads(__tstate);
23132 if (PyErr_Occurred()) SWIG_fail;
23133 }
23134 resultobj = SWIG_FromInt((int)result);
23135 return resultobj;
23136 fail:
23137 return NULL;
23138 }
23139
23140
23141 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
23142 PyObject *resultobj;
23143 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23144 int result;
23145 PyObject * obj0 = 0 ;
23146 char *kwnames[] = {
23147 (char *) "self", NULL
23148 };
23149
23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23153 {
23154 PyThreadState* __tstate = wxPyBeginAllowThreads();
23155 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23156
23157 wxPyEndAllowThreads(__tstate);
23158 if (PyErr_Occurred()) SWIG_fail;
23159 }
23160 resultobj = SWIG_FromInt((int)result);
23161 return resultobj;
23162 fail:
23163 return NULL;
23164 }
23165
23166
23167 static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
23168 PyObject *resultobj;
23169 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23170 wxDateSpan *arg2 = 0 ;
23171 wxDateSpan *result;
23172 PyObject * obj0 = 0 ;
23173 PyObject * obj1 = 0 ;
23174 char *kwnames[] = {
23175 (char *) "self",(char *) "other", NULL
23176 };
23177
23178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23182 SWIG_POINTER_EXCEPTION | 0)) == -1)
23183 SWIG_fail;
23184 if (arg2 == NULL) {
23185 PyErr_SetString(PyExc_TypeError,"null reference");
23186 SWIG_fail;
23187 }
23188 {
23189 PyThreadState* __tstate = wxPyBeginAllowThreads();
23190 {
23191 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23192 result = (wxDateSpan *) &_result_ref;
23193 }
23194
23195 wxPyEndAllowThreads(__tstate);
23196 if (PyErr_Occurred()) SWIG_fail;
23197 }
23198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23199 return resultobj;
23200 fail:
23201 return NULL;
23202 }
23203
23204
23205 static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
23206 PyObject *resultobj;
23207 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23208 wxDateSpan *arg2 = 0 ;
23209 wxDateSpan *result;
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj1 = 0 ;
23212 char *kwnames[] = {
23213 (char *) "self",(char *) "other", NULL
23214 };
23215
23216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23219 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23220 SWIG_POINTER_EXCEPTION | 0)) == -1)
23221 SWIG_fail;
23222 if (arg2 == NULL) {
23223 PyErr_SetString(PyExc_TypeError,"null reference");
23224 SWIG_fail;
23225 }
23226 {
23227 PyThreadState* __tstate = wxPyBeginAllowThreads();
23228 {
23229 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23230 result = (wxDateSpan *) &_result_ref;
23231 }
23232
23233 wxPyEndAllowThreads(__tstate);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
23236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23237 return resultobj;
23238 fail:
23239 return NULL;
23240 }
23241
23242
23243 static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
23244 PyObject *resultobj;
23245 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23246 wxDateSpan *result;
23247 PyObject * obj0 = 0 ;
23248 char *kwnames[] = {
23249 (char *) "self", NULL
23250 };
23251
23252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23255 {
23256 PyThreadState* __tstate = wxPyBeginAllowThreads();
23257 {
23258 wxDateSpan &_result_ref = (arg1)->Neg();
23259 result = (wxDateSpan *) &_result_ref;
23260 }
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23266 return resultobj;
23267 fail:
23268 return NULL;
23269 }
23270
23271
23272 static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
23273 PyObject *resultobj;
23274 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23275 int arg2 ;
23276 wxDateSpan *result;
23277 PyObject * obj0 = 0 ;
23278 PyObject * obj1 = 0 ;
23279 char *kwnames[] = {
23280 (char *) "self",(char *) "factor", NULL
23281 };
23282
23283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23286 arg2 = (int) SWIG_AsInt(obj1);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 {
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 {
23291 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23292 result = (wxDateSpan *) &_result_ref;
23293 }
23294
23295 wxPyEndAllowThreads(__tstate);
23296 if (PyErr_Occurred()) SWIG_fail;
23297 }
23298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23299 return resultobj;
23300 fail:
23301 return NULL;
23302 }
23303
23304
23305 static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
23306 PyObject *resultobj;
23307 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23308 wxDateSpan *arg2 = 0 ;
23309 wxDateSpan *result;
23310 PyObject * obj0 = 0 ;
23311 PyObject * obj1 = 0 ;
23312 char *kwnames[] = {
23313 (char *) "self",(char *) "other", NULL
23314 };
23315
23316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23320 SWIG_POINTER_EXCEPTION | 0)) == -1)
23321 SWIG_fail;
23322 if (arg2 == NULL) {
23323 PyErr_SetString(PyExc_TypeError,"null reference");
23324 SWIG_fail;
23325 }
23326 {
23327 PyThreadState* __tstate = wxPyBeginAllowThreads();
23328 {
23329 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23330 result = (wxDateSpan *) &_result_ref;
23331 }
23332
23333 wxPyEndAllowThreads(__tstate);
23334 if (PyErr_Occurred()) SWIG_fail;
23335 }
23336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23337 return resultobj;
23338 fail:
23339 return NULL;
23340 }
23341
23342
23343 static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
23344 PyObject *resultobj;
23345 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23346 wxDateSpan *arg2 = 0 ;
23347 wxDateSpan *result;
23348 PyObject * obj0 = 0 ;
23349 PyObject * obj1 = 0 ;
23350 char *kwnames[] = {
23351 (char *) "self",(char *) "other", NULL
23352 };
23353
23354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23358 SWIG_POINTER_EXCEPTION | 0)) == -1)
23359 SWIG_fail;
23360 if (arg2 == NULL) {
23361 PyErr_SetString(PyExc_TypeError,"null reference");
23362 SWIG_fail;
23363 }
23364 {
23365 PyThreadState* __tstate = wxPyBeginAllowThreads();
23366 {
23367 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23368 result = (wxDateSpan *) &_result_ref;
23369 }
23370
23371 wxPyEndAllowThreads(__tstate);
23372 if (PyErr_Occurred()) SWIG_fail;
23373 }
23374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23375 return resultobj;
23376 fail:
23377 return NULL;
23378 }
23379
23380
23381 static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
23382 PyObject *resultobj;
23383 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23384 wxDateSpan *result;
23385 PyObject * obj0 = 0 ;
23386 char *kwnames[] = {
23387 (char *) "self", NULL
23388 };
23389
23390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23393 {
23394 PyThreadState* __tstate = wxPyBeginAllowThreads();
23395 {
23396 wxDateSpan &_result_ref = (arg1)->operator -();
23397 result = (wxDateSpan *) &_result_ref;
23398 }
23399
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23404 return resultobj;
23405 fail:
23406 return NULL;
23407 }
23408
23409
23410 static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
23411 PyObject *resultobj;
23412 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23413 int arg2 ;
23414 wxDateSpan *result;
23415 PyObject * obj0 = 0 ;
23416 PyObject * obj1 = 0 ;
23417 char *kwnames[] = {
23418 (char *) "self",(char *) "factor", NULL
23419 };
23420
23421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23424 arg2 = (int) SWIG_AsInt(obj1);
23425 if (PyErr_Occurred()) SWIG_fail;
23426 {
23427 PyThreadState* __tstate = wxPyBeginAllowThreads();
23428 {
23429 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23430 result = (wxDateSpan *) &_result_ref;
23431 }
23432
23433 wxPyEndAllowThreads(__tstate);
23434 if (PyErr_Occurred()) SWIG_fail;
23435 }
23436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23437 return resultobj;
23438 fail:
23439 return NULL;
23440 }
23441
23442
23443 static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
23444 PyObject *resultobj;
23445 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23446 wxDateSpan *arg2 = 0 ;
23447 wxDateSpan result;
23448 PyObject * obj0 = 0 ;
23449 PyObject * obj1 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self",(char *) "other", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23457 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23458 SWIG_POINTER_EXCEPTION | 0)) == -1)
23459 SWIG_fail;
23460 if (arg2 == NULL) {
23461 PyErr_SetString(PyExc_TypeError,"null reference");
23462 SWIG_fail;
23463 }
23464 {
23465 PyThreadState* __tstate = wxPyBeginAllowThreads();
23466 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23467
23468 wxPyEndAllowThreads(__tstate);
23469 if (PyErr_Occurred()) SWIG_fail;
23470 }
23471 {
23472 wxDateSpan * resultptr;
23473 resultptr = new wxDateSpan((wxDateSpan &) result);
23474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23475 }
23476 return resultobj;
23477 fail:
23478 return NULL;
23479 }
23480
23481
23482 static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
23483 PyObject *resultobj;
23484 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23485 wxDateSpan *arg2 = 0 ;
23486 wxDateSpan result;
23487 PyObject * obj0 = 0 ;
23488 PyObject * obj1 = 0 ;
23489 char *kwnames[] = {
23490 (char *) "self",(char *) "other", NULL
23491 };
23492
23493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23497 SWIG_POINTER_EXCEPTION | 0)) == -1)
23498 SWIG_fail;
23499 if (arg2 == NULL) {
23500 PyErr_SetString(PyExc_TypeError,"null reference");
23501 SWIG_fail;
23502 }
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
23505 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23506
23507 wxPyEndAllowThreads(__tstate);
23508 if (PyErr_Occurred()) SWIG_fail;
23509 }
23510 {
23511 wxDateSpan * resultptr;
23512 resultptr = new wxDateSpan((wxDateSpan &) result);
23513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23514 }
23515 return resultobj;
23516 fail:
23517 return NULL;
23518 }
23519
23520
23521 static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
23522 PyObject *resultobj;
23523 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23524 int arg2 ;
23525 wxDateSpan result;
23526 PyObject * obj0 = 0 ;
23527 PyObject * obj1 = 0 ;
23528 char *kwnames[] = {
23529 (char *) "self",(char *) "n", NULL
23530 };
23531
23532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23535 arg2 = (int) SWIG_AsInt(obj1);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 {
23538 PyThreadState* __tstate = wxPyBeginAllowThreads();
23539 result = wxDateSpan___mul__(arg1,arg2);
23540
23541 wxPyEndAllowThreads(__tstate);
23542 if (PyErr_Occurred()) SWIG_fail;
23543 }
23544 {
23545 wxDateSpan * resultptr;
23546 resultptr = new wxDateSpan((wxDateSpan &) result);
23547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23548 }
23549 return resultobj;
23550 fail:
23551 return NULL;
23552 }
23553
23554
23555 static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
23556 PyObject *resultobj;
23557 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23558 int arg2 ;
23559 wxDateSpan result;
23560 PyObject * obj0 = 0 ;
23561 PyObject * obj1 = 0 ;
23562 char *kwnames[] = {
23563 (char *) "self",(char *) "n", NULL
23564 };
23565
23566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23569 arg2 = (int) SWIG_AsInt(obj1);
23570 if (PyErr_Occurred()) SWIG_fail;
23571 {
23572 PyThreadState* __tstate = wxPyBeginAllowThreads();
23573 result = wxDateSpan___rmul__(arg1,arg2);
23574
23575 wxPyEndAllowThreads(__tstate);
23576 if (PyErr_Occurred()) SWIG_fail;
23577 }
23578 {
23579 wxDateSpan * resultptr;
23580 resultptr = new wxDateSpan((wxDateSpan &) result);
23581 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23582 }
23583 return resultobj;
23584 fail:
23585 return NULL;
23586 }
23587
23588
23589 static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
23590 PyObject *resultobj;
23591 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23592 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23593 bool result;
23594 PyObject * obj0 = 0 ;
23595 PyObject * obj1 = 0 ;
23596 char *kwnames[] = {
23597 (char *) "self",(char *) "other", NULL
23598 };
23599
23600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23605 {
23606 PyThreadState* __tstate = wxPyBeginAllowThreads();
23607 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
23608
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 {
23613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23614 }
23615 return resultobj;
23616 fail:
23617 return NULL;
23618 }
23619
23620
23621 static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
23622 PyObject *resultobj;
23623 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23624 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23625 bool result;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "other", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 {
23645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23646 }
23647 return resultobj;
23648 fail:
23649 return NULL;
23650 }
23651
23652
23653 static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
23654 PyObject *obj;
23655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23656 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23657 Py_INCREF(obj);
23658 return Py_BuildValue((char *)"");
23659 }
23660 static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
23661 PyObject *resultobj;
23662 long result;
23663 char *kwnames[] = {
23664 NULL
23665 };
23666
23667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 result = (long)wxGetLocalTime();
23671
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 resultobj = SWIG_FromLong((long)result);
23676 return resultobj;
23677 fail:
23678 return NULL;
23679 }
23680
23681
23682 static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
23683 PyObject *resultobj;
23684 long result;
23685 char *kwnames[] = {
23686 NULL
23687 };
23688
23689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23690 {
23691 PyThreadState* __tstate = wxPyBeginAllowThreads();
23692 result = (long)wxGetUTCTime();
23693
23694 wxPyEndAllowThreads(__tstate);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 }
23697 resultobj = SWIG_FromLong((long)result);
23698 return resultobj;
23699 fail:
23700 return NULL;
23701 }
23702
23703
23704 static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
23705 PyObject *resultobj;
23706 long result;
23707 char *kwnames[] = {
23708 NULL
23709 };
23710
23711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23712 {
23713 PyThreadState* __tstate = wxPyBeginAllowThreads();
23714 result = (long)wxGetCurrentTime();
23715
23716 wxPyEndAllowThreads(__tstate);
23717 if (PyErr_Occurred()) SWIG_fail;
23718 }
23719 resultobj = SWIG_FromLong((long)result);
23720 return resultobj;
23721 fail:
23722 return NULL;
23723 }
23724
23725
23726 static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
23727 PyObject *resultobj;
23728 wxLongLong result;
23729 char *kwnames[] = {
23730 NULL
23731 };
23732
23733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23734 {
23735 PyThreadState* __tstate = wxPyBeginAllowThreads();
23736 result = wxGetLocalTimeMillis();
23737
23738 wxPyEndAllowThreads(__tstate);
23739 if (PyErr_Occurred()) SWIG_fail;
23740 }
23741 {
23742 PyObject *hi, *lo, *shifter, *shifted;
23743 hi = PyLong_FromLong( (&result)->GetHi() );
23744 lo = PyLong_FromLong( (&result)->GetLo() );
23745 shifter = PyLong_FromLong(32);
23746 shifted = PyNumber_Lshift(hi, shifter);
23747 resultobj = PyNumber_Or(shifted, lo);
23748 Py_DECREF(hi);
23749 Py_DECREF(lo);
23750 Py_DECREF(shifter);
23751 Py_DECREF(shifted);
23752 }
23753 return resultobj;
23754 fail:
23755 return NULL;
23756 }
23757
23758
23759 static int _wrap_DefaultDateTime_set(PyObject *) {
23760 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23761 return 1;
23762 }
23763
23764
23765 static PyObject *_wrap_DefaultDateTime_get() {
23766 PyObject *pyobj;
23767
23768 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
23769 return pyobj;
23770 }
23771
23772
23773 static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
23774 PyObject *resultobj;
23775 int arg1 ;
23776 wxDataFormat *result;
23777 PyObject * obj0 = 0 ;
23778 char *kwnames[] = {
23779 (char *) "type", NULL
23780 };
23781
23782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23783 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23784 if (PyErr_Occurred()) SWIG_fail;
23785 {
23786 PyThreadState* __tstate = wxPyBeginAllowThreads();
23787 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23788
23789 wxPyEndAllowThreads(__tstate);
23790 if (PyErr_Occurred()) SWIG_fail;
23791 }
23792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23793 return resultobj;
23794 fail:
23795 return NULL;
23796 }
23797
23798
23799 static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
23800 PyObject *resultobj;
23801 wxString *arg1 = 0 ;
23802 wxDataFormat *result;
23803 bool temp1 = False ;
23804 PyObject * obj0 = 0 ;
23805 char *kwnames[] = {
23806 (char *) "format", NULL
23807 };
23808
23809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23810 {
23811 arg1 = wxString_in_helper(obj0);
23812 if (arg1 == NULL) SWIG_fail;
23813 temp1 = True;
23814 }
23815 {
23816 PyThreadState* __tstate = wxPyBeginAllowThreads();
23817 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23818
23819 wxPyEndAllowThreads(__tstate);
23820 if (PyErr_Occurred()) SWIG_fail;
23821 }
23822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23823 {
23824 if (temp1)
23825 delete arg1;
23826 }
23827 return resultobj;
23828 fail:
23829 {
23830 if (temp1)
23831 delete arg1;
23832 }
23833 return NULL;
23834 }
23835
23836
23837 static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
23838 PyObject *resultobj;
23839 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23840 PyObject * obj0 = 0 ;
23841 char *kwnames[] = {
23842 (char *) "self", NULL
23843 };
23844
23845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23848 {
23849 PyThreadState* __tstate = wxPyBeginAllowThreads();
23850 delete arg1;
23851
23852 wxPyEndAllowThreads(__tstate);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
23855 Py_INCREF(Py_None); resultobj = Py_None;
23856 return resultobj;
23857 fail:
23858 return NULL;
23859 }
23860
23861
23862 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
23863 PyObject *resultobj;
23864 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23865 int arg2 ;
23866 bool result;
23867 PyObject * obj0 = 0 ;
23868 PyObject * obj1 = 0 ;
23869
23870 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23873 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 {
23876 PyThreadState* __tstate = wxPyBeginAllowThreads();
23877 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
23878
23879 wxPyEndAllowThreads(__tstate);
23880 if (PyErr_Occurred()) SWIG_fail;
23881 }
23882 {
23883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23884 }
23885 return resultobj;
23886 fail:
23887 return NULL;
23888 }
23889
23890
23891 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
23892 PyObject *resultobj;
23893 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23894 int arg2 ;
23895 bool result;
23896 PyObject * obj0 = 0 ;
23897 PyObject * obj1 = 0 ;
23898
23899 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23902 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 {
23905 PyThreadState* __tstate = wxPyBeginAllowThreads();
23906 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
23907
23908 wxPyEndAllowThreads(__tstate);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 }
23911 {
23912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23913 }
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
23921 PyObject *resultobj;
23922 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23923 wxDataFormat *arg2 = 0 ;
23924 bool result;
23925 PyObject * obj0 = 0 ;
23926 PyObject * obj1 = 0 ;
23927
23928 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23931 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
23932 SWIG_POINTER_EXCEPTION | 0)) == -1)
23933 SWIG_fail;
23934 if (arg2 == NULL) {
23935 PyErr_SetString(PyExc_TypeError,"null reference");
23936 SWIG_fail;
23937 }
23938 {
23939 PyThreadState* __tstate = wxPyBeginAllowThreads();
23940 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23941
23942 wxPyEndAllowThreads(__tstate);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 }
23945 {
23946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23947 }
23948 return resultobj;
23949 fail:
23950 return NULL;
23951 }
23952
23953
23954 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23955 int argc;
23956 PyObject *argv[3];
23957 int ii;
23958
23959 argc = PyObject_Length(args);
23960 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23961 argv[ii] = PyTuple_GetItem(args,ii);
23962 }
23963 if (argc == 2) {
23964 int _v;
23965 {
23966 void *ptr;
23967 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23968 _v = 0;
23969 PyErr_Clear();
23970 } else {
23971 _v = 1;
23972 }
23973 }
23974 if (_v) {
23975 {
23976 void *ptr;
23977 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23978 _v = 0;
23979 PyErr_Clear();
23980 } else {
23981 _v = 1;
23982 }
23983 }
23984 if (_v) {
23985 return _wrap_DataFormat___eq____SWIG_1(self,args);
23986 }
23987 }
23988 }
23989 if (argc == 2) {
23990 int _v;
23991 {
23992 void *ptr;
23993 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23994 _v = 0;
23995 PyErr_Clear();
23996 } else {
23997 _v = 1;
23998 }
23999 }
24000 if (_v) {
24001 _v = SWIG_CheckInt(argv[1]);
24002 if (_v) {
24003 return _wrap_DataFormat___eq____SWIG_0(self,args);
24004 }
24005 }
24006 }
24007
24008 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24009 return NULL;
24010 }
24011
24012
24013 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
24014 PyObject *resultobj;
24015 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24016 wxDataFormat *arg2 = 0 ;
24017 bool result;
24018 PyObject * obj0 = 0 ;
24019 PyObject * obj1 = 0 ;
24020
24021 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24025 SWIG_POINTER_EXCEPTION | 0)) == -1)
24026 SWIG_fail;
24027 if (arg2 == NULL) {
24028 PyErr_SetString(PyExc_TypeError,"null reference");
24029 SWIG_fail;
24030 }
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24034
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 {
24039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24040 }
24041 return resultobj;
24042 fail:
24043 return NULL;
24044 }
24045
24046
24047 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24048 int argc;
24049 PyObject *argv[3];
24050 int ii;
24051
24052 argc = PyObject_Length(args);
24053 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24054 argv[ii] = PyTuple_GetItem(args,ii);
24055 }
24056 if (argc == 2) {
24057 int _v;
24058 {
24059 void *ptr;
24060 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24061 _v = 0;
24062 PyErr_Clear();
24063 } else {
24064 _v = 1;
24065 }
24066 }
24067 if (_v) {
24068 {
24069 void *ptr;
24070 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24071 _v = 0;
24072 PyErr_Clear();
24073 } else {
24074 _v = 1;
24075 }
24076 }
24077 if (_v) {
24078 return _wrap_DataFormat___ne____SWIG_1(self,args);
24079 }
24080 }
24081 }
24082 if (argc == 2) {
24083 int _v;
24084 {
24085 void *ptr;
24086 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24087 _v = 0;
24088 PyErr_Clear();
24089 } else {
24090 _v = 1;
24091 }
24092 }
24093 if (_v) {
24094 _v = SWIG_CheckInt(argv[1]);
24095 if (_v) {
24096 return _wrap_DataFormat___ne____SWIG_0(self,args);
24097 }
24098 }
24099 }
24100
24101 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24102 return NULL;
24103 }
24104
24105
24106 static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
24107 PyObject *resultobj;
24108 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24109 int arg2 ;
24110 PyObject * obj0 = 0 ;
24111 PyObject * obj1 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "self",(char *) "format", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24119 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 {
24122 PyThreadState* __tstate = wxPyBeginAllowThreads();
24123 (arg1)->SetType((wxDataFormatId )arg2);
24124
24125 wxPyEndAllowThreads(__tstate);
24126 if (PyErr_Occurred()) SWIG_fail;
24127 }
24128 Py_INCREF(Py_None); resultobj = Py_None;
24129 return resultobj;
24130 fail:
24131 return NULL;
24132 }
24133
24134
24135 static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
24136 PyObject *resultobj;
24137 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24138 int result;
24139 PyObject * obj0 = 0 ;
24140 char *kwnames[] = {
24141 (char *) "self", NULL
24142 };
24143
24144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 result = (int)((wxDataFormat const *)arg1)->GetType();
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 resultobj = SWIG_FromInt((int)result);
24155 return resultobj;
24156 fail:
24157 return NULL;
24158 }
24159
24160
24161 static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
24162 PyObject *resultobj;
24163 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24164 wxString result;
24165 PyObject * obj0 = 0 ;
24166 char *kwnames[] = {
24167 (char *) "self", NULL
24168 };
24169
24170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24173 {
24174 PyThreadState* __tstate = wxPyBeginAllowThreads();
24175 result = ((wxDataFormat const *)arg1)->GetId();
24176
24177 wxPyEndAllowThreads(__tstate);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 {
24181 #if wxUSE_UNICODE
24182 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24183 #else
24184 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24185 #endif
24186 }
24187 return resultobj;
24188 fail:
24189 return NULL;
24190 }
24191
24192
24193 static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj;
24195 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24196 wxString *arg2 = 0 ;
24197 bool temp2 = False ;
24198 PyObject * obj0 = 0 ;
24199 PyObject * obj1 = 0 ;
24200 char *kwnames[] = {
24201 (char *) "self",(char *) "format", NULL
24202 };
24203
24204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24207 {
24208 arg2 = wxString_in_helper(obj1);
24209 if (arg2 == NULL) SWIG_fail;
24210 temp2 = True;
24211 }
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 (arg1)->SetId((wxString const &)*arg2);
24215
24216 wxPyEndAllowThreads(__tstate);
24217 if (PyErr_Occurred()) SWIG_fail;
24218 }
24219 Py_INCREF(Py_None); resultobj = Py_None;
24220 {
24221 if (temp2)
24222 delete arg2;
24223 }
24224 return resultobj;
24225 fail:
24226 {
24227 if (temp2)
24228 delete arg2;
24229 }
24230 return NULL;
24231 }
24232
24233
24234 static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
24235 PyObject *obj;
24236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24237 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24238 Py_INCREF(obj);
24239 return Py_BuildValue((char *)"");
24240 }
24241 static int _wrap_FormatInvalid_set(PyObject *) {
24242 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24243 return 1;
24244 }
24245
24246
24247 static PyObject *_wrap_FormatInvalid_get() {
24248 PyObject *pyobj;
24249
24250 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24251 return pyobj;
24252 }
24253
24254
24255 static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
24256 PyObject *resultobj;
24257 wxDataObject *arg1 = (wxDataObject *) 0 ;
24258 PyObject * obj0 = 0 ;
24259 char *kwnames[] = {
24260 (char *) "self", NULL
24261 };
24262
24263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24266 {
24267 PyThreadState* __tstate = wxPyBeginAllowThreads();
24268 delete arg1;
24269
24270 wxPyEndAllowThreads(__tstate);
24271 if (PyErr_Occurred()) SWIG_fail;
24272 }
24273 Py_INCREF(Py_None); resultobj = Py_None;
24274 return resultobj;
24275 fail:
24276 return NULL;
24277 }
24278
24279
24280 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24281 PyObject *resultobj;
24282 wxDataObject *arg1 = (wxDataObject *) 0 ;
24283 int arg2 = (int) wxDataObject::Get ;
24284 SwigValueWrapper< wxDataFormat > result;
24285 PyObject * obj0 = 0 ;
24286 PyObject * obj1 = 0 ;
24287 char *kwnames[] = {
24288 (char *) "self",(char *) "dir", NULL
24289 };
24290
24291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24294 if (obj1) {
24295 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24296 if (PyErr_Occurred()) SWIG_fail;
24297 }
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 {
24306 wxDataFormat * resultptr;
24307 resultptr = new wxDataFormat((wxDataFormat &) result);
24308 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24309 }
24310 return resultobj;
24311 fail:
24312 return NULL;
24313 }
24314
24315
24316 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
24317 PyObject *resultobj;
24318 wxDataObject *arg1 = (wxDataObject *) 0 ;
24319 int arg2 = (int) wxDataObject::Get ;
24320 size_t result;
24321 PyObject * obj0 = 0 ;
24322 PyObject * obj1 = 0 ;
24323 char *kwnames[] = {
24324 (char *) "self",(char *) "dir", NULL
24325 };
24326
24327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24330 if (obj1) {
24331 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 {
24335 PyThreadState* __tstate = wxPyBeginAllowThreads();
24336 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24337
24338 wxPyEndAllowThreads(__tstate);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 }
24341 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24342 return resultobj;
24343 fail:
24344 return NULL;
24345 }
24346
24347
24348 static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
24349 PyObject *resultobj;
24350 wxDataObject *arg1 = (wxDataObject *) 0 ;
24351 wxDataFormat *arg2 = 0 ;
24352 int arg3 = (int) wxDataObject::Get ;
24353 bool result;
24354 PyObject * obj0 = 0 ;
24355 PyObject * obj1 = 0 ;
24356 PyObject * obj2 = 0 ;
24357 char *kwnames[] = {
24358 (char *) "self",(char *) "format",(char *) "dir", NULL
24359 };
24360
24361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24364 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24365 SWIG_POINTER_EXCEPTION | 0)) == -1)
24366 SWIG_fail;
24367 if (arg2 == NULL) {
24368 PyErr_SetString(PyExc_TypeError,"null reference");
24369 SWIG_fail;
24370 }
24371 if (obj2) {
24372 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24373 if (PyErr_Occurred()) SWIG_fail;
24374 }
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24378
24379 wxPyEndAllowThreads(__tstate);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 }
24382 {
24383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24384 }
24385 return resultobj;
24386 fail:
24387 return NULL;
24388 }
24389
24390
24391 static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
24392 PyObject *resultobj;
24393 wxDataObject *arg1 = (wxDataObject *) 0 ;
24394 wxDataFormat *arg2 = 0 ;
24395 size_t result;
24396 PyObject * obj0 = 0 ;
24397 PyObject * obj1 = 0 ;
24398 char *kwnames[] = {
24399 (char *) "self",(char *) "format", NULL
24400 };
24401
24402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24406 SWIG_POINTER_EXCEPTION | 0)) == -1)
24407 SWIG_fail;
24408 if (arg2 == NULL) {
24409 PyErr_SetString(PyExc_TypeError,"null reference");
24410 SWIG_fail;
24411 }
24412 {
24413 PyThreadState* __tstate = wxPyBeginAllowThreads();
24414 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24415
24416 wxPyEndAllowThreads(__tstate);
24417 if (PyErr_Occurred()) SWIG_fail;
24418 }
24419 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24420 return resultobj;
24421 fail:
24422 return NULL;
24423 }
24424
24425
24426 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
24427 PyObject *resultobj;
24428 wxDataObject *arg1 = (wxDataObject *) 0 ;
24429 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
24430 int arg3 = (int) wxDataObject::Get ;
24431 PyObject * obj0 = 0 ;
24432 PyObject * obj1 = 0 ;
24433 PyObject * obj2 = 0 ;
24434 char *kwnames[] = {
24435 (char *) "self",(char *) "formats",(char *) "dir", NULL
24436 };
24437
24438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
24439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24441 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24443 if (obj2) {
24444 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 {
24448 PyThreadState* __tstate = wxPyBeginAllowThreads();
24449 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24450
24451 wxPyEndAllowThreads(__tstate);
24452 if (PyErr_Occurred()) SWIG_fail;
24453 }
24454 Py_INCREF(Py_None); resultobj = Py_None;
24455 return resultobj;
24456 fail:
24457 return NULL;
24458 }
24459
24460
24461 static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxDataObject *arg1 = (wxDataObject *) 0 ;
24464 wxDataFormat *arg2 = 0 ;
24465 void *arg3 = (void *) 0 ;
24466 bool result;
24467 PyObject * obj0 = 0 ;
24468 PyObject * obj1 = 0 ;
24469 PyObject * obj2 = 0 ;
24470 char *kwnames[] = {
24471 (char *) "self",(char *) "format",(char *) "buf", NULL
24472 };
24473
24474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
24475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24478 SWIG_POINTER_EXCEPTION | 0)) == -1)
24479 SWIG_fail;
24480 if (arg2 == NULL) {
24481 PyErr_SetString(PyExc_TypeError,"null reference");
24482 SWIG_fail;
24483 }
24484 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24485 {
24486 PyThreadState* __tstate = wxPyBeginAllowThreads();
24487 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
24488
24489 wxPyEndAllowThreads(__tstate);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 {
24493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24494 }
24495 return resultobj;
24496 fail:
24497 return NULL;
24498 }
24499
24500
24501 static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
24502 PyObject *resultobj;
24503 wxDataObject *arg1 = (wxDataObject *) 0 ;
24504 wxDataFormat *arg2 = 0 ;
24505 size_t arg3 ;
24506 void *arg4 = (void *) 0 ;
24507 bool result;
24508 PyObject * obj0 = 0 ;
24509 PyObject * obj1 = 0 ;
24510 PyObject * obj2 = 0 ;
24511 PyObject * obj3 = 0 ;
24512 char *kwnames[] = {
24513 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24514 };
24515
24516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24520 SWIG_POINTER_EXCEPTION | 0)) == -1)
24521 SWIG_fail;
24522 if (arg2 == NULL) {
24523 PyErr_SetString(PyExc_TypeError,"null reference");
24524 SWIG_fail;
24525 }
24526 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
24527 if (PyErr_Occurred()) SWIG_fail;
24528 if ((SWIG_ConvertPtr(obj3,&arg4,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24532
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
24536 {
24537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24538 }
24539 return resultobj;
24540 fail:
24541 return NULL;
24542 }
24543
24544
24545 static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
24546 PyObject *obj;
24547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24548 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24549 Py_INCREF(obj);
24550 return Py_BuildValue((char *)"");
24551 }
24552 static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj;
24554 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24555 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24556 wxDataObjectSimple *result;
24557 PyObject * obj0 = 0 ;
24558 char *kwnames[] = {
24559 (char *) "format", NULL
24560 };
24561
24562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24563 if (obj0) {
24564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24565 SWIG_POINTER_EXCEPTION | 0)) == -1)
24566 SWIG_fail;
24567 if (arg1 == NULL) {
24568 PyErr_SetString(PyExc_TypeError,"null reference");
24569 SWIG_fail;
24570 }
24571 }
24572 {
24573 PyThreadState* __tstate = wxPyBeginAllowThreads();
24574 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24575
24576 wxPyEndAllowThreads(__tstate);
24577 if (PyErr_Occurred()) SWIG_fail;
24578 }
24579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
24580 return resultobj;
24581 fail:
24582 return NULL;
24583 }
24584
24585
24586 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24587 PyObject *resultobj;
24588 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24589 wxDataFormat *result;
24590 PyObject * obj0 = 0 ;
24591 char *kwnames[] = {
24592 (char *) "self", NULL
24593 };
24594
24595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24598 {
24599 PyThreadState* __tstate = wxPyBeginAllowThreads();
24600 {
24601 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24602 result = (wxDataFormat *) &_result_ref;
24603 }
24604
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
24609 return resultobj;
24610 fail:
24611 return NULL;
24612 }
24613
24614
24615 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24616 PyObject *resultobj;
24617 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24618 wxDataFormat *arg2 = 0 ;
24619 PyObject * obj0 = 0 ;
24620 PyObject * obj1 = 0 ;
24621 char *kwnames[] = {
24622 (char *) "self",(char *) "format", NULL
24623 };
24624
24625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24629 SWIG_POINTER_EXCEPTION | 0)) == -1)
24630 SWIG_fail;
24631 if (arg2 == NULL) {
24632 PyErr_SetString(PyExc_TypeError,"null reference");
24633 SWIG_fail;
24634 }
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 Py_INCREF(Py_None); resultobj = Py_None;
24643 return resultobj;
24644 fail:
24645 return NULL;
24646 }
24647
24648
24649 static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
24650 PyObject *obj;
24651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24652 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24653 Py_INCREF(obj);
24654 return Py_BuildValue((char *)"");
24655 }
24656 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
24657 PyObject *resultobj;
24658 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24659 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24660 wxPyDataObjectSimple *result;
24661 PyObject * obj0 = 0 ;
24662 char *kwnames[] = {
24663 (char *) "format", NULL
24664 };
24665
24666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24667 if (obj0) {
24668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24669 SWIG_POINTER_EXCEPTION | 0)) == -1)
24670 SWIG_fail;
24671 if (arg1 == NULL) {
24672 PyErr_SetString(PyExc_TypeError,"null reference");
24673 SWIG_fail;
24674 }
24675 }
24676 {
24677 PyThreadState* __tstate = wxPyBeginAllowThreads();
24678 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24679
24680 wxPyEndAllowThreads(__tstate);
24681 if (PyErr_Occurred()) SWIG_fail;
24682 }
24683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
24684 return resultobj;
24685 fail:
24686 return NULL;
24687 }
24688
24689
24690 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24691 PyObject *resultobj;
24692 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24693 PyObject *arg2 = (PyObject *) 0 ;
24694 PyObject *arg3 = (PyObject *) 0 ;
24695 PyObject * obj0 = 0 ;
24696 PyObject * obj1 = 0 ;
24697 PyObject * obj2 = 0 ;
24698 char *kwnames[] = {
24699 (char *) "self",(char *) "self",(char *) "_class", NULL
24700 };
24701
24702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24705 arg2 = obj1;
24706 arg3 = obj2;
24707 {
24708 PyThreadState* __tstate = wxPyBeginAllowThreads();
24709 (arg1)->_setCallbackInfo(arg2,arg3);
24710
24711 wxPyEndAllowThreads(__tstate);
24712 if (PyErr_Occurred()) SWIG_fail;
24713 }
24714 Py_INCREF(Py_None); resultobj = Py_None;
24715 return resultobj;
24716 fail:
24717 return NULL;
24718 }
24719
24720
24721 static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
24722 PyObject *obj;
24723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24724 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24725 Py_INCREF(obj);
24726 return Py_BuildValue((char *)"");
24727 }
24728 static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
24729 PyObject *resultobj;
24730 wxDataObjectComposite *result;
24731 char *kwnames[] = {
24732 NULL
24733 };
24734
24735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24736 {
24737 PyThreadState* __tstate = wxPyBeginAllowThreads();
24738 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24739
24740 wxPyEndAllowThreads(__tstate);
24741 if (PyErr_Occurred()) SWIG_fail;
24742 }
24743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
24744 return resultobj;
24745 fail:
24746 return NULL;
24747 }
24748
24749
24750 static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
24751 PyObject *resultobj;
24752 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24753 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
24754 int arg3 = (int) False ;
24755 PyObject * obj0 = 0 ;
24756 PyObject * obj1 = 0 ;
24757 PyObject * obj2 = 0 ;
24758 char *kwnames[] = {
24759 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24760 };
24761
24762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
24763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24766 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24767 if (obj2) {
24768 arg3 = (int) SWIG_AsInt(obj2);
24769 if (PyErr_Occurred()) SWIG_fail;
24770 }
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 (arg1)->Add(arg2,arg3);
24774
24775 wxPyEndAllowThreads(__tstate);
24776 if (PyErr_Occurred()) SWIG_fail;
24777 }
24778 Py_INCREF(Py_None); resultobj = Py_None;
24779 return resultobj;
24780 fail:
24781 return NULL;
24782 }
24783
24784
24785 static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
24786 PyObject *obj;
24787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24788 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24789 Py_INCREF(obj);
24790 return Py_BuildValue((char *)"");
24791 }
24792 static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
24793 PyObject *resultobj;
24794 wxString const &arg1_defvalue = wxPyEmptyString ;
24795 wxString *arg1 = (wxString *) &arg1_defvalue ;
24796 wxTextDataObject *result;
24797 bool temp1 = False ;
24798 PyObject * obj0 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "text", NULL
24801 };
24802
24803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24804 if (obj0) {
24805 {
24806 arg1 = wxString_in_helper(obj0);
24807 if (arg1 == NULL) SWIG_fail;
24808 temp1 = True;
24809 }
24810 }
24811 {
24812 PyThreadState* __tstate = wxPyBeginAllowThreads();
24813 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24814
24815 wxPyEndAllowThreads(__tstate);
24816 if (PyErr_Occurred()) SWIG_fail;
24817 }
24818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
24819 {
24820 if (temp1)
24821 delete arg1;
24822 }
24823 return resultobj;
24824 fail:
24825 {
24826 if (temp1)
24827 delete arg1;
24828 }
24829 return NULL;
24830 }
24831
24832
24833 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
24834 PyObject *resultobj;
24835 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24836 size_t result;
24837 PyObject * obj0 = 0 ;
24838 char *kwnames[] = {
24839 (char *) "self", NULL
24840 };
24841
24842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
24843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24845 {
24846 PyThreadState* __tstate = wxPyBeginAllowThreads();
24847 result = (size_t)(arg1)->GetTextLength();
24848
24849 wxPyEndAllowThreads(__tstate);
24850 if (PyErr_Occurred()) SWIG_fail;
24851 }
24852 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24853 return resultobj;
24854 fail:
24855 return NULL;
24856 }
24857
24858
24859 static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
24860 PyObject *resultobj;
24861 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24862 wxString result;
24863 PyObject * obj0 = 0 ;
24864 char *kwnames[] = {
24865 (char *) "self", NULL
24866 };
24867
24868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
24869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24871 {
24872 PyThreadState* __tstate = wxPyBeginAllowThreads();
24873 result = (arg1)->GetText();
24874
24875 wxPyEndAllowThreads(__tstate);
24876 if (PyErr_Occurred()) SWIG_fail;
24877 }
24878 {
24879 #if wxUSE_UNICODE
24880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24881 #else
24882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24883 #endif
24884 }
24885 return resultobj;
24886 fail:
24887 return NULL;
24888 }
24889
24890
24891 static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
24892 PyObject *resultobj;
24893 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24894 wxString *arg2 = 0 ;
24895 bool temp2 = False ;
24896 PyObject * obj0 = 0 ;
24897 PyObject * obj1 = 0 ;
24898 char *kwnames[] = {
24899 (char *) "self",(char *) "text", NULL
24900 };
24901
24902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
24903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24905 {
24906 arg2 = wxString_in_helper(obj1);
24907 if (arg2 == NULL) SWIG_fail;
24908 temp2 = True;
24909 }
24910 {
24911 PyThreadState* __tstate = wxPyBeginAllowThreads();
24912 (arg1)->SetText((wxString const &)*arg2);
24913
24914 wxPyEndAllowThreads(__tstate);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
24917 Py_INCREF(Py_None); resultobj = Py_None;
24918 {
24919 if (temp2)
24920 delete arg2;
24921 }
24922 return resultobj;
24923 fail:
24924 {
24925 if (temp2)
24926 delete arg2;
24927 }
24928 return NULL;
24929 }
24930
24931
24932 static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
24933 PyObject *obj;
24934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24935 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24936 Py_INCREF(obj);
24937 return Py_BuildValue((char *)"");
24938 }
24939 static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
24940 PyObject *resultobj;
24941 wxString const &arg1_defvalue = wxPyEmptyString ;
24942 wxString *arg1 = (wxString *) &arg1_defvalue ;
24943 wxPyTextDataObject *result;
24944 bool temp1 = False ;
24945 PyObject * obj0 = 0 ;
24946 char *kwnames[] = {
24947 (char *) "text", NULL
24948 };
24949
24950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24951 if (obj0) {
24952 {
24953 arg1 = wxString_in_helper(obj0);
24954 if (arg1 == NULL) SWIG_fail;
24955 temp1 = True;
24956 }
24957 }
24958 {
24959 PyThreadState* __tstate = wxPyBeginAllowThreads();
24960 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24961
24962 wxPyEndAllowThreads(__tstate);
24963 if (PyErr_Occurred()) SWIG_fail;
24964 }
24965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
24966 {
24967 if (temp1)
24968 delete arg1;
24969 }
24970 return resultobj;
24971 fail:
24972 {
24973 if (temp1)
24974 delete arg1;
24975 }
24976 return NULL;
24977 }
24978
24979
24980 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24981 PyObject *resultobj;
24982 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24983 PyObject *arg2 = (PyObject *) 0 ;
24984 PyObject *arg3 = (PyObject *) 0 ;
24985 PyObject * obj0 = 0 ;
24986 PyObject * obj1 = 0 ;
24987 PyObject * obj2 = 0 ;
24988 char *kwnames[] = {
24989 (char *) "self",(char *) "self",(char *) "_class", NULL
24990 };
24991
24992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
24994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24995 arg2 = obj1;
24996 arg3 = obj2;
24997 {
24998 PyThreadState* __tstate = wxPyBeginAllowThreads();
24999 (arg1)->_setCallbackInfo(arg2,arg3);
25000
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 Py_INCREF(Py_None); resultobj = Py_None;
25005 return resultobj;
25006 fail:
25007 return NULL;
25008 }
25009
25010
25011 static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
25012 PyObject *obj;
25013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25014 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25015 Py_INCREF(obj);
25016 return Py_BuildValue((char *)"");
25017 }
25018 static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25019 PyObject *resultobj;
25020 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25021 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25022 wxBitmapDataObject *result;
25023 PyObject * obj0 = 0 ;
25024 char *kwnames[] = {
25025 (char *) "bitmap", NULL
25026 };
25027
25028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25029 if (obj0) {
25030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25031 SWIG_POINTER_EXCEPTION | 0)) == -1)
25032 SWIG_fail;
25033 if (arg1 == NULL) {
25034 PyErr_SetString(PyExc_TypeError,"null reference");
25035 SWIG_fail;
25036 }
25037 }
25038 {
25039 PyThreadState* __tstate = wxPyBeginAllowThreads();
25040 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25041
25042 wxPyEndAllowThreads(__tstate);
25043 if (PyErr_Occurred()) SWIG_fail;
25044 }
25045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25046 return resultobj;
25047 fail:
25048 return NULL;
25049 }
25050
25051
25052 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
25053 PyObject *resultobj;
25054 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25055 wxBitmap result;
25056 PyObject * obj0 = 0 ;
25057 char *kwnames[] = {
25058 (char *) "self", NULL
25059 };
25060
25061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25064 {
25065 PyThreadState* __tstate = wxPyBeginAllowThreads();
25066 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25067
25068 wxPyEndAllowThreads(__tstate);
25069 if (PyErr_Occurred()) SWIG_fail;
25070 }
25071 {
25072 wxBitmap * resultptr;
25073 resultptr = new wxBitmap((wxBitmap &) result);
25074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25075 }
25076 return resultobj;
25077 fail:
25078 return NULL;
25079 }
25080
25081
25082 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
25083 PyObject *resultobj;
25084 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25085 wxBitmap *arg2 = 0 ;
25086 PyObject * obj0 = 0 ;
25087 PyObject * obj1 = 0 ;
25088 char *kwnames[] = {
25089 (char *) "self",(char *) "bitmap", NULL
25090 };
25091
25092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25096 SWIG_POINTER_EXCEPTION | 0)) == -1)
25097 SWIG_fail;
25098 if (arg2 == NULL) {
25099 PyErr_SetString(PyExc_TypeError,"null reference");
25100 SWIG_fail;
25101 }
25102 {
25103 PyThreadState* __tstate = wxPyBeginAllowThreads();
25104 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25105
25106 wxPyEndAllowThreads(__tstate);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 Py_INCREF(Py_None); resultobj = Py_None;
25110 return resultobj;
25111 fail:
25112 return NULL;
25113 }
25114
25115
25116 static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
25117 PyObject *obj;
25118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25119 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25120 Py_INCREF(obj);
25121 return Py_BuildValue((char *)"");
25122 }
25123 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25124 PyObject *resultobj;
25125 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25126 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25127 wxPyBitmapDataObject *result;
25128 PyObject * obj0 = 0 ;
25129 char *kwnames[] = {
25130 (char *) "bitmap", NULL
25131 };
25132
25133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25134 if (obj0) {
25135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25136 SWIG_POINTER_EXCEPTION | 0)) == -1)
25137 SWIG_fail;
25138 if (arg1 == NULL) {
25139 PyErr_SetString(PyExc_TypeError,"null reference");
25140 SWIG_fail;
25141 }
25142 }
25143 {
25144 PyThreadState* __tstate = wxPyBeginAllowThreads();
25145 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25146
25147 wxPyEndAllowThreads(__tstate);
25148 if (PyErr_Occurred()) SWIG_fail;
25149 }
25150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25151 return resultobj;
25152 fail:
25153 return NULL;
25154 }
25155
25156
25157 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25158 PyObject *resultobj;
25159 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25160 PyObject *arg2 = (PyObject *) 0 ;
25161 PyObject *arg3 = (PyObject *) 0 ;
25162 PyObject * obj0 = 0 ;
25163 PyObject * obj1 = 0 ;
25164 PyObject * obj2 = 0 ;
25165 char *kwnames[] = {
25166 (char *) "self",(char *) "self",(char *) "_class", NULL
25167 };
25168
25169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25172 arg2 = obj1;
25173 arg3 = obj2;
25174 {
25175 PyThreadState* __tstate = wxPyBeginAllowThreads();
25176 (arg1)->_setCallbackInfo(arg2,arg3);
25177
25178 wxPyEndAllowThreads(__tstate);
25179 if (PyErr_Occurred()) SWIG_fail;
25180 }
25181 Py_INCREF(Py_None); resultobj = Py_None;
25182 return resultobj;
25183 fail:
25184 return NULL;
25185 }
25186
25187
25188 static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
25189 PyObject *obj;
25190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25191 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25192 Py_INCREF(obj);
25193 return Py_BuildValue((char *)"");
25194 }
25195 static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25196 PyObject *resultobj;
25197 wxFileDataObject *result;
25198 char *kwnames[] = {
25199 NULL
25200 };
25201
25202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25203 {
25204 PyThreadState* __tstate = wxPyBeginAllowThreads();
25205 result = (wxFileDataObject *)new wxFileDataObject();
25206
25207 wxPyEndAllowThreads(__tstate);
25208 if (PyErr_Occurred()) SWIG_fail;
25209 }
25210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25211 return resultobj;
25212 fail:
25213 return NULL;
25214 }
25215
25216
25217 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
25218 PyObject *resultobj;
25219 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25220 wxArrayString *result;
25221 PyObject * obj0 = 0 ;
25222 char *kwnames[] = {
25223 (char *) "self", NULL
25224 };
25225
25226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 {
25232 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25233 result = (wxArrayString *) &_result_ref;
25234 }
25235
25236 wxPyEndAllowThreads(__tstate);
25237 if (PyErr_Occurred()) SWIG_fail;
25238 }
25239 {
25240 resultobj = wxArrayString2PyList_helper(*result);
25241 }
25242 return resultobj;
25243 fail:
25244 return NULL;
25245 }
25246
25247
25248 static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
25249 PyObject *resultobj;
25250 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25251 wxString *arg2 = 0 ;
25252 bool temp2 = False ;
25253 PyObject * obj0 = 0 ;
25254 PyObject * obj1 = 0 ;
25255 char *kwnames[] = {
25256 (char *) "self",(char *) "filename", NULL
25257 };
25258
25259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25262 {
25263 arg2 = wxString_in_helper(obj1);
25264 if (arg2 == NULL) SWIG_fail;
25265 temp2 = True;
25266 }
25267 {
25268 PyThreadState* __tstate = wxPyBeginAllowThreads();
25269 (arg1)->AddFile((wxString const &)*arg2);
25270
25271 wxPyEndAllowThreads(__tstate);
25272 if (PyErr_Occurred()) SWIG_fail;
25273 }
25274 Py_INCREF(Py_None); resultobj = Py_None;
25275 {
25276 if (temp2)
25277 delete arg2;
25278 }
25279 return resultobj;
25280 fail:
25281 {
25282 if (temp2)
25283 delete arg2;
25284 }
25285 return NULL;
25286 }
25287
25288
25289 static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
25290 PyObject *obj;
25291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25292 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25293 Py_INCREF(obj);
25294 return Py_BuildValue((char *)"");
25295 }
25296 static PyObject *_wrap_new_CustomDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25297 PyObject *resultobj;
25298 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25299 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25300 wxCustomDataObject *result;
25301 PyObject * obj0 = 0 ;
25302 char *kwnames[] = {
25303 (char *) "format", NULL
25304 };
25305
25306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25307 if (obj0) {
25308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25309 SWIG_POINTER_EXCEPTION | 0)) == -1)
25310 SWIG_fail;
25311 if (arg1 == NULL) {
25312 PyErr_SetString(PyExc_TypeError,"null reference");
25313 SWIG_fail;
25314 }
25315 }
25316 {
25317 PyThreadState* __tstate = wxPyBeginAllowThreads();
25318 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25319
25320 wxPyEndAllowThreads(__tstate);
25321 if (PyErr_Occurred()) SWIG_fail;
25322 }
25323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25324 return resultobj;
25325 fail:
25326 return NULL;
25327 }
25328
25329
25330 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *, PyObject *args, PyObject *kwargs) {
25331 PyObject *resultobj;
25332 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25333 PyObject *arg2 = (PyObject *) 0 ;
25334 PyObject * obj0 = 0 ;
25335 PyObject * obj1 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "self",(char *) "data", NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
25341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25343 arg2 = obj1;
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 wxCustomDataObject_TakeData(arg1,arg2);
25347
25348 wxPyEndAllowThreads(__tstate);
25349 if (PyErr_Occurred()) SWIG_fail;
25350 }
25351 Py_INCREF(Py_None); resultobj = Py_None;
25352 return resultobj;
25353 fail:
25354 return NULL;
25355 }
25356
25357
25358 static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
25359 PyObject *resultobj;
25360 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25361 PyObject *arg2 = (PyObject *) 0 ;
25362 bool result;
25363 PyObject * obj0 = 0 ;
25364 PyObject * obj1 = 0 ;
25365 char *kwnames[] = {
25366 (char *) "self",(char *) "data", NULL
25367 };
25368
25369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25372 arg2 = obj1;
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25376
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 {
25381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25382 }
25383 return resultobj;
25384 fail:
25385 return NULL;
25386 }
25387
25388
25389 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
25390 PyObject *resultobj;
25391 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25392 size_t result;
25393 PyObject * obj0 = 0 ;
25394 char *kwnames[] = {
25395 (char *) "self", NULL
25396 };
25397
25398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 result = (size_t)(arg1)->GetSize();
25404
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
25416 PyObject *resultobj;
25417 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25418 PyObject *result;
25419 PyObject * obj0 = 0 ;
25420 char *kwnames[] = {
25421 (char *) "self", NULL
25422 };
25423
25424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25427 {
25428 PyThreadState* __tstate = wxPyBeginAllowThreads();
25429 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25430
25431 wxPyEndAllowThreads(__tstate);
25432 if (PyErr_Occurred()) SWIG_fail;
25433 }
25434 resultobj = result;
25435 return resultobj;
25436 fail:
25437 return NULL;
25438 }
25439
25440
25441 static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
25442 PyObject *obj;
25443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25444 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25445 Py_INCREF(obj);
25446 return Py_BuildValue((char *)"");
25447 }
25448 static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25449 PyObject *resultobj;
25450 wxURLDataObject *result;
25451 char *kwnames[] = {
25452 NULL
25453 };
25454
25455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25456 {
25457 PyThreadState* __tstate = wxPyBeginAllowThreads();
25458 result = (wxURLDataObject *)new wxURLDataObject();
25459
25460 wxPyEndAllowThreads(__tstate);
25461 if (PyErr_Occurred()) SWIG_fail;
25462 }
25463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25464 return resultobj;
25465 fail:
25466 return NULL;
25467 }
25468
25469
25470 static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
25471 PyObject *resultobj;
25472 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25473 wxString result;
25474 PyObject * obj0 = 0 ;
25475 char *kwnames[] = {
25476 (char *) "self", NULL
25477 };
25478
25479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25482 {
25483 PyThreadState* __tstate = wxPyBeginAllowThreads();
25484 result = (arg1)->GetURL();
25485
25486 wxPyEndAllowThreads(__tstate);
25487 if (PyErr_Occurred()) SWIG_fail;
25488 }
25489 {
25490 #if wxUSE_UNICODE
25491 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25492 #else
25493 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25494 #endif
25495 }
25496 return resultobj;
25497 fail:
25498 return NULL;
25499 }
25500
25501
25502 static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
25503 PyObject *resultobj;
25504 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25505 wxString *arg2 = 0 ;
25506 bool temp2 = False ;
25507 PyObject * obj0 = 0 ;
25508 PyObject * obj1 = 0 ;
25509 char *kwnames[] = {
25510 (char *) "self",(char *) "url", NULL
25511 };
25512
25513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25516 {
25517 arg2 = wxString_in_helper(obj1);
25518 if (arg2 == NULL) SWIG_fail;
25519 temp2 = True;
25520 }
25521 {
25522 PyThreadState* __tstate = wxPyBeginAllowThreads();
25523 (arg1)->SetURL((wxString const &)*arg2);
25524
25525 wxPyEndAllowThreads(__tstate);
25526 if (PyErr_Occurred()) SWIG_fail;
25527 }
25528 Py_INCREF(Py_None); resultobj = Py_None;
25529 {
25530 if (temp2)
25531 delete arg2;
25532 }
25533 return resultobj;
25534 fail:
25535 {
25536 if (temp2)
25537 delete arg2;
25538 }
25539 return NULL;
25540 }
25541
25542
25543 static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
25544 PyObject *obj;
25545 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25546 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25547 Py_INCREF(obj);
25548 return Py_BuildValue((char *)"");
25549 }
25550 static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25551 PyObject *resultobj;
25552 wxMetafileDataObject *result;
25553 char *kwnames[] = {
25554 NULL
25555 };
25556
25557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25558 {
25559 PyThreadState* __tstate = wxPyBeginAllowThreads();
25560 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25561
25562 wxPyEndAllowThreads(__tstate);
25563 if (PyErr_Occurred()) SWIG_fail;
25564 }
25565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
25566 return resultobj;
25567 fail:
25568 return NULL;
25569 }
25570
25571
25572 static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
25573 PyObject *resultobj;
25574 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25575 wxMetafile *arg2 = 0 ;
25576 PyObject * obj0 = 0 ;
25577 PyObject * obj1 = 0 ;
25578 char *kwnames[] = {
25579 (char *) "self",(char *) "metafile", NULL
25580 };
25581
25582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
25583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25586 SWIG_POINTER_EXCEPTION | 0)) == -1)
25587 SWIG_fail;
25588 if (arg2 == NULL) {
25589 PyErr_SetString(PyExc_TypeError,"null reference");
25590 SWIG_fail;
25591 }
25592 {
25593 PyThreadState* __tstate = wxPyBeginAllowThreads();
25594 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25595
25596 wxPyEndAllowThreads(__tstate);
25597 if (PyErr_Occurred()) SWIG_fail;
25598 }
25599 Py_INCREF(Py_None); resultobj = Py_None;
25600 return resultobj;
25601 fail:
25602 return NULL;
25603 }
25604
25605
25606 static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
25607 PyObject *resultobj;
25608 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25609 wxMetafile result;
25610 PyObject * obj0 = 0 ;
25611 char *kwnames[] = {
25612 (char *) "self", NULL
25613 };
25614
25615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
25616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25618 {
25619 PyThreadState* __tstate = wxPyBeginAllowThreads();
25620 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25621
25622 wxPyEndAllowThreads(__tstate);
25623 if (PyErr_Occurred()) SWIG_fail;
25624 }
25625 {
25626 wxMetafile * resultptr;
25627 resultptr = new wxMetafile((wxMetafile &) result);
25628 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
25629 }
25630 return resultobj;
25631 fail:
25632 return NULL;
25633 }
25634
25635
25636 static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
25637 PyObject *obj;
25638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25639 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25640 Py_INCREF(obj);
25641 return Py_BuildValue((char *)"");
25642 }
25643 static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
25644 PyObject *resultobj;
25645 int arg1 ;
25646 bool result;
25647 PyObject * obj0 = 0 ;
25648 char *kwnames[] = {
25649 (char *) "res", NULL
25650 };
25651
25652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25653 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 {
25656 PyThreadState* __tstate = wxPyBeginAllowThreads();
25657 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25658
25659 wxPyEndAllowThreads(__tstate);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 }
25662 {
25663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25664 }
25665 return resultobj;
25666 fail:
25667 return NULL;
25668 }
25669
25670
25671 static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
25672 PyObject *resultobj;
25673 wxWindow *arg1 = (wxWindow *) 0 ;
25674 wxCursor const &arg2_defvalue = wxNullCursor ;
25675 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25676 wxCursor const &arg3_defvalue = wxNullCursor ;
25677 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25678 wxCursor const &arg4_defvalue = wxNullCursor ;
25679 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25680 wxPyDropSource *result;
25681 PyObject * obj0 = 0 ;
25682 PyObject * obj1 = 0 ;
25683 PyObject * obj2 = 0 ;
25684 PyObject * obj3 = 0 ;
25685 char *kwnames[] = {
25686 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25687 };
25688
25689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25692 if (obj1) {
25693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25694 SWIG_POINTER_EXCEPTION | 0)) == -1)
25695 SWIG_fail;
25696 if (arg2 == NULL) {
25697 PyErr_SetString(PyExc_TypeError,"null reference");
25698 SWIG_fail;
25699 }
25700 }
25701 if (obj2) {
25702 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25703 SWIG_POINTER_EXCEPTION | 0)) == -1)
25704 SWIG_fail;
25705 if (arg3 == NULL) {
25706 PyErr_SetString(PyExc_TypeError,"null reference");
25707 SWIG_fail;
25708 }
25709 }
25710 if (obj3) {
25711 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25712 SWIG_POINTER_EXCEPTION | 0)) == -1)
25713 SWIG_fail;
25714 if (arg4 == NULL) {
25715 PyErr_SetString(PyExc_TypeError,"null reference");
25716 SWIG_fail;
25717 }
25718 }
25719 {
25720 PyThreadState* __tstate = wxPyBeginAllowThreads();
25721 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25722
25723 wxPyEndAllowThreads(__tstate);
25724 if (PyErr_Occurred()) SWIG_fail;
25725 }
25726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
25727 return resultobj;
25728 fail:
25729 return NULL;
25730 }
25731
25732
25733 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25734 PyObject *resultobj;
25735 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25736 PyObject *arg2 = (PyObject *) 0 ;
25737 PyObject *arg3 = (PyObject *) 0 ;
25738 int arg4 ;
25739 PyObject * obj0 = 0 ;
25740 PyObject * obj1 = 0 ;
25741 PyObject * obj2 = 0 ;
25742 PyObject * obj3 = 0 ;
25743 char *kwnames[] = {
25744 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25745 };
25746
25747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25750 arg2 = obj1;
25751 arg3 = obj2;
25752 arg4 = (int) SWIG_AsInt(obj3);
25753 if (PyErr_Occurred()) SWIG_fail;
25754 {
25755 PyThreadState* __tstate = wxPyBeginAllowThreads();
25756 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25757
25758 wxPyEndAllowThreads(__tstate);
25759 if (PyErr_Occurred()) SWIG_fail;
25760 }
25761 Py_INCREF(Py_None); resultobj = Py_None;
25762 return resultobj;
25763 fail:
25764 return NULL;
25765 }
25766
25767
25768 static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
25769 PyObject *resultobj;
25770 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25771 PyObject * obj0 = 0 ;
25772 char *kwnames[] = {
25773 (char *) "self", NULL
25774 };
25775
25776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25779 {
25780 PyThreadState* __tstate = wxPyBeginAllowThreads();
25781 delete arg1;
25782
25783 wxPyEndAllowThreads(__tstate);
25784 if (PyErr_Occurred()) SWIG_fail;
25785 }
25786 Py_INCREF(Py_None); resultobj = Py_None;
25787 return resultobj;
25788 fail:
25789 return NULL;
25790 }
25791
25792
25793 static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
25794 PyObject *resultobj;
25795 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25796 wxDataObject *arg2 = 0 ;
25797 PyObject * obj0 = 0 ;
25798 PyObject * obj1 = 0 ;
25799 char *kwnames[] = {
25800 (char *) "self",(char *) "data", NULL
25801 };
25802
25803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25807 SWIG_POINTER_EXCEPTION | 0)) == -1)
25808 SWIG_fail;
25809 if (arg2 == NULL) {
25810 PyErr_SetString(PyExc_TypeError,"null reference");
25811 SWIG_fail;
25812 }
25813 {
25814 PyThreadState* __tstate = wxPyBeginAllowThreads();
25815 (arg1)->SetData(*arg2);
25816
25817 wxPyEndAllowThreads(__tstate);
25818 if (PyErr_Occurred()) SWIG_fail;
25819 }
25820 Py_INCREF(Py_None); resultobj = Py_None;
25821 return resultobj;
25822 fail:
25823 return NULL;
25824 }
25825
25826
25827 static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25828 PyObject *resultobj;
25829 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25830 wxDataObject *result;
25831 PyObject * obj0 = 0 ;
25832 char *kwnames[] = {
25833 (char *) "self", NULL
25834 };
25835
25836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
25837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25839 {
25840 PyThreadState* __tstate = wxPyBeginAllowThreads();
25841 result = (wxDataObject *)(arg1)->GetDataObject();
25842
25843 wxPyEndAllowThreads(__tstate);
25844 if (PyErr_Occurred()) SWIG_fail;
25845 }
25846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
25847 return resultobj;
25848 fail:
25849 return NULL;
25850 }
25851
25852
25853 static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
25854 PyObject *resultobj;
25855 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25856 int arg2 ;
25857 wxCursor *arg3 = 0 ;
25858 PyObject * obj0 = 0 ;
25859 PyObject * obj1 = 0 ;
25860 PyObject * obj2 = 0 ;
25861 char *kwnames[] = {
25862 (char *) "self",(char *) "res",(char *) "cursor", NULL
25863 };
25864
25865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
25866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25868 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25871 SWIG_POINTER_EXCEPTION | 0)) == -1)
25872 SWIG_fail;
25873 if (arg3 == NULL) {
25874 PyErr_SetString(PyExc_TypeError,"null reference");
25875 SWIG_fail;
25876 }
25877 {
25878 PyThreadState* __tstate = wxPyBeginAllowThreads();
25879 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25880
25881 wxPyEndAllowThreads(__tstate);
25882 if (PyErr_Occurred()) SWIG_fail;
25883 }
25884 Py_INCREF(Py_None); resultobj = Py_None;
25885 return resultobj;
25886 fail:
25887 return NULL;
25888 }
25889
25890
25891 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
25892 PyObject *resultobj;
25893 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25894 int arg2 = (int) wxDrag_CopyOnly ;
25895 int result;
25896 PyObject * obj0 = 0 ;
25897 PyObject * obj1 = 0 ;
25898 char *kwnames[] = {
25899 (char *) "self",(char *) "flags", NULL
25900 };
25901
25902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
25903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25905 if (obj1) {
25906 arg2 = (int) SWIG_AsInt(obj1);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 {
25910 PyThreadState* __tstate = wxPyBeginAllowThreads();
25911 result = (int)(arg1)->DoDragDrop(arg2);
25912
25913 wxPyEndAllowThreads(__tstate);
25914 if (PyErr_Occurred()) SWIG_fail;
25915 }
25916 resultobj = SWIG_FromInt((int)result);
25917 return resultobj;
25918 fail:
25919 return NULL;
25920 }
25921
25922
25923 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
25924 PyObject *resultobj;
25925 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25926 int arg2 ;
25927 bool result;
25928 PyObject * obj0 = 0 ;
25929 PyObject * obj1 = 0 ;
25930 char *kwnames[] = {
25931 (char *) "self",(char *) "effect", NULL
25932 };
25933
25934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
25935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25937 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25938 if (PyErr_Occurred()) SWIG_fail;
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25942
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 {
25947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25948 }
25949 return resultobj;
25950 fail:
25951 return NULL;
25952 }
25953
25954
25955 static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
25956 PyObject *obj;
25957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25958 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25959 Py_INCREF(obj);
25960 return Py_BuildValue((char *)"");
25961 }
25962 static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
25963 PyObject *resultobj;
25964 wxDataObject *arg1 = (wxDataObject *) NULL ;
25965 wxPyDropTarget *result;
25966 PyObject * obj0 = 0 ;
25967 char *kwnames[] = {
25968 (char *) "dataObject", NULL
25969 };
25970
25971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
25972 if (obj0) {
25973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25974 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25975 }
25976 {
25977 PyThreadState* __tstate = wxPyBeginAllowThreads();
25978 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25979
25980 wxPyEndAllowThreads(__tstate);
25981 if (PyErr_Occurred()) SWIG_fail;
25982 }
25983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
25984 return resultobj;
25985 fail:
25986 return NULL;
25987 }
25988
25989
25990 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25991 PyObject *resultobj;
25992 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25993 PyObject *arg2 = (PyObject *) 0 ;
25994 PyObject *arg3 = (PyObject *) 0 ;
25995 PyObject * obj0 = 0 ;
25996 PyObject * obj1 = 0 ;
25997 PyObject * obj2 = 0 ;
25998 char *kwnames[] = {
25999 (char *) "self",(char *) "self",(char *) "_class", NULL
26000 };
26001
26002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26005 arg2 = obj1;
26006 arg3 = obj2;
26007 {
26008 PyThreadState* __tstate = wxPyBeginAllowThreads();
26009 (arg1)->_setCallbackInfo(arg2,arg3);
26010
26011 wxPyEndAllowThreads(__tstate);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 Py_INCREF(Py_None); resultobj = Py_None;
26015 return resultobj;
26016 fail:
26017 return NULL;
26018 }
26019
26020
26021 static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26022 PyObject *resultobj;
26023 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26024 PyObject * obj0 = 0 ;
26025 char *kwnames[] = {
26026 (char *) "self", NULL
26027 };
26028
26029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 delete arg1;
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 Py_INCREF(Py_None); resultobj = Py_None;
26040 return resultobj;
26041 fail:
26042 return NULL;
26043 }
26044
26045
26046 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26047 PyObject *resultobj;
26048 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26049 wxDataObject *result;
26050 PyObject * obj0 = 0 ;
26051 char *kwnames[] = {
26052 (char *) "self", NULL
26053 };
26054
26055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26058 {
26059 PyThreadState* __tstate = wxPyBeginAllowThreads();
26060 result = (wxDataObject *)(arg1)->GetDataObject();
26061
26062 wxPyEndAllowThreads(__tstate);
26063 if (PyErr_Occurred()) SWIG_fail;
26064 }
26065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26066 return resultobj;
26067 fail:
26068 return NULL;
26069 }
26070
26071
26072 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26073 PyObject *resultobj;
26074 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26075 wxDataObject *arg2 = (wxDataObject *) 0 ;
26076 PyObject * obj0 = 0 ;
26077 PyObject * obj1 = 0 ;
26078 char *kwnames[] = {
26079 (char *) "self",(char *) "dataObject", NULL
26080 };
26081
26082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26086 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26087 {
26088 PyThreadState* __tstate = wxPyBeginAllowThreads();
26089 (arg1)->SetDataObject(arg2);
26090
26091 wxPyEndAllowThreads(__tstate);
26092 if (PyErr_Occurred()) SWIG_fail;
26093 }
26094 Py_INCREF(Py_None); resultobj = Py_None;
26095 return resultobj;
26096 fail:
26097 return NULL;
26098 }
26099
26100
26101 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
26102 PyObject *resultobj;
26103 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26104 int arg2 ;
26105 int arg3 ;
26106 int arg4 ;
26107 int result;
26108 PyObject * obj0 = 0 ;
26109 PyObject * obj1 = 0 ;
26110 PyObject * obj2 = 0 ;
26111 PyObject * obj3 = 0 ;
26112 char *kwnames[] = {
26113 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26114 };
26115
26116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26119 arg2 = (int) SWIG_AsInt(obj1);
26120 if (PyErr_Occurred()) SWIG_fail;
26121 arg3 = (int) SWIG_AsInt(obj2);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 {
26126 PyThreadState* __tstate = wxPyBeginAllowThreads();
26127 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26128
26129 wxPyEndAllowThreads(__tstate);
26130 if (PyErr_Occurred()) SWIG_fail;
26131 }
26132 resultobj = SWIG_FromInt((int)result);
26133 return resultobj;
26134 fail:
26135 return NULL;
26136 }
26137
26138
26139 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
26140 PyObject *resultobj;
26141 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26142 int arg2 ;
26143 int arg3 ;
26144 int arg4 ;
26145 int result;
26146 PyObject * obj0 = 0 ;
26147 PyObject * obj1 = 0 ;
26148 PyObject * obj2 = 0 ;
26149 PyObject * obj3 = 0 ;
26150 char *kwnames[] = {
26151 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26152 };
26153
26154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26157 arg2 = (int) SWIG_AsInt(obj1);
26158 if (PyErr_Occurred()) SWIG_fail;
26159 arg3 = (int) SWIG_AsInt(obj2);
26160 if (PyErr_Occurred()) SWIG_fail;
26161 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26162 if (PyErr_Occurred()) SWIG_fail;
26163 {
26164 PyThreadState* __tstate = wxPyBeginAllowThreads();
26165 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26166
26167 wxPyEndAllowThreads(__tstate);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 }
26170 resultobj = SWIG_FromInt((int)result);
26171 return resultobj;
26172 fail:
26173 return NULL;
26174 }
26175
26176
26177 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
26178 PyObject *resultobj;
26179 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26180 PyObject * obj0 = 0 ;
26181 char *kwnames[] = {
26182 (char *) "self", NULL
26183 };
26184
26185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26188 {
26189 PyThreadState* __tstate = wxPyBeginAllowThreads();
26190 (arg1)->base_OnLeave();
26191
26192 wxPyEndAllowThreads(__tstate);
26193 if (PyErr_Occurred()) SWIG_fail;
26194 }
26195 Py_INCREF(Py_None); resultobj = Py_None;
26196 return resultobj;
26197 fail:
26198 return NULL;
26199 }
26200
26201
26202 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26203 PyObject *resultobj;
26204 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26205 int arg2 ;
26206 int arg3 ;
26207 bool result;
26208 PyObject * obj0 = 0 ;
26209 PyObject * obj1 = 0 ;
26210 PyObject * obj2 = 0 ;
26211 char *kwnames[] = {
26212 (char *) "self",(char *) "x",(char *) "y", NULL
26213 };
26214
26215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26218 arg2 = (int) SWIG_AsInt(obj1);
26219 if (PyErr_Occurred()) SWIG_fail;
26220 arg3 = (int) SWIG_AsInt(obj2);
26221 if (PyErr_Occurred()) SWIG_fail;
26222 {
26223 PyThreadState* __tstate = wxPyBeginAllowThreads();
26224 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26225
26226 wxPyEndAllowThreads(__tstate);
26227 if (PyErr_Occurred()) SWIG_fail;
26228 }
26229 {
26230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26231 }
26232 return resultobj;
26233 fail:
26234 return NULL;
26235 }
26236
26237
26238 static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
26239 PyObject *resultobj;
26240 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26241 bool result;
26242 PyObject * obj0 = 0 ;
26243 char *kwnames[] = {
26244 (char *) "self", NULL
26245 };
26246
26247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26250 {
26251 PyThreadState* __tstate = wxPyBeginAllowThreads();
26252 result = (bool)(arg1)->GetData();
26253
26254 wxPyEndAllowThreads(__tstate);
26255 if (PyErr_Occurred()) SWIG_fail;
26256 }
26257 {
26258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26259 }
26260 return resultobj;
26261 fail:
26262 return NULL;
26263 }
26264
26265
26266 static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
26267 PyObject *obj;
26268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26269 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26270 Py_INCREF(obj);
26271 return Py_BuildValue((char *)"");
26272 }
26273 static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26274 PyObject *resultobj;
26275 wxPyTextDropTarget *result;
26276 char *kwnames[] = {
26277 NULL
26278 };
26279
26280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26281 {
26282 PyThreadState* __tstate = wxPyBeginAllowThreads();
26283 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26284
26285 wxPyEndAllowThreads(__tstate);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26289 return resultobj;
26290 fail:
26291 return NULL;
26292 }
26293
26294
26295 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26296 PyObject *resultobj;
26297 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26298 PyObject *arg2 = (PyObject *) 0 ;
26299 PyObject *arg3 = (PyObject *) 0 ;
26300 PyObject * obj0 = 0 ;
26301 PyObject * obj1 = 0 ;
26302 PyObject * obj2 = 0 ;
26303 char *kwnames[] = {
26304 (char *) "self",(char *) "self",(char *) "_class", NULL
26305 };
26306
26307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26310 arg2 = obj1;
26311 arg3 = obj2;
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 (arg1)->_setCallbackInfo(arg2,arg3);
26315
26316 wxPyEndAllowThreads(__tstate);
26317 if (PyErr_Occurred()) SWIG_fail;
26318 }
26319 Py_INCREF(Py_None); resultobj = Py_None;
26320 return resultobj;
26321 fail:
26322 return NULL;
26323 }
26324
26325
26326 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
26327 PyObject *resultobj;
26328 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26329 int arg2 ;
26330 int arg3 ;
26331 int arg4 ;
26332 int result;
26333 PyObject * obj0 = 0 ;
26334 PyObject * obj1 = 0 ;
26335 PyObject * obj2 = 0 ;
26336 PyObject * obj3 = 0 ;
26337 char *kwnames[] = {
26338 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26339 };
26340
26341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26344 arg2 = (int) SWIG_AsInt(obj1);
26345 if (PyErr_Occurred()) SWIG_fail;
26346 arg3 = (int) SWIG_AsInt(obj2);
26347 if (PyErr_Occurred()) SWIG_fail;
26348 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26349 if (PyErr_Occurred()) SWIG_fail;
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26353
26354 wxPyEndAllowThreads(__tstate);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 }
26357 resultobj = SWIG_FromInt((int)result);
26358 return resultobj;
26359 fail:
26360 return NULL;
26361 }
26362
26363
26364 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
26365 PyObject *resultobj;
26366 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26367 int arg2 ;
26368 int arg3 ;
26369 int arg4 ;
26370 int result;
26371 PyObject * obj0 = 0 ;
26372 PyObject * obj1 = 0 ;
26373 PyObject * obj2 = 0 ;
26374 PyObject * obj3 = 0 ;
26375 char *kwnames[] = {
26376 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26377 };
26378
26379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26382 arg2 = (int) SWIG_AsInt(obj1);
26383 if (PyErr_Occurred()) SWIG_fail;
26384 arg3 = (int) SWIG_AsInt(obj2);
26385 if (PyErr_Occurred()) SWIG_fail;
26386 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26387 if (PyErr_Occurred()) SWIG_fail;
26388 {
26389 PyThreadState* __tstate = wxPyBeginAllowThreads();
26390 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26391
26392 wxPyEndAllowThreads(__tstate);
26393 if (PyErr_Occurred()) SWIG_fail;
26394 }
26395 resultobj = SWIG_FromInt((int)result);
26396 return resultobj;
26397 fail:
26398 return NULL;
26399 }
26400
26401
26402 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
26403 PyObject *resultobj;
26404 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26405 PyObject * obj0 = 0 ;
26406 char *kwnames[] = {
26407 (char *) "self", NULL
26408 };
26409
26410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26413 {
26414 PyThreadState* __tstate = wxPyBeginAllowThreads();
26415 (arg1)->base_OnLeave();
26416
26417 wxPyEndAllowThreads(__tstate);
26418 if (PyErr_Occurred()) SWIG_fail;
26419 }
26420 Py_INCREF(Py_None); resultobj = Py_None;
26421 return resultobj;
26422 fail:
26423 return NULL;
26424 }
26425
26426
26427 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26428 PyObject *resultobj;
26429 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26430 int arg2 ;
26431 int arg3 ;
26432 bool result;
26433 PyObject * obj0 = 0 ;
26434 PyObject * obj1 = 0 ;
26435 PyObject * obj2 = 0 ;
26436 char *kwnames[] = {
26437 (char *) "self",(char *) "x",(char *) "y", NULL
26438 };
26439
26440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26443 arg2 = (int) SWIG_AsInt(obj1);
26444 if (PyErr_Occurred()) SWIG_fail;
26445 arg3 = (int) SWIG_AsInt(obj2);
26446 if (PyErr_Occurred()) SWIG_fail;
26447 {
26448 PyThreadState* __tstate = wxPyBeginAllowThreads();
26449 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26450
26451 wxPyEndAllowThreads(__tstate);
26452 if (PyErr_Occurred()) SWIG_fail;
26453 }
26454 {
26455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26456 }
26457 return resultobj;
26458 fail:
26459 return NULL;
26460 }
26461
26462
26463 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
26464 PyObject *resultobj;
26465 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26466 int arg2 ;
26467 int arg3 ;
26468 int arg4 ;
26469 int result;
26470 PyObject * obj0 = 0 ;
26471 PyObject * obj1 = 0 ;
26472 PyObject * obj2 = 0 ;
26473 PyObject * obj3 = 0 ;
26474 char *kwnames[] = {
26475 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26476 };
26477
26478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26481 arg2 = (int) SWIG_AsInt(obj1);
26482 if (PyErr_Occurred()) SWIG_fail;
26483 arg3 = (int) SWIG_AsInt(obj2);
26484 if (PyErr_Occurred()) SWIG_fail;
26485 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26486 if (PyErr_Occurred()) SWIG_fail;
26487 {
26488 PyThreadState* __tstate = wxPyBeginAllowThreads();
26489 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26490
26491 wxPyEndAllowThreads(__tstate);
26492 if (PyErr_Occurred()) SWIG_fail;
26493 }
26494 resultobj = SWIG_FromInt((int)result);
26495 return resultobj;
26496 fail:
26497 return NULL;
26498 }
26499
26500
26501 static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
26502 PyObject *obj;
26503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26504 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26505 Py_INCREF(obj);
26506 return Py_BuildValue((char *)"");
26507 }
26508 static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26509 PyObject *resultobj;
26510 wxPyFileDropTarget *result;
26511 char *kwnames[] = {
26512 NULL
26513 };
26514
26515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26519
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26524 return resultobj;
26525 fail:
26526 return NULL;
26527 }
26528
26529
26530 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26531 PyObject *resultobj;
26532 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26533 PyObject *arg2 = (PyObject *) 0 ;
26534 PyObject *arg3 = (PyObject *) 0 ;
26535 PyObject * obj0 = 0 ;
26536 PyObject * obj1 = 0 ;
26537 PyObject * obj2 = 0 ;
26538 char *kwnames[] = {
26539 (char *) "self",(char *) "self",(char *) "_class", NULL
26540 };
26541
26542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26545 arg2 = obj1;
26546 arg3 = obj2;
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 (arg1)->_setCallbackInfo(arg2,arg3);
26550
26551 wxPyEndAllowThreads(__tstate);
26552 if (PyErr_Occurred()) SWIG_fail;
26553 }
26554 Py_INCREF(Py_None); resultobj = Py_None;
26555 return resultobj;
26556 fail:
26557 return NULL;
26558 }
26559
26560
26561 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
26562 PyObject *resultobj;
26563 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26564 int arg2 ;
26565 int arg3 ;
26566 int arg4 ;
26567 int result;
26568 PyObject * obj0 = 0 ;
26569 PyObject * obj1 = 0 ;
26570 PyObject * obj2 = 0 ;
26571 PyObject * obj3 = 0 ;
26572 char *kwnames[] = {
26573 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26574 };
26575
26576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26579 arg2 = (int) SWIG_AsInt(obj1);
26580 if (PyErr_Occurred()) SWIG_fail;
26581 arg3 = (int) SWIG_AsInt(obj2);
26582 if (PyErr_Occurred()) SWIG_fail;
26583 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26588
26589 wxPyEndAllowThreads(__tstate);
26590 if (PyErr_Occurred()) SWIG_fail;
26591 }
26592 resultobj = SWIG_FromInt((int)result);
26593 return resultobj;
26594 fail:
26595 return NULL;
26596 }
26597
26598
26599 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
26600 PyObject *resultobj;
26601 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26602 int arg2 ;
26603 int arg3 ;
26604 int arg4 ;
26605 int result;
26606 PyObject * obj0 = 0 ;
26607 PyObject * obj1 = 0 ;
26608 PyObject * obj2 = 0 ;
26609 PyObject * obj3 = 0 ;
26610 char *kwnames[] = {
26611 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26612 };
26613
26614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26617 arg2 = (int) SWIG_AsInt(obj1);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 arg3 = (int) SWIG_AsInt(obj2);
26620 if (PyErr_Occurred()) SWIG_fail;
26621 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26622 if (PyErr_Occurred()) SWIG_fail;
26623 {
26624 PyThreadState* __tstate = wxPyBeginAllowThreads();
26625 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26626
26627 wxPyEndAllowThreads(__tstate);
26628 if (PyErr_Occurred()) SWIG_fail;
26629 }
26630 resultobj = SWIG_FromInt((int)result);
26631 return resultobj;
26632 fail:
26633 return NULL;
26634 }
26635
26636
26637 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
26638 PyObject *resultobj;
26639 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26640 PyObject * obj0 = 0 ;
26641 char *kwnames[] = {
26642 (char *) "self", NULL
26643 };
26644
26645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26648 {
26649 PyThreadState* __tstate = wxPyBeginAllowThreads();
26650 (arg1)->base_OnLeave();
26651
26652 wxPyEndAllowThreads(__tstate);
26653 if (PyErr_Occurred()) SWIG_fail;
26654 }
26655 Py_INCREF(Py_None); resultobj = Py_None;
26656 return resultobj;
26657 fail:
26658 return NULL;
26659 }
26660
26661
26662 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26663 PyObject *resultobj;
26664 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26665 int arg2 ;
26666 int arg3 ;
26667 bool result;
26668 PyObject * obj0 = 0 ;
26669 PyObject * obj1 = 0 ;
26670 PyObject * obj2 = 0 ;
26671 char *kwnames[] = {
26672 (char *) "self",(char *) "x",(char *) "y", NULL
26673 };
26674
26675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26678 arg2 = (int) SWIG_AsInt(obj1);
26679 if (PyErr_Occurred()) SWIG_fail;
26680 arg3 = (int) SWIG_AsInt(obj2);
26681 if (PyErr_Occurred()) SWIG_fail;
26682 {
26683 PyThreadState* __tstate = wxPyBeginAllowThreads();
26684 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26685
26686 wxPyEndAllowThreads(__tstate);
26687 if (PyErr_Occurred()) SWIG_fail;
26688 }
26689 {
26690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26691 }
26692 return resultobj;
26693 fail:
26694 return NULL;
26695 }
26696
26697
26698 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
26699 PyObject *resultobj;
26700 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26701 int arg2 ;
26702 int arg3 ;
26703 int arg4 ;
26704 int result;
26705 PyObject * obj0 = 0 ;
26706 PyObject * obj1 = 0 ;
26707 PyObject * obj2 = 0 ;
26708 PyObject * obj3 = 0 ;
26709 char *kwnames[] = {
26710 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26711 };
26712
26713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26716 arg2 = (int) SWIG_AsInt(obj1);
26717 if (PyErr_Occurred()) SWIG_fail;
26718 arg3 = (int) SWIG_AsInt(obj2);
26719 if (PyErr_Occurred()) SWIG_fail;
26720 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26721 if (PyErr_Occurred()) SWIG_fail;
26722 {
26723 PyThreadState* __tstate = wxPyBeginAllowThreads();
26724 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26725
26726 wxPyEndAllowThreads(__tstate);
26727 if (PyErr_Occurred()) SWIG_fail;
26728 }
26729 resultobj = SWIG_FromInt((int)result);
26730 return resultobj;
26731 fail:
26732 return NULL;
26733 }
26734
26735
26736 static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
26737 PyObject *obj;
26738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26739 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26740 Py_INCREF(obj);
26741 return Py_BuildValue((char *)"");
26742 }
26743 static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
26744 PyObject *resultobj;
26745 wxClipboard *result;
26746 char *kwnames[] = {
26747 NULL
26748 };
26749
26750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26751 {
26752 PyThreadState* __tstate = wxPyBeginAllowThreads();
26753 result = (wxClipboard *)new wxClipboard();
26754
26755 wxPyEndAllowThreads(__tstate);
26756 if (PyErr_Occurred()) SWIG_fail;
26757 }
26758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
26759 return resultobj;
26760 fail:
26761 return NULL;
26762 }
26763
26764
26765 static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
26766 PyObject *resultobj;
26767 wxClipboard *arg1 = (wxClipboard *) 0 ;
26768 PyObject * obj0 = 0 ;
26769 char *kwnames[] = {
26770 (char *) "self", NULL
26771 };
26772
26773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 delete arg1;
26779
26780 wxPyEndAllowThreads(__tstate);
26781 if (PyErr_Occurred()) SWIG_fail;
26782 }
26783 Py_INCREF(Py_None); resultobj = Py_None;
26784 return resultobj;
26785 fail:
26786 return NULL;
26787 }
26788
26789
26790 static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
26791 PyObject *resultobj;
26792 wxClipboard *arg1 = (wxClipboard *) 0 ;
26793 bool result;
26794 PyObject * obj0 = 0 ;
26795 char *kwnames[] = {
26796 (char *) "self", NULL
26797 };
26798
26799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26802 {
26803 PyThreadState* __tstate = wxPyBeginAllowThreads();
26804 result = (bool)(arg1)->Open();
26805
26806 wxPyEndAllowThreads(__tstate);
26807 if (PyErr_Occurred()) SWIG_fail;
26808 }
26809 {
26810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26811 }
26812 return resultobj;
26813 fail:
26814 return NULL;
26815 }
26816
26817
26818 static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
26819 PyObject *resultobj;
26820 wxClipboard *arg1 = (wxClipboard *) 0 ;
26821 PyObject * obj0 = 0 ;
26822 char *kwnames[] = {
26823 (char *) "self", NULL
26824 };
26825
26826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26829 {
26830 PyThreadState* __tstate = wxPyBeginAllowThreads();
26831 (arg1)->Close();
26832
26833 wxPyEndAllowThreads(__tstate);
26834 if (PyErr_Occurred()) SWIG_fail;
26835 }
26836 Py_INCREF(Py_None); resultobj = Py_None;
26837 return resultobj;
26838 fail:
26839 return NULL;
26840 }
26841
26842
26843 static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
26844 PyObject *resultobj;
26845 wxClipboard *arg1 = (wxClipboard *) 0 ;
26846 bool result;
26847 PyObject * obj0 = 0 ;
26848 char *kwnames[] = {
26849 (char *) "self", NULL
26850 };
26851
26852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
26853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26855 {
26856 PyThreadState* __tstate = wxPyBeginAllowThreads();
26857 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26858
26859 wxPyEndAllowThreads(__tstate);
26860 if (PyErr_Occurred()) SWIG_fail;
26861 }
26862 {
26863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26864 }
26865 return resultobj;
26866 fail:
26867 return NULL;
26868 }
26869
26870
26871 static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
26872 PyObject *resultobj;
26873 wxClipboard *arg1 = (wxClipboard *) 0 ;
26874 wxDataObject *arg2 = (wxDataObject *) 0 ;
26875 bool result;
26876 PyObject * obj0 = 0 ;
26877 PyObject * obj1 = 0 ;
26878 char *kwnames[] = {
26879 (char *) "self",(char *) "data", NULL
26880 };
26881
26882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
26883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26886 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26887 {
26888 PyThreadState* __tstate = wxPyBeginAllowThreads();
26889 result = (bool)(arg1)->AddData(arg2);
26890
26891 wxPyEndAllowThreads(__tstate);
26892 if (PyErr_Occurred()) SWIG_fail;
26893 }
26894 {
26895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26896 }
26897 return resultobj;
26898 fail:
26899 return NULL;
26900 }
26901
26902
26903 static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
26904 PyObject *resultobj;
26905 wxClipboard *arg1 = (wxClipboard *) 0 ;
26906 wxDataObject *arg2 = (wxDataObject *) 0 ;
26907 bool result;
26908 PyObject * obj0 = 0 ;
26909 PyObject * obj1 = 0 ;
26910 char *kwnames[] = {
26911 (char *) "self",(char *) "data", NULL
26912 };
26913
26914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
26915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26918 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 result = (bool)(arg1)->SetData(arg2);
26922
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 {
26927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26928 }
26929 return resultobj;
26930 fail:
26931 return NULL;
26932 }
26933
26934
26935 static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
26936 PyObject *resultobj;
26937 wxClipboard *arg1 = (wxClipboard *) 0 ;
26938 wxDataFormat *arg2 = 0 ;
26939 bool result;
26940 PyObject * obj0 = 0 ;
26941 PyObject * obj1 = 0 ;
26942 char *kwnames[] = {
26943 (char *) "self",(char *) "format", NULL
26944 };
26945
26946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
26947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
26950 SWIG_POINTER_EXCEPTION | 0)) == -1)
26951 SWIG_fail;
26952 if (arg2 == NULL) {
26953 PyErr_SetString(PyExc_TypeError,"null reference");
26954 SWIG_fail;
26955 }
26956 {
26957 PyThreadState* __tstate = wxPyBeginAllowThreads();
26958 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26959
26960 wxPyEndAllowThreads(__tstate);
26961 if (PyErr_Occurred()) SWIG_fail;
26962 }
26963 {
26964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26965 }
26966 return resultobj;
26967 fail:
26968 return NULL;
26969 }
26970
26971
26972 static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
26973 PyObject *resultobj;
26974 wxClipboard *arg1 = (wxClipboard *) 0 ;
26975 wxDataObject *arg2 = 0 ;
26976 bool result;
26977 PyObject * obj0 = 0 ;
26978 PyObject * obj1 = 0 ;
26979 char *kwnames[] = {
26980 (char *) "self",(char *) "data", NULL
26981 };
26982
26983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
26984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26987 SWIG_POINTER_EXCEPTION | 0)) == -1)
26988 SWIG_fail;
26989 if (arg2 == NULL) {
26990 PyErr_SetString(PyExc_TypeError,"null reference");
26991 SWIG_fail;
26992 }
26993 {
26994 PyThreadState* __tstate = wxPyBeginAllowThreads();
26995 result = (bool)(arg1)->GetData(*arg2);
26996
26997 wxPyEndAllowThreads(__tstate);
26998 if (PyErr_Occurred()) SWIG_fail;
26999 }
27000 {
27001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27002 }
27003 return resultobj;
27004 fail:
27005 return NULL;
27006 }
27007
27008
27009 static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
27010 PyObject *resultobj;
27011 wxClipboard *arg1 = (wxClipboard *) 0 ;
27012 PyObject * obj0 = 0 ;
27013 char *kwnames[] = {
27014 (char *) "self", NULL
27015 };
27016
27017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27020 {
27021 PyThreadState* __tstate = wxPyBeginAllowThreads();
27022 (arg1)->Clear();
27023
27024 wxPyEndAllowThreads(__tstate);
27025 if (PyErr_Occurred()) SWIG_fail;
27026 }
27027 Py_INCREF(Py_None); resultobj = Py_None;
27028 return resultobj;
27029 fail:
27030 return NULL;
27031 }
27032
27033
27034 static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
27035 PyObject *resultobj;
27036 wxClipboard *arg1 = (wxClipboard *) 0 ;
27037 bool result;
27038 PyObject * obj0 = 0 ;
27039 char *kwnames[] = {
27040 (char *) "self", NULL
27041 };
27042
27043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27046 {
27047 PyThreadState* __tstate = wxPyBeginAllowThreads();
27048 result = (bool)(arg1)->Flush();
27049
27050 wxPyEndAllowThreads(__tstate);
27051 if (PyErr_Occurred()) SWIG_fail;
27052 }
27053 {
27054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27055 }
27056 return resultobj;
27057 fail:
27058 return NULL;
27059 }
27060
27061
27062 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
27063 PyObject *resultobj;
27064 wxClipboard *arg1 = (wxClipboard *) 0 ;
27065 bool arg2 = (bool) True ;
27066 PyObject * obj0 = 0 ;
27067 PyObject * obj1 = 0 ;
27068 char *kwnames[] = {
27069 (char *) "self",(char *) "primary", NULL
27070 };
27071
27072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27075 if (obj1) {
27076 arg2 = (bool) SWIG_AsBool(obj1);
27077 if (PyErr_Occurred()) SWIG_fail;
27078 }
27079 {
27080 PyThreadState* __tstate = wxPyBeginAllowThreads();
27081 (arg1)->UsePrimarySelection(arg2);
27082
27083 wxPyEndAllowThreads(__tstate);
27084 if (PyErr_Occurred()) SWIG_fail;
27085 }
27086 Py_INCREF(Py_None); resultobj = Py_None;
27087 return resultobj;
27088 fail:
27089 return NULL;
27090 }
27091
27092
27093 static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
27094 PyObject *obj;
27095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27096 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27097 Py_INCREF(obj);
27098 return Py_BuildValue((char *)"");
27099 }
27100 static int _wrap_TheClipboard_set(PyObject *) {
27101 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
27102 return 1;
27103 }
27104
27105
27106 static PyObject *_wrap_TheClipboard_get() {
27107 PyObject *pyobj;
27108
27109 pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
27110 return pyobj;
27111 }
27112
27113
27114 static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
27115 PyObject *resultobj;
27116 wxClipboard *arg1 = (wxClipboard *) NULL ;
27117 wxClipboardLocker *result;
27118 PyObject * obj0 = 0 ;
27119 char *kwnames[] = {
27120 (char *) "clipboard", NULL
27121 };
27122
27123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27124 if (obj0) {
27125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27127 }
27128 {
27129 PyThreadState* __tstate = wxPyBeginAllowThreads();
27130 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27131
27132 wxPyEndAllowThreads(__tstate);
27133 if (PyErr_Occurred()) SWIG_fail;
27134 }
27135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27136 return resultobj;
27137 fail:
27138 return NULL;
27139 }
27140
27141
27142 static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
27143 PyObject *resultobj;
27144 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27145 PyObject * obj0 = 0 ;
27146 char *kwnames[] = {
27147 (char *) "self", NULL
27148 };
27149
27150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27153 {
27154 PyThreadState* __tstate = wxPyBeginAllowThreads();
27155 delete arg1;
27156
27157 wxPyEndAllowThreads(__tstate);
27158 if (PyErr_Occurred()) SWIG_fail;
27159 }
27160 Py_INCREF(Py_None); resultobj = Py_None;
27161 return resultobj;
27162 fail:
27163 return NULL;
27164 }
27165
27166
27167 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
27168 PyObject *resultobj;
27169 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27170 bool result;
27171 PyObject * obj0 = 0 ;
27172 char *kwnames[] = {
27173 (char *) "self", NULL
27174 };
27175
27176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27179 {
27180 PyThreadState* __tstate = wxPyBeginAllowThreads();
27181 result = (bool)wxClipboardLocker___nonzero__(arg1);
27182
27183 wxPyEndAllowThreads(__tstate);
27184 if (PyErr_Occurred()) SWIG_fail;
27185 }
27186 {
27187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27188 }
27189 return resultobj;
27190 fail:
27191 return NULL;
27192 }
27193
27194
27195 static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
27196 PyObject *obj;
27197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27198 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27199 Py_INCREF(obj);
27200 return Py_BuildValue((char *)"");
27201 }
27202 static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
27203 PyObject *resultobj;
27204 int arg1 = (int) 0 ;
27205 int arg2 = (int) 0 ;
27206 int arg3 = (int) 0 ;
27207 int arg4 = (int) 0 ;
27208 wxVideoMode *result;
27209 PyObject * obj0 = 0 ;
27210 PyObject * obj1 = 0 ;
27211 PyObject * obj2 = 0 ;
27212 PyObject * obj3 = 0 ;
27213 char *kwnames[] = {
27214 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27215 };
27216
27217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27218 if (obj0) {
27219 arg1 = (int) SWIG_AsInt(obj0);
27220 if (PyErr_Occurred()) SWIG_fail;
27221 }
27222 if (obj1) {
27223 arg2 = (int) SWIG_AsInt(obj1);
27224 if (PyErr_Occurred()) SWIG_fail;
27225 }
27226 if (obj2) {
27227 arg3 = (int) SWIG_AsInt(obj2);
27228 if (PyErr_Occurred()) SWIG_fail;
27229 }
27230 if (obj3) {
27231 arg4 = (int) SWIG_AsInt(obj3);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 }
27234 {
27235 PyThreadState* __tstate = wxPyBeginAllowThreads();
27236 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27237
27238 wxPyEndAllowThreads(__tstate);
27239 if (PyErr_Occurred()) SWIG_fail;
27240 }
27241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27242 return resultobj;
27243 fail:
27244 return NULL;
27245 }
27246
27247
27248 static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
27249 PyObject *resultobj;
27250 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27251 PyObject * obj0 = 0 ;
27252 char *kwnames[] = {
27253 (char *) "self", NULL
27254 };
27255
27256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27259 {
27260 PyThreadState* __tstate = wxPyBeginAllowThreads();
27261 delete arg1;
27262
27263 wxPyEndAllowThreads(__tstate);
27264 if (PyErr_Occurred()) SWIG_fail;
27265 }
27266 Py_INCREF(Py_None); resultobj = Py_None;
27267 return resultobj;
27268 fail:
27269 return NULL;
27270 }
27271
27272
27273 static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
27274 PyObject *resultobj;
27275 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27276 wxVideoMode *arg2 = 0 ;
27277 bool result;
27278 PyObject * obj0 = 0 ;
27279 PyObject * obj1 = 0 ;
27280 char *kwnames[] = {
27281 (char *) "self",(char *) "other", NULL
27282 };
27283
27284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27288 SWIG_POINTER_EXCEPTION | 0)) == -1)
27289 SWIG_fail;
27290 if (arg2 == NULL) {
27291 PyErr_SetString(PyExc_TypeError,"null reference");
27292 SWIG_fail;
27293 }
27294 {
27295 PyThreadState* __tstate = wxPyBeginAllowThreads();
27296 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27297
27298 wxPyEndAllowThreads(__tstate);
27299 if (PyErr_Occurred()) SWIG_fail;
27300 }
27301 {
27302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27303 }
27304 return resultobj;
27305 fail:
27306 return NULL;
27307 }
27308
27309
27310 static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
27311 PyObject *resultobj;
27312 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27313 int result;
27314 PyObject * obj0 = 0 ;
27315 char *kwnames[] = {
27316 (char *) "self", NULL
27317 };
27318
27319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27322 {
27323 PyThreadState* __tstate = wxPyBeginAllowThreads();
27324 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27325
27326 wxPyEndAllowThreads(__tstate);
27327 if (PyErr_Occurred()) SWIG_fail;
27328 }
27329 resultobj = SWIG_FromInt((int)result);
27330 return resultobj;
27331 fail:
27332 return NULL;
27333 }
27334
27335
27336 static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
27337 PyObject *resultobj;
27338 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27339 int result;
27340 PyObject * obj0 = 0 ;
27341 char *kwnames[] = {
27342 (char *) "self", NULL
27343 };
27344
27345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27348 {
27349 PyThreadState* __tstate = wxPyBeginAllowThreads();
27350 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27351
27352 wxPyEndAllowThreads(__tstate);
27353 if (PyErr_Occurred()) SWIG_fail;
27354 }
27355 resultobj = SWIG_FromInt((int)result);
27356 return resultobj;
27357 fail:
27358 return NULL;
27359 }
27360
27361
27362 static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
27363 PyObject *resultobj;
27364 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27365 int result;
27366 PyObject * obj0 = 0 ;
27367 char *kwnames[] = {
27368 (char *) "self", NULL
27369 };
27370
27371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27374 {
27375 PyThreadState* __tstate = wxPyBeginAllowThreads();
27376 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27377
27378 wxPyEndAllowThreads(__tstate);
27379 if (PyErr_Occurred()) SWIG_fail;
27380 }
27381 resultobj = SWIG_FromInt((int)result);
27382 return resultobj;
27383 fail:
27384 return NULL;
27385 }
27386
27387
27388 static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27389 PyObject *resultobj;
27390 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27391 bool result;
27392 PyObject * obj0 = 0 ;
27393 char *kwnames[] = {
27394 (char *) "self", NULL
27395 };
27396
27397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27400 {
27401 PyThreadState* __tstate = wxPyBeginAllowThreads();
27402 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27403
27404 wxPyEndAllowThreads(__tstate);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 }
27407 {
27408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27409 }
27410 return resultobj;
27411 fail:
27412 return NULL;
27413 }
27414
27415
27416 static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27417 PyObject *resultobj;
27418 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27419 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27420 bool result;
27421 PyObject * obj0 = 0 ;
27422 PyObject * obj1 = 0 ;
27423 char *kwnames[] = {
27424 (char *) "self",(char *) "other", NULL
27425 };
27426
27427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27432 {
27433 PyThreadState* __tstate = wxPyBeginAllowThreads();
27434 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27435
27436 wxPyEndAllowThreads(__tstate);
27437 if (PyErr_Occurred()) SWIG_fail;
27438 }
27439 {
27440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27441 }
27442 return resultobj;
27443 fail:
27444 return NULL;
27445 }
27446
27447
27448 static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27449 PyObject *resultobj;
27450 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27451 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27452 bool result;
27453 PyObject * obj0 = 0 ;
27454 PyObject * obj1 = 0 ;
27455 char *kwnames[] = {
27456 (char *) "self",(char *) "other", NULL
27457 };
27458
27459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27464 {
27465 PyThreadState* __tstate = wxPyBeginAllowThreads();
27466 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27467
27468 wxPyEndAllowThreads(__tstate);
27469 if (PyErr_Occurred()) SWIG_fail;
27470 }
27471 {
27472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27473 }
27474 return resultobj;
27475 fail:
27476 return NULL;
27477 }
27478
27479
27480 static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
27481 PyObject *resultobj;
27482 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27483 int arg2 ;
27484 PyObject * obj0 = 0 ;
27485 PyObject * obj1 = 0 ;
27486 char *kwnames[] = {
27487 (char *) "self",(char *) "w", NULL
27488 };
27489
27490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27493 arg2 = (int) SWIG_AsInt(obj1);
27494 if (PyErr_Occurred()) SWIG_fail;
27495 if (arg1) (arg1)->w = arg2;
27496
27497 Py_INCREF(Py_None); resultobj = Py_None;
27498 return resultobj;
27499 fail:
27500 return NULL;
27501 }
27502
27503
27504 static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
27505 PyObject *resultobj;
27506 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27507 int result;
27508 PyObject * obj0 = 0 ;
27509 char *kwnames[] = {
27510 (char *) "self", NULL
27511 };
27512
27513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27516 result = (int) ((arg1)->w);
27517
27518 resultobj = SWIG_FromInt((int)result);
27519 return resultobj;
27520 fail:
27521 return NULL;
27522 }
27523
27524
27525 static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
27526 PyObject *resultobj;
27527 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27528 int arg2 ;
27529 PyObject * obj0 = 0 ;
27530 PyObject * obj1 = 0 ;
27531 char *kwnames[] = {
27532 (char *) "self",(char *) "h", NULL
27533 };
27534
27535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27538 arg2 = (int) SWIG_AsInt(obj1);
27539 if (PyErr_Occurred()) SWIG_fail;
27540 if (arg1) (arg1)->h = arg2;
27541
27542 Py_INCREF(Py_None); resultobj = Py_None;
27543 return resultobj;
27544 fail:
27545 return NULL;
27546 }
27547
27548
27549 static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
27550 PyObject *resultobj;
27551 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27552 int result;
27553 PyObject * obj0 = 0 ;
27554 char *kwnames[] = {
27555 (char *) "self", NULL
27556 };
27557
27558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27561 result = (int) ((arg1)->h);
27562
27563 resultobj = SWIG_FromInt((int)result);
27564 return resultobj;
27565 fail:
27566 return NULL;
27567 }
27568
27569
27570 static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
27571 PyObject *resultobj;
27572 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27573 int arg2 ;
27574 PyObject * obj0 = 0 ;
27575 PyObject * obj1 = 0 ;
27576 char *kwnames[] = {
27577 (char *) "self",(char *) "bpp", NULL
27578 };
27579
27580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27583 arg2 = (int) SWIG_AsInt(obj1);
27584 if (PyErr_Occurred()) SWIG_fail;
27585 if (arg1) (arg1)->bpp = arg2;
27586
27587 Py_INCREF(Py_None); resultobj = Py_None;
27588 return resultobj;
27589 fail:
27590 return NULL;
27591 }
27592
27593
27594 static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
27595 PyObject *resultobj;
27596 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27597 int result;
27598 PyObject * obj0 = 0 ;
27599 char *kwnames[] = {
27600 (char *) "self", NULL
27601 };
27602
27603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27606 result = (int) ((arg1)->bpp);
27607
27608 resultobj = SWIG_FromInt((int)result);
27609 return resultobj;
27610 fail:
27611 return NULL;
27612 }
27613
27614
27615 static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
27616 PyObject *resultobj;
27617 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27618 int arg2 ;
27619 PyObject * obj0 = 0 ;
27620 PyObject * obj1 = 0 ;
27621 char *kwnames[] = {
27622 (char *) "self",(char *) "refresh", NULL
27623 };
27624
27625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27628 arg2 = (int) SWIG_AsInt(obj1);
27629 if (PyErr_Occurred()) SWIG_fail;
27630 if (arg1) (arg1)->refresh = arg2;
27631
27632 Py_INCREF(Py_None); resultobj = Py_None;
27633 return resultobj;
27634 fail:
27635 return NULL;
27636 }
27637
27638
27639 static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
27640 PyObject *resultobj;
27641 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27642 int result;
27643 PyObject * obj0 = 0 ;
27644 char *kwnames[] = {
27645 (char *) "self", NULL
27646 };
27647
27648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27651 result = (int) ((arg1)->refresh);
27652
27653 resultobj = SWIG_FromInt((int)result);
27654 return resultobj;
27655 fail:
27656 return NULL;
27657 }
27658
27659
27660 static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
27661 PyObject *obj;
27662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27663 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27664 Py_INCREF(obj);
27665 return Py_BuildValue((char *)"");
27666 }
27667 static int _wrap_DefaultVideoMode_set(PyObject *) {
27668 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27669 return 1;
27670 }
27671
27672
27673 static PyObject *_wrap_DefaultVideoMode_get() {
27674 PyObject *pyobj;
27675
27676 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27677 return pyobj;
27678 }
27679
27680
27681 static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
27682 PyObject *resultobj;
27683 size_t arg1 = (size_t) 0 ;
27684 wxDisplay *result;
27685 PyObject * obj0 = 0 ;
27686 char *kwnames[] = {
27687 (char *) "index", NULL
27688 };
27689
27690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27691 if (obj0) {
27692 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27693 if (PyErr_Occurred()) SWIG_fail;
27694 }
27695 {
27696 PyThreadState* __tstate = wxPyBeginAllowThreads();
27697 result = (wxDisplay *)new wxDisplay(arg1);
27698
27699 wxPyEndAllowThreads(__tstate);
27700 if (PyErr_Occurred()) SWIG_fail;
27701 }
27702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27703 return resultobj;
27704 fail:
27705 return NULL;
27706 }
27707
27708
27709 static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
27710 PyObject *resultobj;
27711 wxDisplay *arg1 = (wxDisplay *) 0 ;
27712 PyObject * obj0 = 0 ;
27713 char *kwnames[] = {
27714 (char *) "self", NULL
27715 };
27716
27717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27720 {
27721 PyThreadState* __tstate = wxPyBeginAllowThreads();
27722 delete arg1;
27723
27724 wxPyEndAllowThreads(__tstate);
27725 if (PyErr_Occurred()) SWIG_fail;
27726 }
27727 Py_INCREF(Py_None); resultobj = Py_None;
27728 return resultobj;
27729 fail:
27730 return NULL;
27731 }
27732
27733
27734 static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
27735 PyObject *resultobj;
27736 size_t result;
27737 char *kwnames[] = {
27738 NULL
27739 };
27740
27741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27742 {
27743 PyThreadState* __tstate = wxPyBeginAllowThreads();
27744 result = (size_t)wxDisplay::GetCount();
27745
27746 wxPyEndAllowThreads(__tstate);
27747 if (PyErr_Occurred()) SWIG_fail;
27748 }
27749 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27750 return resultobj;
27751 fail:
27752 return NULL;
27753 }
27754
27755
27756 static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27757 PyObject *resultobj;
27758 wxPoint *arg1 = 0 ;
27759 int result;
27760 wxPoint temp1 ;
27761 PyObject * obj0 = 0 ;
27762 char *kwnames[] = {
27763 (char *) "pt", NULL
27764 };
27765
27766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27767 {
27768 arg1 = &temp1;
27769 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27770 }
27771 {
27772 PyThreadState* __tstate = wxPyBeginAllowThreads();
27773 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
27774
27775 wxPyEndAllowThreads(__tstate);
27776 if (PyErr_Occurred()) SWIG_fail;
27777 }
27778 resultobj = SWIG_FromInt((int)result);
27779 return resultobj;
27780 fail:
27781 return NULL;
27782 }
27783
27784
27785 static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27786 PyObject *resultobj;
27787 wxWindow *arg1 = (wxWindow *) 0 ;
27788 int result;
27789 PyObject * obj0 = 0 ;
27790 char *kwnames[] = {
27791 (char *) "window", NULL
27792 };
27793
27794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
27795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27797 {
27798 PyThreadState* __tstate = wxPyBeginAllowThreads();
27799 result = (int)Display_GetFromWindow(arg1);
27800
27801 wxPyEndAllowThreads(__tstate);
27802 if (PyErr_Occurred()) SWIG_fail;
27803 }
27804 resultobj = SWIG_FromInt((int)result);
27805 return resultobj;
27806 fail:
27807 return NULL;
27808 }
27809
27810
27811 static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27812 PyObject *resultobj;
27813 wxDisplay *arg1 = (wxDisplay *) 0 ;
27814 bool result;
27815 PyObject * obj0 = 0 ;
27816 char *kwnames[] = {
27817 (char *) "self", NULL
27818 };
27819
27820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
27821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27823 {
27824 PyThreadState* __tstate = wxPyBeginAllowThreads();
27825 result = (bool)((wxDisplay const *)arg1)->IsOk();
27826
27827 wxPyEndAllowThreads(__tstate);
27828 if (PyErr_Occurred()) SWIG_fail;
27829 }
27830 {
27831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27832 }
27833 return resultobj;
27834 fail:
27835 return NULL;
27836 }
27837
27838
27839 static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
27840 PyObject *resultobj;
27841 wxDisplay *arg1 = (wxDisplay *) 0 ;
27842 wxRect result;
27843 PyObject * obj0 = 0 ;
27844 char *kwnames[] = {
27845 (char *) "self", NULL
27846 };
27847
27848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
27849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27851 {
27852 PyThreadState* __tstate = wxPyBeginAllowThreads();
27853 result = ((wxDisplay const *)arg1)->GetGeometry();
27854
27855 wxPyEndAllowThreads(__tstate);
27856 if (PyErr_Occurred()) SWIG_fail;
27857 }
27858 {
27859 wxRect * resultptr;
27860 resultptr = new wxRect((wxRect &) result);
27861 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
27862 }
27863 return resultobj;
27864 fail:
27865 return NULL;
27866 }
27867
27868
27869 static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
27870 PyObject *resultobj;
27871 wxDisplay *arg1 = (wxDisplay *) 0 ;
27872 wxString result;
27873 PyObject * obj0 = 0 ;
27874 char *kwnames[] = {
27875 (char *) "self", NULL
27876 };
27877
27878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
27879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27881 {
27882 PyThreadState* __tstate = wxPyBeginAllowThreads();
27883 result = ((wxDisplay const *)arg1)->GetName();
27884
27885 wxPyEndAllowThreads(__tstate);
27886 if (PyErr_Occurred()) SWIG_fail;
27887 }
27888 {
27889 #if wxUSE_UNICODE
27890 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27891 #else
27892 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27893 #endif
27894 }
27895 return resultobj;
27896 fail:
27897 return NULL;
27898 }
27899
27900
27901 static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
27902 PyObject *resultobj;
27903 wxDisplay *arg1 = (wxDisplay *) 0 ;
27904 bool result;
27905 PyObject * obj0 = 0 ;
27906 char *kwnames[] = {
27907 (char *) "self", NULL
27908 };
27909
27910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
27911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27913 {
27914 PyThreadState* __tstate = wxPyBeginAllowThreads();
27915 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
27916
27917 wxPyEndAllowThreads(__tstate);
27918 if (PyErr_Occurred()) SWIG_fail;
27919 }
27920 {
27921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27922 }
27923 return resultobj;
27924 fail:
27925 return NULL;
27926 }
27927
27928
27929 static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
27930 PyObject *resultobj;
27931 wxDisplay *arg1 = (wxDisplay *) 0 ;
27932 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
27933 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
27934 PyObject *result;
27935 PyObject * obj0 = 0 ;
27936 PyObject * obj1 = 0 ;
27937 char *kwnames[] = {
27938 (char *) "self",(char *) "mode", NULL
27939 };
27940
27941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
27942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27944 if (obj1) {
27945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27946 SWIG_POINTER_EXCEPTION | 0)) == -1)
27947 SWIG_fail;
27948 if (arg2 == NULL) {
27949 PyErr_SetString(PyExc_TypeError,"null reference");
27950 SWIG_fail;
27951 }
27952 }
27953 {
27954 PyThreadState* __tstate = wxPyBeginAllowThreads();
27955 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
27956
27957 wxPyEndAllowThreads(__tstate);
27958 if (PyErr_Occurred()) SWIG_fail;
27959 }
27960 resultobj = result;
27961 return resultobj;
27962 fail:
27963 return NULL;
27964 }
27965
27966
27967 static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
27968 PyObject *resultobj;
27969 wxDisplay *arg1 = (wxDisplay *) 0 ;
27970 wxVideoMode result;
27971 PyObject * obj0 = 0 ;
27972 char *kwnames[] = {
27973 (char *) "self", NULL
27974 };
27975
27976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
27977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27979 {
27980 PyThreadState* __tstate = wxPyBeginAllowThreads();
27981 result = ((wxDisplay const *)arg1)->GetCurrentMode();
27982
27983 wxPyEndAllowThreads(__tstate);
27984 if (PyErr_Occurred()) SWIG_fail;
27985 }
27986 {
27987 wxVideoMode * resultptr;
27988 resultptr = new wxVideoMode((wxVideoMode &) result);
27989 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
27990 }
27991 return resultobj;
27992 fail:
27993 return NULL;
27994 }
27995
27996
27997 static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
27998 PyObject *resultobj;
27999 wxDisplay *arg1 = (wxDisplay *) 0 ;
28000 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28001 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28002 bool result;
28003 PyObject * obj0 = 0 ;
28004 PyObject * obj1 = 0 ;
28005 char *kwnames[] = {
28006 (char *) "self",(char *) "mode", NULL
28007 };
28008
28009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28012 if (obj1) {
28013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28014 SWIG_POINTER_EXCEPTION | 0)) == -1)
28015 SWIG_fail;
28016 if (arg2 == NULL) {
28017 PyErr_SetString(PyExc_TypeError,"null reference");
28018 SWIG_fail;
28019 }
28020 }
28021 {
28022 PyThreadState* __tstate = wxPyBeginAllowThreads();
28023 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28024
28025 wxPyEndAllowThreads(__tstate);
28026 if (PyErr_Occurred()) SWIG_fail;
28027 }
28028 {
28029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28030 }
28031 return resultobj;
28032 fail:
28033 return NULL;
28034 }
28035
28036
28037 static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
28038 PyObject *resultobj;
28039 wxDisplay *arg1 = (wxDisplay *) 0 ;
28040 PyObject * obj0 = 0 ;
28041 char *kwnames[] = {
28042 (char *) "self", NULL
28043 };
28044
28045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28048 {
28049 PyThreadState* __tstate = wxPyBeginAllowThreads();
28050 (arg1)->ResetMode();
28051
28052 wxPyEndAllowThreads(__tstate);
28053 if (PyErr_Occurred()) SWIG_fail;
28054 }
28055 Py_INCREF(Py_None); resultobj = Py_None;
28056 return resultobj;
28057 fail:
28058 return NULL;
28059 }
28060
28061
28062 static PyObject * Display_swigregister(PyObject *, PyObject *args) {
28063 PyObject *obj;
28064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28065 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28066 Py_INCREF(obj);
28067 return Py_BuildValue((char *)"");
28068 }
28069 static PyMethodDef SwigMethods[] = {
28070 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
28071 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
28072 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL },
28073 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL },
28074 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
28075 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
28076 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL },
28077 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL },
28078 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
28079 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
28080 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
28081 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
28082 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
28083 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL },
28084 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL },
28085 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL },
28086 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL },
28087 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL },
28088 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28089 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL },
28090 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL },
28091 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL },
28092 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL },
28093 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL },
28094 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL },
28095 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL },
28096 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28097 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL },
28098 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL },
28099 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL },
28100 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS, NULL },
28101 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL },
28102 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL },
28103 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL },
28104 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL },
28105 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL },
28106 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL },
28107 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL },
28108 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL },
28109 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL },
28110 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL },
28111 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL },
28112 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28113 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28114 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28115 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28116 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28117 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28118 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL },
28119 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL },
28120 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL },
28121 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28122 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL },
28123 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
28124 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
28125 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
28126 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
28127 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
28128 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
28129 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
28130 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
28131 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28132 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28133 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28134 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
28135 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
28136 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL },
28137 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL },
28138 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL },
28139 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28140 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28141 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28142 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28143 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL },
28144 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL },
28145 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
28146 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL },
28147 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
28148 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28149 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
28150 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL },
28151 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL },
28152 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
28153 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
28154 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28155 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
28156 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28157 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
28158 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
28159 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
28160 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28161 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
28162 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL },
28163 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
28164 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
28165 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL },
28166 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
28167 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL },
28168 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
28169 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
28170 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28171 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28172 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL },
28173 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
28174 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
28175 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL },
28176 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28177 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28178 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL },
28179 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL },
28180 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL },
28181 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL },
28182 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
28183 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL },
28184 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL },
28185 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28186 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28187 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28188 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28189 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL },
28190 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28191 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28192 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL },
28193 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL },
28194 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28195 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28196 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL },
28197 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
28198 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL },
28199 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
28200 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
28201 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
28202 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL },
28203 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL },
28204 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL },
28205 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL },
28206 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28207 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
28208 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL },
28209 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL },
28210 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL },
28211 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28212 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28213 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL },
28214 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL },
28215 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28216 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
28217 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
28218 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28219 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL },
28220 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL },
28221 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
28222 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL },
28223 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
28224 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL },
28225 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
28226 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL },
28227 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL },
28228 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
28229 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL },
28230 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL },
28231 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL },
28232 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL },
28233 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL },
28234 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL },
28235 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
28236 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL },
28237 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL },
28238 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
28239 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL },
28240 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28241 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28242 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL },
28243 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
28244 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
28245 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
28246 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
28247 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28248 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28249 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28250 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
28251 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
28252 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
28253 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
28254 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28255 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28256 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
28257 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
28258 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL },
28259 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
28260 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL },
28261 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL },
28262 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL },
28263 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
28264 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL },
28265 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL },
28266 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL },
28267 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28268 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL },
28269 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
28270 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
28271 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28272 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28273 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL },
28274 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL },
28275 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL },
28276 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28277 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28278 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
28279 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL },
28280 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL },
28281 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL },
28282 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL },
28283 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL },
28284 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL },
28285 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL },
28286 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28287 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL },
28288 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
28289 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL },
28290 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL },
28291 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL },
28292 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL },
28293 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL },
28294 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL },
28295 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
28296 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
28297 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL },
28298 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL },
28299 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28300 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL },
28301 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL },
28302 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
28303 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL },
28304 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL },
28305 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28306 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL },
28307 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL },
28308 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL },
28309 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
28310 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL },
28311 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL },
28312 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
28313 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL },
28314 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL },
28315 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
28316 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
28317 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL },
28318 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
28319 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL },
28320 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL },
28321 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL },
28322 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL },
28323 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL },
28324 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL },
28325 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL },
28326 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL },
28327 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
28328 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
28329 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28330 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28331 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28332 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28333 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28334 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28335 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28336 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28337 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
28338 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
28339 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28340 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL },
28341 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL },
28342 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL },
28343 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL },
28344 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL },
28345 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL },
28346 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL },
28347 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL },
28348 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL },
28349 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL },
28350 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL },
28351 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL },
28352 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL },
28353 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL },
28354 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL },
28355 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL },
28356 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL },
28357 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL },
28358 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL },
28359 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL },
28360 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL },
28361 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL },
28362 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL },
28363 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL },
28364 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL },
28365 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL },
28366 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL },
28367 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL },
28368 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL },
28369 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
28370 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL },
28371 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL },
28372 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
28373 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
28374 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS, NULL },
28375 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS, NULL },
28376 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS, NULL },
28377 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS, NULL },
28378 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS, NULL },
28379 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS, NULL },
28380 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS, NULL },
28381 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS, NULL },
28382 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL },
28383 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28384 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28385 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28386 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
28387 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
28388 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
28389 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28390 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
28391 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28392 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28393 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
28394 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL },
28395 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL },
28396 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
28397 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
28398 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
28399 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL },
28400 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS, NULL },
28401 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
28402 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS, NULL },
28403 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28404 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS, NULL },
28405 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS, NULL },
28406 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
28407 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL },
28408 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28409 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL },
28410 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28411 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
28412 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28413 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
28414 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28415 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28416 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28417 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
28418 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28419 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
28420 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL },
28421 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL },
28422 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL },
28423 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL },
28424 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
28425 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
28426 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28427 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28428 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
28429 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28430 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28431 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28432 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28433 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28434 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL },
28435 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28436 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28437 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
28438 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28439 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL },
28440 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL },
28441 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
28442 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
28443 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL },
28444 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL },
28445 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28446 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL },
28447 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28448 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28449 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL },
28450 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL },
28451 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
28452 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
28453 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL },
28454 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28455 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28456 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28457 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28458 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28459 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
28460 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28461 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
28462 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL },
28463 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL },
28464 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL },
28465 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL },
28466 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL },
28467 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
28468 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
28469 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
28470 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28471 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28472 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28473 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28474 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL },
28475 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL },
28476 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28477 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28478 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
28479 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL },
28480 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL },
28481 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL },
28482 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL },
28483 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL },
28484 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL },
28485 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL },
28486 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL },
28487 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL },
28488 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
28489 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28490 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28491 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28492 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28493 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL },
28494 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28495 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28496 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
28497 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
28498 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28499 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
28500 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
28501 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
28502 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
28503 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
28504 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
28505 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL },
28506 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL },
28507 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL },
28508 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL },
28509 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
28510 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
28511 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL },
28512 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
28513 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
28514 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL },
28515 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL },
28516 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28517 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28518 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28519 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28520 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL },
28521 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL },
28522 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28523 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL },
28524 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL },
28525 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL },
28526 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28527 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL },
28528 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL },
28529 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL },
28530 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL },
28531 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL },
28532 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL },
28533 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL },
28534 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL },
28535 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL },
28536 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
28537 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
28538 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL },
28539 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL },
28540 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL },
28541 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
28542 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
28543 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
28544 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
28545 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL },
28546 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL },
28547 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL },
28548 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL },
28549 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28550 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL },
28551 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL },
28552 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
28553 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
28554 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
28555 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28556 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28557 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28558 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28559 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28560 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28561 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28562 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28563 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28564 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28565 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28566 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
28567 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
28568 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
28569 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
28570 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
28571 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
28572 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
28573 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL },
28574 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL },
28575 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
28576 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
28577 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL },
28578 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL },
28579 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL },
28580 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
28581 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL },
28582 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL },
28583 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28584 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL },
28585 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28586 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL },
28587 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
28588 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
28589 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
28590 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
28591 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
28592 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28593 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL },
28594 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
28595 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL },
28596 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL },
28597 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL },
28598 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL },
28599 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL },
28600 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL },
28601 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL },
28602 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL },
28603 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL },
28604 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL },
28605 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL },
28606 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
28607 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL },
28608 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL },
28609 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL },
28610 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL },
28611 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS, NULL },
28612 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS, NULL },
28613 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS, NULL },
28614 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS, NULL },
28615 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS, NULL },
28616 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS, NULL },
28617 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL },
28618 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28619 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL },
28620 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL },
28621 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL },
28622 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL },
28623 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL },
28624 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL },
28625 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL },
28626 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL },
28627 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL },
28628 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL },
28629 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL },
28630 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL },
28631 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL },
28632 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL },
28633 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL },
28634 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
28635 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
28636 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
28637 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
28638 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28639 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28640 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
28641 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
28642 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
28643 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
28644 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL },
28645 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
28646 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
28647 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
28648 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
28649 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
28650 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
28651 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
28652 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
28653 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL },
28654 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL },
28655 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL },
28656 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL },
28657 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
28658 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
28659 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL },
28660 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL },
28661 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL },
28662 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
28663 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL },
28664 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL },
28665 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
28666 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
28667 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL },
28668 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL },
28669 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL },
28670 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL },
28671 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL },
28672 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL },
28673 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28674 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28675 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
28676 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
28677 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
28678 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
28679 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL },
28680 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL },
28681 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL },
28682 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL },
28683 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL },
28684 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
28685 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
28686 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL },
28687 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL },
28688 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
28689 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
28690 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
28691 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL },
28692 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
28693 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
28694 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
28695 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
28696 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
28697 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
28698 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
28699 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
28700 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
28701 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
28702 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
28703 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
28704 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
28705 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
28706 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL },
28707 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL },
28708 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL },
28709 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL },
28710 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL },
28711 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28712 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28713 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28714 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL },
28715 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL },
28716 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
28717 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
28718 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
28719 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
28720 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL },
28721 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28722 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28723 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL },
28724 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
28725 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
28726 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL },
28727 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
28728 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28729 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL },
28730 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
28731 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28732 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28733 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL },
28734 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
28735 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28736 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL },
28737 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL },
28738 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL },
28739 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL },
28740 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28741 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL },
28742 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
28743 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
28744 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL },
28745 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28746 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28747 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL },
28748 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28749 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
28750 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
28751 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL },
28752 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28753 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28754 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL },
28755 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28756 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
28757 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL },
28758 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL },
28759 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28760 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS, NULL },
28761 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28762 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
28763 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
28764 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL },
28765 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28766 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL },
28767 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL },
28768 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL },
28769 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28770 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL },
28771 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL },
28772 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL },
28773 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL },
28774 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
28775 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28776 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
28777 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28778 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28779 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28780 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28781 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL },
28782 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL },
28783 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28784 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28785 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28786 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28787 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28788 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28789 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
28790 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28791 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28792 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
28793 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL },
28794 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28795 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28796 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28797 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
28798 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28799 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28800 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
28801 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL },
28802 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28803 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28804 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28805 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
28806 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28807 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28808 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
28809 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL },
28810 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
28811 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
28812 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL },
28813 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL },
28814 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL },
28815 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL },
28816 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28817 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
28818 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
28819 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
28820 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
28821 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL },
28822 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL },
28823 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28824 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28825 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL },
28826 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL },
28827 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
28828 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
28829 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL },
28830 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
28831 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
28832 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
28833 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28834 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
28835 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
28836 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL },
28837 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL },
28838 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL },
28839 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL },
28840 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL },
28841 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL },
28842 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL },
28843 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL },
28844 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL },
28845 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL },
28846 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL },
28847 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
28848 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
28849 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28850 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28851 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL },
28852 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
28853 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL },
28854 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL },
28855 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL },
28856 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL },
28857 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL },
28858 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL },
28859 { NULL, NULL, 0, NULL }
28860 };
28861
28862
28863 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28864
28865 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28866 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28867 }
28868 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28869 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28870 }
28871 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28872 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28873 }
28874 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28875 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28876 }
28877 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28878 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28879 }
28880 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28881 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28882 }
28883 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
28884 return (void *)((wxEvent *) ((wxTimerEvent *) x));
28885 }
28886 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28887 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28888 }
28889 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28890 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28891 }
28892 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28893 return (void *)((wxEvent *) ((wxPyEvent *) x));
28894 }
28895 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28896 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28897 }
28898 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
28899 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
28900 }
28901 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28902 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28903 }
28904 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28905 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28906 }
28907 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28908 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28909 }
28910 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28911 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28912 }
28913 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28914 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28915 }
28916 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28917 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28918 }
28919 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28920 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28921 }
28922 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28923 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28924 }
28925 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28926 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28927 }
28928 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28929 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28930 }
28931 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28932 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28933 }
28934 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28935 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28936 }
28937 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28938 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28939 }
28940 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28941 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28942 }
28943 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28944 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28945 }
28946 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28947 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28948 }
28949 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28950 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28951 }
28952 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28953 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28954 }
28955 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
28956 return (void *)((wxEvent *) ((wxProcessEvent *) x));
28957 }
28958 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28959 return (void *)((wxEvent *) ((wxShowEvent *) x));
28960 }
28961 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28962 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28963 }
28964 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28965 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28966 }
28967 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28968 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28969 }
28970 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28971 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28972 }
28973 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28974 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28975 }
28976 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28977 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28978 }
28979 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
28980 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
28981 }
28982 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
28983 return (void *)((wxConfigBase *) ((wxConfig *) x));
28984 }
28985 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
28986 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
28987 }
28988 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
28989 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
28990 }
28991 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
28992 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
28993 }
28994 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
28995 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
28996 }
28997 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
28998 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
28999 }
29000 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
29001 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
29002 }
29003 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29004 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29005 }
29006 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29007 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29008 }
29009 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29010 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29011 }
29012 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29013 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29014 }
29015 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29016 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29017 }
29018 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29019 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29020 }
29021 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29022 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29023 }
29024 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29025 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29026 }
29027 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29028 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29029 }
29030 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29031 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29032 }
29033 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29034 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29035 }
29036 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29037 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29038 }
29039 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29040 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29041 }
29042 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29043 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29044 }
29045 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29046 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29047 }
29048 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29049 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29050 }
29051 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29052 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29053 }
29054 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29055 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29056 }
29057 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29058 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29059 }
29060 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29061 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29062 }
29063 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29064 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29065 }
29066 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29067 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29068 }
29069 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29070 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29071 }
29072 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29073 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29074 }
29075 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29076 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29077 }
29078 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29079 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29080 }
29081 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29082 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29083 }
29084 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29085 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29086 }
29087 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29088 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29089 }
29090 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29091 return (void *)((wxObject *) ((wxSizerItem *) x));
29092 }
29093 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29094 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29095 }
29096 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29097 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29098 }
29099 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29100 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29101 }
29102 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29103 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29104 }
29105 static void *_p_wxSizerTo_p_wxObject(void *x) {
29106 return (void *)((wxObject *) ((wxSizer *) x));
29107 }
29108 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29109 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29110 }
29111 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29112 return (void *)((wxObject *) ((wxFileHistory *) x));
29113 }
29114 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29115 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29116 }
29117 static void *_p_wxEventTo_p_wxObject(void *x) {
29118 return (void *)((wxObject *) ((wxEvent *) x));
29119 }
29120 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29121 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29122 }
29123 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29124 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29125 }
29126 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29127 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29128 }
29129 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29130 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29131 }
29132 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29133 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29134 }
29135 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29136 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29137 }
29138 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29139 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29140 }
29141 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29142 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29143 }
29144 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29145 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29146 }
29147 static void *_p_wxControlTo_p_wxObject(void *x) {
29148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29149 }
29150 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29151 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29152 }
29153 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29154 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29155 }
29156 static void *_p_wxFSFileTo_p_wxObject(void *x) {
29157 return (void *)((wxObject *) ((wxFSFile *) x));
29158 }
29159 static void *_p_wxClipboardTo_p_wxObject(void *x) {
29160 return (void *)((wxObject *) ((wxClipboard *) x));
29161 }
29162 static void *_p_wxPySizerTo_p_wxObject(void *x) {
29163 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29164 }
29165 static void *_p_wxPyEventTo_p_wxObject(void *x) {
29166 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29167 }
29168 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29169 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29170 }
29171 static void *_p_wxShowEventTo_p_wxObject(void *x) {
29172 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29173 }
29174 static void *_p_wxToolTipTo_p_wxObject(void *x) {
29175 return (void *)((wxObject *) ((wxToolTip *) x));
29176 }
29177 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29178 return (void *)((wxObject *) ((wxMenuItem *) x));
29179 }
29180 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29181 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29182 }
29183 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29184 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29185 }
29186 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29187 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29188 }
29189 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29190 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29191 }
29192 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29193 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29194 }
29195 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29196 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29197 }
29198 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29199 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29200 }
29201 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29202 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29203 }
29204 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29205 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29206 }
29207 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29208 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29209 }
29210 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29211 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29212 }
29213 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29214 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29215 }
29216 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29217 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29218 }
29219 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29220 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29221 }
29222 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29223 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29224 }
29225 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29226 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29227 }
29228 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29229 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29230 }
29231 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29232 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29233 }
29234 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29235 return (void *)((wxObject *) ((wxImageHandler *) x));
29236 }
29237 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29238 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29239 }
29240 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29241 return (void *)((wxObject *) ((wxEvtHandler *) x));
29242 }
29243 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29244 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29245 }
29246 static void *_p_wxImageTo_p_wxObject(void *x) {
29247 return (void *)((wxObject *) ((wxImage *) x));
29248 }
29249 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29250 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29251 }
29252 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29253 return (void *)((wxObject *) ((wxSystemOptions *) x));
29254 }
29255 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29256 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29257 }
29258 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29259 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29260 }
29261 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29262 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29263 }
29264 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29265 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29266 }
29267 static void *_p_wxWindowTo_p_wxObject(void *x) {
29268 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29269 }
29270 static void *_p_wxMenuTo_p_wxObject(void *x) {
29271 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29272 }
29273 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29275 }
29276 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29277 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29278 }
29279 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29280 return (void *)((wxObject *) ((wxFileSystem *) x));
29281 }
29282 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29283 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29284 }
29285 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29286 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29287 }
29288 static void *_p_wxPyAppTo_p_wxObject(void *x) {
29289 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29290 }
29291 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29292 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29293 }
29294 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29295 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29296 }
29297 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29298 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29299 }
29300 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29301 return (void *)((wxObject *) ((wxBusyInfo *) x));
29302 }
29303 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29304 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29305 }
29306 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29307 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29308 }
29309 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29310 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29311 }
29312 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29313 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29314 }
29315 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29316 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29317 }
29318 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29319 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29320 }
29321 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29323 }
29324 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29325 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29326 }
29327 static void *_p_wxValidatorTo_p_wxObject(void *x) {
29328 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29329 }
29330 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29331 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29332 }
29333 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29334 return (void *)((wxLog *) ((wxLogStderr *) x));
29335 }
29336 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29337 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29338 }
29339 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29340 return (void *)((wxLog *) ((wxLogWindow *) x));
29341 }
29342 static void *_p_wxLogChainTo_p_wxLog(void *x) {
29343 return (void *)((wxLog *) ((wxLogChain *) x));
29344 }
29345 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29346 return (void *)((wxLog *) ((wxLogGui *) x));
29347 }
29348 static void *_p_wxPyLogTo_p_wxLog(void *x) {
29349 return (void *)((wxLog *) ((wxPyLog *) x));
29350 }
29351 static void *_p_wxControlTo_p_wxWindow(void *x) {
29352 return (void *)((wxWindow *) ((wxControl *) x));
29353 }
29354 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29355 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29356 }
29357 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29358 return (void *)((wxWindow *) ((wxMenuBar *) x));
29359 }
29360 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29361 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29362 }
29363 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29364 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29365 }
29366 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29367 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29368 static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29369 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29370 static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29371 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29372 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29373 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29374 static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29375 static swig_type_info _swigt__p_wxDisplay[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29376 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29377 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29378 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29379 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29380 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29381 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29382 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29383 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29384 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29385 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29386 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29387 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29388 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29389 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29390 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29391 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29392 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29393 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29394 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29395 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29396 static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29397 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29398 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29399 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29400 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29401 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29402 static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29403 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29404 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29405 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29406 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29407 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29408 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29409 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29410 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29411 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29412 static swig_type_info _swigt__p_wxVideoMode[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29413 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29414 static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29415 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29416 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29417 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29418 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29419 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29420 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29421 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29422 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29423 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29424 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29425 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29426 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29427 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29428 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29429 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29430 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29431 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29432 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29433 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29434 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29435 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29436 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29437 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29438 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29439 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29440 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29441 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29442 static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29443 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29444 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29445 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29446 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29447 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29448 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29449 static swig_type_info _swigt__p_wxByte[] = {{"_p_wxByte", 0, "wxByte *", 0, 0, 0, 0},{"_p_wxByte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29450 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29451 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29452 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29453
29454 static swig_type_info *swig_types_initial[] = {
29455 _swigt__p_wxLogChain,
29456 _swigt__p_wxMutexGuiLocker,
29457 _swigt__p_wxMetafile,
29458 _swigt__p_wxFileHistory,
29459 _swigt__p_wxLog,
29460 _swigt__p_wxDateTime__TimeZone,
29461 _swigt__p_wxMenu,
29462 _swigt__p_wxEvent,
29463 _swigt__p_wxConfigBase,
29464 _swigt__p_wxDisplay,
29465 _swigt__p_wxFileType,
29466 _swigt__p_wxLogGui,
29467 _swigt__p_wxFont,
29468 _swigt__p_wxDataFormat,
29469 _swigt__p_wxTimerEvent,
29470 _swigt__p_wxCaret,
29471 _swigt__p_int,
29472 _swigt__p_wxSize,
29473 _swigt__p_wxClipboard,
29474 _swigt__p_wxStopWatch,
29475 _swigt__p_wxDC,
29476 _swigt__p_wxClipboardLocker,
29477 _swigt__p_wxIcon,
29478 _swigt__p_wxLogStderr,
29479 _swigt__p_wxLogTextCtrl,
29480 _swigt__p_wxTextCtrl,
29481 _swigt__p_wxBusyCursor,
29482 _swigt__p_wxPyTextDataObject,
29483 _swigt__p_wxBitmapDataObject,
29484 _swigt__p_wxTextDataObject,
29485 _swigt__p_wxDataObject,
29486 _swigt__p_wxPyBitmapDataObject,
29487 _swigt__p_wxFileDataObject,
29488 _swigt__p_wxCustomDataObject,
29489 _swigt__p_wxURLDataObject,
29490 _swigt__p_wxMetafileDataObject,
29491 _swigt__p_wxSound,
29492 _swigt__p_wxTimerRunner,
29493 _swigt__p_wxLogWindow,
29494 _swigt__p_wxTimeSpan,
29495 _swigt__p_wxArrayString,
29496 _swigt__p_wxWindowDisabler,
29497 _swigt__p_wxToolTip,
29498 _swigt__p_wxDataObjectComposite,
29499 _swigt__p_wxFileConfig,
29500 _swigt__p_wxSystemSettings,
29501 _swigt__p_wxVideoMode,
29502 _swigt__p_wxPyDataObjectSimple,
29503 _swigt__p_wxDataObjectSimple,
29504 _swigt__p_wxEvtHandler,
29505 _swigt__p_wxRect,
29506 _swigt__p_char,
29507 _swigt__p_wxSingleInstanceChecker,
29508 _swigt__p_wxFileTypeInfo,
29509 _swigt__p_wxFrame,
29510 _swigt__p_wxTimer,
29511 _swigt__p_wxMimeTypesManager,
29512 _swigt__p_wxPyArtProvider,
29513 _swigt__p_wxPyTipProvider,
29514 _swigt__p_wxTipProvider,
29515 _swigt__p_wxJoystick,
29516 _swigt__p_wxSystemOptions,
29517 _swigt__p_wxPoint,
29518 _swigt__p_wxJoystickEvent,
29519 _swigt__p_wxCursor,
29520 _swigt__p_wxObject,
29521 _swigt__p_wxOutputStream,
29522 _swigt__p_wxDateTime,
29523 _swigt__p_wxPyDropSource,
29524 _swigt__p_wxWindow,
29525 _swigt__p_wxString,
29526 _swigt__p_wxPyProcess,
29527 _swigt__p_wxBitmap,
29528 _swigt__p_wxConfig,
29529 _swigt__p_wxChar,
29530 _swigt__p_wxBusyInfo,
29531 _swigt__p_wxPyDropTarget,
29532 _swigt__p_wxPyTextDropTarget,
29533 _swigt__p_wxPyFileDropTarget,
29534 _swigt__p_wxProcessEvent,
29535 _swigt__p_wxPyLog,
29536 _swigt__p_wxLogNull,
29537 _swigt__p_wxColour,
29538 _swigt__p_wxByte,
29539 _swigt__p_wxConfigPathChanger,
29540 _swigt__p_wxPyTimer,
29541 _swigt__p_wxDateSpan,
29542 0
29543 };
29544
29545
29546 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29547
29548 static swig_const_info swig_const_table[] = {
29549 { SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29550 { SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29551 { SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29552 { SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29553 { SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
29554 {0, 0, 0, 0.0, 0, 0}};
29555
29556 #ifdef __cplusplus
29557 }
29558 #endif
29559
29560 #ifdef __cplusplus
29561 extern "C"
29562 #endif
29563 SWIGEXPORT(void) SWIG_init(void) {
29564 static PyObject *SWIG_globals = 0;
29565 static int typeinit = 0;
29566 PyObject *m, *d;
29567 int i;
29568 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29569 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29570 d = PyModule_GetDict(m);
29571
29572 if (!typeinit) {
29573 for (i = 0; swig_types_initial[i]; i++) {
29574 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29575 }
29576 typeinit = 1;
29577 }
29578 SWIG_InstallConstants(d,swig_const_table);
29579
29580 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29581 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29582 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29583 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29584 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29585 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29586 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29587 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29588 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29589 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29590 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29591 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29592 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29593 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29594 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29595 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29596 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29597 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29598 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29599 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29600 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29601 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29602 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29603 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29604 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29605 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29606 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29607 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29608 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29609 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29610 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29611 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29612 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29613 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29614 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29615 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29616 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29617 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29618 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29619 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29620 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29621 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29622 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29623 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29624 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29625 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29626 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29627 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29628 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29629 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29630 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29631 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29632 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29633 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29634 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29635 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29636 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29637 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29638 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29639 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29640 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29641 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29642 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29643 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29644 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29645 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29646 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29647 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29648 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29649 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29650 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29651 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29652 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29653 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29654 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29655 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29656 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29657 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29658 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29659 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29660 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29661 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29662 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29663 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29664 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29665 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29666 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29667 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29668 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29669 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29670 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
29671 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29672 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29673 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29674 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29675 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29676 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29677 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29678 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
29679 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
29680 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29681 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29682 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29683 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29684 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29685 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29686 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29687 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29688 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29689 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29690 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29691 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29692 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29693 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29694 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29695 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29696 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29697 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29698 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29699 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29700 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29701 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29702 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29703 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29704 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29705 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29706 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29707 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29708 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29709 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29710 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29711 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29712 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29713 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29714 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29715 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29716 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29717 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29718 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29719 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29720 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29721 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29722 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29723 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29724 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
29725 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
29726 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29727 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29728 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29729 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
29730
29731 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29732
29733 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29734 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29735 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29736 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29737 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29738 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29739 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
29740 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29741 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29742 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29743 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
29744 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29745 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29746 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29747 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29748 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29749 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29750 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29751 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
29752 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29753 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29754 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29755 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29756 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29757 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29758 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
29759 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29760 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29761 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29762 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29763 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29764 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
29765 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
29766 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
29767 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
29768 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
29769 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
29770 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
29771 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
29772 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
29773 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
29774 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
29775 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
29776 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
29777 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
29778 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
29779 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
29780 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
29781 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
29782 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
29783 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
29784 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
29785 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
29786 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
29787 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
29788 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
29789 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
29790 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
29791
29792 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29793
29794 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
29795 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
29796 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
29797 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
29798 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
29799 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
29800 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
29801 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
29802 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
29803 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
29804 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
29805 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
29806 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
29807 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
29808 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
29809 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
29810 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
29811 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
29812 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
29813 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
29814 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
29815 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
29816 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
29817 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
29818 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
29819 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
29820 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
29821 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
29822 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
29823 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
29824 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
29825 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
29826 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
29827 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
29828 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
29829 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
29830 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
29831 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
29832 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
29833 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
29834 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
29835 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
29836 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
29837 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
29838 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
29839 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
29840 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
29841 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
29842 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
29843 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
29844 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
29845 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
29846 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
29847 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
29848 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
29849 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
29850 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
29851 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
29852 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
29853 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
29854 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
29855 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
29856 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
29857 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
29858 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
29859 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
29860 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
29861 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
29862 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
29863 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
29864 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
29865 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
29866 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
29867 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
29868 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
29869 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
29870 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
29871 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
29872 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
29873 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
29874 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
29875 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
29876 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
29877 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
29878 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
29879 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
29880 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
29881 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
29882 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
29883 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
29884 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
29885 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
29886 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
29887 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
29888 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
29889 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
29890 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
29891 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
29892 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
29893 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
29894 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
29895 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
29896 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
29897 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
29898 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
29899 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
29900 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
29901 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
29902 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
29903 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
29904 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
29905 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
29906 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
29907 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
29908 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
29909 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
29910 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
29911 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
29912 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
29913 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
29914 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
29915 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
29916 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
29917 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
29918 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
29919 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
29920 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
29921 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
29922 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
29923 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
29924 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
29925 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
29926 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
29927 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
29928 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
29929 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
29930 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
29931 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
29932 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
29933 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
29934 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
29935 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
29936 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
29937 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
29938 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
29939 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
29940 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
29941 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
29942 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
29943 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
29944 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
29945 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
29946 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
29947 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
29948 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
29949 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
29950 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
29951 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
29952 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
29953 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
29954 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
29955 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
29956 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
29957 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
29958 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
29959 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
29960 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
29961 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
29962 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
29963 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
29964 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
29965 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
29966 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
29967 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
29968 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
29969 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
29970 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
29971 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
29972 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
29973 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
29974 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
29975 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
29976 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
29977 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
29978 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
29979 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
29980 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
29981 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
29982 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
29983 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
29984 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
29985 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
29986 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
29987 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
29988 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
29989 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
29990 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
29991 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
29992 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
29993 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
29994
29995 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29996 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29997 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29998 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29999
30000 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
30001 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
30002 }
30003