]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/misc_wrap.cpp
Forward declare wxPyScrolledWindow
[wxWidgets.git] / wxPython / src / msw / misc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #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
866 #include <wx/mimetype.h>
867
868 PyObject *wxFileType_GetMimeType(wxFileType *self){
869 wxString str;
870 if (self->GetMimeType(&str))
871 return wx2PyString(str);
872 else
873 RETURN_NONE();
874 }
875 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
876 wxArrayString arr;
877 if (self->GetMimeTypes(arr))
878 return wxArrayString2PyList_helper(arr);
879 else
880 RETURN_NONE();
881 }
882 PyObject *wxFileType_GetExtensions(wxFileType *self){
883 wxArrayString arr;
884 if (self->GetExtensions(arr))
885 return wxArrayString2PyList_helper(arr);
886 else
887 RETURN_NONE();
888 }
889 wxIcon *wxFileType_GetIcon(wxFileType *self){
890 wxIconLocation loc;
891 if (self->GetIcon(&loc))
892 return new wxIcon(loc);
893 else
894 return NULL;
895 }
896 PyObject *wxFileType_GetIconInfo(wxFileType *self){
897 wxIconLocation loc;
898 if (self->GetIcon(&loc)) {
899 wxString iconFile = loc.GetFileName();
900 int iconIndex = -1;
901
902 iconIndex = loc.GetIndex();
903
904 // Make a tuple and put the values in it
905 bool blocked = wxPyBeginBlockThreads();
906 PyObject* tuple = PyTuple_New(3);
907 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
908 wxT("wxIcon"), True));
909 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
910 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
911 wxPyEndBlockThreads(blocked);
912 return tuple;
913 }
914 else
915 RETURN_NONE();
916 }
917 PyObject *wxFileType_GetDescription(wxFileType *self){
918 wxString str;
919 if (self->GetDescription(&str))
920 return wx2PyString(str);
921 else
922 RETURN_NONE();
923 }
924 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
925 wxString str;
926 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
927 return wx2PyString(str);
928 else
929 RETURN_NONE();
930 }
931 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
932 wxString str;
933 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
934 return wx2PyString(str);
935 else
936 RETURN_NONE();
937 }
938 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
939 wxArrayString verbs;
940 wxArrayString commands;
941 if (self->GetAllCommands(&verbs, &commands,
942 wxFileType::MessageParameters(filename, mimetype))) {
943 bool blocked = wxPyBeginBlockThreads();
944 PyObject* tuple = PyTuple_New(2);
945 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
946 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
947 wxPyEndBlockThreads(blocked);
948 return tuple;
949 }
950 else
951 RETURN_NONE();
952 }
953 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
954 return wxFileType::ExpandCommand(command,
955 wxFileType::MessageParameters(filename, mimetype));
956 }
957 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
958 wxArrayString arr;
959 self->EnumAllFileTypes(arr);
960 return wxArrayString2PyList_helper(arr);
961 }
962
963 #include <wx/artprov.h>
964
965 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
966 static const wxString wxPyART_MENU(wxART_MENU);
967 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
968 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
969 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
970 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
971 static const wxString wxPyART_OTHER(wxART_OTHER);
972 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
973 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
974 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
975 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
976 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
977 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
978 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
979 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
980 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
981 static const wxString wxPyART_GO_UP(wxART_GO_UP);
982 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
983 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
984 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
985 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
986 static const wxString wxPyART_PRINT(wxART_PRINT);
987 static const wxString wxPyART_HELP(wxART_HELP);
988 static const wxString wxPyART_TIP(wxART_TIP);
989 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
990 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
991 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
992 static const wxString wxPyART_FOLDER(wxART_FOLDER);
993 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
994 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
995 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
996 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
997 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
998 static const wxString wxPyART_ERROR(wxART_ERROR);
999 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1000 static const wxString wxPyART_WARNING(wxART_WARNING);
1001 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1002 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1003 // Python aware wxArtProvider
1004 class wxPyArtProvider : public wxArtProvider {
1005 public:
1006
1007 virtual wxBitmap CreateBitmap(const wxArtID& id,
1008 const wxArtClient& client,
1009 const wxSize& size) {
1010 wxBitmap rval = wxNullBitmap;
1011 bool blocked = wxPyBeginBlockThreads();
1012 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1013 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1014 PyObject* ro;
1015 wxBitmap* ptr;
1016 PyObject* s1, *s2;
1017 s1 = wx2PyString(id);
1018 s2 = wx2PyString(client);
1019 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1020 Py_DECREF(so);
1021 Py_DECREF(s1);
1022 Py_DECREF(s2);
1023 if (ro) {
1024 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1025 rval = *ptr;
1026 Py_DECREF(ro);
1027 }
1028 }
1029 wxPyEndBlockThreads(blocked);
1030 return rval;
1031 }
1032
1033 PYPRIVATE;
1034 };
1035
1036 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
1037
1038
1039
1040 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1041 PyObject* ret = PyTuple_New(3);
1042 if (ret) {
1043 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1044 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1045 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1046 }
1047 return ret;
1048 }
1049
1050 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1051 bool cont;
1052 long index = 0;
1053 wxString value;
1054
1055 cont = self->GetFirstGroup(value, index);
1056 return __EnumerationHelper(cont, value, index);
1057 }
1058 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1059 bool cont;
1060 wxString value;
1061
1062 cont = self->GetNextGroup(value, index);
1063 return __EnumerationHelper(cont, value, index);
1064 }
1065 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1066 bool cont;
1067 long index = 0;
1068 wxString value;
1069
1070 cont = self->GetFirstEntry(value, index);
1071 return __EnumerationHelper(cont, value, index);
1072 }
1073 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1074 bool cont;
1075 wxString value;
1076
1077 cont = self->GetNextEntry(value, index);
1078 return __EnumerationHelper(cont, value, index);
1079 }
1080 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1081 long rv;
1082 self->Read(key, &rv, defaultVal);
1083 return rv;
1084 }
1085
1086 SWIGSTATICINLINE(double)
1087 SWIG_AsDouble(PyObject *obj)
1088 {
1089 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
1090 #if HAVE_LONG_LONG
1091 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
1092 #else
1093 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
1094 #endif
1095 if (PyErr_Occurred()) {
1096 PyErr_Clear();
1097 PyErr_SetString(PyExc_TypeError, "a double is expected");
1098 }
1099 return val;
1100 }
1101
1102
1103 SWIGSTATICINLINE(int)
1104 SWIG_CheckDouble(PyObject* obj)
1105 {
1106 SWIG_AsDouble(obj);
1107 if (PyErr_Occurred()) {
1108 PyErr_Clear();
1109 return 0;
1110 } else {
1111 return 1;
1112 }
1113 }
1114
1115 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1116 double rv;
1117 self->Read(key, &rv, defaultVal);
1118 return rv;
1119 }
1120 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1121 bool rv;
1122 self->Read(key, &rv, defaultVal);
1123 return rv;
1124 }
1125
1126 #include <wx/datetime.h>
1127
1128
1129 static const wxString wxPyDateFormatStr(wxT("%c"));
1130 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1131
1132 #define LOCAL_TZ wxDateTime::Local
1133
1134
1135 #if UINT_MAX < LONG_MAX
1136 #define SWIG_FromUnsignedInt SWIG_FromLong
1137 #else
1138 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1139 #endif
1140
1141 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1142 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1143 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1144 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1145 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
1146 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self < *other) : False; }
1147 bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){ return other ? (*self <= *other) : False; }
1148 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self > *other) : True; }
1149 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){ return other ? (*self >= *other) : True; }
1150 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){ return other ? (*self == *other) : False; }
1151 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){ return other ? (*self != *other) : True; }
1152 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1153 const wxChar* rv;
1154 const wxChar* _date = date;
1155 rv = self->ParseRfc822Date(_date);
1156 if (rv == NULL) return -1;
1157 return rv - _date;
1158 }
1159 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1160 const wxChar* rv;
1161 const wxChar* _date = date;
1162 rv = self->ParseFormat(_date, format, dateDef);
1163 if (rv == NULL) return -1;
1164 return rv - _date;
1165 }
1166 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1167 const wxChar* rv;
1168 const wxChar* _datetime = datetime;
1169 rv = self->ParseDateTime(_datetime);
1170 if (rv == NULL) return -1;
1171 return rv - _datetime;
1172 }
1173 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1174 const wxChar* rv;
1175 const wxChar* _date = date;
1176 rv = self->ParseDate(_date);
1177 if (rv == NULL) return -1;
1178 return rv - _date;
1179 }
1180 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1181 const wxChar* rv;
1182 const wxChar* _time = time;
1183 rv = self->ParseTime(_time);
1184 if (rv == NULL) return -1;
1185 return rv - _time;
1186 }
1187 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1188 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1189 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1190 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1191 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1192 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1193 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1194 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1195 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1196 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
1197 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1198 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1199 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1200 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1201 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1202 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
1203
1204 #include <wx/dataobj.h>
1205
1206 // Create a new class for wxPython to use
1207 class wxPyDataObjectSimple : public wxDataObjectSimple {
1208 public:
1209 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1210 : wxDataObjectSimple(format) {}
1211
1212 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1213 bool GetDataHere(void *buf) const;
1214 bool SetData(size_t len, const void *buf) const;
1215 PYPRIVATE;
1216 };
1217
1218 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1219
1220 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1221 // We need to get the data for this object and write it to buf. I think
1222 // the best way to do this for wxPython is to have the Python method
1223 // return either a string or None and then act appropriately with the
1224 // C++ version.
1225
1226 bool rval = False;
1227 bool blocked = wxPyBeginBlockThreads();
1228 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1229 PyObject* ro;
1230 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1231 if (ro) {
1232 rval = (ro != Py_None && PyString_Check(ro));
1233 if (rval)
1234 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1235 Py_DECREF(ro);
1236 }
1237 }
1238 wxPyEndBlockThreads(blocked);
1239 return rval;
1240 }
1241
1242 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1243 // For this one we simply need to make a string from buf and len
1244 // and send it to the Python method.
1245 bool rval = False;
1246 bool blocked = wxPyBeginBlockThreads();
1247 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1248 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1249 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1250 Py_DECREF(data);
1251 }
1252 wxPyEndBlockThreads(blocked);
1253 return rval;
1254 }
1255
1256 // Create a new class for wxPython to use
1257 class wxPyTextDataObject : public wxTextDataObject {
1258 public:
1259 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1260 : wxTextDataObject(text) {}
1261
1262 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1263 DEC_PYCALLBACK_STRING__const(GetText);
1264 DEC_PYCALLBACK__STRING(SetText);
1265 PYPRIVATE;
1266 };
1267
1268 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1269 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1270 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1271
1272
1273 // Create a new class for wxPython to use
1274 class wxPyBitmapDataObject : public wxBitmapDataObject {
1275 public:
1276 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1277 : wxBitmapDataObject(bitmap) {}
1278
1279 wxBitmap GetBitmap() const;
1280 void SetBitmap(const wxBitmap& bitmap);
1281 PYPRIVATE;
1282 };
1283
1284 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1285 wxBitmap* rval = &wxNullBitmap;
1286 bool blocked = wxPyBeginBlockThreads();
1287 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1288 PyObject* ro;
1289 wxBitmap* ptr;
1290 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1291 if (ro) {
1292 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1293 rval = ptr;
1294 Py_DECREF(ro);
1295 }
1296 }
1297 wxPyEndBlockThreads(blocked);
1298 return *rval;
1299 }
1300
1301 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1302 bool blocked = wxPyBeginBlockThreads();
1303 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1304 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1305 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1306 Py_DECREF(bo);
1307 }
1308 wxPyEndBlockThreads(blocked);
1309 }
1310
1311 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1312 if (PyString_Check(data)) {
1313 // for Python we just call SetData here since we always need it to make a copy.
1314 self->SetData(PyString_Size(data), PyString_AsString(data));
1315 }
1316 else {
1317 // raise a TypeError if not a string
1318 PyErr_SetString(PyExc_TypeError, "String expected.");
1319 }
1320 }
1321 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1322 if (PyString_Check(data)) {
1323 return self->SetData(PyString_Size(data), PyString_AsString(data));
1324 }
1325 else {
1326 // raise a TypeError if not a string
1327 PyErr_SetString(PyExc_TypeError, "String expected.");
1328 return False;
1329 }
1330 }
1331 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1332 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1333 }
1334
1335 #include <wx/metafile.h>
1336
1337
1338 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1339
1340
1341 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1342 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1343 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1344 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1345 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1346
1347
1348 class wxPyTextDropTarget : public wxTextDropTarget {
1349 public:
1350 wxPyTextDropTarget() {}
1351
1352 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1353
1354 DEC_PYCALLBACK__(OnLeave);
1355 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1356 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1357 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1358 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1359
1360 PYPRIVATE;
1361 };
1362
1363 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1364 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1365 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1366 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1367 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1368 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1369
1370
1371
1372 class wxPyFileDropTarget : public wxFileDropTarget {
1373 public:
1374 wxPyFileDropTarget() {}
1375
1376 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1377
1378 DEC_PYCALLBACK__(OnLeave);
1379 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1380 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1381 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1382 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1383
1384 PYPRIVATE;
1385 };
1386
1387 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1388 const wxArrayString& filenames) {
1389 bool rval = False;
1390 bool blocked = wxPyBeginBlockThreads();
1391 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1392 PyObject* list = wxArrayString2PyList_helper(filenames);
1393 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1394 Py_DECREF(list);
1395 }
1396 wxPyEndBlockThreads(blocked);
1397 return rval;
1398 }
1399
1400
1401
1402 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1403 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1404 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1405 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1406 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1407
1408
1409
1410
1411 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1412
1413 #include "wx/display.h"
1414
1415 bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
1416 bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
1417 PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1418 PyObject* pyList = NULL;
1419 wxArrayVideoModes arr = self->GetModes(mode);
1420 bool blocked = wxPyBeginBlockThreads();
1421 pyList = PyList_New(0);
1422 for (int i=0; i < arr.GetCount(); i++) {
1423 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1424 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1425 PyList_Append(pyList, pyObj);
1426 }
1427 wxPyEndBlockThreads(blocked);
1428 return pyList;
1429 }
1430 #ifdef __cplusplus
1431 extern "C" {
1432 #endif
1433 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1434 PyObject *resultobj;
1435 int arg1 ;
1436 wxColour result;
1437 PyObject * obj0 = 0 ;
1438 char *kwnames[] = {
1439 (char *) "index", NULL
1440 };
1441
1442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1443 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1444 if (PyErr_Occurred()) SWIG_fail;
1445 {
1446 PyThreadState* __tstate = wxPyBeginAllowThreads();
1447 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1448
1449 wxPyEndAllowThreads(__tstate);
1450 if (PyErr_Occurred()) SWIG_fail;
1451 }
1452 {
1453 wxColour * resultptr;
1454 resultptr = new wxColour((wxColour &) result);
1455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1456 }
1457 return resultobj;
1458 fail:
1459 return NULL;
1460 }
1461
1462
1463 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1464 PyObject *resultobj;
1465 int arg1 ;
1466 wxFont result;
1467 PyObject * obj0 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "index", NULL
1470 };
1471
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1473 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1474 if (PyErr_Occurred()) SWIG_fail;
1475 {
1476 PyThreadState* __tstate = wxPyBeginAllowThreads();
1477 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1478
1479 wxPyEndAllowThreads(__tstate);
1480 if (PyErr_Occurred()) SWIG_fail;
1481 }
1482 {
1483 wxFont * resultptr;
1484 resultptr = new wxFont((wxFont &) result);
1485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1486 }
1487 return resultobj;
1488 fail:
1489 return NULL;
1490 }
1491
1492
1493 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1494 PyObject *resultobj;
1495 int arg1 ;
1496 int result;
1497 PyObject * obj0 = 0 ;
1498 char *kwnames[] = {
1499 (char *) "index", NULL
1500 };
1501
1502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1503 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1504 if (PyErr_Occurred()) SWIG_fail;
1505 {
1506 PyThreadState* __tstate = wxPyBeginAllowThreads();
1507 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1508
1509 wxPyEndAllowThreads(__tstate);
1510 if (PyErr_Occurred()) SWIG_fail;
1511 }
1512 resultobj = SWIG_FromInt((int)result);
1513 return resultobj;
1514 fail:
1515 return NULL;
1516 }
1517
1518
1519 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1520 PyObject *resultobj;
1521 int arg1 ;
1522 bool result;
1523 PyObject * obj0 = 0 ;
1524 char *kwnames[] = {
1525 (char *) "index", NULL
1526 };
1527
1528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1529 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1530 if (PyErr_Occurred()) SWIG_fail;
1531 {
1532 PyThreadState* __tstate = wxPyBeginAllowThreads();
1533 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1534
1535 wxPyEndAllowThreads(__tstate);
1536 if (PyErr_Occurred()) SWIG_fail;
1537 }
1538 {
1539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1540 }
1541 return resultobj;
1542 fail:
1543 return NULL;
1544 }
1545
1546
1547 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject *resultobj;
1549 int result;
1550 char *kwnames[] = {
1551 NULL
1552 };
1553
1554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1555 {
1556 PyThreadState* __tstate = wxPyBeginAllowThreads();
1557 result = (int)wxSystemSettings::GetScreenType();
1558
1559 wxPyEndAllowThreads(__tstate);
1560 if (PyErr_Occurred()) SWIG_fail;
1561 }
1562 resultobj = SWIG_FromInt((int)result);
1563 return resultobj;
1564 fail:
1565 return NULL;
1566 }
1567
1568
1569 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1570 PyObject *resultobj;
1571 int arg1 ;
1572 PyObject * obj0 = 0 ;
1573 char *kwnames[] = {
1574 (char *) "screen", NULL
1575 };
1576
1577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1578 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1579 if (PyErr_Occurred()) SWIG_fail;
1580 {
1581 PyThreadState* __tstate = wxPyBeginAllowThreads();
1582 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1583
1584 wxPyEndAllowThreads(__tstate);
1585 if (PyErr_Occurred()) SWIG_fail;
1586 }
1587 Py_INCREF(Py_None); resultobj = Py_None;
1588 return resultobj;
1589 fail:
1590 return NULL;
1591 }
1592
1593
1594 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1595 PyObject *obj;
1596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1597 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1598 Py_INCREF(obj);
1599 return Py_BuildValue((char *)"");
1600 }
1601 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1602 PyObject *resultobj;
1603 wxSystemOptions *result;
1604 char *kwnames[] = {
1605 NULL
1606 };
1607
1608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1609 {
1610 PyThreadState* __tstate = wxPyBeginAllowThreads();
1611 result = (wxSystemOptions *)new wxSystemOptions();
1612
1613 wxPyEndAllowThreads(__tstate);
1614 if (PyErr_Occurred()) SWIG_fail;
1615 }
1616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1617 return resultobj;
1618 fail:
1619 return NULL;
1620 }
1621
1622
1623 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1624 PyObject *resultobj;
1625 wxString *arg1 = 0 ;
1626 wxString *arg2 = 0 ;
1627 bool temp1 = False ;
1628 bool temp2 = False ;
1629 PyObject * obj0 = 0 ;
1630 PyObject * obj1 = 0 ;
1631 char *kwnames[] = {
1632 (char *) "name",(char *) "value", NULL
1633 };
1634
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1636 {
1637 arg1 = wxString_in_helper(obj0);
1638 if (arg1 == NULL) SWIG_fail;
1639 temp1 = True;
1640 }
1641 {
1642 arg2 = wxString_in_helper(obj1);
1643 if (arg2 == NULL) SWIG_fail;
1644 temp2 = True;
1645 }
1646 {
1647 PyThreadState* __tstate = wxPyBeginAllowThreads();
1648 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1649
1650 wxPyEndAllowThreads(__tstate);
1651 if (PyErr_Occurred()) SWIG_fail;
1652 }
1653 Py_INCREF(Py_None); resultobj = Py_None;
1654 {
1655 if (temp1)
1656 delete arg1;
1657 }
1658 {
1659 if (temp2)
1660 delete arg2;
1661 }
1662 return resultobj;
1663 fail:
1664 {
1665 if (temp1)
1666 delete arg1;
1667 }
1668 {
1669 if (temp2)
1670 delete arg2;
1671 }
1672 return NULL;
1673 }
1674
1675
1676 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1677 PyObject *resultobj;
1678 wxString *arg1 = 0 ;
1679 int arg2 ;
1680 bool temp1 = False ;
1681 PyObject * obj0 = 0 ;
1682 PyObject * obj1 = 0 ;
1683 char *kwnames[] = {
1684 (char *) "name",(char *) "value", NULL
1685 };
1686
1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1688 {
1689 arg1 = wxString_in_helper(obj0);
1690 if (arg1 == NULL) SWIG_fail;
1691 temp1 = True;
1692 }
1693 arg2 = (int) SWIG_AsInt(obj1);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 {
1696 PyThreadState* __tstate = wxPyBeginAllowThreads();
1697 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1698
1699 wxPyEndAllowThreads(__tstate);
1700 if (PyErr_Occurred()) SWIG_fail;
1701 }
1702 Py_INCREF(Py_None); resultobj = Py_None;
1703 {
1704 if (temp1)
1705 delete arg1;
1706 }
1707 return resultobj;
1708 fail:
1709 {
1710 if (temp1)
1711 delete arg1;
1712 }
1713 return NULL;
1714 }
1715
1716
1717 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1718 PyObject *resultobj;
1719 wxString *arg1 = 0 ;
1720 wxString result;
1721 bool temp1 = False ;
1722 PyObject * obj0 = 0 ;
1723 char *kwnames[] = {
1724 (char *) "name", NULL
1725 };
1726
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1728 {
1729 arg1 = wxString_in_helper(obj0);
1730 if (arg1 == NULL) SWIG_fail;
1731 temp1 = True;
1732 }
1733 {
1734 PyThreadState* __tstate = wxPyBeginAllowThreads();
1735 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1736
1737 wxPyEndAllowThreads(__tstate);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 }
1740 {
1741 #if wxUSE_UNICODE
1742 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1743 #else
1744 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1745 #endif
1746 }
1747 {
1748 if (temp1)
1749 delete arg1;
1750 }
1751 return resultobj;
1752 fail:
1753 {
1754 if (temp1)
1755 delete arg1;
1756 }
1757 return NULL;
1758 }
1759
1760
1761 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1762 PyObject *resultobj;
1763 wxString *arg1 = 0 ;
1764 int result;
1765 bool temp1 = False ;
1766 PyObject * obj0 = 0 ;
1767 char *kwnames[] = {
1768 (char *) "name", NULL
1769 };
1770
1771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1772 {
1773 arg1 = wxString_in_helper(obj0);
1774 if (arg1 == NULL) SWIG_fail;
1775 temp1 = True;
1776 }
1777 {
1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
1779 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1780
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 }
1784 resultobj = SWIG_FromInt((int)result);
1785 {
1786 if (temp1)
1787 delete arg1;
1788 }
1789 return resultobj;
1790 fail:
1791 {
1792 if (temp1)
1793 delete arg1;
1794 }
1795 return NULL;
1796 }
1797
1798
1799 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1800 PyObject *resultobj;
1801 wxString *arg1 = 0 ;
1802 bool result;
1803 bool temp1 = False ;
1804 PyObject * obj0 = 0 ;
1805 char *kwnames[] = {
1806 (char *) "name", NULL
1807 };
1808
1809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1810 {
1811 arg1 = wxString_in_helper(obj0);
1812 if (arg1 == NULL) SWIG_fail;
1813 temp1 = True;
1814 }
1815 {
1816 PyThreadState* __tstate = wxPyBeginAllowThreads();
1817 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1818
1819 wxPyEndAllowThreads(__tstate);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 }
1822 {
1823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1824 }
1825 {
1826 if (temp1)
1827 delete arg1;
1828 }
1829 return resultobj;
1830 fail:
1831 {
1832 if (temp1)
1833 delete arg1;
1834 }
1835 return NULL;
1836 }
1837
1838
1839 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1840 PyObject *obj;
1841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1842 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1843 Py_INCREF(obj);
1844 return Py_BuildValue((char *)"");
1845 }
1846 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1847 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1848 return 1;
1849 }
1850
1851
1852 static PyObject *_wrap_FileSelectorPromptStr_get() {
1853 PyObject *pyobj;
1854
1855 {
1856 #if wxUSE_UNICODE
1857 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1858 #else
1859 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1860 #endif
1861 }
1862 return pyobj;
1863 }
1864
1865
1866 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1867 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1868 return 1;
1869 }
1870
1871
1872 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1873 PyObject *pyobj;
1874
1875 {
1876 #if wxUSE_UNICODE
1877 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1878 #else
1879 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1880 #endif
1881 }
1882 return pyobj;
1883 }
1884
1885
1886 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1887 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1888 return 1;
1889 }
1890
1891
1892 static PyObject *_wrap_DirSelectorPromptStr_get() {
1893 PyObject *pyobj;
1894
1895 {
1896 #if wxUSE_UNICODE
1897 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1898 #else
1899 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1900 #endif
1901 }
1902 return pyobj;
1903 }
1904
1905
1906 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject *resultobj;
1908 long result;
1909 char *kwnames[] = {
1910 NULL
1911 };
1912
1913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1914 {
1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
1916 result = (long)wxNewId();
1917
1918 wxPyEndAllowThreads(__tstate);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
1921 resultobj = SWIG_FromLong((long)result);
1922 return resultobj;
1923 fail:
1924 return NULL;
1925 }
1926
1927
1928 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 long arg1 ;
1931 PyObject * obj0 = 0 ;
1932 char *kwnames[] = {
1933 (char *) "id", NULL
1934 };
1935
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
1937 arg1 = (long) SWIG_AsLong(obj0);
1938 if (PyErr_Occurred()) SWIG_fail;
1939 {
1940 PyThreadState* __tstate = wxPyBeginAllowThreads();
1941 wxRegisterId(arg1);
1942
1943 wxPyEndAllowThreads(__tstate);
1944 if (PyErr_Occurred()) SWIG_fail;
1945 }
1946 Py_INCREF(Py_None); resultobj = Py_None;
1947 return resultobj;
1948 fail:
1949 return NULL;
1950 }
1951
1952
1953 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1954 PyObject *resultobj;
1955 long result;
1956 char *kwnames[] = {
1957 NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1961 {
1962 PyThreadState* __tstate = wxPyBeginAllowThreads();
1963 result = (long)wxGetCurrentId();
1964
1965 wxPyEndAllowThreads(__tstate);
1966 if (PyErr_Occurred()) SWIG_fail;
1967 }
1968 resultobj = SWIG_FromLong((long)result);
1969 return resultobj;
1970 fail:
1971 return NULL;
1972 }
1973
1974
1975 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1976 PyObject *resultobj;
1977 char *kwnames[] = {
1978 NULL
1979 };
1980
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1982 {
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 wxBell();
1985
1986 wxPyEndAllowThreads(__tstate);
1987 if (PyErr_Occurred()) SWIG_fail;
1988 }
1989 Py_INCREF(Py_None); resultobj = Py_None;
1990 return resultobj;
1991 fail:
1992 return NULL;
1993 }
1994
1995
1996 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject *resultobj;
1998 char *kwnames[] = {
1999 NULL
2000 };
2001
2002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2003 {
2004 PyThreadState* __tstate = wxPyBeginAllowThreads();
2005 wxEndBusyCursor();
2006
2007 wxPyEndAllowThreads(__tstate);
2008 if (PyErr_Occurred()) SWIG_fail;
2009 }
2010 Py_INCREF(Py_None); resultobj = Py_None;
2011 return resultobj;
2012 fail:
2013 return NULL;
2014 }
2015
2016
2017 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2018 PyObject *resultobj;
2019 bool arg1 = (bool) True ;
2020 long result;
2021 PyObject * obj0 = 0 ;
2022 char *kwnames[] = {
2023 (char *) "resetTimer", NULL
2024 };
2025
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2027 if (obj0) {
2028 arg1 = (bool) SWIG_AsBool(obj0);
2029 if (PyErr_Occurred()) SWIG_fail;
2030 }
2031 {
2032 PyThreadState* __tstate = wxPyBeginAllowThreads();
2033 result = (long)wxGetElapsedTime(arg1);
2034
2035 wxPyEndAllowThreads(__tstate);
2036 if (PyErr_Occurred()) SWIG_fail;
2037 }
2038 resultobj = SWIG_FromLong((long)result);
2039 return resultobj;
2040 fail:
2041 return NULL;
2042 }
2043
2044
2045 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2046 PyObject *resultobj;
2047 int *arg1 = (int *) 0 ;
2048 int *arg2 = (int *) 0 ;
2049 int temp1 ;
2050 int temp2 ;
2051 char *kwnames[] = {
2052 NULL
2053 };
2054
2055 arg1 = &temp1;
2056 arg2 = &temp2;
2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2058 {
2059 PyThreadState* __tstate = wxPyBeginAllowThreads();
2060 wxGetMousePosition(arg1,arg2);
2061
2062 wxPyEndAllowThreads(__tstate);
2063 if (PyErr_Occurred()) SWIG_fail;
2064 }
2065 Py_INCREF(Py_None); resultobj = Py_None;
2066 {
2067 PyObject *o = PyInt_FromLong((long) (*arg1));
2068 resultobj = t_output_helper(resultobj,o);
2069 }
2070 {
2071 PyObject *o = PyInt_FromLong((long) (*arg2));
2072 resultobj = t_output_helper(resultobj,o);
2073 }
2074 return resultobj;
2075 fail:
2076 return NULL;
2077 }
2078
2079
2080 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
2081 PyObject *resultobj;
2082 bool result;
2083 char *kwnames[] = {
2084 NULL
2085 };
2086
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2088 {
2089 PyThreadState* __tstate = wxPyBeginAllowThreads();
2090 result = (bool)wxIsBusy();
2091
2092 wxPyEndAllowThreads(__tstate);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 {
2096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2097 }
2098 return resultobj;
2099 fail:
2100 return NULL;
2101 }
2102
2103
2104 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
2105 PyObject *resultobj;
2106 wxString result;
2107 char *kwnames[] = {
2108 NULL
2109 };
2110
2111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2112 {
2113 PyThreadState* __tstate = wxPyBeginAllowThreads();
2114 result = wxNow();
2115
2116 wxPyEndAllowThreads(__tstate);
2117 if (PyErr_Occurred()) SWIG_fail;
2118 }
2119 {
2120 #if wxUSE_UNICODE
2121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2122 #else
2123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2124 #endif
2125 }
2126 return resultobj;
2127 fail:
2128 return NULL;
2129 }
2130
2131
2132 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
2133 PyObject *resultobj;
2134 wxString const &arg1_defvalue = wxPyEmptyString ;
2135 wxString *arg1 = (wxString *) &arg1_defvalue ;
2136 bool result;
2137 bool temp1 = False ;
2138 PyObject * obj0 = 0 ;
2139 char *kwnames[] = {
2140 (char *) "command", NULL
2141 };
2142
2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2144 if (obj0) {
2145 {
2146 arg1 = wxString_in_helper(obj0);
2147 if (arg1 == NULL) SWIG_fail;
2148 temp1 = True;
2149 }
2150 }
2151 {
2152 PyThreadState* __tstate = wxPyBeginAllowThreads();
2153 result = (bool)wxShell((wxString const &)*arg1);
2154
2155 wxPyEndAllowThreads(__tstate);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
2158 {
2159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2160 }
2161 {
2162 if (temp1)
2163 delete arg1;
2164 }
2165 return resultobj;
2166 fail:
2167 {
2168 if (temp1)
2169 delete arg1;
2170 }
2171 return NULL;
2172 }
2173
2174
2175 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2176 PyObject *resultobj;
2177 char *kwnames[] = {
2178 NULL
2179 };
2180
2181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 wxStartTimer();
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 }
2189 Py_INCREF(Py_None); resultobj = Py_None;
2190 return resultobj;
2191 fail:
2192 return NULL;
2193 }
2194
2195
2196 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 int *arg1 = (int *) 0 ;
2199 int *arg2 = (int *) 0 ;
2200 int result;
2201 int temp1 ;
2202 int temp2 ;
2203 char *kwnames[] = {
2204 NULL
2205 };
2206
2207 arg1 = &temp1;
2208 arg2 = &temp2;
2209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2210 {
2211 PyThreadState* __tstate = wxPyBeginAllowThreads();
2212 result = (int)wxGetOsVersion(arg1,arg2);
2213
2214 wxPyEndAllowThreads(__tstate);
2215 if (PyErr_Occurred()) SWIG_fail;
2216 }
2217 resultobj = SWIG_FromInt((int)result);
2218 {
2219 PyObject *o = PyInt_FromLong((long) (*arg1));
2220 resultobj = t_output_helper(resultobj,o);
2221 }
2222 {
2223 PyObject *o = PyInt_FromLong((long) (*arg2));
2224 resultobj = t_output_helper(resultobj,o);
2225 }
2226 return resultobj;
2227 fail:
2228 return NULL;
2229 }
2230
2231
2232 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2233 PyObject *resultobj;
2234 wxString result;
2235 char *kwnames[] = {
2236 NULL
2237 };
2238
2239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2240 {
2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
2242 result = wxGetOsDescription();
2243
2244 wxPyEndAllowThreads(__tstate);
2245 if (PyErr_Occurred()) SWIG_fail;
2246 }
2247 {
2248 #if wxUSE_UNICODE
2249 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2250 #else
2251 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2252 #endif
2253 }
2254 return resultobj;
2255 fail:
2256 return NULL;
2257 }
2258
2259
2260 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2261 PyObject *resultobj;
2262 long result;
2263 char *kwnames[] = {
2264 NULL
2265 };
2266
2267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2268 {
2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
2270 result = (long)wxGetFreeMemory();
2271
2272 wxPyEndAllowThreads(__tstate);
2273 if (PyErr_Occurred()) SWIG_fail;
2274 }
2275 resultobj = SWIG_FromLong((long)result);
2276 return resultobj;
2277 fail:
2278 return NULL;
2279 }
2280
2281
2282 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2283 PyObject *resultobj;
2284 int arg1 ;
2285 bool result;
2286 PyObject * obj0 = 0 ;
2287 char *kwnames[] = {
2288 (char *) "wFlags", NULL
2289 };
2290
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2292 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
2296 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 }
2301 {
2302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2303 }
2304 return resultobj;
2305 fail:
2306 return NULL;
2307 }
2308
2309
2310 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2311 PyObject *resultobj;
2312 int arg1 ;
2313 PyObject * obj0 = 0 ;
2314 char *kwnames[] = {
2315 (char *) "secs", NULL
2316 };
2317
2318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2319 arg1 = (int) SWIG_AsInt(obj0);
2320 if (PyErr_Occurred()) SWIG_fail;
2321 {
2322 PyThreadState* __tstate = wxPyBeginAllowThreads();
2323 wxSleep(arg1);
2324
2325 wxPyEndAllowThreads(__tstate);
2326 if (PyErr_Occurred()) SWIG_fail;
2327 }
2328 Py_INCREF(Py_None); resultobj = Py_None;
2329 return resultobj;
2330 fail:
2331 return NULL;
2332 }
2333
2334
2335 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2336 PyObject *resultobj;
2337 unsigned long arg1 ;
2338 PyObject * obj0 = 0 ;
2339 char *kwnames[] = {
2340 (char *) "milliseconds", NULL
2341 };
2342
2343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2344 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2345 if (PyErr_Occurred()) SWIG_fail;
2346 {
2347 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348 wxUsleep(arg1);
2349
2350 wxPyEndAllowThreads(__tstate);
2351 if (PyErr_Occurred()) SWIG_fail;
2352 }
2353 Py_INCREF(Py_None); resultobj = Py_None;
2354 return resultobj;
2355 fail:
2356 return NULL;
2357 }
2358
2359
2360 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2361 PyObject *resultobj;
2362 bool arg1 ;
2363 PyObject * obj0 = 0 ;
2364 char *kwnames[] = {
2365 (char *) "enable", NULL
2366 };
2367
2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2369 arg1 = (bool) SWIG_AsBool(obj0);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 {
2372 PyThreadState* __tstate = wxPyBeginAllowThreads();
2373 wxEnableTopLevelWindows(arg1);
2374
2375 wxPyEndAllowThreads(__tstate);
2376 if (PyErr_Occurred()) SWIG_fail;
2377 }
2378 Py_INCREF(Py_None); resultobj = Py_None;
2379 return resultobj;
2380 fail:
2381 return NULL;
2382 }
2383
2384
2385 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2386 PyObject *resultobj;
2387 wxString *arg1 = 0 ;
2388 wxString result;
2389 bool temp1 = False ;
2390 PyObject * obj0 = 0 ;
2391 char *kwnames[] = {
2392 (char *) "in", NULL
2393 };
2394
2395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2396 {
2397 arg1 = wxString_in_helper(obj0);
2398 if (arg1 == NULL) SWIG_fail;
2399 temp1 = True;
2400 }
2401 {
2402 PyThreadState* __tstate = wxPyBeginAllowThreads();
2403 result = wxStripMenuCodes((wxString const &)*arg1);
2404
2405 wxPyEndAllowThreads(__tstate);
2406 if (PyErr_Occurred()) SWIG_fail;
2407 }
2408 {
2409 #if wxUSE_UNICODE
2410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2411 #else
2412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2413 #endif
2414 }
2415 {
2416 if (temp1)
2417 delete arg1;
2418 }
2419 return resultobj;
2420 fail:
2421 {
2422 if (temp1)
2423 delete arg1;
2424 }
2425 return NULL;
2426 }
2427
2428
2429 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2430 PyObject *resultobj;
2431 wxString result;
2432 char *kwnames[] = {
2433 NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2437 {
2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
2439 result = wxGetEmailAddress();
2440
2441 wxPyEndAllowThreads(__tstate);
2442 if (PyErr_Occurred()) SWIG_fail;
2443 }
2444 {
2445 #if wxUSE_UNICODE
2446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2447 #else
2448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2449 #endif
2450 }
2451 return resultobj;
2452 fail:
2453 return NULL;
2454 }
2455
2456
2457 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2458 PyObject *resultobj;
2459 wxString result;
2460 char *kwnames[] = {
2461 NULL
2462 };
2463
2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 result = wxGetHostName();
2468
2469 wxPyEndAllowThreads(__tstate);
2470 if (PyErr_Occurred()) SWIG_fail;
2471 }
2472 {
2473 #if wxUSE_UNICODE
2474 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2475 #else
2476 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2477 #endif
2478 }
2479 return resultobj;
2480 fail:
2481 return NULL;
2482 }
2483
2484
2485 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject *resultobj;
2487 wxString result;
2488 char *kwnames[] = {
2489 NULL
2490 };
2491
2492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2493 {
2494 PyThreadState* __tstate = wxPyBeginAllowThreads();
2495 result = wxGetFullHostName();
2496
2497 wxPyEndAllowThreads(__tstate);
2498 if (PyErr_Occurred()) SWIG_fail;
2499 }
2500 {
2501 #if wxUSE_UNICODE
2502 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2503 #else
2504 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2505 #endif
2506 }
2507 return resultobj;
2508 fail:
2509 return NULL;
2510 }
2511
2512
2513 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2514 PyObject *resultobj;
2515 wxString result;
2516 char *kwnames[] = {
2517 NULL
2518 };
2519
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2521 {
2522 PyThreadState* __tstate = wxPyBeginAllowThreads();
2523 result = wxGetUserId();
2524
2525 wxPyEndAllowThreads(__tstate);
2526 if (PyErr_Occurred()) SWIG_fail;
2527 }
2528 {
2529 #if wxUSE_UNICODE
2530 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2531 #else
2532 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2533 #endif
2534 }
2535 return resultobj;
2536 fail:
2537 return NULL;
2538 }
2539
2540
2541 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2542 PyObject *resultobj;
2543 wxString result;
2544 char *kwnames[] = {
2545 NULL
2546 };
2547
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2549 {
2550 PyThreadState* __tstate = wxPyBeginAllowThreads();
2551 result = wxGetUserName();
2552
2553 wxPyEndAllowThreads(__tstate);
2554 if (PyErr_Occurred()) SWIG_fail;
2555 }
2556 {
2557 #if wxUSE_UNICODE
2558 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2559 #else
2560 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2561 #endif
2562 }
2563 return resultobj;
2564 fail:
2565 return NULL;
2566 }
2567
2568
2569 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2570 PyObject *resultobj;
2571 wxString result;
2572 char *kwnames[] = {
2573 NULL
2574 };
2575
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2577 {
2578 PyThreadState* __tstate = wxPyBeginAllowThreads();
2579 result = wxGetHomeDir();
2580
2581 wxPyEndAllowThreads(__tstate);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
2584 {
2585 #if wxUSE_UNICODE
2586 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2587 #else
2588 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2589 #endif
2590 }
2591 return resultobj;
2592 fail:
2593 return NULL;
2594 }
2595
2596
2597 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2598 PyObject *resultobj;
2599 wxString const &arg1_defvalue = wxPyEmptyString ;
2600 wxString *arg1 = (wxString *) &arg1_defvalue ;
2601 wxString result;
2602 bool temp1 = False ;
2603 PyObject * obj0 = 0 ;
2604 char *kwnames[] = {
2605 (char *) "user", NULL
2606 };
2607
2608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2609 if (obj0) {
2610 {
2611 arg1 = wxString_in_helper(obj0);
2612 if (arg1 == NULL) SWIG_fail;
2613 temp1 = True;
2614 }
2615 }
2616 {
2617 PyThreadState* __tstate = wxPyBeginAllowThreads();
2618 result = wxGetUserHome((wxString const &)*arg1);
2619
2620 wxPyEndAllowThreads(__tstate);
2621 if (PyErr_Occurred()) SWIG_fail;
2622 }
2623 {
2624 #if wxUSE_UNICODE
2625 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2626 #else
2627 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2628 #endif
2629 }
2630 {
2631 if (temp1)
2632 delete arg1;
2633 }
2634 return resultobj;
2635 fail:
2636 {
2637 if (temp1)
2638 delete arg1;
2639 }
2640 return NULL;
2641 }
2642
2643
2644 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2645 PyObject *resultobj;
2646 unsigned long result;
2647 char *kwnames[] = {
2648 NULL
2649 };
2650
2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2652 {
2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
2654 result = (unsigned long)wxGetProcessId();
2655
2656 wxPyEndAllowThreads(__tstate);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
2660 return resultobj;
2661 fail:
2662 return NULL;
2663 }
2664
2665
2666 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2667 PyObject *resultobj;
2668 char *kwnames[] = {
2669 NULL
2670 };
2671
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2673 {
2674 PyThreadState* __tstate = wxPyBeginAllowThreads();
2675 wxTrap();
2676
2677 wxPyEndAllowThreads(__tstate);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 }
2680 Py_INCREF(Py_None); resultobj = Py_None;
2681 return resultobj;
2682 fail:
2683 return NULL;
2684 }
2685
2686
2687 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2688 PyObject *resultobj;
2689 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2690 wxString *arg1 = (wxString *) &arg1_defvalue ;
2691 wxString const &arg2_defvalue = wxPyEmptyString ;
2692 wxString *arg2 = (wxString *) &arg2_defvalue ;
2693 wxString const &arg3_defvalue = wxPyEmptyString ;
2694 wxString *arg3 = (wxString *) &arg3_defvalue ;
2695 wxString const &arg4_defvalue = wxPyEmptyString ;
2696 wxString *arg4 = (wxString *) &arg4_defvalue ;
2697 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2698 wxString *arg5 = (wxString *) &arg5_defvalue ;
2699 int arg6 = (int) 0 ;
2700 wxWindow *arg7 = (wxWindow *) NULL ;
2701 int arg8 = (int) -1 ;
2702 int arg9 = (int) -1 ;
2703 wxString result;
2704 bool temp1 = False ;
2705 bool temp2 = False ;
2706 bool temp3 = False ;
2707 bool temp4 = False ;
2708 bool temp5 = False ;
2709 PyObject * obj0 = 0 ;
2710 PyObject * obj1 = 0 ;
2711 PyObject * obj2 = 0 ;
2712 PyObject * obj3 = 0 ;
2713 PyObject * obj4 = 0 ;
2714 PyObject * obj5 = 0 ;
2715 PyObject * obj6 = 0 ;
2716 PyObject * obj7 = 0 ;
2717 PyObject * obj8 = 0 ;
2718 char *kwnames[] = {
2719 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2720 };
2721
2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2723 if (obj0) {
2724 {
2725 arg1 = wxString_in_helper(obj0);
2726 if (arg1 == NULL) SWIG_fail;
2727 temp1 = True;
2728 }
2729 }
2730 if (obj1) {
2731 {
2732 arg2 = wxString_in_helper(obj1);
2733 if (arg2 == NULL) SWIG_fail;
2734 temp2 = True;
2735 }
2736 }
2737 if (obj2) {
2738 {
2739 arg3 = wxString_in_helper(obj2);
2740 if (arg3 == NULL) SWIG_fail;
2741 temp3 = True;
2742 }
2743 }
2744 if (obj3) {
2745 {
2746 arg4 = wxString_in_helper(obj3);
2747 if (arg4 == NULL) SWIG_fail;
2748 temp4 = True;
2749 }
2750 }
2751 if (obj4) {
2752 {
2753 arg5 = wxString_in_helper(obj4);
2754 if (arg5 == NULL) SWIG_fail;
2755 temp5 = True;
2756 }
2757 }
2758 if (obj5) {
2759 arg6 = (int) SWIG_AsInt(obj5);
2760 if (PyErr_Occurred()) SWIG_fail;
2761 }
2762 if (obj6) {
2763 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2765 }
2766 if (obj7) {
2767 arg8 = (int) SWIG_AsInt(obj7);
2768 if (PyErr_Occurred()) SWIG_fail;
2769 }
2770 if (obj8) {
2771 arg9 = (int) SWIG_AsInt(obj8);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 {
2775 PyThreadState* __tstate = wxPyBeginAllowThreads();
2776 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2777
2778 wxPyEndAllowThreads(__tstate);
2779 if (PyErr_Occurred()) SWIG_fail;
2780 }
2781 {
2782 #if wxUSE_UNICODE
2783 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2784 #else
2785 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2786 #endif
2787 }
2788 {
2789 if (temp1)
2790 delete arg1;
2791 }
2792 {
2793 if (temp2)
2794 delete arg2;
2795 }
2796 {
2797 if (temp3)
2798 delete arg3;
2799 }
2800 {
2801 if (temp4)
2802 delete arg4;
2803 }
2804 {
2805 if (temp5)
2806 delete arg5;
2807 }
2808 return resultobj;
2809 fail:
2810 {
2811 if (temp1)
2812 delete arg1;
2813 }
2814 {
2815 if (temp2)
2816 delete arg2;
2817 }
2818 {
2819 if (temp3)
2820 delete arg3;
2821 }
2822 {
2823 if (temp4)
2824 delete arg4;
2825 }
2826 {
2827 if (temp5)
2828 delete arg5;
2829 }
2830 return NULL;
2831 }
2832
2833
2834 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2835 PyObject *resultobj;
2836 wxString *arg1 = 0 ;
2837 wxString *arg2 = 0 ;
2838 wxString const &arg3_defvalue = wxPyEmptyString ;
2839 wxString *arg3 = (wxString *) &arg3_defvalue ;
2840 wxWindow *arg4 = (wxWindow *) NULL ;
2841 wxString result;
2842 bool temp1 = False ;
2843 bool temp2 = False ;
2844 bool temp3 = False ;
2845 PyObject * obj0 = 0 ;
2846 PyObject * obj1 = 0 ;
2847 PyObject * obj2 = 0 ;
2848 PyObject * obj3 = 0 ;
2849 char *kwnames[] = {
2850 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2851 };
2852
2853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2854 {
2855 arg1 = wxString_in_helper(obj0);
2856 if (arg1 == NULL) SWIG_fail;
2857 temp1 = True;
2858 }
2859 {
2860 arg2 = wxString_in_helper(obj1);
2861 if (arg2 == NULL) SWIG_fail;
2862 temp2 = True;
2863 }
2864 if (obj2) {
2865 {
2866 arg3 = wxString_in_helper(obj2);
2867 if (arg3 == NULL) SWIG_fail;
2868 temp3 = True;
2869 }
2870 }
2871 if (obj3) {
2872 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2874 }
2875 {
2876 PyThreadState* __tstate = wxPyBeginAllowThreads();
2877 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2878
2879 wxPyEndAllowThreads(__tstate);
2880 if (PyErr_Occurred()) SWIG_fail;
2881 }
2882 {
2883 #if wxUSE_UNICODE
2884 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2885 #else
2886 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2887 #endif
2888 }
2889 {
2890 if (temp1)
2891 delete arg1;
2892 }
2893 {
2894 if (temp2)
2895 delete arg2;
2896 }
2897 {
2898 if (temp3)
2899 delete arg3;
2900 }
2901 return resultobj;
2902 fail:
2903 {
2904 if (temp1)
2905 delete arg1;
2906 }
2907 {
2908 if (temp2)
2909 delete arg2;
2910 }
2911 {
2912 if (temp3)
2913 delete arg3;
2914 }
2915 return NULL;
2916 }
2917
2918
2919 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2920 PyObject *resultobj;
2921 wxString *arg1 = 0 ;
2922 wxString *arg2 = 0 ;
2923 wxString const &arg3_defvalue = wxPyEmptyString ;
2924 wxString *arg3 = (wxString *) &arg3_defvalue ;
2925 wxWindow *arg4 = (wxWindow *) NULL ;
2926 wxString result;
2927 bool temp1 = False ;
2928 bool temp2 = False ;
2929 bool temp3 = False ;
2930 PyObject * obj0 = 0 ;
2931 PyObject * obj1 = 0 ;
2932 PyObject * obj2 = 0 ;
2933 PyObject * obj3 = 0 ;
2934 char *kwnames[] = {
2935 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2936 };
2937
2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2939 {
2940 arg1 = wxString_in_helper(obj0);
2941 if (arg1 == NULL) SWIG_fail;
2942 temp1 = True;
2943 }
2944 {
2945 arg2 = wxString_in_helper(obj1);
2946 if (arg2 == NULL) SWIG_fail;
2947 temp2 = True;
2948 }
2949 if (obj2) {
2950 {
2951 arg3 = wxString_in_helper(obj2);
2952 if (arg3 == NULL) SWIG_fail;
2953 temp3 = True;
2954 }
2955 }
2956 if (obj3) {
2957 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2959 }
2960 {
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 }
2967 {
2968 #if wxUSE_UNICODE
2969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2970 #else
2971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2972 #endif
2973 }
2974 {
2975 if (temp1)
2976 delete arg1;
2977 }
2978 {
2979 if (temp2)
2980 delete arg2;
2981 }
2982 {
2983 if (temp3)
2984 delete arg3;
2985 }
2986 return resultobj;
2987 fail:
2988 {
2989 if (temp1)
2990 delete arg1;
2991 }
2992 {
2993 if (temp2)
2994 delete arg2;
2995 }
2996 {
2997 if (temp3)
2998 delete arg3;
2999 }
3000 return NULL;
3001 }
3002
3003
3004 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3005 PyObject *resultobj;
3006 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3007 wxString *arg1 = (wxString *) &arg1_defvalue ;
3008 wxString const &arg2_defvalue = wxPyEmptyString ;
3009 wxString *arg2 = (wxString *) &arg2_defvalue ;
3010 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3011 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3012 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3013 wxWindow *arg5 = (wxWindow *) NULL ;
3014 wxString result;
3015 bool temp1 = False ;
3016 bool temp2 = False ;
3017 wxPoint temp4 ;
3018 PyObject * obj0 = 0 ;
3019 PyObject * obj1 = 0 ;
3020 PyObject * obj2 = 0 ;
3021 PyObject * obj3 = 0 ;
3022 PyObject * obj4 = 0 ;
3023 char *kwnames[] = {
3024 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3025 };
3026
3027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3028 if (obj0) {
3029 {
3030 arg1 = wxString_in_helper(obj0);
3031 if (arg1 == NULL) SWIG_fail;
3032 temp1 = True;
3033 }
3034 }
3035 if (obj1) {
3036 {
3037 arg2 = wxString_in_helper(obj1);
3038 if (arg2 == NULL) SWIG_fail;
3039 temp2 = True;
3040 }
3041 }
3042 if (obj2) {
3043 arg3 = (long) SWIG_AsLong(obj2);
3044 if (PyErr_Occurred()) SWIG_fail;
3045 }
3046 if (obj3) {
3047 {
3048 arg4 = &temp4;
3049 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3050 }
3051 }
3052 if (obj4) {
3053 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3055 }
3056 {
3057 PyThreadState* __tstate = wxPyBeginAllowThreads();
3058 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3059
3060 wxPyEndAllowThreads(__tstate);
3061 if (PyErr_Occurred()) SWIG_fail;
3062 }
3063 {
3064 #if wxUSE_UNICODE
3065 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3066 #else
3067 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3068 #endif
3069 }
3070 {
3071 if (temp1)
3072 delete arg1;
3073 }
3074 {
3075 if (temp2)
3076 delete arg2;
3077 }
3078 return resultobj;
3079 fail:
3080 {
3081 if (temp1)
3082 delete arg1;
3083 }
3084 {
3085 if (temp2)
3086 delete arg2;
3087 }
3088 return NULL;
3089 }
3090
3091
3092 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3093 PyObject *resultobj;
3094 wxString *arg1 = 0 ;
3095 wxString const &arg2_defvalue = wxPyEmptyString ;
3096 wxString *arg2 = (wxString *) &arg2_defvalue ;
3097 wxString const &arg3_defvalue = wxPyEmptyString ;
3098 wxString *arg3 = (wxString *) &arg3_defvalue ;
3099 wxWindow *arg4 = (wxWindow *) NULL ;
3100 int arg5 = (int) -1 ;
3101 int arg6 = (int) -1 ;
3102 bool arg7 = (bool) True ;
3103 wxString result;
3104 bool temp1 = False ;
3105 bool temp2 = False ;
3106 bool temp3 = False ;
3107 PyObject * obj0 = 0 ;
3108 PyObject * obj1 = 0 ;
3109 PyObject * obj2 = 0 ;
3110 PyObject * obj3 = 0 ;
3111 PyObject * obj4 = 0 ;
3112 PyObject * obj5 = 0 ;
3113 PyObject * obj6 = 0 ;
3114 char *kwnames[] = {
3115 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3116 };
3117
3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3119 {
3120 arg1 = wxString_in_helper(obj0);
3121 if (arg1 == NULL) SWIG_fail;
3122 temp1 = True;
3123 }
3124 if (obj1) {
3125 {
3126 arg2 = wxString_in_helper(obj1);
3127 if (arg2 == NULL) SWIG_fail;
3128 temp2 = True;
3129 }
3130 }
3131 if (obj2) {
3132 {
3133 arg3 = wxString_in_helper(obj2);
3134 if (arg3 == NULL) SWIG_fail;
3135 temp3 = True;
3136 }
3137 }
3138 if (obj3) {
3139 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3141 }
3142 if (obj4) {
3143 arg5 = (int) SWIG_AsInt(obj4);
3144 if (PyErr_Occurred()) SWIG_fail;
3145 }
3146 if (obj5) {
3147 arg6 = (int) SWIG_AsInt(obj5);
3148 if (PyErr_Occurred()) SWIG_fail;
3149 }
3150 if (obj6) {
3151 arg7 = (bool) SWIG_AsBool(obj6);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 {
3155 PyThreadState* __tstate = wxPyBeginAllowThreads();
3156 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3157
3158 wxPyEndAllowThreads(__tstate);
3159 if (PyErr_Occurred()) SWIG_fail;
3160 }
3161 {
3162 #if wxUSE_UNICODE
3163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3164 #else
3165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3166 #endif
3167 }
3168 {
3169 if (temp1)
3170 delete arg1;
3171 }
3172 {
3173 if (temp2)
3174 delete arg2;
3175 }
3176 {
3177 if (temp3)
3178 delete arg3;
3179 }
3180 return resultobj;
3181 fail:
3182 {
3183 if (temp1)
3184 delete arg1;
3185 }
3186 {
3187 if (temp2)
3188 delete arg2;
3189 }
3190 {
3191 if (temp3)
3192 delete arg3;
3193 }
3194 return NULL;
3195 }
3196
3197
3198 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3199 PyObject *resultobj;
3200 wxString *arg1 = 0 ;
3201 wxString const &arg2_defvalue = wxPyEmptyString ;
3202 wxString *arg2 = (wxString *) &arg2_defvalue ;
3203 wxString const &arg3_defvalue = wxPyEmptyString ;
3204 wxString *arg3 = (wxString *) &arg3_defvalue ;
3205 wxWindow *arg4 = (wxWindow *) NULL ;
3206 wxString result;
3207 bool temp1 = False ;
3208 bool temp2 = False ;
3209 bool temp3 = False ;
3210 PyObject * obj0 = 0 ;
3211 PyObject * obj1 = 0 ;
3212 PyObject * obj2 = 0 ;
3213 PyObject * obj3 = 0 ;
3214 char *kwnames[] = {
3215 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3216 };
3217
3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3219 {
3220 arg1 = wxString_in_helper(obj0);
3221 if (arg1 == NULL) SWIG_fail;
3222 temp1 = True;
3223 }
3224 if (obj1) {
3225 {
3226 arg2 = wxString_in_helper(obj1);
3227 if (arg2 == NULL) SWIG_fail;
3228 temp2 = True;
3229 }
3230 }
3231 if (obj2) {
3232 {
3233 arg3 = wxString_in_helper(obj2);
3234 if (arg3 == NULL) SWIG_fail;
3235 temp3 = True;
3236 }
3237 }
3238 if (obj3) {
3239 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3241 }
3242 {
3243 PyThreadState* __tstate = wxPyBeginAllowThreads();
3244 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3245
3246 wxPyEndAllowThreads(__tstate);
3247 if (PyErr_Occurred()) SWIG_fail;
3248 }
3249 {
3250 #if wxUSE_UNICODE
3251 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3252 #else
3253 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3254 #endif
3255 }
3256 {
3257 if (temp1)
3258 delete arg1;
3259 }
3260 {
3261 if (temp2)
3262 delete arg2;
3263 }
3264 {
3265 if (temp3)
3266 delete arg3;
3267 }
3268 return resultobj;
3269 fail:
3270 {
3271 if (temp1)
3272 delete arg1;
3273 }
3274 {
3275 if (temp2)
3276 delete arg2;
3277 }
3278 {
3279 if (temp3)
3280 delete arg3;
3281 }
3282 return NULL;
3283 }
3284
3285
3286 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxString *arg1 = 0 ;
3289 wxString *arg2 = 0 ;
3290 int arg3 ;
3291 wxString *arg4 = (wxString *) 0 ;
3292 wxWindow *arg5 = (wxWindow *) NULL ;
3293 int arg6 = (int) -1 ;
3294 int arg7 = (int) -1 ;
3295 bool arg8 = (bool) True ;
3296 int arg9 = (int) 150 ;
3297 int arg10 = (int) 200 ;
3298 wxString result;
3299 bool temp1 = False ;
3300 bool temp2 = False ;
3301 PyObject * obj0 = 0 ;
3302 PyObject * obj1 = 0 ;
3303 PyObject * obj2 = 0 ;
3304 PyObject * obj3 = 0 ;
3305 PyObject * obj4 = 0 ;
3306 PyObject * obj5 = 0 ;
3307 PyObject * obj6 = 0 ;
3308 PyObject * obj7 = 0 ;
3309 PyObject * obj8 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3315 {
3316 arg1 = wxString_in_helper(obj0);
3317 if (arg1 == NULL) SWIG_fail;
3318 temp1 = True;
3319 }
3320 {
3321 arg2 = wxString_in_helper(obj1);
3322 if (arg2 == NULL) SWIG_fail;
3323 temp2 = True;
3324 }
3325 {
3326 arg3 = PyList_Size(obj2);
3327 arg4 = wxString_LIST_helper(obj2);
3328 if (arg4 == NULL) SWIG_fail;
3329 }
3330 if (obj3) {
3331 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3333 }
3334 if (obj4) {
3335 arg6 = (int) SWIG_AsInt(obj4);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 }
3338 if (obj5) {
3339 arg7 = (int) SWIG_AsInt(obj5);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 if (obj6) {
3343 arg8 = (bool) SWIG_AsBool(obj6);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 if (obj7) {
3347 arg9 = (int) SWIG_AsInt(obj7);
3348 if (PyErr_Occurred()) SWIG_fail;
3349 }
3350 if (obj8) {
3351 arg10 = (int) SWIG_AsInt(obj8);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 {
3362 #if wxUSE_UNICODE
3363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3364 #else
3365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3366 #endif
3367 }
3368 {
3369 if (temp1)
3370 delete arg1;
3371 }
3372 {
3373 if (temp2)
3374 delete arg2;
3375 }
3376 {
3377 if (arg4) delete [] arg4;
3378 }
3379 return resultobj;
3380 fail:
3381 {
3382 if (temp1)
3383 delete arg1;
3384 }
3385 {
3386 if (temp2)
3387 delete arg2;
3388 }
3389 {
3390 if (arg4) delete [] arg4;
3391 }
3392 return NULL;
3393 }
3394
3395
3396 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject *resultobj;
3398 wxString *arg1 = 0 ;
3399 wxString *arg2 = 0 ;
3400 int arg3 ;
3401 wxString *arg4 = (wxString *) 0 ;
3402 wxWindow *arg5 = (wxWindow *) NULL ;
3403 int arg6 = (int) -1 ;
3404 int arg7 = (int) -1 ;
3405 bool arg8 = (bool) True ;
3406 int arg9 = (int) 150 ;
3407 int arg10 = (int) 200 ;
3408 int result;
3409 bool temp1 = False ;
3410 bool temp2 = False ;
3411 PyObject * obj0 = 0 ;
3412 PyObject * obj1 = 0 ;
3413 PyObject * obj2 = 0 ;
3414 PyObject * obj3 = 0 ;
3415 PyObject * obj4 = 0 ;
3416 PyObject * obj5 = 0 ;
3417 PyObject * obj6 = 0 ;
3418 PyObject * obj7 = 0 ;
3419 PyObject * obj8 = 0 ;
3420 char *kwnames[] = {
3421 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3422 };
3423
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3425 {
3426 arg1 = wxString_in_helper(obj0);
3427 if (arg1 == NULL) SWIG_fail;
3428 temp1 = True;
3429 }
3430 {
3431 arg2 = wxString_in_helper(obj1);
3432 if (arg2 == NULL) SWIG_fail;
3433 temp2 = True;
3434 }
3435 {
3436 arg3 = PyList_Size(obj2);
3437 arg4 = wxString_LIST_helper(obj2);
3438 if (arg4 == NULL) SWIG_fail;
3439 }
3440 if (obj3) {
3441 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3443 }
3444 if (obj4) {
3445 arg6 = (int) SWIG_AsInt(obj4);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 if (obj5) {
3449 arg7 = (int) SWIG_AsInt(obj5);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 if (obj6) {
3453 arg8 = (bool) SWIG_AsBool(obj6);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
3456 if (obj7) {
3457 arg9 = (int) SWIG_AsInt(obj7);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 }
3460 if (obj8) {
3461 arg10 = (int) SWIG_AsInt(obj8);
3462 if (PyErr_Occurred()) SWIG_fail;
3463 }
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
3466 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 resultobj = SWIG_FromInt((int)result);
3472 {
3473 if (temp1)
3474 delete arg1;
3475 }
3476 {
3477 if (temp2)
3478 delete arg2;
3479 }
3480 {
3481 if (arg4) delete [] arg4;
3482 }
3483 return resultobj;
3484 fail:
3485 {
3486 if (temp1)
3487 delete arg1;
3488 }
3489 {
3490 if (temp2)
3491 delete arg2;
3492 }
3493 {
3494 if (arg4) delete [] arg4;
3495 }
3496 return NULL;
3497 }
3498
3499
3500 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3501 PyObject *resultobj;
3502 wxString *arg1 = 0 ;
3503 wxString const &arg2_defvalue = wxPyEmptyString ;
3504 wxString *arg2 = (wxString *) &arg2_defvalue ;
3505 int arg3 = (int) wxOK|wxCENTRE ;
3506 wxWindow *arg4 = (wxWindow *) NULL ;
3507 int arg5 = (int) -1 ;
3508 int arg6 = (int) -1 ;
3509 int result;
3510 bool temp1 = False ;
3511 bool temp2 = False ;
3512 PyObject * obj0 = 0 ;
3513 PyObject * obj1 = 0 ;
3514 PyObject * obj2 = 0 ;
3515 PyObject * obj3 = 0 ;
3516 PyObject * obj4 = 0 ;
3517 PyObject * obj5 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3520 };
3521
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3523 {
3524 arg1 = wxString_in_helper(obj0);
3525 if (arg1 == NULL) SWIG_fail;
3526 temp1 = True;
3527 }
3528 if (obj1) {
3529 {
3530 arg2 = wxString_in_helper(obj1);
3531 if (arg2 == NULL) SWIG_fail;
3532 temp2 = True;
3533 }
3534 }
3535 if (obj2) {
3536 arg3 = (int) SWIG_AsInt(obj2);
3537 if (PyErr_Occurred()) SWIG_fail;
3538 }
3539 if (obj3) {
3540 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3542 }
3543 if (obj4) {
3544 arg5 = (int) SWIG_AsInt(obj4);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 if (obj5) {
3548 arg6 = (int) SWIG_AsInt(obj5);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 {
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3554
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
3558 resultobj = SWIG_FromInt((int)result);
3559 {
3560 if (temp1)
3561 delete arg1;
3562 }
3563 {
3564 if (temp2)
3565 delete arg2;
3566 }
3567 return resultobj;
3568 fail:
3569 {
3570 if (temp1)
3571 delete arg1;
3572 }
3573 {
3574 if (temp2)
3575 delete arg2;
3576 }
3577 return NULL;
3578 }
3579
3580
3581 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3582 PyObject *resultobj;
3583 wxString *arg1 = 0 ;
3584 wxString *arg2 = 0 ;
3585 wxString *arg3 = 0 ;
3586 long arg4 ;
3587 long arg5 = (long) 0 ;
3588 long arg6 = (long) 100 ;
3589 wxWindow *arg7 = (wxWindow *) NULL ;
3590 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3591 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3592 long result;
3593 bool temp1 = False ;
3594 bool temp2 = False ;
3595 bool temp3 = False ;
3596 wxPoint temp8 ;
3597 PyObject * obj0 = 0 ;
3598 PyObject * obj1 = 0 ;
3599 PyObject * obj2 = 0 ;
3600 PyObject * obj3 = 0 ;
3601 PyObject * obj4 = 0 ;
3602 PyObject * obj5 = 0 ;
3603 PyObject * obj6 = 0 ;
3604 PyObject * obj7 = 0 ;
3605 char *kwnames[] = {
3606 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3607 };
3608
3609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3610 {
3611 arg1 = wxString_in_helper(obj0);
3612 if (arg1 == NULL) SWIG_fail;
3613 temp1 = True;
3614 }
3615 {
3616 arg2 = wxString_in_helper(obj1);
3617 if (arg2 == NULL) SWIG_fail;
3618 temp2 = True;
3619 }
3620 {
3621 arg3 = wxString_in_helper(obj2);
3622 if (arg3 == NULL) SWIG_fail;
3623 temp3 = True;
3624 }
3625 arg4 = (long) SWIG_AsLong(obj3);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 if (obj4) {
3628 arg5 = (long) SWIG_AsLong(obj4);
3629 if (PyErr_Occurred()) SWIG_fail;
3630 }
3631 if (obj5) {
3632 arg6 = (long) SWIG_AsLong(obj5);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 if (obj6) {
3636 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3638 }
3639 if (obj7) {
3640 {
3641 arg8 = &temp8;
3642 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3643 }
3644 }
3645 {
3646 PyThreadState* __tstate = wxPyBeginAllowThreads();
3647 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3648
3649 wxPyEndAllowThreads(__tstate);
3650 if (PyErr_Occurred()) SWIG_fail;
3651 }
3652 resultobj = SWIG_FromLong((long)result);
3653 {
3654 if (temp1)
3655 delete arg1;
3656 }
3657 {
3658 if (temp2)
3659 delete arg2;
3660 }
3661 {
3662 if (temp3)
3663 delete arg3;
3664 }
3665 return resultobj;
3666 fail:
3667 {
3668 if (temp1)
3669 delete arg1;
3670 }
3671 {
3672 if (temp2)
3673 delete arg2;
3674 }
3675 {
3676 if (temp3)
3677 delete arg3;
3678 }
3679 return NULL;
3680 }
3681
3682
3683 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3684 PyObject *resultobj;
3685 bool result;
3686 char *kwnames[] = {
3687 NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 result = (bool)wxColourDisplay();
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 {
3699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3700 }
3701 return resultobj;
3702 fail:
3703 return NULL;
3704 }
3705
3706
3707 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3708 PyObject *resultobj;
3709 int result;
3710 char *kwnames[] = {
3711 NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 result = (int)wxDisplayDepth();
3718
3719 wxPyEndAllowThreads(__tstate);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 resultobj = SWIG_FromInt((int)result);
3723 return resultobj;
3724 fail:
3725 return NULL;
3726 }
3727
3728
3729 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3730 PyObject *resultobj;
3731 int result;
3732 char *kwnames[] = {
3733 NULL
3734 };
3735
3736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3737 {
3738 PyThreadState* __tstate = wxPyBeginAllowThreads();
3739 result = (int)wxGetDisplayDepth();
3740
3741 wxPyEndAllowThreads(__tstate);
3742 if (PyErr_Occurred()) SWIG_fail;
3743 }
3744 resultobj = SWIG_FromInt((int)result);
3745 return resultobj;
3746 fail:
3747 return NULL;
3748 }
3749
3750
3751 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj;
3753 int *arg1 = (int *) 0 ;
3754 int *arg2 = (int *) 0 ;
3755 int temp1 ;
3756 int temp2 ;
3757 char *kwnames[] = {
3758 NULL
3759 };
3760
3761 arg1 = &temp1;
3762 arg2 = &temp2;
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 wxDisplaySize(arg1,arg2);
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 Py_INCREF(Py_None); resultobj = Py_None;
3772 {
3773 PyObject *o = PyInt_FromLong((long) (*arg1));
3774 resultobj = t_output_helper(resultobj,o);
3775 }
3776 {
3777 PyObject *o = PyInt_FromLong((long) (*arg2));
3778 resultobj = t_output_helper(resultobj,o);
3779 }
3780 return resultobj;
3781 fail:
3782 return NULL;
3783 }
3784
3785
3786 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3787 PyObject *resultobj;
3788 wxSize result;
3789 char *kwnames[] = {
3790 NULL
3791 };
3792
3793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 result = wxGetDisplaySize();
3797
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 }
3801 {
3802 wxSize * resultptr;
3803 resultptr = new wxSize((wxSize &) result);
3804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3805 }
3806 return resultobj;
3807 fail:
3808 return NULL;
3809 }
3810
3811
3812 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3813 PyObject *resultobj;
3814 int *arg1 = (int *) 0 ;
3815 int *arg2 = (int *) 0 ;
3816 int temp1 ;
3817 int temp2 ;
3818 char *kwnames[] = {
3819 NULL
3820 };
3821
3822 arg1 = &temp1;
3823 arg2 = &temp2;
3824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
3827 wxDisplaySizeMM(arg1,arg2);
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 Py_INCREF(Py_None); resultobj = Py_None;
3833 {
3834 PyObject *o = PyInt_FromLong((long) (*arg1));
3835 resultobj = t_output_helper(resultobj,o);
3836 }
3837 {
3838 PyObject *o = PyInt_FromLong((long) (*arg2));
3839 resultobj = t_output_helper(resultobj,o);
3840 }
3841 return resultobj;
3842 fail:
3843 return NULL;
3844 }
3845
3846
3847 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3848 PyObject *resultobj;
3849 wxSize result;
3850 char *kwnames[] = {
3851 NULL
3852 };
3853
3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3855 {
3856 PyThreadState* __tstate = wxPyBeginAllowThreads();
3857 result = wxGetDisplaySizeMM();
3858
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 {
3863 wxSize * resultptr;
3864 resultptr = new wxSize((wxSize &) result);
3865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3866 }
3867 return resultobj;
3868 fail:
3869 return NULL;
3870 }
3871
3872
3873 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject *resultobj;
3875 int *arg1 = (int *) 0 ;
3876 int *arg2 = (int *) 0 ;
3877 int *arg3 = (int *) 0 ;
3878 int *arg4 = (int *) 0 ;
3879 int temp1 ;
3880 int temp2 ;
3881 int temp3 ;
3882 int temp4 ;
3883 char *kwnames[] = {
3884 NULL
3885 };
3886
3887 arg1 = &temp1;
3888 arg2 = &temp2;
3889 arg3 = &temp3;
3890 arg4 = &temp4;
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 Py_INCREF(Py_None); resultobj = Py_None;
3900 {
3901 PyObject *o = PyInt_FromLong((long) (*arg1));
3902 resultobj = t_output_helper(resultobj,o);
3903 }
3904 {
3905 PyObject *o = PyInt_FromLong((long) (*arg2));
3906 resultobj = t_output_helper(resultobj,o);
3907 }
3908 {
3909 PyObject *o = PyInt_FromLong((long) (*arg3));
3910 resultobj = t_output_helper(resultobj,o);
3911 }
3912 {
3913 PyObject *o = PyInt_FromLong((long) (*arg4));
3914 resultobj = t_output_helper(resultobj,o);
3915 }
3916 return resultobj;
3917 fail:
3918 return NULL;
3919 }
3920
3921
3922 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3923 PyObject *resultobj;
3924 wxRect result;
3925 char *kwnames[] = {
3926 NULL
3927 };
3928
3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3930 {
3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
3932 result = wxGetClientDisplayRect();
3933
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 }
3937 {
3938 wxRect * resultptr;
3939 resultptr = new wxRect((wxRect &) result);
3940 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3941 }
3942 return resultobj;
3943 fail:
3944 return NULL;
3945 }
3946
3947
3948 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3949 PyObject *resultobj;
3950 wxCursor *arg1 = 0 ;
3951 PyObject * obj0 = 0 ;
3952 char *kwnames[] = {
3953 (char *) "cursor", NULL
3954 };
3955
3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3958 SWIG_POINTER_EXCEPTION | 0)) == -1)
3959 SWIG_fail;
3960 if (arg1 == NULL) {
3961 PyErr_SetString(PyExc_TypeError,"null reference");
3962 SWIG_fail;
3963 }
3964 {
3965 PyThreadState* __tstate = wxPyBeginAllowThreads();
3966 wxSetCursor(*arg1);
3967
3968 wxPyEndAllowThreads(__tstate);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
3971 Py_INCREF(Py_None); resultobj = Py_None;
3972 return resultobj;
3973 fail:
3974 return NULL;
3975 }
3976
3977
3978 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3979 PyObject *resultobj;
3980 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3981 PyObject * obj0 = 0 ;
3982 char *kwnames[] = {
3983 (char *) "cursor", NULL
3984 };
3985
3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3987 if (obj0) {
3988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3990 }
3991 {
3992 PyThreadState* __tstate = wxPyBeginAllowThreads();
3993 wxBeginBusyCursor(arg1);
3994
3995 wxPyEndAllowThreads(__tstate);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
3998 Py_INCREF(Py_None); resultobj = Py_None;
3999 return resultobj;
4000 fail:
4001 return NULL;
4002 }
4003
4004
4005 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj;
4007 wxWindow *result;
4008 char *kwnames[] = {
4009 NULL
4010 };
4011
4012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4013 {
4014 PyThreadState* __tstate = wxPyBeginAllowThreads();
4015 result = (wxWindow *)wxGetActiveWindow();
4016
4017 wxPyEndAllowThreads(__tstate);
4018 if (PyErr_Occurred()) SWIG_fail;
4019 }
4020 {
4021 resultobj = wxPyMake_wxObject(result);
4022 }
4023 return resultobj;
4024 fail:
4025 return NULL;
4026 }
4027
4028
4029 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4030 PyObject *resultobj;
4031 wxPoint *arg1 = 0 ;
4032 wxWindow *result;
4033 wxPoint temp1 ;
4034 PyObject * obj0 = 0 ;
4035 char *kwnames[] = {
4036 (char *) "pt", NULL
4037 };
4038
4039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4040 {
4041 arg1 = &temp1;
4042 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4043 }
4044 {
4045 PyThreadState* __tstate = wxPyBeginAllowThreads();
4046 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4047
4048 wxPyEndAllowThreads(__tstate);
4049 if (PyErr_Occurred()) SWIG_fail;
4050 }
4051 {
4052 resultobj = wxPyMake_wxObject(result);
4053 }
4054 return resultobj;
4055 fail:
4056 return NULL;
4057 }
4058
4059
4060 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4061 PyObject *resultobj;
4062 wxPoint *arg1 = 0 ;
4063 wxWindow *result;
4064 wxPoint temp1 ;
4065 PyObject * obj0 = 0 ;
4066 char *kwnames[] = {
4067 (char *) "pt", NULL
4068 };
4069
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4071 {
4072 arg1 = &temp1;
4073 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4074 }
4075 {
4076 PyThreadState* __tstate = wxPyBeginAllowThreads();
4077 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4078
4079 wxPyEndAllowThreads(__tstate);
4080 if (PyErr_Occurred()) SWIG_fail;
4081 }
4082 {
4083 resultobj = wxPyMake_wxObject(result);
4084 }
4085 return resultobj;
4086 fail:
4087 return NULL;
4088 }
4089
4090
4091 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4092 PyObject *resultobj;
4093 wxWindow *arg1 = (wxWindow *) 0 ;
4094 wxWindow *result;
4095 PyObject * obj0 = 0 ;
4096 char *kwnames[] = {
4097 (char *) "win", NULL
4098 };
4099
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4103 {
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 result = (wxWindow *)wxGetTopLevelParent(arg1);
4106
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 {
4111 resultobj = wxPyMake_wxObject(result);
4112 }
4113 return resultobj;
4114 fail:
4115 return NULL;
4116 }
4117
4118
4119 static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
4120 PyObject *resultobj;
4121 int arg1 ;
4122 bool result;
4123 PyObject * obj0 = 0 ;
4124 char *kwnames[] = {
4125 (char *) "key", NULL
4126 };
4127
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4129 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 {
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4134
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 {
4139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4140 }
4141 return resultobj;
4142 fail:
4143 return NULL;
4144 }
4145
4146
4147 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj;
4149 char *kwnames[] = {
4150 NULL
4151 };
4152
4153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4154 {
4155 PyThreadState* __tstate = wxPyBeginAllowThreads();
4156 wxWakeUpMainThread();
4157
4158 wxPyEndAllowThreads(__tstate);
4159 if (PyErr_Occurred()) SWIG_fail;
4160 }
4161 Py_INCREF(Py_None); resultobj = Py_None;
4162 return resultobj;
4163 fail:
4164 return NULL;
4165 }
4166
4167
4168 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4169 PyObject *resultobj;
4170 char *kwnames[] = {
4171 NULL
4172 };
4173
4174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4175 {
4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
4177 wxMutexGuiEnter();
4178
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) SWIG_fail;
4181 }
4182 Py_INCREF(Py_None); resultobj = Py_None;
4183 return resultobj;
4184 fail:
4185 return NULL;
4186 }
4187
4188
4189 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj;
4191 char *kwnames[] = {
4192 NULL
4193 };
4194
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4196 {
4197 PyThreadState* __tstate = wxPyBeginAllowThreads();
4198 wxMutexGuiLeave();
4199
4200 wxPyEndAllowThreads(__tstate);
4201 if (PyErr_Occurred()) SWIG_fail;
4202 }
4203 Py_INCREF(Py_None); resultobj = Py_None;
4204 return resultobj;
4205 fail:
4206 return NULL;
4207 }
4208
4209
4210 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4211 PyObject *resultobj;
4212 wxMutexGuiLocker *result;
4213 char *kwnames[] = {
4214 NULL
4215 };
4216
4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4226 return resultobj;
4227 fail:
4228 return NULL;
4229 }
4230
4231
4232 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj;
4234 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4235 PyObject * obj0 = 0 ;
4236 char *kwnames[] = {
4237 (char *) "self", NULL
4238 };
4239
4240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4243 {
4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
4245 delete arg1;
4246
4247 wxPyEndAllowThreads(__tstate);
4248 if (PyErr_Occurred()) SWIG_fail;
4249 }
4250 Py_INCREF(Py_None); resultobj = Py_None;
4251 return resultobj;
4252 fail:
4253 return NULL;
4254 }
4255
4256
4257 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4258 PyObject *obj;
4259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4260 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4261 Py_INCREF(obj);
4262 return Py_BuildValue((char *)"");
4263 }
4264 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 bool result;
4267 char *kwnames[] = {
4268 NULL
4269 };
4270
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4272 {
4273 PyThreadState* __tstate = wxPyBeginAllowThreads();
4274 result = (bool)wxThread_IsMain();
4275
4276 wxPyEndAllowThreads(__tstate);
4277 if (PyErr_Occurred()) SWIG_fail;
4278 }
4279 {
4280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4281 }
4282 return resultobj;
4283 fail:
4284 return NULL;
4285 }
4286
4287
4288 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4289 PyObject *resultobj;
4290 wxString *arg1 = 0 ;
4291 wxToolTip *result;
4292 bool temp1 = False ;
4293 PyObject * obj0 = 0 ;
4294 char *kwnames[] = {
4295 (char *) "tip", NULL
4296 };
4297
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4299 {
4300 arg1 = wxString_in_helper(obj0);
4301 if (arg1 == NULL) SWIG_fail;
4302 temp1 = True;
4303 }
4304 {
4305 PyThreadState* __tstate = wxPyBeginAllowThreads();
4306 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4307
4308 wxPyEndAllowThreads(__tstate);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4311 {
4312 resultobj = wxPyMake_wxObject(result);
4313 }
4314 {
4315 if (temp1)
4316 delete arg1;
4317 }
4318 return resultobj;
4319 fail:
4320 {
4321 if (temp1)
4322 delete arg1;
4323 }
4324 return NULL;
4325 }
4326
4327
4328 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4329 PyObject *resultobj;
4330 wxToolTip *arg1 = (wxToolTip *) 0 ;
4331 wxString *arg2 = 0 ;
4332 bool temp2 = False ;
4333 PyObject * obj0 = 0 ;
4334 PyObject * obj1 = 0 ;
4335 char *kwnames[] = {
4336 (char *) "self",(char *) "tip", NULL
4337 };
4338
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4342 {
4343 arg2 = wxString_in_helper(obj1);
4344 if (arg2 == NULL) SWIG_fail;
4345 temp2 = True;
4346 }
4347 {
4348 PyThreadState* __tstate = wxPyBeginAllowThreads();
4349 (arg1)->SetTip((wxString const &)*arg2);
4350
4351 wxPyEndAllowThreads(__tstate);
4352 if (PyErr_Occurred()) SWIG_fail;
4353 }
4354 Py_INCREF(Py_None); resultobj = Py_None;
4355 {
4356 if (temp2)
4357 delete arg2;
4358 }
4359 return resultobj;
4360 fail:
4361 {
4362 if (temp2)
4363 delete arg2;
4364 }
4365 return NULL;
4366 }
4367
4368
4369 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4370 PyObject *resultobj;
4371 wxToolTip *arg1 = (wxToolTip *) 0 ;
4372 wxString result;
4373 PyObject * obj0 = 0 ;
4374 char *kwnames[] = {
4375 (char *) "self", NULL
4376 };
4377
4378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 result = (arg1)->GetTip();
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 {
4389 #if wxUSE_UNICODE
4390 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4391 #else
4392 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4393 #endif
4394 }
4395 return resultobj;
4396 fail:
4397 return NULL;
4398 }
4399
4400
4401 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj;
4403 wxToolTip *arg1 = (wxToolTip *) 0 ;
4404 wxWindow *result;
4405 PyObject * obj0 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "self", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4413 {
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 result = (wxWindow *)(arg1)->GetWindow();
4416
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 {
4421 resultobj = wxPyMake_wxObject(result);
4422 }
4423 return resultobj;
4424 fail:
4425 return NULL;
4426 }
4427
4428
4429 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4430 PyObject *resultobj;
4431 bool arg1 ;
4432 PyObject * obj0 = 0 ;
4433 char *kwnames[] = {
4434 (char *) "flag", NULL
4435 };
4436
4437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4438 arg1 = (bool) SWIG_AsBool(obj0);
4439 if (PyErr_Occurred()) SWIG_fail;
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 wxToolTip::Enable(arg1);
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 Py_INCREF(Py_None); resultobj = Py_None;
4448 return resultobj;
4449 fail:
4450 return NULL;
4451 }
4452
4453
4454 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4455 PyObject *resultobj;
4456 long arg1 ;
4457 PyObject * obj0 = 0 ;
4458 char *kwnames[] = {
4459 (char *) "milliseconds", NULL
4460 };
4461
4462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4463 arg1 = (long) SWIG_AsLong(obj0);
4464 if (PyErr_Occurred()) SWIG_fail;
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 wxToolTip::SetDelay(arg1);
4468
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 Py_INCREF(Py_None); resultobj = Py_None;
4473 return resultobj;
4474 fail:
4475 return NULL;
4476 }
4477
4478
4479 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4480 PyObject *obj;
4481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4482 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4483 Py_INCREF(obj);
4484 return Py_BuildValue((char *)"");
4485 }
4486 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4487 PyObject *resultobj;
4488 wxWindow *arg1 = (wxWindow *) 0 ;
4489 wxSize *arg2 = 0 ;
4490 wxCaret *result;
4491 wxSize temp2 ;
4492 PyObject * obj0 = 0 ;
4493 PyObject * obj1 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "window",(char *) "size", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4501 {
4502 arg2 = &temp2;
4503 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4504 }
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
4513 return resultobj;
4514 fail:
4515 return NULL;
4516 }
4517
4518
4519 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxCaret *arg1 = (wxCaret *) 0 ;
4522 PyObject * obj0 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 delete arg1;
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 Py_INCREF(Py_None); resultobj = Py_None;
4538 return resultobj;
4539 fail:
4540 return NULL;
4541 }
4542
4543
4544 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4545 PyObject *resultobj;
4546 wxCaret *arg1 = (wxCaret *) 0 ;
4547 bool result;
4548 PyObject * obj0 = 0 ;
4549 char *kwnames[] = {
4550 (char *) "self", NULL
4551 };
4552
4553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 result = (bool)(arg1)->IsOk();
4559
4560 wxPyEndAllowThreads(__tstate);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 }
4563 {
4564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4565 }
4566 return resultobj;
4567 fail:
4568 return NULL;
4569 }
4570
4571
4572 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxCaret *arg1 = (wxCaret *) 0 ;
4575 bool result;
4576 PyObject * obj0 = 0 ;
4577 char *kwnames[] = {
4578 (char *) "self", NULL
4579 };
4580
4581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4584 {
4585 PyThreadState* __tstate = wxPyBeginAllowThreads();
4586 result = (bool)(arg1)->IsVisible();
4587
4588 wxPyEndAllowThreads(__tstate);
4589 if (PyErr_Occurred()) SWIG_fail;
4590 }
4591 {
4592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4593 }
4594 return resultobj;
4595 fail:
4596 return NULL;
4597 }
4598
4599
4600 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4601 PyObject *resultobj;
4602 wxCaret *arg1 = (wxCaret *) 0 ;
4603 wxPoint result;
4604 PyObject * obj0 = 0 ;
4605 char *kwnames[] = {
4606 (char *) "self", NULL
4607 };
4608
4609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4612 {
4613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4614 result = (arg1)->GetPosition();
4615
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 {
4620 wxPoint * resultptr;
4621 resultptr = new wxPoint((wxPoint &) result);
4622 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4623 }
4624 return resultobj;
4625 fail:
4626 return NULL;
4627 }
4628
4629
4630 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4631 PyObject *resultobj;
4632 wxCaret *arg1 = (wxCaret *) 0 ;
4633 int *arg2 = (int *) 0 ;
4634 int *arg3 = (int *) 0 ;
4635 int temp2 ;
4636 int temp3 ;
4637 PyObject * obj0 = 0 ;
4638 char *kwnames[] = {
4639 (char *) "self", NULL
4640 };
4641
4642 arg2 = &temp2;
4643 arg3 = &temp3;
4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 (arg1)->GetPosition(arg2,arg3);
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
4654 Py_INCREF(Py_None); resultobj = Py_None;
4655 {
4656 PyObject *o = PyInt_FromLong((long) (*arg2));
4657 resultobj = t_output_helper(resultobj,o);
4658 }
4659 {
4660 PyObject *o = PyInt_FromLong((long) (*arg3));
4661 resultobj = t_output_helper(resultobj,o);
4662 }
4663 return resultobj;
4664 fail:
4665 return NULL;
4666 }
4667
4668
4669 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj;
4671 wxCaret *arg1 = (wxCaret *) 0 ;
4672 wxSize result;
4673 PyObject * obj0 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4681 {
4682 PyThreadState* __tstate = wxPyBeginAllowThreads();
4683 result = (arg1)->GetSize();
4684
4685 wxPyEndAllowThreads(__tstate);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 }
4688 {
4689 wxSize * resultptr;
4690 resultptr = new wxSize((wxSize &) result);
4691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4692 }
4693 return resultobj;
4694 fail:
4695 return NULL;
4696 }
4697
4698
4699 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4700 PyObject *resultobj;
4701 wxCaret *arg1 = (wxCaret *) 0 ;
4702 int *arg2 = (int *) 0 ;
4703 int *arg3 = (int *) 0 ;
4704 int temp2 ;
4705 int temp3 ;
4706 PyObject * obj0 = 0 ;
4707 char *kwnames[] = {
4708 (char *) "self", NULL
4709 };
4710
4711 arg2 = &temp2;
4712 arg3 = &temp3;
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 (arg1)->GetSize(arg2,arg3);
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 Py_INCREF(Py_None); resultobj = Py_None;
4724 {
4725 PyObject *o = PyInt_FromLong((long) (*arg2));
4726 resultobj = t_output_helper(resultobj,o);
4727 }
4728 {
4729 PyObject *o = PyInt_FromLong((long) (*arg3));
4730 resultobj = t_output_helper(resultobj,o);
4731 }
4732 return resultobj;
4733 fail:
4734 return NULL;
4735 }
4736
4737
4738 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj;
4740 wxCaret *arg1 = (wxCaret *) 0 ;
4741 wxWindow *result;
4742 PyObject * obj0 = 0 ;
4743 char *kwnames[] = {
4744 (char *) "self", NULL
4745 };
4746
4747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 result = (wxWindow *)(arg1)->GetWindow();
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 {
4758 resultobj = wxPyMake_wxObject(result);
4759 }
4760 return resultobj;
4761 fail:
4762 return NULL;
4763 }
4764
4765
4766 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4767 PyObject *resultobj;
4768 wxCaret *arg1 = (wxCaret *) 0 ;
4769 int arg2 ;
4770 int arg3 ;
4771 PyObject * obj0 = 0 ;
4772 PyObject * obj1 = 0 ;
4773 PyObject * obj2 = 0 ;
4774 char *kwnames[] = {
4775 (char *) "self",(char *) "x",(char *) "y", NULL
4776 };
4777
4778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4781 arg2 = (int) SWIG_AsInt(obj1);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 arg3 = (int) SWIG_AsInt(obj2);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 {
4786 PyThreadState* __tstate = wxPyBeginAllowThreads();
4787 (arg1)->Move(arg2,arg3);
4788
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 Py_INCREF(Py_None); resultobj = Py_None;
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxCaret *arg1 = (wxCaret *) 0 ;
4802 wxPoint *arg2 = 0 ;
4803 wxPoint temp2 ;
4804 PyObject * obj0 = 0 ;
4805 PyObject * obj1 = 0 ;
4806 char *kwnames[] = {
4807 (char *) "self",(char *) "pt", NULL
4808 };
4809
4810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4813 {
4814 arg2 = &temp2;
4815 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4816 }
4817 {
4818 PyThreadState* __tstate = wxPyBeginAllowThreads();
4819 (arg1)->Move((wxPoint const &)*arg2);
4820
4821 wxPyEndAllowThreads(__tstate);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 }
4824 Py_INCREF(Py_None); resultobj = Py_None;
4825 return resultobj;
4826 fail:
4827 return NULL;
4828 }
4829
4830
4831 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4832 PyObject *resultobj;
4833 wxCaret *arg1 = (wxCaret *) 0 ;
4834 int arg2 ;
4835 int arg3 ;
4836 PyObject * obj0 = 0 ;
4837 PyObject * obj1 = 0 ;
4838 PyObject * obj2 = 0 ;
4839 char *kwnames[] = {
4840 (char *) "self",(char *) "width",(char *) "height", NULL
4841 };
4842
4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
4844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4846 arg2 = (int) SWIG_AsInt(obj1);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 arg3 = (int) SWIG_AsInt(obj2);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 (arg1)->SetSize(arg2,arg3);
4853
4854 wxPyEndAllowThreads(__tstate);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 }
4857 Py_INCREF(Py_None); resultobj = Py_None;
4858 return resultobj;
4859 fail:
4860 return NULL;
4861 }
4862
4863
4864 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4865 PyObject *resultobj;
4866 wxCaret *arg1 = (wxCaret *) 0 ;
4867 wxSize *arg2 = 0 ;
4868 wxSize temp2 ;
4869 PyObject * obj0 = 0 ;
4870 PyObject * obj1 = 0 ;
4871 char *kwnames[] = {
4872 (char *) "self",(char *) "size", NULL
4873 };
4874
4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4878 {
4879 arg2 = &temp2;
4880 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4881 }
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 (arg1)->SetSize((wxSize const &)*arg2);
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 Py_INCREF(Py_None); resultobj = Py_None;
4890 return resultobj;
4891 fail:
4892 return NULL;
4893 }
4894
4895
4896 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4897 PyObject *resultobj;
4898 wxCaret *arg1 = (wxCaret *) 0 ;
4899 int arg2 = (int) True ;
4900 PyObject * obj0 = 0 ;
4901 PyObject * obj1 = 0 ;
4902 char *kwnames[] = {
4903 (char *) "self",(char *) "show", NULL
4904 };
4905
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
4907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4909 if (obj1) {
4910 arg2 = (int) SWIG_AsInt(obj1);
4911 if (PyErr_Occurred()) SWIG_fail;
4912 }
4913 {
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 (arg1)->Show(arg2);
4916
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 Py_INCREF(Py_None); resultobj = Py_None;
4921 return resultobj;
4922 fail:
4923 return NULL;
4924 }
4925
4926
4927 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj;
4929 wxCaret *arg1 = (wxCaret *) 0 ;
4930 PyObject * obj0 = 0 ;
4931 char *kwnames[] = {
4932 (char *) "self", NULL
4933 };
4934
4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 (arg1)->Hide();
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 Py_INCREF(Py_None); resultobj = Py_None;
4946 return resultobj;
4947 fail:
4948 return NULL;
4949 }
4950
4951
4952 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4953 PyObject *obj;
4954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4955 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4956 Py_INCREF(obj);
4957 return Py_BuildValue((char *)"");
4958 }
4959 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj;
4961 int result;
4962 char *kwnames[] = {
4963 NULL
4964 };
4965
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4967 {
4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
4969 result = (int)wxCaret_GetBlinkTime();
4970
4971 wxPyEndAllowThreads(__tstate);
4972 if (PyErr_Occurred()) SWIG_fail;
4973 }
4974 resultobj = SWIG_FromInt((int)result);
4975 return resultobj;
4976 fail:
4977 return NULL;
4978 }
4979
4980
4981 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4982 PyObject *resultobj;
4983 int arg1 ;
4984 PyObject * obj0 = 0 ;
4985 char *kwnames[] = {
4986 (char *) "milliseconds", NULL
4987 };
4988
4989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
4990 arg1 = (int) SWIG_AsInt(obj0);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 wxCaret_SetBlinkTime(arg1);
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 Py_INCREF(Py_None); resultobj = Py_None;
5000 return resultobj;
5001 fail:
5002 return NULL;
5003 }
5004
5005
5006 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5007 PyObject *resultobj;
5008 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5009 wxBusyCursor *result;
5010 PyObject * obj0 = 0 ;
5011 char *kwnames[] = {
5012 (char *) "cursor", NULL
5013 };
5014
5015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5016 if (obj0) {
5017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5019 }
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5028 return resultobj;
5029 fail:
5030 return NULL;
5031 }
5032
5033
5034 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5035 PyObject *resultobj;
5036 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5037 PyObject * obj0 = 0 ;
5038 char *kwnames[] = {
5039 (char *) "self", NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 delete arg1;
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 Py_INCREF(Py_None); resultobj = Py_None;
5053 return resultobj;
5054 fail:
5055 return NULL;
5056 }
5057
5058
5059 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
5060 PyObject *obj;
5061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5062 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5063 Py_INCREF(obj);
5064 return Py_BuildValue((char *)"");
5065 }
5066 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5067 PyObject *resultobj;
5068 wxWindow *arg1 = (wxWindow *) NULL ;
5069 wxWindowDisabler *result;
5070 PyObject * obj0 = 0 ;
5071 char *kwnames[] = {
5072 (char *) "winToSkip", NULL
5073 };
5074
5075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5076 if (obj0) {
5077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5079 }
5080 {
5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
5082 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5083
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5088 return resultobj;
5089 fail:
5090 return NULL;
5091 }
5092
5093
5094 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5095 PyObject *resultobj;
5096 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5097 PyObject * obj0 = 0 ;
5098 char *kwnames[] = {
5099 (char *) "self", NULL
5100 };
5101
5102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 delete arg1;
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 Py_INCREF(Py_None); resultobj = Py_None;
5113 return resultobj;
5114 fail:
5115 return NULL;
5116 }
5117
5118
5119 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
5120 PyObject *obj;
5121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5122 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5123 Py_INCREF(obj);
5124 return Py_BuildValue((char *)"");
5125 }
5126 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj;
5128 wxString *arg1 = 0 ;
5129 wxBusyInfo *result;
5130 bool temp1 = False ;
5131 PyObject * obj0 = 0 ;
5132 char *kwnames[] = {
5133 (char *) "message", NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5137 {
5138 arg1 = wxString_in_helper(obj0);
5139 if (arg1 == NULL) SWIG_fail;
5140 temp1 = True;
5141 }
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5150 {
5151 if (temp1)
5152 delete arg1;
5153 }
5154 return resultobj;
5155 fail:
5156 {
5157 if (temp1)
5158 delete arg1;
5159 }
5160 return NULL;
5161 }
5162
5163
5164 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5165 PyObject *resultobj;
5166 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5167 PyObject * obj0 = 0 ;
5168 char *kwnames[] = {
5169 (char *) "self", NULL
5170 };
5171
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 delete arg1;
5178
5179 wxPyEndAllowThreads(__tstate);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 }
5182 Py_INCREF(Py_None); resultobj = Py_None;
5183 return resultobj;
5184 fail:
5185 return NULL;
5186 }
5187
5188
5189 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5190 PyObject *obj;
5191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5192 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5193 Py_INCREF(obj);
5194 return Py_BuildValue((char *)"");
5195 }
5196 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5197 PyObject *resultobj;
5198 wxStopWatch *result;
5199 char *kwnames[] = {
5200 NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = (wxStopWatch *)new wxStopWatch();
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5212 return resultobj;
5213 fail:
5214 return NULL;
5215 }
5216
5217
5218 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5219 PyObject *resultobj;
5220 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5221 long arg2 = (long) 0 ;
5222 PyObject * obj0 = 0 ;
5223 PyObject * obj1 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "self",(char *) "t0", NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5231 if (obj1) {
5232 arg2 = (long) SWIG_AsLong(obj1);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 (arg1)->Start(arg2);
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 Py_INCREF(Py_None); resultobj = Py_None;
5243 return resultobj;
5244 fail:
5245 return NULL;
5246 }
5247
5248
5249 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj;
5251 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5252 PyObject * obj0 = 0 ;
5253 char *kwnames[] = {
5254 (char *) "self", NULL
5255 };
5256
5257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 (arg1)->Pause();
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 Py_INCREF(Py_None); resultobj = Py_None;
5268 return resultobj;
5269 fail:
5270 return NULL;
5271 }
5272
5273
5274 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5275 PyObject *resultobj;
5276 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5277 PyObject * obj0 = 0 ;
5278 char *kwnames[] = {
5279 (char *) "self", NULL
5280 };
5281
5282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5285 {
5286 PyThreadState* __tstate = wxPyBeginAllowThreads();
5287 (arg1)->Resume();
5288
5289 wxPyEndAllowThreads(__tstate);
5290 if (PyErr_Occurred()) SWIG_fail;
5291 }
5292 Py_INCREF(Py_None); resultobj = Py_None;
5293 return resultobj;
5294 fail:
5295 return NULL;
5296 }
5297
5298
5299 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5300 PyObject *resultobj;
5301 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5302 long result;
5303 PyObject * obj0 = 0 ;
5304 char *kwnames[] = {
5305 (char *) "self", NULL
5306 };
5307
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5311 {
5312 PyThreadState* __tstate = wxPyBeginAllowThreads();
5313 result = (long)((wxStopWatch const *)arg1)->Time();
5314
5315 wxPyEndAllowThreads(__tstate);
5316 if (PyErr_Occurred()) SWIG_fail;
5317 }
5318 resultobj = SWIG_FromLong((long)result);
5319 return resultobj;
5320 fail:
5321 return NULL;
5322 }
5323
5324
5325 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5326 PyObject *obj;
5327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5328 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5329 Py_INCREF(obj);
5330 return Py_BuildValue((char *)"");
5331 }
5332 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5333 PyObject *resultobj;
5334 int arg1 = (int) 9 ;
5335 wxFileHistory *result;
5336 PyObject * obj0 = 0 ;
5337 char *kwnames[] = {
5338 (char *) "maxFiles", NULL
5339 };
5340
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5342 if (obj0) {
5343 arg1 = (int) SWIG_AsInt(obj0);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 {
5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5348 result = (wxFileHistory *)new wxFileHistory(arg1);
5349
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj;
5362 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5363 PyObject * obj0 = 0 ;
5364 char *kwnames[] = {
5365 (char *) "self", NULL
5366 };
5367
5368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5371 {
5372 PyThreadState* __tstate = wxPyBeginAllowThreads();
5373 delete arg1;
5374
5375 wxPyEndAllowThreads(__tstate);
5376 if (PyErr_Occurred()) SWIG_fail;
5377 }
5378 Py_INCREF(Py_None); resultobj = Py_None;
5379 return resultobj;
5380 fail:
5381 return NULL;
5382 }
5383
5384
5385 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5386 PyObject *resultobj;
5387 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5388 wxString *arg2 = 0 ;
5389 bool temp2 = False ;
5390 PyObject * obj0 = 0 ;
5391 PyObject * obj1 = 0 ;
5392 char *kwnames[] = {
5393 (char *) "self",(char *) "file", NULL
5394 };
5395
5396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5399 {
5400 arg2 = wxString_in_helper(obj1);
5401 if (arg2 == NULL) SWIG_fail;
5402 temp2 = True;
5403 }
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 (arg1)->AddFileToHistory((wxString const &)*arg2);
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 Py_INCREF(Py_None); resultobj = Py_None;
5412 {
5413 if (temp2)
5414 delete arg2;
5415 }
5416 return resultobj;
5417 fail:
5418 {
5419 if (temp2)
5420 delete arg2;
5421 }
5422 return NULL;
5423 }
5424
5425
5426 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj;
5428 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5429 int arg2 ;
5430 PyObject * obj0 = 0 ;
5431 PyObject * obj1 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self",(char *) "i", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5439 arg2 = (int) SWIG_AsInt(obj1);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 (arg1)->RemoveFileFromHistory(arg2);
5444
5445 wxPyEndAllowThreads(__tstate);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 Py_INCREF(Py_None); resultobj = Py_None;
5449 return resultobj;
5450 fail:
5451 return NULL;
5452 }
5453
5454
5455 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5456 PyObject *resultobj;
5457 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5458 int result;
5459 PyObject * obj0 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 resultobj = SWIG_FromInt((int)result);
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj;
5483 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5484 wxMenu *arg2 = (wxMenu *) 0 ;
5485 PyObject * obj0 = 0 ;
5486 PyObject * obj1 = 0 ;
5487 char *kwnames[] = {
5488 (char *) "self",(char *) "menu", NULL
5489 };
5490
5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 (arg1)->UseMenu(arg2);
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 Py_INCREF(Py_None); resultobj = Py_None;
5504 return resultobj;
5505 fail:
5506 return NULL;
5507 }
5508
5509
5510 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj;
5512 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5513 wxMenu *arg2 = (wxMenu *) 0 ;
5514 PyObject * obj0 = 0 ;
5515 PyObject * obj1 = 0 ;
5516 char *kwnames[] = {
5517 (char *) "self",(char *) "menu", NULL
5518 };
5519
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5525 {
5526 PyThreadState* __tstate = wxPyBeginAllowThreads();
5527 (arg1)->RemoveMenu(arg2);
5528
5529 wxPyEndAllowThreads(__tstate);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 }
5532 Py_INCREF(Py_None); resultobj = Py_None;
5533 return resultobj;
5534 fail:
5535 return NULL;
5536 }
5537
5538
5539 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5540 PyObject *resultobj;
5541 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5542 wxConfigBase *arg2 = 0 ;
5543 PyObject * obj0 = 0 ;
5544 PyObject * obj1 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self",(char *) "config", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5553 SWIG_POINTER_EXCEPTION | 0)) == -1)
5554 SWIG_fail;
5555 if (arg2 == NULL) {
5556 PyErr_SetString(PyExc_TypeError,"null reference");
5557 SWIG_fail;
5558 }
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 (arg1)->Load(*arg2);
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 Py_INCREF(Py_None); resultobj = Py_None;
5567 return resultobj;
5568 fail:
5569 return NULL;
5570 }
5571
5572
5573 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj;
5575 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5576 wxConfigBase *arg2 = 0 ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "self",(char *) "config", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5587 SWIG_POINTER_EXCEPTION | 0)) == -1)
5588 SWIG_fail;
5589 if (arg2 == NULL) {
5590 PyErr_SetString(PyExc_TypeError,"null reference");
5591 SWIG_fail;
5592 }
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 (arg1)->Save(*arg2);
5596
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 Py_INCREF(Py_None); resultobj = Py_None;
5601 return resultobj;
5602 fail:
5603 return NULL;
5604 }
5605
5606
5607 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj;
5609 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5610 PyObject * obj0 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5618 {
5619 PyThreadState* __tstate = wxPyBeginAllowThreads();
5620 (arg1)->AddFilesToMenu();
5621
5622 wxPyEndAllowThreads(__tstate);
5623 if (PyErr_Occurred()) SWIG_fail;
5624 }
5625 Py_INCREF(Py_None); resultobj = Py_None;
5626 return resultobj;
5627 fail:
5628 return NULL;
5629 }
5630
5631
5632 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5633 PyObject *resultobj;
5634 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5635 wxMenu *arg2 = (wxMenu *) 0 ;
5636 PyObject * obj0 = 0 ;
5637 PyObject * obj1 = 0 ;
5638 char *kwnames[] = {
5639 (char *) "self",(char *) "menu", NULL
5640 };
5641
5642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 (arg1)->AddFilesToMenu(arg2);
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
5654 Py_INCREF(Py_None); resultobj = Py_None;
5655 return resultobj;
5656 fail:
5657 return NULL;
5658 }
5659
5660
5661 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5662 PyObject *resultobj;
5663 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5664 int arg2 ;
5665 wxString result;
5666 PyObject * obj0 = 0 ;
5667 PyObject * obj1 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "self",(char *) "i", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5675 arg2 = (int) SWIG_AsInt(obj1);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 {
5685 #if wxUSE_UNICODE
5686 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5687 #else
5688 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5689 #endif
5690 }
5691 return resultobj;
5692 fail:
5693 return NULL;
5694 }
5695
5696
5697 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5700 int result;
5701 PyObject * obj0 = 0 ;
5702 char *kwnames[] = {
5703 (char *) "self", NULL
5704 };
5705
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 result = (int)((wxFileHistory const *)arg1)->GetCount();
5712
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 resultobj = SWIG_FromInt((int)result);
5717 return resultobj;
5718 fail:
5719 return NULL;
5720 }
5721
5722
5723 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5724 PyObject *obj;
5725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5726 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5727 Py_INCREF(obj);
5728 return Py_BuildValue((char *)"");
5729 }
5730 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5731 PyObject *resultobj;
5732 wxString *arg1 = 0 ;
5733 wxString const &arg2_defvalue = wxPyEmptyString ;
5734 wxString *arg2 = (wxString *) &arg2_defvalue ;
5735 wxSingleInstanceChecker *result;
5736 bool temp1 = False ;
5737 bool temp2 = False ;
5738 PyObject * obj0 = 0 ;
5739 PyObject * obj1 = 0 ;
5740 char *kwnames[] = {
5741 (char *) "name",(char *) "path", NULL
5742 };
5743
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5745 {
5746 arg1 = wxString_in_helper(obj0);
5747 if (arg1 == NULL) SWIG_fail;
5748 temp1 = True;
5749 }
5750 if (obj1) {
5751 {
5752 arg2 = wxString_in_helper(obj1);
5753 if (arg2 == NULL) SWIG_fail;
5754 temp2 = True;
5755 }
5756 }
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
5765 {
5766 if (temp1)
5767 delete arg1;
5768 }
5769 {
5770 if (temp2)
5771 delete arg2;
5772 }
5773 return resultobj;
5774 fail:
5775 {
5776 if (temp1)
5777 delete arg1;
5778 }
5779 {
5780 if (temp2)
5781 delete arg2;
5782 }
5783 return NULL;
5784 }
5785
5786
5787 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5788 PyObject *resultobj;
5789 wxSingleInstanceChecker *result;
5790 char *kwnames[] = {
5791 NULL
5792 };
5793
5794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
5803 return resultobj;
5804 fail:
5805 return NULL;
5806 }
5807
5808
5809 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject *resultobj;
5811 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5812 PyObject * obj0 = 0 ;
5813 char *kwnames[] = {
5814 (char *) "self", NULL
5815 };
5816
5817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 delete arg1;
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 Py_INCREF(Py_None); resultobj = Py_None;
5828 return resultobj;
5829 fail:
5830 return NULL;
5831 }
5832
5833
5834 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj;
5836 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5837 wxString *arg2 = 0 ;
5838 wxString const &arg3_defvalue = wxPyEmptyString ;
5839 wxString *arg3 = (wxString *) &arg3_defvalue ;
5840 bool result;
5841 bool temp2 = False ;
5842 bool temp3 = False ;
5843 PyObject * obj0 = 0 ;
5844 PyObject * obj1 = 0 ;
5845 PyObject * obj2 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self",(char *) "name",(char *) "path", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5853 {
5854 arg2 = wxString_in_helper(obj1);
5855 if (arg2 == NULL) SWIG_fail;
5856 temp2 = True;
5857 }
5858 if (obj2) {
5859 {
5860 arg3 = wxString_in_helper(obj2);
5861 if (arg3 == NULL) SWIG_fail;
5862 temp3 = True;
5863 }
5864 }
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 {
5873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5874 }
5875 {
5876 if (temp2)
5877 delete arg2;
5878 }
5879 {
5880 if (temp3)
5881 delete arg3;
5882 }
5883 return resultobj;
5884 fail:
5885 {
5886 if (temp2)
5887 delete arg2;
5888 }
5889 {
5890 if (temp3)
5891 delete arg3;
5892 }
5893 return NULL;
5894 }
5895
5896
5897 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5898 PyObject *resultobj;
5899 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5900 bool result;
5901 PyObject * obj0 = 0 ;
5902 char *kwnames[] = {
5903 (char *) "self", NULL
5904 };
5905
5906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5912
5913 wxPyEndAllowThreads(__tstate);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 {
5917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5918 }
5919 return resultobj;
5920 fail:
5921 return NULL;
5922 }
5923
5924
5925 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5926 PyObject *obj;
5927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5928 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5929 Py_INCREF(obj);
5930 return Py_BuildValue((char *)"");
5931 }
5932 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5933 PyObject *resultobj;
5934 wxWindow *arg1 = (wxWindow *) 0 ;
5935 wxDC *arg2 = 0 ;
5936 int arg3 ;
5937 PyObject * obj0 = 0 ;
5938 PyObject * obj1 = 0 ;
5939 PyObject * obj2 = 0 ;
5940 char *kwnames[] = {
5941 (char *) "window",(char *) "dc",(char *) "method", NULL
5942 };
5943
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
5945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5947 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5948 SWIG_POINTER_EXCEPTION | 0)) == -1)
5949 SWIG_fail;
5950 if (arg2 == NULL) {
5951 PyErr_SetString(PyExc_TypeError,"null reference");
5952 SWIG_fail;
5953 }
5954 arg3 = (int) SWIG_AsInt(obj2);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 {
5957 PyThreadState* __tstate = wxPyBeginAllowThreads();
5958 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5959
5960 wxPyEndAllowThreads(__tstate);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 Py_INCREF(Py_None); resultobj = Py_None;
5964 return resultobj;
5965 fail:
5966 return NULL;
5967 }
5968
5969
5970 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5971 PyObject *resultobj;
5972 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5973 PyObject * obj0 = 0 ;
5974 char *kwnames[] = {
5975 (char *) "self", NULL
5976 };
5977
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
5980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 delete arg1;
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 Py_INCREF(Py_None); resultobj = Py_None;
5989 return resultobj;
5990 fail:
5991 return NULL;
5992 }
5993
5994
5995 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj;
5997 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5998 wxString result;
5999 PyObject * obj0 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "self", NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 result = (arg1)->GetTip();
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 {
6015 #if wxUSE_UNICODE
6016 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6017 #else
6018 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6019 #endif
6020 }
6021 return resultobj;
6022 fail:
6023 return NULL;
6024 }
6025
6026
6027 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6028 PyObject *resultobj;
6029 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6030 size_t result;
6031 PyObject * obj0 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "self", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6039 {
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = (size_t)(arg1)->GetCurrentTip();
6042
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
6047 return resultobj;
6048 fail:
6049 return NULL;
6050 }
6051
6052
6053 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6054 PyObject *resultobj;
6055 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6056 wxString *arg2 = 0 ;
6057 wxString result;
6058 bool temp2 = False ;
6059 PyObject * obj0 = 0 ;
6060 PyObject * obj1 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "self",(char *) "tip", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6068 {
6069 arg2 = wxString_in_helper(obj1);
6070 if (arg2 == NULL) SWIG_fail;
6071 temp2 = True;
6072 }
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 {
6081 #if wxUSE_UNICODE
6082 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6083 #else
6084 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6085 #endif
6086 }
6087 {
6088 if (temp2)
6089 delete arg2;
6090 }
6091 return resultobj;
6092 fail:
6093 {
6094 if (temp2)
6095 delete arg2;
6096 }
6097 return NULL;
6098 }
6099
6100
6101 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
6102 PyObject *obj;
6103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6104 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6105 Py_INCREF(obj);
6106 return Py_BuildValue((char *)"");
6107 }
6108 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6109 PyObject *resultobj;
6110 size_t arg1 ;
6111 wxPyTipProvider *result;
6112 PyObject * obj0 = 0 ;
6113 char *kwnames[] = {
6114 (char *) "currentTip", NULL
6115 };
6116
6117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6118 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6128 return resultobj;
6129 fail:
6130 return NULL;
6131 }
6132
6133
6134 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj;
6136 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6137 PyObject *arg2 = (PyObject *) 0 ;
6138 PyObject *arg3 = (PyObject *) 0 ;
6139 PyObject * obj0 = 0 ;
6140 PyObject * obj1 = 0 ;
6141 PyObject * obj2 = 0 ;
6142 char *kwnames[] = {
6143 (char *) "self",(char *) "self",(char *) "_class", NULL
6144 };
6145
6146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6149 arg2 = obj1;
6150 arg3 = obj2;
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 (arg1)->_setCallbackInfo(arg2,arg3);
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 Py_INCREF(Py_None); resultobj = Py_None;
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
6166 PyObject *obj;
6167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6168 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6169 Py_INCREF(obj);
6170 return Py_BuildValue((char *)"");
6171 }
6172 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxWindow *arg1 = (wxWindow *) 0 ;
6175 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6176 bool arg3 = (bool) True ;
6177 bool result;
6178 PyObject * obj0 = 0 ;
6179 PyObject * obj1 = 0 ;
6180 PyObject * obj2 = 0 ;
6181 char *kwnames[] = {
6182 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6183 };
6184
6185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6190 if (obj2) {
6191 arg3 = (bool) SWIG_AsBool(obj2);
6192 if (PyErr_Occurred()) SWIG_fail;
6193 }
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 result = (bool)wxShowTip(arg1,arg2,arg3);
6197
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 {
6202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6203 }
6204 return resultobj;
6205 fail:
6206 return NULL;
6207 }
6208
6209
6210 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj;
6212 wxString *arg1 = 0 ;
6213 size_t arg2 ;
6214 wxTipProvider *result;
6215 bool temp1 = False ;
6216 PyObject * obj0 = 0 ;
6217 PyObject * obj1 = 0 ;
6218 char *kwnames[] = {
6219 (char *) "filename",(char *) "currentTip", NULL
6220 };
6221
6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6223 {
6224 arg1 = wxString_in_helper(obj0);
6225 if (arg1 == NULL) SWIG_fail;
6226 temp1 = True;
6227 }
6228 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6238 {
6239 if (temp1)
6240 delete arg1;
6241 }
6242 return resultobj;
6243 fail:
6244 {
6245 if (temp1)
6246 delete arg1;
6247 }
6248 return NULL;
6249 }
6250
6251
6252 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6253 PyObject *resultobj;
6254 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6255 int arg2 = (int) -1 ;
6256 wxPyTimer *result;
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 char *kwnames[] = {
6260 (char *) "owner",(char *) "id", NULL
6261 };
6262
6263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6264 if (obj0) {
6265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6267 }
6268 if (obj1) {
6269 arg2 = (int) SWIG_AsInt(obj1);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6275
6276 wxPyEndAllowThreads(__tstate);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6280 return resultobj;
6281 fail:
6282 return NULL;
6283 }
6284
6285
6286 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6287 PyObject *resultobj;
6288 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6289 PyObject * obj0 = 0 ;
6290 char *kwnames[] = {
6291 (char *) "self", NULL
6292 };
6293
6294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6297 {
6298 PyThreadState* __tstate = wxPyBeginAllowThreads();
6299 delete arg1;
6300
6301 wxPyEndAllowThreads(__tstate);
6302 if (PyErr_Occurred()) SWIG_fail;
6303 }
6304 Py_INCREF(Py_None); resultobj = Py_None;
6305 return resultobj;
6306 fail:
6307 return NULL;
6308 }
6309
6310
6311 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6312 PyObject *resultobj;
6313 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6314 PyObject *arg2 = (PyObject *) 0 ;
6315 PyObject *arg3 = (PyObject *) 0 ;
6316 int arg4 = (int) 1 ;
6317 PyObject * obj0 = 0 ;
6318 PyObject * obj1 = 0 ;
6319 PyObject * obj2 = 0 ;
6320 PyObject * obj3 = 0 ;
6321 char *kwnames[] = {
6322 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6323 };
6324
6325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6328 arg2 = obj1;
6329 arg3 = obj2;
6330 if (obj3) {
6331 arg4 = (int) SWIG_AsInt(obj3);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 Py_INCREF(Py_None); resultobj = Py_None;
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6351 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6352 int arg3 = (int) -1 ;
6353 PyObject * obj0 = 0 ;
6354 PyObject * obj1 = 0 ;
6355 PyObject * obj2 = 0 ;
6356 char *kwnames[] = {
6357 (char *) "self",(char *) "owner",(char *) "id", NULL
6358 };
6359
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6365 if (obj2) {
6366 arg3 = (int) SWIG_AsInt(obj2);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 (arg1)->SetOwner(arg2,arg3);
6372
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
6376 Py_INCREF(Py_None); resultobj = Py_None;
6377 return resultobj;
6378 fail:
6379 return NULL;
6380 }
6381
6382
6383 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj;
6385 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6386 int arg2 = (int) -1 ;
6387 bool arg3 = (bool) False ;
6388 bool result;
6389 PyObject * obj0 = 0 ;
6390 PyObject * obj1 = 0 ;
6391 PyObject * obj2 = 0 ;
6392 char *kwnames[] = {
6393 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6394 };
6395
6396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6399 if (obj1) {
6400 arg2 = (int) SWIG_AsInt(obj1);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 if (obj2) {
6404 arg3 = (bool) SWIG_AsBool(obj2);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (bool)(arg1)->Start(arg2,arg3);
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
6414 {
6415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6416 }
6417 return resultobj;
6418 fail:
6419 return NULL;
6420 }
6421
6422
6423 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject *resultobj;
6425 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6426 PyObject * obj0 = 0 ;
6427 char *kwnames[] = {
6428 (char *) "self", NULL
6429 };
6430
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6434 {
6435 PyThreadState* __tstate = wxPyBeginAllowThreads();
6436 (arg1)->Stop();
6437
6438 wxPyEndAllowThreads(__tstate);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 }
6441 Py_INCREF(Py_None); resultobj = Py_None;
6442 return resultobj;
6443 fail:
6444 return NULL;
6445 }
6446
6447
6448 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6449 PyObject *resultobj;
6450 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6451 bool result;
6452 PyObject * obj0 = 0 ;
6453 char *kwnames[] = {
6454 (char *) "self", NULL
6455 };
6456
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6463
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 {
6468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6469 }
6470 return resultobj;
6471 fail:
6472 return NULL;
6473 }
6474
6475
6476 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6477 PyObject *resultobj;
6478 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6479 int result;
6480 PyObject * obj0 = 0 ;
6481 char *kwnames[] = {
6482 (char *) "self", NULL
6483 };
6484
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6491
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
6495 resultobj = SWIG_FromInt((int)result);
6496 return resultobj;
6497 fail:
6498 return NULL;
6499 }
6500
6501
6502 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6503 PyObject *resultobj;
6504 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6505 bool result;
6506 PyObject * obj0 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "self", NULL
6509 };
6510
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6514 {
6515 PyThreadState* __tstate = wxPyBeginAllowThreads();
6516 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6517
6518 wxPyEndAllowThreads(__tstate);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 }
6521 {
6522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6523 }
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj;
6532 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6533 int result;
6534 PyObject * obj0 = 0 ;
6535 char *kwnames[] = {
6536 (char *) "self", NULL
6537 };
6538
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6542 {
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (int)((wxPyTimer const *)arg1)->GetId();
6545
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 resultobj = SWIG_FromInt((int)result);
6550 return resultobj;
6551 fail:
6552 return NULL;
6553 }
6554
6555
6556 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6557 PyObject *obj;
6558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6559 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6560 Py_INCREF(obj);
6561 return Py_BuildValue((char *)"");
6562 }
6563 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject *resultobj;
6565 int arg1 = (int) 0 ;
6566 int arg2 = (int) 0 ;
6567 wxTimerEvent *result;
6568 PyObject * obj0 = 0 ;
6569 PyObject * obj1 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "timerid",(char *) "interval", NULL
6572 };
6573
6574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6575 if (obj0) {
6576 arg1 = (int) SWIG_AsInt(obj0);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 if (obj1) {
6580 arg2 = (int) SWIG_AsInt(obj1);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6586
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
6591 return resultobj;
6592 fail:
6593 return NULL;
6594 }
6595
6596
6597 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6598 PyObject *resultobj;
6599 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6600 int result;
6601 PyObject * obj0 = 0 ;
6602 char *kwnames[] = {
6603 (char *) "self", NULL
6604 };
6605
6606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 resultobj = SWIG_FromInt((int)result);
6617 return resultobj;
6618 fail:
6619 return NULL;
6620 }
6621
6622
6623 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6624 PyObject *obj;
6625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6626 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6627 Py_INCREF(obj);
6628 return Py_BuildValue((char *)"");
6629 }
6630 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6631 PyObject *resultobj;
6632 wxTimer *arg1 = 0 ;
6633 wxTimerRunner *result;
6634 PyObject * obj0 = 0 ;
6635
6636 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6638 SWIG_POINTER_EXCEPTION | 0)) == -1)
6639 SWIG_fail;
6640 if (arg1 == NULL) {
6641 PyErr_SetString(PyExc_TypeError,"null reference");
6642 SWIG_fail;
6643 }
6644 {
6645 PyThreadState* __tstate = wxPyBeginAllowThreads();
6646 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6647
6648 wxPyEndAllowThreads(__tstate);
6649 if (PyErr_Occurred()) SWIG_fail;
6650 }
6651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6652 return resultobj;
6653 fail:
6654 return NULL;
6655 }
6656
6657
6658 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6659 PyObject *resultobj;
6660 wxTimer *arg1 = 0 ;
6661 int arg2 ;
6662 bool arg3 = (bool) False ;
6663 wxTimerRunner *result;
6664 PyObject * obj0 = 0 ;
6665 PyObject * obj1 = 0 ;
6666 PyObject * obj2 = 0 ;
6667
6668 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6670 SWIG_POINTER_EXCEPTION | 0)) == -1)
6671 SWIG_fail;
6672 if (arg1 == NULL) {
6673 PyErr_SetString(PyExc_TypeError,"null reference");
6674 SWIG_fail;
6675 }
6676 arg2 = (int) SWIG_AsInt(obj1);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 if (obj2) {
6679 arg3 = (bool) SWIG_AsBool(obj2);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 {
6683 PyThreadState* __tstate = wxPyBeginAllowThreads();
6684 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6685
6686 wxPyEndAllowThreads(__tstate);
6687 if (PyErr_Occurred()) SWIG_fail;
6688 }
6689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6690 return resultobj;
6691 fail:
6692 return NULL;
6693 }
6694
6695
6696 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6697 int argc;
6698 PyObject *argv[4];
6699 int ii;
6700
6701 argc = PyObject_Length(args);
6702 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6703 argv[ii] = PyTuple_GetItem(args,ii);
6704 }
6705 if (argc == 1) {
6706 int _v;
6707 {
6708 void *ptr;
6709 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6710 _v = 0;
6711 PyErr_Clear();
6712 } else {
6713 _v = 1;
6714 }
6715 }
6716 if (_v) {
6717 return _wrap_new_TimerRunner__SWIG_0(self,args);
6718 }
6719 }
6720 if ((argc >= 2) && (argc <= 3)) {
6721 int _v;
6722 {
6723 void *ptr;
6724 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6725 _v = 0;
6726 PyErr_Clear();
6727 } else {
6728 _v = 1;
6729 }
6730 }
6731 if (_v) {
6732 _v = SWIG_CheckInt(argv[1]);
6733 if (_v) {
6734 if (argc <= 2) {
6735 return _wrap_new_TimerRunner__SWIG_1(self,args);
6736 }
6737 _v = SWIG_CheckBool(argv[2]);
6738 if (_v) {
6739 return _wrap_new_TimerRunner__SWIG_1(self,args);
6740 }
6741 }
6742 }
6743 }
6744
6745 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6746 return NULL;
6747 }
6748
6749
6750 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6751 PyObject *resultobj;
6752 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6753 PyObject * obj0 = 0 ;
6754 char *kwnames[] = {
6755 (char *) "self", NULL
6756 };
6757
6758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 delete arg1;
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 Py_INCREF(Py_None); resultobj = Py_None;
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj;
6777 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6778 int arg2 ;
6779 bool arg3 = (bool) False ;
6780 PyObject * obj0 = 0 ;
6781 PyObject * obj1 = 0 ;
6782 PyObject * obj2 = 0 ;
6783 char *kwnames[] = {
6784 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6785 };
6786
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6790 arg2 = (int) SWIG_AsInt(obj1);
6791 if (PyErr_Occurred()) SWIG_fail;
6792 if (obj2) {
6793 arg3 = (bool) SWIG_AsBool(obj2);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
6796 {
6797 PyThreadState* __tstate = wxPyBeginAllowThreads();
6798 (arg1)->Start(arg2,arg3);
6799
6800 wxPyEndAllowThreads(__tstate);
6801 if (PyErr_Occurred()) SWIG_fail;
6802 }
6803 Py_INCREF(Py_None); resultobj = Py_None;
6804 return resultobj;
6805 fail:
6806 return NULL;
6807 }
6808
6809
6810 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6811 PyObject *obj;
6812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6813 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6814 Py_INCREF(obj);
6815 return Py_BuildValue((char *)"");
6816 }
6817 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6818 PyObject *resultobj;
6819 wxLog *result;
6820 char *kwnames[] = {
6821 NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 result = (wxLog *)new wxLog();
6828
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
6833 return resultobj;
6834 fail:
6835 return NULL;
6836 }
6837
6838
6839 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6840 PyObject *resultobj;
6841 bool result;
6842 char *kwnames[] = {
6843 NULL
6844 };
6845
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6847 {
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 result = (bool)wxLog::IsEnabled();
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 {
6855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6856 }
6857 return resultobj;
6858 fail:
6859 return NULL;
6860 }
6861
6862
6863 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6864 PyObject *resultobj;
6865 bool arg1 = (bool) True ;
6866 bool result;
6867 PyObject * obj0 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "doIt", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6873 if (obj0) {
6874 arg1 = (bool) SWIG_AsBool(obj0);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (bool)wxLog::EnableLogging(arg1);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 {
6885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6886 }
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 wxLogLevel arg1 ;
6896 wxChar *arg2 = (wxChar *) 0 ;
6897 time_t arg3 ;
6898 PyObject * obj0 = 0 ;
6899 PyObject * obj1 = 0 ;
6900 PyObject * obj2 = 0 ;
6901 char *kwnames[] = {
6902 (char *) "level",(char *) "szString",(char *) "t", NULL
6903 };
6904
6905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6906 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
6909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6910 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 Py_INCREF(Py_None); resultobj = Py_None;
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxLog *arg1 = (wxLog *) 0 ;
6929 PyObject * obj0 = 0 ;
6930 char *kwnames[] = {
6931 (char *) "self", NULL
6932 };
6933
6934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
6936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 (arg1)->Flush();
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 Py_INCREF(Py_None); resultobj = Py_None;
6945 return resultobj;
6946 fail:
6947 return NULL;
6948 }
6949
6950
6951 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6952 PyObject *resultobj;
6953 char *kwnames[] = {
6954 NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 wxLog::FlushActive();
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 Py_INCREF(Py_None); resultobj = Py_None;
6966 return resultobj;
6967 fail:
6968 return NULL;
6969 }
6970
6971
6972 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj;
6974 wxLog *result;
6975 char *kwnames[] = {
6976 NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (wxLog *)wxLog::GetActiveTarget();
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
6988 return resultobj;
6989 fail:
6990 return NULL;
6991 }
6992
6993
6994 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxLog *arg1 = (wxLog *) 0 ;
6997 wxLog *result;
6998 PyObject * obj0 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "pLogger", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7014 return resultobj;
7015 fail:
7016 return NULL;
7017 }
7018
7019
7020 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 char *kwnames[] = {
7023 NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 wxLog::Suspend();
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 Py_INCREF(Py_None); resultobj = Py_None;
7035 return resultobj;
7036 fail:
7037 return NULL;
7038 }
7039
7040
7041 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj;
7043 char *kwnames[] = {
7044 NULL
7045 };
7046
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 wxLog::Resume();
7051
7052 wxPyEndAllowThreads(__tstate);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 }
7055 Py_INCREF(Py_None); resultobj = Py_None;
7056 return resultobj;
7057 fail:
7058 return NULL;
7059 }
7060
7061
7062 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7063 PyObject *resultobj;
7064 bool arg1 = (bool) True ;
7065 PyObject * obj0 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "bVerbose", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7071 if (obj0) {
7072 arg1 = (bool) SWIG_AsBool(obj0);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 {
7076 PyThreadState* __tstate = wxPyBeginAllowThreads();
7077 wxLog::SetVerbose(arg1);
7078
7079 wxPyEndAllowThreads(__tstate);
7080 if (PyErr_Occurred()) SWIG_fail;
7081 }
7082 Py_INCREF(Py_None); resultobj = Py_None;
7083 return resultobj;
7084 fail:
7085 return NULL;
7086 }
7087
7088
7089 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7090 PyObject *resultobj;
7091 wxLogLevel arg1 ;
7092 PyObject * obj0 = 0 ;
7093 char *kwnames[] = {
7094 (char *) "logLevel", NULL
7095 };
7096
7097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7098 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 wxLog::SetLogLevel(arg1);
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 Py_INCREF(Py_None); resultobj = Py_None;
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj;
7116 char *kwnames[] = {
7117 NULL
7118 };
7119
7120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7121 {
7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7123 wxLog::DontCreateOnDemand();
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 Py_INCREF(Py_None); resultobj = Py_None;
7129 return resultobj;
7130 fail:
7131 return NULL;
7132 }
7133
7134
7135 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7136 PyObject *resultobj;
7137 wxTraceMask arg1 ;
7138 PyObject * obj0 = 0 ;
7139 char *kwnames[] = {
7140 (char *) "ulMask", NULL
7141 };
7142
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7144 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 wxLog::SetTraceMask(arg1);
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 Py_INCREF(Py_None); resultobj = Py_None;
7154 return resultobj;
7155 fail:
7156 return NULL;
7157 }
7158
7159
7160 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj;
7162 wxString *arg1 = 0 ;
7163 bool temp1 = False ;
7164 PyObject * obj0 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "str", NULL
7167 };
7168
7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7170 {
7171 arg1 = wxString_in_helper(obj0);
7172 if (arg1 == NULL) SWIG_fail;
7173 temp1 = True;
7174 }
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 wxLog::AddTraceMask((wxString const &)*arg1);
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 Py_INCREF(Py_None); resultobj = Py_None;
7183 {
7184 if (temp1)
7185 delete arg1;
7186 }
7187 return resultobj;
7188 fail:
7189 {
7190 if (temp1)
7191 delete arg1;
7192 }
7193 return NULL;
7194 }
7195
7196
7197 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7198 PyObject *resultobj;
7199 wxString *arg1 = 0 ;
7200 bool temp1 = False ;
7201 PyObject * obj0 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "str", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7207 {
7208 arg1 = wxString_in_helper(obj0);
7209 if (arg1 == NULL) SWIG_fail;
7210 temp1 = True;
7211 }
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 wxLog::RemoveTraceMask((wxString const &)*arg1);
7215
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 Py_INCREF(Py_None); resultobj = Py_None;
7220 {
7221 if (temp1)
7222 delete arg1;
7223 }
7224 return resultobj;
7225 fail:
7226 {
7227 if (temp1)
7228 delete arg1;
7229 }
7230 return NULL;
7231 }
7232
7233
7234 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7235 PyObject *resultobj;
7236 char *kwnames[] = {
7237 NULL
7238 };
7239
7240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 wxLog::ClearTraceMasks();
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 Py_INCREF(Py_None); resultobj = Py_None;
7249 return resultobj;
7250 fail:
7251 return NULL;
7252 }
7253
7254
7255 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7256 PyObject *resultobj;
7257 wxArrayString *result;
7258 char *kwnames[] = {
7259 NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 {
7266 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7267 result = (wxArrayString *) &_result_ref;
7268 }
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 {
7274 resultobj = wxArrayString2PyList_helper(*result);
7275 }
7276 return resultobj;
7277 fail:
7278 return NULL;
7279 }
7280
7281
7282 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7283 PyObject *resultobj;
7284 wxChar *arg1 = (wxChar *) 0 ;
7285 PyObject * obj0 = 0 ;
7286 char *kwnames[] = {
7287 (char *) "ts", NULL
7288 };
7289
7290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7293 {
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 wxLog::SetTimestamp((wxChar const *)arg1);
7296
7297 wxPyEndAllowThreads(__tstate);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 }
7300 Py_INCREF(Py_None); resultobj = Py_None;
7301 return resultobj;
7302 fail:
7303 return NULL;
7304 }
7305
7306
7307 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7308 PyObject *resultobj;
7309 bool result;
7310 char *kwnames[] = {
7311 NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 result = (bool)wxLog::GetVerbose();
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 {
7323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7324 }
7325 return resultobj;
7326 fail:
7327 return NULL;
7328 }
7329
7330
7331 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7332 PyObject *resultobj;
7333 wxTraceMask result;
7334 char *kwnames[] = {
7335 NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 result = (wxTraceMask)wxLog::GetTraceMask();
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7347 return resultobj;
7348 fail:
7349 return NULL;
7350 }
7351
7352
7353 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7354 PyObject *resultobj;
7355 wxChar *arg1 = (wxChar *) 0 ;
7356 bool result;
7357 PyObject * obj0 = 0 ;
7358 char *kwnames[] = {
7359 (char *) "mask", NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7365 {
7366 PyThreadState* __tstate = wxPyBeginAllowThreads();
7367 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7368
7369 wxPyEndAllowThreads(__tstate);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 }
7372 {
7373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7374 }
7375 return resultobj;
7376 fail:
7377 return NULL;
7378 }
7379
7380
7381 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7382 PyObject *resultobj;
7383 wxLogLevel result;
7384 char *kwnames[] = {
7385 NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7389 {
7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
7391 result = (wxLogLevel)wxLog::GetLogLevel();
7392
7393 wxPyEndAllowThreads(__tstate);
7394 if (PyErr_Occurred()) SWIG_fail;
7395 }
7396 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7397 return resultobj;
7398 fail:
7399 return NULL;
7400 }
7401
7402
7403 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7404 PyObject *resultobj;
7405 wxChar *result;
7406 char *kwnames[] = {
7407 NULL
7408 };
7409
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 result = (wxChar *)wxLog::GetTimestamp();
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 }
7418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7419 return resultobj;
7420 fail:
7421 return NULL;
7422 }
7423
7424
7425 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 wxString result;
7428 char *kwnames[] = {
7429 NULL
7430 };
7431
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 result = Log_TimeStamp();
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 {
7441 #if wxUSE_UNICODE
7442 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7443 #else
7444 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7445 #endif
7446 }
7447 return resultobj;
7448 fail:
7449 return NULL;
7450 }
7451
7452
7453 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj;
7455 wxLog *arg1 = (wxLog *) 0 ;
7456 PyObject * obj0 = 0 ;
7457 char *kwnames[] = {
7458 (char *) "self", NULL
7459 };
7460
7461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7464 {
7465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7466 wxLog_Destroy(arg1);
7467
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
7471 Py_INCREF(Py_None); resultobj = Py_None;
7472 return resultobj;
7473 fail:
7474 return NULL;
7475 }
7476
7477
7478 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7479 PyObject *obj;
7480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7481 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7482 Py_INCREF(obj);
7483 return Py_BuildValue((char *)"");
7484 }
7485 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7486 PyObject *resultobj;
7487 wxLogStderr *result;
7488 char *kwnames[] = {
7489 NULL
7490 };
7491
7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7493 {
7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7495 result = (wxLogStderr *)new wxLogStderr();
7496
7497 wxPyEndAllowThreads(__tstate);
7498 if (PyErr_Occurred()) SWIG_fail;
7499 }
7500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
7501 return resultobj;
7502 fail:
7503 return NULL;
7504 }
7505
7506
7507 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7508 PyObject *obj;
7509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7510 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7511 Py_INCREF(obj);
7512 return Py_BuildValue((char *)"");
7513 }
7514 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7515 PyObject *resultobj;
7516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7517 wxLogTextCtrl *result;
7518 PyObject * obj0 = 0 ;
7519 char *kwnames[] = {
7520 (char *) "pTextCtrl", NULL
7521 };
7522
7523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7526 {
7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
7528 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7529
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 }
7533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
7534 return resultobj;
7535 fail:
7536 return NULL;
7537 }
7538
7539
7540 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7541 PyObject *obj;
7542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7543 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7544 Py_INCREF(obj);
7545 return Py_BuildValue((char *)"");
7546 }
7547 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7548 PyObject *resultobj;
7549 wxLogGui *result;
7550 char *kwnames[] = {
7551 NULL
7552 };
7553
7554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 result = (wxLogGui *)new wxLogGui();
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
7563 return resultobj;
7564 fail:
7565 return NULL;
7566 }
7567
7568
7569 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7570 PyObject *obj;
7571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7572 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7573 Py_INCREF(obj);
7574 return Py_BuildValue((char *)"");
7575 }
7576 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxFrame *arg1 = (wxFrame *) 0 ;
7579 wxString *arg2 = 0 ;
7580 bool arg3 = (bool) True ;
7581 bool arg4 = (bool) True ;
7582 wxLogWindow *result;
7583 bool temp2 = False ;
7584 PyObject * obj0 = 0 ;
7585 PyObject * obj1 = 0 ;
7586 PyObject * obj2 = 0 ;
7587 PyObject * obj3 = 0 ;
7588 char *kwnames[] = {
7589 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7590 };
7591
7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7595 {
7596 arg2 = wxString_in_helper(obj1);
7597 if (arg2 == NULL) SWIG_fail;
7598 temp2 = True;
7599 }
7600 if (obj2) {
7601 arg3 = (bool) SWIG_AsBool(obj2);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 if (obj3) {
7605 arg4 = (bool) SWIG_AsBool(obj3);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 {
7609 PyThreadState* __tstate = wxPyBeginAllowThreads();
7610 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7611
7612 wxPyEndAllowThreads(__tstate);
7613 if (PyErr_Occurred()) SWIG_fail;
7614 }
7615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
7616 {
7617 if (temp2)
7618 delete arg2;
7619 }
7620 return resultobj;
7621 fail:
7622 {
7623 if (temp2)
7624 delete arg2;
7625 }
7626 return NULL;
7627 }
7628
7629
7630 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj;
7632 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7633 bool arg2 = (bool) True ;
7634 PyObject * obj0 = 0 ;
7635 PyObject * obj1 = 0 ;
7636 char *kwnames[] = {
7637 (char *) "self",(char *) "bShow", NULL
7638 };
7639
7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7643 if (obj1) {
7644 arg2 = (bool) SWIG_AsBool(obj1);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 (arg1)->Show(arg2);
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 Py_INCREF(Py_None); resultobj = Py_None;
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7664 wxFrame *result;
7665 PyObject * obj0 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 {
7681 resultobj = wxPyMake_wxObject(result);
7682 }
7683 return resultobj;
7684 fail:
7685 return NULL;
7686 }
7687
7688
7689 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7690 PyObject *resultobj;
7691 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7692 wxLog *result;
7693 PyObject * obj0 = 0 ;
7694 char *kwnames[] = {
7695 (char *) "self", NULL
7696 };
7697
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7709 return resultobj;
7710 fail:
7711 return NULL;
7712 }
7713
7714
7715 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7718 bool result;
7719 PyObject * obj0 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 {
7735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7736 }
7737 return resultobj;
7738 fail:
7739 return NULL;
7740 }
7741
7742
7743 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7746 bool arg2 ;
7747 PyObject * obj0 = 0 ;
7748 PyObject * obj1 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self",(char *) "bDoPass", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7756 arg2 = (bool) SWIG_AsBool(obj1);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
7760 (arg1)->PassMessages(arg2);
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
7765 Py_INCREF(Py_None); resultobj = Py_None;
7766 return resultobj;
7767 fail:
7768 return NULL;
7769 }
7770
7771
7772 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7773 PyObject *obj;
7774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7775 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7776 Py_INCREF(obj);
7777 return Py_BuildValue((char *)"");
7778 }
7779 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj;
7781 wxLog *arg1 = (wxLog *) 0 ;
7782 wxLogChain *result;
7783 PyObject * obj0 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "logger", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (wxLogChain *)new wxLogChain(arg1);
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxLogChain *arg1 = (wxLogChain *) 0 ;
7808 wxLog *arg2 = (wxLog *) 0 ;
7809 PyObject * obj0 = 0 ;
7810 PyObject * obj1 = 0 ;
7811 char *kwnames[] = {
7812 (char *) "self",(char *) "logger", NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
7819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 (arg1)->SetLog(arg2);
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 Py_INCREF(Py_None); resultobj = Py_None;
7828 return resultobj;
7829 fail:
7830 return NULL;
7831 }
7832
7833
7834 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7835 PyObject *resultobj;
7836 wxLogChain *arg1 = (wxLogChain *) 0 ;
7837 bool arg2 ;
7838 PyObject * obj0 = 0 ;
7839 PyObject * obj1 = 0 ;
7840 char *kwnames[] = {
7841 (char *) "self",(char *) "bDoPass", NULL
7842 };
7843
7844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7847 arg2 = (bool) SWIG_AsBool(obj1);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 (arg1)->PassMessages(arg2);
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 Py_INCREF(Py_None); resultobj = Py_None;
7857 return resultobj;
7858 fail:
7859 return NULL;
7860 }
7861
7862
7863 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7864 PyObject *resultobj;
7865 wxLogChain *arg1 = (wxLogChain *) 0 ;
7866 bool result;
7867 PyObject * obj0 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 result = (bool)(arg1)->IsPassingMessages();
7878
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 {
7883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7884 }
7885 return resultobj;
7886 fail:
7887 return NULL;
7888 }
7889
7890
7891 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7892 PyObject *resultobj;
7893 wxLogChain *arg1 = (wxLogChain *) 0 ;
7894 wxLog *result;
7895 PyObject * obj0 = 0 ;
7896 char *kwnames[] = {
7897 (char *) "self", NULL
7898 };
7899
7900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 result = (wxLog *)(arg1)->GetOldLog();
7906
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7911 return resultobj;
7912 fail:
7913 return NULL;
7914 }
7915
7916
7917 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7918 PyObject *obj;
7919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7920 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7921 Py_INCREF(obj);
7922 return Py_BuildValue((char *)"");
7923 }
7924 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 unsigned long result;
7927 char *kwnames[] = {
7928 NULL
7929 };
7930
7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 result = (unsigned long)wxSysErrorCode();
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7940 return resultobj;
7941 fail:
7942 return NULL;
7943 }
7944
7945
7946 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7947 PyObject *resultobj;
7948 unsigned long arg1 = (unsigned long) 0 ;
7949 wxString result;
7950 PyObject * obj0 = 0 ;
7951 char *kwnames[] = {
7952 (char *) "nErrCode", NULL
7953 };
7954
7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7956 if (obj0) {
7957 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
7958 if (PyErr_Occurred()) SWIG_fail;
7959 }
7960 {
7961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7962 result = wxSysErrorMsg(arg1);
7963
7964 wxPyEndAllowThreads(__tstate);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
7967 {
7968 #if wxUSE_UNICODE
7969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7970 #else
7971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7972 #endif
7973 }
7974 return resultobj;
7975 fail:
7976 return NULL;
7977 }
7978
7979
7980 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7981 PyObject *resultobj;
7982 wxString *arg1 = 0 ;
7983 bool temp1 = False ;
7984 PyObject * obj0 = 0 ;
7985 char *kwnames[] = {
7986 (char *) "msg", NULL
7987 };
7988
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7990 {
7991 arg1 = wxString_in_helper(obj0);
7992 if (arg1 == NULL) SWIG_fail;
7993 temp1 = True;
7994 }
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 wxLogFatalError((wxString const &)*arg1);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 Py_INCREF(Py_None); resultobj = Py_None;
8003 {
8004 if (temp1)
8005 delete arg1;
8006 }
8007 return resultobj;
8008 fail:
8009 {
8010 if (temp1)
8011 delete arg1;
8012 }
8013 return NULL;
8014 }
8015
8016
8017 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
8018 PyObject *resultobj;
8019 wxString *arg1 = 0 ;
8020 bool temp1 = False ;
8021 PyObject * obj0 = 0 ;
8022 char *kwnames[] = {
8023 (char *) "msg", NULL
8024 };
8025
8026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8027 {
8028 arg1 = wxString_in_helper(obj0);
8029 if (arg1 == NULL) SWIG_fail;
8030 temp1 = True;
8031 }
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 wxLogError((wxString const &)*arg1);
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 Py_INCREF(Py_None); resultobj = Py_None;
8040 {
8041 if (temp1)
8042 delete arg1;
8043 }
8044 return resultobj;
8045 fail:
8046 {
8047 if (temp1)
8048 delete arg1;
8049 }
8050 return NULL;
8051 }
8052
8053
8054 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
8055 PyObject *resultobj;
8056 wxString *arg1 = 0 ;
8057 bool temp1 = False ;
8058 PyObject * obj0 = 0 ;
8059 char *kwnames[] = {
8060 (char *) "msg", NULL
8061 };
8062
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8064 {
8065 arg1 = wxString_in_helper(obj0);
8066 if (arg1 == NULL) SWIG_fail;
8067 temp1 = True;
8068 }
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 wxLogWarning((wxString const &)*arg1);
8072
8073 wxPyEndAllowThreads(__tstate);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
8076 Py_INCREF(Py_None); resultobj = Py_None;
8077 {
8078 if (temp1)
8079 delete arg1;
8080 }
8081 return resultobj;
8082 fail:
8083 {
8084 if (temp1)
8085 delete arg1;
8086 }
8087 return NULL;
8088 }
8089
8090
8091 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8092 PyObject *resultobj;
8093 wxString *arg1 = 0 ;
8094 bool temp1 = False ;
8095 PyObject * obj0 = 0 ;
8096 char *kwnames[] = {
8097 (char *) "msg", NULL
8098 };
8099
8100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8101 {
8102 arg1 = wxString_in_helper(obj0);
8103 if (arg1 == NULL) SWIG_fail;
8104 temp1 = True;
8105 }
8106 {
8107 PyThreadState* __tstate = wxPyBeginAllowThreads();
8108 wxLogMessage((wxString const &)*arg1);
8109
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) SWIG_fail;
8112 }
8113 Py_INCREF(Py_None); resultobj = Py_None;
8114 {
8115 if (temp1)
8116 delete arg1;
8117 }
8118 return resultobj;
8119 fail:
8120 {
8121 if (temp1)
8122 delete arg1;
8123 }
8124 return NULL;
8125 }
8126
8127
8128 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8129 PyObject *resultobj;
8130 wxString *arg1 = 0 ;
8131 bool temp1 = False ;
8132 PyObject * obj0 = 0 ;
8133 char *kwnames[] = {
8134 (char *) "msg", NULL
8135 };
8136
8137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8138 {
8139 arg1 = wxString_in_helper(obj0);
8140 if (arg1 == NULL) SWIG_fail;
8141 temp1 = True;
8142 }
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 wxLogInfo((wxString const &)*arg1);
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 Py_INCREF(Py_None); resultobj = Py_None;
8151 {
8152 if (temp1)
8153 delete arg1;
8154 }
8155 return resultobj;
8156 fail:
8157 {
8158 if (temp1)
8159 delete arg1;
8160 }
8161 return NULL;
8162 }
8163
8164
8165 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
8166 PyObject *resultobj;
8167 wxString *arg1 = 0 ;
8168 bool temp1 = False ;
8169 PyObject * obj0 = 0 ;
8170 char *kwnames[] = {
8171 (char *) "msg", NULL
8172 };
8173
8174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8175 {
8176 arg1 = wxString_in_helper(obj0);
8177 if (arg1 == NULL) SWIG_fail;
8178 temp1 = True;
8179 }
8180 {
8181 PyThreadState* __tstate = wxPyBeginAllowThreads();
8182 wxLogDebug((wxString const &)*arg1);
8183
8184 wxPyEndAllowThreads(__tstate);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 }
8187 Py_INCREF(Py_None); resultobj = Py_None;
8188 {
8189 if (temp1)
8190 delete arg1;
8191 }
8192 return resultobj;
8193 fail:
8194 {
8195 if (temp1)
8196 delete arg1;
8197 }
8198 return NULL;
8199 }
8200
8201
8202 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8203 PyObject *resultobj;
8204 wxString *arg1 = 0 ;
8205 bool temp1 = False ;
8206 PyObject * obj0 = 0 ;
8207 char *kwnames[] = {
8208 (char *) "msg", NULL
8209 };
8210
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8212 {
8213 arg1 = wxString_in_helper(obj0);
8214 if (arg1 == NULL) SWIG_fail;
8215 temp1 = True;
8216 }
8217 {
8218 PyThreadState* __tstate = wxPyBeginAllowThreads();
8219 wxLogVerbose((wxString const &)*arg1);
8220
8221 wxPyEndAllowThreads(__tstate);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
8224 Py_INCREF(Py_None); resultobj = Py_None;
8225 {
8226 if (temp1)
8227 delete arg1;
8228 }
8229 return resultobj;
8230 fail:
8231 {
8232 if (temp1)
8233 delete arg1;
8234 }
8235 return NULL;
8236 }
8237
8238
8239 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8240 PyObject *resultobj;
8241 wxString *arg1 = 0 ;
8242 bool temp1 = False ;
8243 PyObject * obj0 = 0 ;
8244 char *kwnames[] = {
8245 (char *) "msg", NULL
8246 };
8247
8248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8249 {
8250 arg1 = wxString_in_helper(obj0);
8251 if (arg1 == NULL) SWIG_fail;
8252 temp1 = True;
8253 }
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8256 wxLogStatus((wxString const &)*arg1);
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 Py_INCREF(Py_None); resultobj = Py_None;
8262 {
8263 if (temp1)
8264 delete arg1;
8265 }
8266 return resultobj;
8267 fail:
8268 {
8269 if (temp1)
8270 delete arg1;
8271 }
8272 return NULL;
8273 }
8274
8275
8276 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8277 PyObject *resultobj;
8278 wxFrame *arg1 = (wxFrame *) 0 ;
8279 wxString *arg2 = 0 ;
8280 bool temp2 = False ;
8281 PyObject * obj0 = 0 ;
8282 PyObject * obj1 = 0 ;
8283 char *kwnames[] = {
8284 (char *) "pFrame",(char *) "msg", NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8290 {
8291 arg2 = wxString_in_helper(obj1);
8292 if (arg2 == NULL) SWIG_fail;
8293 temp2 = True;
8294 }
8295 {
8296 PyThreadState* __tstate = wxPyBeginAllowThreads();
8297 wxLogStatus(arg1,(wxString const &)*arg2);
8298
8299 wxPyEndAllowThreads(__tstate);
8300 if (PyErr_Occurred()) SWIG_fail;
8301 }
8302 Py_INCREF(Py_None); resultobj = Py_None;
8303 {
8304 if (temp2)
8305 delete arg2;
8306 }
8307 return resultobj;
8308 fail:
8309 {
8310 if (temp2)
8311 delete arg2;
8312 }
8313 return NULL;
8314 }
8315
8316
8317 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8318 PyObject *resultobj;
8319 wxString *arg1 = 0 ;
8320 bool temp1 = False ;
8321 PyObject * obj0 = 0 ;
8322 char *kwnames[] = {
8323 (char *) "msg", NULL
8324 };
8325
8326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8327 {
8328 arg1 = wxString_in_helper(obj0);
8329 if (arg1 == NULL) SWIG_fail;
8330 temp1 = True;
8331 }
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 wxLogSysError((wxString const &)*arg1);
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 Py_INCREF(Py_None); resultobj = Py_None;
8340 {
8341 if (temp1)
8342 delete arg1;
8343 }
8344 return resultobj;
8345 fail:
8346 {
8347 if (temp1)
8348 delete arg1;
8349 }
8350 return NULL;
8351 }
8352
8353
8354 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
8355 PyObject *resultobj;
8356 unsigned long arg1 ;
8357 wxString *arg2 = 0 ;
8358 bool temp2 = False ;
8359 PyObject * obj0 = 0 ;
8360 PyObject * obj1 = 0 ;
8361
8362 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8363 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 {
8366 arg2 = wxString_in_helper(obj1);
8367 if (arg2 == NULL) SWIG_fail;
8368 temp2 = True;
8369 }
8370 {
8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
8372 wxLogTrace(arg1,(wxString const &)*arg2);
8373
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
8377 Py_INCREF(Py_None); resultobj = Py_None;
8378 {
8379 if (temp2)
8380 delete arg2;
8381 }
8382 return resultobj;
8383 fail:
8384 {
8385 if (temp2)
8386 delete arg2;
8387 }
8388 return NULL;
8389 }
8390
8391
8392 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
8393 PyObject *resultobj;
8394 wxString *arg1 = 0 ;
8395 wxString *arg2 = 0 ;
8396 bool temp1 = False ;
8397 bool temp2 = False ;
8398 PyObject * obj0 = 0 ;
8399 PyObject * obj1 = 0 ;
8400
8401 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8402 {
8403 arg1 = wxString_in_helper(obj0);
8404 if (arg1 == NULL) SWIG_fail;
8405 temp1 = True;
8406 }
8407 {
8408 arg2 = wxString_in_helper(obj1);
8409 if (arg2 == NULL) SWIG_fail;
8410 temp2 = True;
8411 }
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 Py_INCREF(Py_None); resultobj = Py_None;
8420 {
8421 if (temp1)
8422 delete arg1;
8423 }
8424 {
8425 if (temp2)
8426 delete arg2;
8427 }
8428 return resultobj;
8429 fail:
8430 {
8431 if (temp1)
8432 delete arg1;
8433 }
8434 {
8435 if (temp2)
8436 delete arg2;
8437 }
8438 return NULL;
8439 }
8440
8441
8442 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8443 int argc;
8444 PyObject *argv[3];
8445 int ii;
8446
8447 argc = PyObject_Length(args);
8448 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8449 argv[ii] = PyTuple_GetItem(args,ii);
8450 }
8451 if (argc == 2) {
8452 int _v;
8453 {
8454 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8455 }
8456 if (_v) {
8457 {
8458 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8459 }
8460 if (_v) {
8461 return _wrap_LogTrace__SWIG_1(self,args);
8462 }
8463 }
8464 }
8465 if (argc == 2) {
8466 int _v;
8467 _v = SWIG_CheckUnsignedLong(argv[0]);
8468 if (_v) {
8469 {
8470 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8471 }
8472 if (_v) {
8473 return _wrap_LogTrace__SWIG_0(self,args);
8474 }
8475 }
8476 }
8477
8478 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8479 return NULL;
8480 }
8481
8482
8483 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8484 PyObject *resultobj;
8485 unsigned long arg1 ;
8486 wxString *arg2 = 0 ;
8487 bool temp2 = False ;
8488 PyObject * obj0 = 0 ;
8489 PyObject * obj1 = 0 ;
8490 char *kwnames[] = {
8491 (char *) "level",(char *) "msg", NULL
8492 };
8493
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8495 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 {
8498 arg2 = wxString_in_helper(obj1);
8499 if (arg2 == NULL) SWIG_fail;
8500 temp2 = True;
8501 }
8502 {
8503 PyThreadState* __tstate = wxPyBeginAllowThreads();
8504 wxLogGeneric(arg1,(wxString const &)*arg2);
8505
8506 wxPyEndAllowThreads(__tstate);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
8509 Py_INCREF(Py_None); resultobj = Py_None;
8510 {
8511 if (temp2)
8512 delete arg2;
8513 }
8514 return resultobj;
8515 fail:
8516 {
8517 if (temp2)
8518 delete arg2;
8519 }
8520 return NULL;
8521 }
8522
8523
8524 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj;
8526 wxString *arg1 = 0 ;
8527 wxString *arg2 = 0 ;
8528 bool temp1 = False ;
8529 bool temp2 = False ;
8530 PyObject * obj0 = 0 ;
8531 PyObject * obj1 = 0 ;
8532 char *kwnames[] = {
8533 (char *) "title",(char *) "text", NULL
8534 };
8535
8536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8537 {
8538 arg1 = wxString_in_helper(obj0);
8539 if (arg1 == NULL) SWIG_fail;
8540 temp1 = True;
8541 }
8542 {
8543 arg2 = wxString_in_helper(obj1);
8544 if (arg2 == NULL) SWIG_fail;
8545 temp2 = True;
8546 }
8547 {
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 Py_INCREF(Py_None); resultobj = Py_None;
8555 {
8556 if (temp1)
8557 delete arg1;
8558 }
8559 {
8560 if (temp2)
8561 delete arg2;
8562 }
8563 return resultobj;
8564 fail:
8565 {
8566 if (temp1)
8567 delete arg1;
8568 }
8569 {
8570 if (temp2)
8571 delete arg2;
8572 }
8573 return NULL;
8574 }
8575
8576
8577 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxLogNull *result;
8580 char *kwnames[] = {
8581 NULL
8582 };
8583
8584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8585 {
8586 PyThreadState* __tstate = wxPyBeginAllowThreads();
8587 result = (wxLogNull *)new wxLogNull();
8588
8589 wxPyEndAllowThreads(__tstate);
8590 if (PyErr_Occurred()) SWIG_fail;
8591 }
8592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
8593 return resultobj;
8594 fail:
8595 return NULL;
8596 }
8597
8598
8599 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8600 PyObject *resultobj;
8601 wxLogNull *arg1 = (wxLogNull *) 0 ;
8602 PyObject * obj0 = 0 ;
8603 char *kwnames[] = {
8604 (char *) "self", NULL
8605 };
8606
8607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 delete arg1;
8613
8614 wxPyEndAllowThreads(__tstate);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 }
8617 Py_INCREF(Py_None); resultobj = Py_None;
8618 return resultobj;
8619 fail:
8620 return NULL;
8621 }
8622
8623
8624 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8625 PyObject *obj;
8626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8627 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8628 Py_INCREF(obj);
8629 return Py_BuildValue((char *)"");
8630 }
8631 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8632 PyObject *resultobj;
8633 wxPyLog *result;
8634 char *kwnames[] = {
8635 NULL
8636 };
8637
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8639 {
8640 PyThreadState* __tstate = wxPyBeginAllowThreads();
8641 result = (wxPyLog *)new wxPyLog();
8642
8643 wxPyEndAllowThreads(__tstate);
8644 if (PyErr_Occurred()) SWIG_fail;
8645 }
8646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
8647 return resultobj;
8648 fail:
8649 return NULL;
8650 }
8651
8652
8653 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8654 PyObject *resultobj;
8655 wxPyLog *arg1 = (wxPyLog *) 0 ;
8656 PyObject *arg2 = (PyObject *) 0 ;
8657 PyObject *arg3 = (PyObject *) 0 ;
8658 PyObject * obj0 = 0 ;
8659 PyObject * obj1 = 0 ;
8660 PyObject * obj2 = 0 ;
8661 char *kwnames[] = {
8662 (char *) "self",(char *) "self",(char *) "_class", NULL
8663 };
8664
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8668 arg2 = obj1;
8669 arg3 = obj2;
8670 {
8671 PyThreadState* __tstate = wxPyBeginAllowThreads();
8672 (arg1)->_setCallbackInfo(arg2,arg3);
8673
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 Py_INCREF(Py_None); resultobj = Py_None;
8678 return resultobj;
8679 fail:
8680 return NULL;
8681 }
8682
8683
8684 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8685 PyObject *obj;
8686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8687 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8688 Py_INCREF(obj);
8689 return Py_BuildValue((char *)"");
8690 }
8691 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8692 PyObject *resultobj;
8693 int arg1 ;
8694 int arg2 = (int) wxSIGTERM ;
8695 int result;
8696 PyObject * obj0 = 0 ;
8697 PyObject * obj1 = 0 ;
8698 char *kwnames[] = {
8699 (char *) "pid",(char *) "sig", NULL
8700 };
8701
8702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8703 arg1 = (int) SWIG_AsInt(obj0);
8704 if (PyErr_Occurred()) SWIG_fail;
8705 if (obj1) {
8706 arg2 = (wxSignal) SWIG_AsInt(obj1);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 resultobj = SWIG_FromInt((int)result);
8717 return resultobj;
8718 fail:
8719 return NULL;
8720 }
8721
8722
8723 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj;
8725 int arg1 ;
8726 bool result;
8727 PyObject * obj0 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "pid", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
8733 arg1 = (int) SWIG_AsInt(obj0);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = (bool)wxPyProcess::Exists(arg1);
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 {
8743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8744 }
8745 return resultobj;
8746 fail:
8747 return NULL;
8748 }
8749
8750
8751 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj;
8753 wxString *arg1 = 0 ;
8754 int arg2 = (int) wxEXEC_ASYNC ;
8755 wxPyProcess *result;
8756 bool temp1 = False ;
8757 PyObject * obj0 = 0 ;
8758 PyObject * obj1 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "cmd",(char *) "flags", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
8764 {
8765 arg1 = wxString_in_helper(obj0);
8766 if (arg1 == NULL) SWIG_fail;
8767 temp1 = True;
8768 }
8769 if (obj1) {
8770 arg2 = (int) SWIG_AsInt(obj1);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8776
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
8781 {
8782 if (temp1)
8783 delete arg1;
8784 }
8785 return resultobj;
8786 fail:
8787 {
8788 if (temp1)
8789 delete arg1;
8790 }
8791 return NULL;
8792 }
8793
8794
8795 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj;
8797 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8798 int arg2 = (int) -1 ;
8799 wxPyProcess *result;
8800 PyObject * obj0 = 0 ;
8801 PyObject * obj1 = 0 ;
8802 char *kwnames[] = {
8803 (char *) "parent",(char *) "id", NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
8807 if (obj0) {
8808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
8809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8810 }
8811 if (obj1) {
8812 arg2 = (int) SWIG_AsInt(obj1);
8813 if (PyErr_Occurred()) SWIG_fail;
8814 }
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
8823 return resultobj;
8824 fail:
8825 return NULL;
8826 }
8827
8828
8829 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8832 PyObject *arg2 = (PyObject *) 0 ;
8833 PyObject *arg3 = (PyObject *) 0 ;
8834 PyObject * obj0 = 0 ;
8835 PyObject * obj1 = 0 ;
8836 PyObject * obj2 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self",(char *) "self",(char *) "_class", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8844 arg2 = obj1;
8845 arg3 = obj2;
8846 {
8847 PyThreadState* __tstate = wxPyBeginAllowThreads();
8848 (arg1)->_setCallbackInfo(arg2,arg3);
8849
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) SWIG_fail;
8852 }
8853 Py_INCREF(Py_None); resultobj = Py_None;
8854 return resultobj;
8855 fail:
8856 return NULL;
8857 }
8858
8859
8860 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8861 PyObject *resultobj;
8862 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8863 int arg2 ;
8864 int arg3 ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 PyObject * obj2 = 0 ;
8868 char *kwnames[] = {
8869 (char *) "self",(char *) "pid",(char *) "status", NULL
8870 };
8871
8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
8873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8875 arg2 = (int) SWIG_AsInt(obj1);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 arg3 = (int) SWIG_AsInt(obj2);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 (arg1)->base_OnTerminate(arg2,arg3);
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 Py_INCREF(Py_None); resultobj = Py_None;
8887 return resultobj;
8888 fail:
8889 return NULL;
8890 }
8891
8892
8893 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8894 PyObject *resultobj;
8895 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8896 PyObject * obj0 = 0 ;
8897 char *kwnames[] = {
8898 (char *) "self", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 (arg1)->Redirect();
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 Py_INCREF(Py_None); resultobj = Py_None;
8912 return resultobj;
8913 fail:
8914 return NULL;
8915 }
8916
8917
8918 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8919 PyObject *resultobj;
8920 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8921 bool result;
8922 PyObject * obj0 = 0 ;
8923 char *kwnames[] = {
8924 (char *) "self", NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 result = (bool)(arg1)->IsRedirected();
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 {
8938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8939 }
8940 return resultobj;
8941 fail:
8942 return NULL;
8943 }
8944
8945
8946 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8947 PyObject *resultobj;
8948 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8949 PyObject * obj0 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self", NULL
8952 };
8953
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 (arg1)->Detach();
8960
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 Py_INCREF(Py_None); resultobj = Py_None;
8965 return resultobj;
8966 fail:
8967 return NULL;
8968 }
8969
8970
8971 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8974 wxInputStream *result;
8975 PyObject * obj0 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8985 result = (wxInputStream *)(arg1)->GetInputStream();
8986
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
8990 {
8991 wxPyInputStream * _ptr = NULL;
8992
8993 if (result) {
8994 _ptr = new wxPyInputStream(result);
8995 }
8996 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8997 }
8998 return resultobj;
8999 fail:
9000 return NULL;
9001 }
9002
9003
9004 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9005 PyObject *resultobj;
9006 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9007 wxInputStream *result;
9008 PyObject * obj0 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self", NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 result = (wxInputStream *)(arg1)->GetErrorStream();
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 {
9024 wxPyInputStream * _ptr = NULL;
9025
9026 if (result) {
9027 _ptr = new wxPyInputStream(result);
9028 }
9029 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9030 }
9031 return resultobj;
9032 fail:
9033 return NULL;
9034 }
9035
9036
9037 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9038 PyObject *resultobj;
9039 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9040 wxOutputStream *result;
9041 PyObject * obj0 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "self", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 result = (wxOutputStream *)(arg1)->GetOutputStream();
9052
9053 wxPyEndAllowThreads(__tstate);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 }
9056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9057 return resultobj;
9058 fail:
9059 return NULL;
9060 }
9061
9062
9063 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
9064 PyObject *resultobj;
9065 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9066 PyObject * obj0 = 0 ;
9067 char *kwnames[] = {
9068 (char *) "self", NULL
9069 };
9070
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 (arg1)->CloseOutput();
9077
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 Py_INCREF(Py_None); resultobj = Py_None;
9082 return resultobj;
9083 fail:
9084 return NULL;
9085 }
9086
9087
9088 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
9089 PyObject *resultobj;
9090 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9091 bool result;
9092 PyObject * obj0 = 0 ;
9093 char *kwnames[] = {
9094 (char *) "self", NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 {
9108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9109 }
9110 return resultobj;
9111 fail:
9112 return NULL;
9113 }
9114
9115
9116 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9117 PyObject *resultobj;
9118 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9119 bool result;
9120 PyObject * obj0 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "self", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9131
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 {
9136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9137 }
9138 return resultobj;
9139 fail:
9140 return NULL;
9141 }
9142
9143
9144 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9145 PyObject *resultobj;
9146 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9147 bool result;
9148 PyObject * obj0 = 0 ;
9149 char *kwnames[] = {
9150 (char *) "self", NULL
9151 };
9152
9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 {
9164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9165 }
9166 return resultobj;
9167 fail:
9168 return NULL;
9169 }
9170
9171
9172 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
9173 PyObject *obj;
9174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9175 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9176 Py_INCREF(obj);
9177 return Py_BuildValue((char *)"");
9178 }
9179 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9180 PyObject *resultobj;
9181 int arg1 = (int) 0 ;
9182 int arg2 = (int) 0 ;
9183 int arg3 = (int) 0 ;
9184 wxProcessEvent *result;
9185 PyObject * obj0 = 0 ;
9186 PyObject * obj1 = 0 ;
9187 PyObject * obj2 = 0 ;
9188 char *kwnames[] = {
9189 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9190 };
9191
9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9193 if (obj0) {
9194 arg1 = (int) SWIG_AsInt(obj0);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 if (obj1) {
9198 arg2 = (int) SWIG_AsInt(obj1);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
9201 if (obj2) {
9202 arg3 = (int) SWIG_AsInt(obj2);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9208
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9213 return resultobj;
9214 fail:
9215 return NULL;
9216 }
9217
9218
9219 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9220 PyObject *resultobj;
9221 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9222 int result;
9223 PyObject * obj0 = 0 ;
9224 char *kwnames[] = {
9225 (char *) "self", NULL
9226 };
9227
9228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 result = (int)(arg1)->GetPid();
9234
9235 wxPyEndAllowThreads(__tstate);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 resultobj = SWIG_FromInt((int)result);
9239 return resultobj;
9240 fail:
9241 return NULL;
9242 }
9243
9244
9245 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject *resultobj;
9247 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9248 int result;
9249 PyObject * obj0 = 0 ;
9250 char *kwnames[] = {
9251 (char *) "self", NULL
9252 };
9253
9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 result = (int)(arg1)->GetExitCode();
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 resultobj = SWIG_FromInt((int)result);
9265 return resultobj;
9266 fail:
9267 return NULL;
9268 }
9269
9270
9271 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj;
9273 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9274 int arg2 ;
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 char *kwnames[] = {
9278 (char *) "self",(char *) "m_pid", NULL
9279 };
9280
9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9284 arg2 = (int) SWIG_AsInt(obj1);
9285 if (PyErr_Occurred()) SWIG_fail;
9286 if (arg1) (arg1)->m_pid = arg2;
9287
9288 Py_INCREF(Py_None); resultobj = Py_None;
9289 return resultobj;
9290 fail:
9291 return NULL;
9292 }
9293
9294
9295 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject *resultobj;
9297 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9298 int result;
9299 PyObject * obj0 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9307 result = (int) ((arg1)->m_pid);
9308
9309 resultobj = SWIG_FromInt((int)result);
9310 return resultobj;
9311 fail:
9312 return NULL;
9313 }
9314
9315
9316 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9317 PyObject *resultobj;
9318 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9319 int arg2 ;
9320 PyObject * obj0 = 0 ;
9321 PyObject * obj1 = 0 ;
9322 char *kwnames[] = {
9323 (char *) "self",(char *) "m_exitcode", NULL
9324 };
9325
9326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9329 arg2 = (int) SWIG_AsInt(obj1);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 if (arg1) (arg1)->m_exitcode = arg2;
9332
9333 Py_INCREF(Py_None); resultobj = Py_None;
9334 return resultobj;
9335 fail:
9336 return NULL;
9337 }
9338
9339
9340 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9341 PyObject *resultobj;
9342 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9343 int result;
9344 PyObject * obj0 = 0 ;
9345 char *kwnames[] = {
9346 (char *) "self", NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9352 result = (int) ((arg1)->m_exitcode);
9353
9354 resultobj = SWIG_FromInt((int)result);
9355 return resultobj;
9356 fail:
9357 return NULL;
9358 }
9359
9360
9361 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9362 PyObject *obj;
9363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9364 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9365 Py_INCREF(obj);
9366 return Py_BuildValue((char *)"");
9367 }
9368 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9369 PyObject *resultobj;
9370 wxString *arg1 = 0 ;
9371 int arg2 = (int) wxEXEC_ASYNC ;
9372 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9373 long result;
9374 bool temp1 = False ;
9375 PyObject * obj0 = 0 ;
9376 PyObject * obj1 = 0 ;
9377 PyObject * obj2 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "command",(char *) "flags",(char *) "process", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9383 {
9384 arg1 = wxString_in_helper(obj0);
9385 if (arg1 == NULL) SWIG_fail;
9386 temp1 = True;
9387 }
9388 if (obj1) {
9389 arg2 = (int) SWIG_AsInt(obj1);
9390 if (PyErr_Occurred()) SWIG_fail;
9391 }
9392 if (obj2) {
9393 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9395 }
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 resultobj = SWIG_FromLong((long)result);
9404 {
9405 if (temp1)
9406 delete arg1;
9407 }
9408 return resultobj;
9409 fail:
9410 {
9411 if (temp1)
9412 delete arg1;
9413 }
9414 return NULL;
9415 }
9416
9417
9418 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9419 PyObject *resultobj;
9420 int arg1 = (int) wxJOYSTICK1 ;
9421 wxJoystick *result;
9422 PyObject * obj0 = 0 ;
9423 char *kwnames[] = {
9424 (char *) "joystick", NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9428 if (obj0) {
9429 arg1 = (int) SWIG_AsInt(obj0);
9430 if (PyErr_Occurred()) SWIG_fail;
9431 }
9432 {
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
9434 result = (wxJoystick *)new wxJoystick(arg1);
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
9440 return resultobj;
9441 fail:
9442 return NULL;
9443 }
9444
9445
9446 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj;
9448 wxJoystick *arg1 = (wxJoystick *) 0 ;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 delete arg1;
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 Py_INCREF(Py_None); resultobj = Py_None;
9465 return resultobj;
9466 fail:
9467 return NULL;
9468 }
9469
9470
9471 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj;
9473 wxJoystick *arg1 = (wxJoystick *) 0 ;
9474 wxPoint result;
9475 PyObject * obj0 = 0 ;
9476 char *kwnames[] = {
9477 (char *) "self", NULL
9478 };
9479
9480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 result = (arg1)->GetPosition();
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 {
9491 wxPoint * resultptr;
9492 resultptr = new wxPoint((wxPoint &) result);
9493 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9494 }
9495 return resultobj;
9496 fail:
9497 return NULL;
9498 }
9499
9500
9501 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj;
9503 wxJoystick *arg1 = (wxJoystick *) 0 ;
9504 int result;
9505 PyObject * obj0 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "self", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = (int)(arg1)->GetZPosition();
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 resultobj = SWIG_FromInt((int)result);
9521 return resultobj;
9522 fail:
9523 return NULL;
9524 }
9525
9526
9527 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9528 PyObject *resultobj;
9529 wxJoystick *arg1 = (wxJoystick *) 0 ;
9530 int result;
9531 PyObject * obj0 = 0 ;
9532 char *kwnames[] = {
9533 (char *) "self", NULL
9534 };
9535
9536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9539 {
9540 PyThreadState* __tstate = wxPyBeginAllowThreads();
9541 result = (int)(arg1)->GetButtonState();
9542
9543 wxPyEndAllowThreads(__tstate);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 resultobj = SWIG_FromInt((int)result);
9547 return resultobj;
9548 fail:
9549 return NULL;
9550 }
9551
9552
9553 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9554 PyObject *resultobj;
9555 wxJoystick *arg1 = (wxJoystick *) 0 ;
9556 int result;
9557 PyObject * obj0 = 0 ;
9558 char *kwnames[] = {
9559 (char *) "self", NULL
9560 };
9561
9562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 result = (int)(arg1)->GetPOVPosition();
9568
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 resultobj = SWIG_FromInt((int)result);
9573 return resultobj;
9574 fail:
9575 return NULL;
9576 }
9577
9578
9579 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9580 PyObject *resultobj;
9581 wxJoystick *arg1 = (wxJoystick *) 0 ;
9582 int result;
9583 PyObject * obj0 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "self", NULL
9586 };
9587
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9591 {
9592 PyThreadState* __tstate = wxPyBeginAllowThreads();
9593 result = (int)(arg1)->GetPOVCTSPosition();
9594
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 resultobj = SWIG_FromInt((int)result);
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxJoystick *arg1 = (wxJoystick *) 0 ;
9608 int result;
9609 PyObject * obj0 = 0 ;
9610 char *kwnames[] = {
9611 (char *) "self", NULL
9612 };
9613
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 result = (int)(arg1)->GetRudderPosition();
9620
9621 wxPyEndAllowThreads(__tstate);
9622 if (PyErr_Occurred()) SWIG_fail;
9623 }
9624 resultobj = SWIG_FromInt((int)result);
9625 return resultobj;
9626 fail:
9627 return NULL;
9628 }
9629
9630
9631 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9632 PyObject *resultobj;
9633 wxJoystick *arg1 = (wxJoystick *) 0 ;
9634 int result;
9635 PyObject * obj0 = 0 ;
9636 char *kwnames[] = {
9637 (char *) "self", NULL
9638 };
9639
9640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9643 {
9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
9645 result = (int)(arg1)->GetUPosition();
9646
9647 wxPyEndAllowThreads(__tstate);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 resultobj = SWIG_FromInt((int)result);
9651 return resultobj;
9652 fail:
9653 return NULL;
9654 }
9655
9656
9657 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9658 PyObject *resultobj;
9659 wxJoystick *arg1 = (wxJoystick *) 0 ;
9660 int result;
9661 PyObject * obj0 = 0 ;
9662 char *kwnames[] = {
9663 (char *) "self", NULL
9664 };
9665
9666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9669 {
9670 PyThreadState* __tstate = wxPyBeginAllowThreads();
9671 result = (int)(arg1)->GetVPosition();
9672
9673 wxPyEndAllowThreads(__tstate);
9674 if (PyErr_Occurred()) SWIG_fail;
9675 }
9676 resultobj = SWIG_FromInt((int)result);
9677 return resultobj;
9678 fail:
9679 return NULL;
9680 }
9681
9682
9683 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9684 PyObject *resultobj;
9685 wxJoystick *arg1 = (wxJoystick *) 0 ;
9686 int result;
9687 PyObject * obj0 = 0 ;
9688 char *kwnames[] = {
9689 (char *) "self", NULL
9690 };
9691
9692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 result = (int)(arg1)->GetMovementThreshold();
9698
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 resultobj = SWIG_FromInt((int)result);
9703 return resultobj;
9704 fail:
9705 return NULL;
9706 }
9707
9708
9709 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj;
9711 wxJoystick *arg1 = (wxJoystick *) 0 ;
9712 int arg2 ;
9713 PyObject * obj0 = 0 ;
9714 PyObject * obj1 = 0 ;
9715 char *kwnames[] = {
9716 (char *) "self",(char *) "threshold", NULL
9717 };
9718
9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
9720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9722 arg2 = (int) SWIG_AsInt(obj1);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 (arg1)->SetMovementThreshold(arg2);
9727
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 Py_INCREF(Py_None); resultobj = Py_None;
9732 return resultobj;
9733 fail:
9734 return NULL;
9735 }
9736
9737
9738 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9739 PyObject *resultobj;
9740 wxJoystick *arg1 = (wxJoystick *) 0 ;
9741 bool result;
9742 PyObject * obj0 = 0 ;
9743 char *kwnames[] = {
9744 (char *) "self", NULL
9745 };
9746
9747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9750 {
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 result = (bool)(arg1)->IsOk();
9753
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 {
9758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9759 }
9760 return resultobj;
9761 fail:
9762 return NULL;
9763 }
9764
9765
9766 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj;
9768 wxJoystick *arg1 = (wxJoystick *) 0 ;
9769 int result;
9770 PyObject * obj0 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 result = (int)(arg1)->GetNumberJoysticks();
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 resultobj = SWIG_FromInt((int)result);
9786 return resultobj;
9787 fail:
9788 return NULL;
9789 }
9790
9791
9792 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxJoystick *arg1 = (wxJoystick *) 0 ;
9795 int result;
9796 PyObject * obj0 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 result = (int)(arg1)->GetManufacturerId();
9807
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
9811 resultobj = SWIG_FromInt((int)result);
9812 return resultobj;
9813 fail:
9814 return NULL;
9815 }
9816
9817
9818 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj;
9820 wxJoystick *arg1 = (wxJoystick *) 0 ;
9821 int result;
9822 PyObject * obj0 = 0 ;
9823 char *kwnames[] = {
9824 (char *) "self", NULL
9825 };
9826
9827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 result = (int)(arg1)->GetProductId();
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_FromInt((int)result);
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj;
9846 wxJoystick *arg1 = (wxJoystick *) 0 ;
9847 wxString result;
9848 PyObject * obj0 = 0 ;
9849 char *kwnames[] = {
9850 (char *) "self", NULL
9851 };
9852
9853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 result = (arg1)->GetProductName();
9859
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 {
9864 #if wxUSE_UNICODE
9865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9866 #else
9867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9868 #endif
9869 }
9870 return resultobj;
9871 fail:
9872 return NULL;
9873 }
9874
9875
9876 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9877 PyObject *resultobj;
9878 wxJoystick *arg1 = (wxJoystick *) 0 ;
9879 int result;
9880 PyObject * obj0 = 0 ;
9881 char *kwnames[] = {
9882 (char *) "self", NULL
9883 };
9884
9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 result = (int)(arg1)->GetXMin();
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 resultobj = SWIG_FromInt((int)result);
9896 return resultobj;
9897 fail:
9898 return NULL;
9899 }
9900
9901
9902 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj;
9904 wxJoystick *arg1 = (wxJoystick *) 0 ;
9905 int result;
9906 PyObject * obj0 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (int)(arg1)->GetYMin();
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 resultobj = SWIG_FromInt((int)result);
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxJoystick *arg1 = (wxJoystick *) 0 ;
9931 int result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 result = (int)(arg1)->GetZMin();
9943
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
9947 resultobj = SWIG_FromInt((int)result);
9948 return resultobj;
9949 fail:
9950 return NULL;
9951 }
9952
9953
9954 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9955 PyObject *resultobj;
9956 wxJoystick *arg1 = (wxJoystick *) 0 ;
9957 int result;
9958 PyObject * obj0 = 0 ;
9959 char *kwnames[] = {
9960 (char *) "self", NULL
9961 };
9962
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9966 {
9967 PyThreadState* __tstate = wxPyBeginAllowThreads();
9968 result = (int)(arg1)->GetXMax();
9969
9970 wxPyEndAllowThreads(__tstate);
9971 if (PyErr_Occurred()) SWIG_fail;
9972 }
9973 resultobj = SWIG_FromInt((int)result);
9974 return resultobj;
9975 fail:
9976 return NULL;
9977 }
9978
9979
9980 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9981 PyObject *resultobj;
9982 wxJoystick *arg1 = (wxJoystick *) 0 ;
9983 int result;
9984 PyObject * obj0 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 result = (int)(arg1)->GetYMax();
9995
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 resultobj = SWIG_FromInt((int)result);
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxJoystick *arg1 = (wxJoystick *) 0 ;
10009 int result;
10010 PyObject * obj0 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self", NULL
10013 };
10014
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10018 {
10019 PyThreadState* __tstate = wxPyBeginAllowThreads();
10020 result = (int)(arg1)->GetZMax();
10021
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 resultobj = SWIG_FromInt((int)result);
10026 return resultobj;
10027 fail:
10028 return NULL;
10029 }
10030
10031
10032 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10033 PyObject *resultobj;
10034 wxJoystick *arg1 = (wxJoystick *) 0 ;
10035 int result;
10036 PyObject * obj0 = 0 ;
10037 char *kwnames[] = {
10038 (char *) "self", NULL
10039 };
10040
10041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (int)(arg1)->GetNumberButtons();
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 resultobj = SWIG_FromInt((int)result);
10052 return resultobj;
10053 fail:
10054 return NULL;
10055 }
10056
10057
10058 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10059 PyObject *resultobj;
10060 wxJoystick *arg1 = (wxJoystick *) 0 ;
10061 int result;
10062 PyObject * obj0 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "self", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 result = (int)(arg1)->GetNumberAxes();
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 resultobj = SWIG_FromInt((int)result);
10078 return resultobj;
10079 fail:
10080 return NULL;
10081 }
10082
10083
10084 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj;
10086 wxJoystick *arg1 = (wxJoystick *) 0 ;
10087 int result;
10088 PyObject * obj0 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 result = (int)(arg1)->GetMaxButtons();
10099
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 resultobj = SWIG_FromInt((int)result);
10104 return resultobj;
10105 fail:
10106 return NULL;
10107 }
10108
10109
10110 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10111 PyObject *resultobj;
10112 wxJoystick *arg1 = (wxJoystick *) 0 ;
10113 int result;
10114 PyObject * obj0 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (int)(arg1)->GetMaxAxes();
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 resultobj = SWIG_FromInt((int)result);
10130 return resultobj;
10131 fail:
10132 return NULL;
10133 }
10134
10135
10136 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10137 PyObject *resultobj;
10138 wxJoystick *arg1 = (wxJoystick *) 0 ;
10139 int result;
10140 PyObject * obj0 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "self", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10148 {
10149 PyThreadState* __tstate = wxPyBeginAllowThreads();
10150 result = (int)(arg1)->GetPollingMin();
10151
10152 wxPyEndAllowThreads(__tstate);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 }
10155 resultobj = SWIG_FromInt((int)result);
10156 return resultobj;
10157 fail:
10158 return NULL;
10159 }
10160
10161
10162 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10163 PyObject *resultobj;
10164 wxJoystick *arg1 = (wxJoystick *) 0 ;
10165 int result;
10166 PyObject * obj0 = 0 ;
10167 char *kwnames[] = {
10168 (char *) "self", NULL
10169 };
10170
10171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 result = (int)(arg1)->GetPollingMax();
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 resultobj = SWIG_FromInt((int)result);
10182 return resultobj;
10183 fail:
10184 return NULL;
10185 }
10186
10187
10188 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj;
10190 wxJoystick *arg1 = (wxJoystick *) 0 ;
10191 int result;
10192 PyObject * obj0 = 0 ;
10193 char *kwnames[] = {
10194 (char *) "self", NULL
10195 };
10196
10197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 result = (int)(arg1)->GetRudderMin();
10203
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 resultobj = SWIG_FromInt((int)result);
10208 return resultobj;
10209 fail:
10210 return NULL;
10211 }
10212
10213
10214 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10215 PyObject *resultobj;
10216 wxJoystick *arg1 = (wxJoystick *) 0 ;
10217 int result;
10218 PyObject * obj0 = 0 ;
10219 char *kwnames[] = {
10220 (char *) "self", NULL
10221 };
10222
10223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10226 {
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
10228 result = (int)(arg1)->GetRudderMax();
10229
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
10233 resultobj = SWIG_FromInt((int)result);
10234 return resultobj;
10235 fail:
10236 return NULL;
10237 }
10238
10239
10240 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10241 PyObject *resultobj;
10242 wxJoystick *arg1 = (wxJoystick *) 0 ;
10243 int result;
10244 PyObject * obj0 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "self", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 result = (int)(arg1)->GetUMin();
10255
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 resultobj = SWIG_FromInt((int)result);
10260 return resultobj;
10261 fail:
10262 return NULL;
10263 }
10264
10265
10266 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10267 PyObject *resultobj;
10268 wxJoystick *arg1 = (wxJoystick *) 0 ;
10269 int result;
10270 PyObject * obj0 = 0 ;
10271 char *kwnames[] = {
10272 (char *) "self", NULL
10273 };
10274
10275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 result = (int)(arg1)->GetUMax();
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 resultobj = SWIG_FromInt((int)result);
10286 return resultobj;
10287 fail:
10288 return NULL;
10289 }
10290
10291
10292 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj;
10294 wxJoystick *arg1 = (wxJoystick *) 0 ;
10295 int result;
10296 PyObject * obj0 = 0 ;
10297 char *kwnames[] = {
10298 (char *) "self", NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 result = (int)(arg1)->GetVMin();
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 resultobj = SWIG_FromInt((int)result);
10312 return resultobj;
10313 fail:
10314 return NULL;
10315 }
10316
10317
10318 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxJoystick *arg1 = (wxJoystick *) 0 ;
10321 int result;
10322 PyObject * obj0 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 result = (int)(arg1)->GetVMax();
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 resultobj = SWIG_FromInt((int)result);
10338 return resultobj;
10339 fail:
10340 return NULL;
10341 }
10342
10343
10344 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj;
10346 wxJoystick *arg1 = (wxJoystick *) 0 ;
10347 bool result;
10348 PyObject * obj0 = 0 ;
10349 char *kwnames[] = {
10350 (char *) "self", NULL
10351 };
10352
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 result = (bool)(arg1)->HasRudder();
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 {
10364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10365 }
10366 return resultobj;
10367 fail:
10368 return NULL;
10369 }
10370
10371
10372 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10373 PyObject *resultobj;
10374 wxJoystick *arg1 = (wxJoystick *) 0 ;
10375 bool result;
10376 PyObject * obj0 = 0 ;
10377 char *kwnames[] = {
10378 (char *) "self", NULL
10379 };
10380
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (bool)(arg1)->HasZ();
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 {
10392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10393 }
10394 return resultobj;
10395 fail:
10396 return NULL;
10397 }
10398
10399
10400 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj;
10402 wxJoystick *arg1 = (wxJoystick *) 0 ;
10403 bool result;
10404 PyObject * obj0 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 result = (bool)(arg1)->HasU();
10415
10416 wxPyEndAllowThreads(__tstate);
10417 if (PyErr_Occurred()) SWIG_fail;
10418 }
10419 {
10420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10421 }
10422 return resultobj;
10423 fail:
10424 return NULL;
10425 }
10426
10427
10428 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10429 PyObject *resultobj;
10430 wxJoystick *arg1 = (wxJoystick *) 0 ;
10431 bool result;
10432 PyObject * obj0 = 0 ;
10433 char *kwnames[] = {
10434 (char *) "self", NULL
10435 };
10436
10437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 result = (bool)(arg1)->HasV();
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) SWIG_fail;
10446 }
10447 {
10448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10449 }
10450 return resultobj;
10451 fail:
10452 return NULL;
10453 }
10454
10455
10456 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10457 PyObject *resultobj;
10458 wxJoystick *arg1 = (wxJoystick *) 0 ;
10459 bool result;
10460 PyObject * obj0 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 result = (bool)(arg1)->HasPOV();
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 {
10476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10477 }
10478 return resultobj;
10479 fail:
10480 return NULL;
10481 }
10482
10483
10484 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10485 PyObject *resultobj;
10486 wxJoystick *arg1 = (wxJoystick *) 0 ;
10487 bool result;
10488 PyObject * obj0 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 result = (bool)(arg1)->HasPOV4Dir();
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 {
10504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10505 }
10506 return resultobj;
10507 fail:
10508 return NULL;
10509 }
10510
10511
10512 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject *resultobj;
10514 wxJoystick *arg1 = (wxJoystick *) 0 ;
10515 bool result;
10516 PyObject * obj0 = 0 ;
10517 char *kwnames[] = {
10518 (char *) "self", NULL
10519 };
10520
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 result = (bool)(arg1)->HasPOVCTS();
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 {
10532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10533 }
10534 return resultobj;
10535 fail:
10536 return NULL;
10537 }
10538
10539
10540 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10541 PyObject *resultobj;
10542 wxJoystick *arg1 = (wxJoystick *) 0 ;
10543 wxWindow *arg2 = (wxWindow *) 0 ;
10544 int arg3 = (int) 0 ;
10545 bool result;
10546 PyObject * obj0 = 0 ;
10547 PyObject * obj1 = 0 ;
10548 PyObject * obj2 = 0 ;
10549 char *kwnames[] = {
10550 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10551 };
10552
10553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10558 if (obj2) {
10559 arg3 = (int) SWIG_AsInt(obj2);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 result = (bool)(arg1)->SetCapture(arg2,arg3);
10565
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 {
10570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10571 }
10572 return resultobj;
10573 fail:
10574 return NULL;
10575 }
10576
10577
10578 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10579 PyObject *resultobj;
10580 wxJoystick *arg1 = (wxJoystick *) 0 ;
10581 bool result;
10582 PyObject * obj0 = 0 ;
10583 char *kwnames[] = {
10584 (char *) "self", NULL
10585 };
10586
10587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (bool)(arg1)->ReleaseCapture();
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 {
10598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10599 }
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10607 PyObject *obj;
10608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10609 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10610 Py_INCREF(obj);
10611 return Py_BuildValue((char *)"");
10612 }
10613 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10614 PyObject *resultobj;
10615 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10616 wxPoint *arg2 = (wxPoint *) 0 ;
10617 PyObject * obj0 = 0 ;
10618 PyObject * obj1 = 0 ;
10619 char *kwnames[] = {
10620 (char *) "self",(char *) "m_pos", NULL
10621 };
10622
10623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10628 if (arg1) (arg1)->m_pos = *arg2;
10629
10630 Py_INCREF(Py_None); resultobj = Py_None;
10631 return resultobj;
10632 fail:
10633 return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10640 wxPoint *result;
10641 PyObject * obj0 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10649 result = (wxPoint *)& ((arg1)->m_pos);
10650
10651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
10652 return resultobj;
10653 fail:
10654 return NULL;
10655 }
10656
10657
10658 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10659 PyObject *resultobj;
10660 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10661 int arg2 ;
10662 PyObject * obj0 = 0 ;
10663 PyObject * obj1 = 0 ;
10664 char *kwnames[] = {
10665 (char *) "self",(char *) "m_zPosition", NULL
10666 };
10667
10668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10671 arg2 = (int) SWIG_AsInt(obj1);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 if (arg1) (arg1)->m_zPosition = arg2;
10674
10675 Py_INCREF(Py_None); resultobj = Py_None;
10676 return resultobj;
10677 fail:
10678 return NULL;
10679 }
10680
10681
10682 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10683 PyObject *resultobj;
10684 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10685 int result;
10686 PyObject * obj0 = 0 ;
10687 char *kwnames[] = {
10688 (char *) "self", NULL
10689 };
10690
10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10694 result = (int) ((arg1)->m_zPosition);
10695
10696 resultobj = SWIG_FromInt((int)result);
10697 return resultobj;
10698 fail:
10699 return NULL;
10700 }
10701
10702
10703 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10704 PyObject *resultobj;
10705 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10706 int arg2 ;
10707 PyObject * obj0 = 0 ;
10708 PyObject * obj1 = 0 ;
10709 char *kwnames[] = {
10710 (char *) "self",(char *) "m_buttonChange", NULL
10711 };
10712
10713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
10714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10716 arg2 = (int) SWIG_AsInt(obj1);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 if (arg1) (arg1)->m_buttonChange = arg2;
10719
10720 Py_INCREF(Py_None); resultobj = Py_None;
10721 return resultobj;
10722 fail:
10723 return NULL;
10724 }
10725
10726
10727 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10728 PyObject *resultobj;
10729 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10730 int result;
10731 PyObject * obj0 = 0 ;
10732 char *kwnames[] = {
10733 (char *) "self", NULL
10734 };
10735
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
10737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10739 result = (int) ((arg1)->m_buttonChange);
10740
10741 resultobj = SWIG_FromInt((int)result);
10742 return resultobj;
10743 fail:
10744 return NULL;
10745 }
10746
10747
10748 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10749 PyObject *resultobj;
10750 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10751 int arg2 ;
10752 PyObject * obj0 = 0 ;
10753 PyObject * obj1 = 0 ;
10754 char *kwnames[] = {
10755 (char *) "self",(char *) "m_buttonState", NULL
10756 };
10757
10758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
10759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10761 arg2 = (int) SWIG_AsInt(obj1);
10762 if (PyErr_Occurred()) SWIG_fail;
10763 if (arg1) (arg1)->m_buttonState = arg2;
10764
10765 Py_INCREF(Py_None); resultobj = Py_None;
10766 return resultobj;
10767 fail:
10768 return NULL;
10769 }
10770
10771
10772 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10773 PyObject *resultobj;
10774 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10775 int result;
10776 PyObject * obj0 = 0 ;
10777 char *kwnames[] = {
10778 (char *) "self", NULL
10779 };
10780
10781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
10782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10784 result = (int) ((arg1)->m_buttonState);
10785
10786 resultobj = SWIG_FromInt((int)result);
10787 return resultobj;
10788 fail:
10789 return NULL;
10790 }
10791
10792
10793 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10794 PyObject *resultobj;
10795 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10796 int arg2 ;
10797 PyObject * obj0 = 0 ;
10798 PyObject * obj1 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self",(char *) "m_joyStick", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
10804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10806 arg2 = (int) SWIG_AsInt(obj1);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 if (arg1) (arg1)->m_joyStick = arg2;
10809
10810 Py_INCREF(Py_None); resultobj = Py_None;
10811 return resultobj;
10812 fail:
10813 return NULL;
10814 }
10815
10816
10817 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10818 PyObject *resultobj;
10819 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10820 int result;
10821 PyObject * obj0 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
10827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10829 result = (int) ((arg1)->m_joyStick);
10830
10831 resultobj = SWIG_FromInt((int)result);
10832 return resultobj;
10833 fail:
10834 return NULL;
10835 }
10836
10837
10838 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj;
10840 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10841 int arg2 = (int) 0 ;
10842 int arg3 = (int) wxJOYSTICK1 ;
10843 int arg4 = (int) 0 ;
10844 wxJoystickEvent *result;
10845 PyObject * obj0 = 0 ;
10846 PyObject * obj1 = 0 ;
10847 PyObject * obj2 = 0 ;
10848 PyObject * obj3 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10854 if (obj0) {
10855 arg1 = (wxEventType) SWIG_AsInt(obj0);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 if (obj1) {
10859 arg2 = (int) SWIG_AsInt(obj1);
10860 if (PyErr_Occurred()) SWIG_fail;
10861 }
10862 if (obj2) {
10863 arg3 = (int) SWIG_AsInt(obj2);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
10866 if (obj3) {
10867 arg4 = (int) SWIG_AsInt(obj3);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
10878 return resultobj;
10879 fail:
10880 return NULL;
10881 }
10882
10883
10884 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10885 PyObject *resultobj;
10886 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10887 wxPoint result;
10888 PyObject * obj0 = 0 ;
10889 char *kwnames[] = {
10890 (char *) "self", NULL
10891 };
10892
10893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10896 {
10897 PyThreadState* __tstate = wxPyBeginAllowThreads();
10898 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10899
10900 wxPyEndAllowThreads(__tstate);
10901 if (PyErr_Occurred()) SWIG_fail;
10902 }
10903 {
10904 wxPoint * resultptr;
10905 resultptr = new wxPoint((wxPoint &) result);
10906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10907 }
10908 return resultobj;
10909 fail:
10910 return NULL;
10911 }
10912
10913
10914 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10915 PyObject *resultobj;
10916 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10917 int result;
10918 PyObject * obj0 = 0 ;
10919 char *kwnames[] = {
10920 (char *) "self", NULL
10921 };
10922
10923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10926 {
10927 PyThreadState* __tstate = wxPyBeginAllowThreads();
10928 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10929
10930 wxPyEndAllowThreads(__tstate);
10931 if (PyErr_Occurred()) SWIG_fail;
10932 }
10933 resultobj = SWIG_FromInt((int)result);
10934 return resultobj;
10935 fail:
10936 return NULL;
10937 }
10938
10939
10940 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10941 PyObject *resultobj;
10942 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10943 int result;
10944 PyObject * obj0 = 0 ;
10945 char *kwnames[] = {
10946 (char *) "self", NULL
10947 };
10948
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 resultobj = SWIG_FromInt((int)result);
10960 return resultobj;
10961 fail:
10962 return NULL;
10963 }
10964
10965
10966 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj;
10968 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10969 int result;
10970 PyObject * obj0 = 0 ;
10971 char *kwnames[] = {
10972 (char *) "self", NULL
10973 };
10974
10975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10981
10982 wxPyEndAllowThreads(__tstate);
10983 if (PyErr_Occurred()) SWIG_fail;
10984 }
10985 resultobj = SWIG_FromInt((int)result);
10986 return resultobj;
10987 fail:
10988 return NULL;
10989 }
10990
10991
10992 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10993 PyObject *resultobj;
10994 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10995 int result;
10996 PyObject * obj0 = 0 ;
10997 char *kwnames[] = {
10998 (char *) "self", NULL
10999 };
11000
11001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11004 {
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
11006 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11007
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 resultobj = SWIG_FromInt((int)result);
11012 return resultobj;
11013 fail:
11014 return NULL;
11015 }
11016
11017
11018 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11019 PyObject *resultobj;
11020 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11021 int arg2 ;
11022 PyObject * obj0 = 0 ;
11023 PyObject * obj1 = 0 ;
11024 char *kwnames[] = {
11025 (char *) "self",(char *) "stick", NULL
11026 };
11027
11028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11031 arg2 = (int) SWIG_AsInt(obj1);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 {
11034 PyThreadState* __tstate = wxPyBeginAllowThreads();
11035 (arg1)->SetJoystick(arg2);
11036
11037 wxPyEndAllowThreads(__tstate);
11038 if (PyErr_Occurred()) SWIG_fail;
11039 }
11040 Py_INCREF(Py_None); resultobj = Py_None;
11041 return resultobj;
11042 fail:
11043 return NULL;
11044 }
11045
11046
11047 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11048 PyObject *resultobj;
11049 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11050 int arg2 ;
11051 PyObject * obj0 = 0 ;
11052 PyObject * obj1 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self",(char *) "state", NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11060 arg2 = (int) SWIG_AsInt(obj1);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 {
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 (arg1)->SetButtonState(arg2);
11065
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 Py_INCREF(Py_None); resultobj = Py_None;
11070 return resultobj;
11071 fail:
11072 return NULL;
11073 }
11074
11075
11076 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11077 PyObject *resultobj;
11078 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11079 int arg2 ;
11080 PyObject * obj0 = 0 ;
11081 PyObject * obj1 = 0 ;
11082 char *kwnames[] = {
11083 (char *) "self",(char *) "change", NULL
11084 };
11085
11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11089 arg2 = (int) SWIG_AsInt(obj1);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 (arg1)->SetButtonChange(arg2);
11094
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 Py_INCREF(Py_None); resultobj = Py_None;
11099 return resultobj;
11100 fail:
11101 return NULL;
11102 }
11103
11104
11105 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11106 PyObject *resultobj;
11107 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11108 wxPoint *arg2 = 0 ;
11109 wxPoint temp2 ;
11110 PyObject * obj0 = 0 ;
11111 PyObject * obj1 = 0 ;
11112 char *kwnames[] = {
11113 (char *) "self",(char *) "pos", NULL
11114 };
11115
11116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11119 {
11120 arg2 = &temp2;
11121 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11122 }
11123 {
11124 PyThreadState* __tstate = wxPyBeginAllowThreads();
11125 (arg1)->SetPosition((wxPoint const &)*arg2);
11126
11127 wxPyEndAllowThreads(__tstate);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 }
11130 Py_INCREF(Py_None); resultobj = Py_None;
11131 return resultobj;
11132 fail:
11133 return NULL;
11134 }
11135
11136
11137 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11138 PyObject *resultobj;
11139 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11140 int arg2 ;
11141 PyObject * obj0 = 0 ;
11142 PyObject * obj1 = 0 ;
11143 char *kwnames[] = {
11144 (char *) "self",(char *) "zPos", NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11150 arg2 = (int) SWIG_AsInt(obj1);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 {
11153 PyThreadState* __tstate = wxPyBeginAllowThreads();
11154 (arg1)->SetZPosition(arg2);
11155
11156 wxPyEndAllowThreads(__tstate);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
11159 Py_INCREF(Py_None); resultobj = Py_None;
11160 return resultobj;
11161 fail:
11162 return NULL;
11163 }
11164
11165
11166 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11167 PyObject *resultobj;
11168 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11169 bool result;
11170 PyObject * obj0 = 0 ;
11171 char *kwnames[] = {
11172 (char *) "self", NULL
11173 };
11174
11175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11181
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 {
11186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11187 }
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj;
11196 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11197 bool result;
11198 PyObject * obj0 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
11213 {
11214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11215 }
11216 return resultobj;
11217 fail:
11218 return NULL;
11219 }
11220
11221
11222 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11223 PyObject *resultobj;
11224 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11225 bool result;
11226 PyObject * obj0 = 0 ;
11227 char *kwnames[] = {
11228 (char *) "self", NULL
11229 };
11230
11231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 {
11242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11243 }
11244 return resultobj;
11245 fail:
11246 return NULL;
11247 }
11248
11249
11250 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11251 PyObject *resultobj;
11252 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11253 int arg2 = (int) wxJOY_BUTTON_ANY ;
11254 bool result;
11255 PyObject * obj0 = 0 ;
11256 PyObject * obj1 = 0 ;
11257 char *kwnames[] = {
11258 (char *) "self",(char *) "but", NULL
11259 };
11260
11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11264 if (obj1) {
11265 arg2 = (int) SWIG_AsInt(obj1);
11266 if (PyErr_Occurred()) SWIG_fail;
11267 }
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11271
11272 wxPyEndAllowThreads(__tstate);
11273 if (PyErr_Occurred()) SWIG_fail;
11274 }
11275 {
11276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11277 }
11278 return resultobj;
11279 fail:
11280 return NULL;
11281 }
11282
11283
11284 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11285 PyObject *resultobj;
11286 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11287 int arg2 = (int) wxJOY_BUTTON_ANY ;
11288 bool result;
11289 PyObject * obj0 = 0 ;
11290 PyObject * obj1 = 0 ;
11291 char *kwnames[] = {
11292 (char *) "self",(char *) "but", NULL
11293 };
11294
11295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11298 if (obj1) {
11299 arg2 = (int) SWIG_AsInt(obj1);
11300 if (PyErr_Occurred()) SWIG_fail;
11301 }
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11305
11306 wxPyEndAllowThreads(__tstate);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 {
11310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11311 }
11312 return resultobj;
11313 fail:
11314 return NULL;
11315 }
11316
11317
11318 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11319 PyObject *resultobj;
11320 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11321 int arg2 = (int) wxJOY_BUTTON_ANY ;
11322 bool result;
11323 PyObject * obj0 = 0 ;
11324 PyObject * obj1 = 0 ;
11325 char *kwnames[] = {
11326 (char *) "self",(char *) "but", NULL
11327 };
11328
11329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11332 if (obj1) {
11333 arg2 = (int) SWIG_AsInt(obj1);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 {
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11339
11340 wxPyEndAllowThreads(__tstate);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 }
11343 {
11344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11345 }
11346 return resultobj;
11347 fail:
11348 return NULL;
11349 }
11350
11351
11352 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11353 PyObject *obj;
11354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11355 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11356 Py_INCREF(obj);
11357 return Py_BuildValue((char *)"");
11358 }
11359 static PyObject *_wrap_new_Sound__SWIG_0(PyObject *self, PyObject *args) {
11360 PyObject *resultobj;
11361 wxSound *result;
11362
11363 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11364 {
11365 PyThreadState* __tstate = wxPyBeginAllowThreads();
11366 result = (wxSound *)new wxSound();
11367
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11372 return resultobj;
11373 fail:
11374 return NULL;
11375 }
11376
11377
11378 static PyObject *_wrap_new_Sound__SWIG_1(PyObject *self, PyObject *args) {
11379 PyObject *resultobj;
11380 wxString *arg1 = 0 ;
11381 bool arg2 = (bool) false ;
11382 wxSound *result;
11383 bool temp1 = False ;
11384 PyObject * obj0 = 0 ;
11385 PyObject * obj1 = 0 ;
11386
11387 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
11388 {
11389 arg1 = wxString_in_helper(obj0);
11390 if (arg1 == NULL) SWIG_fail;
11391 temp1 = True;
11392 }
11393 if (obj1) {
11394 arg2 = (bool) SWIG_AsBool(obj1);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 {
11398 PyThreadState* __tstate = wxPyBeginAllowThreads();
11399 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
11400
11401 wxPyEndAllowThreads(__tstate);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
11404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11405 {
11406 if (temp1)
11407 delete arg1;
11408 }
11409 return resultobj;
11410 fail:
11411 {
11412 if (temp1)
11413 delete arg1;
11414 }
11415 return NULL;
11416 }
11417
11418
11419 static PyObject *_wrap_new_Sound__SWIG_2(PyObject *self, PyObject *args) {
11420 PyObject *resultobj;
11421 int arg1 ;
11422 wxByte *arg2 = (wxByte *) 0 ;
11423 wxSound *result;
11424 PyObject * obj0 = 0 ;
11425 PyObject * obj1 = 0 ;
11426
11427 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
11428 arg1 = (int) SWIG_AsInt(obj0);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxByte,
11431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11432 {
11433 PyThreadState* __tstate = wxPyBeginAllowThreads();
11434 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
11435
11436 wxPyEndAllowThreads(__tstate);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11440 return resultobj;
11441 fail:
11442 return NULL;
11443 }
11444
11445
11446 static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11447 int argc;
11448 PyObject *argv[3];
11449 int ii;
11450
11451 argc = PyObject_Length(args);
11452 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11453 argv[ii] = PyTuple_GetItem(args,ii);
11454 }
11455 if (argc == 0) {
11456 return _wrap_new_Sound__SWIG_0(self,args);
11457 }
11458 if ((argc >= 1) && (argc <= 2)) {
11459 int _v;
11460 {
11461 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11462 }
11463 if (_v) {
11464 if (argc <= 1) {
11465 return _wrap_new_Sound__SWIG_1(self,args);
11466 }
11467 _v = SWIG_CheckBool(argv[1]);
11468 if (_v) {
11469 return _wrap_new_Sound__SWIG_1(self,args);
11470 }
11471 }
11472 }
11473 if (argc == 2) {
11474 int _v;
11475 _v = SWIG_CheckInt(argv[0]);
11476 if (_v) {
11477 {
11478 void *ptr;
11479 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11480 _v = 0;
11481 PyErr_Clear();
11482 } else {
11483 _v = 1;
11484 }
11485 }
11486 if (_v) {
11487 return _wrap_new_Sound__SWIG_2(self,args);
11488 }
11489 }
11490 }
11491
11492 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
11493 return NULL;
11494 }
11495
11496
11497 static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj;
11499 wxSound *arg1 = (wxSound *) 0 ;
11500 PyObject * obj0 = 0 ;
11501 char *kwnames[] = {
11502 (char *) "self", NULL
11503 };
11504
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 delete arg1;
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
11515 Py_INCREF(Py_None); resultobj = Py_None;
11516 return resultobj;
11517 fail:
11518 return NULL;
11519 }
11520
11521
11522 static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *self, PyObject *args) {
11523 PyObject *resultobj;
11524 wxSound *arg1 = (wxSound *) 0 ;
11525 wxString *arg2 = 0 ;
11526 bool arg3 = (bool) false ;
11527 bool result;
11528 bool temp2 = False ;
11529 PyObject * obj0 = 0 ;
11530 PyObject * obj1 = 0 ;
11531 PyObject * obj2 = 0 ;
11532
11533 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11536 {
11537 arg2 = wxString_in_helper(obj1);
11538 if (arg2 == NULL) SWIG_fail;
11539 temp2 = True;
11540 }
11541 if (obj2) {
11542 arg3 = (bool) SWIG_AsBool(obj2);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 {
11546 PyThreadState* __tstate = wxPyBeginAllowThreads();
11547 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
11548
11549 wxPyEndAllowThreads(__tstate);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 }
11552 {
11553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11554 }
11555 {
11556 if (temp2)
11557 delete arg2;
11558 }
11559 return resultobj;
11560 fail:
11561 {
11562 if (temp2)
11563 delete arg2;
11564 }
11565 return NULL;
11566 }
11567
11568
11569 static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *self, PyObject *args) {
11570 PyObject *resultobj;
11571 wxSound *arg1 = (wxSound *) 0 ;
11572 int arg2 ;
11573 wxByte *arg3 = (wxByte *) 0 ;
11574 bool result;
11575 PyObject * obj0 = 0 ;
11576 PyObject * obj1 = 0 ;
11577 PyObject * obj2 = 0 ;
11578
11579 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11582 arg2 = (int) SWIG_AsInt(obj1);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxByte,
11585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11586 {
11587 PyThreadState* __tstate = wxPyBeginAllowThreads();
11588 result = (bool)(arg1)->Create(arg2,(wxByte const *)arg3);
11589
11590 wxPyEndAllowThreads(__tstate);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 {
11594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11595 }
11596 return resultobj;
11597 fail:
11598 return NULL;
11599 }
11600
11601
11602 static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11603 int argc;
11604 PyObject *argv[4];
11605 int ii;
11606
11607 argc = PyObject_Length(args);
11608 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11609 argv[ii] = PyTuple_GetItem(args,ii);
11610 }
11611 if ((argc >= 2) && (argc <= 3)) {
11612 int _v;
11613 {
11614 void *ptr;
11615 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11616 _v = 0;
11617 PyErr_Clear();
11618 } else {
11619 _v = 1;
11620 }
11621 }
11622 if (_v) {
11623 {
11624 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11625 }
11626 if (_v) {
11627 if (argc <= 2) {
11628 return _wrap_Sound_Create__SWIG_0(self,args);
11629 }
11630 _v = SWIG_CheckBool(argv[2]);
11631 if (_v) {
11632 return _wrap_Sound_Create__SWIG_0(self,args);
11633 }
11634 }
11635 }
11636 }
11637 if (argc == 3) {
11638 int _v;
11639 {
11640 void *ptr;
11641 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11642 _v = 0;
11643 PyErr_Clear();
11644 } else {
11645 _v = 1;
11646 }
11647 }
11648 if (_v) {
11649 _v = SWIG_CheckInt(argv[1]);
11650 if (_v) {
11651 {
11652 void *ptr;
11653 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11654 _v = 0;
11655 PyErr_Clear();
11656 } else {
11657 _v = 1;
11658 }
11659 }
11660 if (_v) {
11661 return _wrap_Sound_Create__SWIG_1(self,args);
11662 }
11663 }
11664 }
11665 }
11666
11667 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11668 return NULL;
11669 }
11670
11671
11672 static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11673 PyObject *resultobj;
11674 wxSound *arg1 = (wxSound *) 0 ;
11675 bool result;
11676 PyObject * obj0 = 0 ;
11677 char *kwnames[] = {
11678 (char *) "self", NULL
11679 };
11680
11681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11684 {
11685 PyThreadState* __tstate = wxPyBeginAllowThreads();
11686 result = (bool)(arg1)->IsOk();
11687
11688 wxPyEndAllowThreads(__tstate);
11689 if (PyErr_Occurred()) SWIG_fail;
11690 }
11691 {
11692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11693 }
11694 return resultobj;
11695 fail:
11696 return NULL;
11697 }
11698
11699
11700 static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args) {
11701 PyObject *resultobj;
11702 wxSound *arg1 = (wxSound *) 0 ;
11703 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11704 bool result;
11705 PyObject * obj0 = 0 ;
11706 PyObject * obj1 = 0 ;
11707
11708 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
11709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11711 if (obj1) {
11712 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 {
11716 PyThreadState* __tstate = wxPyBeginAllowThreads();
11717 result = (bool)((wxSound const *)arg1)->Play(arg2);
11718
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 {
11723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11724 }
11725 return resultobj;
11726 fail:
11727 return NULL;
11728 }
11729
11730
11731 static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args) {
11732 PyObject *resultobj;
11733 wxString *arg1 = 0 ;
11734 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11735 bool result;
11736 bool temp1 = False ;
11737 PyObject * obj0 = 0 ;
11738 PyObject * obj1 = 0 ;
11739
11740 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11741 {
11742 arg1 = wxString_in_helper(obj0);
11743 if (arg1 == NULL) SWIG_fail;
11744 temp1 = True;
11745 }
11746 if (obj1) {
11747 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
11750 {
11751 PyThreadState* __tstate = wxPyBeginAllowThreads();
11752 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11753
11754 wxPyEndAllowThreads(__tstate);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 }
11757 {
11758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11759 }
11760 {
11761 if (temp1)
11762 delete arg1;
11763 }
11764 return resultobj;
11765 fail:
11766 {
11767 if (temp1)
11768 delete arg1;
11769 }
11770 return NULL;
11771 }
11772
11773
11774 static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11775 PyObject *resultobj;
11776 char *kwnames[] = {
11777 NULL
11778 };
11779
11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11781 {
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 wxSound::Stop();
11784
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
11788 Py_INCREF(Py_None); resultobj = Py_None;
11789 return resultobj;
11790 fail:
11791 return NULL;
11792 }
11793
11794
11795 static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
11796 PyObject *obj;
11797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11798 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11799 Py_INCREF(obj);
11800 return Py_BuildValue((char *)"");
11801 }
11802 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11803 PyObject *resultobj;
11804 wxString *arg1 = 0 ;
11805 wxString *arg2 = 0 ;
11806 wxString *arg3 = 0 ;
11807 wxString *arg4 = 0 ;
11808 wxFileTypeInfo *result;
11809 bool temp1 = False ;
11810 bool temp2 = False ;
11811 bool temp3 = False ;
11812 bool temp4 = False ;
11813 PyObject * obj0 = 0 ;
11814 PyObject * obj1 = 0 ;
11815 PyObject * obj2 = 0 ;
11816 PyObject * obj3 = 0 ;
11817 char *kwnames[] = {
11818 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11819 };
11820
11821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11822 {
11823 arg1 = wxString_in_helper(obj0);
11824 if (arg1 == NULL) SWIG_fail;
11825 temp1 = True;
11826 }
11827 {
11828 arg2 = wxString_in_helper(obj1);
11829 if (arg2 == NULL) SWIG_fail;
11830 temp2 = True;
11831 }
11832 {
11833 arg3 = wxString_in_helper(obj2);
11834 if (arg3 == NULL) SWIG_fail;
11835 temp3 = True;
11836 }
11837 {
11838 arg4 = wxString_in_helper(obj3);
11839 if (arg4 == NULL) SWIG_fail;
11840 temp4 = True;
11841 }
11842 {
11843 PyThreadState* __tstate = wxPyBeginAllowThreads();
11844 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11845
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11850 {
11851 if (temp1)
11852 delete arg1;
11853 }
11854 {
11855 if (temp2)
11856 delete arg2;
11857 }
11858 {
11859 if (temp3)
11860 delete arg3;
11861 }
11862 {
11863 if (temp4)
11864 delete arg4;
11865 }
11866 return resultobj;
11867 fail:
11868 {
11869 if (temp1)
11870 delete arg1;
11871 }
11872 {
11873 if (temp2)
11874 delete arg2;
11875 }
11876 {
11877 if (temp3)
11878 delete arg3;
11879 }
11880 {
11881 if (temp4)
11882 delete arg4;
11883 }
11884 return NULL;
11885 }
11886
11887
11888 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
11889 PyObject *resultobj;
11890 wxArrayString *arg1 = 0 ;
11891 wxFileTypeInfo *result;
11892 bool temp1 = False ;
11893 PyObject * obj0 = 0 ;
11894 char *kwnames[] = {
11895 (char *) "sArray", NULL
11896 };
11897
11898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11899 {
11900 if (! PySequence_Check(obj0)) {
11901 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11902 SWIG_fail;
11903 }
11904 arg1 = new wxArrayString;
11905 temp1 = True;
11906 int i, len=PySequence_Length(obj0);
11907 for (i=0; i<len; i++) {
11908 PyObject* item = PySequence_GetItem(obj0, i);
11909 #if wxUSE_UNICODE
11910 PyObject* str = PyObject_Unicode(item);
11911 #else
11912 PyObject* str = PyObject_Str(item);
11913 #endif
11914 arg1->Add(Py2wxString(str));
11915 Py_DECREF(item);
11916 Py_DECREF(str);
11917 }
11918 }
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
11921 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11922
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11927 {
11928 if (temp1) delete arg1;
11929 }
11930 return resultobj;
11931 fail:
11932 {
11933 if (temp1) delete arg1;
11934 }
11935 return NULL;
11936 }
11937
11938
11939 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj;
11941 wxFileTypeInfo *result;
11942 char *kwnames[] = {
11943 NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11950
11951 wxPyEndAllowThreads(__tstate);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 }
11954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11955 return resultobj;
11956 fail:
11957 return NULL;
11958 }
11959
11960
11961 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
11962 PyObject *resultobj;
11963 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11964 bool result;
11965 PyObject * obj0 = 0 ;
11966 char *kwnames[] = {
11967 (char *) "self", NULL
11968 };
11969
11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
11971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 {
11981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11982 }
11983 return resultobj;
11984 fail:
11985 return NULL;
11986 }
11987
11988
11989 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11990 PyObject *resultobj;
11991 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11992 wxString *arg2 = 0 ;
11993 int arg3 = (int) 0 ;
11994 bool temp2 = False ;
11995 PyObject * obj0 = 0 ;
11996 PyObject * obj1 = 0 ;
11997 PyObject * obj2 = 0 ;
11998 char *kwnames[] = {
11999 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12000 };
12001
12002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12005 {
12006 arg2 = wxString_in_helper(obj1);
12007 if (arg2 == NULL) SWIG_fail;
12008 temp2 = True;
12009 }
12010 if (obj2) {
12011 arg3 = (int) SWIG_AsInt(obj2);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 Py_INCREF(Py_None); resultobj = Py_None;
12022 {
12023 if (temp2)
12024 delete arg2;
12025 }
12026 return resultobj;
12027 fail:
12028 {
12029 if (temp2)
12030 delete arg2;
12031 }
12032 return NULL;
12033 }
12034
12035
12036 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12037 PyObject *resultobj;
12038 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12039 wxString *arg2 = 0 ;
12040 bool temp2 = False ;
12041 PyObject * obj0 = 0 ;
12042 PyObject * obj1 = 0 ;
12043 char *kwnames[] = {
12044 (char *) "self",(char *) "shortDesc", NULL
12045 };
12046
12047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12050 {
12051 arg2 = wxString_in_helper(obj1);
12052 if (arg2 == NULL) SWIG_fail;
12053 temp2 = True;
12054 }
12055 {
12056 PyThreadState* __tstate = wxPyBeginAllowThreads();
12057 (arg1)->SetShortDesc((wxString const &)*arg2);
12058
12059 wxPyEndAllowThreads(__tstate);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 }
12062 Py_INCREF(Py_None); resultobj = Py_None;
12063 {
12064 if (temp2)
12065 delete arg2;
12066 }
12067 return resultobj;
12068 fail:
12069 {
12070 if (temp2)
12071 delete arg2;
12072 }
12073 return NULL;
12074 }
12075
12076
12077 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12078 PyObject *resultobj;
12079 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12080 wxString *result;
12081 PyObject * obj0 = 0 ;
12082 char *kwnames[] = {
12083 (char *) "self", NULL
12084 };
12085
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 {
12092 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12093 result = (wxString *) &_result_ref;
12094 }
12095
12096 wxPyEndAllowThreads(__tstate);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 }
12099 {
12100 #if wxUSE_UNICODE
12101 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12102 #else
12103 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12104 #endif
12105 }
12106 return resultobj;
12107 fail:
12108 return NULL;
12109 }
12110
12111
12112 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12113 PyObject *resultobj;
12114 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12115 wxString *result;
12116 PyObject * obj0 = 0 ;
12117 char *kwnames[] = {
12118 (char *) "self", NULL
12119 };
12120
12121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 {
12127 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12128 result = (wxString *) &_result_ref;
12129 }
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 {
12135 #if wxUSE_UNICODE
12136 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12137 #else
12138 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12139 #endif
12140 }
12141 return resultobj;
12142 fail:
12143 return NULL;
12144 }
12145
12146
12147 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12148 PyObject *resultobj;
12149 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12150 wxString *result;
12151 PyObject * obj0 = 0 ;
12152 char *kwnames[] = {
12153 (char *) "self", NULL
12154 };
12155
12156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 {
12162 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12163 result = (wxString *) &_result_ref;
12164 }
12165
12166 wxPyEndAllowThreads(__tstate);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 }
12169 {
12170 #if wxUSE_UNICODE
12171 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12172 #else
12173 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12174 #endif
12175 }
12176 return resultobj;
12177 fail:
12178 return NULL;
12179 }
12180
12181
12182 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12183 PyObject *resultobj;
12184 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12185 wxString *result;
12186 PyObject * obj0 = 0 ;
12187 char *kwnames[] = {
12188 (char *) "self", NULL
12189 };
12190
12191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12194 {
12195 PyThreadState* __tstate = wxPyBeginAllowThreads();
12196 {
12197 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12198 result = (wxString *) &_result_ref;
12199 }
12200
12201 wxPyEndAllowThreads(__tstate);
12202 if (PyErr_Occurred()) SWIG_fail;
12203 }
12204 {
12205 #if wxUSE_UNICODE
12206 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12207 #else
12208 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12209 #endif
12210 }
12211 return resultobj;
12212 fail:
12213 return NULL;
12214 }
12215
12216
12217 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12218 PyObject *resultobj;
12219 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12220 wxString *result;
12221 PyObject * obj0 = 0 ;
12222 char *kwnames[] = {
12223 (char *) "self", NULL
12224 };
12225
12226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12229 {
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
12231 {
12232 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12233 result = (wxString *) &_result_ref;
12234 }
12235
12236 wxPyEndAllowThreads(__tstate);
12237 if (PyErr_Occurred()) SWIG_fail;
12238 }
12239 {
12240 #if wxUSE_UNICODE
12241 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12242 #else
12243 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12244 #endif
12245 }
12246 return resultobj;
12247 fail:
12248 return NULL;
12249 }
12250
12251
12252 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12253 PyObject *resultobj;
12254 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12255 wxArrayString *result;
12256 PyObject * obj0 = 0 ;
12257 char *kwnames[] = {
12258 (char *) "self", NULL
12259 };
12260
12261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12264 {
12265 PyThreadState* __tstate = wxPyBeginAllowThreads();
12266 {
12267 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12268 result = (wxArrayString *) &_result_ref;
12269 }
12270
12271 wxPyEndAllowThreads(__tstate);
12272 if (PyErr_Occurred()) SWIG_fail;
12273 }
12274 {
12275 resultobj = wxArrayString2PyList_helper(*result);
12276 }
12277 return resultobj;
12278 fail:
12279 return NULL;
12280 }
12281
12282
12283 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12284 PyObject *resultobj;
12285 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12286 int result;
12287 PyObject * obj0 = 0 ;
12288 char *kwnames[] = {
12289 (char *) "self", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12298
12299 wxPyEndAllowThreads(__tstate);
12300 if (PyErr_Occurred()) SWIG_fail;
12301 }
12302 resultobj = SWIG_FromInt((int)result);
12303 return resultobj;
12304 fail:
12305 return NULL;
12306 }
12307
12308
12309 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12310 PyObject *resultobj;
12311 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12312 wxString *result;
12313 PyObject * obj0 = 0 ;
12314 char *kwnames[] = {
12315 (char *) "self", NULL
12316 };
12317
12318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 {
12324 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12325 result = (wxString *) &_result_ref;
12326 }
12327
12328 wxPyEndAllowThreads(__tstate);
12329 if (PyErr_Occurred()) SWIG_fail;
12330 }
12331 {
12332 #if wxUSE_UNICODE
12333 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12334 #else
12335 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12336 #endif
12337 }
12338 return resultobj;
12339 fail:
12340 return NULL;
12341 }
12342
12343
12344 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12345 PyObject *resultobj;
12346 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12347 int result;
12348 PyObject * obj0 = 0 ;
12349 char *kwnames[] = {
12350 (char *) "self", NULL
12351 };
12352
12353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12356 {
12357 PyThreadState* __tstate = wxPyBeginAllowThreads();
12358 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12359
12360 wxPyEndAllowThreads(__tstate);
12361 if (PyErr_Occurred()) SWIG_fail;
12362 }
12363 resultobj = SWIG_FromInt((int)result);
12364 return resultobj;
12365 fail:
12366 return NULL;
12367 }
12368
12369
12370 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12371 PyObject *obj;
12372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12373 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12374 Py_INCREF(obj);
12375 return Py_BuildValue((char *)"");
12376 }
12377 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12378 PyObject *resultobj;
12379 wxFileTypeInfo *arg1 = 0 ;
12380 wxFileType *result;
12381 PyObject * obj0 = 0 ;
12382 char *kwnames[] = {
12383 (char *) "ftInfo", NULL
12384 };
12385
12386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12388 SWIG_POINTER_EXCEPTION | 0)) == -1)
12389 SWIG_fail;
12390 if (arg1 == NULL) {
12391 PyErr_SetString(PyExc_TypeError,"null reference");
12392 SWIG_fail;
12393 }
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12402 return resultobj;
12403 fail:
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxFileType *arg1 = (wxFileType *) 0 ;
12411 PyObject * obj0 = 0 ;
12412 char *kwnames[] = {
12413 (char *) "self", NULL
12414 };
12415
12416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 delete arg1;
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 Py_INCREF(Py_None); resultobj = Py_None;
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj;
12435 wxFileType *arg1 = (wxFileType *) 0 ;
12436 PyObject *result;
12437 PyObject * obj0 = 0 ;
12438 char *kwnames[] = {
12439 (char *) "self", NULL
12440 };
12441
12442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 result = (PyObject *)wxFileType_GetMimeType(arg1);
12448
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 resultobj = result;
12453 return resultobj;
12454 fail:
12455 return NULL;
12456 }
12457
12458
12459 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12460 PyObject *resultobj;
12461 wxFileType *arg1 = (wxFileType *) 0 ;
12462 PyObject *result;
12463 PyObject * obj0 = 0 ;
12464 char *kwnames[] = {
12465 (char *) "self", NULL
12466 };
12467
12468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12471 {
12472 PyThreadState* __tstate = wxPyBeginAllowThreads();
12473 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12474
12475 wxPyEndAllowThreads(__tstate);
12476 if (PyErr_Occurred()) SWIG_fail;
12477 }
12478 resultobj = result;
12479 return resultobj;
12480 fail:
12481 return NULL;
12482 }
12483
12484
12485 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12486 PyObject *resultobj;
12487 wxFileType *arg1 = (wxFileType *) 0 ;
12488 PyObject *result;
12489 PyObject * obj0 = 0 ;
12490 char *kwnames[] = {
12491 (char *) "self", NULL
12492 };
12493
12494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = (PyObject *)wxFileType_GetExtensions(arg1);
12500
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) SWIG_fail;
12503 }
12504 resultobj = result;
12505 return resultobj;
12506 fail:
12507 return NULL;
12508 }
12509
12510
12511 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12512 PyObject *resultobj;
12513 wxFileType *arg1 = (wxFileType *) 0 ;
12514 wxIcon *result;
12515 PyObject * obj0 = 0 ;
12516 char *kwnames[] = {
12517 (char *) "self", NULL
12518 };
12519
12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 result = (wxIcon *)wxFileType_GetIcon(arg1);
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12531 return resultobj;
12532 fail:
12533 return NULL;
12534 }
12535
12536
12537 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12538 PyObject *resultobj;
12539 wxFileType *arg1 = (wxFileType *) 0 ;
12540 PyObject *result;
12541 PyObject * obj0 = 0 ;
12542 char *kwnames[] = {
12543 (char *) "self", NULL
12544 };
12545
12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12549 {
12550 PyThreadState* __tstate = wxPyBeginAllowThreads();
12551 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12552
12553 wxPyEndAllowThreads(__tstate);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 }
12556 resultobj = result;
12557 return resultobj;
12558 fail:
12559 return NULL;
12560 }
12561
12562
12563 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12564 PyObject *resultobj;
12565 wxFileType *arg1 = (wxFileType *) 0 ;
12566 PyObject *result;
12567 PyObject * obj0 = 0 ;
12568 char *kwnames[] = {
12569 (char *) "self", NULL
12570 };
12571
12572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12575 {
12576 PyThreadState* __tstate = wxPyBeginAllowThreads();
12577 result = (PyObject *)wxFileType_GetDescription(arg1);
12578
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
12582 resultobj = result;
12583 return resultobj;
12584 fail:
12585 return NULL;
12586 }
12587
12588
12589 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12590 PyObject *resultobj;
12591 wxFileType *arg1 = (wxFileType *) 0 ;
12592 wxString *arg2 = 0 ;
12593 wxString const &arg3_defvalue = wxPyEmptyString ;
12594 wxString *arg3 = (wxString *) &arg3_defvalue ;
12595 PyObject *result;
12596 bool temp2 = False ;
12597 bool temp3 = False ;
12598 PyObject * obj0 = 0 ;
12599 PyObject * obj1 = 0 ;
12600 PyObject * obj2 = 0 ;
12601 char *kwnames[] = {
12602 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12603 };
12604
12605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12608 {
12609 arg2 = wxString_in_helper(obj1);
12610 if (arg2 == NULL) SWIG_fail;
12611 temp2 = True;
12612 }
12613 if (obj2) {
12614 {
12615 arg3 = wxString_in_helper(obj2);
12616 if (arg3 == NULL) SWIG_fail;
12617 temp3 = True;
12618 }
12619 }
12620 {
12621 PyThreadState* __tstate = wxPyBeginAllowThreads();
12622 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12623
12624 wxPyEndAllowThreads(__tstate);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 resultobj = result;
12628 {
12629 if (temp2)
12630 delete arg2;
12631 }
12632 {
12633 if (temp3)
12634 delete arg3;
12635 }
12636 return resultobj;
12637 fail:
12638 {
12639 if (temp2)
12640 delete arg2;
12641 }
12642 {
12643 if (temp3)
12644 delete arg3;
12645 }
12646 return NULL;
12647 }
12648
12649
12650 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxFileType *arg1 = (wxFileType *) 0 ;
12653 wxString *arg2 = 0 ;
12654 wxString const &arg3_defvalue = wxPyEmptyString ;
12655 wxString *arg3 = (wxString *) &arg3_defvalue ;
12656 PyObject *result;
12657 bool temp2 = False ;
12658 bool temp3 = False ;
12659 PyObject * obj0 = 0 ;
12660 PyObject * obj1 = 0 ;
12661 PyObject * obj2 = 0 ;
12662 char *kwnames[] = {
12663 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12664 };
12665
12666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12669 {
12670 arg2 = wxString_in_helper(obj1);
12671 if (arg2 == NULL) SWIG_fail;
12672 temp2 = True;
12673 }
12674 if (obj2) {
12675 {
12676 arg3 = wxString_in_helper(obj2);
12677 if (arg3 == NULL) SWIG_fail;
12678 temp3 = True;
12679 }
12680 }
12681 {
12682 PyThreadState* __tstate = wxPyBeginAllowThreads();
12683 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12684
12685 wxPyEndAllowThreads(__tstate);
12686 if (PyErr_Occurred()) SWIG_fail;
12687 }
12688 resultobj = result;
12689 {
12690 if (temp2)
12691 delete arg2;
12692 }
12693 {
12694 if (temp3)
12695 delete arg3;
12696 }
12697 return resultobj;
12698 fail:
12699 {
12700 if (temp2)
12701 delete arg2;
12702 }
12703 {
12704 if (temp3)
12705 delete arg3;
12706 }
12707 return NULL;
12708 }
12709
12710
12711 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12712 PyObject *resultobj;
12713 wxFileType *arg1 = (wxFileType *) 0 ;
12714 wxString *arg2 = 0 ;
12715 wxString const &arg3_defvalue = wxPyEmptyString ;
12716 wxString *arg3 = (wxString *) &arg3_defvalue ;
12717 PyObject *result;
12718 bool temp2 = False ;
12719 bool temp3 = False ;
12720 PyObject * obj0 = 0 ;
12721 PyObject * obj1 = 0 ;
12722 PyObject * obj2 = 0 ;
12723 char *kwnames[] = {
12724 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12725 };
12726
12727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12730 {
12731 arg2 = wxString_in_helper(obj1);
12732 if (arg2 == NULL) SWIG_fail;
12733 temp2 = True;
12734 }
12735 if (obj2) {
12736 {
12737 arg3 = wxString_in_helper(obj2);
12738 if (arg3 == NULL) SWIG_fail;
12739 temp3 = True;
12740 }
12741 }
12742 {
12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
12744 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12745
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 resultobj = result;
12750 {
12751 if (temp2)
12752 delete arg2;
12753 }
12754 {
12755 if (temp3)
12756 delete arg3;
12757 }
12758 return resultobj;
12759 fail:
12760 {
12761 if (temp2)
12762 delete arg2;
12763 }
12764 {
12765 if (temp3)
12766 delete arg3;
12767 }
12768 return NULL;
12769 }
12770
12771
12772 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12773 PyObject *resultobj;
12774 wxFileType *arg1 = (wxFileType *) 0 ;
12775 wxString *arg2 = 0 ;
12776 wxString *arg3 = 0 ;
12777 bool arg4 = (bool) True ;
12778 bool result;
12779 bool temp2 = False ;
12780 bool temp3 = False ;
12781 PyObject * obj0 = 0 ;
12782 PyObject * obj1 = 0 ;
12783 PyObject * obj2 = 0 ;
12784 PyObject * obj3 = 0 ;
12785 char *kwnames[] = {
12786 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12787 };
12788
12789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12792 {
12793 arg2 = wxString_in_helper(obj1);
12794 if (arg2 == NULL) SWIG_fail;
12795 temp2 = True;
12796 }
12797 {
12798 arg3 = wxString_in_helper(obj2);
12799 if (arg3 == NULL) SWIG_fail;
12800 temp3 = True;
12801 }
12802 if (obj3) {
12803 arg4 = (bool) SWIG_AsBool(obj3);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 }
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12809
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
12813 {
12814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12815 }
12816 {
12817 if (temp2)
12818 delete arg2;
12819 }
12820 {
12821 if (temp3)
12822 delete arg3;
12823 }
12824 return resultobj;
12825 fail:
12826 {
12827 if (temp2)
12828 delete arg2;
12829 }
12830 {
12831 if (temp3)
12832 delete arg3;
12833 }
12834 return NULL;
12835 }
12836
12837
12838 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12839 PyObject *resultobj;
12840 wxFileType *arg1 = (wxFileType *) 0 ;
12841 wxString const &arg2_defvalue = wxPyEmptyString ;
12842 wxString *arg2 = (wxString *) &arg2_defvalue ;
12843 int arg3 = (int) 0 ;
12844 bool result;
12845 bool temp2 = False ;
12846 PyObject * obj0 = 0 ;
12847 PyObject * obj1 = 0 ;
12848 PyObject * obj2 = 0 ;
12849 char *kwnames[] = {
12850 (char *) "self",(char *) "cmd",(char *) "index", NULL
12851 };
12852
12853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12856 if (obj1) {
12857 {
12858 arg2 = wxString_in_helper(obj1);
12859 if (arg2 == NULL) SWIG_fail;
12860 temp2 = True;
12861 }
12862 }
12863 if (obj2) {
12864 arg3 = (int) SWIG_AsInt(obj2);
12865 if (PyErr_Occurred()) SWIG_fail;
12866 }
12867 {
12868 PyThreadState* __tstate = wxPyBeginAllowThreads();
12869 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12870
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 }
12874 {
12875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12876 }
12877 {
12878 if (temp2)
12879 delete arg2;
12880 }
12881 return resultobj;
12882 fail:
12883 {
12884 if (temp2)
12885 delete arg2;
12886 }
12887 return NULL;
12888 }
12889
12890
12891 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj;
12893 wxFileType *arg1 = (wxFileType *) 0 ;
12894 bool result;
12895 PyObject * obj0 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
12901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 result = (bool)(arg1)->Unassociate();
12906
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 {
12911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12912 }
12913 return resultobj;
12914 fail:
12915 return NULL;
12916 }
12917
12918
12919 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12920 PyObject *resultobj;
12921 wxString *arg1 = 0 ;
12922 wxString *arg2 = 0 ;
12923 wxString const &arg3_defvalue = wxPyEmptyString ;
12924 wxString *arg3 = (wxString *) &arg3_defvalue ;
12925 wxString result;
12926 bool temp1 = False ;
12927 bool temp2 = False ;
12928 bool temp3 = False ;
12929 PyObject * obj0 = 0 ;
12930 PyObject * obj1 = 0 ;
12931 PyObject * obj2 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12934 };
12935
12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12937 {
12938 arg1 = wxString_in_helper(obj0);
12939 if (arg1 == NULL) SWIG_fail;
12940 temp1 = True;
12941 }
12942 {
12943 arg2 = wxString_in_helper(obj1);
12944 if (arg2 == NULL) SWIG_fail;
12945 temp2 = True;
12946 }
12947 if (obj2) {
12948 {
12949 arg3 = wxString_in_helper(obj2);
12950 if (arg3 == NULL) SWIG_fail;
12951 temp3 = True;
12952 }
12953 }
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 {
12962 #if wxUSE_UNICODE
12963 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12964 #else
12965 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12966 #endif
12967 }
12968 {
12969 if (temp1)
12970 delete arg1;
12971 }
12972 {
12973 if (temp2)
12974 delete arg2;
12975 }
12976 {
12977 if (temp3)
12978 delete arg3;
12979 }
12980 return resultobj;
12981 fail:
12982 {
12983 if (temp1)
12984 delete arg1;
12985 }
12986 {
12987 if (temp2)
12988 delete arg2;
12989 }
12990 {
12991 if (temp3)
12992 delete arg3;
12993 }
12994 return NULL;
12995 }
12996
12997
12998 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
12999 PyObject *obj;
13000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13001 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13002 Py_INCREF(obj);
13003 return Py_BuildValue((char *)"");
13004 }
13005 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
13006 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13007 return 1;
13008 }
13009
13010
13011 static PyObject *_wrap_TheMimeTypesManager_get() {
13012 PyObject *pyobj;
13013
13014 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13015 return pyobj;
13016 }
13017
13018
13019 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
13020 PyObject *resultobj;
13021 wxString *arg1 = 0 ;
13022 wxString *arg2 = 0 ;
13023 bool result;
13024 bool temp1 = False ;
13025 bool temp2 = False ;
13026 PyObject * obj0 = 0 ;
13027 PyObject * obj1 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "mimeType",(char *) "wildcard", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13033 {
13034 arg1 = wxString_in_helper(obj0);
13035 if (arg1 == NULL) SWIG_fail;
13036 temp1 = True;
13037 }
13038 {
13039 arg2 = wxString_in_helper(obj1);
13040 if (arg2 == NULL) SWIG_fail;
13041 temp2 = True;
13042 }
13043 {
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13046
13047 wxPyEndAllowThreads(__tstate);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 }
13050 {
13051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13052 }
13053 {
13054 if (temp1)
13055 delete arg1;
13056 }
13057 {
13058 if (temp2)
13059 delete arg2;
13060 }
13061 return resultobj;
13062 fail:
13063 {
13064 if (temp1)
13065 delete arg1;
13066 }
13067 {
13068 if (temp2)
13069 delete arg2;
13070 }
13071 return NULL;
13072 }
13073
13074
13075 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13076 PyObject *resultobj;
13077 wxMimeTypesManager *result;
13078 char *kwnames[] = {
13079 NULL
13080 };
13081
13082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13083 {
13084 PyThreadState* __tstate = wxPyBeginAllowThreads();
13085 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13086
13087 wxPyEndAllowThreads(__tstate);
13088 if (PyErr_Occurred()) SWIG_fail;
13089 }
13090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13091 return resultobj;
13092 fail:
13093 return NULL;
13094 }
13095
13096
13097 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
13098 PyObject *resultobj;
13099 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13100 int arg2 = (int) wxMAILCAP_ALL ;
13101 wxString const &arg3_defvalue = wxPyEmptyString ;
13102 wxString *arg3 = (wxString *) &arg3_defvalue ;
13103 bool temp3 = False ;
13104 PyObject * obj0 = 0 ;
13105 PyObject * obj1 = 0 ;
13106 PyObject * obj2 = 0 ;
13107 char *kwnames[] = {
13108 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13109 };
13110
13111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13114 if (obj1) {
13115 arg2 = (int) SWIG_AsInt(obj1);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 if (obj2) {
13119 {
13120 arg3 = wxString_in_helper(obj2);
13121 if (arg3 == NULL) SWIG_fail;
13122 temp3 = True;
13123 }
13124 }
13125 {
13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
13127 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13128
13129 wxPyEndAllowThreads(__tstate);
13130 if (PyErr_Occurred()) SWIG_fail;
13131 }
13132 Py_INCREF(Py_None); resultobj = Py_None;
13133 {
13134 if (temp3)
13135 delete arg3;
13136 }
13137 return resultobj;
13138 fail:
13139 {
13140 if (temp3)
13141 delete arg3;
13142 }
13143 return NULL;
13144 }
13145
13146
13147 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
13148 PyObject *resultobj;
13149 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13150 PyObject * obj0 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "self", NULL
13153 };
13154
13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13158 {
13159 PyThreadState* __tstate = wxPyBeginAllowThreads();
13160 (arg1)->ClearData();
13161
13162 wxPyEndAllowThreads(__tstate);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
13165 Py_INCREF(Py_None); resultobj = Py_None;
13166 return resultobj;
13167 fail:
13168 return NULL;
13169 }
13170
13171
13172 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
13173 PyObject *resultobj;
13174 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13175 wxString *arg2 = 0 ;
13176 wxFileType *result;
13177 bool temp2 = False ;
13178 PyObject * obj0 = 0 ;
13179 PyObject * obj1 = 0 ;
13180 char *kwnames[] = {
13181 (char *) "self",(char *) "ext", NULL
13182 };
13183
13184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13187 {
13188 arg2 = wxString_in_helper(obj1);
13189 if (arg2 == NULL) SWIG_fail;
13190 temp2 = True;
13191 }
13192 {
13193 PyThreadState* __tstate = wxPyBeginAllowThreads();
13194 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13195
13196 wxPyEndAllowThreads(__tstate);
13197 if (PyErr_Occurred()) SWIG_fail;
13198 }
13199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13200 {
13201 if (temp2)
13202 delete arg2;
13203 }
13204 return resultobj;
13205 fail:
13206 {
13207 if (temp2)
13208 delete arg2;
13209 }
13210 return NULL;
13211 }
13212
13213
13214 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj;
13216 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13217 wxString *arg2 = 0 ;
13218 wxFileType *result;
13219 bool temp2 = False ;
13220 PyObject * obj0 = 0 ;
13221 PyObject * obj1 = 0 ;
13222 char *kwnames[] = {
13223 (char *) "self",(char *) "mimeType", NULL
13224 };
13225
13226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13229 {
13230 arg2 = wxString_in_helper(obj1);
13231 if (arg2 == NULL) SWIG_fail;
13232 temp2 = True;
13233 }
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
13241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13242 {
13243 if (temp2)
13244 delete arg2;
13245 }
13246 return resultobj;
13247 fail:
13248 {
13249 if (temp2)
13250 delete arg2;
13251 }
13252 return NULL;
13253 }
13254
13255
13256 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj;
13258 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13259 wxString *arg2 = 0 ;
13260 bool arg3 = (bool) False ;
13261 bool result;
13262 bool temp2 = False ;
13263 PyObject * obj0 = 0 ;
13264 PyObject * obj1 = 0 ;
13265 PyObject * obj2 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13273 {
13274 arg2 = wxString_in_helper(obj1);
13275 if (arg2 == NULL) SWIG_fail;
13276 temp2 = True;
13277 }
13278 if (obj2) {
13279 arg3 = (bool) SWIG_AsBool(obj2);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 {
13283 PyThreadState* __tstate = wxPyBeginAllowThreads();
13284 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13285
13286 wxPyEndAllowThreads(__tstate);
13287 if (PyErr_Occurred()) SWIG_fail;
13288 }
13289 {
13290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13291 }
13292 {
13293 if (temp2)
13294 delete arg2;
13295 }
13296 return resultobj;
13297 fail:
13298 {
13299 if (temp2)
13300 delete arg2;
13301 }
13302 return NULL;
13303 }
13304
13305
13306 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13307 PyObject *resultobj;
13308 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13309 wxString *arg2 = 0 ;
13310 bool result;
13311 bool temp2 = False ;
13312 PyObject * obj0 = 0 ;
13313 PyObject * obj1 = 0 ;
13314 char *kwnames[] = {
13315 (char *) "self",(char *) "filename", NULL
13316 };
13317
13318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13321 {
13322 arg2 = wxString_in_helper(obj1);
13323 if (arg2 == NULL) SWIG_fail;
13324 temp2 = True;
13325 }
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13329
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 {
13334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13335 }
13336 {
13337 if (temp2)
13338 delete arg2;
13339 }
13340 return resultobj;
13341 fail:
13342 {
13343 if (temp2)
13344 delete arg2;
13345 }
13346 return NULL;
13347 }
13348
13349
13350 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13351 PyObject *resultobj;
13352 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13353 PyObject *result;
13354 PyObject * obj0 = 0 ;
13355 char *kwnames[] = {
13356 (char *) "self", NULL
13357 };
13358
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13365
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 resultobj = result;
13370 return resultobj;
13371 fail:
13372 return NULL;
13373 }
13374
13375
13376 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13377 PyObject *resultobj;
13378 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13379 wxFileTypeInfo *arg2 = 0 ;
13380 PyObject * obj0 = 0 ;
13381 PyObject * obj1 = 0 ;
13382 char *kwnames[] = {
13383 (char *) "self",(char *) "ft", NULL
13384 };
13385
13386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13390 SWIG_POINTER_EXCEPTION | 0)) == -1)
13391 SWIG_fail;
13392 if (arg2 == NULL) {
13393 PyErr_SetString(PyExc_TypeError,"null reference");
13394 SWIG_fail;
13395 }
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13399
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 Py_INCREF(Py_None); resultobj = Py_None;
13404 return resultobj;
13405 fail:
13406 return NULL;
13407 }
13408
13409
13410 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13411 PyObject *resultobj;
13412 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13413 wxFileTypeInfo *arg2 = 0 ;
13414 wxFileType *result;
13415 PyObject * obj0 = 0 ;
13416 PyObject * obj1 = 0 ;
13417 char *kwnames[] = {
13418 (char *) "self",(char *) "ftInfo", NULL
13419 };
13420
13421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13425 SWIG_POINTER_EXCEPTION | 0)) == -1)
13426 SWIG_fail;
13427 if (arg2 == NULL) {
13428 PyErr_SetString(PyExc_TypeError,"null reference");
13429 SWIG_fail;
13430 }
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13439 return resultobj;
13440 fail:
13441 return NULL;
13442 }
13443
13444
13445 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13446 PyObject *resultobj;
13447 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13448 wxFileType *arg2 = (wxFileType *) 0 ;
13449 bool result;
13450 PyObject * obj0 = 0 ;
13451 PyObject * obj1 = 0 ;
13452 char *kwnames[] = {
13453 (char *) "self",(char *) "ft", NULL
13454 };
13455
13456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13459 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13461 {
13462 PyThreadState* __tstate = wxPyBeginAllowThreads();
13463 result = (bool)(arg1)->Unassociate(arg2);
13464
13465 wxPyEndAllowThreads(__tstate);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 {
13469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13470 }
13471 return resultobj;
13472 fail:
13473 return NULL;
13474 }
13475
13476
13477 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13478 PyObject *resultobj;
13479 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13480 PyObject * obj0 = 0 ;
13481 char *kwnames[] = {
13482 (char *) "self", NULL
13483 };
13484
13485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13488 {
13489 PyThreadState* __tstate = wxPyBeginAllowThreads();
13490 delete arg1;
13491
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 Py_INCREF(Py_None); resultobj = Py_None;
13496 return resultobj;
13497 fail:
13498 return NULL;
13499 }
13500
13501
13502 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13503 PyObject *obj;
13504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13505 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13506 Py_INCREF(obj);
13507 return Py_BuildValue((char *)"");
13508 }
13509 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
13510 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13511 return 1;
13512 }
13513
13514
13515 static PyObject *_wrap_ART_TOOLBAR_get() {
13516 PyObject *pyobj;
13517
13518 {
13519 #if wxUSE_UNICODE
13520 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13521 #else
13522 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13523 #endif
13524 }
13525 return pyobj;
13526 }
13527
13528
13529 static int _wrap_ART_MENU_set(PyObject *_val) {
13530 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13531 return 1;
13532 }
13533
13534
13535 static PyObject *_wrap_ART_MENU_get() {
13536 PyObject *pyobj;
13537
13538 {
13539 #if wxUSE_UNICODE
13540 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13541 #else
13542 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13543 #endif
13544 }
13545 return pyobj;
13546 }
13547
13548
13549 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13550 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13551 return 1;
13552 }
13553
13554
13555 static PyObject *_wrap_ART_FRAME_ICON_get() {
13556 PyObject *pyobj;
13557
13558 {
13559 #if wxUSE_UNICODE
13560 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13561 #else
13562 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13563 #endif
13564 }
13565 return pyobj;
13566 }
13567
13568
13569 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13570 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13571 return 1;
13572 }
13573
13574
13575 static PyObject *_wrap_ART_CMN_DIALOG_get() {
13576 PyObject *pyobj;
13577
13578 {
13579 #if wxUSE_UNICODE
13580 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13581 #else
13582 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13583 #endif
13584 }
13585 return pyobj;
13586 }
13587
13588
13589 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13590 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13591 return 1;
13592 }
13593
13594
13595 static PyObject *_wrap_ART_HELP_BROWSER_get() {
13596 PyObject *pyobj;
13597
13598 {
13599 #if wxUSE_UNICODE
13600 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13601 #else
13602 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13603 #endif
13604 }
13605 return pyobj;
13606 }
13607
13608
13609 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13610 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13611 return 1;
13612 }
13613
13614
13615 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13616 PyObject *pyobj;
13617
13618 {
13619 #if wxUSE_UNICODE
13620 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13621 #else
13622 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13623 #endif
13624 }
13625 return pyobj;
13626 }
13627
13628
13629 static int _wrap_ART_OTHER_set(PyObject *_val) {
13630 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13631 return 1;
13632 }
13633
13634
13635 static PyObject *_wrap_ART_OTHER_get() {
13636 PyObject *pyobj;
13637
13638 {
13639 #if wxUSE_UNICODE
13640 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13641 #else
13642 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13643 #endif
13644 }
13645 return pyobj;
13646 }
13647
13648
13649 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13650 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13651 return 1;
13652 }
13653
13654
13655 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13656 PyObject *pyobj;
13657
13658 {
13659 #if wxUSE_UNICODE
13660 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13661 #else
13662 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13663 #endif
13664 }
13665 return pyobj;
13666 }
13667
13668
13669 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13670 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13671 return 1;
13672 }
13673
13674
13675 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13676 PyObject *pyobj;
13677
13678 {
13679 #if wxUSE_UNICODE
13680 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13681 #else
13682 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13683 #endif
13684 }
13685 return pyobj;
13686 }
13687
13688
13689 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13690 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13691 return 1;
13692 }
13693
13694
13695 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13696 PyObject *pyobj;
13697
13698 {
13699 #if wxUSE_UNICODE
13700 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13701 #else
13702 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13703 #endif
13704 }
13705 return pyobj;
13706 }
13707
13708
13709 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13710 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13711 return 1;
13712 }
13713
13714
13715 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13716 PyObject *pyobj;
13717
13718 {
13719 #if wxUSE_UNICODE
13720 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13721 #else
13722 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13723 #endif
13724 }
13725 return pyobj;
13726 }
13727
13728
13729 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13730 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13731 return 1;
13732 }
13733
13734
13735 static PyObject *_wrap_ART_HELP_BOOK_get() {
13736 PyObject *pyobj;
13737
13738 {
13739 #if wxUSE_UNICODE
13740 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13741 #else
13742 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13743 #endif
13744 }
13745 return pyobj;
13746 }
13747
13748
13749 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13750 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13751 return 1;
13752 }
13753
13754
13755 static PyObject *_wrap_ART_HELP_FOLDER_get() {
13756 PyObject *pyobj;
13757
13758 {
13759 #if wxUSE_UNICODE
13760 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13761 #else
13762 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13763 #endif
13764 }
13765 return pyobj;
13766 }
13767
13768
13769 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13770 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13771 return 1;
13772 }
13773
13774
13775 static PyObject *_wrap_ART_HELP_PAGE_get() {
13776 PyObject *pyobj;
13777
13778 {
13779 #if wxUSE_UNICODE
13780 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13781 #else
13782 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13783 #endif
13784 }
13785 return pyobj;
13786 }
13787
13788
13789 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13790 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13791 return 1;
13792 }
13793
13794
13795 static PyObject *_wrap_ART_GO_BACK_get() {
13796 PyObject *pyobj;
13797
13798 {
13799 #if wxUSE_UNICODE
13800 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13801 #else
13802 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13803 #endif
13804 }
13805 return pyobj;
13806 }
13807
13808
13809 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13810 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13811 return 1;
13812 }
13813
13814
13815 static PyObject *_wrap_ART_GO_FORWARD_get() {
13816 PyObject *pyobj;
13817
13818 {
13819 #if wxUSE_UNICODE
13820 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13821 #else
13822 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13823 #endif
13824 }
13825 return pyobj;
13826 }
13827
13828
13829 static int _wrap_ART_GO_UP_set(PyObject *_val) {
13830 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13831 return 1;
13832 }
13833
13834
13835 static PyObject *_wrap_ART_GO_UP_get() {
13836 PyObject *pyobj;
13837
13838 {
13839 #if wxUSE_UNICODE
13840 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13841 #else
13842 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13843 #endif
13844 }
13845 return pyobj;
13846 }
13847
13848
13849 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
13850 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13851 return 1;
13852 }
13853
13854
13855 static PyObject *_wrap_ART_GO_DOWN_get() {
13856 PyObject *pyobj;
13857
13858 {
13859 #if wxUSE_UNICODE
13860 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13861 #else
13862 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13863 #endif
13864 }
13865 return pyobj;
13866 }
13867
13868
13869 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
13870 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13871 return 1;
13872 }
13873
13874
13875 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13876 PyObject *pyobj;
13877
13878 {
13879 #if wxUSE_UNICODE
13880 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13881 #else
13882 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13883 #endif
13884 }
13885 return pyobj;
13886 }
13887
13888
13889 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
13890 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13891 return 1;
13892 }
13893
13894
13895 static PyObject *_wrap_ART_GO_HOME_get() {
13896 PyObject *pyobj;
13897
13898 {
13899 #if wxUSE_UNICODE
13900 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13901 #else
13902 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13903 #endif
13904 }
13905 return pyobj;
13906 }
13907
13908
13909 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
13910 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13911 return 1;
13912 }
13913
13914
13915 static PyObject *_wrap_ART_FILE_OPEN_get() {
13916 PyObject *pyobj;
13917
13918 {
13919 #if wxUSE_UNICODE
13920 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13921 #else
13922 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13923 #endif
13924 }
13925 return pyobj;
13926 }
13927
13928
13929 static int _wrap_ART_PRINT_set(PyObject *_val) {
13930 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13931 return 1;
13932 }
13933
13934
13935 static PyObject *_wrap_ART_PRINT_get() {
13936 PyObject *pyobj;
13937
13938 {
13939 #if wxUSE_UNICODE
13940 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13941 #else
13942 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13943 #endif
13944 }
13945 return pyobj;
13946 }
13947
13948
13949 static int _wrap_ART_HELP_set(PyObject *_val) {
13950 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13951 return 1;
13952 }
13953
13954
13955 static PyObject *_wrap_ART_HELP_get() {
13956 PyObject *pyobj;
13957
13958 {
13959 #if wxUSE_UNICODE
13960 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13961 #else
13962 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13963 #endif
13964 }
13965 return pyobj;
13966 }
13967
13968
13969 static int _wrap_ART_TIP_set(PyObject *_val) {
13970 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13971 return 1;
13972 }
13973
13974
13975 static PyObject *_wrap_ART_TIP_get() {
13976 PyObject *pyobj;
13977
13978 {
13979 #if wxUSE_UNICODE
13980 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13981 #else
13982 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13983 #endif
13984 }
13985 return pyobj;
13986 }
13987
13988
13989 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
13990 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
13991 return 1;
13992 }
13993
13994
13995 static PyObject *_wrap_ART_REPORT_VIEW_get() {
13996 PyObject *pyobj;
13997
13998 {
13999 #if wxUSE_UNICODE
14000 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14001 #else
14002 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14003 #endif
14004 }
14005 return pyobj;
14006 }
14007
14008
14009 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
14010 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14011 return 1;
14012 }
14013
14014
14015 static PyObject *_wrap_ART_LIST_VIEW_get() {
14016 PyObject *pyobj;
14017
14018 {
14019 #if wxUSE_UNICODE
14020 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14021 #else
14022 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14023 #endif
14024 }
14025 return pyobj;
14026 }
14027
14028
14029 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
14030 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14031 return 1;
14032 }
14033
14034
14035 static PyObject *_wrap_ART_NEW_DIR_get() {
14036 PyObject *pyobj;
14037
14038 {
14039 #if wxUSE_UNICODE
14040 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14041 #else
14042 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14043 #endif
14044 }
14045 return pyobj;
14046 }
14047
14048
14049 static int _wrap_ART_FOLDER_set(PyObject *_val) {
14050 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14051 return 1;
14052 }
14053
14054
14055 static PyObject *_wrap_ART_FOLDER_get() {
14056 PyObject *pyobj;
14057
14058 {
14059 #if wxUSE_UNICODE
14060 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14061 #else
14062 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14063 #endif
14064 }
14065 return pyobj;
14066 }
14067
14068
14069 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
14070 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14071 return 1;
14072 }
14073
14074
14075 static PyObject *_wrap_ART_GO_DIR_UP_get() {
14076 PyObject *pyobj;
14077
14078 {
14079 #if wxUSE_UNICODE
14080 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14081 #else
14082 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14083 #endif
14084 }
14085 return pyobj;
14086 }
14087
14088
14089 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
14090 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14091 return 1;
14092 }
14093
14094
14095 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14096 PyObject *pyobj;
14097
14098 {
14099 #if wxUSE_UNICODE
14100 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14101 #else
14102 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14103 #endif
14104 }
14105 return pyobj;
14106 }
14107
14108
14109 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
14110 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14111 return 1;
14112 }
14113
14114
14115 static PyObject *_wrap_ART_NORMAL_FILE_get() {
14116 PyObject *pyobj;
14117
14118 {
14119 #if wxUSE_UNICODE
14120 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14121 #else
14122 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14123 #endif
14124 }
14125 return pyobj;
14126 }
14127
14128
14129 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
14130 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14131 return 1;
14132 }
14133
14134
14135 static PyObject *_wrap_ART_TICK_MARK_get() {
14136 PyObject *pyobj;
14137
14138 {
14139 #if wxUSE_UNICODE
14140 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14141 #else
14142 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14143 #endif
14144 }
14145 return pyobj;
14146 }
14147
14148
14149 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
14150 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14151 return 1;
14152 }
14153
14154
14155 static PyObject *_wrap_ART_CROSS_MARK_get() {
14156 PyObject *pyobj;
14157
14158 {
14159 #if wxUSE_UNICODE
14160 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14161 #else
14162 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14163 #endif
14164 }
14165 return pyobj;
14166 }
14167
14168
14169 static int _wrap_ART_ERROR_set(PyObject *_val) {
14170 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14171 return 1;
14172 }
14173
14174
14175 static PyObject *_wrap_ART_ERROR_get() {
14176 PyObject *pyobj;
14177
14178 {
14179 #if wxUSE_UNICODE
14180 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14181 #else
14182 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14183 #endif
14184 }
14185 return pyobj;
14186 }
14187
14188
14189 static int _wrap_ART_QUESTION_set(PyObject *_val) {
14190 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14191 return 1;
14192 }
14193
14194
14195 static PyObject *_wrap_ART_QUESTION_get() {
14196 PyObject *pyobj;
14197
14198 {
14199 #if wxUSE_UNICODE
14200 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14201 #else
14202 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14203 #endif
14204 }
14205 return pyobj;
14206 }
14207
14208
14209 static int _wrap_ART_WARNING_set(PyObject *_val) {
14210 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14211 return 1;
14212 }
14213
14214
14215 static PyObject *_wrap_ART_WARNING_get() {
14216 PyObject *pyobj;
14217
14218 {
14219 #if wxUSE_UNICODE
14220 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14221 #else
14222 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14223 #endif
14224 }
14225 return pyobj;
14226 }
14227
14228
14229 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
14230 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14231 return 1;
14232 }
14233
14234
14235 static PyObject *_wrap_ART_INFORMATION_get() {
14236 PyObject *pyobj;
14237
14238 {
14239 #if wxUSE_UNICODE
14240 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14241 #else
14242 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14243 #endif
14244 }
14245 return pyobj;
14246 }
14247
14248
14249 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
14250 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14251 return 1;
14252 }
14253
14254
14255 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14256 PyObject *pyobj;
14257
14258 {
14259 #if wxUSE_UNICODE
14260 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14261 #else
14262 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14263 #endif
14264 }
14265 return pyobj;
14266 }
14267
14268
14269 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14270 PyObject *resultobj;
14271 wxPyArtProvider *result;
14272 char *kwnames[] = {
14273 NULL
14274 };
14275
14276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14277 {
14278 PyThreadState* __tstate = wxPyBeginAllowThreads();
14279 result = (wxPyArtProvider *)new wxPyArtProvider();
14280
14281 wxPyEndAllowThreads(__tstate);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
14284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14285 return resultobj;
14286 fail:
14287 return NULL;
14288 }
14289
14290
14291 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14292 PyObject *resultobj;
14293 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14294 PyObject *arg2 = (PyObject *) 0 ;
14295 PyObject *arg3 = (PyObject *) 0 ;
14296 PyObject * obj0 = 0 ;
14297 PyObject * obj1 = 0 ;
14298 PyObject * obj2 = 0 ;
14299 char *kwnames[] = {
14300 (char *) "self",(char *) "self",(char *) "_class", NULL
14301 };
14302
14303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14306 arg2 = obj1;
14307 arg3 = obj2;
14308 {
14309 PyThreadState* __tstate = wxPyBeginAllowThreads();
14310 (arg1)->_setCallbackInfo(arg2,arg3);
14311
14312 wxPyEndAllowThreads(__tstate);
14313 if (PyErr_Occurred()) SWIG_fail;
14314 }
14315 Py_INCREF(Py_None); resultobj = Py_None;
14316 return resultobj;
14317 fail:
14318 return NULL;
14319 }
14320
14321
14322 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14323 PyObject *resultobj;
14324 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14325 PyObject * obj0 = 0 ;
14326 char *kwnames[] = {
14327 (char *) "provider", NULL
14328 };
14329
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14333 {
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 wxPyArtProvider::PushProvider(arg1);
14336
14337 wxPyEndAllowThreads(__tstate);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
14340 Py_INCREF(Py_None); resultobj = Py_None;
14341 return resultobj;
14342 fail:
14343 return NULL;
14344 }
14345
14346
14347 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14348 PyObject *resultobj;
14349 bool result;
14350 char *kwnames[] = {
14351 NULL
14352 };
14353
14354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 result = (bool)wxPyArtProvider::PopProvider();
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 {
14363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14364 }
14365 return resultobj;
14366 fail:
14367 return NULL;
14368 }
14369
14370
14371 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14372 PyObject *resultobj;
14373 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14374 bool result;
14375 PyObject * obj0 = 0 ;
14376 char *kwnames[] = {
14377 (char *) "provider", NULL
14378 };
14379
14380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14383 {
14384 PyThreadState* __tstate = wxPyBeginAllowThreads();
14385 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14386
14387 wxPyEndAllowThreads(__tstate);
14388 if (PyErr_Occurred()) SWIG_fail;
14389 }
14390 {
14391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14392 }
14393 return resultobj;
14394 fail:
14395 return NULL;
14396 }
14397
14398
14399 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14400 PyObject *resultobj;
14401 wxString *arg1 = 0 ;
14402 wxString const &arg2_defvalue = wxPyART_OTHER ;
14403 wxString *arg2 = (wxString *) &arg2_defvalue ;
14404 wxSize const &arg3_defvalue = wxDefaultSize ;
14405 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14406 wxBitmap result;
14407 bool temp1 = False ;
14408 bool temp2 = False ;
14409 wxSize temp3 ;
14410 PyObject * obj0 = 0 ;
14411 PyObject * obj1 = 0 ;
14412 PyObject * obj2 = 0 ;
14413 char *kwnames[] = {
14414 (char *) "id",(char *) "client",(char *) "size", NULL
14415 };
14416
14417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14418 {
14419 arg1 = wxString_in_helper(obj0);
14420 if (arg1 == NULL) SWIG_fail;
14421 temp1 = True;
14422 }
14423 if (obj1) {
14424 {
14425 arg2 = wxString_in_helper(obj1);
14426 if (arg2 == NULL) SWIG_fail;
14427 temp2 = True;
14428 }
14429 }
14430 if (obj2) {
14431 {
14432 arg3 = &temp3;
14433 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14434 }
14435 }
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 {
14444 wxBitmap * resultptr;
14445 resultptr = new wxBitmap((wxBitmap &) result);
14446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14447 }
14448 {
14449 if (temp1)
14450 delete arg1;
14451 }
14452 {
14453 if (temp2)
14454 delete arg2;
14455 }
14456 return resultobj;
14457 fail:
14458 {
14459 if (temp1)
14460 delete arg1;
14461 }
14462 {
14463 if (temp2)
14464 delete arg2;
14465 }
14466 return NULL;
14467 }
14468
14469
14470 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14471 PyObject *resultobj;
14472 wxString *arg1 = 0 ;
14473 wxString const &arg2_defvalue = wxPyART_OTHER ;
14474 wxString *arg2 = (wxString *) &arg2_defvalue ;
14475 wxSize const &arg3_defvalue = wxDefaultSize ;
14476 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14477 wxIcon result;
14478 bool temp1 = False ;
14479 bool temp2 = False ;
14480 wxSize temp3 ;
14481 PyObject * obj0 = 0 ;
14482 PyObject * obj1 = 0 ;
14483 PyObject * obj2 = 0 ;
14484 char *kwnames[] = {
14485 (char *) "id",(char *) "client",(char *) "size", NULL
14486 };
14487
14488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14489 {
14490 arg1 = wxString_in_helper(obj0);
14491 if (arg1 == NULL) SWIG_fail;
14492 temp1 = True;
14493 }
14494 if (obj1) {
14495 {
14496 arg2 = wxString_in_helper(obj1);
14497 if (arg2 == NULL) SWIG_fail;
14498 temp2 = True;
14499 }
14500 }
14501 if (obj2) {
14502 {
14503 arg3 = &temp3;
14504 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14505 }
14506 }
14507 {
14508 PyThreadState* __tstate = wxPyBeginAllowThreads();
14509 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14510
14511 wxPyEndAllowThreads(__tstate);
14512 if (PyErr_Occurred()) SWIG_fail;
14513 }
14514 {
14515 wxIcon * resultptr;
14516 resultptr = new wxIcon((wxIcon &) result);
14517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14518 }
14519 {
14520 if (temp1)
14521 delete arg1;
14522 }
14523 {
14524 if (temp2)
14525 delete arg2;
14526 }
14527 return resultobj;
14528 fail:
14529 {
14530 if (temp1)
14531 delete arg1;
14532 }
14533 {
14534 if (temp2)
14535 delete arg2;
14536 }
14537 return NULL;
14538 }
14539
14540
14541 static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14544 PyObject * obj0 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 wxPyArtProvider_Destroy(arg1);
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 Py_INCREF(Py_None); resultobj = Py_None;
14560 return resultobj;
14561 fail:
14562 return NULL;
14563 }
14564
14565
14566 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14567 PyObject *obj;
14568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14569 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14570 Py_INCREF(obj);
14571 return Py_BuildValue((char *)"");
14572 }
14573 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj;
14575 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14576 PyObject * obj0 = 0 ;
14577 char *kwnames[] = {
14578 (char *) "self", NULL
14579 };
14580
14581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 delete arg1;
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 Py_INCREF(Py_None); resultobj = Py_None;
14592 return resultobj;
14593 fail:
14594 return NULL;
14595 }
14596
14597
14598 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14599 PyObject *resultobj;
14600 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14601 wxConfigBase *result;
14602 PyObject * obj0 = 0 ;
14603 char *kwnames[] = {
14604 (char *) "config", NULL
14605 };
14606
14607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14610 {
14611 PyThreadState* __tstate = wxPyBeginAllowThreads();
14612 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14613
14614 wxPyEndAllowThreads(__tstate);
14615 if (PyErr_Occurred()) SWIG_fail;
14616 }
14617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14618 return resultobj;
14619 fail:
14620 return NULL;
14621 }
14622
14623
14624 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14625 PyObject *resultobj;
14626 bool arg1 = (bool) True ;
14627 wxConfigBase *result;
14628 PyObject * obj0 = 0 ;
14629 char *kwnames[] = {
14630 (char *) "createOnDemand", NULL
14631 };
14632
14633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14634 if (obj0) {
14635 arg1 = (bool) SWIG_AsBool(obj0);
14636 if (PyErr_Occurred()) SWIG_fail;
14637 }
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14641
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14646 return resultobj;
14647 fail:
14648 return NULL;
14649 }
14650
14651
14652 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14653 PyObject *resultobj;
14654 wxConfigBase *result;
14655 char *kwnames[] = {
14656 NULL
14657 };
14658
14659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14660 {
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 result = (wxConfigBase *)wxConfigBase::Create();
14663
14664 wxPyEndAllowThreads(__tstate);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14668 return resultobj;
14669 fail:
14670 return NULL;
14671 }
14672
14673
14674 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14675 PyObject *resultobj;
14676 char *kwnames[] = {
14677 NULL
14678 };
14679
14680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14681 {
14682 PyThreadState* __tstate = wxPyBeginAllowThreads();
14683 wxConfigBase::DontCreateOnDemand();
14684
14685 wxPyEndAllowThreads(__tstate);
14686 if (PyErr_Occurred()) SWIG_fail;
14687 }
14688 Py_INCREF(Py_None); resultobj = Py_None;
14689 return resultobj;
14690 fail:
14691 return NULL;
14692 }
14693
14694
14695 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14696 PyObject *resultobj;
14697 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14698 wxString *arg2 = 0 ;
14699 bool temp2 = False ;
14700 PyObject * obj0 = 0 ;
14701 PyObject * obj1 = 0 ;
14702 char *kwnames[] = {
14703 (char *) "self",(char *) "path", NULL
14704 };
14705
14706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14709 {
14710 arg2 = wxString_in_helper(obj1);
14711 if (arg2 == NULL) SWIG_fail;
14712 temp2 = True;
14713 }
14714 {
14715 PyThreadState* __tstate = wxPyBeginAllowThreads();
14716 (arg1)->SetPath((wxString const &)*arg2);
14717
14718 wxPyEndAllowThreads(__tstate);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 }
14721 Py_INCREF(Py_None); resultobj = Py_None;
14722 {
14723 if (temp2)
14724 delete arg2;
14725 }
14726 return resultobj;
14727 fail:
14728 {
14729 if (temp2)
14730 delete arg2;
14731 }
14732 return NULL;
14733 }
14734
14735
14736 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14737 PyObject *resultobj;
14738 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14739 wxString *result;
14740 PyObject * obj0 = 0 ;
14741 char *kwnames[] = {
14742 (char *) "self", NULL
14743 };
14744
14745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14748 {
14749 PyThreadState* __tstate = wxPyBeginAllowThreads();
14750 {
14751 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14752 result = (wxString *) &_result_ref;
14753 }
14754
14755 wxPyEndAllowThreads(__tstate);
14756 if (PyErr_Occurred()) SWIG_fail;
14757 }
14758 {
14759 #if wxUSE_UNICODE
14760 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14761 #else
14762 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14763 #endif
14764 }
14765 return resultobj;
14766 fail:
14767 return NULL;
14768 }
14769
14770
14771 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14772 PyObject *resultobj;
14773 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14774 PyObject *result;
14775 PyObject * obj0 = 0 ;
14776 char *kwnames[] = {
14777 (char *) "self", NULL
14778 };
14779
14780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14783 {
14784 PyThreadState* __tstate = wxPyBeginAllowThreads();
14785 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14786
14787 wxPyEndAllowThreads(__tstate);
14788 if (PyErr_Occurred()) SWIG_fail;
14789 }
14790 resultobj = result;
14791 return resultobj;
14792 fail:
14793 return NULL;
14794 }
14795
14796
14797 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14798 PyObject *resultobj;
14799 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14800 long arg2 ;
14801 PyObject *result;
14802 PyObject * obj0 = 0 ;
14803 PyObject * obj1 = 0 ;
14804 char *kwnames[] = {
14805 (char *) "self",(char *) "index", NULL
14806 };
14807
14808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14811 arg2 = (long) SWIG_AsLong(obj1);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 {
14814 PyThreadState* __tstate = wxPyBeginAllowThreads();
14815 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14816
14817 wxPyEndAllowThreads(__tstate);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 resultobj = result;
14821 return resultobj;
14822 fail:
14823 return NULL;
14824 }
14825
14826
14827 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14828 PyObject *resultobj;
14829 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14830 PyObject *result;
14831 PyObject * obj0 = 0 ;
14832 char *kwnames[] = {
14833 (char *) "self", NULL
14834 };
14835
14836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14839 {
14840 PyThreadState* __tstate = wxPyBeginAllowThreads();
14841 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14842
14843 wxPyEndAllowThreads(__tstate);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 }
14846 resultobj = result;
14847 return resultobj;
14848 fail:
14849 return NULL;
14850 }
14851
14852
14853 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14854 PyObject *resultobj;
14855 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14856 long arg2 ;
14857 PyObject *result;
14858 PyObject * obj0 = 0 ;
14859 PyObject * obj1 = 0 ;
14860 char *kwnames[] = {
14861 (char *) "self",(char *) "index", NULL
14862 };
14863
14864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
14865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14867 arg2 = (long) SWIG_AsLong(obj1);
14868 if (PyErr_Occurred()) SWIG_fail;
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14872
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 resultobj = result;
14877 return resultobj;
14878 fail:
14879 return NULL;
14880 }
14881
14882
14883 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
14884 PyObject *resultobj;
14885 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14886 bool arg2 = (bool) False ;
14887 size_t result;
14888 PyObject * obj0 = 0 ;
14889 PyObject * obj1 = 0 ;
14890 char *kwnames[] = {
14891 (char *) "self",(char *) "recursive", NULL
14892 };
14893
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
14895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14897 if (obj1) {
14898 arg2 = (bool) SWIG_AsBool(obj1);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 {
14902 PyThreadState* __tstate = wxPyBeginAllowThreads();
14903 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14904
14905 wxPyEndAllowThreads(__tstate);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
14908 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14909 return resultobj;
14910 fail:
14911 return NULL;
14912 }
14913
14914
14915 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
14916 PyObject *resultobj;
14917 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14918 bool arg2 = (bool) False ;
14919 size_t result;
14920 PyObject * obj0 = 0 ;
14921 PyObject * obj1 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self",(char *) "recursive", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
14927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14929 if (obj1) {
14930 arg2 = (bool) SWIG_AsBool(obj1);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj;
14949 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14950 wxString *arg2 = 0 ;
14951 bool result;
14952 bool temp2 = False ;
14953 PyObject * obj0 = 0 ;
14954 PyObject * obj1 = 0 ;
14955 char *kwnames[] = {
14956 (char *) "self",(char *) "name", NULL
14957 };
14958
14959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
14960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14962 {
14963 arg2 = wxString_in_helper(obj1);
14964 if (arg2 == NULL) SWIG_fail;
14965 temp2 = True;
14966 }
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14970
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 {
14975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14976 }
14977 {
14978 if (temp2)
14979 delete arg2;
14980 }
14981 return resultobj;
14982 fail:
14983 {
14984 if (temp2)
14985 delete arg2;
14986 }
14987 return NULL;
14988 }
14989
14990
14991 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14994 wxString *arg2 = 0 ;
14995 bool result;
14996 bool temp2 = False ;
14997 PyObject * obj0 = 0 ;
14998 PyObject * obj1 = 0 ;
14999 char *kwnames[] = {
15000 (char *) "self",(char *) "name", NULL
15001 };
15002
15003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15006 {
15007 arg2 = wxString_in_helper(obj1);
15008 if (arg2 == NULL) SWIG_fail;
15009 temp2 = True;
15010 }
15011 {
15012 PyThreadState* __tstate = wxPyBeginAllowThreads();
15013 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15014
15015 wxPyEndAllowThreads(__tstate);
15016 if (PyErr_Occurred()) SWIG_fail;
15017 }
15018 {
15019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15020 }
15021 {
15022 if (temp2)
15023 delete arg2;
15024 }
15025 return resultobj;
15026 fail:
15027 {
15028 if (temp2)
15029 delete arg2;
15030 }
15031 return NULL;
15032 }
15033
15034
15035 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
15036 PyObject *resultobj;
15037 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15038 wxString *arg2 = 0 ;
15039 bool result;
15040 bool temp2 = False ;
15041 PyObject * obj0 = 0 ;
15042 PyObject * obj1 = 0 ;
15043 char *kwnames[] = {
15044 (char *) "self",(char *) "name", NULL
15045 };
15046
15047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15050 {
15051 arg2 = wxString_in_helper(obj1);
15052 if (arg2 == NULL) SWIG_fail;
15053 temp2 = True;
15054 }
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 {
15063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15064 }
15065 {
15066 if (temp2)
15067 delete arg2;
15068 }
15069 return resultobj;
15070 fail:
15071 {
15072 if (temp2)
15073 delete arg2;
15074 }
15075 return NULL;
15076 }
15077
15078
15079 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
15080 PyObject *resultobj;
15081 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15082 wxString *arg2 = 0 ;
15083 int result;
15084 bool temp2 = False ;
15085 PyObject * obj0 = 0 ;
15086 PyObject * obj1 = 0 ;
15087 char *kwnames[] = {
15088 (char *) "self",(char *) "name", NULL
15089 };
15090
15091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15094 {
15095 arg2 = wxString_in_helper(obj1);
15096 if (arg2 == NULL) SWIG_fail;
15097 temp2 = True;
15098 }
15099 {
15100 PyThreadState* __tstate = wxPyBeginAllowThreads();
15101 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15102
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 resultobj = SWIG_FromInt((int)result);
15107 {
15108 if (temp2)
15109 delete arg2;
15110 }
15111 return resultobj;
15112 fail:
15113 {
15114 if (temp2)
15115 delete arg2;
15116 }
15117 return NULL;
15118 }
15119
15120
15121 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
15122 PyObject *resultobj;
15123 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15124 wxString *arg2 = 0 ;
15125 wxString const &arg3_defvalue = wxPyEmptyString ;
15126 wxString *arg3 = (wxString *) &arg3_defvalue ;
15127 wxString result;
15128 bool temp2 = False ;
15129 bool temp3 = False ;
15130 PyObject * obj0 = 0 ;
15131 PyObject * obj1 = 0 ;
15132 PyObject * obj2 = 0 ;
15133 char *kwnames[] = {
15134 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15135 };
15136
15137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15140 {
15141 arg2 = wxString_in_helper(obj1);
15142 if (arg2 == NULL) SWIG_fail;
15143 temp2 = True;
15144 }
15145 if (obj2) {
15146 {
15147 arg3 = wxString_in_helper(obj2);
15148 if (arg3 == NULL) SWIG_fail;
15149 temp3 = True;
15150 }
15151 }
15152 {
15153 PyThreadState* __tstate = wxPyBeginAllowThreads();
15154 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15155
15156 wxPyEndAllowThreads(__tstate);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 {
15160 #if wxUSE_UNICODE
15161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15162 #else
15163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15164 #endif
15165 }
15166 {
15167 if (temp2)
15168 delete arg2;
15169 }
15170 {
15171 if (temp3)
15172 delete arg3;
15173 }
15174 return resultobj;
15175 fail:
15176 {
15177 if (temp2)
15178 delete arg2;
15179 }
15180 {
15181 if (temp3)
15182 delete arg3;
15183 }
15184 return NULL;
15185 }
15186
15187
15188 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15189 PyObject *resultobj;
15190 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15191 wxString *arg2 = 0 ;
15192 long arg3 = (long) 0 ;
15193 long result;
15194 bool temp2 = False ;
15195 PyObject * obj0 = 0 ;
15196 PyObject * obj1 = 0 ;
15197 PyObject * obj2 = 0 ;
15198 char *kwnames[] = {
15199 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15205 {
15206 arg2 = wxString_in_helper(obj1);
15207 if (arg2 == NULL) SWIG_fail;
15208 temp2 = True;
15209 }
15210 if (obj2) {
15211 arg3 = (long) SWIG_AsLong(obj2);
15212 if (PyErr_Occurred()) SWIG_fail;
15213 }
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15217
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 resultobj = SWIG_FromLong((long)result);
15222 {
15223 if (temp2)
15224 delete arg2;
15225 }
15226 return resultobj;
15227 fail:
15228 {
15229 if (temp2)
15230 delete arg2;
15231 }
15232 return NULL;
15233 }
15234
15235
15236 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15239 wxString *arg2 = 0 ;
15240 double arg3 = (double) 0.0 ;
15241 double result;
15242 bool temp2 = False ;
15243 PyObject * obj0 = 0 ;
15244 PyObject * obj1 = 0 ;
15245 PyObject * obj2 = 0 ;
15246 char *kwnames[] = {
15247 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15248 };
15249
15250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15253 {
15254 arg2 = wxString_in_helper(obj1);
15255 if (arg2 == NULL) SWIG_fail;
15256 temp2 = True;
15257 }
15258 if (obj2) {
15259 arg3 = (double) SWIG_AsDouble(obj2);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15265
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
15269 resultobj = SWIG_FromDouble((double)result);
15270 {
15271 if (temp2)
15272 delete arg2;
15273 }
15274 return resultobj;
15275 fail:
15276 {
15277 if (temp2)
15278 delete arg2;
15279 }
15280 return NULL;
15281 }
15282
15283
15284 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj;
15286 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15287 wxString *arg2 = 0 ;
15288 bool arg3 = (bool) False ;
15289 bool result;
15290 bool temp2 = False ;
15291 PyObject * obj0 = 0 ;
15292 PyObject * obj1 = 0 ;
15293 PyObject * obj2 = 0 ;
15294 char *kwnames[] = {
15295 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15296 };
15297
15298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15301 {
15302 arg2 = wxString_in_helper(obj1);
15303 if (arg2 == NULL) SWIG_fail;
15304 temp2 = True;
15305 }
15306 if (obj2) {
15307 arg3 = (bool) SWIG_AsBool(obj2);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 {
15311 PyThreadState* __tstate = wxPyBeginAllowThreads();
15312 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15313
15314 wxPyEndAllowThreads(__tstate);
15315 if (PyErr_Occurred()) SWIG_fail;
15316 }
15317 {
15318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15319 }
15320 {
15321 if (temp2)
15322 delete arg2;
15323 }
15324 return resultobj;
15325 fail:
15326 {
15327 if (temp2)
15328 delete arg2;
15329 }
15330 return NULL;
15331 }
15332
15333
15334 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15335 PyObject *resultobj;
15336 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15337 wxString *arg2 = 0 ;
15338 wxString *arg3 = 0 ;
15339 bool result;
15340 bool temp2 = False ;
15341 bool temp3 = False ;
15342 PyObject * obj0 = 0 ;
15343 PyObject * obj1 = 0 ;
15344 PyObject * obj2 = 0 ;
15345 char *kwnames[] = {
15346 (char *) "self",(char *) "key",(char *) "value", NULL
15347 };
15348
15349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15352 {
15353 arg2 = wxString_in_helper(obj1);
15354 if (arg2 == NULL) SWIG_fail;
15355 temp2 = True;
15356 }
15357 {
15358 arg3 = wxString_in_helper(obj2);
15359 if (arg3 == NULL) SWIG_fail;
15360 temp3 = True;
15361 }
15362 {
15363 PyThreadState* __tstate = wxPyBeginAllowThreads();
15364 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15365
15366 wxPyEndAllowThreads(__tstate);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 }
15369 {
15370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15371 }
15372 {
15373 if (temp2)
15374 delete arg2;
15375 }
15376 {
15377 if (temp3)
15378 delete arg3;
15379 }
15380 return resultobj;
15381 fail:
15382 {
15383 if (temp2)
15384 delete arg2;
15385 }
15386 {
15387 if (temp3)
15388 delete arg3;
15389 }
15390 return NULL;
15391 }
15392
15393
15394 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15395 PyObject *resultobj;
15396 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15397 wxString *arg2 = 0 ;
15398 long arg3 ;
15399 bool result;
15400 bool temp2 = False ;
15401 PyObject * obj0 = 0 ;
15402 PyObject * obj1 = 0 ;
15403 PyObject * obj2 = 0 ;
15404 char *kwnames[] = {
15405 (char *) "self",(char *) "key",(char *) "value", NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15411 {
15412 arg2 = wxString_in_helper(obj1);
15413 if (arg2 == NULL) SWIG_fail;
15414 temp2 = True;
15415 }
15416 arg3 = (long) SWIG_AsLong(obj2);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 {
15419 PyThreadState* __tstate = wxPyBeginAllowThreads();
15420 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15421
15422 wxPyEndAllowThreads(__tstate);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
15425 {
15426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15427 }
15428 {
15429 if (temp2)
15430 delete arg2;
15431 }
15432 return resultobj;
15433 fail:
15434 {
15435 if (temp2)
15436 delete arg2;
15437 }
15438 return NULL;
15439 }
15440
15441
15442 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj;
15444 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15445 wxString *arg2 = 0 ;
15446 double arg3 ;
15447 bool result;
15448 bool temp2 = False ;
15449 PyObject * obj0 = 0 ;
15450 PyObject * obj1 = 0 ;
15451 PyObject * obj2 = 0 ;
15452 char *kwnames[] = {
15453 (char *) "self",(char *) "key",(char *) "value", NULL
15454 };
15455
15456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15459 {
15460 arg2 = wxString_in_helper(obj1);
15461 if (arg2 == NULL) SWIG_fail;
15462 temp2 = True;
15463 }
15464 arg3 = (double) SWIG_AsDouble(obj2);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 {
15467 PyThreadState* __tstate = wxPyBeginAllowThreads();
15468 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15469
15470 wxPyEndAllowThreads(__tstate);
15471 if (PyErr_Occurred()) SWIG_fail;
15472 }
15473 {
15474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15475 }
15476 {
15477 if (temp2)
15478 delete arg2;
15479 }
15480 return resultobj;
15481 fail:
15482 {
15483 if (temp2)
15484 delete arg2;
15485 }
15486 return NULL;
15487 }
15488
15489
15490 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15491 PyObject *resultobj;
15492 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15493 wxString *arg2 = 0 ;
15494 bool arg3 ;
15495 bool result;
15496 bool temp2 = False ;
15497 PyObject * obj0 = 0 ;
15498 PyObject * obj1 = 0 ;
15499 PyObject * obj2 = 0 ;
15500 char *kwnames[] = {
15501 (char *) "self",(char *) "key",(char *) "value", NULL
15502 };
15503
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15507 {
15508 arg2 = wxString_in_helper(obj1);
15509 if (arg2 == NULL) SWIG_fail;
15510 temp2 = True;
15511 }
15512 arg3 = (bool) SWIG_AsBool(obj2);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 {
15515 PyThreadState* __tstate = wxPyBeginAllowThreads();
15516 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15517
15518 wxPyEndAllowThreads(__tstate);
15519 if (PyErr_Occurred()) SWIG_fail;
15520 }
15521 {
15522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15523 }
15524 {
15525 if (temp2)
15526 delete arg2;
15527 }
15528 return resultobj;
15529 fail:
15530 {
15531 if (temp2)
15532 delete arg2;
15533 }
15534 return NULL;
15535 }
15536
15537
15538 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15539 PyObject *resultobj;
15540 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15541 bool arg2 = (bool) False ;
15542 bool result;
15543 PyObject * obj0 = 0 ;
15544 PyObject * obj1 = 0 ;
15545 char *kwnames[] = {
15546 (char *) "self",(char *) "currentOnly", NULL
15547 };
15548
15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15552 if (obj1) {
15553 arg2 = (bool) SWIG_AsBool(obj1);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 result = (bool)(arg1)->Flush(arg2);
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 {
15564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15565 }
15566 return resultobj;
15567 fail:
15568 return NULL;
15569 }
15570
15571
15572 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj;
15574 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15575 wxString *arg2 = 0 ;
15576 wxString *arg3 = 0 ;
15577 bool result;
15578 bool temp2 = False ;
15579 bool temp3 = False ;
15580 PyObject * obj0 = 0 ;
15581 PyObject * obj1 = 0 ;
15582 PyObject * obj2 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15590 {
15591 arg2 = wxString_in_helper(obj1);
15592 if (arg2 == NULL) SWIG_fail;
15593 temp2 = True;
15594 }
15595 {
15596 arg3 = wxString_in_helper(obj2);
15597 if (arg3 == NULL) SWIG_fail;
15598 temp3 = True;
15599 }
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15603
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
15607 {
15608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15609 }
15610 {
15611 if (temp2)
15612 delete arg2;
15613 }
15614 {
15615 if (temp3)
15616 delete arg3;
15617 }
15618 return resultobj;
15619 fail:
15620 {
15621 if (temp2)
15622 delete arg2;
15623 }
15624 {
15625 if (temp3)
15626 delete arg3;
15627 }
15628 return NULL;
15629 }
15630
15631
15632 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15633 PyObject *resultobj;
15634 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15635 wxString *arg2 = 0 ;
15636 wxString *arg3 = 0 ;
15637 bool result;
15638 bool temp2 = False ;
15639 bool temp3 = False ;
15640 PyObject * obj0 = 0 ;
15641 PyObject * obj1 = 0 ;
15642 PyObject * obj2 = 0 ;
15643 char *kwnames[] = {
15644 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15645 };
15646
15647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15650 {
15651 arg2 = wxString_in_helper(obj1);
15652 if (arg2 == NULL) SWIG_fail;
15653 temp2 = True;
15654 }
15655 {
15656 arg3 = wxString_in_helper(obj2);
15657 if (arg3 == NULL) SWIG_fail;
15658 temp3 = True;
15659 }
15660 {
15661 PyThreadState* __tstate = wxPyBeginAllowThreads();
15662 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15663
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 {
15668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15669 }
15670 {
15671 if (temp2)
15672 delete arg2;
15673 }
15674 {
15675 if (temp3)
15676 delete arg3;
15677 }
15678 return resultobj;
15679 fail:
15680 {
15681 if (temp2)
15682 delete arg2;
15683 }
15684 {
15685 if (temp3)
15686 delete arg3;
15687 }
15688 return NULL;
15689 }
15690
15691
15692 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15693 PyObject *resultobj;
15694 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15695 wxString *arg2 = 0 ;
15696 bool arg3 = (bool) True ;
15697 bool result;
15698 bool temp2 = False ;
15699 PyObject * obj0 = 0 ;
15700 PyObject * obj1 = 0 ;
15701 PyObject * obj2 = 0 ;
15702 char *kwnames[] = {
15703 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15704 };
15705
15706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15709 {
15710 arg2 = wxString_in_helper(obj1);
15711 if (arg2 == NULL) SWIG_fail;
15712 temp2 = True;
15713 }
15714 if (obj2) {
15715 arg3 = (bool) SWIG_AsBool(obj2);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 }
15718 {
15719 PyThreadState* __tstate = wxPyBeginAllowThreads();
15720 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15721
15722 wxPyEndAllowThreads(__tstate);
15723 if (PyErr_Occurred()) SWIG_fail;
15724 }
15725 {
15726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15727 }
15728 {
15729 if (temp2)
15730 delete arg2;
15731 }
15732 return resultobj;
15733 fail:
15734 {
15735 if (temp2)
15736 delete arg2;
15737 }
15738 return NULL;
15739 }
15740
15741
15742 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj;
15744 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15745 wxString *arg2 = 0 ;
15746 bool result;
15747 bool temp2 = False ;
15748 PyObject * obj0 = 0 ;
15749 PyObject * obj1 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self",(char *) "key", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15757 {
15758 arg2 = wxString_in_helper(obj1);
15759 if (arg2 == NULL) SWIG_fail;
15760 temp2 = True;
15761 }
15762 {
15763 PyThreadState* __tstate = wxPyBeginAllowThreads();
15764 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15765
15766 wxPyEndAllowThreads(__tstate);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 }
15769 {
15770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15771 }
15772 {
15773 if (temp2)
15774 delete arg2;
15775 }
15776 return resultobj;
15777 fail:
15778 {
15779 if (temp2)
15780 delete arg2;
15781 }
15782 return NULL;
15783 }
15784
15785
15786 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15787 PyObject *resultobj;
15788 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15789 bool result;
15790 PyObject * obj0 = 0 ;
15791 char *kwnames[] = {
15792 (char *) "self", NULL
15793 };
15794
15795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15798 {
15799 PyThreadState* __tstate = wxPyBeginAllowThreads();
15800 result = (bool)(arg1)->DeleteAll();
15801
15802 wxPyEndAllowThreads(__tstate);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 {
15806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15807 }
15808 return resultobj;
15809 fail:
15810 return NULL;
15811 }
15812
15813
15814 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15815 PyObject *resultobj;
15816 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15817 bool arg2 = (bool) True ;
15818 PyObject * obj0 = 0 ;
15819 PyObject * obj1 = 0 ;
15820 char *kwnames[] = {
15821 (char *) "self",(char *) "doIt", NULL
15822 };
15823
15824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15827 if (obj1) {
15828 arg2 = (bool) SWIG_AsBool(obj1);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 {
15832 PyThreadState* __tstate = wxPyBeginAllowThreads();
15833 (arg1)->SetExpandEnvVars(arg2);
15834
15835 wxPyEndAllowThreads(__tstate);
15836 if (PyErr_Occurred()) SWIG_fail;
15837 }
15838 Py_INCREF(Py_None); resultobj = Py_None;
15839 return resultobj;
15840 fail:
15841 return NULL;
15842 }
15843
15844
15845 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15846 PyObject *resultobj;
15847 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15848 bool result;
15849 PyObject * obj0 = 0 ;
15850 char *kwnames[] = {
15851 (char *) "self", NULL
15852 };
15853
15854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15857 {
15858 PyThreadState* __tstate = wxPyBeginAllowThreads();
15859 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
15860
15861 wxPyEndAllowThreads(__tstate);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 {
15865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15866 }
15867 return resultobj;
15868 fail:
15869 return NULL;
15870 }
15871
15872
15873 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15876 bool arg2 = (bool) True ;
15877 PyObject * obj0 = 0 ;
15878 PyObject * obj1 = 0 ;
15879 char *kwnames[] = {
15880 (char *) "self",(char *) "doIt", NULL
15881 };
15882
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15886 if (obj1) {
15887 arg2 = (bool) SWIG_AsBool(obj1);
15888 if (PyErr_Occurred()) SWIG_fail;
15889 }
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 (arg1)->SetRecordDefaults(arg2);
15893
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 Py_INCREF(Py_None); resultobj = Py_None;
15898 return resultobj;
15899 fail:
15900 return NULL;
15901 }
15902
15903
15904 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15907 bool result;
15908 PyObject * obj0 = 0 ;
15909 char *kwnames[] = {
15910 (char *) "self", NULL
15911 };
15912
15913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
15914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15916 {
15917 PyThreadState* __tstate = wxPyBeginAllowThreads();
15918 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15919
15920 wxPyEndAllowThreads(__tstate);
15921 if (PyErr_Occurred()) SWIG_fail;
15922 }
15923 {
15924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15925 }
15926 return resultobj;
15927 fail:
15928 return NULL;
15929 }
15930
15931
15932 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15933 PyObject *resultobj;
15934 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15935 wxString *arg2 = 0 ;
15936 wxString result;
15937 bool temp2 = False ;
15938 PyObject * obj0 = 0 ;
15939 PyObject * obj1 = 0 ;
15940 char *kwnames[] = {
15941 (char *) "self",(char *) "str", NULL
15942 };
15943
15944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15947 {
15948 arg2 = wxString_in_helper(obj1);
15949 if (arg2 == NULL) SWIG_fail;
15950 temp2 = True;
15951 }
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15955
15956 wxPyEndAllowThreads(__tstate);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 }
15959 {
15960 #if wxUSE_UNICODE
15961 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15962 #else
15963 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15964 #endif
15965 }
15966 {
15967 if (temp2)
15968 delete arg2;
15969 }
15970 return resultobj;
15971 fail:
15972 {
15973 if (temp2)
15974 delete arg2;
15975 }
15976 return NULL;
15977 }
15978
15979
15980 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15981 PyObject *resultobj;
15982 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15983 wxString result;
15984 PyObject * obj0 = 0 ;
15985 char *kwnames[] = {
15986 (char *) "self", NULL
15987 };
15988
15989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
15990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15992 {
15993 PyThreadState* __tstate = wxPyBeginAllowThreads();
15994 result = ((wxConfigBase const *)arg1)->GetAppName();
15995
15996 wxPyEndAllowThreads(__tstate);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 }
15999 {
16000 #if wxUSE_UNICODE
16001 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16002 #else
16003 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16004 #endif
16005 }
16006 return resultobj;
16007 fail:
16008 return NULL;
16009 }
16010
16011
16012 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16013 PyObject *resultobj;
16014 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16015 wxString result;
16016 PyObject * obj0 = 0 ;
16017 char *kwnames[] = {
16018 (char *) "self", NULL
16019 };
16020
16021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 result = ((wxConfigBase const *)arg1)->GetVendorName();
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 {
16032 #if wxUSE_UNICODE
16033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16034 #else
16035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16036 #endif
16037 }
16038 return resultobj;
16039 fail:
16040 return NULL;
16041 }
16042
16043
16044 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16045 PyObject *resultobj;
16046 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16047 wxString *arg2 = 0 ;
16048 bool temp2 = False ;
16049 PyObject * obj0 = 0 ;
16050 PyObject * obj1 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "self",(char *) "appName", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16058 {
16059 arg2 = wxString_in_helper(obj1);
16060 if (arg2 == NULL) SWIG_fail;
16061 temp2 = True;
16062 }
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 (arg1)->SetAppName((wxString const &)*arg2);
16066
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 Py_INCREF(Py_None); resultobj = Py_None;
16071 {
16072 if (temp2)
16073 delete arg2;
16074 }
16075 return resultobj;
16076 fail:
16077 {
16078 if (temp2)
16079 delete arg2;
16080 }
16081 return NULL;
16082 }
16083
16084
16085 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16086 PyObject *resultobj;
16087 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16088 wxString *arg2 = 0 ;
16089 bool temp2 = False ;
16090 PyObject * obj0 = 0 ;
16091 PyObject * obj1 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self",(char *) "vendorName", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16099 {
16100 arg2 = wxString_in_helper(obj1);
16101 if (arg2 == NULL) SWIG_fail;
16102 temp2 = True;
16103 }
16104 {
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 (arg1)->SetVendorName((wxString const &)*arg2);
16107
16108 wxPyEndAllowThreads(__tstate);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 }
16111 Py_INCREF(Py_None); resultobj = Py_None;
16112 {
16113 if (temp2)
16114 delete arg2;
16115 }
16116 return resultobj;
16117 fail:
16118 {
16119 if (temp2)
16120 delete arg2;
16121 }
16122 return NULL;
16123 }
16124
16125
16126 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16127 PyObject *resultobj;
16128 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16129 long arg2 ;
16130 PyObject * obj0 = 0 ;
16131 PyObject * obj1 = 0 ;
16132 char *kwnames[] = {
16133 (char *) "self",(char *) "style", NULL
16134 };
16135
16136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16139 arg2 = (long) SWIG_AsLong(obj1);
16140 if (PyErr_Occurred()) SWIG_fail;
16141 {
16142 PyThreadState* __tstate = wxPyBeginAllowThreads();
16143 (arg1)->SetStyle(arg2);
16144
16145 wxPyEndAllowThreads(__tstate);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 }
16148 Py_INCREF(Py_None); resultobj = Py_None;
16149 return resultobj;
16150 fail:
16151 return NULL;
16152 }
16153
16154
16155 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16156 PyObject *resultobj;
16157 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16158 long result;
16159 PyObject * obj0 = 0 ;
16160 char *kwnames[] = {
16161 (char *) "self", NULL
16162 };
16163
16164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16170
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
16174 resultobj = SWIG_FromLong((long)result);
16175 return resultobj;
16176 fail:
16177 return NULL;
16178 }
16179
16180
16181 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
16182 PyObject *obj;
16183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16184 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16185 Py_INCREF(obj);
16186 return Py_BuildValue((char *)"");
16187 }
16188 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16189 PyObject *resultobj;
16190 wxString const &arg1_defvalue = wxPyEmptyString ;
16191 wxString *arg1 = (wxString *) &arg1_defvalue ;
16192 wxString const &arg2_defvalue = wxPyEmptyString ;
16193 wxString *arg2 = (wxString *) &arg2_defvalue ;
16194 wxString const &arg3_defvalue = wxPyEmptyString ;
16195 wxString *arg3 = (wxString *) &arg3_defvalue ;
16196 wxString const &arg4_defvalue = wxPyEmptyString ;
16197 wxString *arg4 = (wxString *) &arg4_defvalue ;
16198 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16199 wxConfig *result;
16200 bool temp1 = False ;
16201 bool temp2 = False ;
16202 bool temp3 = False ;
16203 bool temp4 = False ;
16204 PyObject * obj0 = 0 ;
16205 PyObject * obj1 = 0 ;
16206 PyObject * obj2 = 0 ;
16207 PyObject * obj3 = 0 ;
16208 PyObject * obj4 = 0 ;
16209 char *kwnames[] = {
16210 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16211 };
16212
16213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16214 if (obj0) {
16215 {
16216 arg1 = wxString_in_helper(obj0);
16217 if (arg1 == NULL) SWIG_fail;
16218 temp1 = True;
16219 }
16220 }
16221 if (obj1) {
16222 {
16223 arg2 = wxString_in_helper(obj1);
16224 if (arg2 == NULL) SWIG_fail;
16225 temp2 = True;
16226 }
16227 }
16228 if (obj2) {
16229 {
16230 arg3 = wxString_in_helper(obj2);
16231 if (arg3 == NULL) SWIG_fail;
16232 temp3 = True;
16233 }
16234 }
16235 if (obj3) {
16236 {
16237 arg4 = wxString_in_helper(obj3);
16238 if (arg4 == NULL) SWIG_fail;
16239 temp4 = True;
16240 }
16241 }
16242 if (obj4) {
16243 arg5 = (long) SWIG_AsLong(obj4);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
16246 {
16247 PyThreadState* __tstate = wxPyBeginAllowThreads();
16248 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16249
16250 wxPyEndAllowThreads(__tstate);
16251 if (PyErr_Occurred()) SWIG_fail;
16252 }
16253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16254 {
16255 if (temp1)
16256 delete arg1;
16257 }
16258 {
16259 if (temp2)
16260 delete arg2;
16261 }
16262 {
16263 if (temp3)
16264 delete arg3;
16265 }
16266 {
16267 if (temp4)
16268 delete arg4;
16269 }
16270 return resultobj;
16271 fail:
16272 {
16273 if (temp1)
16274 delete arg1;
16275 }
16276 {
16277 if (temp2)
16278 delete arg2;
16279 }
16280 {
16281 if (temp3)
16282 delete arg3;
16283 }
16284 {
16285 if (temp4)
16286 delete arg4;
16287 }
16288 return NULL;
16289 }
16290
16291
16292 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16293 PyObject *resultobj;
16294 wxConfig *arg1 = (wxConfig *) 0 ;
16295 PyObject * obj0 = 0 ;
16296 char *kwnames[] = {
16297 (char *) "self", NULL
16298 };
16299
16300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16303 {
16304 PyThreadState* __tstate = wxPyBeginAllowThreads();
16305 delete arg1;
16306
16307 wxPyEndAllowThreads(__tstate);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 Py_INCREF(Py_None); resultobj = Py_None;
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16318 PyObject *obj;
16319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16320 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16321 Py_INCREF(obj);
16322 return Py_BuildValue((char *)"");
16323 }
16324 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj;
16326 wxString const &arg1_defvalue = wxPyEmptyString ;
16327 wxString *arg1 = (wxString *) &arg1_defvalue ;
16328 wxString const &arg2_defvalue = wxPyEmptyString ;
16329 wxString *arg2 = (wxString *) &arg2_defvalue ;
16330 wxString const &arg3_defvalue = wxPyEmptyString ;
16331 wxString *arg3 = (wxString *) &arg3_defvalue ;
16332 wxString const &arg4_defvalue = wxPyEmptyString ;
16333 wxString *arg4 = (wxString *) &arg4_defvalue ;
16334 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16335 wxFileConfig *result;
16336 bool temp1 = False ;
16337 bool temp2 = False ;
16338 bool temp3 = False ;
16339 bool temp4 = False ;
16340 PyObject * obj0 = 0 ;
16341 PyObject * obj1 = 0 ;
16342 PyObject * obj2 = 0 ;
16343 PyObject * obj3 = 0 ;
16344 PyObject * obj4 = 0 ;
16345 char *kwnames[] = {
16346 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16347 };
16348
16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16350 if (obj0) {
16351 {
16352 arg1 = wxString_in_helper(obj0);
16353 if (arg1 == NULL) SWIG_fail;
16354 temp1 = True;
16355 }
16356 }
16357 if (obj1) {
16358 {
16359 arg2 = wxString_in_helper(obj1);
16360 if (arg2 == NULL) SWIG_fail;
16361 temp2 = True;
16362 }
16363 }
16364 if (obj2) {
16365 {
16366 arg3 = wxString_in_helper(obj2);
16367 if (arg3 == NULL) SWIG_fail;
16368 temp3 = True;
16369 }
16370 }
16371 if (obj3) {
16372 {
16373 arg4 = wxString_in_helper(obj3);
16374 if (arg4 == NULL) SWIG_fail;
16375 temp4 = True;
16376 }
16377 }
16378 if (obj4) {
16379 arg5 = (long) SWIG_AsLong(obj4);
16380 if (PyErr_Occurred()) SWIG_fail;
16381 }
16382 {
16383 PyThreadState* __tstate = wxPyBeginAllowThreads();
16384 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16385
16386 wxPyEndAllowThreads(__tstate);
16387 if (PyErr_Occurred()) SWIG_fail;
16388 }
16389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16390 {
16391 if (temp1)
16392 delete arg1;
16393 }
16394 {
16395 if (temp2)
16396 delete arg2;
16397 }
16398 {
16399 if (temp3)
16400 delete arg3;
16401 }
16402 {
16403 if (temp4)
16404 delete arg4;
16405 }
16406 return resultobj;
16407 fail:
16408 {
16409 if (temp1)
16410 delete arg1;
16411 }
16412 {
16413 if (temp2)
16414 delete arg2;
16415 }
16416 {
16417 if (temp3)
16418 delete arg3;
16419 }
16420 {
16421 if (temp4)
16422 delete arg4;
16423 }
16424 return NULL;
16425 }
16426
16427
16428 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj;
16430 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16431 PyObject * obj0 = 0 ;
16432 char *kwnames[] = {
16433 (char *) "self", NULL
16434 };
16435
16436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16439 {
16440 PyThreadState* __tstate = wxPyBeginAllowThreads();
16441 delete arg1;
16442
16443 wxPyEndAllowThreads(__tstate);
16444 if (PyErr_Occurred()) SWIG_fail;
16445 }
16446 Py_INCREF(Py_None); resultobj = Py_None;
16447 return resultobj;
16448 fail:
16449 return NULL;
16450 }
16451
16452
16453 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16454 PyObject *obj;
16455 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16456 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16457 Py_INCREF(obj);
16458 return Py_BuildValue((char *)"");
16459 }
16460 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16463 wxString *arg2 = 0 ;
16464 wxConfigPathChanger *result;
16465 bool temp2 = False ;
16466 PyObject * obj0 = 0 ;
16467 PyObject * obj1 = 0 ;
16468 char *kwnames[] = {
16469 (char *) "config",(char *) "entry", NULL
16470 };
16471
16472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16475 {
16476 arg2 = wxString_in_helper(obj1);
16477 if (arg2 == NULL) SWIG_fail;
16478 temp2 = True;
16479 }
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16483
16484 wxPyEndAllowThreads(__tstate);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16488 {
16489 if (temp2)
16490 delete arg2;
16491 }
16492 return resultobj;
16493 fail:
16494 {
16495 if (temp2)
16496 delete arg2;
16497 }
16498 return NULL;
16499 }
16500
16501
16502 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj;
16504 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16505 PyObject * obj0 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16513 {
16514 PyThreadState* __tstate = wxPyBeginAllowThreads();
16515 delete arg1;
16516
16517 wxPyEndAllowThreads(__tstate);
16518 if (PyErr_Occurred()) SWIG_fail;
16519 }
16520 Py_INCREF(Py_None); resultobj = Py_None;
16521 return resultobj;
16522 fail:
16523 return NULL;
16524 }
16525
16526
16527 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj;
16529 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16530 wxString *result;
16531 PyObject * obj0 = 0 ;
16532 char *kwnames[] = {
16533 (char *) "self", NULL
16534 };
16535
16536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16539 {
16540 PyThreadState* __tstate = wxPyBeginAllowThreads();
16541 {
16542 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16543 result = (wxString *) &_result_ref;
16544 }
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 {
16550 #if wxUSE_UNICODE
16551 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16552 #else
16553 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16554 #endif
16555 }
16556 return resultobj;
16557 fail:
16558 return NULL;
16559 }
16560
16561
16562 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
16563 PyObject *obj;
16564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16565 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16566 Py_INCREF(obj);
16567 return Py_BuildValue((char *)"");
16568 }
16569 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16570 PyObject *resultobj;
16571 wxString *arg1 = 0 ;
16572 wxString result;
16573 bool temp1 = False ;
16574 PyObject * obj0 = 0 ;
16575 char *kwnames[] = {
16576 (char *) "sz", NULL
16577 };
16578
16579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16580 {
16581 arg1 = wxString_in_helper(obj0);
16582 if (arg1 == NULL) SWIG_fail;
16583 temp1 = True;
16584 }
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 result = wxExpandEnvVars((wxString const &)*arg1);
16588
16589 wxPyEndAllowThreads(__tstate);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 }
16592 {
16593 #if wxUSE_UNICODE
16594 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16595 #else
16596 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16597 #endif
16598 }
16599 {
16600 if (temp1)
16601 delete arg1;
16602 }
16603 return resultobj;
16604 fail:
16605 {
16606 if (temp1)
16607 delete arg1;
16608 }
16609 return NULL;
16610 }
16611
16612
16613 static int _wrap_DateFormatStr_set(PyObject *_val) {
16614 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16615 return 1;
16616 }
16617
16618
16619 static PyObject *_wrap_DateFormatStr_get() {
16620 PyObject *pyobj;
16621
16622 {
16623 #if wxUSE_UNICODE
16624 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16625 #else
16626 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16627 #endif
16628 }
16629 return pyobj;
16630 }
16631
16632
16633 static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16634 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16635 return 1;
16636 }
16637
16638
16639 static PyObject *_wrap_TimeSpanFormatStr_get() {
16640 PyObject *pyobj;
16641
16642 {
16643 #if wxUSE_UNICODE
16644 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16645 #else
16646 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16647 #endif
16648 }
16649 return pyobj;
16650 }
16651
16652
16653 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 int arg1 ;
16656 PyObject * obj0 = 0 ;
16657 char *kwnames[] = {
16658 (char *) "country", NULL
16659 };
16660
16661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16662 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16663 if (PyErr_Occurred()) SWIG_fail;
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 Py_INCREF(Py_None); resultobj = Py_None;
16672 return resultobj;
16673 fail:
16674 return NULL;
16675 }
16676
16677
16678 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj;
16680 int result;
16681 char *kwnames[] = {
16682 NULL
16683 };
16684
16685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16686 {
16687 PyThreadState* __tstate = wxPyBeginAllowThreads();
16688 result = (int)wxDateTime::GetCountry();
16689
16690 wxPyEndAllowThreads(__tstate);
16691 if (PyErr_Occurred()) SWIG_fail;
16692 }
16693 resultobj = SWIG_FromInt((int)result);
16694 return resultobj;
16695 fail:
16696 return NULL;
16697 }
16698
16699
16700 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 int arg1 = (int) wxDateTime::Country_Default ;
16703 bool result;
16704 PyObject * obj0 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "country", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16710 if (obj0) {
16711 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16712 if (PyErr_Occurred()) SWIG_fail;
16713 }
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16717
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 {
16722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16723 }
16724 return resultobj;
16725 fail:
16726 return NULL;
16727 }
16728
16729
16730 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16731 PyObject *resultobj;
16732 int arg1 = (int) wxDateTime::Gregorian ;
16733 int result;
16734 PyObject * obj0 = 0 ;
16735 char *kwnames[] = {
16736 (char *) "cal", NULL
16737 };
16738
16739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16740 if (obj0) {
16741 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 }
16744 {
16745 PyThreadState* __tstate = wxPyBeginAllowThreads();
16746 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16747
16748 wxPyEndAllowThreads(__tstate);
16749 if (PyErr_Occurred()) SWIG_fail;
16750 }
16751 resultobj = SWIG_FromInt((int)result);
16752 return resultobj;
16753 fail:
16754 return NULL;
16755 }
16756
16757
16758 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16759 PyObject *resultobj;
16760 int arg1 ;
16761 int result;
16762 PyObject * obj0 = 0 ;
16763 char *kwnames[] = {
16764 (char *) "year", NULL
16765 };
16766
16767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16768 arg1 = (int) SWIG_AsInt(obj0);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 result = (int)wxDateTime::ConvertYearToBC(arg1);
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 resultobj = SWIG_FromInt((int)result);
16778 return resultobj;
16779 fail:
16780 return NULL;
16781 }
16782
16783
16784 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 int arg1 = (int) wxDateTime::Gregorian ;
16787 int result;
16788 PyObject * obj0 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "cal", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16794 if (obj0) {
16795 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 {
16799 PyThreadState* __tstate = wxPyBeginAllowThreads();
16800 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16801
16802 wxPyEndAllowThreads(__tstate);
16803 if (PyErr_Occurred()) SWIG_fail;
16804 }
16805 resultobj = SWIG_FromInt((int)result);
16806 return resultobj;
16807 fail:
16808 return NULL;
16809 }
16810
16811
16812 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 int arg1 = (int) wxDateTime::Inv_Year ;
16815 int arg2 = (int) wxDateTime::Gregorian ;
16816 bool result;
16817 PyObject * obj0 = 0 ;
16818 PyObject * obj1 = 0 ;
16819 char *kwnames[] = {
16820 (char *) "year",(char *) "cal", NULL
16821 };
16822
16823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16824 if (obj0) {
16825 arg1 = (int) SWIG_AsInt(obj0);
16826 if (PyErr_Occurred()) SWIG_fail;
16827 }
16828 if (obj1) {
16829 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16830 if (PyErr_Occurred()) SWIG_fail;
16831 }
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 {
16840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16841 }
16842 return resultobj;
16843 fail:
16844 return NULL;
16845 }
16846
16847
16848 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj;
16850 int arg1 = (int) wxDateTime::Inv_Year ;
16851 int result;
16852 PyObject * obj0 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "year", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16858 if (obj0) {
16859 arg1 = (int) SWIG_AsInt(obj0);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
16864 result = (int)wxDateTime::GetCentury(arg1);
16865
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
16869 resultobj = SWIG_FromInt((int)result);
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 int arg1 ;
16879 int arg2 = (int) wxDateTime::Gregorian ;
16880 int result;
16881 PyObject * obj0 = 0 ;
16882 PyObject * obj1 = 0 ;
16883 char *kwnames[] = {
16884 (char *) "year",(char *) "cal", NULL
16885 };
16886
16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
16888 arg1 = (int) SWIG_AsInt(obj0);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 if (obj1) {
16891 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 {
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
16897
16898 wxPyEndAllowThreads(__tstate);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 }
16901 resultobj = SWIG_FromInt((int)result);
16902 return resultobj;
16903 fail:
16904 return NULL;
16905 }
16906
16907
16908 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16909 PyObject *resultobj;
16910 int arg1 ;
16911 int arg2 = (int) wxDateTime::Inv_Year ;
16912 int arg3 = (int) wxDateTime::Gregorian ;
16913 int result;
16914 PyObject * obj0 = 0 ;
16915 PyObject * obj1 = 0 ;
16916 PyObject * obj2 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "month",(char *) "year",(char *) "cal", NULL
16919 };
16920
16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
16922 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 if (obj1) {
16925 arg2 = (int) SWIG_AsInt(obj1);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 if (obj2) {
16929 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 {
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
16935
16936 wxPyEndAllowThreads(__tstate);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 resultobj = SWIG_FromInt((int)result);
16940 return resultobj;
16941 fail:
16942 return NULL;
16943 }
16944
16945
16946 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
16947 PyObject *resultobj;
16948 int arg1 ;
16949 int arg2 = (int) wxDateTime::Name_Full ;
16950 wxString result;
16951 PyObject * obj0 = 0 ;
16952 PyObject * obj1 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "month",(char *) "flags", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
16958 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 if (obj1) {
16961 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 }
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16967
16968 wxPyEndAllowThreads(__tstate);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 {
16972 #if wxUSE_UNICODE
16973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16974 #else
16975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16976 #endif
16977 }
16978 return resultobj;
16979 fail:
16980 return NULL;
16981 }
16982
16983
16984 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
16985 PyObject *resultobj;
16986 int arg1 ;
16987 int arg2 = (int) wxDateTime::Name_Full ;
16988 wxString result;
16989 PyObject * obj0 = 0 ;
16990 PyObject * obj1 = 0 ;
16991 char *kwnames[] = {
16992 (char *) "weekday",(char *) "flags", NULL
16993 };
16994
16995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
16996 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 if (obj1) {
16999 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17000 if (PyErr_Occurred()) SWIG_fail;
17001 }
17002 {
17003 PyThreadState* __tstate = wxPyBeginAllowThreads();
17004 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17005
17006 wxPyEndAllowThreads(__tstate);
17007 if (PyErr_Occurred()) SWIG_fail;
17008 }
17009 {
17010 #if wxUSE_UNICODE
17011 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17012 #else
17013 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17014 #endif
17015 }
17016 return resultobj;
17017 fail:
17018 return NULL;
17019 }
17020
17021
17022 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
17023 PyObject *resultobj;
17024 wxString *arg1 = (wxString *) 0 ;
17025 wxString *arg2 = (wxString *) 0 ;
17026 bool temp1 = False ;
17027 bool temp2 = False ;
17028 PyObject * obj0 = 0 ;
17029 PyObject * obj1 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17035 {
17036 arg1 = wxString_in_helper(obj0);
17037 if (arg1 == NULL) SWIG_fail;
17038 temp1 = True;
17039 }
17040 {
17041 arg2 = wxString_in_helper(obj1);
17042 if (arg2 == NULL) SWIG_fail;
17043 temp2 = True;
17044 }
17045 {
17046 PyThreadState* __tstate = wxPyBeginAllowThreads();
17047 wxDateTime::GetAmPmStrings(arg1,arg2);
17048
17049 wxPyEndAllowThreads(__tstate);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 Py_INCREF(Py_None); resultobj = Py_None;
17053 {
17054 if (temp1)
17055 delete arg1;
17056 }
17057 {
17058 if (temp2)
17059 delete arg2;
17060 }
17061 return resultobj;
17062 fail:
17063 {
17064 if (temp1)
17065 delete arg1;
17066 }
17067 {
17068 if (temp2)
17069 delete arg2;
17070 }
17071 return NULL;
17072 }
17073
17074
17075 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
17076 PyObject *resultobj;
17077 int arg1 = (int) wxDateTime::Inv_Year ;
17078 int arg2 = (int) wxDateTime::Country_Default ;
17079 bool result;
17080 PyObject * obj0 = 0 ;
17081 PyObject * obj1 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "year",(char *) "country", NULL
17084 };
17085
17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17087 if (obj0) {
17088 arg1 = (int) SWIG_AsInt(obj0);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 if (obj1) {
17092 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 {
17096 PyThreadState* __tstate = wxPyBeginAllowThreads();
17097 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17098
17099 wxPyEndAllowThreads(__tstate);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 }
17102 {
17103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17104 }
17105 return resultobj;
17106 fail:
17107 return NULL;
17108 }
17109
17110
17111 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17112 PyObject *resultobj;
17113 int arg1 = (int) wxDateTime::Inv_Year ;
17114 int arg2 = (int) wxDateTime::Country_Default ;
17115 wxDateTime result;
17116 PyObject * obj0 = 0 ;
17117 PyObject * obj1 = 0 ;
17118 char *kwnames[] = {
17119 (char *) "year",(char *) "country", NULL
17120 };
17121
17122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17123 if (obj0) {
17124 arg1 = (int) SWIG_AsInt(obj0);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 if (obj1) {
17128 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 {
17132 PyThreadState* __tstate = wxPyBeginAllowThreads();
17133 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17134
17135 wxPyEndAllowThreads(__tstate);
17136 if (PyErr_Occurred()) SWIG_fail;
17137 }
17138 {
17139 wxDateTime * resultptr;
17140 resultptr = new wxDateTime((wxDateTime &) result);
17141 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17142 }
17143 return resultobj;
17144 fail:
17145 return NULL;
17146 }
17147
17148
17149 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17150 PyObject *resultobj;
17151 int arg1 = (int) wxDateTime::Inv_Year ;
17152 int arg2 = (int) wxDateTime::Country_Default ;
17153 wxDateTime result;
17154 PyObject * obj0 = 0 ;
17155 PyObject * obj1 = 0 ;
17156 char *kwnames[] = {
17157 (char *) "year",(char *) "country", NULL
17158 };
17159
17160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17161 if (obj0) {
17162 arg1 = (int) SWIG_AsInt(obj0);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 if (obj1) {
17166 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 {
17170 PyThreadState* __tstate = wxPyBeginAllowThreads();
17171 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17172
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 {
17177 wxDateTime * resultptr;
17178 resultptr = new wxDateTime((wxDateTime &) result);
17179 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17180 }
17181 return resultobj;
17182 fail:
17183 return NULL;
17184 }
17185
17186
17187 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj;
17189 wxDateTime result;
17190 char *kwnames[] = {
17191 NULL
17192 };
17193
17194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17195 {
17196 PyThreadState* __tstate = wxPyBeginAllowThreads();
17197 result = wxDateTime::Now();
17198
17199 wxPyEndAllowThreads(__tstate);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 }
17202 {
17203 wxDateTime * resultptr;
17204 resultptr = new wxDateTime((wxDateTime &) result);
17205 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17206 }
17207 return resultobj;
17208 fail:
17209 return NULL;
17210 }
17211
17212
17213 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
17214 PyObject *resultobj;
17215 wxDateTime result;
17216 char *kwnames[] = {
17217 NULL
17218 };
17219
17220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 result = wxDateTime::UNow();
17224
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 {
17229 wxDateTime * resultptr;
17230 resultptr = new wxDateTime((wxDateTime &) result);
17231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17232 }
17233 return resultobj;
17234 fail:
17235 return NULL;
17236 }
17237
17238
17239 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
17240 PyObject *resultobj;
17241 wxDateTime result;
17242 char *kwnames[] = {
17243 NULL
17244 };
17245
17246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 result = wxDateTime::Today();
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 {
17255 wxDateTime * resultptr;
17256 resultptr = new wxDateTime((wxDateTime &) result);
17257 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17258 }
17259 return resultobj;
17260 fail:
17261 return NULL;
17262 }
17263
17264
17265 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17266 PyObject *resultobj;
17267 wxDateTime *result;
17268 char *kwnames[] = {
17269 NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17273 {
17274 PyThreadState* __tstate = wxPyBeginAllowThreads();
17275 result = (wxDateTime *)new wxDateTime();
17276
17277 wxPyEndAllowThreads(__tstate);
17278 if (PyErr_Occurred()) SWIG_fail;
17279 }
17280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17281 return resultobj;
17282 fail:
17283 return NULL;
17284 }
17285
17286
17287 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17288 PyObject *resultobj;
17289 time_t arg1 ;
17290 wxDateTime *result;
17291 PyObject * obj0 = 0 ;
17292 char *kwnames[] = {
17293 (char *) "timet", NULL
17294 };
17295
17296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17297 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17298 if (PyErr_Occurred()) SWIG_fail;
17299 {
17300 PyThreadState* __tstate = wxPyBeginAllowThreads();
17301 result = (wxDateTime *)new wxDateTime(arg1);
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17307 return resultobj;
17308 fail:
17309 return NULL;
17310 }
17311
17312
17313 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17314 PyObject *resultobj;
17315 double arg1 ;
17316 wxDateTime *result;
17317 PyObject * obj0 = 0 ;
17318 char *kwnames[] = {
17319 (char *) "jdn", NULL
17320 };
17321
17322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17323 arg1 = (double) SWIG_AsDouble(obj0);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 result = (wxDateTime *)new wxDateTime(arg1);
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17333 return resultobj;
17334 fail:
17335 return NULL;
17336 }
17337
17338
17339 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17340 PyObject *resultobj;
17341 int arg1 ;
17342 int arg2 = (int) 0 ;
17343 int arg3 = (int) 0 ;
17344 int arg4 = (int) 0 ;
17345 wxDateTime *result;
17346 PyObject * obj0 = 0 ;
17347 PyObject * obj1 = 0 ;
17348 PyObject * obj2 = 0 ;
17349 PyObject * obj3 = 0 ;
17350 char *kwnames[] = {
17351 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17352 };
17353
17354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17355 arg1 = (int) SWIG_AsInt(obj0);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 if (obj1) {
17358 arg2 = (int) SWIG_AsInt(obj1);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 if (obj2) {
17362 arg3 = (int) SWIG_AsInt(obj2);
17363 if (PyErr_Occurred()) SWIG_fail;
17364 }
17365 if (obj3) {
17366 arg4 = (int) SWIG_AsInt(obj3);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 }
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17372
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
17376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17377 return resultobj;
17378 fail:
17379 return NULL;
17380 }
17381
17382
17383 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17384 PyObject *resultobj;
17385 int arg1 ;
17386 int arg2 = (int) wxDateTime::Inv_Month ;
17387 int arg3 = (int) wxDateTime::Inv_Year ;
17388 int arg4 = (int) 0 ;
17389 int arg5 = (int) 0 ;
17390 int arg6 = (int) 0 ;
17391 int arg7 = (int) 0 ;
17392 wxDateTime *result;
17393 PyObject * obj0 = 0 ;
17394 PyObject * obj1 = 0 ;
17395 PyObject * obj2 = 0 ;
17396 PyObject * obj3 = 0 ;
17397 PyObject * obj4 = 0 ;
17398 PyObject * obj5 = 0 ;
17399 PyObject * obj6 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17405 arg1 = (int) SWIG_AsInt(obj0);
17406 if (PyErr_Occurred()) SWIG_fail;
17407 if (obj1) {
17408 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17409 if (PyErr_Occurred()) SWIG_fail;
17410 }
17411 if (obj2) {
17412 arg3 = (int) SWIG_AsInt(obj2);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 if (obj3) {
17416 arg4 = (int) SWIG_AsInt(obj3);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 if (obj4) {
17420 arg5 = (int) SWIG_AsInt(obj4);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 if (obj5) {
17424 arg6 = (int) SWIG_AsInt(obj5);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 }
17427 if (obj6) {
17428 arg7 = (int) SWIG_AsInt(obj6);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17439 return resultobj;
17440 fail:
17441 return NULL;
17442 }
17443
17444
17445 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 wxDateTime *arg1 = (wxDateTime *) 0 ;
17448 PyObject * obj0 = 0 ;
17449 char *kwnames[] = {
17450 (char *) "self", NULL
17451 };
17452
17453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17456 {
17457 PyThreadState* __tstate = wxPyBeginAllowThreads();
17458 delete arg1;
17459
17460 wxPyEndAllowThreads(__tstate);
17461 if (PyErr_Occurred()) SWIG_fail;
17462 }
17463 Py_INCREF(Py_None); resultobj = Py_None;
17464 return resultobj;
17465 fail:
17466 return NULL;
17467 }
17468
17469
17470 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17471 PyObject *resultobj;
17472 wxDateTime *arg1 = (wxDateTime *) 0 ;
17473 wxDateTime *result;
17474 PyObject * obj0 = 0 ;
17475 char *kwnames[] = {
17476 (char *) "self", NULL
17477 };
17478
17479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17482 {
17483 PyThreadState* __tstate = wxPyBeginAllowThreads();
17484 {
17485 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17486 result = (wxDateTime *) &_result_ref;
17487 }
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17493 return resultobj;
17494 fail:
17495 return NULL;
17496 }
17497
17498
17499 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 wxDateTime *arg1 = (wxDateTime *) 0 ;
17502 time_t arg2 ;
17503 wxDateTime *result;
17504 PyObject * obj0 = 0 ;
17505 PyObject * obj1 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "self",(char *) "timet", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17513 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 {
17516 PyThreadState* __tstate = wxPyBeginAllowThreads();
17517 {
17518 wxDateTime &_result_ref = (arg1)->Set(arg2);
17519 result = (wxDateTime *) &_result_ref;
17520 }
17521
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
17525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17526 return resultobj;
17527 fail:
17528 return NULL;
17529 }
17530
17531
17532 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17533 PyObject *resultobj;
17534 wxDateTime *arg1 = (wxDateTime *) 0 ;
17535 double arg2 ;
17536 wxDateTime *result;
17537 PyObject * obj0 = 0 ;
17538 PyObject * obj1 = 0 ;
17539 char *kwnames[] = {
17540 (char *) "self",(char *) "jdn", NULL
17541 };
17542
17543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17546 arg2 = (double) SWIG_AsDouble(obj1);
17547 if (PyErr_Occurred()) SWIG_fail;
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 {
17551 wxDateTime &_result_ref = (arg1)->Set(arg2);
17552 result = (wxDateTime *) &_result_ref;
17553 }
17554
17555 wxPyEndAllowThreads(__tstate);
17556 if (PyErr_Occurred()) SWIG_fail;
17557 }
17558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17559 return resultobj;
17560 fail:
17561 return NULL;
17562 }
17563
17564
17565 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17566 PyObject *resultobj;
17567 wxDateTime *arg1 = (wxDateTime *) 0 ;
17568 int arg2 ;
17569 int arg3 = (int) 0 ;
17570 int arg4 = (int) 0 ;
17571 int arg5 = (int) 0 ;
17572 wxDateTime *result;
17573 PyObject * obj0 = 0 ;
17574 PyObject * obj1 = 0 ;
17575 PyObject * obj2 = 0 ;
17576 PyObject * obj3 = 0 ;
17577 PyObject * obj4 = 0 ;
17578 char *kwnames[] = {
17579 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17580 };
17581
17582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17585 arg2 = (int) SWIG_AsInt(obj1);
17586 if (PyErr_Occurred()) SWIG_fail;
17587 if (obj2) {
17588 arg3 = (int) SWIG_AsInt(obj2);
17589 if (PyErr_Occurred()) SWIG_fail;
17590 }
17591 if (obj3) {
17592 arg4 = (int) SWIG_AsInt(obj3);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 if (obj4) {
17596 arg5 = (int) SWIG_AsInt(obj4);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 }
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 {
17602 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17603 result = (wxDateTime *) &_result_ref;
17604 }
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17610 return resultobj;
17611 fail:
17612 return NULL;
17613 }
17614
17615
17616 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj;
17618 wxDateTime *arg1 = (wxDateTime *) 0 ;
17619 int arg2 ;
17620 int arg3 = (int) wxDateTime::Inv_Month ;
17621 int arg4 = (int) wxDateTime::Inv_Year ;
17622 int arg5 = (int) 0 ;
17623 int arg6 = (int) 0 ;
17624 int arg7 = (int) 0 ;
17625 int arg8 = (int) 0 ;
17626 wxDateTime *result;
17627 PyObject * obj0 = 0 ;
17628 PyObject * obj1 = 0 ;
17629 PyObject * obj2 = 0 ;
17630 PyObject * obj3 = 0 ;
17631 PyObject * obj4 = 0 ;
17632 PyObject * obj5 = 0 ;
17633 PyObject * obj6 = 0 ;
17634 PyObject * obj7 = 0 ;
17635 char *kwnames[] = {
17636 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17637 };
17638
17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17642 arg2 = (int) SWIG_AsInt(obj1);
17643 if (PyErr_Occurred()) SWIG_fail;
17644 if (obj2) {
17645 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 if (obj3) {
17649 arg4 = (int) SWIG_AsInt(obj3);
17650 if (PyErr_Occurred()) SWIG_fail;
17651 }
17652 if (obj4) {
17653 arg5 = (int) SWIG_AsInt(obj4);
17654 if (PyErr_Occurred()) SWIG_fail;
17655 }
17656 if (obj5) {
17657 arg6 = (int) SWIG_AsInt(obj5);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 if (obj6) {
17661 arg7 = (int) SWIG_AsInt(obj6);
17662 if (PyErr_Occurred()) SWIG_fail;
17663 }
17664 if (obj7) {
17665 arg8 = (int) SWIG_AsInt(obj7);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 }
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 {
17671 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17672 result = (wxDateTime *) &_result_ref;
17673 }
17674
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17679 return resultobj;
17680 fail:
17681 return NULL;
17682 }
17683
17684
17685 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17686 PyObject *resultobj;
17687 wxDateTime *arg1 = (wxDateTime *) 0 ;
17688 wxDateTime *result;
17689 PyObject * obj0 = 0 ;
17690 char *kwnames[] = {
17691 (char *) "self", NULL
17692 };
17693
17694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17697 {
17698 PyThreadState* __tstate = wxPyBeginAllowThreads();
17699 {
17700 wxDateTime &_result_ref = (arg1)->ResetTime();
17701 result = (wxDateTime *) &_result_ref;
17702 }
17703
17704 wxPyEndAllowThreads(__tstate);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 }
17707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17708 return resultobj;
17709 fail:
17710 return NULL;
17711 }
17712
17713
17714 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17715 PyObject *resultobj;
17716 wxDateTime *arg1 = (wxDateTime *) 0 ;
17717 int arg2 ;
17718 wxDateTime *result;
17719 PyObject * obj0 = 0 ;
17720 PyObject * obj1 = 0 ;
17721 char *kwnames[] = {
17722 (char *) "self",(char *) "year", NULL
17723 };
17724
17725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17728 arg2 = (int) SWIG_AsInt(obj1);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 {
17733 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17734 result = (wxDateTime *) &_result_ref;
17735 }
17736
17737 wxPyEndAllowThreads(__tstate);
17738 if (PyErr_Occurred()) SWIG_fail;
17739 }
17740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17741 return resultobj;
17742 fail:
17743 return NULL;
17744 }
17745
17746
17747 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17748 PyObject *resultobj;
17749 wxDateTime *arg1 = (wxDateTime *) 0 ;
17750 int arg2 ;
17751 wxDateTime *result;
17752 PyObject * obj0 = 0 ;
17753 PyObject * obj1 = 0 ;
17754 char *kwnames[] = {
17755 (char *) "self",(char *) "month", NULL
17756 };
17757
17758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17761 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17762 if (PyErr_Occurred()) SWIG_fail;
17763 {
17764 PyThreadState* __tstate = wxPyBeginAllowThreads();
17765 {
17766 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17767 result = (wxDateTime *) &_result_ref;
17768 }
17769
17770 wxPyEndAllowThreads(__tstate);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17774 return resultobj;
17775 fail:
17776 return NULL;
17777 }
17778
17779
17780 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17781 PyObject *resultobj;
17782 wxDateTime *arg1 = (wxDateTime *) 0 ;
17783 int arg2 ;
17784 wxDateTime *result;
17785 PyObject * obj0 = 0 ;
17786 PyObject * obj1 = 0 ;
17787 char *kwnames[] = {
17788 (char *) "self",(char *) "day", NULL
17789 };
17790
17791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17794 arg2 = (int) SWIG_AsInt(obj1);
17795 if (PyErr_Occurred()) SWIG_fail;
17796 {
17797 PyThreadState* __tstate = wxPyBeginAllowThreads();
17798 {
17799 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17800 result = (wxDateTime *) &_result_ref;
17801 }
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17807 return resultobj;
17808 fail:
17809 return NULL;
17810 }
17811
17812
17813 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17814 PyObject *resultobj;
17815 wxDateTime *arg1 = (wxDateTime *) 0 ;
17816 int arg2 ;
17817 wxDateTime *result;
17818 PyObject * obj0 = 0 ;
17819 PyObject * obj1 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "self",(char *) "hour", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
17825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17827 arg2 = (int) SWIG_AsInt(obj1);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 {
17832 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17833 result = (wxDateTime *) &_result_ref;
17834 }
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17840 return resultobj;
17841 fail:
17842 return NULL;
17843 }
17844
17845
17846 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17847 PyObject *resultobj;
17848 wxDateTime *arg1 = (wxDateTime *) 0 ;
17849 int arg2 ;
17850 wxDateTime *result;
17851 PyObject * obj0 = 0 ;
17852 PyObject * obj1 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self",(char *) "minute", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
17858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17860 arg2 = (int) SWIG_AsInt(obj1);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 {
17865 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17866 result = (wxDateTime *) &_result_ref;
17867 }
17868
17869 wxPyEndAllowThreads(__tstate);
17870 if (PyErr_Occurred()) SWIG_fail;
17871 }
17872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17873 return resultobj;
17874 fail:
17875 return NULL;
17876 }
17877
17878
17879 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17880 PyObject *resultobj;
17881 wxDateTime *arg1 = (wxDateTime *) 0 ;
17882 int arg2 ;
17883 wxDateTime *result;
17884 PyObject * obj0 = 0 ;
17885 PyObject * obj1 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self",(char *) "second", NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
17891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17893 arg2 = (int) SWIG_AsInt(obj1);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 {
17898 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17899 result = (wxDateTime *) &_result_ref;
17900 }
17901
17902 wxPyEndAllowThreads(__tstate);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 }
17905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17906 return resultobj;
17907 fail:
17908 return NULL;
17909 }
17910
17911
17912 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17913 PyObject *resultobj;
17914 wxDateTime *arg1 = (wxDateTime *) 0 ;
17915 int arg2 ;
17916 wxDateTime *result;
17917 PyObject * obj0 = 0 ;
17918 PyObject * obj1 = 0 ;
17919 char *kwnames[] = {
17920 (char *) "self",(char *) "millisecond", NULL
17921 };
17922
17923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17926 arg2 = (int) SWIG_AsInt(obj1);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 {
17929 PyThreadState* __tstate = wxPyBeginAllowThreads();
17930 {
17931 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17932 result = (wxDateTime *) &_result_ref;
17933 }
17934
17935 wxPyEndAllowThreads(__tstate);
17936 if (PyErr_Occurred()) SWIG_fail;
17937 }
17938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17939 return resultobj;
17940 fail:
17941 return NULL;
17942 }
17943
17944
17945 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17946 PyObject *resultobj;
17947 wxDateTime *arg1 = (wxDateTime *) 0 ;
17948 int arg2 ;
17949 int arg3 = (int) wxDateTime::Monday_First ;
17950 wxDateTime *result;
17951 PyObject * obj0 = 0 ;
17952 PyObject * obj1 = 0 ;
17953 PyObject * obj2 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17961 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 if (obj2) {
17964 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 }
17967 {
17968 PyThreadState* __tstate = wxPyBeginAllowThreads();
17969 {
17970 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17971 result = (wxDateTime *) &_result_ref;
17972 }
17973
17974 wxPyEndAllowThreads(__tstate);
17975 if (PyErr_Occurred()) SWIG_fail;
17976 }
17977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17978 return resultobj;
17979 fail:
17980 return NULL;
17981 }
17982
17983
17984 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17985 PyObject *resultobj;
17986 wxDateTime *arg1 = (wxDateTime *) 0 ;
17987 int arg2 ;
17988 int arg3 = (int) wxDateTime::Monday_First ;
17989 wxDateTime result;
17990 PyObject * obj0 = 0 ;
17991 PyObject * obj1 = 0 ;
17992 PyObject * obj2 = 0 ;
17993 char *kwnames[] = {
17994 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17995 };
17996
17997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
17998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18000 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18001 if (PyErr_Occurred()) SWIG_fail;
18002 if (obj2) {
18003 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 {
18014 wxDateTime * resultptr;
18015 resultptr = new wxDateTime((wxDateTime &) result);
18016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18017 }
18018 return resultobj;
18019 fail:
18020 return NULL;
18021 }
18022
18023
18024 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18025 PyObject *resultobj;
18026 wxDateTime *arg1 = (wxDateTime *) 0 ;
18027 int arg2 ;
18028 wxDateTime *result;
18029 PyObject * obj0 = 0 ;
18030 PyObject * obj1 = 0 ;
18031 char *kwnames[] = {
18032 (char *) "self",(char *) "weekday", NULL
18033 };
18034
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18038 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 {
18043 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18044 result = (wxDateTime *) &_result_ref;
18045 }
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18051 return resultobj;
18052 fail:
18053 return NULL;
18054 }
18055
18056
18057 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18058 PyObject *resultobj;
18059 wxDateTime *arg1 = (wxDateTime *) 0 ;
18060 int arg2 ;
18061 wxDateTime result;
18062 PyObject * obj0 = 0 ;
18063 PyObject * obj1 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self",(char *) "weekday", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18071 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 {
18074 PyThreadState* __tstate = wxPyBeginAllowThreads();
18075 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18076
18077 wxPyEndAllowThreads(__tstate);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 }
18080 {
18081 wxDateTime * resultptr;
18082 resultptr = new wxDateTime((wxDateTime &) result);
18083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18084 }
18085 return resultobj;
18086 fail:
18087 return NULL;
18088 }
18089
18090
18091 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxDateTime *arg1 = (wxDateTime *) 0 ;
18094 int arg2 ;
18095 wxDateTime *result;
18096 PyObject * obj0 = 0 ;
18097 PyObject * obj1 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self",(char *) "weekday", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18105 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 {
18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
18109 {
18110 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18111 result = (wxDateTime *) &_result_ref;
18112 }
18113
18114 wxPyEndAllowThreads(__tstate);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 }
18117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18118 return resultobj;
18119 fail:
18120 return NULL;
18121 }
18122
18123
18124 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18125 PyObject *resultobj;
18126 wxDateTime *arg1 = (wxDateTime *) 0 ;
18127 int arg2 ;
18128 wxDateTime result;
18129 PyObject * obj0 = 0 ;
18130 PyObject * obj1 = 0 ;
18131 char *kwnames[] = {
18132 (char *) "self",(char *) "weekday", NULL
18133 };
18134
18135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18138 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 {
18141 PyThreadState* __tstate = wxPyBeginAllowThreads();
18142 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18143
18144 wxPyEndAllowThreads(__tstate);
18145 if (PyErr_Occurred()) SWIG_fail;
18146 }
18147 {
18148 wxDateTime * resultptr;
18149 resultptr = new wxDateTime((wxDateTime &) result);
18150 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18151 }
18152 return resultobj;
18153 fail:
18154 return NULL;
18155 }
18156
18157
18158 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj;
18160 wxDateTime *arg1 = (wxDateTime *) 0 ;
18161 int arg2 ;
18162 int arg3 = (int) 1 ;
18163 int arg4 = (int) wxDateTime::Inv_Month ;
18164 int arg5 = (int) wxDateTime::Inv_Year ;
18165 bool result;
18166 PyObject * obj0 = 0 ;
18167 PyObject * obj1 = 0 ;
18168 PyObject * obj2 = 0 ;
18169 PyObject * obj3 = 0 ;
18170 PyObject * obj4 = 0 ;
18171 char *kwnames[] = {
18172 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18173 };
18174
18175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18178 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 if (obj2) {
18181 arg3 = (int) SWIG_AsInt(obj2);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 if (obj3) {
18185 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 }
18188 if (obj4) {
18189 arg5 = (int) SWIG_AsInt(obj4);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 {
18193 PyThreadState* __tstate = wxPyBeginAllowThreads();
18194 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18195
18196 wxPyEndAllowThreads(__tstate);
18197 if (PyErr_Occurred()) SWIG_fail;
18198 }
18199 {
18200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18201 }
18202 return resultobj;
18203 fail:
18204 return NULL;
18205 }
18206
18207
18208 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj;
18210 wxDateTime *arg1 = (wxDateTime *) 0 ;
18211 int arg2 ;
18212 int arg3 = (int) wxDateTime::Inv_Month ;
18213 int arg4 = (int) wxDateTime::Inv_Year ;
18214 bool result;
18215 PyObject * obj0 = 0 ;
18216 PyObject * obj1 = 0 ;
18217 PyObject * obj2 = 0 ;
18218 PyObject * obj3 = 0 ;
18219 char *kwnames[] = {
18220 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18221 };
18222
18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18226 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18227 if (PyErr_Occurred()) SWIG_fail;
18228 if (obj2) {
18229 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 if (obj3) {
18233 arg4 = (int) SWIG_AsInt(obj3);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 }
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 {
18244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18245 }
18246 return resultobj;
18247 fail:
18248 return NULL;
18249 }
18250
18251
18252 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18253 PyObject *resultobj;
18254 wxDateTime *arg1 = (wxDateTime *) 0 ;
18255 int arg2 ;
18256 int arg3 = (int) wxDateTime::Inv_Month ;
18257 int arg4 = (int) wxDateTime::Inv_Year ;
18258 wxDateTime result;
18259 PyObject * obj0 = 0 ;
18260 PyObject * obj1 = 0 ;
18261 PyObject * obj2 = 0 ;
18262 PyObject * obj3 = 0 ;
18263 char *kwnames[] = {
18264 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18265 };
18266
18267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18270 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 if (obj2) {
18273 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 if (obj3) {
18277 arg4 = (int) SWIG_AsInt(obj3);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 }
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 {
18288 wxDateTime * resultptr;
18289 resultptr = new wxDateTime((wxDateTime &) result);
18290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18291 }
18292 return resultobj;
18293 fail:
18294 return NULL;
18295 }
18296
18297
18298 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18299 PyObject *resultobj;
18300 wxDateTime *arg1 = (wxDateTime *) 0 ;
18301 int arg2 ;
18302 int arg3 = (int) wxDateTime::Mon ;
18303 int arg4 = (int) wxDateTime::Monday_First ;
18304 bool result;
18305 PyObject * obj0 = 0 ;
18306 PyObject * obj1 = 0 ;
18307 PyObject * obj2 = 0 ;
18308 PyObject * obj3 = 0 ;
18309 char *kwnames[] = {
18310 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18311 };
18312
18313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18316 arg2 = (int) SWIG_AsInt(obj1);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 if (obj2) {
18319 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 if (obj3) {
18323 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 {
18334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18335 }
18336 return resultobj;
18337 fail:
18338 return NULL;
18339 }
18340
18341
18342 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18343 PyObject *resultobj;
18344 wxDateTime *arg1 = (wxDateTime *) 0 ;
18345 int arg2 ;
18346 int arg3 = (int) wxDateTime::Mon ;
18347 int arg4 = (int) wxDateTime::Monday_First ;
18348 wxDateTime result;
18349 PyObject * obj0 = 0 ;
18350 PyObject * obj1 = 0 ;
18351 PyObject * obj2 = 0 ;
18352 PyObject * obj3 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18360 arg2 = (int) SWIG_AsInt(obj1);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 if (obj2) {
18363 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 if (obj3) {
18367 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 {
18378 wxDateTime * resultptr;
18379 resultptr = new wxDateTime((wxDateTime &) result);
18380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18381 }
18382 return resultobj;
18383 fail:
18384 return NULL;
18385 }
18386
18387
18388 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18389 PyObject *resultobj;
18390 wxDateTime *arg1 = (wxDateTime *) 0 ;
18391 int arg2 = (int) wxDateTime::Inv_Month ;
18392 int arg3 = (int) wxDateTime::Inv_Year ;
18393 wxDateTime *result;
18394 PyObject * obj0 = 0 ;
18395 PyObject * obj1 = 0 ;
18396 PyObject * obj2 = 0 ;
18397 char *kwnames[] = {
18398 (char *) "self",(char *) "month",(char *) "year", NULL
18399 };
18400
18401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18404 if (obj1) {
18405 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18406 if (PyErr_Occurred()) SWIG_fail;
18407 }
18408 if (obj2) {
18409 arg3 = (int) SWIG_AsInt(obj2);
18410 if (PyErr_Occurred()) SWIG_fail;
18411 }
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 {
18415 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18416 result = (wxDateTime *) &_result_ref;
18417 }
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18423 return resultobj;
18424 fail:
18425 return NULL;
18426 }
18427
18428
18429 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18430 PyObject *resultobj;
18431 wxDateTime *arg1 = (wxDateTime *) 0 ;
18432 int arg2 = (int) wxDateTime::Inv_Month ;
18433 int arg3 = (int) wxDateTime::Inv_Year ;
18434 wxDateTime result;
18435 PyObject * obj0 = 0 ;
18436 PyObject * obj1 = 0 ;
18437 PyObject * obj2 = 0 ;
18438 char *kwnames[] = {
18439 (char *) "self",(char *) "month",(char *) "year", NULL
18440 };
18441
18442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18445 if (obj1) {
18446 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18447 if (PyErr_Occurred()) SWIG_fail;
18448 }
18449 if (obj2) {
18450 arg3 = (int) SWIG_AsInt(obj2);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 }
18453 {
18454 PyThreadState* __tstate = wxPyBeginAllowThreads();
18455 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18456
18457 wxPyEndAllowThreads(__tstate);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 {
18461 wxDateTime * resultptr;
18462 resultptr = new wxDateTime((wxDateTime &) result);
18463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18464 }
18465 return resultobj;
18466 fail:
18467 return NULL;
18468 }
18469
18470
18471 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18472 PyObject *resultobj;
18473 wxDateTime *arg1 = (wxDateTime *) 0 ;
18474 int arg2 ;
18475 wxDateTime *result;
18476 PyObject * obj0 = 0 ;
18477 PyObject * obj1 = 0 ;
18478 char *kwnames[] = {
18479 (char *) "self",(char *) "yday", NULL
18480 };
18481
18482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18485 arg2 = (int) SWIG_AsInt(obj1);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 {
18488 PyThreadState* __tstate = wxPyBeginAllowThreads();
18489 {
18490 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18491 result = (wxDateTime *) &_result_ref;
18492 }
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18498 return resultobj;
18499 fail:
18500 return NULL;
18501 }
18502
18503
18504 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18505 PyObject *resultobj;
18506 wxDateTime *arg1 = (wxDateTime *) 0 ;
18507 int arg2 ;
18508 wxDateTime result;
18509 PyObject * obj0 = 0 ;
18510 PyObject * obj1 = 0 ;
18511 char *kwnames[] = {
18512 (char *) "self",(char *) "yday", NULL
18513 };
18514
18515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18518 arg2 = (int) SWIG_AsInt(obj1);
18519 if (PyErr_Occurred()) SWIG_fail;
18520 {
18521 PyThreadState* __tstate = wxPyBeginAllowThreads();
18522 result = (arg1)->GetYearDay(arg2);
18523
18524 wxPyEndAllowThreads(__tstate);
18525 if (PyErr_Occurred()) SWIG_fail;
18526 }
18527 {
18528 wxDateTime * resultptr;
18529 resultptr = new wxDateTime((wxDateTime &) result);
18530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18531 }
18532 return resultobj;
18533 fail:
18534 return NULL;
18535 }
18536
18537
18538 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18539 PyObject *resultobj;
18540 wxDateTime *arg1 = (wxDateTime *) 0 ;
18541 double result;
18542 PyObject * obj0 = 0 ;
18543 char *kwnames[] = {
18544 (char *) "self", NULL
18545 };
18546
18547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18550 {
18551 PyThreadState* __tstate = wxPyBeginAllowThreads();
18552 result = (double)(arg1)->GetJulianDayNumber();
18553
18554 wxPyEndAllowThreads(__tstate);
18555 if (PyErr_Occurred()) SWIG_fail;
18556 }
18557 resultobj = SWIG_FromDouble((double)result);
18558 return resultobj;
18559 fail:
18560 return NULL;
18561 }
18562
18563
18564 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18565 PyObject *resultobj;
18566 wxDateTime *arg1 = (wxDateTime *) 0 ;
18567 double result;
18568 PyObject * obj0 = 0 ;
18569 char *kwnames[] = {
18570 (char *) "self", NULL
18571 };
18572
18573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18576 {
18577 PyThreadState* __tstate = wxPyBeginAllowThreads();
18578 result = (double)(arg1)->GetJDN();
18579
18580 wxPyEndAllowThreads(__tstate);
18581 if (PyErr_Occurred()) SWIG_fail;
18582 }
18583 resultobj = SWIG_FromDouble((double)result);
18584 return resultobj;
18585 fail:
18586 return NULL;
18587 }
18588
18589
18590 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18591 PyObject *resultobj;
18592 wxDateTime *arg1 = (wxDateTime *) 0 ;
18593 double result;
18594 PyObject * obj0 = 0 ;
18595 char *kwnames[] = {
18596 (char *) "self", NULL
18597 };
18598
18599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 resultobj = SWIG_FromDouble((double)result);
18610 return resultobj;
18611 fail:
18612 return NULL;
18613 }
18614
18615
18616 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj;
18618 wxDateTime *arg1 = (wxDateTime *) 0 ;
18619 double result;
18620 PyObject * obj0 = 0 ;
18621 char *kwnames[] = {
18622 (char *) "self", NULL
18623 };
18624
18625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18628 {
18629 PyThreadState* __tstate = wxPyBeginAllowThreads();
18630 result = (double)(arg1)->GetMJD();
18631
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 resultobj = SWIG_FromDouble((double)result);
18636 return resultobj;
18637 fail:
18638 return NULL;
18639 }
18640
18641
18642 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18643 PyObject *resultobj;
18644 wxDateTime *arg1 = (wxDateTime *) 0 ;
18645 double result;
18646 PyObject * obj0 = 0 ;
18647 char *kwnames[] = {
18648 (char *) "self", NULL
18649 };
18650
18651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18654 {
18655 PyThreadState* __tstate = wxPyBeginAllowThreads();
18656 result = (double)(arg1)->GetRataDie();
18657
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 resultobj = SWIG_FromDouble((double)result);
18662 return resultobj;
18663 fail:
18664 return NULL;
18665 }
18666
18667
18668 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18669 PyObject *resultobj;
18670 wxDateTime *arg1 = (wxDateTime *) 0 ;
18671 wxDateTime::TimeZone *arg2 = 0 ;
18672 bool arg3 = (bool) False ;
18673 wxDateTime result;
18674 bool temp2 = False ;
18675 PyObject * obj0 = 0 ;
18676 PyObject * obj1 = 0 ;
18677 PyObject * obj2 = 0 ;
18678 char *kwnames[] = {
18679 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18685 {
18686 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18687 temp2 = True;
18688 }
18689 if (obj2) {
18690 arg3 = (bool) SWIG_AsBool(obj2);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18696
18697 wxPyEndAllowThreads(__tstate);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 }
18700 {
18701 wxDateTime * resultptr;
18702 resultptr = new wxDateTime((wxDateTime &) result);
18703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18704 }
18705 {
18706 if (temp2) delete arg2;
18707 }
18708 return resultobj;
18709 fail:
18710 {
18711 if (temp2) delete arg2;
18712 }
18713 return NULL;
18714 }
18715
18716
18717 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18718 PyObject *resultobj;
18719 wxDateTime *arg1 = (wxDateTime *) 0 ;
18720 wxDateTime::TimeZone *arg2 = 0 ;
18721 bool arg3 = (bool) False ;
18722 wxDateTime *result;
18723 bool temp2 = False ;
18724 PyObject * obj0 = 0 ;
18725 PyObject * obj1 = 0 ;
18726 PyObject * obj2 = 0 ;
18727 char *kwnames[] = {
18728 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18729 };
18730
18731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18734 {
18735 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18736 temp2 = True;
18737 }
18738 if (obj2) {
18739 arg3 = (bool) SWIG_AsBool(obj2);
18740 if (PyErr_Occurred()) SWIG_fail;
18741 }
18742 {
18743 PyThreadState* __tstate = wxPyBeginAllowThreads();
18744 {
18745 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18746 result = (wxDateTime *) &_result_ref;
18747 }
18748
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18753 {
18754 if (temp2) delete arg2;
18755 }
18756 return resultobj;
18757 fail:
18758 {
18759 if (temp2) delete arg2;
18760 }
18761 return NULL;
18762 }
18763
18764
18765 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18766 PyObject *resultobj;
18767 wxDateTime *arg1 = (wxDateTime *) 0 ;
18768 bool arg2 = (bool) False ;
18769 wxDateTime result;
18770 PyObject * obj0 = 0 ;
18771 PyObject * obj1 = 0 ;
18772 char *kwnames[] = {
18773 (char *) "self",(char *) "noDST", NULL
18774 };
18775
18776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18779 if (obj1) {
18780 arg2 = (bool) SWIG_AsBool(obj1);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 }
18783 {
18784 PyThreadState* __tstate = wxPyBeginAllowThreads();
18785 result = (arg1)->ToGMT(arg2);
18786
18787 wxPyEndAllowThreads(__tstate);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 {
18791 wxDateTime * resultptr;
18792 resultptr = new wxDateTime((wxDateTime &) result);
18793 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18794 }
18795 return resultobj;
18796 fail:
18797 return NULL;
18798 }
18799
18800
18801 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18802 PyObject *resultobj;
18803 wxDateTime *arg1 = (wxDateTime *) 0 ;
18804 bool arg2 = (bool) False ;
18805 wxDateTime *result;
18806 PyObject * obj0 = 0 ;
18807 PyObject * obj1 = 0 ;
18808 char *kwnames[] = {
18809 (char *) "self",(char *) "noDST", NULL
18810 };
18811
18812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18815 if (obj1) {
18816 arg2 = (bool) SWIG_AsBool(obj1);
18817 if (PyErr_Occurred()) SWIG_fail;
18818 }
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 {
18822 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18823 result = (wxDateTime *) &_result_ref;
18824 }
18825
18826 wxPyEndAllowThreads(__tstate);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 }
18829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18830 return resultobj;
18831 fail:
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 wxDateTime *arg1 = (wxDateTime *) 0 ;
18839 int arg2 = (int) wxDateTime::Country_Default ;
18840 int result;
18841 PyObject * obj0 = 0 ;
18842 PyObject * obj1 = 0 ;
18843 char *kwnames[] = {
18844 (char *) "self",(char *) "country", NULL
18845 };
18846
18847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
18848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18850 if (obj1) {
18851 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
18852 if (PyErr_Occurred()) SWIG_fail;
18853 }
18854 {
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18857
18858 wxPyEndAllowThreads(__tstate);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 resultobj = SWIG_FromInt((int)result);
18862 return resultobj;
18863 fail:
18864 return NULL;
18865 }
18866
18867
18868 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
18869 PyObject *resultobj;
18870 wxDateTime *arg1 = (wxDateTime *) 0 ;
18871 bool result;
18872 PyObject * obj0 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
18878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 result = (bool)((wxDateTime const *)arg1)->IsValid();
18883
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 {
18888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18889 }
18890 return resultobj;
18891 fail:
18892 return NULL;
18893 }
18894
18895
18896 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
18897 PyObject *resultobj;
18898 wxDateTime *arg1 = (wxDateTime *) 0 ;
18899 time_t result;
18900 PyObject * obj0 = 0 ;
18901 char *kwnames[] = {
18902 (char *) "self", NULL
18903 };
18904
18905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
18906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18911
18912 wxPyEndAllowThreads(__tstate);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
18916 return resultobj;
18917 fail:
18918 return NULL;
18919 }
18920
18921
18922 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
18923 PyObject *resultobj;
18924 wxDateTime *arg1 = (wxDateTime *) 0 ;
18925 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18926 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18927 int result;
18928 bool temp2 = False ;
18929 PyObject * obj0 = 0 ;
18930 PyObject * obj1 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self",(char *) "tz", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
18936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18938 if (obj1) {
18939 {
18940 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18941 temp2 = True;
18942 }
18943 }
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 resultobj = SWIG_FromInt((int)result);
18952 {
18953 if (temp2) delete arg2;
18954 }
18955 return resultobj;
18956 fail:
18957 {
18958 if (temp2) delete arg2;
18959 }
18960 return NULL;
18961 }
18962
18963
18964 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
18965 PyObject *resultobj;
18966 wxDateTime *arg1 = (wxDateTime *) 0 ;
18967 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18968 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18969 int result;
18970 bool temp2 = False ;
18971 PyObject * obj0 = 0 ;
18972 PyObject * obj1 = 0 ;
18973 char *kwnames[] = {
18974 (char *) "self",(char *) "tz", NULL
18975 };
18976
18977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
18978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18980 if (obj1) {
18981 {
18982 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18983 temp2 = True;
18984 }
18985 }
18986 {
18987 PyThreadState* __tstate = wxPyBeginAllowThreads();
18988 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
18989
18990 wxPyEndAllowThreads(__tstate);
18991 if (PyErr_Occurred()) SWIG_fail;
18992 }
18993 resultobj = SWIG_FromInt((int)result);
18994 {
18995 if (temp2) delete arg2;
18996 }
18997 return resultobj;
18998 fail:
18999 {
19000 if (temp2) delete arg2;
19001 }
19002 return NULL;
19003 }
19004
19005
19006 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19007 PyObject *resultobj;
19008 wxDateTime *arg1 = (wxDateTime *) 0 ;
19009 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19010 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19011 int result;
19012 bool temp2 = False ;
19013 PyObject * obj0 = 0 ;
19014 PyObject * obj1 = 0 ;
19015 char *kwnames[] = {
19016 (char *) "self",(char *) "tz", NULL
19017 };
19018
19019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19022 if (obj1) {
19023 {
19024 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19025 temp2 = True;
19026 }
19027 }
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19031
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 resultobj = SWIG_FromInt((int)result);
19036 {
19037 if (temp2) delete arg2;
19038 }
19039 return resultobj;
19040 fail:
19041 {
19042 if (temp2) delete arg2;
19043 }
19044 return NULL;
19045 }
19046
19047
19048 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj;
19050 wxDateTime *arg1 = (wxDateTime *) 0 ;
19051 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19052 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19053 int result;
19054 bool temp2 = False ;
19055 PyObject * obj0 = 0 ;
19056 PyObject * obj1 = 0 ;
19057 char *kwnames[] = {
19058 (char *) "self",(char *) "tz", NULL
19059 };
19060
19061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19064 if (obj1) {
19065 {
19066 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19067 temp2 = True;
19068 }
19069 }
19070 {
19071 PyThreadState* __tstate = wxPyBeginAllowThreads();
19072 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19073
19074 wxPyEndAllowThreads(__tstate);
19075 if (PyErr_Occurred()) SWIG_fail;
19076 }
19077 resultobj = SWIG_FromInt((int)result);
19078 {
19079 if (temp2) delete arg2;
19080 }
19081 return resultobj;
19082 fail:
19083 {
19084 if (temp2) delete arg2;
19085 }
19086 return NULL;
19087 }
19088
19089
19090 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
19091 PyObject *resultobj;
19092 wxDateTime *arg1 = (wxDateTime *) 0 ;
19093 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19094 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19095 int result;
19096 bool temp2 = False ;
19097 PyObject * obj0 = 0 ;
19098 PyObject * obj1 = 0 ;
19099 char *kwnames[] = {
19100 (char *) "self",(char *) "tz", NULL
19101 };
19102
19103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19106 if (obj1) {
19107 {
19108 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19109 temp2 = True;
19110 }
19111 }
19112 {
19113 PyThreadState* __tstate = wxPyBeginAllowThreads();
19114 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19115
19116 wxPyEndAllowThreads(__tstate);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 }
19119 resultobj = SWIG_FromInt((int)result);
19120 {
19121 if (temp2) delete arg2;
19122 }
19123 return resultobj;
19124 fail:
19125 {
19126 if (temp2) delete arg2;
19127 }
19128 return NULL;
19129 }
19130
19131
19132 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
19133 PyObject *resultobj;
19134 wxDateTime *arg1 = (wxDateTime *) 0 ;
19135 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19136 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19137 int result;
19138 bool temp2 = False ;
19139 PyObject * obj0 = 0 ;
19140 PyObject * obj1 = 0 ;
19141 char *kwnames[] = {
19142 (char *) "self",(char *) "tz", NULL
19143 };
19144
19145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19148 if (obj1) {
19149 {
19150 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19151 temp2 = True;
19152 }
19153 }
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19157
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 resultobj = SWIG_FromInt((int)result);
19162 {
19163 if (temp2) delete arg2;
19164 }
19165 return resultobj;
19166 fail:
19167 {
19168 if (temp2) delete arg2;
19169 }
19170 return NULL;
19171 }
19172
19173
19174 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19175 PyObject *resultobj;
19176 wxDateTime *arg1 = (wxDateTime *) 0 ;
19177 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19178 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19179 int result;
19180 bool temp2 = False ;
19181 PyObject * obj0 = 0 ;
19182 PyObject * obj1 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self",(char *) "tz", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19190 if (obj1) {
19191 {
19192 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19193 temp2 = True;
19194 }
19195 }
19196 {
19197 PyThreadState* __tstate = wxPyBeginAllowThreads();
19198 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19199
19200 wxPyEndAllowThreads(__tstate);
19201 if (PyErr_Occurred()) SWIG_fail;
19202 }
19203 resultobj = SWIG_FromInt((int)result);
19204 {
19205 if (temp2) delete arg2;
19206 }
19207 return resultobj;
19208 fail:
19209 {
19210 if (temp2) delete arg2;
19211 }
19212 return NULL;
19213 }
19214
19215
19216 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 wxDateTime *arg1 = (wxDateTime *) 0 ;
19219 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19220 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19221 int result;
19222 bool temp2 = False ;
19223 PyObject * obj0 = 0 ;
19224 PyObject * obj1 = 0 ;
19225 char *kwnames[] = {
19226 (char *) "self",(char *) "tz", NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19232 if (obj1) {
19233 {
19234 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19235 temp2 = True;
19236 }
19237 }
19238 {
19239 PyThreadState* __tstate = wxPyBeginAllowThreads();
19240 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19241
19242 wxPyEndAllowThreads(__tstate);
19243 if (PyErr_Occurred()) SWIG_fail;
19244 }
19245 resultobj = SWIG_FromInt((int)result);
19246 {
19247 if (temp2) delete arg2;
19248 }
19249 return resultobj;
19250 fail:
19251 {
19252 if (temp2) delete arg2;
19253 }
19254 return NULL;
19255 }
19256
19257
19258 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19259 PyObject *resultobj;
19260 wxDateTime *arg1 = (wxDateTime *) 0 ;
19261 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19262 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19263 int result;
19264 bool temp2 = False ;
19265 PyObject * obj0 = 0 ;
19266 PyObject * obj1 = 0 ;
19267 char *kwnames[] = {
19268 (char *) "self",(char *) "tz", NULL
19269 };
19270
19271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19274 if (obj1) {
19275 {
19276 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19277 temp2 = True;
19278 }
19279 }
19280 {
19281 PyThreadState* __tstate = wxPyBeginAllowThreads();
19282 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19283
19284 wxPyEndAllowThreads(__tstate);
19285 if (PyErr_Occurred()) SWIG_fail;
19286 }
19287 resultobj = SWIG_FromInt((int)result);
19288 {
19289 if (temp2) delete arg2;
19290 }
19291 return resultobj;
19292 fail:
19293 {
19294 if (temp2) delete arg2;
19295 }
19296 return NULL;
19297 }
19298
19299
19300 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19301 PyObject *resultobj;
19302 wxDateTime *arg1 = (wxDateTime *) 0 ;
19303 int arg2 = (int) wxDateTime::Monday_First ;
19304 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19305 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19306 int result;
19307 bool temp3 = False ;
19308 PyObject * obj0 = 0 ;
19309 PyObject * obj1 = 0 ;
19310 PyObject * obj2 = 0 ;
19311 char *kwnames[] = {
19312 (char *) "self",(char *) "flags",(char *) "tz", NULL
19313 };
19314
19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19318 if (obj1) {
19319 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19320 if (PyErr_Occurred()) SWIG_fail;
19321 }
19322 if (obj2) {
19323 {
19324 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19325 temp3 = True;
19326 }
19327 }
19328 {
19329 PyThreadState* __tstate = wxPyBeginAllowThreads();
19330 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19331
19332 wxPyEndAllowThreads(__tstate);
19333 if (PyErr_Occurred()) SWIG_fail;
19334 }
19335 resultobj = SWIG_FromInt((int)result);
19336 {
19337 if (temp3) delete arg3;
19338 }
19339 return resultobj;
19340 fail:
19341 {
19342 if (temp3) delete arg3;
19343 }
19344 return NULL;
19345 }
19346
19347
19348 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19349 PyObject *resultobj;
19350 wxDateTime *arg1 = (wxDateTime *) 0 ;
19351 int arg2 = (int) wxDateTime::Monday_First ;
19352 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19353 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19354 int result;
19355 bool temp3 = False ;
19356 PyObject * obj0 = 0 ;
19357 PyObject * obj1 = 0 ;
19358 PyObject * obj2 = 0 ;
19359 char *kwnames[] = {
19360 (char *) "self",(char *) "flags",(char *) "tz", NULL
19361 };
19362
19363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19366 if (obj1) {
19367 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 if (obj2) {
19371 {
19372 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19373 temp3 = True;
19374 }
19375 }
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 resultobj = SWIG_FromInt((int)result);
19384 {
19385 if (temp3) delete arg3;
19386 }
19387 return resultobj;
19388 fail:
19389 {
19390 if (temp3) delete arg3;
19391 }
19392 return NULL;
19393 }
19394
19395
19396 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19397 PyObject *resultobj;
19398 wxDateTime *arg1 = (wxDateTime *) 0 ;
19399 int arg2 = (int) wxDateTime::Country_Default ;
19400 bool result;
19401 PyObject * obj0 = 0 ;
19402 PyObject * obj1 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "self",(char *) "country", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19410 if (obj1) {
19411 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 {
19415 PyThreadState* __tstate = wxPyBeginAllowThreads();
19416 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19417
19418 wxPyEndAllowThreads(__tstate);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 }
19421 {
19422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19423 }
19424 return resultobj;
19425 fail:
19426 return NULL;
19427 }
19428
19429
19430 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19431 PyObject *resultobj;
19432 wxDateTime *arg1 = (wxDateTime *) 0 ;
19433 wxDateTime *arg2 = 0 ;
19434 bool result;
19435 PyObject * obj0 = 0 ;
19436 PyObject * obj1 = 0 ;
19437 char *kwnames[] = {
19438 (char *) "self",(char *) "datetime", NULL
19439 };
19440
19441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19445 SWIG_POINTER_EXCEPTION | 0)) == -1)
19446 SWIG_fail;
19447 if (arg2 == NULL) {
19448 PyErr_SetString(PyExc_TypeError,"null reference");
19449 SWIG_fail;
19450 }
19451 {
19452 PyThreadState* __tstate = wxPyBeginAllowThreads();
19453 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19454
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 {
19459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19460 }
19461 return resultobj;
19462 fail:
19463 return NULL;
19464 }
19465
19466
19467 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19468 PyObject *resultobj;
19469 wxDateTime *arg1 = (wxDateTime *) 0 ;
19470 wxDateTime *arg2 = 0 ;
19471 bool result;
19472 PyObject * obj0 = 0 ;
19473 PyObject * obj1 = 0 ;
19474 char *kwnames[] = {
19475 (char *) "self",(char *) "datetime", NULL
19476 };
19477
19478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19482 SWIG_POINTER_EXCEPTION | 0)) == -1)
19483 SWIG_fail;
19484 if (arg2 == NULL) {
19485 PyErr_SetString(PyExc_TypeError,"null reference");
19486 SWIG_fail;
19487 }
19488 {
19489 PyThreadState* __tstate = wxPyBeginAllowThreads();
19490 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19491
19492 wxPyEndAllowThreads(__tstate);
19493 if (PyErr_Occurred()) SWIG_fail;
19494 }
19495 {
19496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19497 }
19498 return resultobj;
19499 fail:
19500 return NULL;
19501 }
19502
19503
19504 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj;
19506 wxDateTime *arg1 = (wxDateTime *) 0 ;
19507 wxDateTime *arg2 = 0 ;
19508 bool result;
19509 PyObject * obj0 = 0 ;
19510 PyObject * obj1 = 0 ;
19511 char *kwnames[] = {
19512 (char *) "self",(char *) "datetime", NULL
19513 };
19514
19515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19519 SWIG_POINTER_EXCEPTION | 0)) == -1)
19520 SWIG_fail;
19521 if (arg2 == NULL) {
19522 PyErr_SetString(PyExc_TypeError,"null reference");
19523 SWIG_fail;
19524 }
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
19527 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19528
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 {
19533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19534 }
19535 return resultobj;
19536 fail:
19537 return NULL;
19538 }
19539
19540
19541 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj;
19543 wxDateTime *arg1 = (wxDateTime *) 0 ;
19544 wxDateTime *arg2 = 0 ;
19545 wxDateTime *arg3 = 0 ;
19546 bool result;
19547 PyObject * obj0 = 0 ;
19548 PyObject * obj1 = 0 ;
19549 PyObject * obj2 = 0 ;
19550 char *kwnames[] = {
19551 (char *) "self",(char *) "t1",(char *) "t2", NULL
19552 };
19553
19554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19558 SWIG_POINTER_EXCEPTION | 0)) == -1)
19559 SWIG_fail;
19560 if (arg2 == NULL) {
19561 PyErr_SetString(PyExc_TypeError,"null reference");
19562 SWIG_fail;
19563 }
19564 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19565 SWIG_POINTER_EXCEPTION | 0)) == -1)
19566 SWIG_fail;
19567 if (arg3 == NULL) {
19568 PyErr_SetString(PyExc_TypeError,"null reference");
19569 SWIG_fail;
19570 }
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19574
19575 wxPyEndAllowThreads(__tstate);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 {
19579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19580 }
19581 return resultobj;
19582 fail:
19583 return NULL;
19584 }
19585
19586
19587 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19588 PyObject *resultobj;
19589 wxDateTime *arg1 = (wxDateTime *) 0 ;
19590 wxDateTime *arg2 = 0 ;
19591 wxDateTime *arg3 = 0 ;
19592 bool result;
19593 PyObject * obj0 = 0 ;
19594 PyObject * obj1 = 0 ;
19595 PyObject * obj2 = 0 ;
19596 char *kwnames[] = {
19597 (char *) "self",(char *) "t1",(char *) "t2", NULL
19598 };
19599
19600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19604 SWIG_POINTER_EXCEPTION | 0)) == -1)
19605 SWIG_fail;
19606 if (arg2 == NULL) {
19607 PyErr_SetString(PyExc_TypeError,"null reference");
19608 SWIG_fail;
19609 }
19610 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19611 SWIG_POINTER_EXCEPTION | 0)) == -1)
19612 SWIG_fail;
19613 if (arg3 == NULL) {
19614 PyErr_SetString(PyExc_TypeError,"null reference");
19615 SWIG_fail;
19616 }
19617 {
19618 PyThreadState* __tstate = wxPyBeginAllowThreads();
19619 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19620
19621 wxPyEndAllowThreads(__tstate);
19622 if (PyErr_Occurred()) SWIG_fail;
19623 }
19624 {
19625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19626 }
19627 return resultobj;
19628 fail:
19629 return NULL;
19630 }
19631
19632
19633 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 wxDateTime *arg1 = (wxDateTime *) 0 ;
19636 wxDateTime *arg2 = 0 ;
19637 bool result;
19638 PyObject * obj0 = 0 ;
19639 PyObject * obj1 = 0 ;
19640 char *kwnames[] = {
19641 (char *) "self",(char *) "dt", NULL
19642 };
19643
19644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19648 SWIG_POINTER_EXCEPTION | 0)) == -1)
19649 SWIG_fail;
19650 if (arg2 == NULL) {
19651 PyErr_SetString(PyExc_TypeError,"null reference");
19652 SWIG_fail;
19653 }
19654 {
19655 PyThreadState* __tstate = wxPyBeginAllowThreads();
19656 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19657
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
19661 {
19662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19663 }
19664 return resultobj;
19665 fail:
19666 return NULL;
19667 }
19668
19669
19670 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19671 PyObject *resultobj;
19672 wxDateTime *arg1 = (wxDateTime *) 0 ;
19673 wxDateTime *arg2 = 0 ;
19674 bool result;
19675 PyObject * obj0 = 0 ;
19676 PyObject * obj1 = 0 ;
19677 char *kwnames[] = {
19678 (char *) "self",(char *) "dt", NULL
19679 };
19680
19681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19685 SWIG_POINTER_EXCEPTION | 0)) == -1)
19686 SWIG_fail;
19687 if (arg2 == NULL) {
19688 PyErr_SetString(PyExc_TypeError,"null reference");
19689 SWIG_fail;
19690 }
19691 {
19692 PyThreadState* __tstate = wxPyBeginAllowThreads();
19693 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19694
19695 wxPyEndAllowThreads(__tstate);
19696 if (PyErr_Occurred()) SWIG_fail;
19697 }
19698 {
19699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19700 }
19701 return resultobj;
19702 fail:
19703 return NULL;
19704 }
19705
19706
19707 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19708 PyObject *resultobj;
19709 wxDateTime *arg1 = (wxDateTime *) 0 ;
19710 wxDateTime *arg2 = 0 ;
19711 wxTimeSpan *arg3 = 0 ;
19712 bool result;
19713 PyObject * obj0 = 0 ;
19714 PyObject * obj1 = 0 ;
19715 PyObject * obj2 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self",(char *) "dt",(char *) "ts", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19724 SWIG_POINTER_EXCEPTION | 0)) == -1)
19725 SWIG_fail;
19726 if (arg2 == NULL) {
19727 PyErr_SetString(PyExc_TypeError,"null reference");
19728 SWIG_fail;
19729 }
19730 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19731 SWIG_POINTER_EXCEPTION | 0)) == -1)
19732 SWIG_fail;
19733 if (arg3 == NULL) {
19734 PyErr_SetString(PyExc_TypeError,"null reference");
19735 SWIG_fail;
19736 }
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19740
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 {
19745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19746 }
19747 return resultobj;
19748 fail:
19749 return NULL;
19750 }
19751
19752
19753 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19754 PyObject *resultobj;
19755 wxDateTime *arg1 = (wxDateTime *) 0 ;
19756 wxTimeSpan *arg2 = 0 ;
19757 wxDateTime *result;
19758 PyObject * obj0 = 0 ;
19759 PyObject * obj1 = 0 ;
19760 char *kwnames[] = {
19761 (char *) "self",(char *) "diff", NULL
19762 };
19763
19764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19768 SWIG_POINTER_EXCEPTION | 0)) == -1)
19769 SWIG_fail;
19770 if (arg2 == NULL) {
19771 PyErr_SetString(PyExc_TypeError,"null reference");
19772 SWIG_fail;
19773 }
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 {
19777 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19778 result = (wxDateTime *) &_result_ref;
19779 }
19780
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxDateTime *arg1 = (wxDateTime *) 0 ;
19794 wxDateSpan *arg2 = 0 ;
19795 wxDateTime *result;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 char *kwnames[] = {
19799 (char *) "self",(char *) "diff", NULL
19800 };
19801
19802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19805 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19806 SWIG_POINTER_EXCEPTION | 0)) == -1)
19807 SWIG_fail;
19808 if (arg2 == NULL) {
19809 PyErr_SetString(PyExc_TypeError,"null reference");
19810 SWIG_fail;
19811 }
19812 {
19813 PyThreadState* __tstate = wxPyBeginAllowThreads();
19814 {
19815 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19816 result = (wxDateTime *) &_result_ref;
19817 }
19818
19819 wxPyEndAllowThreads(__tstate);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 }
19822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19823 return resultobj;
19824 fail:
19825 return NULL;
19826 }
19827
19828
19829 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj;
19831 wxDateTime *arg1 = (wxDateTime *) 0 ;
19832 wxTimeSpan *arg2 = 0 ;
19833 wxDateTime *result;
19834 PyObject * obj0 = 0 ;
19835 PyObject * obj1 = 0 ;
19836 char *kwnames[] = {
19837 (char *) "self",(char *) "diff", NULL
19838 };
19839
19840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
19841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19844 SWIG_POINTER_EXCEPTION | 0)) == -1)
19845 SWIG_fail;
19846 if (arg2 == NULL) {
19847 PyErr_SetString(PyExc_TypeError,"null reference");
19848 SWIG_fail;
19849 }
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 {
19853 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19854 result = (wxDateTime *) &_result_ref;
19855 }
19856
19857 wxPyEndAllowThreads(__tstate);
19858 if (PyErr_Occurred()) SWIG_fail;
19859 }
19860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19861 return resultobj;
19862 fail:
19863 return NULL;
19864 }
19865
19866
19867 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19868 PyObject *resultobj;
19869 wxDateTime *arg1 = (wxDateTime *) 0 ;
19870 wxDateSpan *arg2 = 0 ;
19871 wxDateTime *result;
19872 PyObject * obj0 = 0 ;
19873 PyObject * obj1 = 0 ;
19874 char *kwnames[] = {
19875 (char *) "self",(char *) "diff", NULL
19876 };
19877
19878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
19879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19882 SWIG_POINTER_EXCEPTION | 0)) == -1)
19883 SWIG_fail;
19884 if (arg2 == NULL) {
19885 PyErr_SetString(PyExc_TypeError,"null reference");
19886 SWIG_fail;
19887 }
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 {
19891 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19892 result = (wxDateTime *) &_result_ref;
19893 }
19894
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
19898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19899 return resultobj;
19900 fail:
19901 return NULL;
19902 }
19903
19904
19905 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19906 PyObject *resultobj;
19907 wxDateTime *arg1 = (wxDateTime *) 0 ;
19908 wxDateTime *arg2 = 0 ;
19909 wxTimeSpan result;
19910 PyObject * obj0 = 0 ;
19911 PyObject * obj1 = 0 ;
19912 char *kwnames[] = {
19913 (char *) "self",(char *) "dt", NULL
19914 };
19915
19916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
19917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19920 SWIG_POINTER_EXCEPTION | 0)) == -1)
19921 SWIG_fail;
19922 if (arg2 == NULL) {
19923 PyErr_SetString(PyExc_TypeError,"null reference");
19924 SWIG_fail;
19925 }
19926 {
19927 PyThreadState* __tstate = wxPyBeginAllowThreads();
19928 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19929
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 {
19934 wxTimeSpan * resultptr;
19935 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19936 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
19937 }
19938 return resultobj;
19939 fail:
19940 return NULL;
19941 }
19942
19943
19944 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
19945 PyObject *resultobj;
19946 wxDateTime *arg1 = (wxDateTime *) 0 ;
19947 wxTimeSpan *arg2 = 0 ;
19948 wxDateTime *result;
19949 PyObject * obj0 = 0 ;
19950 PyObject * obj1 = 0 ;
19951
19952 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19956 SWIG_POINTER_EXCEPTION | 0)) == -1)
19957 SWIG_fail;
19958 if (arg2 == NULL) {
19959 PyErr_SetString(PyExc_TypeError,"null reference");
19960 SWIG_fail;
19961 }
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
19964 {
19965 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19966 result = (wxDateTime *) &_result_ref;
19967 }
19968
19969 wxPyEndAllowThreads(__tstate);
19970 if (PyErr_Occurred()) SWIG_fail;
19971 }
19972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19973 return resultobj;
19974 fail:
19975 return NULL;
19976 }
19977
19978
19979 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
19980 PyObject *resultobj;
19981 wxDateTime *arg1 = (wxDateTime *) 0 ;
19982 wxDateSpan *arg2 = 0 ;
19983 wxDateTime *result;
19984 PyObject * obj0 = 0 ;
19985 PyObject * obj1 = 0 ;
19986
19987 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19991 SWIG_POINTER_EXCEPTION | 0)) == -1)
19992 SWIG_fail;
19993 if (arg2 == NULL) {
19994 PyErr_SetString(PyExc_TypeError,"null reference");
19995 SWIG_fail;
19996 }
19997 {
19998 PyThreadState* __tstate = wxPyBeginAllowThreads();
19999 {
20000 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20001 result = (wxDateTime *) &_result_ref;
20002 }
20003
20004 wxPyEndAllowThreads(__tstate);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 }
20007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20008 return resultobj;
20009 fail:
20010 return NULL;
20011 }
20012
20013
20014 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20015 int argc;
20016 PyObject *argv[3];
20017 int ii;
20018
20019 argc = PyObject_Length(args);
20020 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20021 argv[ii] = PyTuple_GetItem(args,ii);
20022 }
20023 if (argc == 2) {
20024 int _v;
20025 {
20026 void *ptr;
20027 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20028 _v = 0;
20029 PyErr_Clear();
20030 } else {
20031 _v = 1;
20032 }
20033 }
20034 if (_v) {
20035 {
20036 void *ptr;
20037 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20038 _v = 0;
20039 PyErr_Clear();
20040 } else {
20041 _v = 1;
20042 }
20043 }
20044 if (_v) {
20045 return _wrap_DateTime___iadd____SWIG_0(self,args);
20046 }
20047 }
20048 }
20049 if (argc == 2) {
20050 int _v;
20051 {
20052 void *ptr;
20053 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20054 _v = 0;
20055 PyErr_Clear();
20056 } else {
20057 _v = 1;
20058 }
20059 }
20060 if (_v) {
20061 {
20062 void *ptr;
20063 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20064 _v = 0;
20065 PyErr_Clear();
20066 } else {
20067 _v = 1;
20068 }
20069 }
20070 if (_v) {
20071 return _wrap_DateTime___iadd____SWIG_1(self,args);
20072 }
20073 }
20074 }
20075
20076 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20077 return NULL;
20078 }
20079
20080
20081 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
20082 PyObject *resultobj;
20083 wxDateTime *arg1 = (wxDateTime *) 0 ;
20084 wxTimeSpan *arg2 = 0 ;
20085 wxDateTime *result;
20086 PyObject * obj0 = 0 ;
20087 PyObject * obj1 = 0 ;
20088
20089 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20093 SWIG_POINTER_EXCEPTION | 0)) == -1)
20094 SWIG_fail;
20095 if (arg2 == NULL) {
20096 PyErr_SetString(PyExc_TypeError,"null reference");
20097 SWIG_fail;
20098 }
20099 {
20100 PyThreadState* __tstate = wxPyBeginAllowThreads();
20101 {
20102 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20103 result = (wxDateTime *) &_result_ref;
20104 }
20105
20106 wxPyEndAllowThreads(__tstate);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 }
20109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20110 return resultobj;
20111 fail:
20112 return NULL;
20113 }
20114
20115
20116 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
20117 PyObject *resultobj;
20118 wxDateTime *arg1 = (wxDateTime *) 0 ;
20119 wxDateSpan *arg2 = 0 ;
20120 wxDateTime *result;
20121 PyObject * obj0 = 0 ;
20122 PyObject * obj1 = 0 ;
20123
20124 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20128 SWIG_POINTER_EXCEPTION | 0)) == -1)
20129 SWIG_fail;
20130 if (arg2 == NULL) {
20131 PyErr_SetString(PyExc_TypeError,"null reference");
20132 SWIG_fail;
20133 }
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 {
20137 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20138 result = (wxDateTime *) &_result_ref;
20139 }
20140
20141 wxPyEndAllowThreads(__tstate);
20142 if (PyErr_Occurred()) SWIG_fail;
20143 }
20144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20145 return resultobj;
20146 fail:
20147 return NULL;
20148 }
20149
20150
20151 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20152 int argc;
20153 PyObject *argv[3];
20154 int ii;
20155
20156 argc = PyObject_Length(args);
20157 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20158 argv[ii] = PyTuple_GetItem(args,ii);
20159 }
20160 if (argc == 2) {
20161 int _v;
20162 {
20163 void *ptr;
20164 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20165 _v = 0;
20166 PyErr_Clear();
20167 } else {
20168 _v = 1;
20169 }
20170 }
20171 if (_v) {
20172 {
20173 void *ptr;
20174 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20175 _v = 0;
20176 PyErr_Clear();
20177 } else {
20178 _v = 1;
20179 }
20180 }
20181 if (_v) {
20182 return _wrap_DateTime___isub____SWIG_0(self,args);
20183 }
20184 }
20185 }
20186 if (argc == 2) {
20187 int _v;
20188 {
20189 void *ptr;
20190 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20191 _v = 0;
20192 PyErr_Clear();
20193 } else {
20194 _v = 1;
20195 }
20196 }
20197 if (_v) {
20198 {
20199 void *ptr;
20200 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20201 _v = 0;
20202 PyErr_Clear();
20203 } else {
20204 _v = 1;
20205 }
20206 }
20207 if (_v) {
20208 return _wrap_DateTime___isub____SWIG_1(self,args);
20209 }
20210 }
20211 }
20212
20213 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20214 return NULL;
20215 }
20216
20217
20218 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
20219 PyObject *resultobj;
20220 wxDateTime *arg1 = (wxDateTime *) 0 ;
20221 wxTimeSpan *arg2 = 0 ;
20222 wxDateTime result;
20223 PyObject * obj0 = 0 ;
20224 PyObject * obj1 = 0 ;
20225
20226 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20230 SWIG_POINTER_EXCEPTION | 0)) == -1)
20231 SWIG_fail;
20232 if (arg2 == NULL) {
20233 PyErr_SetString(PyExc_TypeError,"null reference");
20234 SWIG_fail;
20235 }
20236 {
20237 PyThreadState* __tstate = wxPyBeginAllowThreads();
20238 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20239
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
20243 {
20244 wxDateTime * resultptr;
20245 resultptr = new wxDateTime((wxDateTime &) result);
20246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20247 }
20248 return resultobj;
20249 fail:
20250 return NULL;
20251 }
20252
20253
20254 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
20255 PyObject *resultobj;
20256 wxDateTime *arg1 = (wxDateTime *) 0 ;
20257 wxDateSpan *arg2 = 0 ;
20258 wxDateTime result;
20259 PyObject * obj0 = 0 ;
20260 PyObject * obj1 = 0 ;
20261
20262 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20265 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20266 SWIG_POINTER_EXCEPTION | 0)) == -1)
20267 SWIG_fail;
20268 if (arg2 == NULL) {
20269 PyErr_SetString(PyExc_TypeError,"null reference");
20270 SWIG_fail;
20271 }
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 {
20280 wxDateTime * resultptr;
20281 resultptr = new wxDateTime((wxDateTime &) result);
20282 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20283 }
20284 return resultobj;
20285 fail:
20286 return NULL;
20287 }
20288
20289
20290 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20291 int argc;
20292 PyObject *argv[3];
20293 int ii;
20294
20295 argc = PyObject_Length(args);
20296 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20297 argv[ii] = PyTuple_GetItem(args,ii);
20298 }
20299 if (argc == 2) {
20300 int _v;
20301 {
20302 void *ptr;
20303 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20304 _v = 0;
20305 PyErr_Clear();
20306 } else {
20307 _v = 1;
20308 }
20309 }
20310 if (_v) {
20311 {
20312 void *ptr;
20313 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20314 _v = 0;
20315 PyErr_Clear();
20316 } else {
20317 _v = 1;
20318 }
20319 }
20320 if (_v) {
20321 return _wrap_DateTime___add____SWIG_0(self,args);
20322 }
20323 }
20324 }
20325 if (argc == 2) {
20326 int _v;
20327 {
20328 void *ptr;
20329 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20330 _v = 0;
20331 PyErr_Clear();
20332 } else {
20333 _v = 1;
20334 }
20335 }
20336 if (_v) {
20337 {
20338 void *ptr;
20339 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20340 _v = 0;
20341 PyErr_Clear();
20342 } else {
20343 _v = 1;
20344 }
20345 }
20346 if (_v) {
20347 return _wrap_DateTime___add____SWIG_1(self,args);
20348 }
20349 }
20350 }
20351
20352 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20353 return NULL;
20354 }
20355
20356
20357 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20358 PyObject *resultobj;
20359 wxDateTime *arg1 = (wxDateTime *) 0 ;
20360 wxDateTime *arg2 = 0 ;
20361 wxTimeSpan result;
20362 PyObject * obj0 = 0 ;
20363 PyObject * obj1 = 0 ;
20364
20365 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20368 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20369 SWIG_POINTER_EXCEPTION | 0)) == -1)
20370 SWIG_fail;
20371 if (arg2 == NULL) {
20372 PyErr_SetString(PyExc_TypeError,"null reference");
20373 SWIG_fail;
20374 }
20375 {
20376 PyThreadState* __tstate = wxPyBeginAllowThreads();
20377 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20378
20379 wxPyEndAllowThreads(__tstate);
20380 if (PyErr_Occurred()) SWIG_fail;
20381 }
20382 {
20383 wxTimeSpan * resultptr;
20384 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20385 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20386 }
20387 return resultobj;
20388 fail:
20389 return NULL;
20390 }
20391
20392
20393 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20394 PyObject *resultobj;
20395 wxDateTime *arg1 = (wxDateTime *) 0 ;
20396 wxTimeSpan *arg2 = 0 ;
20397 wxDateTime result;
20398 PyObject * obj0 = 0 ;
20399 PyObject * obj1 = 0 ;
20400
20401 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20405 SWIG_POINTER_EXCEPTION | 0)) == -1)
20406 SWIG_fail;
20407 if (arg2 == NULL) {
20408 PyErr_SetString(PyExc_TypeError,"null reference");
20409 SWIG_fail;
20410 }
20411 {
20412 PyThreadState* __tstate = wxPyBeginAllowThreads();
20413 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20414
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 {
20419 wxDateTime * resultptr;
20420 resultptr = new wxDateTime((wxDateTime &) result);
20421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20422 }
20423 return resultobj;
20424 fail:
20425 return NULL;
20426 }
20427
20428
20429 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20430 PyObject *resultobj;
20431 wxDateTime *arg1 = (wxDateTime *) 0 ;
20432 wxDateSpan *arg2 = 0 ;
20433 wxDateTime result;
20434 PyObject * obj0 = 0 ;
20435 PyObject * obj1 = 0 ;
20436
20437 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20441 SWIG_POINTER_EXCEPTION | 0)) == -1)
20442 SWIG_fail;
20443 if (arg2 == NULL) {
20444 PyErr_SetString(PyExc_TypeError,"null reference");
20445 SWIG_fail;
20446 }
20447 {
20448 PyThreadState* __tstate = wxPyBeginAllowThreads();
20449 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20450
20451 wxPyEndAllowThreads(__tstate);
20452 if (PyErr_Occurred()) SWIG_fail;
20453 }
20454 {
20455 wxDateTime * resultptr;
20456 resultptr = new wxDateTime((wxDateTime &) result);
20457 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20458 }
20459 return resultobj;
20460 fail:
20461 return NULL;
20462 }
20463
20464
20465 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20466 int argc;
20467 PyObject *argv[3];
20468 int ii;
20469
20470 argc = PyObject_Length(args);
20471 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20472 argv[ii] = PyTuple_GetItem(args,ii);
20473 }
20474 if (argc == 2) {
20475 int _v;
20476 {
20477 void *ptr;
20478 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20479 _v = 0;
20480 PyErr_Clear();
20481 } else {
20482 _v = 1;
20483 }
20484 }
20485 if (_v) {
20486 {
20487 void *ptr;
20488 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20489 _v = 0;
20490 PyErr_Clear();
20491 } else {
20492 _v = 1;
20493 }
20494 }
20495 if (_v) {
20496 return _wrap_DateTime___sub____SWIG_0(self,args);
20497 }
20498 }
20499 }
20500 if (argc == 2) {
20501 int _v;
20502 {
20503 void *ptr;
20504 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20505 _v = 0;
20506 PyErr_Clear();
20507 } else {
20508 _v = 1;
20509 }
20510 }
20511 if (_v) {
20512 {
20513 void *ptr;
20514 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20515 _v = 0;
20516 PyErr_Clear();
20517 } else {
20518 _v = 1;
20519 }
20520 }
20521 if (_v) {
20522 return _wrap_DateTime___sub____SWIG_1(self,args);
20523 }
20524 }
20525 }
20526 if (argc == 2) {
20527 int _v;
20528 {
20529 void *ptr;
20530 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20531 _v = 0;
20532 PyErr_Clear();
20533 } else {
20534 _v = 1;
20535 }
20536 }
20537 if (_v) {
20538 {
20539 void *ptr;
20540 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20541 _v = 0;
20542 PyErr_Clear();
20543 } else {
20544 _v = 1;
20545 }
20546 }
20547 if (_v) {
20548 return _wrap_DateTime___sub____SWIG_2(self,args);
20549 }
20550 }
20551 }
20552
20553 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20554 return NULL;
20555 }
20556
20557
20558 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20559 PyObject *resultobj;
20560 wxDateTime *arg1 = (wxDateTime *) 0 ;
20561 wxDateTime *arg2 = (wxDateTime *) 0 ;
20562 bool result;
20563 PyObject * obj0 = 0 ;
20564 PyObject * obj1 = 0 ;
20565
20566 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20571 {
20572 PyThreadState* __tstate = wxPyBeginAllowThreads();
20573 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
20574
20575 wxPyEndAllowThreads(__tstate);
20576 if (PyErr_Occurred()) SWIG_fail;
20577 }
20578 {
20579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20580 }
20581 return resultobj;
20582 fail:
20583 return NULL;
20584 }
20585
20586
20587 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20588 PyObject *resultobj;
20589 wxDateTime *arg1 = (wxDateTime *) 0 ;
20590 wxDateTime *arg2 = (wxDateTime *) 0 ;
20591 bool result;
20592 PyObject * obj0 = 0 ;
20593 PyObject * obj1 = 0 ;
20594
20595 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20600 {
20601 PyThreadState* __tstate = wxPyBeginAllowThreads();
20602 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
20603
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 {
20608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20609 }
20610 return resultobj;
20611 fail:
20612 return NULL;
20613 }
20614
20615
20616 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20617 PyObject *resultobj;
20618 wxDateTime *arg1 = (wxDateTime *) 0 ;
20619 wxDateTime *arg2 = (wxDateTime *) 0 ;
20620 bool result;
20621 PyObject * obj0 = 0 ;
20622 PyObject * obj1 = 0 ;
20623
20624 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20629 {
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
20632
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 {
20637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20638 }
20639 return resultobj;
20640 fail:
20641 return NULL;
20642 }
20643
20644
20645 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20646 PyObject *resultobj;
20647 wxDateTime *arg1 = (wxDateTime *) 0 ;
20648 wxDateTime *arg2 = (wxDateTime *) 0 ;
20649 bool result;
20650 PyObject * obj0 = 0 ;
20651 PyObject * obj1 = 0 ;
20652
20653 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20658 {
20659 PyThreadState* __tstate = wxPyBeginAllowThreads();
20660 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
20661
20662 wxPyEndAllowThreads(__tstate);
20663 if (PyErr_Occurred()) SWIG_fail;
20664 }
20665 {
20666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20667 }
20668 return resultobj;
20669 fail:
20670 return NULL;
20671 }
20672
20673
20674 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20675 PyObject *resultobj;
20676 wxDateTime *arg1 = (wxDateTime *) 0 ;
20677 wxDateTime *arg2 = (wxDateTime *) 0 ;
20678 bool result;
20679 PyObject * obj0 = 0 ;
20680 PyObject * obj1 = 0 ;
20681
20682 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20687 {
20688 PyThreadState* __tstate = wxPyBeginAllowThreads();
20689 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
20690
20691 wxPyEndAllowThreads(__tstate);
20692 if (PyErr_Occurred()) SWIG_fail;
20693 }
20694 {
20695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20696 }
20697 return resultobj;
20698 fail:
20699 return NULL;
20700 }
20701
20702
20703 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20704 PyObject *resultobj;
20705 wxDateTime *arg1 = (wxDateTime *) 0 ;
20706 wxDateTime *arg2 = (wxDateTime *) 0 ;
20707 bool result;
20708 PyObject * obj0 = 0 ;
20709 PyObject * obj1 = 0 ;
20710
20711 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20714 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20716 {
20717 PyThreadState* __tstate = wxPyBeginAllowThreads();
20718 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
20719
20720 wxPyEndAllowThreads(__tstate);
20721 if (PyErr_Occurred()) SWIG_fail;
20722 }
20723 {
20724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20725 }
20726 return resultobj;
20727 fail:
20728 return NULL;
20729 }
20730
20731
20732 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20733 PyObject *resultobj;
20734 wxDateTime *arg1 = (wxDateTime *) 0 ;
20735 wxString *arg2 = 0 ;
20736 int result;
20737 bool temp2 = False ;
20738 PyObject * obj0 = 0 ;
20739 PyObject * obj1 = 0 ;
20740 char *kwnames[] = {
20741 (char *) "self",(char *) "date", NULL
20742 };
20743
20744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20747 {
20748 arg2 = wxString_in_helper(obj1);
20749 if (arg2 == NULL) SWIG_fail;
20750 temp2 = True;
20751 }
20752 {
20753 PyThreadState* __tstate = wxPyBeginAllowThreads();
20754 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20755
20756 wxPyEndAllowThreads(__tstate);
20757 if (PyErr_Occurred()) SWIG_fail;
20758 }
20759 resultobj = SWIG_FromInt((int)result);
20760 {
20761 if (temp2)
20762 delete arg2;
20763 }
20764 return resultobj;
20765 fail:
20766 {
20767 if (temp2)
20768 delete arg2;
20769 }
20770 return NULL;
20771 }
20772
20773
20774 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20775 PyObject *resultobj;
20776 wxDateTime *arg1 = (wxDateTime *) 0 ;
20777 wxString *arg2 = 0 ;
20778 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20779 wxString *arg3 = (wxString *) &arg3_defvalue ;
20780 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20781 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20782 int result;
20783 bool temp2 = False ;
20784 bool temp3 = False ;
20785 PyObject * obj0 = 0 ;
20786 PyObject * obj1 = 0 ;
20787 PyObject * obj2 = 0 ;
20788 PyObject * obj3 = 0 ;
20789 char *kwnames[] = {
20790 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20791 };
20792
20793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20796 {
20797 arg2 = wxString_in_helper(obj1);
20798 if (arg2 == NULL) SWIG_fail;
20799 temp2 = True;
20800 }
20801 if (obj2) {
20802 {
20803 arg3 = wxString_in_helper(obj2);
20804 if (arg3 == NULL) SWIG_fail;
20805 temp3 = True;
20806 }
20807 }
20808 if (obj3) {
20809 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20810 SWIG_POINTER_EXCEPTION | 0)) == -1)
20811 SWIG_fail;
20812 if (arg4 == NULL) {
20813 PyErr_SetString(PyExc_TypeError,"null reference");
20814 SWIG_fail;
20815 }
20816 }
20817 {
20818 PyThreadState* __tstate = wxPyBeginAllowThreads();
20819 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20820
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 resultobj = SWIG_FromInt((int)result);
20825 {
20826 if (temp2)
20827 delete arg2;
20828 }
20829 {
20830 if (temp3)
20831 delete arg3;
20832 }
20833 return resultobj;
20834 fail:
20835 {
20836 if (temp2)
20837 delete arg2;
20838 }
20839 {
20840 if (temp3)
20841 delete arg3;
20842 }
20843 return NULL;
20844 }
20845
20846
20847 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj;
20849 wxDateTime *arg1 = (wxDateTime *) 0 ;
20850 wxString *arg2 = 0 ;
20851 int result;
20852 bool temp2 = False ;
20853 PyObject * obj0 = 0 ;
20854 PyObject * obj1 = 0 ;
20855 char *kwnames[] = {
20856 (char *) "self",(char *) "datetime", NULL
20857 };
20858
20859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
20860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20862 {
20863 arg2 = wxString_in_helper(obj1);
20864 if (arg2 == NULL) SWIG_fail;
20865 temp2 = True;
20866 }
20867 {
20868 PyThreadState* __tstate = wxPyBeginAllowThreads();
20869 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20870
20871 wxPyEndAllowThreads(__tstate);
20872 if (PyErr_Occurred()) SWIG_fail;
20873 }
20874 resultobj = SWIG_FromInt((int)result);
20875 {
20876 if (temp2)
20877 delete arg2;
20878 }
20879 return resultobj;
20880 fail:
20881 {
20882 if (temp2)
20883 delete arg2;
20884 }
20885 return NULL;
20886 }
20887
20888
20889 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj;
20891 wxDateTime *arg1 = (wxDateTime *) 0 ;
20892 wxString *arg2 = 0 ;
20893 int result;
20894 bool temp2 = False ;
20895 PyObject * obj0 = 0 ;
20896 PyObject * obj1 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "self",(char *) "date", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20904 {
20905 arg2 = wxString_in_helper(obj1);
20906 if (arg2 == NULL) SWIG_fail;
20907 temp2 = True;
20908 }
20909 {
20910 PyThreadState* __tstate = wxPyBeginAllowThreads();
20911 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20912
20913 wxPyEndAllowThreads(__tstate);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 }
20916 resultobj = SWIG_FromInt((int)result);
20917 {
20918 if (temp2)
20919 delete arg2;
20920 }
20921 return resultobj;
20922 fail:
20923 {
20924 if (temp2)
20925 delete arg2;
20926 }
20927 return NULL;
20928 }
20929
20930
20931 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20932 PyObject *resultobj;
20933 wxDateTime *arg1 = (wxDateTime *) 0 ;
20934 wxString *arg2 = 0 ;
20935 int result;
20936 bool temp2 = False ;
20937 PyObject * obj0 = 0 ;
20938 PyObject * obj1 = 0 ;
20939 char *kwnames[] = {
20940 (char *) "self",(char *) "time", NULL
20941 };
20942
20943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
20944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20946 {
20947 arg2 = wxString_in_helper(obj1);
20948 if (arg2 == NULL) SWIG_fail;
20949 temp2 = True;
20950 }
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20954
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 resultobj = SWIG_FromInt((int)result);
20959 {
20960 if (temp2)
20961 delete arg2;
20962 }
20963 return resultobj;
20964 fail:
20965 {
20966 if (temp2)
20967 delete arg2;
20968 }
20969 return NULL;
20970 }
20971
20972
20973 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20974 PyObject *resultobj;
20975 wxDateTime *arg1 = (wxDateTime *) 0 ;
20976 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20977 wxString *arg2 = (wxString *) &arg2_defvalue ;
20978 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20979 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20980 wxString result;
20981 bool temp2 = False ;
20982 bool temp3 = False ;
20983 PyObject * obj0 = 0 ;
20984 PyObject * obj1 = 0 ;
20985 PyObject * obj2 = 0 ;
20986 char *kwnames[] = {
20987 (char *) "self",(char *) "format",(char *) "tz", NULL
20988 };
20989
20990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
20991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20993 if (obj1) {
20994 {
20995 arg2 = wxString_in_helper(obj1);
20996 if (arg2 == NULL) SWIG_fail;
20997 temp2 = True;
20998 }
20999 }
21000 if (obj2) {
21001 {
21002 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21003 temp3 = True;
21004 }
21005 }
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 {
21014 #if wxUSE_UNICODE
21015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21016 #else
21017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21018 #endif
21019 }
21020 {
21021 if (temp2)
21022 delete arg2;
21023 }
21024 {
21025 if (temp3) delete arg3;
21026 }
21027 return resultobj;
21028 fail:
21029 {
21030 if (temp2)
21031 delete arg2;
21032 }
21033 {
21034 if (temp3) delete arg3;
21035 }
21036 return NULL;
21037 }
21038
21039
21040 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21041 PyObject *resultobj;
21042 wxDateTime *arg1 = (wxDateTime *) 0 ;
21043 wxString result;
21044 PyObject * obj0 = 0 ;
21045 char *kwnames[] = {
21046 (char *) "self", NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21052 {
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 result = ((wxDateTime const *)arg1)->FormatDate();
21055
21056 wxPyEndAllowThreads(__tstate);
21057 if (PyErr_Occurred()) SWIG_fail;
21058 }
21059 {
21060 #if wxUSE_UNICODE
21061 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21062 #else
21063 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21064 #endif
21065 }
21066 return resultobj;
21067 fail:
21068 return NULL;
21069 }
21070
21071
21072 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21073 PyObject *resultobj;
21074 wxDateTime *arg1 = (wxDateTime *) 0 ;
21075 wxString result;
21076 PyObject * obj0 = 0 ;
21077 char *kwnames[] = {
21078 (char *) "self", NULL
21079 };
21080
21081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21084 {
21085 PyThreadState* __tstate = wxPyBeginAllowThreads();
21086 result = ((wxDateTime const *)arg1)->FormatTime();
21087
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 {
21092 #if wxUSE_UNICODE
21093 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21094 #else
21095 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21096 #endif
21097 }
21098 return resultobj;
21099 fail:
21100 return NULL;
21101 }
21102
21103
21104 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
21105 PyObject *resultobj;
21106 wxDateTime *arg1 = (wxDateTime *) 0 ;
21107 wxString result;
21108 PyObject * obj0 = 0 ;
21109 char *kwnames[] = {
21110 (char *) "self", NULL
21111 };
21112
21113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21116 {
21117 PyThreadState* __tstate = wxPyBeginAllowThreads();
21118 result = ((wxDateTime const *)arg1)->FormatISODate();
21119
21120 wxPyEndAllowThreads(__tstate);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 }
21123 {
21124 #if wxUSE_UNICODE
21125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21126 #else
21127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21128 #endif
21129 }
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxDateTime *arg1 = (wxDateTime *) 0 ;
21139 wxString result;
21140 PyObject * obj0 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "self", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21148 {
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 result = ((wxDateTime const *)arg1)->FormatISOTime();
21151
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 {
21156 #if wxUSE_UNICODE
21157 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21158 #else
21159 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21160 #endif
21161 }
21162 return resultobj;
21163 fail:
21164 return NULL;
21165 }
21166
21167
21168 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
21169 PyObject *obj;
21170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21171 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21172 Py_INCREF(obj);
21173 return Py_BuildValue((char *)"");
21174 }
21175 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21176 PyObject *resultobj;
21177 long arg1 ;
21178 wxTimeSpan result;
21179 PyObject * obj0 = 0 ;
21180 char *kwnames[] = {
21181 (char *) "sec", NULL
21182 };
21183
21184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21185 arg1 = (long) SWIG_AsLong(obj0);
21186 if (PyErr_Occurred()) SWIG_fail;
21187 {
21188 PyThreadState* __tstate = wxPyBeginAllowThreads();
21189 result = wxTimeSpan::Seconds(arg1);
21190
21191 wxPyEndAllowThreads(__tstate);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
21194 {
21195 wxTimeSpan * resultptr;
21196 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21198 }
21199 return resultobj;
21200 fail:
21201 return NULL;
21202 }
21203
21204
21205 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
21206 PyObject *resultobj;
21207 wxTimeSpan result;
21208 char *kwnames[] = {
21209 NULL
21210 };
21211
21212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 result = wxTimeSpan::Second();
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 {
21221 wxTimeSpan * resultptr;
21222 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21224 }
21225 return resultobj;
21226 fail:
21227 return NULL;
21228 }
21229
21230
21231 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
21232 PyObject *resultobj;
21233 long arg1 ;
21234 wxTimeSpan result;
21235 PyObject * obj0 = 0 ;
21236 char *kwnames[] = {
21237 (char *) "min", NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21241 arg1 = (long) SWIG_AsLong(obj0);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 {
21244 PyThreadState* __tstate = wxPyBeginAllowThreads();
21245 result = wxTimeSpan::Minutes(arg1);
21246
21247 wxPyEndAllowThreads(__tstate);
21248 if (PyErr_Occurred()) SWIG_fail;
21249 }
21250 {
21251 wxTimeSpan * resultptr;
21252 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21254 }
21255 return resultobj;
21256 fail:
21257 return NULL;
21258 }
21259
21260
21261 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
21262 PyObject *resultobj;
21263 wxTimeSpan result;
21264 char *kwnames[] = {
21265 NULL
21266 };
21267
21268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21269 {
21270 PyThreadState* __tstate = wxPyBeginAllowThreads();
21271 result = wxTimeSpan::Minute();
21272
21273 wxPyEndAllowThreads(__tstate);
21274 if (PyErr_Occurred()) SWIG_fail;
21275 }
21276 {
21277 wxTimeSpan * resultptr;
21278 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21279 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21280 }
21281 return resultobj;
21282 fail:
21283 return NULL;
21284 }
21285
21286
21287 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
21288 PyObject *resultobj;
21289 long arg1 ;
21290 wxTimeSpan result;
21291 PyObject * obj0 = 0 ;
21292 char *kwnames[] = {
21293 (char *) "hours", NULL
21294 };
21295
21296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21297 arg1 = (long) SWIG_AsLong(obj0);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 {
21300 PyThreadState* __tstate = wxPyBeginAllowThreads();
21301 result = wxTimeSpan::Hours(arg1);
21302
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 {
21307 wxTimeSpan * resultptr;
21308 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21309 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21310 }
21311 return resultobj;
21312 fail:
21313 return NULL;
21314 }
21315
21316
21317 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
21318 PyObject *resultobj;
21319 wxTimeSpan result;
21320 char *kwnames[] = {
21321 NULL
21322 };
21323
21324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21325 {
21326 PyThreadState* __tstate = wxPyBeginAllowThreads();
21327 result = wxTimeSpan::Hour();
21328
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 {
21333 wxTimeSpan * resultptr;
21334 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21336 }
21337 return resultobj;
21338 fail:
21339 return NULL;
21340 }
21341
21342
21343 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21344 PyObject *resultobj;
21345 long arg1 ;
21346 wxTimeSpan result;
21347 PyObject * obj0 = 0 ;
21348 char *kwnames[] = {
21349 (char *) "days", NULL
21350 };
21351
21352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21353 arg1 = (long) SWIG_AsLong(obj0);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 result = wxTimeSpan::Days(arg1);
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 {
21363 wxTimeSpan * resultptr;
21364 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21365 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21366 }
21367 return resultobj;
21368 fail:
21369 return NULL;
21370 }
21371
21372
21373 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxTimeSpan result;
21376 char *kwnames[] = {
21377 NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21381 {
21382 PyThreadState* __tstate = wxPyBeginAllowThreads();
21383 result = wxTimeSpan::Day();
21384
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 {
21389 wxTimeSpan * resultptr;
21390 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21392 }
21393 return resultobj;
21394 fail:
21395 return NULL;
21396 }
21397
21398
21399 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21400 PyObject *resultobj;
21401 long arg1 ;
21402 wxTimeSpan result;
21403 PyObject * obj0 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "days", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21409 arg1 = (long) SWIG_AsLong(obj0);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 {
21412 PyThreadState* __tstate = wxPyBeginAllowThreads();
21413 result = wxTimeSpan::Weeks(arg1);
21414
21415 wxPyEndAllowThreads(__tstate);
21416 if (PyErr_Occurred()) SWIG_fail;
21417 }
21418 {
21419 wxTimeSpan * resultptr;
21420 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21422 }
21423 return resultobj;
21424 fail:
21425 return NULL;
21426 }
21427
21428
21429 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21430 PyObject *resultobj;
21431 wxTimeSpan result;
21432 char *kwnames[] = {
21433 NULL
21434 };
21435
21436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
21439 result = wxTimeSpan::Week();
21440
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 {
21445 wxTimeSpan * resultptr;
21446 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21447 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21448 }
21449 return resultobj;
21450 fail:
21451 return NULL;
21452 }
21453
21454
21455 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21456 PyObject *resultobj;
21457 long arg1 = (long) 0 ;
21458 long arg2 = (long) 0 ;
21459 long arg3 = (long) 0 ;
21460 long arg4 = (long) 0 ;
21461 wxTimeSpan *result;
21462 PyObject * obj0 = 0 ;
21463 PyObject * obj1 = 0 ;
21464 PyObject * obj2 = 0 ;
21465 PyObject * obj3 = 0 ;
21466 char *kwnames[] = {
21467 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21468 };
21469
21470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21471 if (obj0) {
21472 arg1 = (long) SWIG_AsLong(obj0);
21473 if (PyErr_Occurred()) SWIG_fail;
21474 }
21475 if (obj1) {
21476 arg2 = (long) SWIG_AsLong(obj1);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 if (obj2) {
21480 arg3 = (long) SWIG_AsLong(obj2);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 if (obj3) {
21484 arg4 = (long) SWIG_AsLong(obj3);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21490
21491 wxPyEndAllowThreads(__tstate);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21495 return resultobj;
21496 fail:
21497 return NULL;
21498 }
21499
21500
21501 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21502 PyObject *resultobj;
21503 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21504 PyObject * obj0 = 0 ;
21505 char *kwnames[] = {
21506 (char *) "self", NULL
21507 };
21508
21509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 delete arg1;
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 Py_INCREF(Py_None); resultobj = Py_None;
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj;
21528 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21529 wxTimeSpan *arg2 = 0 ;
21530 wxTimeSpan *result;
21531 PyObject * obj0 = 0 ;
21532 PyObject * obj1 = 0 ;
21533 char *kwnames[] = {
21534 (char *) "self",(char *) "diff", NULL
21535 };
21536
21537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21541 SWIG_POINTER_EXCEPTION | 0)) == -1)
21542 SWIG_fail;
21543 if (arg2 == NULL) {
21544 PyErr_SetString(PyExc_TypeError,"null reference");
21545 SWIG_fail;
21546 }
21547 {
21548 PyThreadState* __tstate = wxPyBeginAllowThreads();
21549 {
21550 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21551 result = (wxTimeSpan *) &_result_ref;
21552 }
21553
21554 wxPyEndAllowThreads(__tstate);
21555 if (PyErr_Occurred()) SWIG_fail;
21556 }
21557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21558 return resultobj;
21559 fail:
21560 return NULL;
21561 }
21562
21563
21564 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21565 PyObject *resultobj;
21566 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21567 wxTimeSpan *arg2 = 0 ;
21568 wxTimeSpan *result;
21569 PyObject * obj0 = 0 ;
21570 PyObject * obj1 = 0 ;
21571 char *kwnames[] = {
21572 (char *) "self",(char *) "diff", NULL
21573 };
21574
21575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21579 SWIG_POINTER_EXCEPTION | 0)) == -1)
21580 SWIG_fail;
21581 if (arg2 == NULL) {
21582 PyErr_SetString(PyExc_TypeError,"null reference");
21583 SWIG_fail;
21584 }
21585 {
21586 PyThreadState* __tstate = wxPyBeginAllowThreads();
21587 {
21588 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21589 result = (wxTimeSpan *) &_result_ref;
21590 }
21591
21592 wxPyEndAllowThreads(__tstate);
21593 if (PyErr_Occurred()) SWIG_fail;
21594 }
21595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21596 return resultobj;
21597 fail:
21598 return NULL;
21599 }
21600
21601
21602 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21603 PyObject *resultobj;
21604 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21605 int arg2 ;
21606 wxTimeSpan *result;
21607 PyObject * obj0 = 0 ;
21608 PyObject * obj1 = 0 ;
21609 char *kwnames[] = {
21610 (char *) "self",(char *) "n", NULL
21611 };
21612
21613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21616 arg2 = (int) SWIG_AsInt(obj1);
21617 if (PyErr_Occurred()) SWIG_fail;
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 {
21621 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21622 result = (wxTimeSpan *) &_result_ref;
21623 }
21624
21625 wxPyEndAllowThreads(__tstate);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 }
21628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21629 return resultobj;
21630 fail:
21631 return NULL;
21632 }
21633
21634
21635 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21636 PyObject *resultobj;
21637 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21638 wxTimeSpan *result;
21639 PyObject * obj0 = 0 ;
21640 char *kwnames[] = {
21641 (char *) "self", NULL
21642 };
21643
21644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21647 {
21648 PyThreadState* __tstate = wxPyBeginAllowThreads();
21649 {
21650 wxTimeSpan &_result_ref = (arg1)->Neg();
21651 result = (wxTimeSpan *) &_result_ref;
21652 }
21653
21654 wxPyEndAllowThreads(__tstate);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
21657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21658 return resultobj;
21659 fail:
21660 return NULL;
21661 }
21662
21663
21664 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21665 PyObject *resultobj;
21666 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21667 wxTimeSpan result;
21668 PyObject * obj0 = 0 ;
21669 char *kwnames[] = {
21670 (char *) "self", NULL
21671 };
21672
21673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21676 {
21677 PyThreadState* __tstate = wxPyBeginAllowThreads();
21678 result = ((wxTimeSpan const *)arg1)->Abs();
21679
21680 wxPyEndAllowThreads(__tstate);
21681 if (PyErr_Occurred()) SWIG_fail;
21682 }
21683 {
21684 wxTimeSpan * resultptr;
21685 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21686 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21687 }
21688 return resultobj;
21689 fail:
21690 return NULL;
21691 }
21692
21693
21694 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21695 PyObject *resultobj;
21696 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21697 wxTimeSpan *arg2 = 0 ;
21698 wxTimeSpan *result;
21699 PyObject * obj0 = 0 ;
21700 PyObject * obj1 = 0 ;
21701 char *kwnames[] = {
21702 (char *) "self",(char *) "diff", NULL
21703 };
21704
21705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21709 SWIG_POINTER_EXCEPTION | 0)) == -1)
21710 SWIG_fail;
21711 if (arg2 == NULL) {
21712 PyErr_SetString(PyExc_TypeError,"null reference");
21713 SWIG_fail;
21714 }
21715 {
21716 PyThreadState* __tstate = wxPyBeginAllowThreads();
21717 {
21718 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21719 result = (wxTimeSpan *) &_result_ref;
21720 }
21721
21722 wxPyEndAllowThreads(__tstate);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 }
21725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21726 return resultobj;
21727 fail:
21728 return NULL;
21729 }
21730
21731
21732 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21733 PyObject *resultobj;
21734 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21735 wxTimeSpan *arg2 = 0 ;
21736 wxTimeSpan *result;
21737 PyObject * obj0 = 0 ;
21738 PyObject * obj1 = 0 ;
21739 char *kwnames[] = {
21740 (char *) "self",(char *) "diff", NULL
21741 };
21742
21743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21747 SWIG_POINTER_EXCEPTION | 0)) == -1)
21748 SWIG_fail;
21749 if (arg2 == NULL) {
21750 PyErr_SetString(PyExc_TypeError,"null reference");
21751 SWIG_fail;
21752 }
21753 {
21754 PyThreadState* __tstate = wxPyBeginAllowThreads();
21755 {
21756 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21757 result = (wxTimeSpan *) &_result_ref;
21758 }
21759
21760 wxPyEndAllowThreads(__tstate);
21761 if (PyErr_Occurred()) SWIG_fail;
21762 }
21763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21764 return resultobj;
21765 fail:
21766 return NULL;
21767 }
21768
21769
21770 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21771 PyObject *resultobj;
21772 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21773 int arg2 ;
21774 wxTimeSpan *result;
21775 PyObject * obj0 = 0 ;
21776 PyObject * obj1 = 0 ;
21777 char *kwnames[] = {
21778 (char *) "self",(char *) "n", NULL
21779 };
21780
21781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21784 arg2 = (int) SWIG_AsInt(obj1);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 {
21787 PyThreadState* __tstate = wxPyBeginAllowThreads();
21788 {
21789 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21790 result = (wxTimeSpan *) &_result_ref;
21791 }
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21797 return resultobj;
21798 fail:
21799 return NULL;
21800 }
21801
21802
21803 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21806 wxTimeSpan *result;
21807 PyObject * obj0 = 0 ;
21808 char *kwnames[] = {
21809 (char *) "self", NULL
21810 };
21811
21812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 {
21818 wxTimeSpan &_result_ref = (arg1)->operator -();
21819 result = (wxTimeSpan *) &_result_ref;
21820 }
21821
21822 wxPyEndAllowThreads(__tstate);
21823 if (PyErr_Occurred()) SWIG_fail;
21824 }
21825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21826 return resultobj;
21827 fail:
21828 return NULL;
21829 }
21830
21831
21832 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21833 PyObject *resultobj;
21834 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21835 wxTimeSpan *arg2 = 0 ;
21836 wxTimeSpan result;
21837 PyObject * obj0 = 0 ;
21838 PyObject * obj1 = 0 ;
21839 char *kwnames[] = {
21840 (char *) "self",(char *) "other", NULL
21841 };
21842
21843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21847 SWIG_POINTER_EXCEPTION | 0)) == -1)
21848 SWIG_fail;
21849 if (arg2 == NULL) {
21850 PyErr_SetString(PyExc_TypeError,"null reference");
21851 SWIG_fail;
21852 }
21853 {
21854 PyThreadState* __tstate = wxPyBeginAllowThreads();
21855 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21856
21857 wxPyEndAllowThreads(__tstate);
21858 if (PyErr_Occurred()) SWIG_fail;
21859 }
21860 {
21861 wxTimeSpan * resultptr;
21862 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21863 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21864 }
21865 return resultobj;
21866 fail:
21867 return NULL;
21868 }
21869
21870
21871 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21872 PyObject *resultobj;
21873 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21874 wxTimeSpan *arg2 = 0 ;
21875 wxTimeSpan result;
21876 PyObject * obj0 = 0 ;
21877 PyObject * obj1 = 0 ;
21878 char *kwnames[] = {
21879 (char *) "self",(char *) "other", NULL
21880 };
21881
21882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21886 SWIG_POINTER_EXCEPTION | 0)) == -1)
21887 SWIG_fail;
21888 if (arg2 == NULL) {
21889 PyErr_SetString(PyExc_TypeError,"null reference");
21890 SWIG_fail;
21891 }
21892 {
21893 PyThreadState* __tstate = wxPyBeginAllowThreads();
21894 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21895
21896 wxPyEndAllowThreads(__tstate);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 {
21900 wxTimeSpan * resultptr;
21901 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21903 }
21904 return resultobj;
21905 fail:
21906 return NULL;
21907 }
21908
21909
21910 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj;
21912 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21913 int arg2 ;
21914 wxTimeSpan result;
21915 PyObject * obj0 = 0 ;
21916 PyObject * obj1 = 0 ;
21917 char *kwnames[] = {
21918 (char *) "self",(char *) "n", NULL
21919 };
21920
21921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
21922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21924 arg2 = (int) SWIG_AsInt(obj1);
21925 if (PyErr_Occurred()) SWIG_fail;
21926 {
21927 PyThreadState* __tstate = wxPyBeginAllowThreads();
21928 result = wxTimeSpan___mul__(arg1,arg2);
21929
21930 wxPyEndAllowThreads(__tstate);
21931 if (PyErr_Occurred()) SWIG_fail;
21932 }
21933 {
21934 wxTimeSpan * resultptr;
21935 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21936 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21937 }
21938 return resultobj;
21939 fail:
21940 return NULL;
21941 }
21942
21943
21944 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21945 PyObject *resultobj;
21946 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21947 int arg2 ;
21948 wxTimeSpan result;
21949 PyObject * obj0 = 0 ;
21950 PyObject * obj1 = 0 ;
21951 char *kwnames[] = {
21952 (char *) "self",(char *) "n", NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
21956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21958 arg2 = (int) SWIG_AsInt(obj1);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 result = wxTimeSpan___rmul__(arg1,arg2);
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 {
21968 wxTimeSpan * resultptr;
21969 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21971 }
21972 return resultobj;
21973 fail:
21974 return NULL;
21975 }
21976
21977
21978 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21979 PyObject *resultobj;
21980 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21981 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
21982 bool result;
21983 PyObject * obj0 = 0 ;
21984 PyObject * obj1 = 0 ;
21985 char *kwnames[] = {
21986 (char *) "self",(char *) "other", NULL
21987 };
21988
21989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
21990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21994 {
21995 PyThreadState* __tstate = wxPyBeginAllowThreads();
21996 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
21997
21998 wxPyEndAllowThreads(__tstate);
21999 if (PyErr_Occurred()) SWIG_fail;
22000 }
22001 {
22002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22003 }
22004 return resultobj;
22005 fail:
22006 return NULL;
22007 }
22008
22009
22010 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
22011 PyObject *resultobj;
22012 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22013 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22014 bool result;
22015 PyObject * obj0 = 0 ;
22016 PyObject * obj1 = 0 ;
22017 char *kwnames[] = {
22018 (char *) "self",(char *) "other", NULL
22019 };
22020
22021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22029
22030 wxPyEndAllowThreads(__tstate);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 {
22034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22035 }
22036 return resultobj;
22037 fail:
22038 return NULL;
22039 }
22040
22041
22042 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22043 PyObject *resultobj;
22044 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22045 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22046 bool result;
22047 PyObject * obj0 = 0 ;
22048 PyObject * obj1 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self",(char *) "other", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22058 {
22059 PyThreadState* __tstate = wxPyBeginAllowThreads();
22060 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22061
22062 wxPyEndAllowThreads(__tstate);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 }
22065 {
22066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22067 }
22068 return resultobj;
22069 fail:
22070 return NULL;
22071 }
22072
22073
22074 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
22075 PyObject *resultobj;
22076 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22077 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22078 bool result;
22079 PyObject * obj0 = 0 ;
22080 PyObject * obj1 = 0 ;
22081 char *kwnames[] = {
22082 (char *) "self",(char *) "other", NULL
22083 };
22084
22085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 {
22098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22099 }
22100 return resultobj;
22101 fail:
22102 return NULL;
22103 }
22104
22105
22106 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22107 PyObject *resultobj;
22108 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22109 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22110 bool result;
22111 PyObject * obj0 = 0 ;
22112 PyObject * obj1 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self",(char *) "other", NULL
22115 };
22116
22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22122 {
22123 PyThreadState* __tstate = wxPyBeginAllowThreads();
22124 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22125
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
22129 {
22130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22131 }
22132 return resultobj;
22133 fail:
22134 return NULL;
22135 }
22136
22137
22138 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22139 PyObject *resultobj;
22140 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22141 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22142 bool result;
22143 PyObject * obj0 = 0 ;
22144 PyObject * obj1 = 0 ;
22145 char *kwnames[] = {
22146 (char *) "self",(char *) "other", NULL
22147 };
22148
22149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22154 {
22155 PyThreadState* __tstate = wxPyBeginAllowThreads();
22156 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22157
22158 wxPyEndAllowThreads(__tstate);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 }
22161 {
22162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22163 }
22164 return resultobj;
22165 fail:
22166 return NULL;
22167 }
22168
22169
22170 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
22171 PyObject *resultobj;
22172 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22173 bool result;
22174 PyObject * obj0 = 0 ;
22175 char *kwnames[] = {
22176 (char *) "self", NULL
22177 };
22178
22179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22182 {
22183 PyThreadState* __tstate = wxPyBeginAllowThreads();
22184 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22185
22186 wxPyEndAllowThreads(__tstate);
22187 if (PyErr_Occurred()) SWIG_fail;
22188 }
22189 {
22190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22191 }
22192 return resultobj;
22193 fail:
22194 return NULL;
22195 }
22196
22197
22198 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
22199 PyObject *resultobj;
22200 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22201 bool result;
22202 PyObject * obj0 = 0 ;
22203 char *kwnames[] = {
22204 (char *) "self", NULL
22205 };
22206
22207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 {
22218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22219 }
22220 return resultobj;
22221 fail:
22222 return NULL;
22223 }
22224
22225
22226 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj;
22228 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22229 bool result;
22230 PyObject * obj0 = 0 ;
22231 char *kwnames[] = {
22232 (char *) "self", NULL
22233 };
22234
22235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22238 {
22239 PyThreadState* __tstate = wxPyBeginAllowThreads();
22240 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22241
22242 wxPyEndAllowThreads(__tstate);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 }
22245 {
22246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22247 }
22248 return resultobj;
22249 fail:
22250 return NULL;
22251 }
22252
22253
22254 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22255 PyObject *resultobj;
22256 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22257 wxTimeSpan *arg2 = 0 ;
22258 bool result;
22259 PyObject * obj0 = 0 ;
22260 PyObject * obj1 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "self",(char *) "ts", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22269 SWIG_POINTER_EXCEPTION | 0)) == -1)
22270 SWIG_fail;
22271 if (arg2 == NULL) {
22272 PyErr_SetString(PyExc_TypeError,"null reference");
22273 SWIG_fail;
22274 }
22275 {
22276 PyThreadState* __tstate = wxPyBeginAllowThreads();
22277 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22278
22279 wxPyEndAllowThreads(__tstate);
22280 if (PyErr_Occurred()) SWIG_fail;
22281 }
22282 {
22283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22284 }
22285 return resultobj;
22286 fail:
22287 return NULL;
22288 }
22289
22290
22291 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22292 PyObject *resultobj;
22293 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22294 wxTimeSpan *arg2 = 0 ;
22295 bool result;
22296 PyObject * obj0 = 0 ;
22297 PyObject * obj1 = 0 ;
22298 char *kwnames[] = {
22299 (char *) "self",(char *) "ts", NULL
22300 };
22301
22302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22305 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22306 SWIG_POINTER_EXCEPTION | 0)) == -1)
22307 SWIG_fail;
22308 if (arg2 == NULL) {
22309 PyErr_SetString(PyExc_TypeError,"null reference");
22310 SWIG_fail;
22311 }
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22315
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 {
22320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22321 }
22322 return resultobj;
22323 fail:
22324 return NULL;
22325 }
22326
22327
22328 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22329 PyObject *resultobj;
22330 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22331 wxTimeSpan *arg2 = 0 ;
22332 bool result;
22333 PyObject * obj0 = 0 ;
22334 PyObject * obj1 = 0 ;
22335 char *kwnames[] = {
22336 (char *) "self",(char *) "t", NULL
22337 };
22338
22339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22343 SWIG_POINTER_EXCEPTION | 0)) == -1)
22344 SWIG_fail;
22345 if (arg2 == NULL) {
22346 PyErr_SetString(PyExc_TypeError,"null reference");
22347 SWIG_fail;
22348 }
22349 {
22350 PyThreadState* __tstate = wxPyBeginAllowThreads();
22351 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22352
22353 wxPyEndAllowThreads(__tstate);
22354 if (PyErr_Occurred()) SWIG_fail;
22355 }
22356 {
22357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22358 }
22359 return resultobj;
22360 fail:
22361 return NULL;
22362 }
22363
22364
22365 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22366 PyObject *resultobj;
22367 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22368 int result;
22369 PyObject * obj0 = 0 ;
22370 char *kwnames[] = {
22371 (char *) "self", NULL
22372 };
22373
22374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22377 {
22378 PyThreadState* __tstate = wxPyBeginAllowThreads();
22379 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22380
22381 wxPyEndAllowThreads(__tstate);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 resultobj = SWIG_FromInt((int)result);
22385 return resultobj;
22386 fail:
22387 return NULL;
22388 }
22389
22390
22391 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22392 PyObject *resultobj;
22393 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22394 int result;
22395 PyObject * obj0 = 0 ;
22396 char *kwnames[] = {
22397 (char *) "self", NULL
22398 };
22399
22400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22403 {
22404 PyThreadState* __tstate = wxPyBeginAllowThreads();
22405 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22406
22407 wxPyEndAllowThreads(__tstate);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 }
22410 resultobj = SWIG_FromInt((int)result);
22411 return resultobj;
22412 fail:
22413 return NULL;
22414 }
22415
22416
22417 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22418 PyObject *resultobj;
22419 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22420 int result;
22421 PyObject * obj0 = 0 ;
22422 char *kwnames[] = {
22423 (char *) "self", NULL
22424 };
22425
22426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22432
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 resultobj = SWIG_FromInt((int)result);
22437 return resultobj;
22438 fail:
22439 return NULL;
22440 }
22441
22442
22443 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22444 PyObject *resultobj;
22445 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22446 int result;
22447 PyObject * obj0 = 0 ;
22448 char *kwnames[] = {
22449 (char *) "self", NULL
22450 };
22451
22452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 resultobj = SWIG_FromInt((int)result);
22463 return resultobj;
22464 fail:
22465 return NULL;
22466 }
22467
22468
22469 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22470 PyObject *resultobj;
22471 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22472 wxLongLong result;
22473 PyObject * obj0 = 0 ;
22474 char *kwnames[] = {
22475 (char *) "self", NULL
22476 };
22477
22478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22484
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 {
22489 PyObject *hi, *lo, *shifter, *shifted;
22490 hi = PyLong_FromLong( (&result)->GetHi() );
22491 lo = PyLong_FromLong( (&result)->GetLo() );
22492 shifter = PyLong_FromLong(32);
22493 shifted = PyNumber_Lshift(hi, shifter);
22494 resultobj = PyNumber_Or(shifted, lo);
22495 Py_DECREF(hi);
22496 Py_DECREF(lo);
22497 Py_DECREF(shifter);
22498 Py_DECREF(shifted);
22499 }
22500 return resultobj;
22501 fail:
22502 return NULL;
22503 }
22504
22505
22506 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22507 PyObject *resultobj;
22508 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22509 wxLongLong result;
22510 PyObject * obj0 = 0 ;
22511 char *kwnames[] = {
22512 (char *) "self", NULL
22513 };
22514
22515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 {
22526 PyObject *hi, *lo, *shifter, *shifted;
22527 hi = PyLong_FromLong( (&result)->GetHi() );
22528 lo = PyLong_FromLong( (&result)->GetLo() );
22529 shifter = PyLong_FromLong(32);
22530 shifted = PyNumber_Lshift(hi, shifter);
22531 resultobj = PyNumber_Or(shifted, lo);
22532 Py_DECREF(hi);
22533 Py_DECREF(lo);
22534 Py_DECREF(shifter);
22535 Py_DECREF(shifted);
22536 }
22537 return resultobj;
22538 fail:
22539 return NULL;
22540 }
22541
22542
22543 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22544 PyObject *resultobj;
22545 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22546 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22547 wxString *arg2 = (wxString *) &arg2_defvalue ;
22548 wxString result;
22549 bool temp2 = False ;
22550 PyObject * obj0 = 0 ;
22551 PyObject * obj1 = 0 ;
22552 char *kwnames[] = {
22553 (char *) "self",(char *) "format", NULL
22554 };
22555
22556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22559 if (obj1) {
22560 {
22561 arg2 = wxString_in_helper(obj1);
22562 if (arg2 == NULL) SWIG_fail;
22563 temp2 = True;
22564 }
22565 }
22566 {
22567 PyThreadState* __tstate = wxPyBeginAllowThreads();
22568 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22569
22570 wxPyEndAllowThreads(__tstate);
22571 if (PyErr_Occurred()) SWIG_fail;
22572 }
22573 {
22574 #if wxUSE_UNICODE
22575 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22576 #else
22577 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22578 #endif
22579 }
22580 {
22581 if (temp2)
22582 delete arg2;
22583 }
22584 return resultobj;
22585 fail:
22586 {
22587 if (temp2)
22588 delete arg2;
22589 }
22590 return NULL;
22591 }
22592
22593
22594 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22595 PyObject *obj;
22596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22597 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22598 Py_INCREF(obj);
22599 return Py_BuildValue((char *)"");
22600 }
22601 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22602 PyObject *resultobj;
22603 int arg1 = (int) 0 ;
22604 int arg2 = (int) 0 ;
22605 int arg3 = (int) 0 ;
22606 int arg4 = (int) 0 ;
22607 wxDateSpan *result;
22608 PyObject * obj0 = 0 ;
22609 PyObject * obj1 = 0 ;
22610 PyObject * obj2 = 0 ;
22611 PyObject * obj3 = 0 ;
22612 char *kwnames[] = {
22613 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22614 };
22615
22616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22617 if (obj0) {
22618 arg1 = (int) SWIG_AsInt(obj0);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 }
22621 if (obj1) {
22622 arg2 = (int) SWIG_AsInt(obj1);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 if (obj2) {
22626 arg3 = (int) SWIG_AsInt(obj2);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 }
22629 if (obj3) {
22630 arg4 = (int) SWIG_AsInt(obj3);
22631 if (PyErr_Occurred()) SWIG_fail;
22632 }
22633 {
22634 PyThreadState* __tstate = wxPyBeginAllowThreads();
22635 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22636
22637 wxPyEndAllowThreads(__tstate);
22638 if (PyErr_Occurred()) SWIG_fail;
22639 }
22640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
22641 return resultobj;
22642 fail:
22643 return NULL;
22644 }
22645
22646
22647 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22648 PyObject *resultobj;
22649 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22650 PyObject * obj0 = 0 ;
22651 char *kwnames[] = {
22652 (char *) "self", NULL
22653 };
22654
22655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22658 {
22659 PyThreadState* __tstate = wxPyBeginAllowThreads();
22660 delete arg1;
22661
22662 wxPyEndAllowThreads(__tstate);
22663 if (PyErr_Occurred()) SWIG_fail;
22664 }
22665 Py_INCREF(Py_None); resultobj = Py_None;
22666 return resultobj;
22667 fail:
22668 return NULL;
22669 }
22670
22671
22672 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22673 PyObject *resultobj;
22674 int arg1 ;
22675 wxDateSpan result;
22676 PyObject * obj0 = 0 ;
22677 char *kwnames[] = {
22678 (char *) "days", NULL
22679 };
22680
22681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22682 arg1 = (int) SWIG_AsInt(obj0);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 {
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 result = wxDateSpan::Days(arg1);
22687
22688 wxPyEndAllowThreads(__tstate);
22689 if (PyErr_Occurred()) SWIG_fail;
22690 }
22691 {
22692 wxDateSpan * resultptr;
22693 resultptr = new wxDateSpan((wxDateSpan &) result);
22694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22695 }
22696 return resultobj;
22697 fail:
22698 return NULL;
22699 }
22700
22701
22702 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22703 PyObject *resultobj;
22704 wxDateSpan result;
22705 char *kwnames[] = {
22706 NULL
22707 };
22708
22709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22710 {
22711 PyThreadState* __tstate = wxPyBeginAllowThreads();
22712 result = wxDateSpan::Day();
22713
22714 wxPyEndAllowThreads(__tstate);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 }
22717 {
22718 wxDateSpan * resultptr;
22719 resultptr = new wxDateSpan((wxDateSpan &) result);
22720 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22721 }
22722 return resultobj;
22723 fail:
22724 return NULL;
22725 }
22726
22727
22728 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22729 PyObject *resultobj;
22730 int arg1 ;
22731 wxDateSpan result;
22732 PyObject * obj0 = 0 ;
22733 char *kwnames[] = {
22734 (char *) "weeks", NULL
22735 };
22736
22737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22738 arg1 = (int) SWIG_AsInt(obj0);
22739 if (PyErr_Occurred()) SWIG_fail;
22740 {
22741 PyThreadState* __tstate = wxPyBeginAllowThreads();
22742 result = wxDateSpan::Weeks(arg1);
22743
22744 wxPyEndAllowThreads(__tstate);
22745 if (PyErr_Occurred()) SWIG_fail;
22746 }
22747 {
22748 wxDateSpan * resultptr;
22749 resultptr = new wxDateSpan((wxDateSpan &) result);
22750 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22751 }
22752 return resultobj;
22753 fail:
22754 return NULL;
22755 }
22756
22757
22758 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22759 PyObject *resultobj;
22760 wxDateSpan result;
22761 char *kwnames[] = {
22762 NULL
22763 };
22764
22765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22766 {
22767 PyThreadState* __tstate = wxPyBeginAllowThreads();
22768 result = wxDateSpan::Week();
22769
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
22773 {
22774 wxDateSpan * resultptr;
22775 resultptr = new wxDateSpan((wxDateSpan &) result);
22776 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22777 }
22778 return resultobj;
22779 fail:
22780 return NULL;
22781 }
22782
22783
22784 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22785 PyObject *resultobj;
22786 int arg1 ;
22787 wxDateSpan result;
22788 PyObject * obj0 = 0 ;
22789 char *kwnames[] = {
22790 (char *) "mon", NULL
22791 };
22792
22793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22794 arg1 = (int) SWIG_AsInt(obj0);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 {
22797 PyThreadState* __tstate = wxPyBeginAllowThreads();
22798 result = wxDateSpan::Months(arg1);
22799
22800 wxPyEndAllowThreads(__tstate);
22801 if (PyErr_Occurred()) SWIG_fail;
22802 }
22803 {
22804 wxDateSpan * resultptr;
22805 resultptr = new wxDateSpan((wxDateSpan &) result);
22806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22807 }
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxDateSpan result;
22817 char *kwnames[] = {
22818 NULL
22819 };
22820
22821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22822 {
22823 PyThreadState* __tstate = wxPyBeginAllowThreads();
22824 result = wxDateSpan::Month();
22825
22826 wxPyEndAllowThreads(__tstate);
22827 if (PyErr_Occurred()) SWIG_fail;
22828 }
22829 {
22830 wxDateSpan * resultptr;
22831 resultptr = new wxDateSpan((wxDateSpan &) result);
22832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22833 }
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
22841 PyObject *resultobj;
22842 int arg1 ;
22843 wxDateSpan result;
22844 PyObject * obj0 = 0 ;
22845 char *kwnames[] = {
22846 (char *) "years", NULL
22847 };
22848
22849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
22850 arg1 = (int) SWIG_AsInt(obj0);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 result = wxDateSpan::Years(arg1);
22855
22856 wxPyEndAllowThreads(__tstate);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 {
22860 wxDateSpan * resultptr;
22861 resultptr = new wxDateSpan((wxDateSpan &) result);
22862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22863 }
22864 return resultobj;
22865 fail:
22866 return NULL;
22867 }
22868
22869
22870 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
22871 PyObject *resultobj;
22872 wxDateSpan result;
22873 char *kwnames[] = {
22874 NULL
22875 };
22876
22877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22878 {
22879 PyThreadState* __tstate = wxPyBeginAllowThreads();
22880 result = wxDateSpan::Year();
22881
22882 wxPyEndAllowThreads(__tstate);
22883 if (PyErr_Occurred()) SWIG_fail;
22884 }
22885 {
22886 wxDateSpan * resultptr;
22887 resultptr = new wxDateSpan((wxDateSpan &) result);
22888 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22889 }
22890 return resultobj;
22891 fail:
22892 return NULL;
22893 }
22894
22895
22896 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22897 PyObject *resultobj;
22898 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22899 int arg2 ;
22900 wxDateSpan *result;
22901 PyObject * obj0 = 0 ;
22902 PyObject * obj1 = 0 ;
22903 char *kwnames[] = {
22904 (char *) "self",(char *) "n", NULL
22905 };
22906
22907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
22908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22910 arg2 = (int) SWIG_AsInt(obj1);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 {
22913 PyThreadState* __tstate = wxPyBeginAllowThreads();
22914 {
22915 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22916 result = (wxDateSpan *) &_result_ref;
22917 }
22918
22919 wxPyEndAllowThreads(__tstate);
22920 if (PyErr_Occurred()) SWIG_fail;
22921 }
22922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
22923 return resultobj;
22924 fail:
22925 return NULL;
22926 }
22927
22928
22929 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22930 PyObject *resultobj;
22931 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22932 int arg2 ;
22933 wxDateSpan *result;
22934 PyObject * obj0 = 0 ;
22935 PyObject * obj1 = 0 ;
22936 char *kwnames[] = {
22937 (char *) "self",(char *) "n", NULL
22938 };
22939
22940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
22941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22943 arg2 = (int) SWIG_AsInt(obj1);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 {
22946 PyThreadState* __tstate = wxPyBeginAllowThreads();
22947 {
22948 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22949 result = (wxDateSpan *) &_result_ref;
22950 }
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
22955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
22956 return resultobj;
22957 fail:
22958 return NULL;
22959 }
22960
22961
22962 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22965 int arg2 ;
22966 wxDateSpan *result;
22967 PyObject * obj0 = 0 ;
22968 PyObject * obj1 = 0 ;
22969 char *kwnames[] = {
22970 (char *) "self",(char *) "n", NULL
22971 };
22972
22973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
22974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22976 arg2 = (int) SWIG_AsInt(obj1);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 {
22981 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22982 result = (wxDateSpan *) &_result_ref;
22983 }
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
22989 return resultobj;
22990 fail:
22991 return NULL;
22992 }
22993
22994
22995 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22996 PyObject *resultobj;
22997 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22998 int arg2 ;
22999 wxDateSpan *result;
23000 PyObject * obj0 = 0 ;
23001 PyObject * obj1 = 0 ;
23002 char *kwnames[] = {
23003 (char *) "self",(char *) "n", NULL
23004 };
23005
23006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23009 arg2 = (int) SWIG_AsInt(obj1);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 {
23012 PyThreadState* __tstate = wxPyBeginAllowThreads();
23013 {
23014 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23015 result = (wxDateSpan *) &_result_ref;
23016 }
23017
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23022 return resultobj;
23023 fail:
23024 return NULL;
23025 }
23026
23027
23028 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23029 PyObject *resultobj;
23030 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23031 int result;
23032 PyObject * obj0 = 0 ;
23033 char *kwnames[] = {
23034 (char *) "self", NULL
23035 };
23036
23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23040 {
23041 PyThreadState* __tstate = wxPyBeginAllowThreads();
23042 result = (int)((wxDateSpan const *)arg1)->GetYears();
23043
23044 wxPyEndAllowThreads(__tstate);
23045 if (PyErr_Occurred()) SWIG_fail;
23046 }
23047 resultobj = SWIG_FromInt((int)result);
23048 return resultobj;
23049 fail:
23050 return NULL;
23051 }
23052
23053
23054 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23055 PyObject *resultobj;
23056 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23057 int result;
23058 PyObject * obj0 = 0 ;
23059 char *kwnames[] = {
23060 (char *) "self", NULL
23061 };
23062
23063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 resultobj = SWIG_FromInt((int)result);
23074 return resultobj;
23075 fail:
23076 return NULL;
23077 }
23078
23079
23080 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23081 PyObject *resultobj;
23082 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23083 int result;
23084 PyObject * obj0 = 0 ;
23085 char *kwnames[] = {
23086 (char *) "self", NULL
23087 };
23088
23089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23092 {
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23095
23096 wxPyEndAllowThreads(__tstate);
23097 if (PyErr_Occurred()) SWIG_fail;
23098 }
23099 resultobj = SWIG_FromInt((int)result);
23100 return resultobj;
23101 fail:
23102 return NULL;
23103 }
23104
23105
23106 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23107 PyObject *resultobj;
23108 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23109 int result;
23110 PyObject * obj0 = 0 ;
23111 char *kwnames[] = {
23112 (char *) "self", NULL
23113 };
23114
23115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 result = (int)((wxDateSpan const *)arg1)->GetDays();
23121
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 resultobj = SWIG_FromInt((int)result);
23126 return resultobj;
23127 fail:
23128 return NULL;
23129 }
23130
23131
23132 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23133 PyObject *resultobj;
23134 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23135 int result;
23136 PyObject * obj0 = 0 ;
23137 char *kwnames[] = {
23138 (char *) "self", NULL
23139 };
23140
23141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23144 {
23145 PyThreadState* __tstate = wxPyBeginAllowThreads();
23146 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23147
23148 wxPyEndAllowThreads(__tstate);
23149 if (PyErr_Occurred()) SWIG_fail;
23150 }
23151 resultobj = SWIG_FromInt((int)result);
23152 return resultobj;
23153 fail:
23154 return NULL;
23155 }
23156
23157
23158 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
23159 PyObject *resultobj;
23160 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23161 wxDateSpan *arg2 = 0 ;
23162 wxDateSpan *result;
23163 PyObject * obj0 = 0 ;
23164 PyObject * obj1 = 0 ;
23165 char *kwnames[] = {
23166 (char *) "self",(char *) "other", NULL
23167 };
23168
23169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23173 SWIG_POINTER_EXCEPTION | 0)) == -1)
23174 SWIG_fail;
23175 if (arg2 == NULL) {
23176 PyErr_SetString(PyExc_TypeError,"null reference");
23177 SWIG_fail;
23178 }
23179 {
23180 PyThreadState* __tstate = wxPyBeginAllowThreads();
23181 {
23182 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23183 result = (wxDateSpan *) &_result_ref;
23184 }
23185
23186 wxPyEndAllowThreads(__tstate);
23187 if (PyErr_Occurred()) SWIG_fail;
23188 }
23189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23190 return resultobj;
23191 fail:
23192 return NULL;
23193 }
23194
23195
23196 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
23197 PyObject *resultobj;
23198 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23199 wxDateSpan *arg2 = 0 ;
23200 wxDateSpan *result;
23201 PyObject * obj0 = 0 ;
23202 PyObject * obj1 = 0 ;
23203 char *kwnames[] = {
23204 (char *) "self",(char *) "other", NULL
23205 };
23206
23207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23211 SWIG_POINTER_EXCEPTION | 0)) == -1)
23212 SWIG_fail;
23213 if (arg2 == NULL) {
23214 PyErr_SetString(PyExc_TypeError,"null reference");
23215 SWIG_fail;
23216 }
23217 {
23218 PyThreadState* __tstate = wxPyBeginAllowThreads();
23219 {
23220 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23221 result = (wxDateSpan *) &_result_ref;
23222 }
23223
23224 wxPyEndAllowThreads(__tstate);
23225 if (PyErr_Occurred()) SWIG_fail;
23226 }
23227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23228 return resultobj;
23229 fail:
23230 return NULL;
23231 }
23232
23233
23234 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
23235 PyObject *resultobj;
23236 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23237 wxDateSpan *result;
23238 PyObject * obj0 = 0 ;
23239 char *kwnames[] = {
23240 (char *) "self", NULL
23241 };
23242
23243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23246 {
23247 PyThreadState* __tstate = wxPyBeginAllowThreads();
23248 {
23249 wxDateSpan &_result_ref = (arg1)->Neg();
23250 result = (wxDateSpan *) &_result_ref;
23251 }
23252
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23257 return resultobj;
23258 fail:
23259 return NULL;
23260 }
23261
23262
23263 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
23264 PyObject *resultobj;
23265 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23266 int arg2 ;
23267 wxDateSpan *result;
23268 PyObject * obj0 = 0 ;
23269 PyObject * obj1 = 0 ;
23270 char *kwnames[] = {
23271 (char *) "self",(char *) "factor", NULL
23272 };
23273
23274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23277 arg2 = (int) SWIG_AsInt(obj1);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 {
23280 PyThreadState* __tstate = wxPyBeginAllowThreads();
23281 {
23282 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23283 result = (wxDateSpan *) &_result_ref;
23284 }
23285
23286 wxPyEndAllowThreads(__tstate);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23290 return resultobj;
23291 fail:
23292 return NULL;
23293 }
23294
23295
23296 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
23297 PyObject *resultobj;
23298 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23299 wxDateSpan *arg2 = 0 ;
23300 wxDateSpan *result;
23301 PyObject * obj0 = 0 ;
23302 PyObject * obj1 = 0 ;
23303 char *kwnames[] = {
23304 (char *) "self",(char *) "other", NULL
23305 };
23306
23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23311 SWIG_POINTER_EXCEPTION | 0)) == -1)
23312 SWIG_fail;
23313 if (arg2 == NULL) {
23314 PyErr_SetString(PyExc_TypeError,"null reference");
23315 SWIG_fail;
23316 }
23317 {
23318 PyThreadState* __tstate = wxPyBeginAllowThreads();
23319 {
23320 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23321 result = (wxDateSpan *) &_result_ref;
23322 }
23323
23324 wxPyEndAllowThreads(__tstate);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 }
23327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23328 return resultobj;
23329 fail:
23330 return NULL;
23331 }
23332
23333
23334 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23335 PyObject *resultobj;
23336 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23337 wxDateSpan *arg2 = 0 ;
23338 wxDateSpan *result;
23339 PyObject * obj0 = 0 ;
23340 PyObject * obj1 = 0 ;
23341 char *kwnames[] = {
23342 (char *) "self",(char *) "other", NULL
23343 };
23344
23345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23348 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23349 SWIG_POINTER_EXCEPTION | 0)) == -1)
23350 SWIG_fail;
23351 if (arg2 == NULL) {
23352 PyErr_SetString(PyExc_TypeError,"null reference");
23353 SWIG_fail;
23354 }
23355 {
23356 PyThreadState* __tstate = wxPyBeginAllowThreads();
23357 {
23358 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23359 result = (wxDateSpan *) &_result_ref;
23360 }
23361
23362 wxPyEndAllowThreads(__tstate);
23363 if (PyErr_Occurred()) SWIG_fail;
23364 }
23365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23366 return resultobj;
23367 fail:
23368 return NULL;
23369 }
23370
23371
23372 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
23373 PyObject *resultobj;
23374 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23375 wxDateSpan *result;
23376 PyObject * obj0 = 0 ;
23377 char *kwnames[] = {
23378 (char *) "self", NULL
23379 };
23380
23381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23384 {
23385 PyThreadState* __tstate = wxPyBeginAllowThreads();
23386 {
23387 wxDateSpan &_result_ref = (arg1)->operator -();
23388 result = (wxDateSpan *) &_result_ref;
23389 }
23390
23391 wxPyEndAllowThreads(__tstate);
23392 if (PyErr_Occurred()) SWIG_fail;
23393 }
23394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23395 return resultobj;
23396 fail:
23397 return NULL;
23398 }
23399
23400
23401 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23402 PyObject *resultobj;
23403 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23404 int arg2 ;
23405 wxDateSpan *result;
23406 PyObject * obj0 = 0 ;
23407 PyObject * obj1 = 0 ;
23408 char *kwnames[] = {
23409 (char *) "self",(char *) "factor", NULL
23410 };
23411
23412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23415 arg2 = (int) SWIG_AsInt(obj1);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 {
23420 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23421 result = (wxDateSpan *) &_result_ref;
23422 }
23423
23424 wxPyEndAllowThreads(__tstate);
23425 if (PyErr_Occurred()) SWIG_fail;
23426 }
23427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23428 return resultobj;
23429 fail:
23430 return NULL;
23431 }
23432
23433
23434 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23435 PyObject *resultobj;
23436 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23437 wxDateSpan *arg2 = 0 ;
23438 wxDateSpan result;
23439 PyObject * obj0 = 0 ;
23440 PyObject * obj1 = 0 ;
23441 char *kwnames[] = {
23442 (char *) "self",(char *) "other", NULL
23443 };
23444
23445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23449 SWIG_POINTER_EXCEPTION | 0)) == -1)
23450 SWIG_fail;
23451 if (arg2 == NULL) {
23452 PyErr_SetString(PyExc_TypeError,"null reference");
23453 SWIG_fail;
23454 }
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23458
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
23462 {
23463 wxDateSpan * resultptr;
23464 resultptr = new wxDateSpan((wxDateSpan &) result);
23465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23466 }
23467 return resultobj;
23468 fail:
23469 return NULL;
23470 }
23471
23472
23473 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23474 PyObject *resultobj;
23475 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23476 wxDateSpan *arg2 = 0 ;
23477 wxDateSpan result;
23478 PyObject * obj0 = 0 ;
23479 PyObject * obj1 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self",(char *) "other", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23488 SWIG_POINTER_EXCEPTION | 0)) == -1)
23489 SWIG_fail;
23490 if (arg2 == NULL) {
23491 PyErr_SetString(PyExc_TypeError,"null reference");
23492 SWIG_fail;
23493 }
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23497
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 {
23502 wxDateSpan * resultptr;
23503 resultptr = new wxDateSpan((wxDateSpan &) result);
23504 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23505 }
23506 return resultobj;
23507 fail:
23508 return NULL;
23509 }
23510
23511
23512 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23513 PyObject *resultobj;
23514 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23515 int arg2 ;
23516 wxDateSpan result;
23517 PyObject * obj0 = 0 ;
23518 PyObject * obj1 = 0 ;
23519 char *kwnames[] = {
23520 (char *) "self",(char *) "n", NULL
23521 };
23522
23523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23526 arg2 = (int) SWIG_AsInt(obj1);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 result = wxDateSpan___mul__(arg1,arg2);
23531
23532 wxPyEndAllowThreads(__tstate);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 {
23536 wxDateSpan * resultptr;
23537 resultptr = new wxDateSpan((wxDateSpan &) result);
23538 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23539 }
23540 return resultobj;
23541 fail:
23542 return NULL;
23543 }
23544
23545
23546 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23547 PyObject *resultobj;
23548 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23549 int arg2 ;
23550 wxDateSpan result;
23551 PyObject * obj0 = 0 ;
23552 PyObject * obj1 = 0 ;
23553 char *kwnames[] = {
23554 (char *) "self",(char *) "n", NULL
23555 };
23556
23557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23560 arg2 = (int) SWIG_AsInt(obj1);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 {
23563 PyThreadState* __tstate = wxPyBeginAllowThreads();
23564 result = wxDateSpan___rmul__(arg1,arg2);
23565
23566 wxPyEndAllowThreads(__tstate);
23567 if (PyErr_Occurred()) SWIG_fail;
23568 }
23569 {
23570 wxDateSpan * resultptr;
23571 resultptr = new wxDateSpan((wxDateSpan &) result);
23572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23573 }
23574 return resultobj;
23575 fail:
23576 return NULL;
23577 }
23578
23579
23580 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23581 PyObject *resultobj;
23582 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23583 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23584 bool result;
23585 PyObject * obj0 = 0 ;
23586 PyObject * obj1 = 0 ;
23587 char *kwnames[] = {
23588 (char *) "self",(char *) "other", NULL
23589 };
23590
23591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23596 {
23597 PyThreadState* __tstate = wxPyBeginAllowThreads();
23598 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
23599
23600 wxPyEndAllowThreads(__tstate);
23601 if (PyErr_Occurred()) SWIG_fail;
23602 }
23603 {
23604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23605 }
23606 return resultobj;
23607 fail:
23608 return NULL;
23609 }
23610
23611
23612 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23613 PyObject *resultobj;
23614 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23615 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23616 bool result;
23617 PyObject * obj0 = 0 ;
23618 PyObject * obj1 = 0 ;
23619 char *kwnames[] = {
23620 (char *) "self",(char *) "other", NULL
23621 };
23622
23623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23628 {
23629 PyThreadState* __tstate = wxPyBeginAllowThreads();
23630 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
23631
23632 wxPyEndAllowThreads(__tstate);
23633 if (PyErr_Occurred()) SWIG_fail;
23634 }
23635 {
23636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23637 }
23638 return resultobj;
23639 fail:
23640 return NULL;
23641 }
23642
23643
23644 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23645 PyObject *obj;
23646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23647 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23648 Py_INCREF(obj);
23649 return Py_BuildValue((char *)"");
23650 }
23651 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23652 PyObject *resultobj;
23653 long result;
23654 char *kwnames[] = {
23655 NULL
23656 };
23657
23658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23659 {
23660 PyThreadState* __tstate = wxPyBeginAllowThreads();
23661 result = (long)wxGetLocalTime();
23662
23663 wxPyEndAllowThreads(__tstate);
23664 if (PyErr_Occurred()) SWIG_fail;
23665 }
23666 resultobj = SWIG_FromLong((long)result);
23667 return resultobj;
23668 fail:
23669 return NULL;
23670 }
23671
23672
23673 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23674 PyObject *resultobj;
23675 long result;
23676 char *kwnames[] = {
23677 NULL
23678 };
23679
23680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 result = (long)wxGetUTCTime();
23684
23685 wxPyEndAllowThreads(__tstate);
23686 if (PyErr_Occurred()) SWIG_fail;
23687 }
23688 resultobj = SWIG_FromLong((long)result);
23689 return resultobj;
23690 fail:
23691 return NULL;
23692 }
23693
23694
23695 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23696 PyObject *resultobj;
23697 long result;
23698 char *kwnames[] = {
23699 NULL
23700 };
23701
23702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23703 {
23704 PyThreadState* __tstate = wxPyBeginAllowThreads();
23705 result = (long)wxGetCurrentTime();
23706
23707 wxPyEndAllowThreads(__tstate);
23708 if (PyErr_Occurred()) SWIG_fail;
23709 }
23710 resultobj = SWIG_FromLong((long)result);
23711 return resultobj;
23712 fail:
23713 return NULL;
23714 }
23715
23716
23717 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23718 PyObject *resultobj;
23719 wxLongLong result;
23720 char *kwnames[] = {
23721 NULL
23722 };
23723
23724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23725 {
23726 PyThreadState* __tstate = wxPyBeginAllowThreads();
23727 result = wxGetLocalTimeMillis();
23728
23729 wxPyEndAllowThreads(__tstate);
23730 if (PyErr_Occurred()) SWIG_fail;
23731 }
23732 {
23733 PyObject *hi, *lo, *shifter, *shifted;
23734 hi = PyLong_FromLong( (&result)->GetHi() );
23735 lo = PyLong_FromLong( (&result)->GetLo() );
23736 shifter = PyLong_FromLong(32);
23737 shifted = PyNumber_Lshift(hi, shifter);
23738 resultobj = PyNumber_Or(shifted, lo);
23739 Py_DECREF(hi);
23740 Py_DECREF(lo);
23741 Py_DECREF(shifter);
23742 Py_DECREF(shifted);
23743 }
23744 return resultobj;
23745 fail:
23746 return NULL;
23747 }
23748
23749
23750 static int _wrap_DefaultDateTime_set(PyObject *_val) {
23751 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23752 return 1;
23753 }
23754
23755
23756 static PyObject *_wrap_DefaultDateTime_get() {
23757 PyObject *pyobj;
23758
23759 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
23760 return pyobj;
23761 }
23762
23763
23764 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23765 PyObject *resultobj;
23766 int arg1 ;
23767 wxDataFormat *result;
23768 PyObject * obj0 = 0 ;
23769 char *kwnames[] = {
23770 (char *) "type", NULL
23771 };
23772
23773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23774 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23779
23780 wxPyEndAllowThreads(__tstate);
23781 if (PyErr_Occurred()) SWIG_fail;
23782 }
23783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23784 return resultobj;
23785 fail:
23786 return NULL;
23787 }
23788
23789
23790 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23791 PyObject *resultobj;
23792 wxString *arg1 = 0 ;
23793 wxDataFormat *result;
23794 bool temp1 = False ;
23795 PyObject * obj0 = 0 ;
23796 char *kwnames[] = {
23797 (char *) "format", NULL
23798 };
23799
23800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23801 {
23802 arg1 = wxString_in_helper(obj0);
23803 if (arg1 == NULL) SWIG_fail;
23804 temp1 = True;
23805 }
23806 {
23807 PyThreadState* __tstate = wxPyBeginAllowThreads();
23808 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23809
23810 wxPyEndAllowThreads(__tstate);
23811 if (PyErr_Occurred()) SWIG_fail;
23812 }
23813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23814 {
23815 if (temp1)
23816 delete arg1;
23817 }
23818 return resultobj;
23819 fail:
23820 {
23821 if (temp1)
23822 delete arg1;
23823 }
23824 return NULL;
23825 }
23826
23827
23828 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23831 PyObject * obj0 = 0 ;
23832 char *kwnames[] = {
23833 (char *) "self", NULL
23834 };
23835
23836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23839 {
23840 PyThreadState* __tstate = wxPyBeginAllowThreads();
23841 delete arg1;
23842
23843 wxPyEndAllowThreads(__tstate);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
23846 Py_INCREF(Py_None); resultobj = Py_None;
23847 return resultobj;
23848 fail:
23849 return NULL;
23850 }
23851
23852
23853 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
23854 PyObject *resultobj;
23855 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23856 int arg2 ;
23857 bool result;
23858 PyObject * obj0 = 0 ;
23859 PyObject * obj1 = 0 ;
23860
23861 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23864 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23865 if (PyErr_Occurred()) SWIG_fail;
23866 {
23867 PyThreadState* __tstate = wxPyBeginAllowThreads();
23868 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
23869
23870 wxPyEndAllowThreads(__tstate);
23871 if (PyErr_Occurred()) SWIG_fail;
23872 }
23873 {
23874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23875 }
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
23883 PyObject *resultobj;
23884 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23885 int arg2 ;
23886 bool result;
23887 PyObject * obj0 = 0 ;
23888 PyObject * obj1 = 0 ;
23889
23890 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23893 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 {
23896 PyThreadState* __tstate = wxPyBeginAllowThreads();
23897 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
23898
23899 wxPyEndAllowThreads(__tstate);
23900 if (PyErr_Occurred()) SWIG_fail;
23901 }
23902 {
23903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23904 }
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
23912 PyObject *resultobj;
23913 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23914 wxDataFormat *arg2 = 0 ;
23915 bool result;
23916 PyObject * obj0 = 0 ;
23917 PyObject * obj1 = 0 ;
23918
23919 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
23923 SWIG_POINTER_EXCEPTION | 0)) == -1)
23924 SWIG_fail;
23925 if (arg2 == NULL) {
23926 PyErr_SetString(PyExc_TypeError,"null reference");
23927 SWIG_fail;
23928 }
23929 {
23930 PyThreadState* __tstate = wxPyBeginAllowThreads();
23931 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23932
23933 wxPyEndAllowThreads(__tstate);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 }
23936 {
23937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23938 }
23939 return resultobj;
23940 fail:
23941 return NULL;
23942 }
23943
23944
23945 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23946 int argc;
23947 PyObject *argv[3];
23948 int ii;
23949
23950 argc = PyObject_Length(args);
23951 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23952 argv[ii] = PyTuple_GetItem(args,ii);
23953 }
23954 if (argc == 2) {
23955 int _v;
23956 {
23957 void *ptr;
23958 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23959 _v = 0;
23960 PyErr_Clear();
23961 } else {
23962 _v = 1;
23963 }
23964 }
23965 if (_v) {
23966 {
23967 void *ptr;
23968 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23969 _v = 0;
23970 PyErr_Clear();
23971 } else {
23972 _v = 1;
23973 }
23974 }
23975 if (_v) {
23976 return _wrap_DataFormat___eq____SWIG_1(self,args);
23977 }
23978 }
23979 }
23980 if (argc == 2) {
23981 int _v;
23982 {
23983 void *ptr;
23984 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23985 _v = 0;
23986 PyErr_Clear();
23987 } else {
23988 _v = 1;
23989 }
23990 }
23991 if (_v) {
23992 _v = SWIG_CheckInt(argv[1]);
23993 if (_v) {
23994 return _wrap_DataFormat___eq____SWIG_0(self,args);
23995 }
23996 }
23997 }
23998
23999 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24000 return NULL;
24001 }
24002
24003
24004 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
24005 PyObject *resultobj;
24006 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24007 wxDataFormat *arg2 = 0 ;
24008 bool result;
24009 PyObject * obj0 = 0 ;
24010 PyObject * obj1 = 0 ;
24011
24012 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24015 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24016 SWIG_POINTER_EXCEPTION | 0)) == -1)
24017 SWIG_fail;
24018 if (arg2 == NULL) {
24019 PyErr_SetString(PyExc_TypeError,"null reference");
24020 SWIG_fail;
24021 }
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24025
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 {
24030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24031 }
24032 return resultobj;
24033 fail:
24034 return NULL;
24035 }
24036
24037
24038 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24039 int argc;
24040 PyObject *argv[3];
24041 int ii;
24042
24043 argc = PyObject_Length(args);
24044 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24045 argv[ii] = PyTuple_GetItem(args,ii);
24046 }
24047 if (argc == 2) {
24048 int _v;
24049 {
24050 void *ptr;
24051 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24052 _v = 0;
24053 PyErr_Clear();
24054 } else {
24055 _v = 1;
24056 }
24057 }
24058 if (_v) {
24059 {
24060 void *ptr;
24061 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24062 _v = 0;
24063 PyErr_Clear();
24064 } else {
24065 _v = 1;
24066 }
24067 }
24068 if (_v) {
24069 return _wrap_DataFormat___ne____SWIG_1(self,args);
24070 }
24071 }
24072 }
24073 if (argc == 2) {
24074 int _v;
24075 {
24076 void *ptr;
24077 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24078 _v = 0;
24079 PyErr_Clear();
24080 } else {
24081 _v = 1;
24082 }
24083 }
24084 if (_v) {
24085 _v = SWIG_CheckInt(argv[1]);
24086 if (_v) {
24087 return _wrap_DataFormat___ne____SWIG_0(self,args);
24088 }
24089 }
24090 }
24091
24092 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24093 return NULL;
24094 }
24095
24096
24097 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24098 PyObject *resultobj;
24099 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24100 int arg2 ;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj1 = 0 ;
24103 char *kwnames[] = {
24104 (char *) "self",(char *) "format", NULL
24105 };
24106
24107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24110 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24111 if (PyErr_Occurred()) SWIG_fail;
24112 {
24113 PyThreadState* __tstate = wxPyBeginAllowThreads();
24114 (arg1)->SetType((wxDataFormatId )arg2);
24115
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 Py_INCREF(Py_None); resultobj = Py_None;
24120 return resultobj;
24121 fail:
24122 return NULL;
24123 }
24124
24125
24126 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24127 PyObject *resultobj;
24128 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24129 int result;
24130 PyObject * obj0 = 0 ;
24131 char *kwnames[] = {
24132 (char *) "self", NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24138 {
24139 PyThreadState* __tstate = wxPyBeginAllowThreads();
24140 result = (int)((wxDataFormat const *)arg1)->GetType();
24141
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 resultobj = SWIG_FromInt((int)result);
24146 return resultobj;
24147 fail:
24148 return NULL;
24149 }
24150
24151
24152 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24153 PyObject *resultobj;
24154 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24155 wxString result;
24156 PyObject * obj0 = 0 ;
24157 char *kwnames[] = {
24158 (char *) "self", NULL
24159 };
24160
24161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24164 {
24165 PyThreadState* __tstate = wxPyBeginAllowThreads();
24166 result = ((wxDataFormat const *)arg1)->GetId();
24167
24168 wxPyEndAllowThreads(__tstate);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 }
24171 {
24172 #if wxUSE_UNICODE
24173 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24174 #else
24175 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24176 #endif
24177 }
24178 return resultobj;
24179 fail:
24180 return NULL;
24181 }
24182
24183
24184 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24185 PyObject *resultobj;
24186 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24187 wxString *arg2 = 0 ;
24188 bool temp2 = False ;
24189 PyObject * obj0 = 0 ;
24190 PyObject * obj1 = 0 ;
24191 char *kwnames[] = {
24192 (char *) "self",(char *) "format", NULL
24193 };
24194
24195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24198 {
24199 arg2 = wxString_in_helper(obj1);
24200 if (arg2 == NULL) SWIG_fail;
24201 temp2 = True;
24202 }
24203 {
24204 PyThreadState* __tstate = wxPyBeginAllowThreads();
24205 (arg1)->SetId((wxString const &)*arg2);
24206
24207 wxPyEndAllowThreads(__tstate);
24208 if (PyErr_Occurred()) SWIG_fail;
24209 }
24210 Py_INCREF(Py_None); resultobj = Py_None;
24211 {
24212 if (temp2)
24213 delete arg2;
24214 }
24215 return resultobj;
24216 fail:
24217 {
24218 if (temp2)
24219 delete arg2;
24220 }
24221 return NULL;
24222 }
24223
24224
24225 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
24226 PyObject *obj;
24227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24228 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24229 Py_INCREF(obj);
24230 return Py_BuildValue((char *)"");
24231 }
24232 static int _wrap_FormatInvalid_set(PyObject *_val) {
24233 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24234 return 1;
24235 }
24236
24237
24238 static PyObject *_wrap_FormatInvalid_get() {
24239 PyObject *pyobj;
24240
24241 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24242 return pyobj;
24243 }
24244
24245
24246 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj;
24248 wxDataObject *arg1 = (wxDataObject *) 0 ;
24249 PyObject * obj0 = 0 ;
24250 char *kwnames[] = {
24251 (char *) "self", NULL
24252 };
24253
24254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24257 {
24258 PyThreadState* __tstate = wxPyBeginAllowThreads();
24259 delete arg1;
24260
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
24264 Py_INCREF(Py_None); resultobj = Py_None;
24265 return resultobj;
24266 fail:
24267 return NULL;
24268 }
24269
24270
24271 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24272 PyObject *resultobj;
24273 wxDataObject *arg1 = (wxDataObject *) 0 ;
24274 int arg2 = (int) wxDataObject::Get ;
24275 SwigValueWrapper< wxDataFormat > result;
24276 PyObject * obj0 = 0 ;
24277 PyObject * obj1 = 0 ;
24278 char *kwnames[] = {
24279 (char *) "self",(char *) "dir", NULL
24280 };
24281
24282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24285 if (obj1) {
24286 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24287 if (PyErr_Occurred()) SWIG_fail;
24288 }
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 {
24297 wxDataFormat * resultptr;
24298 resultptr = new wxDataFormat((wxDataFormat &) result);
24299 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24300 }
24301 return resultobj;
24302 fail:
24303 return NULL;
24304 }
24305
24306
24307 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24308 PyObject *resultobj;
24309 wxDataObject *arg1 = (wxDataObject *) 0 ;
24310 int arg2 = (int) wxDataObject::Get ;
24311 size_t result;
24312 PyObject * obj0 = 0 ;
24313 PyObject * obj1 = 0 ;
24314 char *kwnames[] = {
24315 (char *) "self",(char *) "dir", NULL
24316 };
24317
24318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24321 if (obj1) {
24322 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24323 if (PyErr_Occurred()) SWIG_fail;
24324 }
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24328
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
24332 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24333 return resultobj;
24334 fail:
24335 return NULL;
24336 }
24337
24338
24339 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24340 PyObject *resultobj;
24341 wxDataObject *arg1 = (wxDataObject *) 0 ;
24342 wxDataFormat *arg2 = 0 ;
24343 int arg3 = (int) wxDataObject::Get ;
24344 bool result;
24345 PyObject * obj0 = 0 ;
24346 PyObject * obj1 = 0 ;
24347 PyObject * obj2 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self",(char *) "format",(char *) "dir", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24356 SWIG_POINTER_EXCEPTION | 0)) == -1)
24357 SWIG_fail;
24358 if (arg2 == NULL) {
24359 PyErr_SetString(PyExc_TypeError,"null reference");
24360 SWIG_fail;
24361 }
24362 if (obj2) {
24363 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24364 if (PyErr_Occurred()) SWIG_fail;
24365 }
24366 {
24367 PyThreadState* __tstate = wxPyBeginAllowThreads();
24368 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24369
24370 wxPyEndAllowThreads(__tstate);
24371 if (PyErr_Occurred()) SWIG_fail;
24372 }
24373 {
24374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24375 }
24376 return resultobj;
24377 fail:
24378 return NULL;
24379 }
24380
24381
24382 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24383 PyObject *resultobj;
24384 wxDataObject *arg1 = (wxDataObject *) 0 ;
24385 wxDataFormat *arg2 = 0 ;
24386 size_t result;
24387 PyObject * obj0 = 0 ;
24388 PyObject * obj1 = 0 ;
24389 char *kwnames[] = {
24390 (char *) "self",(char *) "format", NULL
24391 };
24392
24393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24397 SWIG_POINTER_EXCEPTION | 0)) == -1)
24398 SWIG_fail;
24399 if (arg2 == NULL) {
24400 PyErr_SetString(PyExc_TypeError,"null reference");
24401 SWIG_fail;
24402 }
24403 {
24404 PyThreadState* __tstate = wxPyBeginAllowThreads();
24405 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24406
24407 wxPyEndAllowThreads(__tstate);
24408 if (PyErr_Occurred()) SWIG_fail;
24409 }
24410 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24411 return resultobj;
24412 fail:
24413 return NULL;
24414 }
24415
24416
24417 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24418 PyObject *resultobj;
24419 wxDataObject *arg1 = (wxDataObject *) 0 ;
24420 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
24421 int arg3 = (int) wxDataObject::Get ;
24422 PyObject * obj0 = 0 ;
24423 PyObject * obj1 = 0 ;
24424 PyObject * obj2 = 0 ;
24425 char *kwnames[] = {
24426 (char *) "self",(char *) "formats",(char *) "dir", NULL
24427 };
24428
24429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
24430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24432 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24434 if (obj2) {
24435 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24436 if (PyErr_Occurred()) SWIG_fail;
24437 }
24438 {
24439 PyThreadState* __tstate = wxPyBeginAllowThreads();
24440 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24441
24442 wxPyEndAllowThreads(__tstate);
24443 if (PyErr_Occurred()) SWIG_fail;
24444 }
24445 Py_INCREF(Py_None); resultobj = Py_None;
24446 return resultobj;
24447 fail:
24448 return NULL;
24449 }
24450
24451
24452 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24453 PyObject *resultobj;
24454 wxDataObject *arg1 = (wxDataObject *) 0 ;
24455 wxDataFormat *arg2 = 0 ;
24456 void *arg3 = (void *) 0 ;
24457 bool result;
24458 PyObject * obj0 = 0 ;
24459 PyObject * obj1 = 0 ;
24460 PyObject * obj2 = 0 ;
24461 char *kwnames[] = {
24462 (char *) "self",(char *) "format",(char *) "buf", NULL
24463 };
24464
24465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
24466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24469 SWIG_POINTER_EXCEPTION | 0)) == -1)
24470 SWIG_fail;
24471 if (arg2 == NULL) {
24472 PyErr_SetString(PyExc_TypeError,"null reference");
24473 SWIG_fail;
24474 }
24475 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24476 {
24477 PyThreadState* __tstate = wxPyBeginAllowThreads();
24478 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
24479
24480 wxPyEndAllowThreads(__tstate);
24481 if (PyErr_Occurred()) SWIG_fail;
24482 }
24483 {
24484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24485 }
24486 return resultobj;
24487 fail:
24488 return NULL;
24489 }
24490
24491
24492 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24493 PyObject *resultobj;
24494 wxDataObject *arg1 = (wxDataObject *) 0 ;
24495 wxDataFormat *arg2 = 0 ;
24496 size_t arg3 ;
24497 void *arg4 = (void *) 0 ;
24498 bool result;
24499 PyObject * obj0 = 0 ;
24500 PyObject * obj1 = 0 ;
24501 PyObject * obj2 = 0 ;
24502 PyObject * obj3 = 0 ;
24503 char *kwnames[] = {
24504 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24505 };
24506
24507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24511 SWIG_POINTER_EXCEPTION | 0)) == -1)
24512 SWIG_fail;
24513 if (arg2 == NULL) {
24514 PyErr_SetString(PyExc_TypeError,"null reference");
24515 SWIG_fail;
24516 }
24517 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
24518 if (PyErr_Occurred()) SWIG_fail;
24519 if ((SWIG_ConvertPtr(obj3,&arg4,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
24522 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24523
24524 wxPyEndAllowThreads(__tstate);
24525 if (PyErr_Occurred()) SWIG_fail;
24526 }
24527 {
24528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24529 }
24530 return resultobj;
24531 fail:
24532 return NULL;
24533 }
24534
24535
24536 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24537 PyObject *obj;
24538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24539 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24540 Py_INCREF(obj);
24541 return Py_BuildValue((char *)"");
24542 }
24543 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24544 PyObject *resultobj;
24545 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24546 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24547 wxDataObjectSimple *result;
24548 PyObject * obj0 = 0 ;
24549 char *kwnames[] = {
24550 (char *) "format", NULL
24551 };
24552
24553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24554 if (obj0) {
24555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24556 SWIG_POINTER_EXCEPTION | 0)) == -1)
24557 SWIG_fail;
24558 if (arg1 == NULL) {
24559 PyErr_SetString(PyExc_TypeError,"null reference");
24560 SWIG_fail;
24561 }
24562 }
24563 {
24564 PyThreadState* __tstate = wxPyBeginAllowThreads();
24565 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24566
24567 wxPyEndAllowThreads(__tstate);
24568 if (PyErr_Occurred()) SWIG_fail;
24569 }
24570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
24571 return resultobj;
24572 fail:
24573 return NULL;
24574 }
24575
24576
24577 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24578 PyObject *resultobj;
24579 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24580 wxDataFormat *result;
24581 PyObject * obj0 = 0 ;
24582 char *kwnames[] = {
24583 (char *) "self", NULL
24584 };
24585
24586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24589 {
24590 PyThreadState* __tstate = wxPyBeginAllowThreads();
24591 {
24592 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24593 result = (wxDataFormat *) &_result_ref;
24594 }
24595
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
24600 return resultobj;
24601 fail:
24602 return NULL;
24603 }
24604
24605
24606 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24607 PyObject *resultobj;
24608 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24609 wxDataFormat *arg2 = 0 ;
24610 PyObject * obj0 = 0 ;
24611 PyObject * obj1 = 0 ;
24612 char *kwnames[] = {
24613 (char *) "self",(char *) "format", NULL
24614 };
24615
24616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24620 SWIG_POINTER_EXCEPTION | 0)) == -1)
24621 SWIG_fail;
24622 if (arg2 == NULL) {
24623 PyErr_SetString(PyExc_TypeError,"null reference");
24624 SWIG_fail;
24625 }
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 Py_INCREF(Py_None); resultobj = Py_None;
24634 return resultobj;
24635 fail:
24636 return NULL;
24637 }
24638
24639
24640 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24641 PyObject *obj;
24642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24643 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24644 Py_INCREF(obj);
24645 return Py_BuildValue((char *)"");
24646 }
24647 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj;
24649 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24650 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24651 wxPyDataObjectSimple *result;
24652 PyObject * obj0 = 0 ;
24653 char *kwnames[] = {
24654 (char *) "format", NULL
24655 };
24656
24657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24658 if (obj0) {
24659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24660 SWIG_POINTER_EXCEPTION | 0)) == -1)
24661 SWIG_fail;
24662 if (arg1 == NULL) {
24663 PyErr_SetString(PyExc_TypeError,"null reference");
24664 SWIG_fail;
24665 }
24666 }
24667 {
24668 PyThreadState* __tstate = wxPyBeginAllowThreads();
24669 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24670
24671 wxPyEndAllowThreads(__tstate);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 }
24674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
24675 return resultobj;
24676 fail:
24677 return NULL;
24678 }
24679
24680
24681 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24682 PyObject *resultobj;
24683 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24684 PyObject *arg2 = (PyObject *) 0 ;
24685 PyObject *arg3 = (PyObject *) 0 ;
24686 PyObject * obj0 = 0 ;
24687 PyObject * obj1 = 0 ;
24688 PyObject * obj2 = 0 ;
24689 char *kwnames[] = {
24690 (char *) "self",(char *) "self",(char *) "_class", NULL
24691 };
24692
24693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24696 arg2 = obj1;
24697 arg3 = obj2;
24698 {
24699 PyThreadState* __tstate = wxPyBeginAllowThreads();
24700 (arg1)->_setCallbackInfo(arg2,arg3);
24701
24702 wxPyEndAllowThreads(__tstate);
24703 if (PyErr_Occurred()) SWIG_fail;
24704 }
24705 Py_INCREF(Py_None); resultobj = Py_None;
24706 return resultobj;
24707 fail:
24708 return NULL;
24709 }
24710
24711
24712 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24713 PyObject *obj;
24714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24715 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24716 Py_INCREF(obj);
24717 return Py_BuildValue((char *)"");
24718 }
24719 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24720 PyObject *resultobj;
24721 wxDataObjectComposite *result;
24722 char *kwnames[] = {
24723 NULL
24724 };
24725
24726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24727 {
24728 PyThreadState* __tstate = wxPyBeginAllowThreads();
24729 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24730
24731 wxPyEndAllowThreads(__tstate);
24732 if (PyErr_Occurred()) SWIG_fail;
24733 }
24734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
24735 return resultobj;
24736 fail:
24737 return NULL;
24738 }
24739
24740
24741 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24742 PyObject *resultobj;
24743 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24744 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
24745 int arg3 = (int) False ;
24746 PyObject * obj0 = 0 ;
24747 PyObject * obj1 = 0 ;
24748 PyObject * obj2 = 0 ;
24749 char *kwnames[] = {
24750 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24751 };
24752
24753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
24754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24757 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24758 if (obj2) {
24759 arg3 = (int) SWIG_AsInt(obj2);
24760 if (PyErr_Occurred()) SWIG_fail;
24761 }
24762 {
24763 PyThreadState* __tstate = wxPyBeginAllowThreads();
24764 (arg1)->Add(arg2,arg3);
24765
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 Py_INCREF(Py_None); resultobj = Py_None;
24770 return resultobj;
24771 fail:
24772 return NULL;
24773 }
24774
24775
24776 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
24777 PyObject *obj;
24778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24779 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24780 Py_INCREF(obj);
24781 return Py_BuildValue((char *)"");
24782 }
24783 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24784 PyObject *resultobj;
24785 wxString const &arg1_defvalue = wxPyEmptyString ;
24786 wxString *arg1 = (wxString *) &arg1_defvalue ;
24787 wxTextDataObject *result;
24788 bool temp1 = False ;
24789 PyObject * obj0 = 0 ;
24790 char *kwnames[] = {
24791 (char *) "text", NULL
24792 };
24793
24794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24795 if (obj0) {
24796 {
24797 arg1 = wxString_in_helper(obj0);
24798 if (arg1 == NULL) SWIG_fail;
24799 temp1 = True;
24800 }
24801 }
24802 {
24803 PyThreadState* __tstate = wxPyBeginAllowThreads();
24804 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24805
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
24810 {
24811 if (temp1)
24812 delete arg1;
24813 }
24814 return resultobj;
24815 fail:
24816 {
24817 if (temp1)
24818 delete arg1;
24819 }
24820 return NULL;
24821 }
24822
24823
24824 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
24825 PyObject *resultobj;
24826 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24827 size_t result;
24828 PyObject * obj0 = 0 ;
24829 char *kwnames[] = {
24830 (char *) "self", NULL
24831 };
24832
24833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
24834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24836 {
24837 PyThreadState* __tstate = wxPyBeginAllowThreads();
24838 result = (size_t)(arg1)->GetTextLength();
24839
24840 wxPyEndAllowThreads(__tstate);
24841 if (PyErr_Occurred()) SWIG_fail;
24842 }
24843 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24844 return resultobj;
24845 fail:
24846 return NULL;
24847 }
24848
24849
24850 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24851 PyObject *resultobj;
24852 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24853 wxString result;
24854 PyObject * obj0 = 0 ;
24855 char *kwnames[] = {
24856 (char *) "self", NULL
24857 };
24858
24859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
24860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24862 {
24863 PyThreadState* __tstate = wxPyBeginAllowThreads();
24864 result = (arg1)->GetText();
24865
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 {
24870 #if wxUSE_UNICODE
24871 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24872 #else
24873 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24874 #endif
24875 }
24876 return resultobj;
24877 fail:
24878 return NULL;
24879 }
24880
24881
24882 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24883 PyObject *resultobj;
24884 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24885 wxString *arg2 = 0 ;
24886 bool temp2 = False ;
24887 PyObject * obj0 = 0 ;
24888 PyObject * obj1 = 0 ;
24889 char *kwnames[] = {
24890 (char *) "self",(char *) "text", NULL
24891 };
24892
24893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
24894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24896 {
24897 arg2 = wxString_in_helper(obj1);
24898 if (arg2 == NULL) SWIG_fail;
24899 temp2 = True;
24900 }
24901 {
24902 PyThreadState* __tstate = wxPyBeginAllowThreads();
24903 (arg1)->SetText((wxString const &)*arg2);
24904
24905 wxPyEndAllowThreads(__tstate);
24906 if (PyErr_Occurred()) SWIG_fail;
24907 }
24908 Py_INCREF(Py_None); resultobj = Py_None;
24909 {
24910 if (temp2)
24911 delete arg2;
24912 }
24913 return resultobj;
24914 fail:
24915 {
24916 if (temp2)
24917 delete arg2;
24918 }
24919 return NULL;
24920 }
24921
24922
24923 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
24924 PyObject *obj;
24925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24926 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24927 Py_INCREF(obj);
24928 return Py_BuildValue((char *)"");
24929 }
24930 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24931 PyObject *resultobj;
24932 wxString const &arg1_defvalue = wxPyEmptyString ;
24933 wxString *arg1 = (wxString *) &arg1_defvalue ;
24934 wxPyTextDataObject *result;
24935 bool temp1 = False ;
24936 PyObject * obj0 = 0 ;
24937 char *kwnames[] = {
24938 (char *) "text", NULL
24939 };
24940
24941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24942 if (obj0) {
24943 {
24944 arg1 = wxString_in_helper(obj0);
24945 if (arg1 == NULL) SWIG_fail;
24946 temp1 = True;
24947 }
24948 }
24949 {
24950 PyThreadState* __tstate = wxPyBeginAllowThreads();
24951 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24952
24953 wxPyEndAllowThreads(__tstate);
24954 if (PyErr_Occurred()) SWIG_fail;
24955 }
24956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
24957 {
24958 if (temp1)
24959 delete arg1;
24960 }
24961 return resultobj;
24962 fail:
24963 {
24964 if (temp1)
24965 delete arg1;
24966 }
24967 return NULL;
24968 }
24969
24970
24971 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24972 PyObject *resultobj;
24973 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24974 PyObject *arg2 = (PyObject *) 0 ;
24975 PyObject *arg3 = (PyObject *) 0 ;
24976 PyObject * obj0 = 0 ;
24977 PyObject * obj1 = 0 ;
24978 PyObject * obj2 = 0 ;
24979 char *kwnames[] = {
24980 (char *) "self",(char *) "self",(char *) "_class", NULL
24981 };
24982
24983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
24985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24986 arg2 = obj1;
24987 arg3 = obj2;
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 (arg1)->_setCallbackInfo(arg2,arg3);
24991
24992 wxPyEndAllowThreads(__tstate);
24993 if (PyErr_Occurred()) SWIG_fail;
24994 }
24995 Py_INCREF(Py_None); resultobj = Py_None;
24996 return resultobj;
24997 fail:
24998 return NULL;
24999 }
25000
25001
25002 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
25003 PyObject *obj;
25004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25005 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25006 Py_INCREF(obj);
25007 return Py_BuildValue((char *)"");
25008 }
25009 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25010 PyObject *resultobj;
25011 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25012 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25013 wxBitmapDataObject *result;
25014 PyObject * obj0 = 0 ;
25015 char *kwnames[] = {
25016 (char *) "bitmap", NULL
25017 };
25018
25019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25020 if (obj0) {
25021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25022 SWIG_POINTER_EXCEPTION | 0)) == -1)
25023 SWIG_fail;
25024 if (arg1 == NULL) {
25025 PyErr_SetString(PyExc_TypeError,"null reference");
25026 SWIG_fail;
25027 }
25028 }
25029 {
25030 PyThreadState* __tstate = wxPyBeginAllowThreads();
25031 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25032
25033 wxPyEndAllowThreads(__tstate);
25034 if (PyErr_Occurred()) SWIG_fail;
25035 }
25036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25037 return resultobj;
25038 fail:
25039 return NULL;
25040 }
25041
25042
25043 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25044 PyObject *resultobj;
25045 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25046 wxBitmap result;
25047 PyObject * obj0 = 0 ;
25048 char *kwnames[] = {
25049 (char *) "self", NULL
25050 };
25051
25052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25055 {
25056 PyThreadState* __tstate = wxPyBeginAllowThreads();
25057 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25058
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 {
25063 wxBitmap * resultptr;
25064 resultptr = new wxBitmap((wxBitmap &) result);
25065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25066 }
25067 return resultobj;
25068 fail:
25069 return NULL;
25070 }
25071
25072
25073 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25074 PyObject *resultobj;
25075 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25076 wxBitmap *arg2 = 0 ;
25077 PyObject * obj0 = 0 ;
25078 PyObject * obj1 = 0 ;
25079 char *kwnames[] = {
25080 (char *) "self",(char *) "bitmap", NULL
25081 };
25082
25083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25087 SWIG_POINTER_EXCEPTION | 0)) == -1)
25088 SWIG_fail;
25089 if (arg2 == NULL) {
25090 PyErr_SetString(PyExc_TypeError,"null reference");
25091 SWIG_fail;
25092 }
25093 {
25094 PyThreadState* __tstate = wxPyBeginAllowThreads();
25095 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25096
25097 wxPyEndAllowThreads(__tstate);
25098 if (PyErr_Occurred()) SWIG_fail;
25099 }
25100 Py_INCREF(Py_None); resultobj = Py_None;
25101 return resultobj;
25102 fail:
25103 return NULL;
25104 }
25105
25106
25107 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25108 PyObject *obj;
25109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25110 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25111 Py_INCREF(obj);
25112 return Py_BuildValue((char *)"");
25113 }
25114 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25115 PyObject *resultobj;
25116 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25117 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25118 wxPyBitmapDataObject *result;
25119 PyObject * obj0 = 0 ;
25120 char *kwnames[] = {
25121 (char *) "bitmap", NULL
25122 };
25123
25124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25125 if (obj0) {
25126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25127 SWIG_POINTER_EXCEPTION | 0)) == -1)
25128 SWIG_fail;
25129 if (arg1 == NULL) {
25130 PyErr_SetString(PyExc_TypeError,"null reference");
25131 SWIG_fail;
25132 }
25133 }
25134 {
25135 PyThreadState* __tstate = wxPyBeginAllowThreads();
25136 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25137
25138 wxPyEndAllowThreads(__tstate);
25139 if (PyErr_Occurred()) SWIG_fail;
25140 }
25141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25142 return resultobj;
25143 fail:
25144 return NULL;
25145 }
25146
25147
25148 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25149 PyObject *resultobj;
25150 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25151 PyObject *arg2 = (PyObject *) 0 ;
25152 PyObject *arg3 = (PyObject *) 0 ;
25153 PyObject * obj0 = 0 ;
25154 PyObject * obj1 = 0 ;
25155 PyObject * obj2 = 0 ;
25156 char *kwnames[] = {
25157 (char *) "self",(char *) "self",(char *) "_class", NULL
25158 };
25159
25160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25163 arg2 = obj1;
25164 arg3 = obj2;
25165 {
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 (arg1)->_setCallbackInfo(arg2,arg3);
25168
25169 wxPyEndAllowThreads(__tstate);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 }
25172 Py_INCREF(Py_None); resultobj = Py_None;
25173 return resultobj;
25174 fail:
25175 return NULL;
25176 }
25177
25178
25179 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25180 PyObject *obj;
25181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25182 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25183 Py_INCREF(obj);
25184 return Py_BuildValue((char *)"");
25185 }
25186 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25187 PyObject *resultobj;
25188 wxFileDataObject *result;
25189 char *kwnames[] = {
25190 NULL
25191 };
25192
25193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25194 {
25195 PyThreadState* __tstate = wxPyBeginAllowThreads();
25196 result = (wxFileDataObject *)new wxFileDataObject();
25197
25198 wxPyEndAllowThreads(__tstate);
25199 if (PyErr_Occurred()) SWIG_fail;
25200 }
25201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25202 return resultobj;
25203 fail:
25204 return NULL;
25205 }
25206
25207
25208 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
25209 PyObject *resultobj;
25210 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25211 wxArrayString *result;
25212 PyObject * obj0 = 0 ;
25213 char *kwnames[] = {
25214 (char *) "self", NULL
25215 };
25216
25217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 {
25223 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25224 result = (wxArrayString *) &_result_ref;
25225 }
25226
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 {
25231 resultobj = wxArrayString2PyList_helper(*result);
25232 }
25233 return resultobj;
25234 fail:
25235 return NULL;
25236 }
25237
25238
25239 static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25240 PyObject *resultobj;
25241 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25242 wxString *arg2 = 0 ;
25243 bool temp2 = False ;
25244 PyObject * obj0 = 0 ;
25245 PyObject * obj1 = 0 ;
25246 char *kwnames[] = {
25247 (char *) "self",(char *) "filename", NULL
25248 };
25249
25250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25253 {
25254 arg2 = wxString_in_helper(obj1);
25255 if (arg2 == NULL) SWIG_fail;
25256 temp2 = True;
25257 }
25258 {
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 (arg1)->AddFile((wxString const &)*arg2);
25261
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 Py_INCREF(Py_None); resultobj = Py_None;
25266 {
25267 if (temp2)
25268 delete arg2;
25269 }
25270 return resultobj;
25271 fail:
25272 {
25273 if (temp2)
25274 delete arg2;
25275 }
25276 return NULL;
25277 }
25278
25279
25280 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
25281 PyObject *obj;
25282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25283 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25284 Py_INCREF(obj);
25285 return Py_BuildValue((char *)"");
25286 }
25287 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25288 PyObject *resultobj;
25289 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25290 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25291 wxCustomDataObject *result;
25292 PyObject * obj0 = 0 ;
25293 char *kwnames[] = {
25294 (char *) "format", NULL
25295 };
25296
25297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25298 if (obj0) {
25299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25300 SWIG_POINTER_EXCEPTION | 0)) == -1)
25301 SWIG_fail;
25302 if (arg1 == NULL) {
25303 PyErr_SetString(PyExc_TypeError,"null reference");
25304 SWIG_fail;
25305 }
25306 }
25307 {
25308 PyThreadState* __tstate = wxPyBeginAllowThreads();
25309 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25310
25311 wxPyEndAllowThreads(__tstate);
25312 if (PyErr_Occurred()) SWIG_fail;
25313 }
25314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25315 return resultobj;
25316 fail:
25317 return NULL;
25318 }
25319
25320
25321 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
25322 PyObject *resultobj;
25323 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25324 PyObject *arg2 = (PyObject *) 0 ;
25325 PyObject * obj0 = 0 ;
25326 PyObject * obj1 = 0 ;
25327 char *kwnames[] = {
25328 (char *) "self",(char *) "data", NULL
25329 };
25330
25331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
25332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25334 arg2 = obj1;
25335 {
25336 PyThreadState* __tstate = wxPyBeginAllowThreads();
25337 wxCustomDataObject_TakeData(arg1,arg2);
25338
25339 wxPyEndAllowThreads(__tstate);
25340 if (PyErr_Occurred()) SWIG_fail;
25341 }
25342 Py_INCREF(Py_None); resultobj = Py_None;
25343 return resultobj;
25344 fail:
25345 return NULL;
25346 }
25347
25348
25349 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25350 PyObject *resultobj;
25351 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25352 PyObject *arg2 = (PyObject *) 0 ;
25353 bool result;
25354 PyObject * obj0 = 0 ;
25355 PyObject * obj1 = 0 ;
25356 char *kwnames[] = {
25357 (char *) "self",(char *) "data", NULL
25358 };
25359
25360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25363 arg2 = obj1;
25364 {
25365 PyThreadState* __tstate = wxPyBeginAllowThreads();
25366 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25367
25368 wxPyEndAllowThreads(__tstate);
25369 if (PyErr_Occurred()) SWIG_fail;
25370 }
25371 {
25372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25373 }
25374 return resultobj;
25375 fail:
25376 return NULL;
25377 }
25378
25379
25380 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25381 PyObject *resultobj;
25382 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25383 size_t result;
25384 PyObject * obj0 = 0 ;
25385 char *kwnames[] = {
25386 (char *) "self", NULL
25387 };
25388
25389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25392 {
25393 PyThreadState* __tstate = wxPyBeginAllowThreads();
25394 result = (size_t)(arg1)->GetSize();
25395
25396 wxPyEndAllowThreads(__tstate);
25397 if (PyErr_Occurred()) SWIG_fail;
25398 }
25399 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25400 return resultobj;
25401 fail:
25402 return NULL;
25403 }
25404
25405
25406 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25407 PyObject *resultobj;
25408 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25409 PyObject *result;
25410 PyObject * obj0 = 0 ;
25411 char *kwnames[] = {
25412 (char *) "self", NULL
25413 };
25414
25415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25418 {
25419 PyThreadState* __tstate = wxPyBeginAllowThreads();
25420 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25421
25422 wxPyEndAllowThreads(__tstate);
25423 if (PyErr_Occurred()) SWIG_fail;
25424 }
25425 resultobj = result;
25426 return resultobj;
25427 fail:
25428 return NULL;
25429 }
25430
25431
25432 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
25433 PyObject *obj;
25434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25435 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25436 Py_INCREF(obj);
25437 return Py_BuildValue((char *)"");
25438 }
25439 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25440 PyObject *resultobj;
25441 wxURLDataObject *result;
25442 char *kwnames[] = {
25443 NULL
25444 };
25445
25446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25447 {
25448 PyThreadState* __tstate = wxPyBeginAllowThreads();
25449 result = (wxURLDataObject *)new wxURLDataObject();
25450
25451 wxPyEndAllowThreads(__tstate);
25452 if (PyErr_Occurred()) SWIG_fail;
25453 }
25454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25455 return resultobj;
25456 fail:
25457 return NULL;
25458 }
25459
25460
25461 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25462 PyObject *resultobj;
25463 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25464 wxString result;
25465 PyObject * obj0 = 0 ;
25466 char *kwnames[] = {
25467 (char *) "self", NULL
25468 };
25469
25470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25473 {
25474 PyThreadState* __tstate = wxPyBeginAllowThreads();
25475 result = (arg1)->GetURL();
25476
25477 wxPyEndAllowThreads(__tstate);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 {
25481 #if wxUSE_UNICODE
25482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25483 #else
25484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25485 #endif
25486 }
25487 return resultobj;
25488 fail:
25489 return NULL;
25490 }
25491
25492
25493 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25494 PyObject *resultobj;
25495 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25496 wxString *arg2 = 0 ;
25497 bool temp2 = False ;
25498 PyObject * obj0 = 0 ;
25499 PyObject * obj1 = 0 ;
25500 char *kwnames[] = {
25501 (char *) "self",(char *) "url", NULL
25502 };
25503
25504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25507 {
25508 arg2 = wxString_in_helper(obj1);
25509 if (arg2 == NULL) SWIG_fail;
25510 temp2 = True;
25511 }
25512 {
25513 PyThreadState* __tstate = wxPyBeginAllowThreads();
25514 (arg1)->SetURL((wxString const &)*arg2);
25515
25516 wxPyEndAllowThreads(__tstate);
25517 if (PyErr_Occurred()) SWIG_fail;
25518 }
25519 Py_INCREF(Py_None); resultobj = Py_None;
25520 {
25521 if (temp2)
25522 delete arg2;
25523 }
25524 return resultobj;
25525 fail:
25526 {
25527 if (temp2)
25528 delete arg2;
25529 }
25530 return NULL;
25531 }
25532
25533
25534 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25535 PyObject *obj;
25536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25537 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25538 Py_INCREF(obj);
25539 return Py_BuildValue((char *)"");
25540 }
25541 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25542 PyObject *resultobj;
25543 wxMetafileDataObject *result;
25544 char *kwnames[] = {
25545 NULL
25546 };
25547
25548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25549 {
25550 PyThreadState* __tstate = wxPyBeginAllowThreads();
25551 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25552
25553 wxPyEndAllowThreads(__tstate);
25554 if (PyErr_Occurred()) SWIG_fail;
25555 }
25556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
25557 return resultobj;
25558 fail:
25559 return NULL;
25560 }
25561
25562
25563 static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25564 PyObject *resultobj;
25565 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25566 wxMetafile *arg2 = 0 ;
25567 PyObject * obj0 = 0 ;
25568 PyObject * obj1 = 0 ;
25569 char *kwnames[] = {
25570 (char *) "self",(char *) "metafile", NULL
25571 };
25572
25573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
25574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25577 SWIG_POINTER_EXCEPTION | 0)) == -1)
25578 SWIG_fail;
25579 if (arg2 == NULL) {
25580 PyErr_SetString(PyExc_TypeError,"null reference");
25581 SWIG_fail;
25582 }
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25586
25587 wxPyEndAllowThreads(__tstate);
25588 if (PyErr_Occurred()) SWIG_fail;
25589 }
25590 Py_INCREF(Py_None); resultobj = Py_None;
25591 return resultobj;
25592 fail:
25593 return NULL;
25594 }
25595
25596
25597 static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25598 PyObject *resultobj;
25599 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25600 wxMetafile result;
25601 PyObject * obj0 = 0 ;
25602 char *kwnames[] = {
25603 (char *) "self", NULL
25604 };
25605
25606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
25607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25609 {
25610 PyThreadState* __tstate = wxPyBeginAllowThreads();
25611 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25612
25613 wxPyEndAllowThreads(__tstate);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 }
25616 {
25617 wxMetafile * resultptr;
25618 resultptr = new wxMetafile((wxMetafile &) result);
25619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
25620 }
25621 return resultobj;
25622 fail:
25623 return NULL;
25624 }
25625
25626
25627 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25628 PyObject *obj;
25629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25630 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25631 Py_INCREF(obj);
25632 return Py_BuildValue((char *)"");
25633 }
25634 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25635 PyObject *resultobj;
25636 int arg1 ;
25637 bool result;
25638 PyObject * obj0 = 0 ;
25639 char *kwnames[] = {
25640 (char *) "res", NULL
25641 };
25642
25643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25644 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25645 if (PyErr_Occurred()) SWIG_fail;
25646 {
25647 PyThreadState* __tstate = wxPyBeginAllowThreads();
25648 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25649
25650 wxPyEndAllowThreads(__tstate);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 }
25653 {
25654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25655 }
25656 return resultobj;
25657 fail:
25658 return NULL;
25659 }
25660
25661
25662 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25663 PyObject *resultobj;
25664 wxWindow *arg1 = (wxWindow *) 0 ;
25665 wxCursor const &arg2_defvalue = wxNullCursor ;
25666 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25667 wxCursor const &arg3_defvalue = wxNullCursor ;
25668 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25669 wxCursor const &arg4_defvalue = wxNullCursor ;
25670 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25671 wxPyDropSource *result;
25672 PyObject * obj0 = 0 ;
25673 PyObject * obj1 = 0 ;
25674 PyObject * obj2 = 0 ;
25675 PyObject * obj3 = 0 ;
25676 char *kwnames[] = {
25677 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25678 };
25679
25680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25683 if (obj1) {
25684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25685 SWIG_POINTER_EXCEPTION | 0)) == -1)
25686 SWIG_fail;
25687 if (arg2 == NULL) {
25688 PyErr_SetString(PyExc_TypeError,"null reference");
25689 SWIG_fail;
25690 }
25691 }
25692 if (obj2) {
25693 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25694 SWIG_POINTER_EXCEPTION | 0)) == -1)
25695 SWIG_fail;
25696 if (arg3 == NULL) {
25697 PyErr_SetString(PyExc_TypeError,"null reference");
25698 SWIG_fail;
25699 }
25700 }
25701 if (obj3) {
25702 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25703 SWIG_POINTER_EXCEPTION | 0)) == -1)
25704 SWIG_fail;
25705 if (arg4 == NULL) {
25706 PyErr_SetString(PyExc_TypeError,"null reference");
25707 SWIG_fail;
25708 }
25709 }
25710 {
25711 PyThreadState* __tstate = wxPyBeginAllowThreads();
25712 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25713
25714 wxPyEndAllowThreads(__tstate);
25715 if (PyErr_Occurred()) SWIG_fail;
25716 }
25717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
25718 return resultobj;
25719 fail:
25720 return NULL;
25721 }
25722
25723
25724 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25725 PyObject *resultobj;
25726 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25727 PyObject *arg2 = (PyObject *) 0 ;
25728 PyObject *arg3 = (PyObject *) 0 ;
25729 int arg4 ;
25730 PyObject * obj0 = 0 ;
25731 PyObject * obj1 = 0 ;
25732 PyObject * obj2 = 0 ;
25733 PyObject * obj3 = 0 ;
25734 char *kwnames[] = {
25735 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25736 };
25737
25738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25741 arg2 = obj1;
25742 arg3 = obj2;
25743 arg4 = (int) SWIG_AsInt(obj3);
25744 if (PyErr_Occurred()) SWIG_fail;
25745 {
25746 PyThreadState* __tstate = wxPyBeginAllowThreads();
25747 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25748
25749 wxPyEndAllowThreads(__tstate);
25750 if (PyErr_Occurred()) SWIG_fail;
25751 }
25752 Py_INCREF(Py_None); resultobj = Py_None;
25753 return resultobj;
25754 fail:
25755 return NULL;
25756 }
25757
25758
25759 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25760 PyObject *resultobj;
25761 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25762 PyObject * obj0 = 0 ;
25763 char *kwnames[] = {
25764 (char *) "self", NULL
25765 };
25766
25767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25770 {
25771 PyThreadState* __tstate = wxPyBeginAllowThreads();
25772 delete arg1;
25773
25774 wxPyEndAllowThreads(__tstate);
25775 if (PyErr_Occurred()) SWIG_fail;
25776 }
25777 Py_INCREF(Py_None); resultobj = Py_None;
25778 return resultobj;
25779 fail:
25780 return NULL;
25781 }
25782
25783
25784 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25785 PyObject *resultobj;
25786 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25787 wxDataObject *arg2 = 0 ;
25788 PyObject * obj0 = 0 ;
25789 PyObject * obj1 = 0 ;
25790 char *kwnames[] = {
25791 (char *) "self",(char *) "data", NULL
25792 };
25793
25794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25798 SWIG_POINTER_EXCEPTION | 0)) == -1)
25799 SWIG_fail;
25800 if (arg2 == NULL) {
25801 PyErr_SetString(PyExc_TypeError,"null reference");
25802 SWIG_fail;
25803 }
25804 {
25805 PyThreadState* __tstate = wxPyBeginAllowThreads();
25806 (arg1)->SetData(*arg2);
25807
25808 wxPyEndAllowThreads(__tstate);
25809 if (PyErr_Occurred()) SWIG_fail;
25810 }
25811 Py_INCREF(Py_None); resultobj = Py_None;
25812 return resultobj;
25813 fail:
25814 return NULL;
25815 }
25816
25817
25818 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25819 PyObject *resultobj;
25820 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25821 wxDataObject *result;
25822 PyObject * obj0 = 0 ;
25823 char *kwnames[] = {
25824 (char *) "self", NULL
25825 };
25826
25827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
25828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25830 {
25831 PyThreadState* __tstate = wxPyBeginAllowThreads();
25832 result = (wxDataObject *)(arg1)->GetDataObject();
25833
25834 wxPyEndAllowThreads(__tstate);
25835 if (PyErr_Occurred()) SWIG_fail;
25836 }
25837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
25838 return resultobj;
25839 fail:
25840 return NULL;
25841 }
25842
25843
25844 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25845 PyObject *resultobj;
25846 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25847 int arg2 ;
25848 wxCursor *arg3 = 0 ;
25849 PyObject * obj0 = 0 ;
25850 PyObject * obj1 = 0 ;
25851 PyObject * obj2 = 0 ;
25852 char *kwnames[] = {
25853 (char *) "self",(char *) "res",(char *) "cursor", NULL
25854 };
25855
25856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
25857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25859 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25860 if (PyErr_Occurred()) SWIG_fail;
25861 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25862 SWIG_POINTER_EXCEPTION | 0)) == -1)
25863 SWIG_fail;
25864 if (arg3 == NULL) {
25865 PyErr_SetString(PyExc_TypeError,"null reference");
25866 SWIG_fail;
25867 }
25868 {
25869 PyThreadState* __tstate = wxPyBeginAllowThreads();
25870 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25871
25872 wxPyEndAllowThreads(__tstate);
25873 if (PyErr_Occurred()) SWIG_fail;
25874 }
25875 Py_INCREF(Py_None); resultobj = Py_None;
25876 return resultobj;
25877 fail:
25878 return NULL;
25879 }
25880
25881
25882 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25883 PyObject *resultobj;
25884 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25885 int arg2 = (int) wxDrag_CopyOnly ;
25886 int result;
25887 PyObject * obj0 = 0 ;
25888 PyObject * obj1 = 0 ;
25889 char *kwnames[] = {
25890 (char *) "self",(char *) "flags", NULL
25891 };
25892
25893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
25894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25896 if (obj1) {
25897 arg2 = (int) SWIG_AsInt(obj1);
25898 if (PyErr_Occurred()) SWIG_fail;
25899 }
25900 {
25901 PyThreadState* __tstate = wxPyBeginAllowThreads();
25902 result = (int)(arg1)->DoDragDrop(arg2);
25903
25904 wxPyEndAllowThreads(__tstate);
25905 if (PyErr_Occurred()) SWIG_fail;
25906 }
25907 resultobj = SWIG_FromInt((int)result);
25908 return resultobj;
25909 fail:
25910 return NULL;
25911 }
25912
25913
25914 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
25915 PyObject *resultobj;
25916 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25917 int arg2 ;
25918 bool result;
25919 PyObject * obj0 = 0 ;
25920 PyObject * obj1 = 0 ;
25921 char *kwnames[] = {
25922 (char *) "self",(char *) "effect", NULL
25923 };
25924
25925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
25926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25928 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25929 if (PyErr_Occurred()) SWIG_fail;
25930 {
25931 PyThreadState* __tstate = wxPyBeginAllowThreads();
25932 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25933
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 {
25938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25939 }
25940 return resultobj;
25941 fail:
25942 return NULL;
25943 }
25944
25945
25946 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
25947 PyObject *obj;
25948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25949 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25950 Py_INCREF(obj);
25951 return Py_BuildValue((char *)"");
25952 }
25953 static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25954 PyObject *resultobj;
25955 wxDataObject *arg1 = (wxDataObject *) NULL ;
25956 wxPyDropTarget *result;
25957 PyObject * obj0 = 0 ;
25958 char *kwnames[] = {
25959 (char *) "dataObject", NULL
25960 };
25961
25962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
25963 if (obj0) {
25964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25965 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25966 }
25967 {
25968 PyThreadState* __tstate = wxPyBeginAllowThreads();
25969 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25970
25971 wxPyEndAllowThreads(__tstate);
25972 if (PyErr_Occurred()) SWIG_fail;
25973 }
25974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
25975 return resultobj;
25976 fail:
25977 return NULL;
25978 }
25979
25980
25981 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25982 PyObject *resultobj;
25983 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25984 PyObject *arg2 = (PyObject *) 0 ;
25985 PyObject *arg3 = (PyObject *) 0 ;
25986 PyObject * obj0 = 0 ;
25987 PyObject * obj1 = 0 ;
25988 PyObject * obj2 = 0 ;
25989 char *kwnames[] = {
25990 (char *) "self",(char *) "self",(char *) "_class", NULL
25991 };
25992
25993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25996 arg2 = obj1;
25997 arg3 = obj2;
25998 {
25999 PyThreadState* __tstate = wxPyBeginAllowThreads();
26000 (arg1)->_setCallbackInfo(arg2,arg3);
26001
26002 wxPyEndAllowThreads(__tstate);
26003 if (PyErr_Occurred()) SWIG_fail;
26004 }
26005 Py_INCREF(Py_None); resultobj = Py_None;
26006 return resultobj;
26007 fail:
26008 return NULL;
26009 }
26010
26011
26012 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26013 PyObject *resultobj;
26014 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26015 PyObject * obj0 = 0 ;
26016 char *kwnames[] = {
26017 (char *) "self", NULL
26018 };
26019
26020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26023 {
26024 PyThreadState* __tstate = wxPyBeginAllowThreads();
26025 delete arg1;
26026
26027 wxPyEndAllowThreads(__tstate);
26028 if (PyErr_Occurred()) SWIG_fail;
26029 }
26030 Py_INCREF(Py_None); resultobj = Py_None;
26031 return resultobj;
26032 fail:
26033 return NULL;
26034 }
26035
26036
26037 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26038 PyObject *resultobj;
26039 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26040 wxDataObject *result;
26041 PyObject * obj0 = 0 ;
26042 char *kwnames[] = {
26043 (char *) "self", NULL
26044 };
26045
26046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26049 {
26050 PyThreadState* __tstate = wxPyBeginAllowThreads();
26051 result = (wxDataObject *)(arg1)->GetDataObject();
26052
26053 wxPyEndAllowThreads(__tstate);
26054 if (PyErr_Occurred()) SWIG_fail;
26055 }
26056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26057 return resultobj;
26058 fail:
26059 return NULL;
26060 }
26061
26062
26063 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26064 PyObject *resultobj;
26065 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26066 wxDataObject *arg2 = (wxDataObject *) 0 ;
26067 PyObject * obj0 = 0 ;
26068 PyObject * obj1 = 0 ;
26069 char *kwnames[] = {
26070 (char *) "self",(char *) "dataObject", NULL
26071 };
26072
26073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26076 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26077 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26078 {
26079 PyThreadState* __tstate = wxPyBeginAllowThreads();
26080 (arg1)->SetDataObject(arg2);
26081
26082 wxPyEndAllowThreads(__tstate);
26083 if (PyErr_Occurred()) SWIG_fail;
26084 }
26085 Py_INCREF(Py_None); resultobj = Py_None;
26086 return resultobj;
26087 fail:
26088 return NULL;
26089 }
26090
26091
26092 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26093 PyObject *resultobj;
26094 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26095 int arg2 ;
26096 int arg3 ;
26097 int arg4 ;
26098 int result;
26099 PyObject * obj0 = 0 ;
26100 PyObject * obj1 = 0 ;
26101 PyObject * obj2 = 0 ;
26102 PyObject * obj3 = 0 ;
26103 char *kwnames[] = {
26104 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26105 };
26106
26107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26110 arg2 = (int) SWIG_AsInt(obj1);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 arg3 = (int) SWIG_AsInt(obj2);
26113 if (PyErr_Occurred()) SWIG_fail;
26114 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26115 if (PyErr_Occurred()) SWIG_fail;
26116 {
26117 PyThreadState* __tstate = wxPyBeginAllowThreads();
26118 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26119
26120 wxPyEndAllowThreads(__tstate);
26121 if (PyErr_Occurred()) SWIG_fail;
26122 }
26123 resultobj = SWIG_FromInt((int)result);
26124 return resultobj;
26125 fail:
26126 return NULL;
26127 }
26128
26129
26130 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26131 PyObject *resultobj;
26132 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26133 int arg2 ;
26134 int arg3 ;
26135 int arg4 ;
26136 int result;
26137 PyObject * obj0 = 0 ;
26138 PyObject * obj1 = 0 ;
26139 PyObject * obj2 = 0 ;
26140 PyObject * obj3 = 0 ;
26141 char *kwnames[] = {
26142 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26143 };
26144
26145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26148 arg2 = (int) SWIG_AsInt(obj1);
26149 if (PyErr_Occurred()) SWIG_fail;
26150 arg3 = (int) SWIG_AsInt(obj2);
26151 if (PyErr_Occurred()) SWIG_fail;
26152 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26153 if (PyErr_Occurred()) SWIG_fail;
26154 {
26155 PyThreadState* __tstate = wxPyBeginAllowThreads();
26156 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26157
26158 wxPyEndAllowThreads(__tstate);
26159 if (PyErr_Occurred()) SWIG_fail;
26160 }
26161 resultobj = SWIG_FromInt((int)result);
26162 return resultobj;
26163 fail:
26164 return NULL;
26165 }
26166
26167
26168 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26169 PyObject *resultobj;
26170 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26171 PyObject * obj0 = 0 ;
26172 char *kwnames[] = {
26173 (char *) "self", NULL
26174 };
26175
26176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26179 {
26180 PyThreadState* __tstate = wxPyBeginAllowThreads();
26181 (arg1)->base_OnLeave();
26182
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
26186 Py_INCREF(Py_None); resultobj = Py_None;
26187 return resultobj;
26188 fail:
26189 return NULL;
26190 }
26191
26192
26193 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26194 PyObject *resultobj;
26195 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26196 int arg2 ;
26197 int arg3 ;
26198 bool result;
26199 PyObject * obj0 = 0 ;
26200 PyObject * obj1 = 0 ;
26201 PyObject * obj2 = 0 ;
26202 char *kwnames[] = {
26203 (char *) "self",(char *) "x",(char *) "y", NULL
26204 };
26205
26206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26209 arg2 = (int) SWIG_AsInt(obj1);
26210 if (PyErr_Occurred()) SWIG_fail;
26211 arg3 = (int) SWIG_AsInt(obj2);
26212 if (PyErr_Occurred()) SWIG_fail;
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26216
26217 wxPyEndAllowThreads(__tstate);
26218 if (PyErr_Occurred()) SWIG_fail;
26219 }
26220 {
26221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26222 }
26223 return resultobj;
26224 fail:
26225 return NULL;
26226 }
26227
26228
26229 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26230 PyObject *resultobj;
26231 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26232 bool result;
26233 PyObject * obj0 = 0 ;
26234 char *kwnames[] = {
26235 (char *) "self", NULL
26236 };
26237
26238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26241 {
26242 PyThreadState* __tstate = wxPyBeginAllowThreads();
26243 result = (bool)(arg1)->GetData();
26244
26245 wxPyEndAllowThreads(__tstate);
26246 if (PyErr_Occurred()) SWIG_fail;
26247 }
26248 {
26249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26250 }
26251 return resultobj;
26252 fail:
26253 return NULL;
26254 }
26255
26256
26257 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
26258 PyObject *obj;
26259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26260 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26261 Py_INCREF(obj);
26262 return Py_BuildValue((char *)"");
26263 }
26264 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26265 PyObject *resultobj;
26266 wxPyTextDropTarget *result;
26267 char *kwnames[] = {
26268 NULL
26269 };
26270
26271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26272 {
26273 PyThreadState* __tstate = wxPyBeginAllowThreads();
26274 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26275
26276 wxPyEndAllowThreads(__tstate);
26277 if (PyErr_Occurred()) SWIG_fail;
26278 }
26279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26280 return resultobj;
26281 fail:
26282 return NULL;
26283 }
26284
26285
26286 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26287 PyObject *resultobj;
26288 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26289 PyObject *arg2 = (PyObject *) 0 ;
26290 PyObject *arg3 = (PyObject *) 0 ;
26291 PyObject * obj0 = 0 ;
26292 PyObject * obj1 = 0 ;
26293 PyObject * obj2 = 0 ;
26294 char *kwnames[] = {
26295 (char *) "self",(char *) "self",(char *) "_class", NULL
26296 };
26297
26298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26301 arg2 = obj1;
26302 arg3 = obj2;
26303 {
26304 PyThreadState* __tstate = wxPyBeginAllowThreads();
26305 (arg1)->_setCallbackInfo(arg2,arg3);
26306
26307 wxPyEndAllowThreads(__tstate);
26308 if (PyErr_Occurred()) SWIG_fail;
26309 }
26310 Py_INCREF(Py_None); resultobj = Py_None;
26311 return resultobj;
26312 fail:
26313 return NULL;
26314 }
26315
26316
26317 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26318 PyObject *resultobj;
26319 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26320 int arg2 ;
26321 int arg3 ;
26322 int arg4 ;
26323 int result;
26324 PyObject * obj0 = 0 ;
26325 PyObject * obj1 = 0 ;
26326 PyObject * obj2 = 0 ;
26327 PyObject * obj3 = 0 ;
26328 char *kwnames[] = {
26329 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26330 };
26331
26332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26335 arg2 = (int) SWIG_AsInt(obj1);
26336 if (PyErr_Occurred()) SWIG_fail;
26337 arg3 = (int) SWIG_AsInt(obj2);
26338 if (PyErr_Occurred()) SWIG_fail;
26339 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 {
26342 PyThreadState* __tstate = wxPyBeginAllowThreads();
26343 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26344
26345 wxPyEndAllowThreads(__tstate);
26346 if (PyErr_Occurred()) SWIG_fail;
26347 }
26348 resultobj = SWIG_FromInt((int)result);
26349 return resultobj;
26350 fail:
26351 return NULL;
26352 }
26353
26354
26355 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26356 PyObject *resultobj;
26357 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26358 int arg2 ;
26359 int arg3 ;
26360 int arg4 ;
26361 int result;
26362 PyObject * obj0 = 0 ;
26363 PyObject * obj1 = 0 ;
26364 PyObject * obj2 = 0 ;
26365 PyObject * obj3 = 0 ;
26366 char *kwnames[] = {
26367 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26368 };
26369
26370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26373 arg2 = (int) SWIG_AsInt(obj1);
26374 if (PyErr_Occurred()) SWIG_fail;
26375 arg3 = (int) SWIG_AsInt(obj2);
26376 if (PyErr_Occurred()) SWIG_fail;
26377 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 {
26380 PyThreadState* __tstate = wxPyBeginAllowThreads();
26381 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26382
26383 wxPyEndAllowThreads(__tstate);
26384 if (PyErr_Occurred()) SWIG_fail;
26385 }
26386 resultobj = SWIG_FromInt((int)result);
26387 return resultobj;
26388 fail:
26389 return NULL;
26390 }
26391
26392
26393 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26394 PyObject *resultobj;
26395 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26396 PyObject * obj0 = 0 ;
26397 char *kwnames[] = {
26398 (char *) "self", NULL
26399 };
26400
26401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26404 {
26405 PyThreadState* __tstate = wxPyBeginAllowThreads();
26406 (arg1)->base_OnLeave();
26407
26408 wxPyEndAllowThreads(__tstate);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
26411 Py_INCREF(Py_None); resultobj = Py_None;
26412 return resultobj;
26413 fail:
26414 return NULL;
26415 }
26416
26417
26418 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26419 PyObject *resultobj;
26420 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26421 int arg2 ;
26422 int arg3 ;
26423 bool result;
26424 PyObject * obj0 = 0 ;
26425 PyObject * obj1 = 0 ;
26426 PyObject * obj2 = 0 ;
26427 char *kwnames[] = {
26428 (char *) "self",(char *) "x",(char *) "y", NULL
26429 };
26430
26431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26434 arg2 = (int) SWIG_AsInt(obj1);
26435 if (PyErr_Occurred()) SWIG_fail;
26436 arg3 = (int) SWIG_AsInt(obj2);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 {
26439 PyThreadState* __tstate = wxPyBeginAllowThreads();
26440 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26441
26442 wxPyEndAllowThreads(__tstate);
26443 if (PyErr_Occurred()) SWIG_fail;
26444 }
26445 {
26446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26447 }
26448 return resultobj;
26449 fail:
26450 return NULL;
26451 }
26452
26453
26454 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26455 PyObject *resultobj;
26456 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26457 int arg2 ;
26458 int arg3 ;
26459 int arg4 ;
26460 int result;
26461 PyObject * obj0 = 0 ;
26462 PyObject * obj1 = 0 ;
26463 PyObject * obj2 = 0 ;
26464 PyObject * obj3 = 0 ;
26465 char *kwnames[] = {
26466 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26467 };
26468
26469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26472 arg2 = (int) SWIG_AsInt(obj1);
26473 if (PyErr_Occurred()) SWIG_fail;
26474 arg3 = (int) SWIG_AsInt(obj2);
26475 if (PyErr_Occurred()) SWIG_fail;
26476 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26477 if (PyErr_Occurred()) SWIG_fail;
26478 {
26479 PyThreadState* __tstate = wxPyBeginAllowThreads();
26480 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26481
26482 wxPyEndAllowThreads(__tstate);
26483 if (PyErr_Occurred()) SWIG_fail;
26484 }
26485 resultobj = SWIG_FromInt((int)result);
26486 return resultobj;
26487 fail:
26488 return NULL;
26489 }
26490
26491
26492 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26493 PyObject *obj;
26494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26495 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26496 Py_INCREF(obj);
26497 return Py_BuildValue((char *)"");
26498 }
26499 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26500 PyObject *resultobj;
26501 wxPyFileDropTarget *result;
26502 char *kwnames[] = {
26503 NULL
26504 };
26505
26506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26507 {
26508 PyThreadState* __tstate = wxPyBeginAllowThreads();
26509 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26510
26511 wxPyEndAllowThreads(__tstate);
26512 if (PyErr_Occurred()) SWIG_fail;
26513 }
26514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26515 return resultobj;
26516 fail:
26517 return NULL;
26518 }
26519
26520
26521 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26522 PyObject *resultobj;
26523 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26524 PyObject *arg2 = (PyObject *) 0 ;
26525 PyObject *arg3 = (PyObject *) 0 ;
26526 PyObject * obj0 = 0 ;
26527 PyObject * obj1 = 0 ;
26528 PyObject * obj2 = 0 ;
26529 char *kwnames[] = {
26530 (char *) "self",(char *) "self",(char *) "_class", NULL
26531 };
26532
26533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26536 arg2 = obj1;
26537 arg3 = obj2;
26538 {
26539 PyThreadState* __tstate = wxPyBeginAllowThreads();
26540 (arg1)->_setCallbackInfo(arg2,arg3);
26541
26542 wxPyEndAllowThreads(__tstate);
26543 if (PyErr_Occurred()) SWIG_fail;
26544 }
26545 Py_INCREF(Py_None); resultobj = Py_None;
26546 return resultobj;
26547 fail:
26548 return NULL;
26549 }
26550
26551
26552 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26553 PyObject *resultobj;
26554 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26555 int arg2 ;
26556 int arg3 ;
26557 int arg4 ;
26558 int result;
26559 PyObject * obj0 = 0 ;
26560 PyObject * obj1 = 0 ;
26561 PyObject * obj2 = 0 ;
26562 PyObject * obj3 = 0 ;
26563 char *kwnames[] = {
26564 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26565 };
26566
26567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26570 arg2 = (int) SWIG_AsInt(obj1);
26571 if (PyErr_Occurred()) SWIG_fail;
26572 arg3 = (int) SWIG_AsInt(obj2);
26573 if (PyErr_Occurred()) SWIG_fail;
26574 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26575 if (PyErr_Occurred()) SWIG_fail;
26576 {
26577 PyThreadState* __tstate = wxPyBeginAllowThreads();
26578 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26579
26580 wxPyEndAllowThreads(__tstate);
26581 if (PyErr_Occurred()) SWIG_fail;
26582 }
26583 resultobj = SWIG_FromInt((int)result);
26584 return resultobj;
26585 fail:
26586 return NULL;
26587 }
26588
26589
26590 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26591 PyObject *resultobj;
26592 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26593 int arg2 ;
26594 int arg3 ;
26595 int arg4 ;
26596 int result;
26597 PyObject * obj0 = 0 ;
26598 PyObject * obj1 = 0 ;
26599 PyObject * obj2 = 0 ;
26600 PyObject * obj3 = 0 ;
26601 char *kwnames[] = {
26602 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26603 };
26604
26605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26608 arg2 = (int) SWIG_AsInt(obj1);
26609 if (PyErr_Occurred()) SWIG_fail;
26610 arg3 = (int) SWIG_AsInt(obj2);
26611 if (PyErr_Occurred()) SWIG_fail;
26612 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26613 if (PyErr_Occurred()) SWIG_fail;
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26617
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
26621 resultobj = SWIG_FromInt((int)result);
26622 return resultobj;
26623 fail:
26624 return NULL;
26625 }
26626
26627
26628 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26629 PyObject *resultobj;
26630 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26631 PyObject * obj0 = 0 ;
26632 char *kwnames[] = {
26633 (char *) "self", NULL
26634 };
26635
26636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26639 {
26640 PyThreadState* __tstate = wxPyBeginAllowThreads();
26641 (arg1)->base_OnLeave();
26642
26643 wxPyEndAllowThreads(__tstate);
26644 if (PyErr_Occurred()) SWIG_fail;
26645 }
26646 Py_INCREF(Py_None); resultobj = Py_None;
26647 return resultobj;
26648 fail:
26649 return NULL;
26650 }
26651
26652
26653 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26654 PyObject *resultobj;
26655 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26656 int arg2 ;
26657 int arg3 ;
26658 bool result;
26659 PyObject * obj0 = 0 ;
26660 PyObject * obj1 = 0 ;
26661 PyObject * obj2 = 0 ;
26662 char *kwnames[] = {
26663 (char *) "self",(char *) "x",(char *) "y", NULL
26664 };
26665
26666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26669 arg2 = (int) SWIG_AsInt(obj1);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 arg3 = (int) SWIG_AsInt(obj2);
26672 if (PyErr_Occurred()) SWIG_fail;
26673 {
26674 PyThreadState* __tstate = wxPyBeginAllowThreads();
26675 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26676
26677 wxPyEndAllowThreads(__tstate);
26678 if (PyErr_Occurred()) SWIG_fail;
26679 }
26680 {
26681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26682 }
26683 return resultobj;
26684 fail:
26685 return NULL;
26686 }
26687
26688
26689 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26690 PyObject *resultobj;
26691 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26692 int arg2 ;
26693 int arg3 ;
26694 int arg4 ;
26695 int result;
26696 PyObject * obj0 = 0 ;
26697 PyObject * obj1 = 0 ;
26698 PyObject * obj2 = 0 ;
26699 PyObject * obj3 = 0 ;
26700 char *kwnames[] = {
26701 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26702 };
26703
26704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26707 arg2 = (int) SWIG_AsInt(obj1);
26708 if (PyErr_Occurred()) SWIG_fail;
26709 arg3 = (int) SWIG_AsInt(obj2);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26712 if (PyErr_Occurred()) SWIG_fail;
26713 {
26714 PyThreadState* __tstate = wxPyBeginAllowThreads();
26715 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26716
26717 wxPyEndAllowThreads(__tstate);
26718 if (PyErr_Occurred()) SWIG_fail;
26719 }
26720 resultobj = SWIG_FromInt((int)result);
26721 return resultobj;
26722 fail:
26723 return NULL;
26724 }
26725
26726
26727 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26728 PyObject *obj;
26729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26730 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26731 Py_INCREF(obj);
26732 return Py_BuildValue((char *)"");
26733 }
26734 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26735 PyObject *resultobj;
26736 wxClipboard *result;
26737 char *kwnames[] = {
26738 NULL
26739 };
26740
26741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26742 {
26743 PyThreadState* __tstate = wxPyBeginAllowThreads();
26744 result = (wxClipboard *)new wxClipboard();
26745
26746 wxPyEndAllowThreads(__tstate);
26747 if (PyErr_Occurred()) SWIG_fail;
26748 }
26749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
26750 return resultobj;
26751 fail:
26752 return NULL;
26753 }
26754
26755
26756 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26757 PyObject *resultobj;
26758 wxClipboard *arg1 = (wxClipboard *) 0 ;
26759 PyObject * obj0 = 0 ;
26760 char *kwnames[] = {
26761 (char *) "self", NULL
26762 };
26763
26764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26767 {
26768 PyThreadState* __tstate = wxPyBeginAllowThreads();
26769 delete arg1;
26770
26771 wxPyEndAllowThreads(__tstate);
26772 if (PyErr_Occurred()) SWIG_fail;
26773 }
26774 Py_INCREF(Py_None); resultobj = Py_None;
26775 return resultobj;
26776 fail:
26777 return NULL;
26778 }
26779
26780
26781 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26782 PyObject *resultobj;
26783 wxClipboard *arg1 = (wxClipboard *) 0 ;
26784 bool result;
26785 PyObject * obj0 = 0 ;
26786 char *kwnames[] = {
26787 (char *) "self", NULL
26788 };
26789
26790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26793 {
26794 PyThreadState* __tstate = wxPyBeginAllowThreads();
26795 result = (bool)(arg1)->Open();
26796
26797 wxPyEndAllowThreads(__tstate);
26798 if (PyErr_Occurred()) SWIG_fail;
26799 }
26800 {
26801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26802 }
26803 return resultobj;
26804 fail:
26805 return NULL;
26806 }
26807
26808
26809 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
26810 PyObject *resultobj;
26811 wxClipboard *arg1 = (wxClipboard *) 0 ;
26812 PyObject * obj0 = 0 ;
26813 char *kwnames[] = {
26814 (char *) "self", NULL
26815 };
26816
26817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26820 {
26821 PyThreadState* __tstate = wxPyBeginAllowThreads();
26822 (arg1)->Close();
26823
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
26827 Py_INCREF(Py_None); resultobj = Py_None;
26828 return resultobj;
26829 fail:
26830 return NULL;
26831 }
26832
26833
26834 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
26835 PyObject *resultobj;
26836 wxClipboard *arg1 = (wxClipboard *) 0 ;
26837 bool result;
26838 PyObject * obj0 = 0 ;
26839 char *kwnames[] = {
26840 (char *) "self", NULL
26841 };
26842
26843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
26844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26846 {
26847 PyThreadState* __tstate = wxPyBeginAllowThreads();
26848 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26849
26850 wxPyEndAllowThreads(__tstate);
26851 if (PyErr_Occurred()) SWIG_fail;
26852 }
26853 {
26854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26855 }
26856 return resultobj;
26857 fail:
26858 return NULL;
26859 }
26860
26861
26862 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
26863 PyObject *resultobj;
26864 wxClipboard *arg1 = (wxClipboard *) 0 ;
26865 wxDataObject *arg2 = (wxDataObject *) 0 ;
26866 bool result;
26867 PyObject * obj0 = 0 ;
26868 PyObject * obj1 = 0 ;
26869 char *kwnames[] = {
26870 (char *) "self",(char *) "data", NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
26874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26877 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26878 {
26879 PyThreadState* __tstate = wxPyBeginAllowThreads();
26880 result = (bool)(arg1)->AddData(arg2);
26881
26882 wxPyEndAllowThreads(__tstate);
26883 if (PyErr_Occurred()) SWIG_fail;
26884 }
26885 {
26886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26887 }
26888 return resultobj;
26889 fail:
26890 return NULL;
26891 }
26892
26893
26894 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26895 PyObject *resultobj;
26896 wxClipboard *arg1 = (wxClipboard *) 0 ;
26897 wxDataObject *arg2 = (wxDataObject *) 0 ;
26898 bool result;
26899 PyObject * obj0 = 0 ;
26900 PyObject * obj1 = 0 ;
26901 char *kwnames[] = {
26902 (char *) "self",(char *) "data", NULL
26903 };
26904
26905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
26906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26909 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26910 {
26911 PyThreadState* __tstate = wxPyBeginAllowThreads();
26912 result = (bool)(arg1)->SetData(arg2);
26913
26914 wxPyEndAllowThreads(__tstate);
26915 if (PyErr_Occurred()) SWIG_fail;
26916 }
26917 {
26918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26919 }
26920 return resultobj;
26921 fail:
26922 return NULL;
26923 }
26924
26925
26926 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
26927 PyObject *resultobj;
26928 wxClipboard *arg1 = (wxClipboard *) 0 ;
26929 wxDataFormat *arg2 = 0 ;
26930 bool result;
26931 PyObject * obj0 = 0 ;
26932 PyObject * obj1 = 0 ;
26933 char *kwnames[] = {
26934 (char *) "self",(char *) "format", NULL
26935 };
26936
26937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
26938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
26941 SWIG_POINTER_EXCEPTION | 0)) == -1)
26942 SWIG_fail;
26943 if (arg2 == NULL) {
26944 PyErr_SetString(PyExc_TypeError,"null reference");
26945 SWIG_fail;
26946 }
26947 {
26948 PyThreadState* __tstate = wxPyBeginAllowThreads();
26949 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26950
26951 wxPyEndAllowThreads(__tstate);
26952 if (PyErr_Occurred()) SWIG_fail;
26953 }
26954 {
26955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26956 }
26957 return resultobj;
26958 fail:
26959 return NULL;
26960 }
26961
26962
26963 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26964 PyObject *resultobj;
26965 wxClipboard *arg1 = (wxClipboard *) 0 ;
26966 wxDataObject *arg2 = 0 ;
26967 bool result;
26968 PyObject * obj0 = 0 ;
26969 PyObject * obj1 = 0 ;
26970 char *kwnames[] = {
26971 (char *) "self",(char *) "data", NULL
26972 };
26973
26974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
26975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26977 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26978 SWIG_POINTER_EXCEPTION | 0)) == -1)
26979 SWIG_fail;
26980 if (arg2 == NULL) {
26981 PyErr_SetString(PyExc_TypeError,"null reference");
26982 SWIG_fail;
26983 }
26984 {
26985 PyThreadState* __tstate = wxPyBeginAllowThreads();
26986 result = (bool)(arg1)->GetData(*arg2);
26987
26988 wxPyEndAllowThreads(__tstate);
26989 if (PyErr_Occurred()) SWIG_fail;
26990 }
26991 {
26992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26993 }
26994 return resultobj;
26995 fail:
26996 return NULL;
26997 }
26998
26999
27000 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
27001 PyObject *resultobj;
27002 wxClipboard *arg1 = (wxClipboard *) 0 ;
27003 PyObject * obj0 = 0 ;
27004 char *kwnames[] = {
27005 (char *) "self", NULL
27006 };
27007
27008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27011 {
27012 PyThreadState* __tstate = wxPyBeginAllowThreads();
27013 (arg1)->Clear();
27014
27015 wxPyEndAllowThreads(__tstate);
27016 if (PyErr_Occurred()) SWIG_fail;
27017 }
27018 Py_INCREF(Py_None); resultobj = Py_None;
27019 return resultobj;
27020 fail:
27021 return NULL;
27022 }
27023
27024
27025 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
27026 PyObject *resultobj;
27027 wxClipboard *arg1 = (wxClipboard *) 0 ;
27028 bool result;
27029 PyObject * obj0 = 0 ;
27030 char *kwnames[] = {
27031 (char *) "self", NULL
27032 };
27033
27034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (bool)(arg1)->Flush();
27040
27041 wxPyEndAllowThreads(__tstate);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 }
27044 {
27045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27046 }
27047 return resultobj;
27048 fail:
27049 return NULL;
27050 }
27051
27052
27053 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27054 PyObject *resultobj;
27055 wxClipboard *arg1 = (wxClipboard *) 0 ;
27056 bool arg2 = (bool) True ;
27057 PyObject * obj0 = 0 ;
27058 PyObject * obj1 = 0 ;
27059 char *kwnames[] = {
27060 (char *) "self",(char *) "primary", NULL
27061 };
27062
27063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27066 if (obj1) {
27067 arg2 = (bool) SWIG_AsBool(obj1);
27068 if (PyErr_Occurred()) SWIG_fail;
27069 }
27070 {
27071 PyThreadState* __tstate = wxPyBeginAllowThreads();
27072 (arg1)->UsePrimarySelection(arg2);
27073
27074 wxPyEndAllowThreads(__tstate);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 }
27077 Py_INCREF(Py_None); resultobj = Py_None;
27078 return resultobj;
27079 fail:
27080 return NULL;
27081 }
27082
27083
27084 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
27085 PyObject *obj;
27086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27087 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27088 Py_INCREF(obj);
27089 return Py_BuildValue((char *)"");
27090 }
27091 static int _wrap_TheClipboard_set(PyObject *_val) {
27092 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
27093 return 1;
27094 }
27095
27096
27097 static PyObject *_wrap_TheClipboard_get() {
27098 PyObject *pyobj;
27099
27100 pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
27101 return pyobj;
27102 }
27103
27104
27105 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27106 PyObject *resultobj;
27107 wxClipboard *arg1 = (wxClipboard *) NULL ;
27108 wxClipboardLocker *result;
27109 PyObject * obj0 = 0 ;
27110 char *kwnames[] = {
27111 (char *) "clipboard", NULL
27112 };
27113
27114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27115 if (obj0) {
27116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27118 }
27119 {
27120 PyThreadState* __tstate = wxPyBeginAllowThreads();
27121 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27122
27123 wxPyEndAllowThreads(__tstate);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
27126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27127 return resultobj;
27128 fail:
27129 return NULL;
27130 }
27131
27132
27133 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27134 PyObject *resultobj;
27135 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27136 PyObject * obj0 = 0 ;
27137 char *kwnames[] = {
27138 (char *) "self", NULL
27139 };
27140
27141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 delete arg1;
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 Py_INCREF(Py_None); resultobj = Py_None;
27152 return resultobj;
27153 fail:
27154 return NULL;
27155 }
27156
27157
27158 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
27159 PyObject *resultobj;
27160 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27161 bool result;
27162 PyObject * obj0 = 0 ;
27163 char *kwnames[] = {
27164 (char *) "self", NULL
27165 };
27166
27167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27170 {
27171 PyThreadState* __tstate = wxPyBeginAllowThreads();
27172 result = (bool)wxClipboardLocker___nonzero__(arg1);
27173
27174 wxPyEndAllowThreads(__tstate);
27175 if (PyErr_Occurred()) SWIG_fail;
27176 }
27177 {
27178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27179 }
27180 return resultobj;
27181 fail:
27182 return NULL;
27183 }
27184
27185
27186 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
27187 PyObject *obj;
27188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27189 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27190 Py_INCREF(obj);
27191 return Py_BuildValue((char *)"");
27192 }
27193 static PyObject *_wrap_new_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27194 PyObject *resultobj;
27195 int arg1 = (int) 0 ;
27196 int arg2 = (int) 0 ;
27197 int arg3 = (int) 0 ;
27198 int arg4 = (int) 0 ;
27199 wxVideoMode *result;
27200 PyObject * obj0 = 0 ;
27201 PyObject * obj1 = 0 ;
27202 PyObject * obj2 = 0 ;
27203 PyObject * obj3 = 0 ;
27204 char *kwnames[] = {
27205 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27206 };
27207
27208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27209 if (obj0) {
27210 arg1 = (int) SWIG_AsInt(obj0);
27211 if (PyErr_Occurred()) SWIG_fail;
27212 }
27213 if (obj1) {
27214 arg2 = (int) SWIG_AsInt(obj1);
27215 if (PyErr_Occurred()) SWIG_fail;
27216 }
27217 if (obj2) {
27218 arg3 = (int) SWIG_AsInt(obj2);
27219 if (PyErr_Occurred()) SWIG_fail;
27220 }
27221 if (obj3) {
27222 arg4 = (int) SWIG_AsInt(obj3);
27223 if (PyErr_Occurred()) SWIG_fail;
27224 }
27225 {
27226 PyThreadState* __tstate = wxPyBeginAllowThreads();
27227 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27228
27229 wxPyEndAllowThreads(__tstate);
27230 if (PyErr_Occurred()) SWIG_fail;
27231 }
27232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27233 return resultobj;
27234 fail:
27235 return NULL;
27236 }
27237
27238
27239 static PyObject *_wrap_delete_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27240 PyObject *resultobj;
27241 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27242 PyObject * obj0 = 0 ;
27243 char *kwnames[] = {
27244 (char *) "self", NULL
27245 };
27246
27247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27250 {
27251 PyThreadState* __tstate = wxPyBeginAllowThreads();
27252 delete arg1;
27253
27254 wxPyEndAllowThreads(__tstate);
27255 if (PyErr_Occurred()) SWIG_fail;
27256 }
27257 Py_INCREF(Py_None); resultobj = Py_None;
27258 return resultobj;
27259 fail:
27260 return NULL;
27261 }
27262
27263
27264 static PyObject *_wrap_VideoMode_Matches(PyObject *self, PyObject *args, PyObject *kwargs) {
27265 PyObject *resultobj;
27266 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27267 wxVideoMode *arg2 = 0 ;
27268 bool result;
27269 PyObject * obj0 = 0 ;
27270 PyObject * obj1 = 0 ;
27271 char *kwnames[] = {
27272 (char *) "self",(char *) "other", NULL
27273 };
27274
27275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27279 SWIG_POINTER_EXCEPTION | 0)) == -1)
27280 SWIG_fail;
27281 if (arg2 == NULL) {
27282 PyErr_SetString(PyExc_TypeError,"null reference");
27283 SWIG_fail;
27284 }
27285 {
27286 PyThreadState* __tstate = wxPyBeginAllowThreads();
27287 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27288
27289 wxPyEndAllowThreads(__tstate);
27290 if (PyErr_Occurred()) SWIG_fail;
27291 }
27292 {
27293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27294 }
27295 return resultobj;
27296 fail:
27297 return NULL;
27298 }
27299
27300
27301 static PyObject *_wrap_VideoMode_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
27302 PyObject *resultobj;
27303 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27304 int result;
27305 PyObject * obj0 = 0 ;
27306 char *kwnames[] = {
27307 (char *) "self", NULL
27308 };
27309
27310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27313 {
27314 PyThreadState* __tstate = wxPyBeginAllowThreads();
27315 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27316
27317 wxPyEndAllowThreads(__tstate);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
27320 resultobj = SWIG_FromInt((int)result);
27321 return resultobj;
27322 fail:
27323 return NULL;
27324 }
27325
27326
27327 static PyObject *_wrap_VideoMode_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
27328 PyObject *resultobj;
27329 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27330 int result;
27331 PyObject * obj0 = 0 ;
27332 char *kwnames[] = {
27333 (char *) "self", NULL
27334 };
27335
27336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27339 {
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
27341 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27342
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 resultobj = SWIG_FromInt((int)result);
27347 return resultobj;
27348 fail:
27349 return NULL;
27350 }
27351
27352
27353 static PyObject *_wrap_VideoMode_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
27354 PyObject *resultobj;
27355 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27356 int result;
27357 PyObject * obj0 = 0 ;
27358 char *kwnames[] = {
27359 (char *) "self", NULL
27360 };
27361
27362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27368
27369 wxPyEndAllowThreads(__tstate);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
27372 resultobj = SWIG_FromInt((int)result);
27373 return resultobj;
27374 fail:
27375 return NULL;
27376 }
27377
27378
27379 static PyObject *_wrap_VideoMode_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27380 PyObject *resultobj;
27381 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27382 bool result;
27383 PyObject * obj0 = 0 ;
27384 char *kwnames[] = {
27385 (char *) "self", NULL
27386 };
27387
27388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27391 {
27392 PyThreadState* __tstate = wxPyBeginAllowThreads();
27393 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27394
27395 wxPyEndAllowThreads(__tstate);
27396 if (PyErr_Occurred()) SWIG_fail;
27397 }
27398 {
27399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27400 }
27401 return resultobj;
27402 fail:
27403 return NULL;
27404 }
27405
27406
27407 static PyObject *_wrap_VideoMode___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
27408 PyObject *resultobj;
27409 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27410 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27411 bool result;
27412 PyObject * obj0 = 0 ;
27413 PyObject * obj1 = 0 ;
27414 char *kwnames[] = {
27415 (char *) "self",(char *) "other", NULL
27416 };
27417
27418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27423 {
27424 PyThreadState* __tstate = wxPyBeginAllowThreads();
27425 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27426
27427 wxPyEndAllowThreads(__tstate);
27428 if (PyErr_Occurred()) SWIG_fail;
27429 }
27430 {
27431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27432 }
27433 return resultobj;
27434 fail:
27435 return NULL;
27436 }
27437
27438
27439 static PyObject *_wrap_VideoMode___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
27440 PyObject *resultobj;
27441 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27442 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27443 bool result;
27444 PyObject * obj0 = 0 ;
27445 PyObject * obj1 = 0 ;
27446 char *kwnames[] = {
27447 (char *) "self",(char *) "other", NULL
27448 };
27449
27450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27455 {
27456 PyThreadState* __tstate = wxPyBeginAllowThreads();
27457 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27458
27459 wxPyEndAllowThreads(__tstate);
27460 if (PyErr_Occurred()) SWIG_fail;
27461 }
27462 {
27463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27464 }
27465 return resultobj;
27466 fail:
27467 return NULL;
27468 }
27469
27470
27471 static PyObject *_wrap_VideoMode_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27472 PyObject *resultobj;
27473 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27474 int arg2 ;
27475 PyObject * obj0 = 0 ;
27476 PyObject * obj1 = 0 ;
27477 char *kwnames[] = {
27478 (char *) "self",(char *) "w", NULL
27479 };
27480
27481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27484 arg2 = (int) SWIG_AsInt(obj1);
27485 if (PyErr_Occurred()) SWIG_fail;
27486 if (arg1) (arg1)->w = arg2;
27487
27488 Py_INCREF(Py_None); resultobj = Py_None;
27489 return resultobj;
27490 fail:
27491 return NULL;
27492 }
27493
27494
27495 static PyObject *_wrap_VideoMode_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27496 PyObject *resultobj;
27497 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27498 int result;
27499 PyObject * obj0 = 0 ;
27500 char *kwnames[] = {
27501 (char *) "self", NULL
27502 };
27503
27504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27507 result = (int) ((arg1)->w);
27508
27509 resultobj = SWIG_FromInt((int)result);
27510 return resultobj;
27511 fail:
27512 return NULL;
27513 }
27514
27515
27516 static PyObject *_wrap_VideoMode_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27517 PyObject *resultobj;
27518 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27519 int arg2 ;
27520 PyObject * obj0 = 0 ;
27521 PyObject * obj1 = 0 ;
27522 char *kwnames[] = {
27523 (char *) "self",(char *) "h", NULL
27524 };
27525
27526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27529 arg2 = (int) SWIG_AsInt(obj1);
27530 if (PyErr_Occurred()) SWIG_fail;
27531 if (arg1) (arg1)->h = arg2;
27532
27533 Py_INCREF(Py_None); resultobj = Py_None;
27534 return resultobj;
27535 fail:
27536 return NULL;
27537 }
27538
27539
27540 static PyObject *_wrap_VideoMode_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27541 PyObject *resultobj;
27542 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27543 int result;
27544 PyObject * obj0 = 0 ;
27545 char *kwnames[] = {
27546 (char *) "self", NULL
27547 };
27548
27549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27552 result = (int) ((arg1)->h);
27553
27554 resultobj = SWIG_FromInt((int)result);
27555 return resultobj;
27556 fail:
27557 return NULL;
27558 }
27559
27560
27561 static PyObject *_wrap_VideoMode_bpp_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27562 PyObject *resultobj;
27563 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27564 int arg2 ;
27565 PyObject * obj0 = 0 ;
27566 PyObject * obj1 = 0 ;
27567 char *kwnames[] = {
27568 (char *) "self",(char *) "bpp", NULL
27569 };
27570
27571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27574 arg2 = (int) SWIG_AsInt(obj1);
27575 if (PyErr_Occurred()) SWIG_fail;
27576 if (arg1) (arg1)->bpp = arg2;
27577
27578 Py_INCREF(Py_None); resultobj = Py_None;
27579 return resultobj;
27580 fail:
27581 return NULL;
27582 }
27583
27584
27585 static PyObject *_wrap_VideoMode_bpp_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27586 PyObject *resultobj;
27587 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27588 int result;
27589 PyObject * obj0 = 0 ;
27590 char *kwnames[] = {
27591 (char *) "self", NULL
27592 };
27593
27594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27597 result = (int) ((arg1)->bpp);
27598
27599 resultobj = SWIG_FromInt((int)result);
27600 return resultobj;
27601 fail:
27602 return NULL;
27603 }
27604
27605
27606 static PyObject *_wrap_VideoMode_refresh_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27607 PyObject *resultobj;
27608 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27609 int arg2 ;
27610 PyObject * obj0 = 0 ;
27611 PyObject * obj1 = 0 ;
27612 char *kwnames[] = {
27613 (char *) "self",(char *) "refresh", NULL
27614 };
27615
27616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27619 arg2 = (int) SWIG_AsInt(obj1);
27620 if (PyErr_Occurred()) SWIG_fail;
27621 if (arg1) (arg1)->refresh = arg2;
27622
27623 Py_INCREF(Py_None); resultobj = Py_None;
27624 return resultobj;
27625 fail:
27626 return NULL;
27627 }
27628
27629
27630 static PyObject *_wrap_VideoMode_refresh_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27631 PyObject *resultobj;
27632 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27633 int result;
27634 PyObject * obj0 = 0 ;
27635 char *kwnames[] = {
27636 (char *) "self", NULL
27637 };
27638
27639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27642 result = (int) ((arg1)->refresh);
27643
27644 resultobj = SWIG_FromInt((int)result);
27645 return resultobj;
27646 fail:
27647 return NULL;
27648 }
27649
27650
27651 static PyObject * VideoMode_swigregister(PyObject *self, PyObject *args) {
27652 PyObject *obj;
27653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27654 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27655 Py_INCREF(obj);
27656 return Py_BuildValue((char *)"");
27657 }
27658 static int _wrap_DefaultVideoMode_set(PyObject *_val) {
27659 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27660 return 1;
27661 }
27662
27663
27664 static PyObject *_wrap_DefaultVideoMode_get() {
27665 PyObject *pyobj;
27666
27667 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27668 return pyobj;
27669 }
27670
27671
27672 static PyObject *_wrap_new_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27673 PyObject *resultobj;
27674 size_t arg1 = (size_t) 0 ;
27675 wxDisplay *result;
27676 PyObject * obj0 = 0 ;
27677 char *kwnames[] = {
27678 (char *) "index", NULL
27679 };
27680
27681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27682 if (obj0) {
27683 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27684 if (PyErr_Occurred()) SWIG_fail;
27685 }
27686 {
27687 PyThreadState* __tstate = wxPyBeginAllowThreads();
27688 result = (wxDisplay *)new wxDisplay(arg1);
27689
27690 wxPyEndAllowThreads(__tstate);
27691 if (PyErr_Occurred()) SWIG_fail;
27692 }
27693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27694 return resultobj;
27695 fail:
27696 return NULL;
27697 }
27698
27699
27700 static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27701 PyObject *resultobj;
27702 wxDisplay *arg1 = (wxDisplay *) 0 ;
27703 PyObject * obj0 = 0 ;
27704 char *kwnames[] = {
27705 (char *) "self", NULL
27706 };
27707
27708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 delete arg1;
27714
27715 wxPyEndAllowThreads(__tstate);
27716 if (PyErr_Occurred()) SWIG_fail;
27717 }
27718 Py_INCREF(Py_None); resultobj = Py_None;
27719 return resultobj;
27720 fail:
27721 return NULL;
27722 }
27723
27724
27725 static PyObject *_wrap_Display_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
27726 PyObject *resultobj;
27727 size_t result;
27728 char *kwnames[] = {
27729 NULL
27730 };
27731
27732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27733 {
27734 PyThreadState* __tstate = wxPyBeginAllowThreads();
27735 result = (size_t)wxDisplay::GetCount();
27736
27737 wxPyEndAllowThreads(__tstate);
27738 if (PyErr_Occurred()) SWIG_fail;
27739 }
27740 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27741 return resultobj;
27742 fail:
27743 return NULL;
27744 }
27745
27746
27747 static PyObject *_wrap_Display_GetFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
27748 PyObject *resultobj;
27749 wxPoint *arg1 = 0 ;
27750 int result;
27751 wxPoint temp1 ;
27752 PyObject * obj0 = 0 ;
27753 char *kwnames[] = {
27754 (char *) "pt", NULL
27755 };
27756
27757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27758 {
27759 arg1 = &temp1;
27760 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27761 }
27762 {
27763 PyThreadState* __tstate = wxPyBeginAllowThreads();
27764 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
27765
27766 wxPyEndAllowThreads(__tstate);
27767 if (PyErr_Occurred()) SWIG_fail;
27768 }
27769 resultobj = SWIG_FromInt((int)result);
27770 return resultobj;
27771 fail:
27772 return NULL;
27773 }
27774
27775
27776 static PyObject *_wrap_Display_GetFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27777 PyObject *resultobj;
27778 wxWindow *arg1 = (wxWindow *) 0 ;
27779 int result;
27780 PyObject * obj0 = 0 ;
27781 char *kwnames[] = {
27782 (char *) "window", NULL
27783 };
27784
27785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
27786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27788 {
27789 PyThreadState* __tstate = wxPyBeginAllowThreads();
27790 result = (int)wxDisplay::GetFromWindow(arg1);
27791
27792 wxPyEndAllowThreads(__tstate);
27793 if (PyErr_Occurred()) SWIG_fail;
27794 }
27795 resultobj = SWIG_FromInt((int)result);
27796 return resultobj;
27797 fail:
27798 return NULL;
27799 }
27800
27801
27802 static PyObject *_wrap_Display_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27803 PyObject *resultobj;
27804 wxDisplay *arg1 = (wxDisplay *) 0 ;
27805 bool result;
27806 PyObject * obj0 = 0 ;
27807 char *kwnames[] = {
27808 (char *) "self", NULL
27809 };
27810
27811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
27812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27814 {
27815 PyThreadState* __tstate = wxPyBeginAllowThreads();
27816 result = (bool)((wxDisplay const *)arg1)->IsOk();
27817
27818 wxPyEndAllowThreads(__tstate);
27819 if (PyErr_Occurred()) SWIG_fail;
27820 }
27821 {
27822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27823 }
27824 return resultobj;
27825 fail:
27826 return NULL;
27827 }
27828
27829
27830 static PyObject *_wrap_Display_GetGeometry(PyObject *self, PyObject *args, PyObject *kwargs) {
27831 PyObject *resultobj;
27832 wxDisplay *arg1 = (wxDisplay *) 0 ;
27833 wxRect result;
27834 PyObject * obj0 = 0 ;
27835 char *kwnames[] = {
27836 (char *) "self", NULL
27837 };
27838
27839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
27840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27842 {
27843 PyThreadState* __tstate = wxPyBeginAllowThreads();
27844 result = ((wxDisplay const *)arg1)->GetGeometry();
27845
27846 wxPyEndAllowThreads(__tstate);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 }
27849 {
27850 wxRect * resultptr;
27851 resultptr = new wxRect((wxRect &) result);
27852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
27853 }
27854 return resultobj;
27855 fail:
27856 return NULL;
27857 }
27858
27859
27860 static PyObject *_wrap_Display_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
27861 PyObject *resultobj;
27862 wxDisplay *arg1 = (wxDisplay *) 0 ;
27863 wxString result;
27864 PyObject * obj0 = 0 ;
27865 char *kwnames[] = {
27866 (char *) "self", NULL
27867 };
27868
27869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
27870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27872 {
27873 PyThreadState* __tstate = wxPyBeginAllowThreads();
27874 result = ((wxDisplay const *)arg1)->GetName();
27875
27876 wxPyEndAllowThreads(__tstate);
27877 if (PyErr_Occurred()) SWIG_fail;
27878 }
27879 {
27880 #if wxUSE_UNICODE
27881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27882 #else
27883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27884 #endif
27885 }
27886 return resultobj;
27887 fail:
27888 return NULL;
27889 }
27890
27891
27892 static PyObject *_wrap_Display_IsPrimary(PyObject *self, PyObject *args, PyObject *kwargs) {
27893 PyObject *resultobj;
27894 wxDisplay *arg1 = (wxDisplay *) 0 ;
27895 bool result;
27896 PyObject * obj0 = 0 ;
27897 char *kwnames[] = {
27898 (char *) "self", NULL
27899 };
27900
27901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
27902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27904 {
27905 PyThreadState* __tstate = wxPyBeginAllowThreads();
27906 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
27907
27908 wxPyEndAllowThreads(__tstate);
27909 if (PyErr_Occurred()) SWIG_fail;
27910 }
27911 {
27912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27913 }
27914 return resultobj;
27915 fail:
27916 return NULL;
27917 }
27918
27919
27920 static PyObject *_wrap_Display_GetModes(PyObject *self, PyObject *args, PyObject *kwargs) {
27921 PyObject *resultobj;
27922 wxDisplay *arg1 = (wxDisplay *) 0 ;
27923 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
27924 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
27925 PyObject *result;
27926 PyObject * obj0 = 0 ;
27927 PyObject * obj1 = 0 ;
27928 char *kwnames[] = {
27929 (char *) "self",(char *) "mode", NULL
27930 };
27931
27932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
27933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27935 if (obj1) {
27936 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27937 SWIG_POINTER_EXCEPTION | 0)) == -1)
27938 SWIG_fail;
27939 if (arg2 == NULL) {
27940 PyErr_SetString(PyExc_TypeError,"null reference");
27941 SWIG_fail;
27942 }
27943 }
27944 {
27945 PyThreadState* __tstate = wxPyBeginAllowThreads();
27946 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
27947
27948 wxPyEndAllowThreads(__tstate);
27949 if (PyErr_Occurred()) SWIG_fail;
27950 }
27951 resultobj = result;
27952 return resultobj;
27953 fail:
27954 return NULL;
27955 }
27956
27957
27958 static PyObject *_wrap_Display_GetCurrentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27959 PyObject *resultobj;
27960 wxDisplay *arg1 = (wxDisplay *) 0 ;
27961 wxVideoMode result;
27962 PyObject * obj0 = 0 ;
27963 char *kwnames[] = {
27964 (char *) "self", NULL
27965 };
27966
27967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
27968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27970 {
27971 PyThreadState* __tstate = wxPyBeginAllowThreads();
27972 result = ((wxDisplay const *)arg1)->GetCurrentMode();
27973
27974 wxPyEndAllowThreads(__tstate);
27975 if (PyErr_Occurred()) SWIG_fail;
27976 }
27977 {
27978 wxVideoMode * resultptr;
27979 resultptr = new wxVideoMode((wxVideoMode &) result);
27980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
27981 }
27982 return resultobj;
27983 fail:
27984 return NULL;
27985 }
27986
27987
27988 static PyObject *_wrap_Display_ChangeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27989 PyObject *resultobj;
27990 wxDisplay *arg1 = (wxDisplay *) 0 ;
27991 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
27992 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
27993 bool result;
27994 PyObject * obj0 = 0 ;
27995 PyObject * obj1 = 0 ;
27996 char *kwnames[] = {
27997 (char *) "self",(char *) "mode", NULL
27998 };
27999
28000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28003 if (obj1) {
28004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28005 SWIG_POINTER_EXCEPTION | 0)) == -1)
28006 SWIG_fail;
28007 if (arg2 == NULL) {
28008 PyErr_SetString(PyExc_TypeError,"null reference");
28009 SWIG_fail;
28010 }
28011 }
28012 {
28013 PyThreadState* __tstate = wxPyBeginAllowThreads();
28014 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28015
28016 wxPyEndAllowThreads(__tstate);
28017 if (PyErr_Occurred()) SWIG_fail;
28018 }
28019 {
28020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28021 }
28022 return resultobj;
28023 fail:
28024 return NULL;
28025 }
28026
28027
28028 static PyObject *_wrap_Display_ResetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28029 PyObject *resultobj;
28030 wxDisplay *arg1 = (wxDisplay *) 0 ;
28031 PyObject * obj0 = 0 ;
28032 char *kwnames[] = {
28033 (char *) "self", NULL
28034 };
28035
28036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28039 {
28040 PyThreadState* __tstate = wxPyBeginAllowThreads();
28041 (arg1)->ResetMode();
28042
28043 wxPyEndAllowThreads(__tstate);
28044 if (PyErr_Occurred()) SWIG_fail;
28045 }
28046 Py_INCREF(Py_None); resultobj = Py_None;
28047 return resultobj;
28048 fail:
28049 return NULL;
28050 }
28051
28052
28053 static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
28054 PyObject *obj;
28055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28056 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28057 Py_INCREF(obj);
28058 return Py_BuildValue((char *)"");
28059 }
28060 static PyMethodDef SwigMethods[] = {
28061 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
28062 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
28063 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
28064 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
28065 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
28066 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
28067 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
28068 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
28069 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
28070 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
28071 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
28072 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
28073 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
28074 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
28075 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
28076 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
28077 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
28078 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
28079 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
28080 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
28081 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
28082 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
28083 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
28084 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
28085 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
28086 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
28087 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
28088 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
28089 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
28090 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
28091 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
28092 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
28093 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
28094 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
28095 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
28096 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
28097 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
28098 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
28099 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
28100 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
28101 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
28102 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
28103 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
28104 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
28105 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
28106 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
28107 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
28108 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
28109 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
28110 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
28111 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
28112 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
28113 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
28114 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
28115 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
28116 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
28117 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
28118 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28119 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28120 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28121 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28122 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
28123 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
28124 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
28125 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28126 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28127 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
28128 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
28129 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
28130 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
28131 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
28132 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28133 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28134 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
28135 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
28136 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
28137 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
28138 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
28139 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
28140 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
28141 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
28142 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
28143 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
28144 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
28145 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
28146 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
28147 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
28148 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
28149 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
28150 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
28151 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
28152 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
28153 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
28154 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
28155 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
28156 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
28157 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
28158 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
28159 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28160 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28161 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28162 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28163 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
28164 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28165 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28166 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
28167 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28168 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28169 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
28170 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
28171 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
28172 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
28173 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
28174 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
28175 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
28176 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
28177 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
28178 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
28179 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
28180 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
28181 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
28182 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
28183 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
28184 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
28185 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
28186 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
28187 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
28188 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
28189 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
28190 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28191 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28192 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28193 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
28194 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
28195 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
28196 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
28197 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
28198 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
28199 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
28200 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
28201 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
28202 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
28203 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28204 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
28205 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
28206 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
28207 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
28208 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
28209 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28210 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
28211 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
28212 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
28213 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
28214 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
28215 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
28216 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
28217 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
28218 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
28219 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
28220 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
28221 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
28222 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
28223 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
28224 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
28225 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
28226 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
28227 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
28228 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
28229 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
28230 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
28231 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28232 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28233 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
28234 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
28235 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
28236 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
28237 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28238 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
28239 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
28240 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
28241 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
28242 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
28243 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
28244 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
28245 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
28246 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
28247 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
28248 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
28249 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
28250 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
28251 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
28252 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
28253 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
28254 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
28255 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
28256 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
28257 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
28258 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
28259 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
28260 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
28261 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28262 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28263 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
28264 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
28265 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
28266 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
28267 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
28268 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28269 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28270 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
28271 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
28272 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
28273 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
28274 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
28275 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
28276 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
28277 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
28278 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
28279 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
28280 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
28281 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
28282 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
28283 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
28284 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
28285 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
28286 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
28287 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
28288 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
28289 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
28290 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28291 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
28292 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
28293 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
28294 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
28295 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
28296 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28297 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
28298 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
28299 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
28300 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
28301 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
28302 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
28303 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
28304 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
28305 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
28306 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
28307 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
28308 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
28309 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
28310 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
28311 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
28312 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
28313 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
28314 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
28315 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
28316 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
28317 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
28318 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
28319 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
28320 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
28321 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28322 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28323 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
28324 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
28325 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
28326 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
28327 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
28328 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28329 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28330 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
28331 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
28332 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
28333 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
28334 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
28335 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
28336 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
28337 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
28338 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
28339 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
28340 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
28341 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
28342 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
28343 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
28344 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
28345 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
28346 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
28347 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
28348 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
28349 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
28350 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
28351 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
28352 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
28353 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
28354 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
28355 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
28356 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
28357 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
28358 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
28359 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
28360 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
28361 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
28362 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
28363 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
28364 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
28365 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
28366 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
28367 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
28368 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
28369 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
28370 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
28371 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
28372 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
28373 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
28374 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
28375 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28376 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28377 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
28378 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
28379 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
28380 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
28381 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
28382 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
28383 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
28384 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
28385 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
28386 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
28387 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
28388 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
28389 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
28390 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
28391 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS },
28392 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
28393 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS },
28394 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
28395 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS },
28396 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS },
28397 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
28398 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
28399 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28400 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
28401 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28402 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
28403 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
28404 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
28405 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28406 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28407 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28408 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
28409 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
28410 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28411 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
28412 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
28413 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
28414 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
28415 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
28416 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
28417 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28418 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
28419 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28420 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
28421 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
28422 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
28423 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28424 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28425 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
28426 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
28427 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
28428 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
28429 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
28430 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
28431 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
28432 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28433 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
28434 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
28435 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
28436 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
28437 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
28438 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
28439 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
28440 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
28441 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
28442 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
28443 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28444 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
28445 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
28446 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28447 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
28448 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
28449 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
28450 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28451 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
28452 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
28453 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
28454 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
28455 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
28456 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
28457 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
28458 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28459 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
28460 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
28461 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
28462 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
28463 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
28464 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
28465 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
28466 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
28467 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
28468 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
28469 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
28470 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
28471 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
28472 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
28473 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
28474 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
28475 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
28476 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
28477 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
28478 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
28479 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
28480 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
28481 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
28482 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
28483 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
28484 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
28485 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28486 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
28487 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
28488 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
28489 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28490 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
28491 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
28492 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
28493 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
28494 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
28495 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
28496 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
28497 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
28498 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
28499 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
28500 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
28501 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
28502 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
28503 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28504 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28505 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
28506 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
28507 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28508 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
28509 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
28510 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
28511 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
28512 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
28513 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
28514 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
28515 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
28516 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
28517 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
28518 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
28519 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
28520 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
28521 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
28522 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
28523 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
28524 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
28525 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
28526 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
28527 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
28528 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
28529 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
28530 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
28531 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
28532 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
28533 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
28534 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
28535 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
28536 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
28537 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
28538 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
28539 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
28540 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
28541 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
28542 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
28543 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
28544 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
28545 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
28546 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28547 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28548 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28549 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28550 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28551 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28552 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
28553 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28554 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28555 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
28556 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
28557 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28558 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28559 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
28560 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
28561 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28562 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
28563 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28564 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
28565 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
28566 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
28567 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
28568 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
28569 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
28570 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
28571 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
28572 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
28573 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
28574 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
28575 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
28576 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
28577 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
28578 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
28579 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
28580 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
28581 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
28582 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
28583 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
28584 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
28585 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28586 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
28587 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
28588 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
28589 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
28590 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
28591 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
28592 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
28593 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
28594 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
28595 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
28596 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
28597 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
28598 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
28599 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
28600 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
28601 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
28602 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
28603 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
28604 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
28605 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
28606 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
28607 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
28608 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
28609 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
28610 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
28611 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
28612 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
28613 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
28614 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
28615 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
28616 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
28617 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
28618 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
28619 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
28620 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
28621 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
28622 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
28623 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
28624 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
28625 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
28626 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
28627 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28628 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
28629 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28630 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28631 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
28632 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28633 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28634 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28635 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
28636 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28637 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28638 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28639 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28640 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
28641 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28642 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28643 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28644 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
28645 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
28646 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
28647 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
28648 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28649 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28650 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
28651 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
28652 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
28653 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28654 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
28655 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
28656 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28657 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28658 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
28659 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
28660 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
28661 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
28662 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
28663 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
28664 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
28665 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
28666 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
28667 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
28668 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28669 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
28670 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
28671 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
28672 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
28673 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
28674 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
28675 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
28676 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
28677 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
28678 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
28679 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
28680 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28681 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28682 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
28683 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
28684 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28685 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28686 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28687 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28688 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28689 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28690 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28691 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
28692 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28693 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28694 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28695 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28696 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28697 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
28698 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
28699 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
28700 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
28701 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
28702 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
28703 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
28704 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
28705 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
28706 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
28707 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
28708 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
28709 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
28710 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
28711 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
28712 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
28713 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
28714 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
28715 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
28716 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28717 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
28718 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28719 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28720 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
28721 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28722 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
28723 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
28724 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
28725 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28726 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28727 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
28728 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
28729 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
28730 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
28731 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
28732 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
28733 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
28734 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
28735 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
28736 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
28737 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28738 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
28739 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28740 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28741 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
28742 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
28743 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28744 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28745 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
28746 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
28747 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
28748 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
28749 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
28750 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
28751 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
28752 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28753 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
28754 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
28755 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
28756 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
28757 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
28758 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
28759 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
28760 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
28761 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
28762 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
28763 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
28764 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
28765 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
28766 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28767 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
28768 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
28769 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28770 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
28771 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
28772 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
28773 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
28774 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
28775 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28776 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
28777 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28778 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
28779 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28780 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28781 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28782 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28783 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
28784 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
28785 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
28786 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28787 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28788 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28789 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28790 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28791 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28792 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
28793 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
28794 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28795 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28796 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28797 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28798 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28799 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28800 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
28801 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
28802 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
28803 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
28804 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
28805 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
28806 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
28807 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
28808 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
28809 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
28810 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
28811 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
28812 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
28813 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
28814 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28815 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28816 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
28817 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
28818 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS },
28819 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS },
28820 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS },
28821 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS },
28822 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS },
28823 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS },
28824 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS },
28825 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS },
28826 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS },
28827 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS },
28828 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS },
28829 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS },
28830 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS },
28831 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS },
28832 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS },
28833 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS },
28834 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS },
28835 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS },
28836 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS },
28837 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS },
28838 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS },
28839 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS },
28840 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS },
28841 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS },
28842 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS },
28843 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS },
28844 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS },
28845 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS },
28846 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS },
28847 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS },
28848 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS },
28849 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
28850 { NULL, NULL }
28851 };
28852
28853
28854 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28855
28856 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28857 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28858 }
28859 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28860 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28861 }
28862 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28863 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28864 }
28865 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28866 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28867 }
28868 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28869 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28870 }
28871 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28872 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28873 }
28874 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
28875 return (void *)((wxEvent *) ((wxTimerEvent *) x));
28876 }
28877 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28878 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28879 }
28880 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28881 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28882 }
28883 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28884 return (void *)((wxEvent *) ((wxPyEvent *) x));
28885 }
28886 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28887 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28888 }
28889 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
28890 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
28891 }
28892 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28893 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28894 }
28895 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28896 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28897 }
28898 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28899 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28900 }
28901 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28902 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28903 }
28904 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28905 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28906 }
28907 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28908 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28909 }
28910 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28911 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28912 }
28913 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28914 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28915 }
28916 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28917 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28918 }
28919 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28920 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28921 }
28922 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28923 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28924 }
28925 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28926 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28927 }
28928 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28929 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28930 }
28931 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28932 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28933 }
28934 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28935 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28936 }
28937 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28938 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28939 }
28940 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28941 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28942 }
28943 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28944 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28945 }
28946 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
28947 return (void *)((wxEvent *) ((wxProcessEvent *) x));
28948 }
28949 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28950 return (void *)((wxEvent *) ((wxShowEvent *) x));
28951 }
28952 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28953 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28954 }
28955 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28956 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28957 }
28958 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28959 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28960 }
28961 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28962 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28963 }
28964 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28965 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28966 }
28967 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28968 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28969 }
28970 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
28971 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
28972 }
28973 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
28974 return (void *)((wxConfigBase *) ((wxConfig *) x));
28975 }
28976 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
28977 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
28978 }
28979 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
28980 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
28981 }
28982 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
28983 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
28984 }
28985 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
28986 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
28987 }
28988 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
28989 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
28990 }
28991 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
28992 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
28993 }
28994 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
28995 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
28996 }
28997 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
28998 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
28999 }
29000 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29001 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29002 }
29003 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29004 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29005 }
29006 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29007 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29008 }
29009 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29010 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29011 }
29012 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29013 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29014 }
29015 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29016 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29017 }
29018 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29019 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29020 }
29021 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29022 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29023 }
29024 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29025 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29026 }
29027 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29028 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29029 }
29030 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29031 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29032 }
29033 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29034 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29035 }
29036 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29037 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29038 }
29039 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29040 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29041 }
29042 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29043 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29044 }
29045 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29046 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29047 }
29048 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29049 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29050 }
29051 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29052 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29053 }
29054 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29055 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29056 }
29057 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29058 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29059 }
29060 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29061 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29062 }
29063 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29064 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29065 }
29066 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29067 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29068 }
29069 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29070 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29071 }
29072 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29073 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29074 }
29075 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29076 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29077 }
29078 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29079 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29080 }
29081 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29082 return (void *)((wxObject *) ((wxSizerItem *) x));
29083 }
29084 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29085 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29086 }
29087 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29088 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29089 }
29090 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29091 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29092 }
29093 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29094 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29095 }
29096 static void *_p_wxSizerTo_p_wxObject(void *x) {
29097 return (void *)((wxObject *) ((wxSizer *) x));
29098 }
29099 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29100 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29101 }
29102 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29103 return (void *)((wxObject *) ((wxFileHistory *) x));
29104 }
29105 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29106 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29107 }
29108 static void *_p_wxEventTo_p_wxObject(void *x) {
29109 return (void *)((wxObject *) ((wxEvent *) x));
29110 }
29111 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29112 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29113 }
29114 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29115 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29116 }
29117 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29118 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29119 }
29120 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29121 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29122 }
29123 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29124 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29125 }
29126 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29127 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29128 }
29129 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29130 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29131 }
29132 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29133 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29134 }
29135 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29136 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29137 }
29138 static void *_p_wxControlTo_p_wxObject(void *x) {
29139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29140 }
29141 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29142 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29143 }
29144 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29145 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29146 }
29147 static void *_p_wxFSFileTo_p_wxObject(void *x) {
29148 return (void *)((wxObject *) ((wxFSFile *) x));
29149 }
29150 static void *_p_wxClipboardTo_p_wxObject(void *x) {
29151 return (void *)((wxObject *) ((wxClipboard *) x));
29152 }
29153 static void *_p_wxPySizerTo_p_wxObject(void *x) {
29154 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29155 }
29156 static void *_p_wxPyEventTo_p_wxObject(void *x) {
29157 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29158 }
29159 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29160 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29161 }
29162 static void *_p_wxShowEventTo_p_wxObject(void *x) {
29163 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29164 }
29165 static void *_p_wxToolTipTo_p_wxObject(void *x) {
29166 return (void *)((wxObject *) ((wxToolTip *) x));
29167 }
29168 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29169 return (void *)((wxObject *) ((wxMenuItem *) x));
29170 }
29171 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29172 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29173 }
29174 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29175 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29176 }
29177 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29178 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29179 }
29180 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29181 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29182 }
29183 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29184 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29185 }
29186 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29187 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29188 }
29189 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29190 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29191 }
29192 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29193 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29194 }
29195 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29196 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29197 }
29198 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29199 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29200 }
29201 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29202 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29203 }
29204 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29205 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29206 }
29207 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29208 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29209 }
29210 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29211 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29212 }
29213 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29214 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29215 }
29216 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29217 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29218 }
29219 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29220 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29221 }
29222 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29223 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29224 }
29225 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29226 return (void *)((wxObject *) ((wxImageHandler *) x));
29227 }
29228 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29229 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29230 }
29231 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29232 return (void *)((wxObject *) ((wxEvtHandler *) x));
29233 }
29234 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29235 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29236 }
29237 static void *_p_wxImageTo_p_wxObject(void *x) {
29238 return (void *)((wxObject *) ((wxImage *) x));
29239 }
29240 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29241 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29242 }
29243 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29244 return (void *)((wxObject *) ((wxSystemOptions *) x));
29245 }
29246 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29247 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29248 }
29249 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29250 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29251 }
29252 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29253 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29254 }
29255 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29256 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29257 }
29258 static void *_p_wxWindowTo_p_wxObject(void *x) {
29259 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29260 }
29261 static void *_p_wxMenuTo_p_wxObject(void *x) {
29262 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29263 }
29264 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29266 }
29267 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29268 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29269 }
29270 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29271 return (void *)((wxObject *) ((wxFileSystem *) x));
29272 }
29273 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29274 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29275 }
29276 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29277 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29278 }
29279 static void *_p_wxPyAppTo_p_wxObject(void *x) {
29280 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29281 }
29282 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29283 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29284 }
29285 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29286 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29287 }
29288 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29289 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29290 }
29291 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29292 return (void *)((wxObject *) ((wxBusyInfo *) x));
29293 }
29294 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29296 }
29297 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29298 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29299 }
29300 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29301 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29302 }
29303 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29304 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29305 }
29306 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29307 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29308 }
29309 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29310 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29311 }
29312 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29314 }
29315 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29316 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29317 }
29318 static void *_p_wxValidatorTo_p_wxObject(void *x) {
29319 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29320 }
29321 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29322 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29323 }
29324 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29325 return (void *)((wxLog *) ((wxLogStderr *) x));
29326 }
29327 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29328 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29329 }
29330 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29331 return (void *)((wxLog *) ((wxLogWindow *) x));
29332 }
29333 static void *_p_wxLogChainTo_p_wxLog(void *x) {
29334 return (void *)((wxLog *) ((wxLogChain *) x));
29335 }
29336 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29337 return (void *)((wxLog *) ((wxLogGui *) x));
29338 }
29339 static void *_p_wxPyLogTo_p_wxLog(void *x) {
29340 return (void *)((wxLog *) ((wxPyLog *) x));
29341 }
29342 static void *_p_wxControlTo_p_wxWindow(void *x) {
29343 return (void *)((wxWindow *) ((wxControl *) x));
29344 }
29345 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29346 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29347 }
29348 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29349 return (void *)((wxWindow *) ((wxMenuBar *) x));
29350 }
29351 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29352 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29353 }
29354 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29355 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29356 }
29357 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}};
29358 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}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444
29445 static swig_type_info *swig_types_initial[] = {
29446 _swigt__p_wxLogChain,
29447 _swigt__p_wxMutexGuiLocker,
29448 _swigt__p_wxMetafile,
29449 _swigt__p_wxFileHistory,
29450 _swigt__p_wxLog,
29451 _swigt__p_wxDateTime__TimeZone,
29452 _swigt__p_wxMenu,
29453 _swigt__p_wxEvent,
29454 _swigt__p_wxConfigBase,
29455 _swigt__p_wxDisplay,
29456 _swigt__p_wxFileType,
29457 _swigt__p_wxLogGui,
29458 _swigt__p_wxFont,
29459 _swigt__p_wxDataFormat,
29460 _swigt__p_wxTimerEvent,
29461 _swigt__p_wxCaret,
29462 _swigt__p_int,
29463 _swigt__p_wxSize,
29464 _swigt__p_wxClipboard,
29465 _swigt__p_wxStopWatch,
29466 _swigt__p_wxDC,
29467 _swigt__p_wxClipboardLocker,
29468 _swigt__p_wxIcon,
29469 _swigt__p_wxLogStderr,
29470 _swigt__p_wxLogTextCtrl,
29471 _swigt__p_wxTextCtrl,
29472 _swigt__p_wxBusyCursor,
29473 _swigt__p_wxPyTextDataObject,
29474 _swigt__p_wxBitmapDataObject,
29475 _swigt__p_wxTextDataObject,
29476 _swigt__p_wxDataObject,
29477 _swigt__p_wxPyBitmapDataObject,
29478 _swigt__p_wxFileDataObject,
29479 _swigt__p_wxCustomDataObject,
29480 _swigt__p_wxURLDataObject,
29481 _swigt__p_wxMetafileDataObject,
29482 _swigt__p_wxSound,
29483 _swigt__p_wxTimerRunner,
29484 _swigt__p_wxLogWindow,
29485 _swigt__p_wxTimeSpan,
29486 _swigt__p_wxArrayString,
29487 _swigt__p_wxWindowDisabler,
29488 _swigt__p_wxToolTip,
29489 _swigt__p_wxDataObjectComposite,
29490 _swigt__p_wxFileConfig,
29491 _swigt__p_wxSystemSettings,
29492 _swigt__p_wxVideoMode,
29493 _swigt__p_wxPyDataObjectSimple,
29494 _swigt__p_wxDataObjectSimple,
29495 _swigt__p_wxEvtHandler,
29496 _swigt__p_wxRect,
29497 _swigt__p_char,
29498 _swigt__p_wxSingleInstanceChecker,
29499 _swigt__p_wxFileTypeInfo,
29500 _swigt__p_wxFrame,
29501 _swigt__p_wxTimer,
29502 _swigt__p_wxMimeTypesManager,
29503 _swigt__p_wxPyArtProvider,
29504 _swigt__p_wxPyTipProvider,
29505 _swigt__p_wxTipProvider,
29506 _swigt__p_wxJoystick,
29507 _swigt__p_wxSystemOptions,
29508 _swigt__p_wxPoint,
29509 _swigt__p_wxJoystickEvent,
29510 _swigt__p_wxCursor,
29511 _swigt__p_wxObject,
29512 _swigt__p_wxOutputStream,
29513 _swigt__p_wxDateTime,
29514 _swigt__p_wxPyDropSource,
29515 _swigt__p_wxWindow,
29516 _swigt__p_wxString,
29517 _swigt__p_wxPyProcess,
29518 _swigt__p_wxBitmap,
29519 _swigt__p_wxConfig,
29520 _swigt__p_wxChar,
29521 _swigt__p_wxBusyInfo,
29522 _swigt__p_wxPyDropTarget,
29523 _swigt__p_wxPyTextDropTarget,
29524 _swigt__p_wxPyFileDropTarget,
29525 _swigt__p_wxProcessEvent,
29526 _swigt__p_wxPyLog,
29527 _swigt__p_wxLogNull,
29528 _swigt__p_wxColour,
29529 _swigt__p_wxByte,
29530 _swigt__p_wxConfigPathChanger,
29531 _swigt__p_wxPyTimer,
29532 _swigt__p_wxDateSpan,
29533 0
29534 };
29535
29536
29537 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29538
29539 static swig_const_info swig_const_table[] = {
29540 { SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29541 { SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29542 { SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29543 { SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29544 { SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
29545 {0}};
29546
29547 #ifdef __cplusplus
29548 }
29549 #endif
29550
29551 #ifdef __cplusplus
29552 extern "C"
29553 #endif
29554 SWIGEXPORT(void) SWIG_init(void) {
29555 static PyObject *SWIG_globals = 0;
29556 static int typeinit = 0;
29557 PyObject *m, *d;
29558 int i;
29559 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29560 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29561 d = PyModule_GetDict(m);
29562
29563 if (!typeinit) {
29564 for (i = 0; swig_types_initial[i]; i++) {
29565 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29566 }
29567 typeinit = 1;
29568 }
29569 SWIG_InstallConstants(d,swig_const_table);
29570
29571 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29572 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29573 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29574 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29575 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29576 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29577 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29578 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29579 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29580 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29581 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29582 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29583 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29584 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29585 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29586 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29587 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29588 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29589 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29590 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29591 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29592 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29593 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29594 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29595 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29596 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29597 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29598 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29599 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29600 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29601 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29602 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29603 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29604 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29605 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29606 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29607 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29608 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29609 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29610 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29611 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29612 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29613 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29614 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29615 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29616 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29617 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29618 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29619 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29620 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29621 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29622 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29623 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29624 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29625 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29626 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29627 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29628 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29629 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29630 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29631 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29632 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29633 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29634 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29635 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29636 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29637 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29638 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29639 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29640 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29641 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29642 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29643 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29644 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29645 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29646 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29647 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29648 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29649 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29650 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29651 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29652 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29653 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29654 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29655 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29656 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29657 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29658 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29659 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29660 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29661 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
29662 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29663 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29664 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29665 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29666 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29667 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29668 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29669 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
29670 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
29671 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29672 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29673 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29674 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29675 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29676 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29677 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29678 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29679 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29680 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29681 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29682 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29683 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29684 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29685 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29686 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29687 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29688 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29689 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29690 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29691 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29692 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29693 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29694 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29695 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29696 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29697 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29698 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29699 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29700 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29701 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29702 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29703 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29704 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29705 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29706 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29707 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29708 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29709 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29710 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29711 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29712 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29713 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29714 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29715 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
29716 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
29717 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29718 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29719 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29720 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
29721
29722 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29723
29724 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29725 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29726 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29727 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29728 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29729 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29730 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
29731 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29732 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29733 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29734 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
29735 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29736 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29737 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29738 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29739 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29740 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29741 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29742 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
29743 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29744 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29745 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29746 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29747 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29748 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29749 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
29750 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29751 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29752 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29753 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29754 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29755 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
29756 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
29757 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
29758 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
29759 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
29760 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
29761 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
29762 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
29763 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
29764 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
29765 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
29766 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
29767 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
29768 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
29769 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
29770 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
29771 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
29772 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
29773 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
29774 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
29775 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
29776 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
29777 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
29778 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
29779 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
29780 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
29781 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
29782
29783 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29784
29785 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
29786 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
29787 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
29788 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
29789 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
29790 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
29791 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
29792 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
29793 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
29794 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
29795 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
29796 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
29797 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
29798 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
29799 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
29800 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
29801 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
29802 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
29803 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
29804 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
29805 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
29806 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
29807 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
29808 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
29809 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
29810 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
29811 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
29812 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
29813 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
29814 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
29815 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
29816 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
29817 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
29818 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
29819 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
29820 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
29821 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
29822 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
29823 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
29824 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
29825 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
29826 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
29827 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
29828 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
29829 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
29830 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
29831 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
29832 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
29833 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
29834 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
29835 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
29836 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
29837 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
29838 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
29839 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
29840 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
29841 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
29842 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
29843 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
29844 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
29845 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
29846 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
29847 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
29848 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
29849 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
29850 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
29851 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
29852 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
29853 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
29854 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
29855 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
29856 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
29857 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
29858 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
29859 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
29860 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
29861 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
29862 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
29863 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
29864 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
29865 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
29866 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
29867 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
29868 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
29869 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
29870 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
29871 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
29872 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
29873 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
29874 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
29875 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
29876 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
29877 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
29878 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
29879 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
29880 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
29881 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
29882 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
29883 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
29884 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
29885 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
29886 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
29887 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
29888 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
29889 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
29890 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
29891 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
29892 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
29893 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
29894 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
29895 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
29896 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
29897 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
29898 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
29899 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
29900 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
29901 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
29902 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
29903 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
29904 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
29905 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
29906 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
29907 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
29908 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
29909 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
29910 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
29911 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
29912 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
29913 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
29914 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
29915 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
29916 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
29917 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
29918 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
29919 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
29920 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
29921 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
29922 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
29923 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
29924 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
29925 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
29926 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
29927 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
29928 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
29929 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
29930 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
29931 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
29932 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
29933 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
29934 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
29935 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
29936 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
29937 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
29938 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
29939 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
29940 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
29941 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
29942 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
29943 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
29944 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
29945 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
29946 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
29947 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
29948 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
29949 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
29950 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
29951 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
29952 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
29953 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
29954 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
29955 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
29956 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
29957 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
29958 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
29959 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
29960 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
29961 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
29962 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
29963 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
29964 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
29965 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
29966 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
29967 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
29968 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
29969 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
29970 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
29971 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
29972 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
29973 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
29974 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
29975 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
29976 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
29977 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
29978 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
29979 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
29980 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
29981 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
29982 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
29983 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
29984 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
29985
29986 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29987 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29988 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29989 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29990
29991 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
29992 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
29993 }
29994