]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _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_wxFileHistory swig_types[2]
212 #define SWIGTYPE_p_wxLog swig_types[3]
213 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
214 #define SWIGTYPE_p_wxMenu swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxConfigBase swig_types[7]
217 #define SWIGTYPE_p_wxDisplay swig_types[8]
218 #define SWIGTYPE_p_wxFileType swig_types[9]
219 #define SWIGTYPE_p_wxLogGui swig_types[10]
220 #define SWIGTYPE_p_wxFont swig_types[11]
221 #define SWIGTYPE_p_wxDataFormat swig_types[12]
222 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
223 #define SWIGTYPE_p_wxCaret swig_types[14]
224 #define SWIGTYPE_p_int swig_types[15]
225 #define SWIGTYPE_p_wxSize swig_types[16]
226 #define SWIGTYPE_p_wxClipboard swig_types[17]
227 #define SWIGTYPE_p_wxStopWatch swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
230 #define SWIGTYPE_p_wxIcon swig_types[21]
231 #define SWIGTYPE_p_wxLogStderr swig_types[22]
232 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
233 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
235 #define SWIGTYPE_p_wxPyBitmapDataObject 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_wxFileDataObject swig_types[31]
241 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
242 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
243 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
244 #define SWIGTYPE_p_wxSound swig_types[35]
245 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
246 #define SWIGTYPE_p_wxLogWindow swig_types[37]
247 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
248 #define SWIGTYPE_p_wxArrayString swig_types[39]
249 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
250 #define SWIGTYPE_p_wxToolTip swig_types[41]
251 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
252 #define SWIGTYPE_p_wxFileConfig swig_types[43]
253 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
254 #define SWIGTYPE_p_wxVideoMode swig_types[45]
255 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
256 #define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_char swig_types[50]
260 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
261 #define SWIGTYPE_p_wxFileTypeInfo swig_types[52]
262 #define SWIGTYPE_p_wxFrame swig_types[53]
263 #define SWIGTYPE_p_wxTimer swig_types[54]
264 #define SWIGTYPE_p_wxMimeTypesManager swig_types[55]
265 #define SWIGTYPE_p_wxPyArtProvider swig_types[56]
266 #define SWIGTYPE_p_wxPyTipProvider swig_types[57]
267 #define SWIGTYPE_p_wxTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxJoystick swig_types[59]
269 #define SWIGTYPE_p_wxSystemOptions swig_types[60]
270 #define SWIGTYPE_p_wxPoint swig_types[61]
271 #define SWIGTYPE_p_wxJoystickEvent swig_types[62]
272 #define SWIGTYPE_p_wxCursor swig_types[63]
273 #define SWIGTYPE_p_wxObject swig_types[64]
274 #define SWIGTYPE_p_wxOutputStream swig_types[65]
275 #define SWIGTYPE_p_wxDateTime swig_types[66]
276 #define SWIGTYPE_p_wxPyDropSource swig_types[67]
277 #define SWIGTYPE_p_wxWindow swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyProcess swig_types[70]
280 #define SWIGTYPE_p_wxBitmap swig_types[71]
281 #define SWIGTYPE_p_wxConfig swig_types[72]
282 #define SWIGTYPE_p_wxChar swig_types[73]
283 #define SWIGTYPE_p_wxBusyInfo swig_types[74]
284 #define SWIGTYPE_p_wxPyDropTarget swig_types[75]
285 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxProcessEvent swig_types[78]
288 #define SWIGTYPE_p_wxPyLog swig_types[79]
289 #define SWIGTYPE_p_wxLogNull swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
292 #define SWIGTYPE_p_wxPyTimer swig_types[83]
293 #define SWIGTYPE_p_wxDateSpan swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _misc_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_misc_
303
304 #define SWIG_name "_misc_"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351 #include "wx/wxPython/pyistream.h"
352
353 static const wxString wxPyEmptyString(wxEmptyString);
354
355
356
357 #include <limits.h>
358
359
360 SWIGSTATICINLINE(long)
361 SWIG_CheckLongInRange(long value, const char* type,
362 long min_value, long max_value)
363 {
364 if (!PyErr_Occurred()) {
365 if (value < min_value) {
366 PyObject *err =
367 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
368 value, type, min_value);
369
370 PyErr_SetObject(PyExc_OverflowError, err);
371 Py_DECREF(err);
372 } else if (value > max_value) {
373 PyObject *err =
374 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
375 value, type, max_value);
376 PyErr_SetObject(PyExc_OverflowError, err);
377 Py_DECREF(err);
378 }
379 }
380 return value;
381 }
382
383
384 SWIGSTATICINLINE(long)
385 SWIG_AsLong(PyObject * obj)
386 {
387 if (PyNumber_Check(obj))
388 return PyInt_AsLong(obj);
389 else {
390 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
391 obj->ob_type->tp_name);
392 PyErr_SetObject(PyExc_TypeError, errmsg);
393 Py_DECREF(errmsg);
394 return 0;
395 }
396 }
397
398
399 #if INT_MAX != LONG_MAX
400 SWIGSTATICINLINE(int)
401 SWIG_AsInt(PyObject *obj)
402 {
403 return swig_numeric_cast(int,
404 SWIG_CheckLongInRange(SWIG_AsLong(obj),
405 "int", INT_MIN, INT_MAX));
406 }
407 #else
408 #define SWIG_AsInt SWIG_AsLong
409 #endif
410
411
412 SWIGSTATICINLINE(int)
413 SWIG_CheckInt(PyObject* obj)
414 {
415 SWIG_AsInt(obj);
416 if (PyErr_Occurred()) {
417 PyErr_Clear();
418 return 0;
419 } else {
420 return 1;
421 }
422 }
423
424 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
425 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
426 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
427
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject* obj)
430 {
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438 }
439
440
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject *obj)
443 {
444 return PyObject_IsTrue(obj) ? true : false;
445 }
446
447
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject* obj)
450 {
451 SWIG_AsBool(obj);
452 if (PyErr_Occurred()) {
453 PyErr_Clear();
454 return 0;
455 } else {
456 return 1;
457 }
458 }
459
460
461 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
462 PyObject* o2;
463 PyObject* o3;
464
465 if (!target) {
466 target = o;
467 } else if (target == Py_None) {
468 Py_DECREF(Py_None);
469 target = o;
470 } else {
471 if (!PyTuple_Check(target)) {
472 o2 = target;
473 target = PyTuple_New(1);
474 PyTuple_SetItem(target, 0, o2);
475 }
476 o3 = PyTuple_New(1);
477 PyTuple_SetItem(o3, 0, o);
478
479 o2 = target;
480 target = PySequence_Concat(o2, o3);
481 Py_DECREF(o2);
482 Py_DECREF(o3);
483 }
484 return target;
485 }
486
487
488 long wxGetFreeMemory()
489 { wxPyRaiseNotImplemented(); return 0; }
490
491
492 SWIGSTATICINLINE(unsigned long)
493 SWIG_AsUnsignedLong(PyObject * obj)
494 {
495 if (PyLong_Check(obj)) {
496 return PyLong_AsUnsignedLong(obj);
497 } else {
498 long i = SWIG_AsLong(obj);
499 if ( !PyErr_Occurred() && (i < 0)) {
500 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
501 }
502 return i;
503 }
504 }
505
506
507 SWIGSTATICINLINE(int)
508 SWIG_CheckUnsignedLong(PyObject* obj)
509 {
510 SWIG_AsUnsignedLong(obj);
511 if (PyErr_Occurred()) {
512 PyErr_Clear();
513 return 0;
514 } else {
515 return 1;
516 }
517 }
518
519
520 SWIGSTATICINLINE(PyObject* )
521 SWIG_FromUnsignedLong(unsigned long value)
522 {
523 return (value > LONG_MAX) ?
524 PyLong_FromUnsignedLong(value)
525 : PyInt_FromLong(swig_numeric_cast(long,value));
526 }
527
528
529 void wxWakeUpMainThread() {}
530
531
532 bool wxThread_IsMain() {
533 #ifdef WXP_WITH_THREAD
534 return wxThread::IsMain();
535 #else
536 return True;
537 #endif
538 }
539
540
541 int wxCaret_GetBlinkTime() {
542 return wxCaret::GetBlinkTime();
543 }
544
545 void wxCaret_SetBlinkTime(int milliseconds) {
546 wxCaret::SetBlinkTime(milliseconds);
547 }
548
549
550 #include <wx/snglinst.h>
551
552
553 #ifdef __WXMSW__
554 #include <wx/msw/private.h>
555 #include <wx/dynload.h>
556 #endif
557
558
559
560 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
561 {
562 #ifdef __WXMSW__
563
564 switch (method)
565 {
566 case 1:
567 // This one only partially works. Appears to be an undocumented
568 // "standard" convention that not all widgets adhear to. For
569 // example, for some widgets backgrounds or non-client areas may
570 // not be painted.
571 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
572 break;
573
574 case 2:
575 // This one works much better, except for on XP. On Win2k nearly
576 // all widgets and their children are captured correctly[**]. On
577 // XP with Themes activated most native widgets draw only
578 // partially, if at all. Without themes it works just like on
579 // Win2k.
580 //
581 // ** For example the radio buttons in a wxRadioBox are not its
582 // children by default, but you can capture it via the panel
583 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
584 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
585 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
586 PRF_ERASEBKGND | PRF_OWNED );
587 break;
588
589 case 3:
590 // This one is only defined in the latest SDK and is only
591 // available on XP. MSDN says it is similar to sending WM_PRINT
592 // so I expect that it will work similar to the above. Since it
593 // is avaialble only on XP, it can't be compiled like this and
594 // will have to be loaded dynamically.
595 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
596
597 // fall through
598
599 case 4:
600 // Use PrintWindow if available, or fallback to WM_PRINT
601 // otherwise. Unfortunately using PrintWindow is even worse than
602 // WM_PRINT. For most native widgets nothing is drawn to the dc
603 // at all, with or without Themes.
604 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
605 static bool s_triedToLoad = False;
606 static PrintWindow_t pfnPrintWindow = NULL;
607 if ( !s_triedToLoad )
608 {
609
610 s_triedToLoad = True;
611 wxDynamicLibrary dllUser32(_T("user32.dll"));
612 if ( dllUser32.IsLoaded() )
613 {
614 wxLogNull nolog; // Don't report errors here
615 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
616 }
617 }
618 if (pfnPrintWindow)
619 {
620 printf("Using PrintWindow\n");
621 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
622 }
623 else
624 {
625 printf("Using WM_PRINT\n");
626 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
627 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
628 }
629 }
630 #endif
631 }
632
633
634
635 #include <wx/tipdlg.h>
636
637
638 class wxPyTipProvider : public wxTipProvider {
639 public:
640 wxPyTipProvider(size_t currentTip)
641 : wxTipProvider(currentTip) {}
642
643 DEC_PYCALLBACK_STRING__pure(GetTip);
644 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
645 PYPRIVATE;
646 };
647
648 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
649 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
650
651
652 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
653
654 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
655
656 void wxPyTimer::Notify() {
657 bool found;
658 bool blocked = wxPyBeginBlockThreads();
659 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
660 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
661 wxPyEndBlockThreads(blocked);
662 if (! found)
663 wxTimer::Notify();
664 }
665 void wxPyTimer::base_Notify() {
666 wxTimer::Notify();
667 }
668
669
670
671 SWIGSTATICINLINE(PyObject *)
672 SWIG_FromCharPtr(const char* cptr)
673 {
674 size_t size = cptr ? strlen(cptr) : 0;
675 if (cptr) {
676 if (size > INT_MAX) {
677 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
678 SWIG_TypeQuery("char *"), 0);
679 } else {
680 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
681 }
682 } else {
683 Py_INCREF(Py_None);
684 return Py_None;
685 }
686 }
687
688
689 SWIGSTATICINLINE(unsigned long)
690 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
691 unsigned long max_value)
692 {
693 if (!PyErr_Occurred()) {
694 if (value > max_value) {
695 PyObject *err =
696 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
697 value, type, max_value);
698 PyErr_SetObject(PyExc_OverflowError, err);
699 Py_DECREF(err);
700 }
701 }
702 return value;
703 }
704
705
706 #if UINT_MAX != ULONG_MAX
707 SWIGSTATICINLINE(unsigned int)
708 SWIG_AsUnsignedInt(PyObject *obj)
709 {
710 return swig_numeric_cast(unsigned int,
711 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
712 "unsigned int", UINT_MAX));
713 }
714 #else
715 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
716 #endif
717
718
719 SWIGSTATICINLINE(int)
720 SWIG_CheckUnsignedInt(PyObject* obj)
721 {
722 SWIG_AsUnsignedInt(obj);
723 if (PyErr_Occurred()) {
724 PyErr_Clear();
725 return 0;
726 } else {
727 return 1;
728 }
729 }
730
731 wxString Log_TimeStamp(){
732 wxString msg;
733 wxLog::TimeStamp(&msg);
734 return msg;
735 }
736 void wxLog_Destroy(wxLog *self){ delete self; }
737
738 // A wxLog class that can be derived from in wxPython
739 class wxPyLog : public wxLog {
740 public:
741 wxPyLog() : wxLog() {}
742
743 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
744 bool found;
745 bool blocked = wxPyBeginBlockThreads();
746 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
747 PyObject* s = wx2PyString(szString);
748 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
749 Py_DECREF(s);
750 }
751 wxPyEndBlockThreads(blocked);
752 if (! found)
753 wxLog::DoLog(level, szString, t);
754 }
755
756 virtual void DoLogString(const wxChar *szString, time_t t) {
757 bool found;
758 bool blocked = wxPyBeginBlockThreads();
759 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
760 PyObject* s = wx2PyString(szString);
761 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
762 Py_DECREF(s);
763 }
764 wxPyEndBlockThreads(blocked);
765 if (! found)
766 wxLog::DoLogString(szString, t);
767 }
768
769 PYPRIVATE;
770 };
771
772
773
774
775 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
776
777
778 #include <wx/joystick.h>
779
780
781 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
782 // A C++ stub class for wxJoystick for platforms that don't have it.
783 class wxJoystick : public wxObject {
784 public:
785 wxJoystick(int joystick = wxJOYSTICK1) {
786 bool blocked = wxPyBeginBlockThreads();
787 PyErr_SetString(PyExc_NotImplementedError,
788 "wxJoystick is not available on this platform.");
789 wxPyEndBlockThreads(blocked);
790 }
791 wxPoint GetPosition() { return wxPoint(-1,-1); }
792 int GetZPosition() { return -1; }
793 int GetButtonState() { return -1; }
794 int GetPOVPosition() { return -1; }
795 int GetPOVCTSPosition() { return -1; }
796 int GetRudderPosition() { return -1; }
797 int GetUPosition() { return -1; }
798 int GetVPosition() { return -1; }
799 int GetMovementThreshold() { return -1; }
800 void SetMovementThreshold(int threshold) {}
801
802 bool IsOk(void) { return False; }
803 int GetNumberJoysticks() { return -1; }
804 int GetManufacturerId() { return -1; }
805 int GetProductId() { return -1; }
806 wxString GetProductName() { return wxEmptyString; }
807 int GetXMin() { return -1; }
808 int GetYMin() { return -1; }
809 int GetZMin() { return -1; }
810 int GetXMax() { return -1; }
811 int GetYMax() { return -1; }
812 int GetZMax() { return -1; }
813 int GetNumberButtons() { return -1; }
814 int GetNumberAxes() { return -1; }
815 int GetMaxButtons() { return -1; }
816 int GetMaxAxes() { return -1; }
817 int GetPollingMin() { return -1; }
818 int GetPollingMax() { return -1; }
819 int GetRudderMin() { return -1; }
820 int GetRudderMax() { return -1; }
821 int GetUMin() { return -1; }
822 int GetUMax() { return -1; }
823 int GetVMin() { return -1; }
824 int GetVMax() { return -1; }
825
826 bool HasRudder() { return False; }
827 bool HasZ() { return False; }
828 bool HasU() { return False; }
829 bool HasV() { return False; }
830 bool HasPOV() { return False; }
831 bool HasPOV4Dir() { return False; }
832 bool HasPOVCTS() { return False; }
833
834 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
835 bool ReleaseCapture() { return False; }
836 };
837 #endif
838
839
840 #include <wx/sound.h>
841
842
843 #if !wxUSE_SOUND
844 // A C++ stub class for wxWave for platforms that don't have it.
845 class wxSound : public wxObject
846 {
847 public:
848 wxSound() {
849 bool blocked = wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked);
853 }
854 wxSound(const wxString&/*, bool*/) {
855 bool blocked = wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked);
859 }
860 wxSound(int, const wxByte*) {
861 bool blocked = wxPyBeginBlockThreads();
862 PyErr_SetString(PyExc_NotImplementedError,
863 "wxSound is not available on this platform.");
864 wxPyEndBlockThreads(blocked);
865 }
866
867 ~wxSound() {};
868
869 bool Create(const wxString&/*, bool*/) { return false; }
870 bool Create(int, const wxByte*) { return false; };
871 bool IsOk() { return false; };
872 bool Play(unsigned) const { return false; }
873 static bool Play(const wxString&, unsigned) { return false; }
874 static void Stop() {}
875 };
876
877 #endif
878
879 wxSound *new_wxSound(wxString const &fileName){
880 if (fileName.Length() == 0)
881 return new wxSound;
882 else
883 return new wxSound(fileName);
884 }
885 wxSound *new_wxSound(PyObject *data){
886 unsigned char* buffer; int size;
887 wxSound *sound = NULL;
888
889 bool blocked = wxPyBeginBlockThreads();
890 if (!PyArg_Parse(data, "t#", &buffer, &size))
891 goto done;
892 sound = new wxSound(size, buffer);
893 done:
894 wxPyEndBlockThreads(blocked);
895 return sound;
896 }
897 bool wxSound_CreateFromData(wxSound *self,PyObject *data){
898 #ifndef __WXMAC__
899 unsigned char* buffer;
900 int size;
901 bool rv = False;
902
903 bool blocked = wxPyBeginBlockThreads();
904 if (!PyArg_Parse(data, "t#", &buffer, &size))
905 goto done;
906 rv = self->Create(size, buffer);
907 done:
908 wxPyEndBlockThreads(blocked);
909 return rv;
910 #else
911 bool blocked = wxPyBeginBlockThreads();
912 PyErr_SetString(PyExc_NotImplementedError,
913 "Create from data is not available on this platform.");
914 wxPyEndBlockThreads(blocked);
915 return False;
916 #endif
917 }
918
919 #include <wx/mimetype.h>
920
921 PyObject *wxFileType_GetMimeType(wxFileType *self){
922 wxString str;
923 if (self->GetMimeType(&str))
924 return wx2PyString(str);
925 else
926 RETURN_NONE();
927 }
928 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
929 wxArrayString arr;
930 if (self->GetMimeTypes(arr))
931 return wxArrayString2PyList_helper(arr);
932 else
933 RETURN_NONE();
934 }
935 PyObject *wxFileType_GetExtensions(wxFileType *self){
936 wxArrayString arr;
937 if (self->GetExtensions(arr))
938 return wxArrayString2PyList_helper(arr);
939 else
940 RETURN_NONE();
941 }
942 wxIcon *wxFileType_GetIcon(wxFileType *self){
943 wxIconLocation loc;
944 if (self->GetIcon(&loc))
945 return new wxIcon(loc);
946 else
947 return NULL;
948 }
949 PyObject *wxFileType_GetIconInfo(wxFileType *self){
950 wxIconLocation loc;
951 if (self->GetIcon(&loc)) {
952 wxString iconFile = loc.GetFileName();
953 int iconIndex = -1;
954
955
956
957 // Make a tuple and put the values in it
958 bool blocked = wxPyBeginBlockThreads();
959 PyObject* tuple = PyTuple_New(3);
960 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
961 wxT("wxIcon"), True));
962 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
963 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
964 wxPyEndBlockThreads(blocked);
965 return tuple;
966 }
967 else
968 RETURN_NONE();
969 }
970 PyObject *wxFileType_GetDescription(wxFileType *self){
971 wxString str;
972 if (self->GetDescription(&str))
973 return wx2PyString(str);
974 else
975 RETURN_NONE();
976 }
977 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
978 wxString str;
979 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
980 return wx2PyString(str);
981 else
982 RETURN_NONE();
983 }
984 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
985 wxString str;
986 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
987 return wx2PyString(str);
988 else
989 RETURN_NONE();
990 }
991 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
992 wxArrayString verbs;
993 wxArrayString commands;
994 if (self->GetAllCommands(&verbs, &commands,
995 wxFileType::MessageParameters(filename, mimetype))) {
996 bool blocked = wxPyBeginBlockThreads();
997 PyObject* tuple = PyTuple_New(2);
998 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
999 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
1000 wxPyEndBlockThreads(blocked);
1001 return tuple;
1002 }
1003 else
1004 RETURN_NONE();
1005 }
1006 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
1007 return wxFileType::ExpandCommand(command,
1008 wxFileType::MessageParameters(filename, mimetype));
1009 }
1010 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
1011 wxArrayString arr;
1012 self->EnumAllFileTypes(arr);
1013 return wxArrayString2PyList_helper(arr);
1014 }
1015
1016 #include <wx/artprov.h>
1017
1018 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
1019 static const wxString wxPyART_MENU(wxART_MENU);
1020 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
1021 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
1022 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
1023 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
1024 static const wxString wxPyART_OTHER(wxART_OTHER);
1025 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
1026 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
1027 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
1028 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
1029 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
1030 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
1031 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
1032 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
1033 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
1034 static const wxString wxPyART_GO_UP(wxART_GO_UP);
1035 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
1036 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
1037 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
1038 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
1039 static const wxString wxPyART_PRINT(wxART_PRINT);
1040 static const wxString wxPyART_HELP(wxART_HELP);
1041 static const wxString wxPyART_TIP(wxART_TIP);
1042 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
1043 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
1044 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
1045 static const wxString wxPyART_FOLDER(wxART_FOLDER);
1046 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1047 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1048 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1049 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1050 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1051 static const wxString wxPyART_ERROR(wxART_ERROR);
1052 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1053 static const wxString wxPyART_WARNING(wxART_WARNING);
1054 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1055 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1056 // Python aware wxArtProvider
1057 class wxPyArtProvider : public wxArtProvider {
1058 public:
1059
1060 virtual wxBitmap CreateBitmap(const wxArtID& id,
1061 const wxArtClient& client,
1062 const wxSize& size) {
1063 wxBitmap rval = wxNullBitmap;
1064 bool blocked = wxPyBeginBlockThreads();
1065 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1066 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1067 PyObject* ro;
1068 wxBitmap* ptr;
1069 PyObject* s1, *s2;
1070 s1 = wx2PyString(id);
1071 s2 = wx2PyString(client);
1072 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1073 Py_DECREF(so);
1074 Py_DECREF(s1);
1075 Py_DECREF(s2);
1076 if (ro) {
1077 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1078 rval = *ptr;
1079 Py_DECREF(ro);
1080 }
1081 }
1082 wxPyEndBlockThreads(blocked);
1083 return rval;
1084 }
1085
1086 PYPRIVATE;
1087 };
1088
1089 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
1090
1091
1092
1093 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1094 PyObject* ret = PyTuple_New(3);
1095 if (ret) {
1096 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1097 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1098 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1099 }
1100 return ret;
1101 }
1102
1103 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1104 bool cont;
1105 long index = 0;
1106 wxString value;
1107
1108 cont = self->GetFirstGroup(value, index);
1109 return __EnumerationHelper(cont, value, index);
1110 }
1111 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1112 bool cont;
1113 wxString value;
1114
1115 cont = self->GetNextGroup(value, index);
1116 return __EnumerationHelper(cont, value, index);
1117 }
1118 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1119 bool cont;
1120 long index = 0;
1121 wxString value;
1122
1123 cont = self->GetFirstEntry(value, index);
1124 return __EnumerationHelper(cont, value, index);
1125 }
1126 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1127 bool cont;
1128 wxString value;
1129
1130 cont = self->GetNextEntry(value, index);
1131 return __EnumerationHelper(cont, value, index);
1132 }
1133 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1134 long rv;
1135 self->Read(key, &rv, defaultVal);
1136 return rv;
1137 }
1138
1139 SWIGSTATICINLINE(double)
1140 SWIG_AsDouble(PyObject *obj)
1141 {
1142 if (PyNumber_Check(obj))
1143 return PyFloat_AsDouble(obj);
1144 else {
1145 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1146 obj->ob_type->tp_name);
1147 PyErr_SetObject(PyExc_TypeError, errmsg);
1148 Py_DECREF(errmsg);
1149 return 0;
1150 }
1151 }
1152
1153
1154 SWIGSTATICINLINE(int)
1155 SWIG_CheckDouble(PyObject* obj)
1156 {
1157 SWIG_AsDouble(obj);
1158 if (PyErr_Occurred()) {
1159 PyErr_Clear();
1160 return 0;
1161 } else {
1162 return 1;
1163 }
1164 }
1165
1166 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1167 double rv;
1168 self->Read(key, &rv, defaultVal);
1169 return rv;
1170 }
1171 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1172 bool rv;
1173 self->Read(key, &rv, defaultVal);
1174 return rv;
1175 }
1176
1177 #include <wx/datetime.h>
1178
1179
1180 static const wxString wxPyDateFormatStr(wxT("%c"));
1181 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1182
1183 #define LOCAL_TZ wxDateTime::Local
1184
1185
1186 #if UINT_MAX < LONG_MAX
1187 #define SWIG_FromUnsignedInt SWIG_FromLong
1188 #else
1189 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1190 #endif
1191
1192 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1193 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1194 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1195 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1196 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
1197 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
1198 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
1199 return (*self < *other);
1200 }
1201 bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
1202 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
1203 return (*self <= *other);
1204 }
1205 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
1206 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
1207 return (*self > *other);
1208 }
1209 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
1210 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
1211 return (*self >= *other);
1212 }
1213 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
1214 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
1215 return (*self == *other);
1216 }
1217 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
1218 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
1219 return (*self != *other);
1220 }
1221 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1222 const wxChar* rv;
1223 const wxChar* _date = date;
1224 rv = self->ParseRfc822Date(_date);
1225 if (rv == NULL) return -1;
1226 return rv - _date;
1227 }
1228 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1229 const wxChar* rv;
1230 const wxChar* _date = date;
1231 rv = self->ParseFormat(_date, format, dateDef);
1232 if (rv == NULL) return -1;
1233 return rv - _date;
1234 }
1235 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1236 const wxChar* rv;
1237 const wxChar* _datetime = datetime;
1238 rv = self->ParseDateTime(_datetime);
1239 if (rv == NULL) return -1;
1240 return rv - _datetime;
1241 }
1242 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1243 const wxChar* rv;
1244 const wxChar* _date = date;
1245 rv = self->ParseDate(_date);
1246 if (rv == NULL) return -1;
1247 return rv - _date;
1248 }
1249 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1250 const wxChar* rv;
1251 const wxChar* _time = time;
1252 rv = self->ParseTime(_time);
1253 if (rv == NULL) return -1;
1254 return rv - _time;
1255 }
1256 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1257 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1258 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1259 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1260 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1261 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1262 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1263 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1264 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1265 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
1266 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1267 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1268 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1269 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1270 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1271 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
1272
1273 #include <wx/dataobj.h>
1274
1275 PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir){
1276 size_t count = self->GetFormatCount(dir);
1277 wxDataFormat* formats = new wxDataFormat[count];
1278 self->GetAllFormats(formats, dir);
1279
1280 bool blocked = wxPyBeginBlockThreads();
1281 PyObject* list = PyList_New(count);
1282 for (size_t i=0; i<count; i++) {
1283 wxDataFormat* format = new wxDataFormat(formats[i]);
1284 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), True);
1285 PyList_Append(list, obj);
1286 Py_DECREF(obj);
1287 }
1288 wxPyEndBlockThreads(blocked);
1289 delete [] formats;
1290 return list;
1291 }
1292 PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
1293 PyObject* rval = NULL;
1294 size_t size = self->GetDataSize(format);
1295 bool blocked = wxPyBeginBlockThreads();
1296 if (size) {
1297 char* buf = new char[size];
1298 if (self->GetDataHere(format, buf))
1299 rval = PyString_FromStringAndSize(buf, size);
1300 delete [] buf;
1301 }
1302 if (! rval) {
1303 rval = Py_None;
1304 Py_INCREF(rval);
1305 }
1306 wxPyEndBlockThreads(blocked);
1307 return rval;
1308 }
1309 bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
1310 bool rval;
1311 bool blocked = wxPyBeginBlockThreads();
1312 if (PyString_Check(data)) {
1313 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
1314 }
1315 else {
1316 // raise a TypeError if not a string
1317 PyErr_SetString(PyExc_TypeError, "String expected.");
1318 rval = False;
1319 }
1320 wxPyEndBlockThreads(blocked);
1321 return rval;
1322 }
1323 PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
1324 PyObject* rval = NULL;
1325 size_t size = self->GetDataSize();
1326 bool blocked = wxPyBeginBlockThreads();
1327 if (size) {
1328 char* buf = new char[size];
1329 if (self->GetDataHere(buf))
1330 rval = PyString_FromStringAndSize(buf, size);
1331 delete [] buf;
1332 }
1333 if (! rval) {
1334 rval = Py_None;
1335 Py_INCREF(rval);
1336 }
1337 wxPyEndBlockThreads(blocked);
1338 return rval;
1339 }
1340 bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
1341 bool rval;
1342 bool blocked = wxPyBeginBlockThreads();
1343 if (PyString_Check(data)) {
1344 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
1345 }
1346 else {
1347 // raise a TypeError if not a string
1348 PyErr_SetString(PyExc_TypeError, "String expected.");
1349 rval = False;
1350 }
1351 wxPyEndBlockThreads(blocked);
1352 return rval;
1353 }
1354 // Create a new class for wxPython to use
1355 class wxPyDataObjectSimple : public wxDataObjectSimple {
1356 public:
1357 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1358 : wxDataObjectSimple(format) {}
1359
1360 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1361 bool GetDataHere(void *buf) const;
1362 bool SetData(size_t len, const void *buf) const;
1363 PYPRIVATE;
1364 };
1365
1366 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1367
1368 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1369 // We need to get the data for this object and write it to buf. I think
1370 // the best way to do this for wxPython is to have the Python method
1371 // return either a string or None and then act appropriately with the
1372 // C++ version.
1373
1374 bool rval = False;
1375 bool blocked = wxPyBeginBlockThreads();
1376 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1377 PyObject* ro;
1378 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1379 if (ro) {
1380 rval = (ro != Py_None && PyString_Check(ro));
1381 if (rval)
1382 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1383 Py_DECREF(ro);
1384 }
1385 }
1386 wxPyEndBlockThreads(blocked);
1387 return rval;
1388 }
1389
1390 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1391 // For this one we simply need to make a string from buf and len
1392 // and send it to the Python method.
1393 bool rval = False;
1394 bool blocked = wxPyBeginBlockThreads();
1395 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1396 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1397 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1398 Py_DECREF(data);
1399 }
1400 wxPyEndBlockThreads(blocked);
1401 return rval;
1402 }
1403
1404 // Create a new class for wxPython to use
1405 class wxPyTextDataObject : public wxTextDataObject {
1406 public:
1407 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1408 : wxTextDataObject(text) {}
1409
1410 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1411 DEC_PYCALLBACK_STRING__const(GetText);
1412 DEC_PYCALLBACK__STRING(SetText);
1413 PYPRIVATE;
1414 };
1415
1416 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1417 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1418 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1419
1420
1421 // Create a new class for wxPython to use
1422 class wxPyBitmapDataObject : public wxBitmapDataObject {
1423 public:
1424 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1425 : wxBitmapDataObject(bitmap) {}
1426
1427 wxBitmap GetBitmap() const;
1428 void SetBitmap(const wxBitmap& bitmap);
1429 PYPRIVATE;
1430 };
1431
1432 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1433 wxBitmap* rval = &wxNullBitmap;
1434 bool blocked = wxPyBeginBlockThreads();
1435 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1436 PyObject* ro;
1437 wxBitmap* ptr;
1438 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1439 if (ro) {
1440 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1441 rval = ptr;
1442 Py_DECREF(ro);
1443 }
1444 }
1445 wxPyEndBlockThreads(blocked);
1446 return *rval;
1447 }
1448
1449 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1450 bool blocked = wxPyBeginBlockThreads();
1451 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1452 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1453 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1454 Py_DECREF(bo);
1455 }
1456 wxPyEndBlockThreads(blocked);
1457 }
1458
1459 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1460 bool rval;
1461 bool blocked = wxPyBeginBlockThreads();
1462 if (PyString_Check(data)) {
1463 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
1464 }
1465 else {
1466 // raise a TypeError if not a string
1467 PyErr_SetString(PyExc_TypeError, "String expected.");
1468 rval = False;
1469 }
1470 wxPyEndBlockThreads(blocked);
1471 return rval;
1472 }
1473 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1474 PyObject* obj;
1475 bool blocked = wxPyBeginBlockThreads();
1476 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1477 wxPyEndBlockThreads(blocked);
1478 return obj;
1479 }
1480
1481 class wxMetafileDataObject : public wxDataObjectSimple
1482 {
1483 public:
1484 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1485 };
1486
1487
1488 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1489
1490
1491 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1492 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1493 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1494 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1495 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1496
1497
1498 class wxPyTextDropTarget : public wxTextDropTarget {
1499 public:
1500 wxPyTextDropTarget() {}
1501
1502 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1503
1504 DEC_PYCALLBACK__(OnLeave);
1505 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1506 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1507 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1508 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1509
1510 PYPRIVATE;
1511 };
1512
1513 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1514 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1515 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1516 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1517 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1518 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1519
1520
1521
1522 class wxPyFileDropTarget : public wxFileDropTarget {
1523 public:
1524 wxPyFileDropTarget() {}
1525
1526 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1527
1528 DEC_PYCALLBACK__(OnLeave);
1529 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1530 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1531 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1532 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1533
1534 PYPRIVATE;
1535 };
1536
1537 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1538 const wxArrayString& filenames) {
1539 bool rval = False;
1540 bool blocked = wxPyBeginBlockThreads();
1541 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1542 PyObject* list = wxArrayString2PyList_helper(filenames);
1543 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1544 Py_DECREF(list);
1545 }
1546 wxPyEndBlockThreads(blocked);
1547 return rval;
1548 }
1549
1550
1551
1552 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1553 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1554 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1555 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1556 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1557
1558
1559
1560
1561 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1562
1563 #include <wx/display.h>
1564
1565 bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
1566 bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
1567
1568 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1569 #if !wxUSE_DISPLAY
1570 #include <wx/dynarray.h>
1571 #include <wx/vidmode.h>
1572
1573 WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
1574 #include "wx/arrimpl.cpp"
1575 WX_DEFINE_OBJARRAY(wxArrayVideoModes);
1576 const wxVideoMode wxDefaultVideoMode;
1577
1578 class wxDisplay
1579 {
1580 public:
1581 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
1582 ~wxDisplay() {}
1583
1584 static size_t GetCount()
1585 { wxPyRaiseNotImplemented(); return 0; }
1586
1587 static int GetFromPoint(const wxPoint& pt)
1588 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1589 static int GetFromWindow(wxWindow *window)
1590 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1591
1592 virtual bool IsOk() const { return false; }
1593 virtual wxRect GetGeometry() const { wxRect r; return r; }
1594 virtual wxString GetName() const { return wxEmptyString; }
1595 bool IsPrimary() const { return false; }
1596
1597 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
1598 { wxArrayVideoModes a; return a; }
1599
1600 virtual wxVideoMode GetCurrentMode() const
1601 { return wxDefaultVideoMode; }
1602
1603 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
1604 { return false; }
1605
1606 void ResetMode() {}
1607 };
1608 #endif
1609
1610 int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1611 PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1612 PyObject* pyList = NULL;
1613 wxArrayVideoModes arr = self->GetModes(mode);
1614 bool blocked = wxPyBeginBlockThreads();
1615 pyList = PyList_New(0);
1616 for (int i=0; i < arr.GetCount(); i++) {
1617 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1618 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1619 PyList_Append(pyList, pyObj);
1620 Py_DECREF(pyObj);
1621 }
1622 wxPyEndBlockThreads(blocked);
1623 return pyList;
1624 }
1625 #ifdef __cplusplus
1626 extern "C" {
1627 #endif
1628 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1629 PyObject *resultobj;
1630 int arg1 ;
1631 wxColour result;
1632 PyObject * obj0 = 0 ;
1633 char *kwnames[] = {
1634 (char *) "index", NULL
1635 };
1636
1637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1638 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1639 if (PyErr_Occurred()) SWIG_fail;
1640 {
1641 if (!wxPyCheckForApp()) SWIG_fail;
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 {
1649 wxColour * resultptr;
1650 resultptr = new wxColour((wxColour &) result);
1651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1652 }
1653 return resultobj;
1654 fail:
1655 return NULL;
1656 }
1657
1658
1659 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject *resultobj;
1661 int arg1 ;
1662 wxFont result;
1663 PyObject * obj0 = 0 ;
1664 char *kwnames[] = {
1665 (char *) "index", NULL
1666 };
1667
1668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1669 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1670 if (PyErr_Occurred()) SWIG_fail;
1671 {
1672 if (!wxPyCheckForApp()) SWIG_fail;
1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
1674 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1675
1676 wxPyEndAllowThreads(__tstate);
1677 if (PyErr_Occurred()) SWIG_fail;
1678 }
1679 {
1680 wxFont * resultptr;
1681 resultptr = new wxFont((wxFont &) result);
1682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1683 }
1684 return resultobj;
1685 fail:
1686 return NULL;
1687 }
1688
1689
1690 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject *resultobj;
1692 int arg1 ;
1693 int result;
1694 PyObject * obj0 = 0 ;
1695 char *kwnames[] = {
1696 (char *) "index", NULL
1697 };
1698
1699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1700 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1701 if (PyErr_Occurred()) SWIG_fail;
1702 {
1703 if (!wxPyCheckForApp()) SWIG_fail;
1704 PyThreadState* __tstate = wxPyBeginAllowThreads();
1705 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1706
1707 wxPyEndAllowThreads(__tstate);
1708 if (PyErr_Occurred()) SWIG_fail;
1709 }
1710 resultobj = SWIG_FromInt((int)result);
1711 return resultobj;
1712 fail:
1713 return NULL;
1714 }
1715
1716
1717 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1718 PyObject *resultobj;
1719 int arg1 ;
1720 bool result;
1721 PyObject * obj0 = 0 ;
1722 char *kwnames[] = {
1723 (char *) "index", NULL
1724 };
1725
1726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1727 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1728 if (PyErr_Occurred()) SWIG_fail;
1729 {
1730 if (!wxPyCheckForApp()) SWIG_fail;
1731 PyThreadState* __tstate = wxPyBeginAllowThreads();
1732 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1733
1734 wxPyEndAllowThreads(__tstate);
1735 if (PyErr_Occurred()) SWIG_fail;
1736 }
1737 {
1738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1739 }
1740 return resultobj;
1741 fail:
1742 return NULL;
1743 }
1744
1745
1746 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1747 PyObject *resultobj;
1748 int result;
1749 char *kwnames[] = {
1750 NULL
1751 };
1752
1753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1754 {
1755 if (!wxPyCheckForApp()) SWIG_fail;
1756 PyThreadState* __tstate = wxPyBeginAllowThreads();
1757 result = (int)wxSystemSettings::GetScreenType();
1758
1759 wxPyEndAllowThreads(__tstate);
1760 if (PyErr_Occurred()) SWIG_fail;
1761 }
1762 resultobj = SWIG_FromInt((int)result);
1763 return resultobj;
1764 fail:
1765 return NULL;
1766 }
1767
1768
1769 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1770 PyObject *resultobj;
1771 int arg1 ;
1772 PyObject * obj0 = 0 ;
1773 char *kwnames[] = {
1774 (char *) "screen", NULL
1775 };
1776
1777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1778 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1779 if (PyErr_Occurred()) SWIG_fail;
1780 {
1781 if (!wxPyCheckForApp()) SWIG_fail;
1782 PyThreadState* __tstate = wxPyBeginAllowThreads();
1783 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1784
1785 wxPyEndAllowThreads(__tstate);
1786 if (PyErr_Occurred()) SWIG_fail;
1787 }
1788 Py_INCREF(Py_None); resultobj = Py_None;
1789 return resultobj;
1790 fail:
1791 return NULL;
1792 }
1793
1794
1795 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1796 PyObject *obj;
1797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1798 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1799 Py_INCREF(obj);
1800 return Py_BuildValue((char *)"");
1801 }
1802 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1803 PyObject *resultobj;
1804 wxSystemOptions *result;
1805 char *kwnames[] = {
1806 NULL
1807 };
1808
1809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1810 {
1811 PyThreadState* __tstate = wxPyBeginAllowThreads();
1812 result = (wxSystemOptions *)new wxSystemOptions();
1813
1814 wxPyEndAllowThreads(__tstate);
1815 if (PyErr_Occurred()) SWIG_fail;
1816 }
1817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1818 return resultobj;
1819 fail:
1820 return NULL;
1821 }
1822
1823
1824 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1825 PyObject *resultobj;
1826 wxString *arg1 = 0 ;
1827 wxString *arg2 = 0 ;
1828 bool temp1 = False ;
1829 bool temp2 = False ;
1830 PyObject * obj0 = 0 ;
1831 PyObject * obj1 = 0 ;
1832 char *kwnames[] = {
1833 (char *) "name",(char *) "value", NULL
1834 };
1835
1836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1837 {
1838 arg1 = wxString_in_helper(obj0);
1839 if (arg1 == NULL) SWIG_fail;
1840 temp1 = True;
1841 }
1842 {
1843 arg2 = wxString_in_helper(obj1);
1844 if (arg2 == NULL) SWIG_fail;
1845 temp2 = True;
1846 }
1847 {
1848 PyThreadState* __tstate = wxPyBeginAllowThreads();
1849 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1850
1851 wxPyEndAllowThreads(__tstate);
1852 if (PyErr_Occurred()) SWIG_fail;
1853 }
1854 Py_INCREF(Py_None); resultobj = Py_None;
1855 {
1856 if (temp1)
1857 delete arg1;
1858 }
1859 {
1860 if (temp2)
1861 delete arg2;
1862 }
1863 return resultobj;
1864 fail:
1865 {
1866 if (temp1)
1867 delete arg1;
1868 }
1869 {
1870 if (temp2)
1871 delete arg2;
1872 }
1873 return NULL;
1874 }
1875
1876
1877 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1878 PyObject *resultobj;
1879 wxString *arg1 = 0 ;
1880 int arg2 ;
1881 bool temp1 = False ;
1882 PyObject * obj0 = 0 ;
1883 PyObject * obj1 = 0 ;
1884 char *kwnames[] = {
1885 (char *) "name",(char *) "value", NULL
1886 };
1887
1888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1889 {
1890 arg1 = wxString_in_helper(obj0);
1891 if (arg1 == NULL) SWIG_fail;
1892 temp1 = True;
1893 }
1894 arg2 = (int) SWIG_AsInt(obj1);
1895 if (PyErr_Occurred()) SWIG_fail;
1896 {
1897 PyThreadState* __tstate = wxPyBeginAllowThreads();
1898 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1899
1900 wxPyEndAllowThreads(__tstate);
1901 if (PyErr_Occurred()) SWIG_fail;
1902 }
1903 Py_INCREF(Py_None); resultobj = Py_None;
1904 {
1905 if (temp1)
1906 delete arg1;
1907 }
1908 return resultobj;
1909 fail:
1910 {
1911 if (temp1)
1912 delete arg1;
1913 }
1914 return NULL;
1915 }
1916
1917
1918 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1919 PyObject *resultobj;
1920 wxString *arg1 = 0 ;
1921 wxString result;
1922 bool temp1 = False ;
1923 PyObject * obj0 = 0 ;
1924 char *kwnames[] = {
1925 (char *) "name", NULL
1926 };
1927
1928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1929 {
1930 arg1 = wxString_in_helper(obj0);
1931 if (arg1 == NULL) SWIG_fail;
1932 temp1 = True;
1933 }
1934 {
1935 PyThreadState* __tstate = wxPyBeginAllowThreads();
1936 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1937
1938 wxPyEndAllowThreads(__tstate);
1939 if (PyErr_Occurred()) SWIG_fail;
1940 }
1941 {
1942 #if wxUSE_UNICODE
1943 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1944 #else
1945 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1946 #endif
1947 }
1948 {
1949 if (temp1)
1950 delete arg1;
1951 }
1952 return resultobj;
1953 fail:
1954 {
1955 if (temp1)
1956 delete arg1;
1957 }
1958 return NULL;
1959 }
1960
1961
1962 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1963 PyObject *resultobj;
1964 wxString *arg1 = 0 ;
1965 int result;
1966 bool temp1 = False ;
1967 PyObject * obj0 = 0 ;
1968 char *kwnames[] = {
1969 (char *) "name", NULL
1970 };
1971
1972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1973 {
1974 arg1 = wxString_in_helper(obj0);
1975 if (arg1 == NULL) SWIG_fail;
1976 temp1 = True;
1977 }
1978 {
1979 PyThreadState* __tstate = wxPyBeginAllowThreads();
1980 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1981
1982 wxPyEndAllowThreads(__tstate);
1983 if (PyErr_Occurred()) SWIG_fail;
1984 }
1985 resultobj = SWIG_FromInt((int)result);
1986 {
1987 if (temp1)
1988 delete arg1;
1989 }
1990 return resultobj;
1991 fail:
1992 {
1993 if (temp1)
1994 delete arg1;
1995 }
1996 return NULL;
1997 }
1998
1999
2000 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
2001 PyObject *resultobj;
2002 wxString *arg1 = 0 ;
2003 bool result;
2004 bool temp1 = False ;
2005 PyObject * obj0 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "name", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
2011 {
2012 arg1 = wxString_in_helper(obj0);
2013 if (arg1 == NULL) SWIG_fail;
2014 temp1 = True;
2015 }
2016 {
2017 PyThreadState* __tstate = wxPyBeginAllowThreads();
2018 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
2019
2020 wxPyEndAllowThreads(__tstate);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 }
2023 {
2024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2025 }
2026 {
2027 if (temp1)
2028 delete arg1;
2029 }
2030 return resultobj;
2031 fail:
2032 {
2033 if (temp1)
2034 delete arg1;
2035 }
2036 return NULL;
2037 }
2038
2039
2040 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
2041 PyObject *obj;
2042 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2043 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
2044 Py_INCREF(obj);
2045 return Py_BuildValue((char *)"");
2046 }
2047 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
2048 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
2049 return 1;
2050 }
2051
2052
2053 static PyObject *_wrap_FileSelectorPromptStr_get() {
2054 PyObject *pyobj;
2055
2056 {
2057 #if wxUSE_UNICODE
2058 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2059 #else
2060 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2061 #endif
2062 }
2063 return pyobj;
2064 }
2065
2066
2067 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
2068 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
2069 return 1;
2070 }
2071
2072
2073 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
2074 PyObject *pyobj;
2075
2076 {
2077 #if wxUSE_UNICODE
2078 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2079 #else
2080 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2081 #endif
2082 }
2083 return pyobj;
2084 }
2085
2086
2087 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
2088 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
2089 return 1;
2090 }
2091
2092
2093 static PyObject *_wrap_DirSelectorPromptStr_get() {
2094 PyObject *pyobj;
2095
2096 {
2097 #if wxUSE_UNICODE
2098 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2099 #else
2100 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2101 #endif
2102 }
2103 return pyobj;
2104 }
2105
2106
2107 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
2108 PyObject *resultobj;
2109 long result;
2110 char *kwnames[] = {
2111 NULL
2112 };
2113
2114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
2115 {
2116 PyThreadState* __tstate = wxPyBeginAllowThreads();
2117 result = (long)wxNewId();
2118
2119 wxPyEndAllowThreads(__tstate);
2120 if (PyErr_Occurred()) SWIG_fail;
2121 }
2122 resultobj = SWIG_FromLong((long)result);
2123 return resultobj;
2124 fail:
2125 return NULL;
2126 }
2127
2128
2129 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
2130 PyObject *resultobj;
2131 long arg1 ;
2132 PyObject * obj0 = 0 ;
2133 char *kwnames[] = {
2134 (char *) "id", NULL
2135 };
2136
2137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
2138 arg1 = (long) SWIG_AsLong(obj0);
2139 if (PyErr_Occurred()) SWIG_fail;
2140 {
2141 PyThreadState* __tstate = wxPyBeginAllowThreads();
2142 wxRegisterId(arg1);
2143
2144 wxPyEndAllowThreads(__tstate);
2145 if (PyErr_Occurred()) SWIG_fail;
2146 }
2147 Py_INCREF(Py_None); resultobj = Py_None;
2148 return resultobj;
2149 fail:
2150 return NULL;
2151 }
2152
2153
2154 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
2155 PyObject *resultobj;
2156 long result;
2157 char *kwnames[] = {
2158 NULL
2159 };
2160
2161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
2162 {
2163 PyThreadState* __tstate = wxPyBeginAllowThreads();
2164 result = (long)wxGetCurrentId();
2165
2166 wxPyEndAllowThreads(__tstate);
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
2169 resultobj = SWIG_FromLong((long)result);
2170 return resultobj;
2171 fail:
2172 return NULL;
2173 }
2174
2175
2176 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
2177 PyObject *resultobj;
2178 char *kwnames[] = {
2179 NULL
2180 };
2181
2182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
2183 {
2184 if (!wxPyCheckForApp()) SWIG_fail;
2185 PyThreadState* __tstate = wxPyBeginAllowThreads();
2186 wxBell();
2187
2188 wxPyEndAllowThreads(__tstate);
2189 if (PyErr_Occurred()) SWIG_fail;
2190 }
2191 Py_INCREF(Py_None); resultobj = Py_None;
2192 return resultobj;
2193 fail:
2194 return NULL;
2195 }
2196
2197
2198 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2199 PyObject *resultobj;
2200 char *kwnames[] = {
2201 NULL
2202 };
2203
2204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2205 {
2206 if (!wxPyCheckForApp()) SWIG_fail;
2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
2208 wxEndBusyCursor();
2209
2210 wxPyEndAllowThreads(__tstate);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
2213 Py_INCREF(Py_None); resultobj = Py_None;
2214 return resultobj;
2215 fail:
2216 return NULL;
2217 }
2218
2219
2220 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject *resultobj;
2222 bool arg1 = (bool) True ;
2223 long result;
2224 PyObject * obj0 = 0 ;
2225 char *kwnames[] = {
2226 (char *) "resetTimer", NULL
2227 };
2228
2229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2230 if (obj0) {
2231 arg1 = (bool) SWIG_AsBool(obj0);
2232 if (PyErr_Occurred()) SWIG_fail;
2233 }
2234 {
2235 PyThreadState* __tstate = wxPyBeginAllowThreads();
2236 result = (long)wxGetElapsedTime(arg1);
2237
2238 wxPyEndAllowThreads(__tstate);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 }
2241 resultobj = SWIG_FromLong((long)result);
2242 return resultobj;
2243 fail:
2244 return NULL;
2245 }
2246
2247
2248 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2249 PyObject *resultobj;
2250 int *arg1 = (int *) 0 ;
2251 int *arg2 = (int *) 0 ;
2252 int temp1 ;
2253 int temp2 ;
2254 char *kwnames[] = {
2255 NULL
2256 };
2257
2258 arg1 = &temp1;
2259 arg2 = &temp2;
2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2261 {
2262 if (!wxPyCheckForApp()) SWIG_fail;
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
2264 wxGetMousePosition(arg1,arg2);
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
2269 Py_INCREF(Py_None); resultobj = Py_None;
2270 {
2271 PyObject *o = PyInt_FromLong((long) (*arg1));
2272 resultobj = t_output_helper(resultobj,o);
2273 }
2274 {
2275 PyObject *o = PyInt_FromLong((long) (*arg2));
2276 resultobj = t_output_helper(resultobj,o);
2277 }
2278 return resultobj;
2279 fail:
2280 return NULL;
2281 }
2282
2283
2284 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject *resultobj;
2286 bool result;
2287 char *kwnames[] = {
2288 NULL
2289 };
2290
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2292 {
2293 PyThreadState* __tstate = wxPyBeginAllowThreads();
2294 result = (bool)wxIsBusy();
2295
2296 wxPyEndAllowThreads(__tstate);
2297 if (PyErr_Occurred()) SWIG_fail;
2298 }
2299 {
2300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2301 }
2302 return resultobj;
2303 fail:
2304 return NULL;
2305 }
2306
2307
2308 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
2309 PyObject *resultobj;
2310 wxString result;
2311 char *kwnames[] = {
2312 NULL
2313 };
2314
2315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2316 {
2317 PyThreadState* __tstate = wxPyBeginAllowThreads();
2318 result = wxNow();
2319
2320 wxPyEndAllowThreads(__tstate);
2321 if (PyErr_Occurred()) SWIG_fail;
2322 }
2323 {
2324 #if wxUSE_UNICODE
2325 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2326 #else
2327 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2328 #endif
2329 }
2330 return resultobj;
2331 fail:
2332 return NULL;
2333 }
2334
2335
2336 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
2337 PyObject *resultobj;
2338 wxString const &arg1_defvalue = wxPyEmptyString ;
2339 wxString *arg1 = (wxString *) &arg1_defvalue ;
2340 bool result;
2341 bool temp1 = False ;
2342 PyObject * obj0 = 0 ;
2343 char *kwnames[] = {
2344 (char *) "command", NULL
2345 };
2346
2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2348 if (obj0) {
2349 {
2350 arg1 = wxString_in_helper(obj0);
2351 if (arg1 == NULL) SWIG_fail;
2352 temp1 = True;
2353 }
2354 }
2355 {
2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
2357 result = (bool)wxShell((wxString const &)*arg1);
2358
2359 wxPyEndAllowThreads(__tstate);
2360 if (PyErr_Occurred()) SWIG_fail;
2361 }
2362 {
2363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2364 }
2365 {
2366 if (temp1)
2367 delete arg1;
2368 }
2369 return resultobj;
2370 fail:
2371 {
2372 if (temp1)
2373 delete arg1;
2374 }
2375 return NULL;
2376 }
2377
2378
2379 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2380 PyObject *resultobj;
2381 char *kwnames[] = {
2382 NULL
2383 };
2384
2385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2386 {
2387 PyThreadState* __tstate = wxPyBeginAllowThreads();
2388 wxStartTimer();
2389
2390 wxPyEndAllowThreads(__tstate);
2391 if (PyErr_Occurred()) SWIG_fail;
2392 }
2393 Py_INCREF(Py_None); resultobj = Py_None;
2394 return resultobj;
2395 fail:
2396 return NULL;
2397 }
2398
2399
2400 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2401 PyObject *resultobj;
2402 int *arg1 = (int *) 0 ;
2403 int *arg2 = (int *) 0 ;
2404 int result;
2405 int temp1 ;
2406 int temp2 ;
2407 char *kwnames[] = {
2408 NULL
2409 };
2410
2411 arg1 = &temp1;
2412 arg2 = &temp2;
2413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2414 {
2415 PyThreadState* __tstate = wxPyBeginAllowThreads();
2416 result = (int)wxGetOsVersion(arg1,arg2);
2417
2418 wxPyEndAllowThreads(__tstate);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 }
2421 resultobj = SWIG_FromInt((int)result);
2422 {
2423 PyObject *o = PyInt_FromLong((long) (*arg1));
2424 resultobj = t_output_helper(resultobj,o);
2425 }
2426 {
2427 PyObject *o = PyInt_FromLong((long) (*arg2));
2428 resultobj = t_output_helper(resultobj,o);
2429 }
2430 return resultobj;
2431 fail:
2432 return NULL;
2433 }
2434
2435
2436 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2437 PyObject *resultobj;
2438 wxString result;
2439 char *kwnames[] = {
2440 NULL
2441 };
2442
2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2444 {
2445 PyThreadState* __tstate = wxPyBeginAllowThreads();
2446 result = wxGetOsDescription();
2447
2448 wxPyEndAllowThreads(__tstate);
2449 if (PyErr_Occurred()) SWIG_fail;
2450 }
2451 {
2452 #if wxUSE_UNICODE
2453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2454 #else
2455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2456 #endif
2457 }
2458 return resultobj;
2459 fail:
2460 return NULL;
2461 }
2462
2463
2464 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject *resultobj;
2466 long result;
2467 char *kwnames[] = {
2468 NULL
2469 };
2470
2471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2472 {
2473 PyThreadState* __tstate = wxPyBeginAllowThreads();
2474 result = (long)wxGetFreeMemory();
2475
2476 wxPyEndAllowThreads(__tstate);
2477 if (PyErr_Occurred()) SWIG_fail;
2478 }
2479 resultobj = SWIG_FromLong((long)result);
2480 return resultobj;
2481 fail:
2482 return NULL;
2483 }
2484
2485
2486 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 int arg1 ;
2489 bool result;
2490 PyObject * obj0 = 0 ;
2491 char *kwnames[] = {
2492 (char *) "wFlags", NULL
2493 };
2494
2495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2496 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2497 if (PyErr_Occurred()) SWIG_fail;
2498 {
2499 if (!wxPyCheckForApp()) SWIG_fail;
2500 PyThreadState* __tstate = wxPyBeginAllowThreads();
2501 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2502
2503 wxPyEndAllowThreads(__tstate);
2504 if (PyErr_Occurred()) SWIG_fail;
2505 }
2506 {
2507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2508 }
2509 return resultobj;
2510 fail:
2511 return NULL;
2512 }
2513
2514
2515 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2516 PyObject *resultobj;
2517 int arg1 ;
2518 PyObject * obj0 = 0 ;
2519 char *kwnames[] = {
2520 (char *) "secs", NULL
2521 };
2522
2523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2524 arg1 = (int) SWIG_AsInt(obj0);
2525 if (PyErr_Occurred()) SWIG_fail;
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 wxSleep(arg1);
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 Py_INCREF(Py_None); resultobj = Py_None;
2534 return resultobj;
2535 fail:
2536 return NULL;
2537 }
2538
2539
2540 static PyObject *_wrap_MilliSleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject *resultobj;
2542 unsigned long arg1 ;
2543 PyObject * obj0 = 0 ;
2544 char *kwnames[] = {
2545 (char *) "milliseconds", NULL
2546 };
2547
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
2549 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 {
2552 PyThreadState* __tstate = wxPyBeginAllowThreads();
2553 wxMilliSleep(arg1);
2554
2555 wxPyEndAllowThreads(__tstate);
2556 if (PyErr_Occurred()) SWIG_fail;
2557 }
2558 Py_INCREF(Py_None); resultobj = Py_None;
2559 return resultobj;
2560 fail:
2561 return NULL;
2562 }
2563
2564
2565 static PyObject *_wrap_MicroSleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2566 PyObject *resultobj;
2567 unsigned long arg1 ;
2568 PyObject * obj0 = 0 ;
2569 char *kwnames[] = {
2570 (char *) "microseconds", NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
2574 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
2578 wxMicroSleep(arg1);
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
2583 Py_INCREF(Py_None); resultobj = Py_None;
2584 return resultobj;
2585 fail:
2586 return NULL;
2587 }
2588
2589
2590 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2591 PyObject *resultobj;
2592 bool arg1 ;
2593 PyObject * obj0 = 0 ;
2594 char *kwnames[] = {
2595 (char *) "enable", NULL
2596 };
2597
2598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2599 arg1 = (bool) SWIG_AsBool(obj0);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 {
2602 PyThreadState* __tstate = wxPyBeginAllowThreads();
2603 wxEnableTopLevelWindows(arg1);
2604
2605 wxPyEndAllowThreads(__tstate);
2606 if (PyErr_Occurred()) SWIG_fail;
2607 }
2608 Py_INCREF(Py_None); resultobj = Py_None;
2609 return resultobj;
2610 fail:
2611 return NULL;
2612 }
2613
2614
2615 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2616 PyObject *resultobj;
2617 wxString *arg1 = 0 ;
2618 wxString result;
2619 bool temp1 = False ;
2620 PyObject * obj0 = 0 ;
2621 char *kwnames[] = {
2622 (char *) "in", NULL
2623 };
2624
2625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2626 {
2627 arg1 = wxString_in_helper(obj0);
2628 if (arg1 == NULL) SWIG_fail;
2629 temp1 = True;
2630 }
2631 {
2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
2633 result = wxStripMenuCodes((wxString const &)*arg1);
2634
2635 wxPyEndAllowThreads(__tstate);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 }
2638 {
2639 #if wxUSE_UNICODE
2640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2641 #else
2642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2643 #endif
2644 }
2645 {
2646 if (temp1)
2647 delete arg1;
2648 }
2649 return resultobj;
2650 fail:
2651 {
2652 if (temp1)
2653 delete arg1;
2654 }
2655 return NULL;
2656 }
2657
2658
2659 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2660 PyObject *resultobj;
2661 wxString result;
2662 char *kwnames[] = {
2663 NULL
2664 };
2665
2666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 result = wxGetEmailAddress();
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 {
2675 #if wxUSE_UNICODE
2676 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2677 #else
2678 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2679 #endif
2680 }
2681 return resultobj;
2682 fail:
2683 return NULL;
2684 }
2685
2686
2687 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2688 PyObject *resultobj;
2689 wxString result;
2690 char *kwnames[] = {
2691 NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2695 {
2696 PyThreadState* __tstate = wxPyBeginAllowThreads();
2697 result = wxGetHostName();
2698
2699 wxPyEndAllowThreads(__tstate);
2700 if (PyErr_Occurred()) SWIG_fail;
2701 }
2702 {
2703 #if wxUSE_UNICODE
2704 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2705 #else
2706 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2707 #endif
2708 }
2709 return resultobj;
2710 fail:
2711 return NULL;
2712 }
2713
2714
2715 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2716 PyObject *resultobj;
2717 wxString result;
2718 char *kwnames[] = {
2719 NULL
2720 };
2721
2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 result = wxGetFullHostName();
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 {
2731 #if wxUSE_UNICODE
2732 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2733 #else
2734 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2735 #endif
2736 }
2737 return resultobj;
2738 fail:
2739 return NULL;
2740 }
2741
2742
2743 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2744 PyObject *resultobj;
2745 wxString result;
2746 char *kwnames[] = {
2747 NULL
2748 };
2749
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2751 {
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 result = wxGetUserId();
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 {
2759 #if wxUSE_UNICODE
2760 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2761 #else
2762 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2763 #endif
2764 }
2765 return resultobj;
2766 fail:
2767 return NULL;
2768 }
2769
2770
2771 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2772 PyObject *resultobj;
2773 wxString result;
2774 char *kwnames[] = {
2775 NULL
2776 };
2777
2778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2779 {
2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
2781 result = wxGetUserName();
2782
2783 wxPyEndAllowThreads(__tstate);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 }
2786 {
2787 #if wxUSE_UNICODE
2788 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2789 #else
2790 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2791 #endif
2792 }
2793 return resultobj;
2794 fail:
2795 return NULL;
2796 }
2797
2798
2799 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2800 PyObject *resultobj;
2801 wxString result;
2802 char *kwnames[] = {
2803 NULL
2804 };
2805
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2807 {
2808 PyThreadState* __tstate = wxPyBeginAllowThreads();
2809 result = wxGetHomeDir();
2810
2811 wxPyEndAllowThreads(__tstate);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
2814 {
2815 #if wxUSE_UNICODE
2816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2817 #else
2818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2819 #endif
2820 }
2821 return resultobj;
2822 fail:
2823 return NULL;
2824 }
2825
2826
2827 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2828 PyObject *resultobj;
2829 wxString const &arg1_defvalue = wxPyEmptyString ;
2830 wxString *arg1 = (wxString *) &arg1_defvalue ;
2831 wxString result;
2832 bool temp1 = False ;
2833 PyObject * obj0 = 0 ;
2834 char *kwnames[] = {
2835 (char *) "user", NULL
2836 };
2837
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2839 if (obj0) {
2840 {
2841 arg1 = wxString_in_helper(obj0);
2842 if (arg1 == NULL) SWIG_fail;
2843 temp1 = True;
2844 }
2845 }
2846 {
2847 PyThreadState* __tstate = wxPyBeginAllowThreads();
2848 result = wxGetUserHome((wxString const &)*arg1);
2849
2850 wxPyEndAllowThreads(__tstate);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 {
2854 #if wxUSE_UNICODE
2855 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2856 #else
2857 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2858 #endif
2859 }
2860 {
2861 if (temp1)
2862 delete arg1;
2863 }
2864 return resultobj;
2865 fail:
2866 {
2867 if (temp1)
2868 delete arg1;
2869 }
2870 return NULL;
2871 }
2872
2873
2874 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2875 PyObject *resultobj;
2876 unsigned long result;
2877 char *kwnames[] = {
2878 NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2882 {
2883 PyThreadState* __tstate = wxPyBeginAllowThreads();
2884 result = (unsigned long)wxGetProcessId();
2885
2886 wxPyEndAllowThreads(__tstate);
2887 if (PyErr_Occurred()) SWIG_fail;
2888 }
2889 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
2890 return resultobj;
2891 fail:
2892 return NULL;
2893 }
2894
2895
2896 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2897 PyObject *resultobj;
2898 char *kwnames[] = {
2899 NULL
2900 };
2901
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2903 {
2904 PyThreadState* __tstate = wxPyBeginAllowThreads();
2905 wxTrap();
2906
2907 wxPyEndAllowThreads(__tstate);
2908 if (PyErr_Occurred()) SWIG_fail;
2909 }
2910 Py_INCREF(Py_None); resultobj = Py_None;
2911 return resultobj;
2912 fail:
2913 return NULL;
2914 }
2915
2916
2917 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2918 PyObject *resultobj;
2919 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2920 wxString *arg1 = (wxString *) &arg1_defvalue ;
2921 wxString const &arg2_defvalue = wxPyEmptyString ;
2922 wxString *arg2 = (wxString *) &arg2_defvalue ;
2923 wxString const &arg3_defvalue = wxPyEmptyString ;
2924 wxString *arg3 = (wxString *) &arg3_defvalue ;
2925 wxString const &arg4_defvalue = wxPyEmptyString ;
2926 wxString *arg4 = (wxString *) &arg4_defvalue ;
2927 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2928 wxString *arg5 = (wxString *) &arg5_defvalue ;
2929 int arg6 = (int) 0 ;
2930 wxWindow *arg7 = (wxWindow *) NULL ;
2931 int arg8 = (int) -1 ;
2932 int arg9 = (int) -1 ;
2933 wxString result;
2934 bool temp1 = False ;
2935 bool temp2 = False ;
2936 bool temp3 = False ;
2937 bool temp4 = False ;
2938 bool temp5 = False ;
2939 PyObject * obj0 = 0 ;
2940 PyObject * obj1 = 0 ;
2941 PyObject * obj2 = 0 ;
2942 PyObject * obj3 = 0 ;
2943 PyObject * obj4 = 0 ;
2944 PyObject * obj5 = 0 ;
2945 PyObject * obj6 = 0 ;
2946 PyObject * obj7 = 0 ;
2947 PyObject * obj8 = 0 ;
2948 char *kwnames[] = {
2949 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2950 };
2951
2952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2953 if (obj0) {
2954 {
2955 arg1 = wxString_in_helper(obj0);
2956 if (arg1 == NULL) SWIG_fail;
2957 temp1 = True;
2958 }
2959 }
2960 if (obj1) {
2961 {
2962 arg2 = wxString_in_helper(obj1);
2963 if (arg2 == NULL) SWIG_fail;
2964 temp2 = True;
2965 }
2966 }
2967 if (obj2) {
2968 {
2969 arg3 = wxString_in_helper(obj2);
2970 if (arg3 == NULL) SWIG_fail;
2971 temp3 = True;
2972 }
2973 }
2974 if (obj3) {
2975 {
2976 arg4 = wxString_in_helper(obj3);
2977 if (arg4 == NULL) SWIG_fail;
2978 temp4 = True;
2979 }
2980 }
2981 if (obj4) {
2982 {
2983 arg5 = wxString_in_helper(obj4);
2984 if (arg5 == NULL) SWIG_fail;
2985 temp5 = True;
2986 }
2987 }
2988 if (obj5) {
2989 arg6 = (int) SWIG_AsInt(obj5);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 if (obj6) {
2993 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2995 }
2996 if (obj7) {
2997 arg8 = (int) SWIG_AsInt(obj7);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 if (obj8) {
3001 arg9 = (int) SWIG_AsInt(obj8);
3002 if (PyErr_Occurred()) SWIG_fail;
3003 }
3004 {
3005 if (!wxPyCheckForApp()) SWIG_fail;
3006 PyThreadState* __tstate = wxPyBeginAllowThreads();
3007 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
3008
3009 wxPyEndAllowThreads(__tstate);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 }
3012 {
3013 #if wxUSE_UNICODE
3014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3015 #else
3016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3017 #endif
3018 }
3019 {
3020 if (temp1)
3021 delete arg1;
3022 }
3023 {
3024 if (temp2)
3025 delete arg2;
3026 }
3027 {
3028 if (temp3)
3029 delete arg3;
3030 }
3031 {
3032 if (temp4)
3033 delete arg4;
3034 }
3035 {
3036 if (temp5)
3037 delete arg5;
3038 }
3039 return resultobj;
3040 fail:
3041 {
3042 if (temp1)
3043 delete arg1;
3044 }
3045 {
3046 if (temp2)
3047 delete arg2;
3048 }
3049 {
3050 if (temp3)
3051 delete arg3;
3052 }
3053 {
3054 if (temp4)
3055 delete arg4;
3056 }
3057 {
3058 if (temp5)
3059 delete arg5;
3060 }
3061 return NULL;
3062 }
3063
3064
3065 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3066 PyObject *resultobj;
3067 wxString *arg1 = 0 ;
3068 wxString *arg2 = 0 ;
3069 wxString const &arg3_defvalue = wxPyEmptyString ;
3070 wxString *arg3 = (wxString *) &arg3_defvalue ;
3071 wxWindow *arg4 = (wxWindow *) NULL ;
3072 wxString result;
3073 bool temp1 = False ;
3074 bool temp2 = False ;
3075 bool temp3 = False ;
3076 PyObject * obj0 = 0 ;
3077 PyObject * obj1 = 0 ;
3078 PyObject * obj2 = 0 ;
3079 PyObject * obj3 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3085 {
3086 arg1 = wxString_in_helper(obj0);
3087 if (arg1 == NULL) SWIG_fail;
3088 temp1 = True;
3089 }
3090 {
3091 arg2 = wxString_in_helper(obj1);
3092 if (arg2 == NULL) SWIG_fail;
3093 temp2 = True;
3094 }
3095 if (obj2) {
3096 {
3097 arg3 = wxString_in_helper(obj2);
3098 if (arg3 == NULL) SWIG_fail;
3099 temp3 = True;
3100 }
3101 }
3102 if (obj3) {
3103 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3105 }
3106 {
3107 if (!wxPyCheckForApp()) SWIG_fail;
3108 PyThreadState* __tstate = wxPyBeginAllowThreads();
3109 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3110
3111 wxPyEndAllowThreads(__tstate);
3112 if (PyErr_Occurred()) SWIG_fail;
3113 }
3114 {
3115 #if wxUSE_UNICODE
3116 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3117 #else
3118 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3119 #endif
3120 }
3121 {
3122 if (temp1)
3123 delete arg1;
3124 }
3125 {
3126 if (temp2)
3127 delete arg2;
3128 }
3129 {
3130 if (temp3)
3131 delete arg3;
3132 }
3133 return resultobj;
3134 fail:
3135 {
3136 if (temp1)
3137 delete arg1;
3138 }
3139 {
3140 if (temp2)
3141 delete arg2;
3142 }
3143 {
3144 if (temp3)
3145 delete arg3;
3146 }
3147 return NULL;
3148 }
3149
3150
3151 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3152 PyObject *resultobj;
3153 wxString *arg1 = 0 ;
3154 wxString *arg2 = 0 ;
3155 wxString const &arg3_defvalue = wxPyEmptyString ;
3156 wxString *arg3 = (wxString *) &arg3_defvalue ;
3157 wxWindow *arg4 = (wxWindow *) NULL ;
3158 wxString result;
3159 bool temp1 = False ;
3160 bool temp2 = False ;
3161 bool temp3 = False ;
3162 PyObject * obj0 = 0 ;
3163 PyObject * obj1 = 0 ;
3164 PyObject * obj2 = 0 ;
3165 PyObject * obj3 = 0 ;
3166 char *kwnames[] = {
3167 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3168 };
3169
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3171 {
3172 arg1 = wxString_in_helper(obj0);
3173 if (arg1 == NULL) SWIG_fail;
3174 temp1 = True;
3175 }
3176 {
3177 arg2 = wxString_in_helper(obj1);
3178 if (arg2 == NULL) SWIG_fail;
3179 temp2 = True;
3180 }
3181 if (obj2) {
3182 {
3183 arg3 = wxString_in_helper(obj2);
3184 if (arg3 == NULL) SWIG_fail;
3185 temp3 = True;
3186 }
3187 }
3188 if (obj3) {
3189 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3191 }
3192 {
3193 if (!wxPyCheckForApp()) SWIG_fail;
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 {
3201 #if wxUSE_UNICODE
3202 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3203 #else
3204 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3205 #endif
3206 }
3207 {
3208 if (temp1)
3209 delete arg1;
3210 }
3211 {
3212 if (temp2)
3213 delete arg2;
3214 }
3215 {
3216 if (temp3)
3217 delete arg3;
3218 }
3219 return resultobj;
3220 fail:
3221 {
3222 if (temp1)
3223 delete arg1;
3224 }
3225 {
3226 if (temp2)
3227 delete arg2;
3228 }
3229 {
3230 if (temp3)
3231 delete arg3;
3232 }
3233 return NULL;
3234 }
3235
3236
3237 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3238 PyObject *resultobj;
3239 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3240 wxString *arg1 = (wxString *) &arg1_defvalue ;
3241 wxString const &arg2_defvalue = wxPyEmptyString ;
3242 wxString *arg2 = (wxString *) &arg2_defvalue ;
3243 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3244 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3245 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3246 wxWindow *arg5 = (wxWindow *) NULL ;
3247 wxString result;
3248 bool temp1 = False ;
3249 bool temp2 = False ;
3250 wxPoint temp4 ;
3251 PyObject * obj0 = 0 ;
3252 PyObject * obj1 = 0 ;
3253 PyObject * obj2 = 0 ;
3254 PyObject * obj3 = 0 ;
3255 PyObject * obj4 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3261 if (obj0) {
3262 {
3263 arg1 = wxString_in_helper(obj0);
3264 if (arg1 == NULL) SWIG_fail;
3265 temp1 = True;
3266 }
3267 }
3268 if (obj1) {
3269 {
3270 arg2 = wxString_in_helper(obj1);
3271 if (arg2 == NULL) SWIG_fail;
3272 temp2 = True;
3273 }
3274 }
3275 if (obj2) {
3276 arg3 = (long) SWIG_AsLong(obj2);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 if (obj3) {
3280 {
3281 arg4 = &temp4;
3282 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3283 }
3284 }
3285 if (obj4) {
3286 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3288 }
3289 {
3290 if (!wxPyCheckForApp()) SWIG_fail;
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
3292 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3293
3294 wxPyEndAllowThreads(__tstate);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
3297 {
3298 #if wxUSE_UNICODE
3299 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3300 #else
3301 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3302 #endif
3303 }
3304 {
3305 if (temp1)
3306 delete arg1;
3307 }
3308 {
3309 if (temp2)
3310 delete arg2;
3311 }
3312 return resultobj;
3313 fail:
3314 {
3315 if (temp1)
3316 delete arg1;
3317 }
3318 {
3319 if (temp2)
3320 delete arg2;
3321 }
3322 return NULL;
3323 }
3324
3325
3326 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3327 PyObject *resultobj;
3328 wxString *arg1 = 0 ;
3329 wxString const &arg2_defvalue = wxPyEmptyString ;
3330 wxString *arg2 = (wxString *) &arg2_defvalue ;
3331 wxString const &arg3_defvalue = wxPyEmptyString ;
3332 wxString *arg3 = (wxString *) &arg3_defvalue ;
3333 wxWindow *arg4 = (wxWindow *) NULL ;
3334 int arg5 = (int) -1 ;
3335 int arg6 = (int) -1 ;
3336 bool arg7 = (bool) True ;
3337 wxString result;
3338 bool temp1 = False ;
3339 bool temp2 = False ;
3340 bool temp3 = False ;
3341 PyObject * obj0 = 0 ;
3342 PyObject * obj1 = 0 ;
3343 PyObject * obj2 = 0 ;
3344 PyObject * obj3 = 0 ;
3345 PyObject * obj4 = 0 ;
3346 PyObject * obj5 = 0 ;
3347 PyObject * obj6 = 0 ;
3348 char *kwnames[] = {
3349 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3350 };
3351
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3353 {
3354 arg1 = wxString_in_helper(obj0);
3355 if (arg1 == NULL) SWIG_fail;
3356 temp1 = True;
3357 }
3358 if (obj1) {
3359 {
3360 arg2 = wxString_in_helper(obj1);
3361 if (arg2 == NULL) SWIG_fail;
3362 temp2 = True;
3363 }
3364 }
3365 if (obj2) {
3366 {
3367 arg3 = wxString_in_helper(obj2);
3368 if (arg3 == NULL) SWIG_fail;
3369 temp3 = True;
3370 }
3371 }
3372 if (obj3) {
3373 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3375 }
3376 if (obj4) {
3377 arg5 = (int) SWIG_AsInt(obj4);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 }
3380 if (obj5) {
3381 arg6 = (int) SWIG_AsInt(obj5);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 if (obj6) {
3385 arg7 = (bool) SWIG_AsBool(obj6);
3386 if (PyErr_Occurred()) SWIG_fail;
3387 }
3388 {
3389 if (!wxPyCheckForApp()) SWIG_fail;
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 {
3397 #if wxUSE_UNICODE
3398 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3399 #else
3400 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3401 #endif
3402 }
3403 {
3404 if (temp1)
3405 delete arg1;
3406 }
3407 {
3408 if (temp2)
3409 delete arg2;
3410 }
3411 {
3412 if (temp3)
3413 delete arg3;
3414 }
3415 return resultobj;
3416 fail:
3417 {
3418 if (temp1)
3419 delete arg1;
3420 }
3421 {
3422 if (temp2)
3423 delete arg2;
3424 }
3425 {
3426 if (temp3)
3427 delete arg3;
3428 }
3429 return NULL;
3430 }
3431
3432
3433 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject *resultobj;
3435 wxString *arg1 = 0 ;
3436 wxString const &arg2_defvalue = wxPyEmptyString ;
3437 wxString *arg2 = (wxString *) &arg2_defvalue ;
3438 wxString const &arg3_defvalue = wxPyEmptyString ;
3439 wxString *arg3 = (wxString *) &arg3_defvalue ;
3440 wxWindow *arg4 = (wxWindow *) NULL ;
3441 wxString result;
3442 bool temp1 = False ;
3443 bool temp2 = False ;
3444 bool temp3 = False ;
3445 PyObject * obj0 = 0 ;
3446 PyObject * obj1 = 0 ;
3447 PyObject * obj2 = 0 ;
3448 PyObject * obj3 = 0 ;
3449 char *kwnames[] = {
3450 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3451 };
3452
3453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3454 {
3455 arg1 = wxString_in_helper(obj0);
3456 if (arg1 == NULL) SWIG_fail;
3457 temp1 = True;
3458 }
3459 if (obj1) {
3460 {
3461 arg2 = wxString_in_helper(obj1);
3462 if (arg2 == NULL) SWIG_fail;
3463 temp2 = True;
3464 }
3465 }
3466 if (obj2) {
3467 {
3468 arg3 = wxString_in_helper(obj2);
3469 if (arg3 == NULL) SWIG_fail;
3470 temp3 = True;
3471 }
3472 }
3473 if (obj3) {
3474 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3476 }
3477 {
3478 if (!wxPyCheckForApp()) SWIG_fail;
3479 PyThreadState* __tstate = wxPyBeginAllowThreads();
3480 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3481
3482 wxPyEndAllowThreads(__tstate);
3483 if (PyErr_Occurred()) SWIG_fail;
3484 }
3485 {
3486 #if wxUSE_UNICODE
3487 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3488 #else
3489 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3490 #endif
3491 }
3492 {
3493 if (temp1)
3494 delete arg1;
3495 }
3496 {
3497 if (temp2)
3498 delete arg2;
3499 }
3500 {
3501 if (temp3)
3502 delete arg3;
3503 }
3504 return resultobj;
3505 fail:
3506 {
3507 if (temp1)
3508 delete arg1;
3509 }
3510 {
3511 if (temp2)
3512 delete arg2;
3513 }
3514 {
3515 if (temp3)
3516 delete arg3;
3517 }
3518 return NULL;
3519 }
3520
3521
3522 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3523 PyObject *resultobj;
3524 wxString *arg1 = 0 ;
3525 wxString *arg2 = 0 ;
3526 int arg3 ;
3527 wxString *arg4 = (wxString *) 0 ;
3528 wxWindow *arg5 = (wxWindow *) NULL ;
3529 int arg6 = (int) -1 ;
3530 int arg7 = (int) -1 ;
3531 bool arg8 = (bool) True ;
3532 int arg9 = (int) 150 ;
3533 int arg10 = (int) 200 ;
3534 wxString result;
3535 bool temp1 = False ;
3536 bool temp2 = False ;
3537 PyObject * obj0 = 0 ;
3538 PyObject * obj1 = 0 ;
3539 PyObject * obj2 = 0 ;
3540 PyObject * obj3 = 0 ;
3541 PyObject * obj4 = 0 ;
3542 PyObject * obj5 = 0 ;
3543 PyObject * obj6 = 0 ;
3544 PyObject * obj7 = 0 ;
3545 PyObject * obj8 = 0 ;
3546 char *kwnames[] = {
3547 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3548 };
3549
3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3551 {
3552 arg1 = wxString_in_helper(obj0);
3553 if (arg1 == NULL) SWIG_fail;
3554 temp1 = True;
3555 }
3556 {
3557 arg2 = wxString_in_helper(obj1);
3558 if (arg2 == NULL) SWIG_fail;
3559 temp2 = True;
3560 }
3561 {
3562 arg3 = PyList_Size(obj2);
3563 arg4 = wxString_LIST_helper(obj2);
3564 if (arg4 == NULL) SWIG_fail;
3565 }
3566 if (obj3) {
3567 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3569 }
3570 if (obj4) {
3571 arg6 = (int) SWIG_AsInt(obj4);
3572 if (PyErr_Occurred()) SWIG_fail;
3573 }
3574 if (obj5) {
3575 arg7 = (int) SWIG_AsInt(obj5);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 if (obj6) {
3579 arg8 = (bool) SWIG_AsBool(obj6);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
3582 if (obj7) {
3583 arg9 = (int) SWIG_AsInt(obj7);
3584 if (PyErr_Occurred()) SWIG_fail;
3585 }
3586 if (obj8) {
3587 arg10 = (int) SWIG_AsInt(obj8);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 {
3591 if (!wxPyCheckForApp()) SWIG_fail;
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3594
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 {
3599 #if wxUSE_UNICODE
3600 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3601 #else
3602 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3603 #endif
3604 }
3605 {
3606 if (temp1)
3607 delete arg1;
3608 }
3609 {
3610 if (temp2)
3611 delete arg2;
3612 }
3613 {
3614 if (arg4) delete [] arg4;
3615 }
3616 return resultobj;
3617 fail:
3618 {
3619 if (temp1)
3620 delete arg1;
3621 }
3622 {
3623 if (temp2)
3624 delete arg2;
3625 }
3626 {
3627 if (arg4) delete [] arg4;
3628 }
3629 return NULL;
3630 }
3631
3632
3633 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3634 PyObject *resultobj;
3635 wxString *arg1 = 0 ;
3636 wxString *arg2 = 0 ;
3637 int arg3 ;
3638 wxString *arg4 = (wxString *) 0 ;
3639 wxWindow *arg5 = (wxWindow *) NULL ;
3640 int arg6 = (int) -1 ;
3641 int arg7 = (int) -1 ;
3642 bool arg8 = (bool) True ;
3643 int arg9 = (int) 150 ;
3644 int arg10 = (int) 200 ;
3645 int result;
3646 bool temp1 = False ;
3647 bool temp2 = False ;
3648 PyObject * obj0 = 0 ;
3649 PyObject * obj1 = 0 ;
3650 PyObject * obj2 = 0 ;
3651 PyObject * obj3 = 0 ;
3652 PyObject * obj4 = 0 ;
3653 PyObject * obj5 = 0 ;
3654 PyObject * obj6 = 0 ;
3655 PyObject * obj7 = 0 ;
3656 PyObject * obj8 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3662 {
3663 arg1 = wxString_in_helper(obj0);
3664 if (arg1 == NULL) SWIG_fail;
3665 temp1 = True;
3666 }
3667 {
3668 arg2 = wxString_in_helper(obj1);
3669 if (arg2 == NULL) SWIG_fail;
3670 temp2 = True;
3671 }
3672 {
3673 arg3 = PyList_Size(obj2);
3674 arg4 = wxString_LIST_helper(obj2);
3675 if (arg4 == NULL) SWIG_fail;
3676 }
3677 if (obj3) {
3678 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3680 }
3681 if (obj4) {
3682 arg6 = (int) SWIG_AsInt(obj4);
3683 if (PyErr_Occurred()) SWIG_fail;
3684 }
3685 if (obj5) {
3686 arg7 = (int) SWIG_AsInt(obj5);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 if (obj6) {
3690 arg8 = (bool) SWIG_AsBool(obj6);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 if (obj7) {
3694 arg9 = (int) SWIG_AsInt(obj7);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 if (obj8) {
3698 arg10 = (int) SWIG_AsInt(obj8);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 {
3702 if (!wxPyCheckForApp()) SWIG_fail;
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 resultobj = SWIG_FromInt((int)result);
3710 {
3711 if (temp1)
3712 delete arg1;
3713 }
3714 {
3715 if (temp2)
3716 delete arg2;
3717 }
3718 {
3719 if (arg4) delete [] arg4;
3720 }
3721 return resultobj;
3722 fail:
3723 {
3724 if (temp1)
3725 delete arg1;
3726 }
3727 {
3728 if (temp2)
3729 delete arg2;
3730 }
3731 {
3732 if (arg4) delete [] arg4;
3733 }
3734 return NULL;
3735 }
3736
3737
3738 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3739 PyObject *resultobj;
3740 wxString *arg1 = 0 ;
3741 wxString const &arg2_defvalue = wxPyEmptyString ;
3742 wxString *arg2 = (wxString *) &arg2_defvalue ;
3743 int arg3 = (int) wxOK|wxCENTRE ;
3744 wxWindow *arg4 = (wxWindow *) NULL ;
3745 int arg5 = (int) -1 ;
3746 int arg6 = (int) -1 ;
3747 int result;
3748 bool temp1 = False ;
3749 bool temp2 = False ;
3750 PyObject * obj0 = 0 ;
3751 PyObject * obj1 = 0 ;
3752 PyObject * obj2 = 0 ;
3753 PyObject * obj3 = 0 ;
3754 PyObject * obj4 = 0 ;
3755 PyObject * obj5 = 0 ;
3756 char *kwnames[] = {
3757 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3758 };
3759
3760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3761 {
3762 arg1 = wxString_in_helper(obj0);
3763 if (arg1 == NULL) SWIG_fail;
3764 temp1 = True;
3765 }
3766 if (obj1) {
3767 {
3768 arg2 = wxString_in_helper(obj1);
3769 if (arg2 == NULL) SWIG_fail;
3770 temp2 = True;
3771 }
3772 }
3773 if (obj2) {
3774 arg3 = (int) SWIG_AsInt(obj2);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
3777 if (obj3) {
3778 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3780 }
3781 if (obj4) {
3782 arg5 = (int) SWIG_AsInt(obj4);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 if (obj5) {
3786 arg6 = (int) SWIG_AsInt(obj5);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 {
3790 if (!wxPyCheckForApp()) SWIG_fail;
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 resultobj = SWIG_FromInt((int)result);
3798 {
3799 if (temp1)
3800 delete arg1;
3801 }
3802 {
3803 if (temp2)
3804 delete arg2;
3805 }
3806 return resultobj;
3807 fail:
3808 {
3809 if (temp1)
3810 delete arg1;
3811 }
3812 {
3813 if (temp2)
3814 delete arg2;
3815 }
3816 return NULL;
3817 }
3818
3819
3820 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3821 PyObject *resultobj;
3822 wxString *arg1 = 0 ;
3823 wxString *arg2 = 0 ;
3824 wxString *arg3 = 0 ;
3825 long arg4 ;
3826 long arg5 = (long) 0 ;
3827 long arg6 = (long) 100 ;
3828 wxWindow *arg7 = (wxWindow *) NULL ;
3829 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3830 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3831 long result;
3832 bool temp1 = False ;
3833 bool temp2 = False ;
3834 bool temp3 = False ;
3835 wxPoint temp8 ;
3836 PyObject * obj0 = 0 ;
3837 PyObject * obj1 = 0 ;
3838 PyObject * obj2 = 0 ;
3839 PyObject * obj3 = 0 ;
3840 PyObject * obj4 = 0 ;
3841 PyObject * obj5 = 0 ;
3842 PyObject * obj6 = 0 ;
3843 PyObject * obj7 = 0 ;
3844 char *kwnames[] = {
3845 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3846 };
3847
3848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3849 {
3850 arg1 = wxString_in_helper(obj0);
3851 if (arg1 == NULL) SWIG_fail;
3852 temp1 = True;
3853 }
3854 {
3855 arg2 = wxString_in_helper(obj1);
3856 if (arg2 == NULL) SWIG_fail;
3857 temp2 = True;
3858 }
3859 {
3860 arg3 = wxString_in_helper(obj2);
3861 if (arg3 == NULL) SWIG_fail;
3862 temp3 = True;
3863 }
3864 arg4 = (long) SWIG_AsLong(obj3);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 if (obj4) {
3867 arg5 = (long) SWIG_AsLong(obj4);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 if (obj5) {
3871 arg6 = (long) SWIG_AsLong(obj5);
3872 if (PyErr_Occurred()) SWIG_fail;
3873 }
3874 if (obj6) {
3875 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3877 }
3878 if (obj7) {
3879 {
3880 arg8 = &temp8;
3881 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3882 }
3883 }
3884 {
3885 if (!wxPyCheckForApp()) SWIG_fail;
3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
3887 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3888
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
3892 resultobj = SWIG_FromLong((long)result);
3893 {
3894 if (temp1)
3895 delete arg1;
3896 }
3897 {
3898 if (temp2)
3899 delete arg2;
3900 }
3901 {
3902 if (temp3)
3903 delete arg3;
3904 }
3905 return resultobj;
3906 fail:
3907 {
3908 if (temp1)
3909 delete arg1;
3910 }
3911 {
3912 if (temp2)
3913 delete arg2;
3914 }
3915 {
3916 if (temp3)
3917 delete arg3;
3918 }
3919 return NULL;
3920 }
3921
3922
3923 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3924 PyObject *resultobj;
3925 bool result;
3926 char *kwnames[] = {
3927 NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3931 {
3932 if (!wxPyCheckForApp()) SWIG_fail;
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 result = (bool)wxColourDisplay();
3935
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
3939 {
3940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3941 }
3942 return resultobj;
3943 fail:
3944 return NULL;
3945 }
3946
3947
3948 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3949 PyObject *resultobj;
3950 int result;
3951 char *kwnames[] = {
3952 NULL
3953 };
3954
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3956 {
3957 if (!wxPyCheckForApp()) SWIG_fail;
3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
3959 result = (int)wxDisplayDepth();
3960
3961 wxPyEndAllowThreads(__tstate);
3962 if (PyErr_Occurred()) SWIG_fail;
3963 }
3964 resultobj = SWIG_FromInt((int)result);
3965 return resultobj;
3966 fail:
3967 return NULL;
3968 }
3969
3970
3971 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3972 PyObject *resultobj;
3973 int result;
3974 char *kwnames[] = {
3975 NULL
3976 };
3977
3978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3979 {
3980 if (!wxPyCheckForApp()) SWIG_fail;
3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
3982 result = (int)wxGetDisplayDepth();
3983
3984 wxPyEndAllowThreads(__tstate);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 resultobj = SWIG_FromInt((int)result);
3988 return resultobj;
3989 fail:
3990 return NULL;
3991 }
3992
3993
3994 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3995 PyObject *resultobj;
3996 int *arg1 = (int *) 0 ;
3997 int *arg2 = (int *) 0 ;
3998 int temp1 ;
3999 int temp2 ;
4000 char *kwnames[] = {
4001 NULL
4002 };
4003
4004 arg1 = &temp1;
4005 arg2 = &temp2;
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
4007 {
4008 if (!wxPyCheckForApp()) SWIG_fail;
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 wxDisplaySize(arg1,arg2);
4011
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 Py_INCREF(Py_None); resultobj = Py_None;
4016 {
4017 PyObject *o = PyInt_FromLong((long) (*arg1));
4018 resultobj = t_output_helper(resultobj,o);
4019 }
4020 {
4021 PyObject *o = PyInt_FromLong((long) (*arg2));
4022 resultobj = t_output_helper(resultobj,o);
4023 }
4024 return resultobj;
4025 fail:
4026 return NULL;
4027 }
4028
4029
4030 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
4031 PyObject *resultobj;
4032 wxSize result;
4033 char *kwnames[] = {
4034 NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
4038 {
4039 if (!wxPyCheckForApp()) SWIG_fail;
4040 PyThreadState* __tstate = wxPyBeginAllowThreads();
4041 result = wxGetDisplaySize();
4042
4043 wxPyEndAllowThreads(__tstate);
4044 if (PyErr_Occurred()) SWIG_fail;
4045 }
4046 {
4047 wxSize * resultptr;
4048 resultptr = new wxSize((wxSize &) result);
4049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4050 }
4051 return resultobj;
4052 fail:
4053 return NULL;
4054 }
4055
4056
4057 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4058 PyObject *resultobj;
4059 int *arg1 = (int *) 0 ;
4060 int *arg2 = (int *) 0 ;
4061 int temp1 ;
4062 int temp2 ;
4063 char *kwnames[] = {
4064 NULL
4065 };
4066
4067 arg1 = &temp1;
4068 arg2 = &temp2;
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
4070 {
4071 if (!wxPyCheckForApp()) SWIG_fail;
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 wxDisplaySizeMM(arg1,arg2);
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 Py_INCREF(Py_None); resultobj = Py_None;
4079 {
4080 PyObject *o = PyInt_FromLong((long) (*arg1));
4081 resultobj = t_output_helper(resultobj,o);
4082 }
4083 {
4084 PyObject *o = PyInt_FromLong((long) (*arg2));
4085 resultobj = t_output_helper(resultobj,o);
4086 }
4087 return resultobj;
4088 fail:
4089 return NULL;
4090 }
4091
4092
4093 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4094 PyObject *resultobj;
4095 wxSize result;
4096 char *kwnames[] = {
4097 NULL
4098 };
4099
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
4101 {
4102 if (!wxPyCheckForApp()) SWIG_fail;
4103 PyThreadState* __tstate = wxPyBeginAllowThreads();
4104 result = wxGetDisplaySizeMM();
4105
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 {
4110 wxSize * resultptr;
4111 resultptr = new wxSize((wxSize &) result);
4112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4113 }
4114 return resultobj;
4115 fail:
4116 return NULL;
4117 }
4118
4119
4120 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj;
4122 int *arg1 = (int *) 0 ;
4123 int *arg2 = (int *) 0 ;
4124 int *arg3 = (int *) 0 ;
4125 int *arg4 = (int *) 0 ;
4126 int temp1 ;
4127 int temp2 ;
4128 int temp3 ;
4129 int temp4 ;
4130 char *kwnames[] = {
4131 NULL
4132 };
4133
4134 arg1 = &temp1;
4135 arg2 = &temp2;
4136 arg3 = &temp3;
4137 arg4 = &temp4;
4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
4139 {
4140 if (!wxPyCheckForApp()) SWIG_fail;
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 wxClientDisplayRect(arg1,arg2,arg3,arg4);
4143
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 Py_INCREF(Py_None); resultobj = Py_None;
4148 {
4149 PyObject *o = PyInt_FromLong((long) (*arg1));
4150 resultobj = t_output_helper(resultobj,o);
4151 }
4152 {
4153 PyObject *o = PyInt_FromLong((long) (*arg2));
4154 resultobj = t_output_helper(resultobj,o);
4155 }
4156 {
4157 PyObject *o = PyInt_FromLong((long) (*arg3));
4158 resultobj = t_output_helper(resultobj,o);
4159 }
4160 {
4161 PyObject *o = PyInt_FromLong((long) (*arg4));
4162 resultobj = t_output_helper(resultobj,o);
4163 }
4164 return resultobj;
4165 fail:
4166 return NULL;
4167 }
4168
4169
4170 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4171 PyObject *resultobj;
4172 wxRect result;
4173 char *kwnames[] = {
4174 NULL
4175 };
4176
4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
4178 {
4179 if (!wxPyCheckForApp()) SWIG_fail;
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 result = wxGetClientDisplayRect();
4182
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 {
4187 wxRect * resultptr;
4188 resultptr = new wxRect((wxRect &) result);
4189 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4190 }
4191 return resultobj;
4192 fail:
4193 return NULL;
4194 }
4195
4196
4197 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4198 PyObject *resultobj;
4199 wxCursor *arg1 = 0 ;
4200 PyObject * obj0 = 0 ;
4201 char *kwnames[] = {
4202 (char *) "cursor", NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
4206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4207 SWIG_POINTER_EXCEPTION | 0)) == -1)
4208 SWIG_fail;
4209 if (arg1 == NULL) {
4210 PyErr_SetString(PyExc_TypeError,"null reference");
4211 SWIG_fail;
4212 }
4213 {
4214 if (!wxPyCheckForApp()) SWIG_fail;
4215 PyThreadState* __tstate = wxPyBeginAllowThreads();
4216 wxSetCursor(*arg1);
4217
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 Py_INCREF(Py_None); resultobj = Py_None;
4222 return resultobj;
4223 fail:
4224 return NULL;
4225 }
4226
4227
4228 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4229 PyObject *resultobj;
4230 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4231 PyObject * obj0 = 0 ;
4232 char *kwnames[] = {
4233 (char *) "cursor", NULL
4234 };
4235
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4237 if (obj0) {
4238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4240 }
4241 {
4242 if (!wxPyCheckForApp()) SWIG_fail;
4243 PyThreadState* __tstate = wxPyBeginAllowThreads();
4244 wxBeginBusyCursor(arg1);
4245
4246 wxPyEndAllowThreads(__tstate);
4247 if (PyErr_Occurred()) SWIG_fail;
4248 }
4249 Py_INCREF(Py_None); resultobj = Py_None;
4250 return resultobj;
4251 fail:
4252 return NULL;
4253 }
4254
4255
4256 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4257 PyObject *resultobj;
4258 wxWindow *result;
4259 char *kwnames[] = {
4260 NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4264 {
4265 if (!wxPyCheckForApp()) SWIG_fail;
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 result = (wxWindow *)wxGetActiveWindow();
4268
4269 wxPyEndAllowThreads(__tstate);
4270 if (PyErr_Occurred()) SWIG_fail;
4271 }
4272 {
4273 resultobj = wxPyMake_wxObject(result, 0);
4274 }
4275 return resultobj;
4276 fail:
4277 return NULL;
4278 }
4279
4280
4281 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4282 PyObject *resultobj;
4283 wxPoint *arg1 = 0 ;
4284 wxWindow *result;
4285 wxPoint temp1 ;
4286 PyObject * obj0 = 0 ;
4287 char *kwnames[] = {
4288 (char *) "pt", NULL
4289 };
4290
4291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4292 {
4293 arg1 = &temp1;
4294 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4295 }
4296 {
4297 if (!wxPyCheckForApp()) SWIG_fail;
4298 PyThreadState* __tstate = wxPyBeginAllowThreads();
4299 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4300
4301 wxPyEndAllowThreads(__tstate);
4302 if (PyErr_Occurred()) SWIG_fail;
4303 }
4304 {
4305 resultobj = wxPyMake_wxObject(result, 0);
4306 }
4307 return resultobj;
4308 fail:
4309 return NULL;
4310 }
4311
4312
4313 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4314 PyObject *resultobj;
4315 wxPoint *arg1 = 0 ;
4316 wxWindow *result;
4317 wxPoint temp1 ;
4318 PyObject * obj0 = 0 ;
4319 char *kwnames[] = {
4320 (char *) "pt", NULL
4321 };
4322
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4324 {
4325 arg1 = &temp1;
4326 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4327 }
4328 {
4329 if (!wxPyCheckForApp()) SWIG_fail;
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 {
4337 resultobj = wxPyMake_wxObject(result, 0);
4338 }
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj;
4347 wxWindow *arg1 = (wxWindow *) 0 ;
4348 wxWindow *result;
4349 PyObject * obj0 = 0 ;
4350 char *kwnames[] = {
4351 (char *) "win", NULL
4352 };
4353
4354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4357 {
4358 if (!wxPyCheckForApp()) SWIG_fail;
4359 PyThreadState* __tstate = wxPyBeginAllowThreads();
4360 result = (wxWindow *)wxGetTopLevelParent(arg1);
4361
4362 wxPyEndAllowThreads(__tstate);
4363 if (PyErr_Occurred()) SWIG_fail;
4364 }
4365 {
4366 resultobj = wxPyMake_wxObject(result, 0);
4367 }
4368 return resultobj;
4369 fail:
4370 return NULL;
4371 }
4372
4373
4374 static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
4375 PyObject *resultobj;
4376 int arg1 ;
4377 bool result;
4378 PyObject * obj0 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "key", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4384 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 {
4387 if (!wxPyCheckForApp()) SWIG_fail;
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 {
4395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4396 }
4397 return resultobj;
4398 fail:
4399 return NULL;
4400 }
4401
4402
4403 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4404 PyObject *resultobj;
4405 char *kwnames[] = {
4406 NULL
4407 };
4408
4409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4410 {
4411 if (!wxPyCheckForApp()) SWIG_fail;
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 wxWakeUpMainThread();
4414
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 Py_INCREF(Py_None); resultobj = Py_None;
4419 return resultobj;
4420 fail:
4421 return NULL;
4422 }
4423
4424
4425 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4426 PyObject *resultobj;
4427 char *kwnames[] = {
4428 NULL
4429 };
4430
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4432 {
4433 if (!wxPyCheckForApp()) SWIG_fail;
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 wxMutexGuiEnter();
4436
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4440 Py_INCREF(Py_None); resultobj = Py_None;
4441 return resultobj;
4442 fail:
4443 return NULL;
4444 }
4445
4446
4447 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj;
4449 char *kwnames[] = {
4450 NULL
4451 };
4452
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4454 {
4455 if (!wxPyCheckForApp()) SWIG_fail;
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 wxMutexGuiLeave();
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 Py_INCREF(Py_None); resultobj = Py_None;
4463 return resultobj;
4464 fail:
4465 return NULL;
4466 }
4467
4468
4469 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4470 PyObject *resultobj;
4471 wxMutexGuiLocker *result;
4472 char *kwnames[] = {
4473 NULL
4474 };
4475
4476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4477 {
4478 if (!wxPyCheckForApp()) SWIG_fail;
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4481
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4486 return resultobj;
4487 fail:
4488 return NULL;
4489 }
4490
4491
4492 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4493 PyObject *resultobj;
4494 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4495 PyObject * obj0 = 0 ;
4496 char *kwnames[] = {
4497 (char *) "self", NULL
4498 };
4499
4500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 delete arg1;
4506
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 Py_INCREF(Py_None); resultobj = Py_None;
4511 return resultobj;
4512 fail:
4513 return NULL;
4514 }
4515
4516
4517 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4518 PyObject *obj;
4519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4520 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4521 Py_INCREF(obj);
4522 return Py_BuildValue((char *)"");
4523 }
4524 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4525 PyObject *resultobj;
4526 bool result;
4527 char *kwnames[] = {
4528 NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4532 {
4533 PyThreadState* __tstate = wxPyBeginAllowThreads();
4534 result = (bool)wxThread_IsMain();
4535
4536 wxPyEndAllowThreads(__tstate);
4537 if (PyErr_Occurred()) SWIG_fail;
4538 }
4539 {
4540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4541 }
4542 return resultobj;
4543 fail:
4544 return NULL;
4545 }
4546
4547
4548 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj;
4550 wxString *arg1 = 0 ;
4551 wxToolTip *result;
4552 bool temp1 = False ;
4553 PyObject * obj0 = 0 ;
4554 char *kwnames[] = {
4555 (char *) "tip", NULL
4556 };
4557
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4559 {
4560 arg1 = wxString_in_helper(obj0);
4561 if (arg1 == NULL) SWIG_fail;
4562 temp1 = True;
4563 }
4564 {
4565 if (!wxPyCheckForApp()) SWIG_fail;
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 {
4573 resultobj = wxPyMake_wxObject(result, 1);
4574 }
4575 {
4576 if (temp1)
4577 delete arg1;
4578 }
4579 return resultobj;
4580 fail:
4581 {
4582 if (temp1)
4583 delete arg1;
4584 }
4585 return NULL;
4586 }
4587
4588
4589 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4590 PyObject *resultobj;
4591 wxToolTip *arg1 = (wxToolTip *) 0 ;
4592 wxString *arg2 = 0 ;
4593 bool temp2 = False ;
4594 PyObject * obj0 = 0 ;
4595 PyObject * obj1 = 0 ;
4596 char *kwnames[] = {
4597 (char *) "self",(char *) "tip", NULL
4598 };
4599
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4603 {
4604 arg2 = wxString_in_helper(obj1);
4605 if (arg2 == NULL) SWIG_fail;
4606 temp2 = True;
4607 }
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 (arg1)->SetTip((wxString const &)*arg2);
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
4615 Py_INCREF(Py_None); resultobj = Py_None;
4616 {
4617 if (temp2)
4618 delete arg2;
4619 }
4620 return resultobj;
4621 fail:
4622 {
4623 if (temp2)
4624 delete arg2;
4625 }
4626 return NULL;
4627 }
4628
4629
4630 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4631 PyObject *resultobj;
4632 wxToolTip *arg1 = (wxToolTip *) 0 ;
4633 wxString result;
4634 PyObject * obj0 = 0 ;
4635 char *kwnames[] = {
4636 (char *) "self", NULL
4637 };
4638
4639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 result = (arg1)->GetTip();
4645
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 {
4650 #if wxUSE_UNICODE
4651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4652 #else
4653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4654 #endif
4655 }
4656 return resultobj;
4657 fail:
4658 return NULL;
4659 }
4660
4661
4662 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject *resultobj;
4664 wxToolTip *arg1 = (wxToolTip *) 0 ;
4665 wxWindow *result;
4666 PyObject * obj0 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 result = (wxWindow *)(arg1)->GetWindow();
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 {
4682 resultobj = wxPyMake_wxObject(result, 0);
4683 }
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj;
4692 bool arg1 ;
4693 PyObject * obj0 = 0 ;
4694 char *kwnames[] = {
4695 (char *) "flag", NULL
4696 };
4697
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4699 arg1 = (bool) SWIG_AsBool(obj0);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 wxToolTip::Enable(arg1);
4704
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4708 Py_INCREF(Py_None); resultobj = Py_None;
4709 return resultobj;
4710 fail:
4711 return NULL;
4712 }
4713
4714
4715 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4716 PyObject *resultobj;
4717 long arg1 ;
4718 PyObject * obj0 = 0 ;
4719 char *kwnames[] = {
4720 (char *) "milliseconds", NULL
4721 };
4722
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4724 arg1 = (long) SWIG_AsLong(obj0);
4725 if (PyErr_Occurred()) SWIG_fail;
4726 {
4727 PyThreadState* __tstate = wxPyBeginAllowThreads();
4728 wxToolTip::SetDelay(arg1);
4729
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 Py_INCREF(Py_None); resultobj = Py_None;
4734 return resultobj;
4735 fail:
4736 return NULL;
4737 }
4738
4739
4740 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4741 PyObject *obj;
4742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4743 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4744 Py_INCREF(obj);
4745 return Py_BuildValue((char *)"");
4746 }
4747 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4748 PyObject *resultobj;
4749 wxWindow *arg1 = (wxWindow *) 0 ;
4750 wxSize *arg2 = 0 ;
4751 wxCaret *result;
4752 wxSize temp2 ;
4753 PyObject * obj0 = 0 ;
4754 PyObject * obj1 = 0 ;
4755 char *kwnames[] = {
4756 (char *) "window",(char *) "size", NULL
4757 };
4758
4759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4762 {
4763 arg2 = &temp2;
4764 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4765 }
4766 {
4767 if (!wxPyCheckForApp()) SWIG_fail;
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
4775 return resultobj;
4776 fail:
4777 return NULL;
4778 }
4779
4780
4781 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4782 PyObject *resultobj;
4783 wxCaret *arg1 = (wxCaret *) 0 ;
4784 PyObject * obj0 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "self", NULL
4787 };
4788
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4792 {
4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
4794 delete arg1;
4795
4796 wxPyEndAllowThreads(__tstate);
4797 if (PyErr_Occurred()) SWIG_fail;
4798 }
4799 Py_INCREF(Py_None); resultobj = Py_None;
4800 return resultobj;
4801 fail:
4802 return NULL;
4803 }
4804
4805
4806 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4807 PyObject *resultobj;
4808 wxCaret *arg1 = (wxCaret *) 0 ;
4809 bool result;
4810 PyObject * obj0 = 0 ;
4811 char *kwnames[] = {
4812 (char *) "self", NULL
4813 };
4814
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4818 {
4819 PyThreadState* __tstate = wxPyBeginAllowThreads();
4820 result = (bool)(arg1)->IsOk();
4821
4822 wxPyEndAllowThreads(__tstate);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 {
4826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4827 }
4828 return resultobj;
4829 fail:
4830 return NULL;
4831 }
4832
4833
4834 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4835 PyObject *resultobj;
4836 wxCaret *arg1 = (wxCaret *) 0 ;
4837 bool result;
4838 PyObject * obj0 = 0 ;
4839 char *kwnames[] = {
4840 (char *) "self", NULL
4841 };
4842
4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 result = (bool)(arg1)->IsVisible();
4849
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) SWIG_fail;
4852 }
4853 {
4854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4855 }
4856 return resultobj;
4857 fail:
4858 return NULL;
4859 }
4860
4861
4862 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4863 PyObject *resultobj;
4864 wxCaret *arg1 = (wxCaret *) 0 ;
4865 wxPoint result;
4866 PyObject * obj0 = 0 ;
4867 char *kwnames[] = {
4868 (char *) "self", NULL
4869 };
4870
4871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 result = (arg1)->GetPosition();
4877
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 {
4882 wxPoint * resultptr;
4883 resultptr = new wxPoint((wxPoint &) result);
4884 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4885 }
4886 return resultobj;
4887 fail:
4888 return NULL;
4889 }
4890
4891
4892 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4893 PyObject *resultobj;
4894 wxCaret *arg1 = (wxCaret *) 0 ;
4895 int *arg2 = (int *) 0 ;
4896 int *arg3 = (int *) 0 ;
4897 int temp2 ;
4898 int temp3 ;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self", NULL
4902 };
4903
4904 arg2 = &temp2;
4905 arg3 = &temp3;
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 (arg1)->GetPosition(arg2,arg3);
4912
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 Py_INCREF(Py_None); resultobj = Py_None;
4917 {
4918 PyObject *o = PyInt_FromLong((long) (*arg2));
4919 resultobj = t_output_helper(resultobj,o);
4920 }
4921 {
4922 PyObject *o = PyInt_FromLong((long) (*arg3));
4923 resultobj = t_output_helper(resultobj,o);
4924 }
4925 return resultobj;
4926 fail:
4927 return NULL;
4928 }
4929
4930
4931 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4932 PyObject *resultobj;
4933 wxCaret *arg1 = (wxCaret *) 0 ;
4934 wxSize result;
4935 PyObject * obj0 = 0 ;
4936 char *kwnames[] = {
4937 (char *) "self", NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 result = (arg1)->GetSize();
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 {
4951 wxSize * resultptr;
4952 resultptr = new wxSize((wxSize &) result);
4953 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4954 }
4955 return resultobj;
4956 fail:
4957 return NULL;
4958 }
4959
4960
4961 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4962 PyObject *resultobj;
4963 wxCaret *arg1 = (wxCaret *) 0 ;
4964 int *arg2 = (int *) 0 ;
4965 int *arg3 = (int *) 0 ;
4966 int temp2 ;
4967 int temp3 ;
4968 PyObject * obj0 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self", NULL
4971 };
4972
4973 arg2 = &temp2;
4974 arg3 = &temp3;
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4978 {
4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
4980 (arg1)->GetSize(arg2,arg3);
4981
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 Py_INCREF(Py_None); resultobj = Py_None;
4986 {
4987 PyObject *o = PyInt_FromLong((long) (*arg2));
4988 resultobj = t_output_helper(resultobj,o);
4989 }
4990 {
4991 PyObject *o = PyInt_FromLong((long) (*arg3));
4992 resultobj = t_output_helper(resultobj,o);
4993 }
4994 return resultobj;
4995 fail:
4996 return NULL;
4997 }
4998
4999
5000 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxCaret *arg1 = (wxCaret *) 0 ;
5003 wxWindow *result;
5004 PyObject * obj0 = 0 ;
5005 char *kwnames[] = {
5006 (char *) "self", NULL
5007 };
5008
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
5010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 result = (wxWindow *)(arg1)->GetWindow();
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 {
5020 resultobj = wxPyMake_wxObject(result, 0);
5021 }
5022 return resultobj;
5023 fail:
5024 return NULL;
5025 }
5026
5027
5028 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj;
5030 wxCaret *arg1 = (wxCaret *) 0 ;
5031 int arg2 ;
5032 int arg3 ;
5033 PyObject * obj0 = 0 ;
5034 PyObject * obj1 = 0 ;
5035 PyObject * obj2 = 0 ;
5036 char *kwnames[] = {
5037 (char *) "self",(char *) "x",(char *) "y", NULL
5038 };
5039
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
5041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5043 arg2 = (int) SWIG_AsInt(obj1);
5044 if (PyErr_Occurred()) SWIG_fail;
5045 arg3 = (int) SWIG_AsInt(obj2);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 (arg1)->Move(arg2,arg3);
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 Py_INCREF(Py_None); resultobj = Py_None;
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxCaret *arg1 = (wxCaret *) 0 ;
5064 wxPoint *arg2 = 0 ;
5065 wxPoint temp2 ;
5066 PyObject * obj0 = 0 ;
5067 PyObject * obj1 = 0 ;
5068 char *kwnames[] = {
5069 (char *) "self",(char *) "pt", NULL
5070 };
5071
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
5073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5075 {
5076 arg2 = &temp2;
5077 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5078 }
5079 {
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 (arg1)->Move((wxPoint const &)*arg2);
5082
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) SWIG_fail;
5085 }
5086 Py_INCREF(Py_None); resultobj = Py_None;
5087 return resultobj;
5088 fail:
5089 return NULL;
5090 }
5091
5092
5093 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
5094 PyObject *resultobj;
5095 wxCaret *arg1 = (wxCaret *) 0 ;
5096 int arg2 ;
5097 int arg3 ;
5098 PyObject * obj0 = 0 ;
5099 PyObject * obj1 = 0 ;
5100 PyObject * obj2 = 0 ;
5101 char *kwnames[] = {
5102 (char *) "self",(char *) "width",(char *) "height", NULL
5103 };
5104
5105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
5106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5108 arg2 = (int) SWIG_AsInt(obj1);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 arg3 = (int) SWIG_AsInt(obj2);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 (arg1)->SetSize(arg2,arg3);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 Py_INCREF(Py_None); resultobj = Py_None;
5120 return resultobj;
5121 fail:
5122 return NULL;
5123 }
5124
5125
5126 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj;
5128 wxCaret *arg1 = (wxCaret *) 0 ;
5129 wxSize *arg2 = 0 ;
5130 wxSize temp2 ;
5131 PyObject * obj0 = 0 ;
5132 PyObject * obj1 = 0 ;
5133 char *kwnames[] = {
5134 (char *) "self",(char *) "size", NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
5138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5140 {
5141 arg2 = &temp2;
5142 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5143 }
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 (arg1)->SetSize((wxSize const &)*arg2);
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 Py_INCREF(Py_None); resultobj = Py_None;
5152 return resultobj;
5153 fail:
5154 return NULL;
5155 }
5156
5157
5158 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5159 PyObject *resultobj;
5160 wxCaret *arg1 = (wxCaret *) 0 ;
5161 int arg2 = (int) True ;
5162 PyObject * obj0 = 0 ;
5163 PyObject * obj1 = 0 ;
5164 char *kwnames[] = {
5165 (char *) "self",(char *) "show", NULL
5166 };
5167
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
5169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5171 if (obj1) {
5172 arg2 = (int) SWIG_AsInt(obj1);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 (arg1)->Show(arg2);
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 *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj;
5191 wxCaret *arg1 = (wxCaret *) 0 ;
5192 PyObject * obj0 = 0 ;
5193 char *kwnames[] = {
5194 (char *) "self", NULL
5195 };
5196
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
5198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 (arg1)->Hide();
5203
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 Py_INCREF(Py_None); resultobj = Py_None;
5208 return resultobj;
5209 fail:
5210 return NULL;
5211 }
5212
5213
5214 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
5215 PyObject *obj;
5216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5217 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
5218 Py_INCREF(obj);
5219 return Py_BuildValue((char *)"");
5220 }
5221 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5222 PyObject *resultobj;
5223 int result;
5224 char *kwnames[] = {
5225 NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 result = (int)wxCaret_GetBlinkTime();
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 resultobj = SWIG_FromInt((int)result);
5237 return resultobj;
5238 fail:
5239 return NULL;
5240 }
5241
5242
5243 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj;
5245 int arg1 ;
5246 PyObject * obj0 = 0 ;
5247 char *kwnames[] = {
5248 (char *) "milliseconds", NULL
5249 };
5250
5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
5252 arg1 = (int) SWIG_AsInt(obj0);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 {
5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
5256 wxCaret_SetBlinkTime(arg1);
5257
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 Py_INCREF(Py_None); resultobj = Py_None;
5262 return resultobj;
5263 fail:
5264 return NULL;
5265 }
5266
5267
5268 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5269 PyObject *resultobj;
5270 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5271 wxBusyCursor *result;
5272 PyObject * obj0 = 0 ;
5273 char *kwnames[] = {
5274 (char *) "cursor", NULL
5275 };
5276
5277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5278 if (obj0) {
5279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5281 }
5282 {
5283 if (!wxPyCheckForApp()) SWIG_fail;
5284 PyThreadState* __tstate = wxPyBeginAllowThreads();
5285 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5286
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5291 return resultobj;
5292 fail:
5293 return NULL;
5294 }
5295
5296
5297 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5298 PyObject *resultobj;
5299 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5300 PyObject * obj0 = 0 ;
5301 char *kwnames[] = {
5302 (char *) "self", NULL
5303 };
5304
5305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5308 {
5309 PyThreadState* __tstate = wxPyBeginAllowThreads();
5310 delete arg1;
5311
5312 wxPyEndAllowThreads(__tstate);
5313 if (PyErr_Occurred()) SWIG_fail;
5314 }
5315 Py_INCREF(Py_None); resultobj = Py_None;
5316 return resultobj;
5317 fail:
5318 return NULL;
5319 }
5320
5321
5322 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
5323 PyObject *obj;
5324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5325 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5326 Py_INCREF(obj);
5327 return Py_BuildValue((char *)"");
5328 }
5329 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5330 PyObject *resultobj;
5331 wxWindow *arg1 = (wxWindow *) NULL ;
5332 wxWindowDisabler *result;
5333 PyObject * obj0 = 0 ;
5334 char *kwnames[] = {
5335 (char *) "winToSkip", NULL
5336 };
5337
5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5339 if (obj0) {
5340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5342 }
5343 {
5344 if (!wxPyCheckForApp()) SWIG_fail;
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5347
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5352 return resultobj;
5353 fail:
5354 return NULL;
5355 }
5356
5357
5358 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5359 PyObject *resultobj;
5360 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5361 PyObject * obj0 = 0 ;
5362 char *kwnames[] = {
5363 (char *) "self", NULL
5364 };
5365
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 delete arg1;
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 Py_INCREF(Py_None); resultobj = Py_None;
5377 return resultobj;
5378 fail:
5379 return NULL;
5380 }
5381
5382
5383 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
5384 PyObject *obj;
5385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5386 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5387 Py_INCREF(obj);
5388 return Py_BuildValue((char *)"");
5389 }
5390 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxString *arg1 = 0 ;
5393 wxBusyInfo *result;
5394 bool temp1 = False ;
5395 PyObject * obj0 = 0 ;
5396 char *kwnames[] = {
5397 (char *) "message", NULL
5398 };
5399
5400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5401 {
5402 arg1 = wxString_in_helper(obj0);
5403 if (arg1 == NULL) SWIG_fail;
5404 temp1 = True;
5405 }
5406 {
5407 if (!wxPyCheckForApp()) SWIG_fail;
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5415 {
5416 if (temp1)
5417 delete arg1;
5418 }
5419 return resultobj;
5420 fail:
5421 {
5422 if (temp1)
5423 delete arg1;
5424 }
5425 return NULL;
5426 }
5427
5428
5429 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5430 PyObject *resultobj;
5431 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5432 PyObject * obj0 = 0 ;
5433 char *kwnames[] = {
5434 (char *) "self", NULL
5435 };
5436
5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5440 {
5441 PyThreadState* __tstate = wxPyBeginAllowThreads();
5442 delete arg1;
5443
5444 wxPyEndAllowThreads(__tstate);
5445 if (PyErr_Occurred()) SWIG_fail;
5446 }
5447 Py_INCREF(Py_None); resultobj = Py_None;
5448 return resultobj;
5449 fail:
5450 return NULL;
5451 }
5452
5453
5454 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5455 PyObject *obj;
5456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5457 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5458 Py_INCREF(obj);
5459 return Py_BuildValue((char *)"");
5460 }
5461 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5462 PyObject *resultobj;
5463 wxStopWatch *result;
5464 char *kwnames[] = {
5465 NULL
5466 };
5467
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5471 result = (wxStopWatch *)new wxStopWatch();
5472
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
5476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5477 return resultobj;
5478 fail:
5479 return NULL;
5480 }
5481
5482
5483 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5484 PyObject *resultobj;
5485 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5486 long arg2 = (long) 0 ;
5487 PyObject * obj0 = 0 ;
5488 PyObject * obj1 = 0 ;
5489 char *kwnames[] = {
5490 (char *) "self",(char *) "t0", NULL
5491 };
5492
5493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5496 if (obj1) {
5497 arg2 = (long) SWIG_AsLong(obj1);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 {
5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
5502 (arg1)->Start(arg2);
5503
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 Py_INCREF(Py_None); resultobj = Py_None;
5508 return resultobj;
5509 fail:
5510 return NULL;
5511 }
5512
5513
5514 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj;
5516 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5517 PyObject * obj0 = 0 ;
5518 char *kwnames[] = {
5519 (char *) "self", NULL
5520 };
5521
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5525 {
5526 PyThreadState* __tstate = wxPyBeginAllowThreads();
5527 (arg1)->Pause();
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_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5540 PyObject *resultobj;
5541 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5542 PyObject * obj0 = 0 ;
5543 char *kwnames[] = {
5544 (char *) "self", NULL
5545 };
5546
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5550 {
5551 PyThreadState* __tstate = wxPyBeginAllowThreads();
5552 (arg1)->Resume();
5553
5554 wxPyEndAllowThreads(__tstate);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 }
5557 Py_INCREF(Py_None); resultobj = Py_None;
5558 return resultobj;
5559 fail:
5560 return NULL;
5561 }
5562
5563
5564 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5565 PyObject *resultobj;
5566 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5567 long result;
5568 PyObject * obj0 = 0 ;
5569 char *kwnames[] = {
5570 (char *) "self", NULL
5571 };
5572
5573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5576 {
5577 PyThreadState* __tstate = wxPyBeginAllowThreads();
5578 result = (long)((wxStopWatch const *)arg1)->Time();
5579
5580 wxPyEndAllowThreads(__tstate);
5581 if (PyErr_Occurred()) SWIG_fail;
5582 }
5583 resultobj = SWIG_FromLong((long)result);
5584 return resultobj;
5585 fail:
5586 return NULL;
5587 }
5588
5589
5590 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5591 PyObject *obj;
5592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5593 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5594 Py_INCREF(obj);
5595 return Py_BuildValue((char *)"");
5596 }
5597 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5598 PyObject *resultobj;
5599 int arg1 = (int) 9 ;
5600 wxFileHistory *result;
5601 PyObject * obj0 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "maxFiles", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5607 if (obj0) {
5608 arg1 = (int) SWIG_AsInt(obj0);
5609 if (PyErr_Occurred()) SWIG_fail;
5610 }
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 result = (wxFileHistory *)new wxFileHistory(arg1);
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5619 return resultobj;
5620 fail:
5621 return NULL;
5622 }
5623
5624
5625 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj;
5627 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5628 PyObject * obj0 = 0 ;
5629 char *kwnames[] = {
5630 (char *) "self", NULL
5631 };
5632
5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 delete arg1;
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 Py_INCREF(Py_None); resultobj = Py_None;
5644 return resultobj;
5645 fail:
5646 return NULL;
5647 }
5648
5649
5650 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5651 PyObject *resultobj;
5652 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5653 wxString *arg2 = 0 ;
5654 bool temp2 = False ;
5655 PyObject * obj0 = 0 ;
5656 PyObject * obj1 = 0 ;
5657 char *kwnames[] = {
5658 (char *) "self",(char *) "file", NULL
5659 };
5660
5661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5664 {
5665 arg2 = wxString_in_helper(obj1);
5666 if (arg2 == NULL) SWIG_fail;
5667 temp2 = True;
5668 }
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 (arg1)->AddFileToHistory((wxString const &)*arg2);
5672
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 Py_INCREF(Py_None); resultobj = Py_None;
5677 {
5678 if (temp2)
5679 delete arg2;
5680 }
5681 return resultobj;
5682 fail:
5683 {
5684 if (temp2)
5685 delete arg2;
5686 }
5687 return NULL;
5688 }
5689
5690
5691 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5692 PyObject *resultobj;
5693 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5694 int arg2 ;
5695 PyObject * obj0 = 0 ;
5696 PyObject * obj1 = 0 ;
5697 char *kwnames[] = {
5698 (char *) "self",(char *) "i", NULL
5699 };
5700
5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5704 arg2 = (int) SWIG_AsInt(obj1);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 (arg1)->RemoveFileFromHistory(arg2);
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 Py_INCREF(Py_None); resultobj = Py_None;
5714 return resultobj;
5715 fail:
5716 return NULL;
5717 }
5718
5719
5720 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5721 PyObject *resultobj;
5722 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5723 int result;
5724 PyObject * obj0 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "self", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 resultobj = SWIG_FromInt((int)result);
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5749 wxMenu *arg2 = (wxMenu *) 0 ;
5750 PyObject * obj0 = 0 ;
5751 PyObject * obj1 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self",(char *) "menu", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 (arg1)->UseMenu(arg2);
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 Py_INCREF(Py_None); resultobj = Py_None;
5769 return resultobj;
5770 fail:
5771 return NULL;
5772 }
5773
5774
5775 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5778 wxMenu *arg2 = (wxMenu *) 0 ;
5779 PyObject * obj0 = 0 ;
5780 PyObject * obj1 = 0 ;
5781 char *kwnames[] = {
5782 (char *) "self",(char *) "menu", NULL
5783 };
5784
5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 (arg1)->RemoveMenu(arg2);
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 Py_INCREF(Py_None); resultobj = Py_None;
5798 return resultobj;
5799 fail:
5800 return NULL;
5801 }
5802
5803
5804 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5805 PyObject *resultobj;
5806 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5807 wxConfigBase *arg2 = 0 ;
5808 PyObject * obj0 = 0 ;
5809 PyObject * obj1 = 0 ;
5810 char *kwnames[] = {
5811 (char *) "self",(char *) "config", NULL
5812 };
5813
5814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5818 SWIG_POINTER_EXCEPTION | 0)) == -1)
5819 SWIG_fail;
5820 if (arg2 == NULL) {
5821 PyErr_SetString(PyExc_TypeError,"null reference");
5822 SWIG_fail;
5823 }
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 (arg1)->Load(*arg2);
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 Py_INCREF(Py_None); resultobj = Py_None;
5832 return resultobj;
5833 fail:
5834 return NULL;
5835 }
5836
5837
5838 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5841 wxConfigBase *arg2 = 0 ;
5842 PyObject * obj0 = 0 ;
5843 PyObject * obj1 = 0 ;
5844 char *kwnames[] = {
5845 (char *) "self",(char *) "config", NULL
5846 };
5847
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5852 SWIG_POINTER_EXCEPTION | 0)) == -1)
5853 SWIG_fail;
5854 if (arg2 == NULL) {
5855 PyErr_SetString(PyExc_TypeError,"null reference");
5856 SWIG_fail;
5857 }
5858 {
5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
5860 (arg1)->Save(*arg2);
5861
5862 wxPyEndAllowThreads(__tstate);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 Py_INCREF(Py_None); resultobj = Py_None;
5866 return resultobj;
5867 fail:
5868 return NULL;
5869 }
5870
5871
5872 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5873 PyObject *resultobj;
5874 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5875 PyObject * obj0 = 0 ;
5876 char *kwnames[] = {
5877 (char *) "self", NULL
5878 };
5879
5880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5883 {
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 (arg1)->AddFilesToMenu();
5886
5887 wxPyEndAllowThreads(__tstate);
5888 if (PyErr_Occurred()) SWIG_fail;
5889 }
5890 Py_INCREF(Py_None); resultobj = Py_None;
5891 return resultobj;
5892 fail:
5893 return NULL;
5894 }
5895
5896
5897 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5898 PyObject *resultobj;
5899 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5900 wxMenu *arg2 = (wxMenu *) 0 ;
5901 PyObject * obj0 = 0 ;
5902 PyObject * obj1 = 0 ;
5903 char *kwnames[] = {
5904 (char *) "self",(char *) "menu", NULL
5905 };
5906
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5912 {
5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
5914 (arg1)->AddFilesToMenu(arg2);
5915
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 Py_INCREF(Py_None); resultobj = Py_None;
5920 return resultobj;
5921 fail:
5922 return NULL;
5923 }
5924
5925
5926 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj;
5928 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5929 int arg2 ;
5930 wxString result;
5931 PyObject * obj0 = 0 ;
5932 PyObject * obj1 = 0 ;
5933 char *kwnames[] = {
5934 (char *) "self",(char *) "i", NULL
5935 };
5936
5937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5940 arg2 = (int) SWIG_AsInt(obj1);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 {
5950 #if wxUSE_UNICODE
5951 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5952 #else
5953 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5954 #endif
5955 }
5956 return resultobj;
5957 fail:
5958 return NULL;
5959 }
5960
5961
5962 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5963 PyObject *resultobj;
5964 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5965 int result;
5966 PyObject * obj0 = 0 ;
5967 char *kwnames[] = {
5968 (char *) "self", NULL
5969 };
5970
5971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5974 {
5975 PyThreadState* __tstate = wxPyBeginAllowThreads();
5976 result = (int)((wxFileHistory const *)arg1)->GetCount();
5977
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 resultobj = SWIG_FromInt((int)result);
5982 return resultobj;
5983 fail:
5984 return NULL;
5985 }
5986
5987
5988 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5989 PyObject *obj;
5990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5991 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5992 Py_INCREF(obj);
5993 return Py_BuildValue((char *)"");
5994 }
5995 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj;
5997 wxString *arg1 = 0 ;
5998 wxString const &arg2_defvalue = wxPyEmptyString ;
5999 wxString *arg2 = (wxString *) &arg2_defvalue ;
6000 wxSingleInstanceChecker *result;
6001 bool temp1 = False ;
6002 bool temp2 = False ;
6003 PyObject * obj0 = 0 ;
6004 PyObject * obj1 = 0 ;
6005 char *kwnames[] = {
6006 (char *) "name",(char *) "path", NULL
6007 };
6008
6009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
6010 {
6011 arg1 = wxString_in_helper(obj0);
6012 if (arg1 == NULL) SWIG_fail;
6013 temp1 = True;
6014 }
6015 if (obj1) {
6016 {
6017 arg2 = wxString_in_helper(obj1);
6018 if (arg2 == NULL) SWIG_fail;
6019 temp2 = True;
6020 }
6021 }
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6030 {
6031 if (temp1)
6032 delete arg1;
6033 }
6034 {
6035 if (temp2)
6036 delete arg2;
6037 }
6038 return resultobj;
6039 fail:
6040 {
6041 if (temp1)
6042 delete arg1;
6043 }
6044 {
6045 if (temp2)
6046 delete arg2;
6047 }
6048 return NULL;
6049 }
6050
6051
6052 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj;
6054 wxSingleInstanceChecker *result;
6055 char *kwnames[] = {
6056 NULL
6057 };
6058
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
6060 {
6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
6062 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
6063
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6068 return resultobj;
6069 fail:
6070 return NULL;
6071 }
6072
6073
6074 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
6075 PyObject *resultobj;
6076 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6077 PyObject * obj0 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
6083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 delete arg1;
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 Py_INCREF(Py_None); resultobj = Py_None;
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6100 PyObject *resultobj;
6101 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6102 wxString *arg2 = 0 ;
6103 wxString const &arg3_defvalue = wxPyEmptyString ;
6104 wxString *arg3 = (wxString *) &arg3_defvalue ;
6105 bool result;
6106 bool temp2 = False ;
6107 bool temp3 = False ;
6108 PyObject * obj0 = 0 ;
6109 PyObject * obj1 = 0 ;
6110 PyObject * obj2 = 0 ;
6111 char *kwnames[] = {
6112 (char *) "self",(char *) "name",(char *) "path", NULL
6113 };
6114
6115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
6116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6118 {
6119 arg2 = wxString_in_helper(obj1);
6120 if (arg2 == NULL) SWIG_fail;
6121 temp2 = True;
6122 }
6123 if (obj2) {
6124 {
6125 arg3 = wxString_in_helper(obj2);
6126 if (arg3 == NULL) SWIG_fail;
6127 temp3 = True;
6128 }
6129 }
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 {
6138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6139 }
6140 {
6141 if (temp2)
6142 delete arg2;
6143 }
6144 {
6145 if (temp3)
6146 delete arg3;
6147 }
6148 return resultobj;
6149 fail:
6150 {
6151 if (temp2)
6152 delete arg2;
6153 }
6154 {
6155 if (temp3)
6156 delete arg3;
6157 }
6158 return NULL;
6159 }
6160
6161
6162 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6163 PyObject *resultobj;
6164 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6165 bool result;
6166 PyObject * obj0 = 0 ;
6167 char *kwnames[] = {
6168 (char *) "self", NULL
6169 };
6170
6171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
6172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6174 {
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
6177
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 {
6182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6183 }
6184 return resultobj;
6185 fail:
6186 return NULL;
6187 }
6188
6189
6190 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
6191 PyObject *obj;
6192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6193 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
6194 Py_INCREF(obj);
6195 return Py_BuildValue((char *)"");
6196 }
6197 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj;
6199 wxWindow *arg1 = (wxWindow *) 0 ;
6200 wxDC *arg2 = 0 ;
6201 int arg3 ;
6202 PyObject * obj0 = 0 ;
6203 PyObject * obj1 = 0 ;
6204 PyObject * obj2 = 0 ;
6205 char *kwnames[] = {
6206 (char *) "window",(char *) "dc",(char *) "method", NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
6210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6213 SWIG_POINTER_EXCEPTION | 0)) == -1)
6214 SWIG_fail;
6215 if (arg2 == NULL) {
6216 PyErr_SetString(PyExc_TypeError,"null reference");
6217 SWIG_fail;
6218 }
6219 arg3 = (int) SWIG_AsInt(obj2);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 {
6222 PyThreadState* __tstate = wxPyBeginAllowThreads();
6223 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
6224
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 Py_INCREF(Py_None); resultobj = Py_None;
6229 return resultobj;
6230 fail:
6231 return NULL;
6232 }
6233
6234
6235 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6236 PyObject *resultobj;
6237 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6238 PyObject * obj0 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 delete arg1;
6249
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 Py_INCREF(Py_None); resultobj = Py_None;
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj;
6262 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6263 wxString result;
6264 PyObject * obj0 = 0 ;
6265 char *kwnames[] = {
6266 (char *) "self", NULL
6267 };
6268
6269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 result = (arg1)->GetTip();
6275
6276 wxPyEndAllowThreads(__tstate);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 {
6280 #if wxUSE_UNICODE
6281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6282 #else
6283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6284 #endif
6285 }
6286 return resultobj;
6287 fail:
6288 return NULL;
6289 }
6290
6291
6292 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6295 size_t result;
6296 PyObject * obj0 = 0 ;
6297 char *kwnames[] = {
6298 (char *) "self", NULL
6299 };
6300
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6304 {
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 result = (size_t)(arg1)->GetCurrentTip();
6307
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
6312 return resultobj;
6313 fail:
6314 return NULL;
6315 }
6316
6317
6318 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6319 PyObject *resultobj;
6320 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6321 wxString *arg2 = 0 ;
6322 wxString result;
6323 bool temp2 = False ;
6324 PyObject * obj0 = 0 ;
6325 PyObject * obj1 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "self",(char *) "tip", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6333 {
6334 arg2 = wxString_in_helper(obj1);
6335 if (arg2 == NULL) SWIG_fail;
6336 temp2 = True;
6337 }
6338 {
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6341
6342 wxPyEndAllowThreads(__tstate);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
6345 {
6346 #if wxUSE_UNICODE
6347 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6348 #else
6349 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6350 #endif
6351 }
6352 {
6353 if (temp2)
6354 delete arg2;
6355 }
6356 return resultobj;
6357 fail:
6358 {
6359 if (temp2)
6360 delete arg2;
6361 }
6362 return NULL;
6363 }
6364
6365
6366 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
6367 PyObject *obj;
6368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6369 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6370 Py_INCREF(obj);
6371 return Py_BuildValue((char *)"");
6372 }
6373 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 size_t arg1 ;
6376 wxPyTipProvider *result;
6377 PyObject * obj0 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "currentTip", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6383 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6384 if (PyErr_Occurred()) SWIG_fail;
6385 {
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6388
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6393 return resultobj;
6394 fail:
6395 return NULL;
6396 }
6397
6398
6399 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6400 PyObject *resultobj;
6401 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6402 PyObject *arg2 = (PyObject *) 0 ;
6403 PyObject *arg3 = (PyObject *) 0 ;
6404 PyObject * obj0 = 0 ;
6405 PyObject * obj1 = 0 ;
6406 PyObject * obj2 = 0 ;
6407 char *kwnames[] = {
6408 (char *) "self",(char *) "self",(char *) "_class", NULL
6409 };
6410
6411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6414 arg2 = obj1;
6415 arg3 = obj2;
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 (arg1)->_setCallbackInfo(arg2,arg3);
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 Py_INCREF(Py_None); resultobj = Py_None;
6424 return resultobj;
6425 fail:
6426 return NULL;
6427 }
6428
6429
6430 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
6431 PyObject *obj;
6432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6433 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6434 Py_INCREF(obj);
6435 return Py_BuildValue((char *)"");
6436 }
6437 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxWindow *arg1 = (wxWindow *) 0 ;
6440 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6441 bool arg3 = (bool) True ;
6442 bool result;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
6445 PyObject * obj2 = 0 ;
6446 char *kwnames[] = {
6447 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6455 if (obj2) {
6456 arg3 = (bool) SWIG_AsBool(obj2);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 }
6459 {
6460 if (!wxPyCheckForApp()) SWIG_fail;
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 result = (bool)wxShowTip(arg1,arg2,arg3);
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_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6477 PyObject *resultobj;
6478 wxString *arg1 = 0 ;
6479 size_t arg2 ;
6480 wxTipProvider *result;
6481 bool temp1 = False ;
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
6484 char *kwnames[] = {
6485 (char *) "filename",(char *) "currentTip", NULL
6486 };
6487
6488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6489 {
6490 arg1 = wxString_in_helper(obj0);
6491 if (arg1 == NULL) SWIG_fail;
6492 temp1 = True;
6493 }
6494 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 {
6497 if (!wxPyCheckForApp()) SWIG_fail;
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6505 {
6506 if (temp1)
6507 delete arg1;
6508 }
6509 return resultobj;
6510 fail:
6511 {
6512 if (temp1)
6513 delete arg1;
6514 }
6515 return NULL;
6516 }
6517
6518
6519 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6520 PyObject *resultobj;
6521 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6522 int arg2 = (int) -1 ;
6523 wxPyTimer *result;
6524 PyObject * obj0 = 0 ;
6525 PyObject * obj1 = 0 ;
6526 char *kwnames[] = {
6527 (char *) "owner",(char *) "id", NULL
6528 };
6529
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6531 if (obj0) {
6532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6534 }
6535 if (obj1) {
6536 arg2 = (int) SWIG_AsInt(obj1);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 {
6540 if (!wxPyCheckForApp()) SWIG_fail;
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6548 return resultobj;
6549 fail:
6550 return NULL;
6551 }
6552
6553
6554 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject *resultobj;
6556 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6557 PyObject * obj0 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "self", NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 delete arg1;
6568
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) SWIG_fail;
6571 }
6572 Py_INCREF(Py_None); resultobj = Py_None;
6573 return resultobj;
6574 fail:
6575 return NULL;
6576 }
6577
6578
6579 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6580 PyObject *resultobj;
6581 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6582 PyObject *arg2 = (PyObject *) 0 ;
6583 PyObject *arg3 = (PyObject *) 0 ;
6584 int arg4 = (int) 1 ;
6585 PyObject * obj0 = 0 ;
6586 PyObject * obj1 = 0 ;
6587 PyObject * obj2 = 0 ;
6588 PyObject * obj3 = 0 ;
6589 char *kwnames[] = {
6590 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6591 };
6592
6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6596 arg2 = obj1;
6597 arg3 = obj2;
6598 if (obj3) {
6599 arg4 = (int) SWIG_AsInt(obj3);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
6602 {
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6604 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) SWIG_fail;
6608 }
6609 Py_INCREF(Py_None); resultobj = Py_None;
6610 return resultobj;
6611 fail:
6612 return NULL;
6613 }
6614
6615
6616 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6617 PyObject *resultobj;
6618 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6619 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6620 int arg3 = (int) -1 ;
6621 PyObject * obj0 = 0 ;
6622 PyObject * obj1 = 0 ;
6623 PyObject * obj2 = 0 ;
6624 char *kwnames[] = {
6625 (char *) "self",(char *) "owner",(char *) "id", NULL
6626 };
6627
6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6633 if (obj2) {
6634 arg3 = (int) SWIG_AsInt(obj2);
6635 if (PyErr_Occurred()) SWIG_fail;
6636 }
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 (arg1)->SetOwner(arg2,arg3);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 Py_INCREF(Py_None); resultobj = Py_None;
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 static PyObject *_wrap_Timer_GetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj;
6653 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6654 wxEvtHandler *result;
6655 PyObject * obj0 = 0 ;
6656 char *kwnames[] = {
6657 (char *) "self", NULL
6658 };
6659
6660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
6661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = (wxEvtHandler *)(arg1)->GetOwner();
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
6670 {
6671 resultobj = wxPyMake_wxObject(result, 0);
6672 }
6673 return resultobj;
6674 fail:
6675 return NULL;
6676 }
6677
6678
6679 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6682 int arg2 = (int) -1 ;
6683 bool arg3 = (bool) False ;
6684 bool result;
6685 PyObject * obj0 = 0 ;
6686 PyObject * obj1 = 0 ;
6687 PyObject * obj2 = 0 ;
6688 char *kwnames[] = {
6689 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6690 };
6691
6692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6695 if (obj1) {
6696 arg2 = (int) SWIG_AsInt(obj1);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 if (obj2) {
6700 arg3 = (bool) SWIG_AsBool(obj2);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 {
6704 PyThreadState* __tstate = wxPyBeginAllowThreads();
6705 result = (bool)(arg1)->Start(arg2,arg3);
6706
6707 wxPyEndAllowThreads(__tstate);
6708 if (PyErr_Occurred()) SWIG_fail;
6709 }
6710 {
6711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6712 }
6713 return resultobj;
6714 fail:
6715 return NULL;
6716 }
6717
6718
6719 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6720 PyObject *resultobj;
6721 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6722 PyObject * obj0 = 0 ;
6723 char *kwnames[] = {
6724 (char *) "self", NULL
6725 };
6726
6727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 (arg1)->Stop();
6733
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
6737 Py_INCREF(Py_None); resultobj = Py_None;
6738 return resultobj;
6739 fail:
6740 return NULL;
6741 }
6742
6743
6744 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6745 PyObject *resultobj;
6746 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6747 bool result;
6748 PyObject * obj0 = 0 ;
6749 char *kwnames[] = {
6750 (char *) "self", NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6756 {
6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
6758 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) SWIG_fail;
6762 }
6763 {
6764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6765 }
6766 return resultobj;
6767 fail:
6768 return NULL;
6769 }
6770
6771
6772 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6773 PyObject *resultobj;
6774 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6775 int result;
6776 PyObject * obj0 = 0 ;
6777 char *kwnames[] = {
6778 (char *) "self", NULL
6779 };
6780
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6787
6788 wxPyEndAllowThreads(__tstate);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 resultobj = SWIG_FromInt((int)result);
6792 return resultobj;
6793 fail:
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6801 bool result;
6802 PyObject * obj0 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6810 {
6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
6812 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6813
6814 wxPyEndAllowThreads(__tstate);
6815 if (PyErr_Occurred()) SWIG_fail;
6816 }
6817 {
6818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6819 }
6820 return resultobj;
6821 fail:
6822 return NULL;
6823 }
6824
6825
6826 static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6829 int result;
6830 PyObject * obj0 = 0 ;
6831 char *kwnames[] = {
6832 (char *) "self", NULL
6833 };
6834
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 result = (int)((wxPyTimer const *)arg1)->GetId();
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 resultobj = SWIG_FromInt((int)result);
6846 return resultobj;
6847 fail:
6848 return NULL;
6849 }
6850
6851
6852 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6853 PyObject *obj;
6854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6855 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6856 Py_INCREF(obj);
6857 return Py_BuildValue((char *)"");
6858 }
6859 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6860 PyObject *resultobj;
6861 int arg1 = (int) 0 ;
6862 int arg2 = (int) 0 ;
6863 wxTimerEvent *result;
6864 PyObject * obj0 = 0 ;
6865 PyObject * obj1 = 0 ;
6866 char *kwnames[] = {
6867 (char *) "timerid",(char *) "interval", NULL
6868 };
6869
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6871 if (obj0) {
6872 arg1 = (int) SWIG_AsInt(obj0);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 }
6875 if (obj1) {
6876 arg2 = (int) SWIG_AsInt(obj1);
6877 if (PyErr_Occurred()) SWIG_fail;
6878 }
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6896 int result;
6897 PyObject * obj0 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "self", NULL
6900 };
6901
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6908
6909 wxPyEndAllowThreads(__tstate);
6910 if (PyErr_Occurred()) SWIG_fail;
6911 }
6912 resultobj = SWIG_FromInt((int)result);
6913 return resultobj;
6914 fail:
6915 return NULL;
6916 }
6917
6918
6919 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6920 PyObject *obj;
6921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6922 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6923 Py_INCREF(obj);
6924 return Py_BuildValue((char *)"");
6925 }
6926 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6927 PyObject *resultobj;
6928 wxTimer *arg1 = 0 ;
6929 wxTimerRunner *result;
6930 PyObject * obj0 = 0 ;
6931
6932 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6934 SWIG_POINTER_EXCEPTION | 0)) == -1)
6935 SWIG_fail;
6936 if (arg1 == NULL) {
6937 PyErr_SetString(PyExc_TypeError,"null reference");
6938 SWIG_fail;
6939 }
6940 {
6941 if (!wxPyCheckForApp()) SWIG_fail;
6942 PyThreadState* __tstate = wxPyBeginAllowThreads();
6943 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6944
6945 wxPyEndAllowThreads(__tstate);
6946 if (PyErr_Occurred()) SWIG_fail;
6947 }
6948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6949 return resultobj;
6950 fail:
6951 return NULL;
6952 }
6953
6954
6955 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6956 PyObject *resultobj;
6957 wxTimer *arg1 = 0 ;
6958 int arg2 ;
6959 bool arg3 = (bool) False ;
6960 wxTimerRunner *result;
6961 PyObject * obj0 = 0 ;
6962 PyObject * obj1 = 0 ;
6963 PyObject * obj2 = 0 ;
6964
6965 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6967 SWIG_POINTER_EXCEPTION | 0)) == -1)
6968 SWIG_fail;
6969 if (arg1 == NULL) {
6970 PyErr_SetString(PyExc_TypeError,"null reference");
6971 SWIG_fail;
6972 }
6973 arg2 = (int) SWIG_AsInt(obj1);
6974 if (PyErr_Occurred()) SWIG_fail;
6975 if (obj2) {
6976 arg3 = (bool) SWIG_AsBool(obj2);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 {
6980 if (!wxPyCheckForApp()) SWIG_fail;
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6988 return resultobj;
6989 fail:
6990 return NULL;
6991 }
6992
6993
6994 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6995 int argc;
6996 PyObject *argv[4];
6997 int ii;
6998
6999 argc = PyObject_Length(args);
7000 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
7001 argv[ii] = PyTuple_GetItem(args,ii);
7002 }
7003 if (argc == 1) {
7004 int _v;
7005 {
7006 void *ptr;
7007 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7008 _v = 0;
7009 PyErr_Clear();
7010 } else {
7011 _v = 1;
7012 }
7013 }
7014 if (_v) {
7015 return _wrap_new_TimerRunner__SWIG_0(self,args);
7016 }
7017 }
7018 if ((argc >= 2) && (argc <= 3)) {
7019 int _v;
7020 {
7021 void *ptr;
7022 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7023 _v = 0;
7024 PyErr_Clear();
7025 } else {
7026 _v = 1;
7027 }
7028 }
7029 if (_v) {
7030 _v = SWIG_CheckInt(argv[1]);
7031 if (_v) {
7032 if (argc <= 2) {
7033 return _wrap_new_TimerRunner__SWIG_1(self,args);
7034 }
7035 _v = SWIG_CheckBool(argv[2]);
7036 if (_v) {
7037 return _wrap_new_TimerRunner__SWIG_1(self,args);
7038 }
7039 }
7040 }
7041 }
7042
7043 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
7044 return NULL;
7045 }
7046
7047
7048 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject *resultobj;
7050 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7051 PyObject * obj0 = 0 ;
7052 char *kwnames[] = {
7053 (char *) "self", NULL
7054 };
7055
7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
7057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7059 {
7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7061 delete arg1;
7062
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 Py_INCREF(Py_None); resultobj = Py_None;
7067 return resultobj;
7068 fail:
7069 return NULL;
7070 }
7071
7072
7073 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj;
7075 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7076 int arg2 ;
7077 bool arg3 = (bool) False ;
7078 PyObject * obj0 = 0 ;
7079 PyObject * obj1 = 0 ;
7080 PyObject * obj2 = 0 ;
7081 char *kwnames[] = {
7082 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7083 };
7084
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
7086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7088 arg2 = (int) SWIG_AsInt(obj1);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 if (obj2) {
7091 arg3 = (bool) SWIG_AsBool(obj2);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 (arg1)->Start(arg2,arg3);
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 Py_INCREF(Py_None); resultobj = Py_None;
7102 return resultobj;
7103 fail:
7104 return NULL;
7105 }
7106
7107
7108 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
7109 PyObject *obj;
7110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7111 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
7112 Py_INCREF(obj);
7113 return Py_BuildValue((char *)"");
7114 }
7115 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 wxLog *result;
7118 char *kwnames[] = {
7119 NULL
7120 };
7121
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 result = (wxLog *)new wxLog();
7126
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
7131 return resultobj;
7132 fail:
7133 return NULL;
7134 }
7135
7136
7137 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj;
7139 bool result;
7140 char *kwnames[] = {
7141 NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 result = (bool)wxLog::IsEnabled();
7148
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 {
7153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7154 }
7155 return resultobj;
7156 fail:
7157 return NULL;
7158 }
7159
7160
7161 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
7162 PyObject *resultobj;
7163 bool arg1 = (bool) True ;
7164 bool result;
7165 PyObject * obj0 = 0 ;
7166 char *kwnames[] = {
7167 (char *) "doIt", NULL
7168 };
7169
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
7171 if (obj0) {
7172 arg1 = (bool) SWIG_AsBool(obj0);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 result = (bool)wxLog::EnableLogging(arg1);
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 {
7183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7184 }
7185 return resultobj;
7186 fail:
7187 return NULL;
7188 }
7189
7190
7191 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj;
7193 wxLogLevel arg1 ;
7194 wxChar *arg2 = (wxChar *) 0 ;
7195 time_t arg3 ;
7196 PyObject * obj0 = 0 ;
7197 PyObject * obj1 = 0 ;
7198 PyObject * obj2 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "level",(char *) "szString",(char *) "t", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
7204 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
7207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7208 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
7213
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 Py_INCREF(Py_None); resultobj = Py_None;
7218 return resultobj;
7219 fail:
7220 return NULL;
7221 }
7222
7223
7224 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
7225 PyObject *resultobj;
7226 wxLog *arg1 = (wxLog *) 0 ;
7227 PyObject * obj0 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
7233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 (arg1)->Flush();
7238
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 Py_INCREF(Py_None); resultobj = Py_None;
7243 return resultobj;
7244 fail:
7245 return NULL;
7246 }
7247
7248
7249 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
7250 PyObject *resultobj;
7251 char *kwnames[] = {
7252 NULL
7253 };
7254
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 wxLog::FlushActive();
7259
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) SWIG_fail;
7262 }
7263 Py_INCREF(Py_None); resultobj = Py_None;
7264 return resultobj;
7265 fail:
7266 return NULL;
7267 }
7268
7269
7270 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj;
7272 wxLog *result;
7273 char *kwnames[] = {
7274 NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 result = (wxLog *)wxLog::GetActiveTarget();
7281
7282 wxPyEndAllowThreads(__tstate);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 }
7285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7286 return resultobj;
7287 fail:
7288 return NULL;
7289 }
7290
7291
7292 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7293 PyObject *resultobj;
7294 wxLog *arg1 = (wxLog *) 0 ;
7295 wxLog *result;
7296 PyObject * obj0 = 0 ;
7297 char *kwnames[] = {
7298 (char *) "pLogger", NULL
7299 };
7300
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7312 return resultobj;
7313 fail:
7314 return NULL;
7315 }
7316
7317
7318 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 char *kwnames[] = {
7321 NULL
7322 };
7323
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 wxLog::Suspend();
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 Py_INCREF(Py_None); resultobj = Py_None;
7333 return resultobj;
7334 fail:
7335 return NULL;
7336 }
7337
7338
7339 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj;
7341 char *kwnames[] = {
7342 NULL
7343 };
7344
7345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 wxLog::Resume();
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 Py_INCREF(Py_None); resultobj = Py_None;
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 bool arg1 = (bool) True ;
7363 PyObject * obj0 = 0 ;
7364 char *kwnames[] = {
7365 (char *) "bVerbose", NULL
7366 };
7367
7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7369 if (obj0) {
7370 arg1 = (bool) SWIG_AsBool(obj0);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 }
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 wxLog::SetVerbose(arg1);
7376
7377 wxPyEndAllowThreads(__tstate);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 Py_INCREF(Py_None); resultobj = Py_None;
7381 return resultobj;
7382 fail:
7383 return NULL;
7384 }
7385
7386
7387 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj;
7389 wxLogLevel arg1 ;
7390 PyObject * obj0 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "logLevel", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7396 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7397 if (PyErr_Occurred()) SWIG_fail;
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 wxLog::SetLogLevel(arg1);
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 Py_INCREF(Py_None); resultobj = Py_None;
7406 return resultobj;
7407 fail:
7408 return NULL;
7409 }
7410
7411
7412 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj;
7414 char *kwnames[] = {
7415 NULL
7416 };
7417
7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 wxLog::DontCreateOnDemand();
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 Py_INCREF(Py_None); resultobj = Py_None;
7427 return resultobj;
7428 fail:
7429 return NULL;
7430 }
7431
7432
7433 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7434 PyObject *resultobj;
7435 wxTraceMask arg1 ;
7436 PyObject * obj0 = 0 ;
7437 char *kwnames[] = {
7438 (char *) "ulMask", NULL
7439 };
7440
7441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7442 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 {
7445 PyThreadState* __tstate = wxPyBeginAllowThreads();
7446 wxLog::SetTraceMask(arg1);
7447
7448 wxPyEndAllowThreads(__tstate);
7449 if (PyErr_Occurred()) SWIG_fail;
7450 }
7451 Py_INCREF(Py_None); resultobj = Py_None;
7452 return resultobj;
7453 fail:
7454 return NULL;
7455 }
7456
7457
7458 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7459 PyObject *resultobj;
7460 wxString *arg1 = 0 ;
7461 bool temp1 = False ;
7462 PyObject * obj0 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "str", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7468 {
7469 arg1 = wxString_in_helper(obj0);
7470 if (arg1 == NULL) SWIG_fail;
7471 temp1 = True;
7472 }
7473 {
7474 PyThreadState* __tstate = wxPyBeginAllowThreads();
7475 wxLog::AddTraceMask((wxString const &)*arg1);
7476
7477 wxPyEndAllowThreads(__tstate);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
7480 Py_INCREF(Py_None); resultobj = Py_None;
7481 {
7482 if (temp1)
7483 delete arg1;
7484 }
7485 return resultobj;
7486 fail:
7487 {
7488 if (temp1)
7489 delete arg1;
7490 }
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxString *arg1 = 0 ;
7498 bool temp1 = False ;
7499 PyObject * obj0 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "str", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7505 {
7506 arg1 = wxString_in_helper(obj0);
7507 if (arg1 == NULL) SWIG_fail;
7508 temp1 = True;
7509 }
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 wxLog::RemoveTraceMask((wxString const &)*arg1);
7513
7514 wxPyEndAllowThreads(__tstate);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 Py_INCREF(Py_None); resultobj = Py_None;
7518 {
7519 if (temp1)
7520 delete arg1;
7521 }
7522 return resultobj;
7523 fail:
7524 {
7525 if (temp1)
7526 delete arg1;
7527 }
7528 return NULL;
7529 }
7530
7531
7532 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj;
7534 char *kwnames[] = {
7535 NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 wxLog::ClearTraceMasks();
7542
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 Py_INCREF(Py_None); resultobj = Py_None;
7547 return resultobj;
7548 fail:
7549 return NULL;
7550 }
7551
7552
7553 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7554 PyObject *resultobj;
7555 wxArrayString *result;
7556 char *kwnames[] = {
7557 NULL
7558 };
7559
7560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 {
7564 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7565 result = (wxArrayString *) &_result_ref;
7566 }
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 {
7572 resultobj = wxArrayString2PyList_helper(*result);
7573 }
7574 return resultobj;
7575 fail:
7576 return NULL;
7577 }
7578
7579
7580 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7581 PyObject *resultobj;
7582 wxChar *arg1 = (wxChar *) 0 ;
7583 PyObject * obj0 = 0 ;
7584 char *kwnames[] = {
7585 (char *) "ts", NULL
7586 };
7587
7588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 wxLog::SetTimestamp((wxChar const *)arg1);
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 Py_INCREF(Py_None); resultobj = Py_None;
7599 return resultobj;
7600 fail:
7601 return NULL;
7602 }
7603
7604
7605 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7606 PyObject *resultobj;
7607 bool result;
7608 char *kwnames[] = {
7609 NULL
7610 };
7611
7612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7613 {
7614 PyThreadState* __tstate = wxPyBeginAllowThreads();
7615 result = (bool)wxLog::GetVerbose();
7616
7617 wxPyEndAllowThreads(__tstate);
7618 if (PyErr_Occurred()) SWIG_fail;
7619 }
7620 {
7621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7622 }
7623 return resultobj;
7624 fail:
7625 return NULL;
7626 }
7627
7628
7629 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7630 PyObject *resultobj;
7631 wxTraceMask result;
7632 char *kwnames[] = {
7633 NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 result = (wxTraceMask)wxLog::GetTraceMask();
7640
7641 wxPyEndAllowThreads(__tstate);
7642 if (PyErr_Occurred()) SWIG_fail;
7643 }
7644 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7645 return resultobj;
7646 fail:
7647 return NULL;
7648 }
7649
7650
7651 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7652 PyObject *resultobj;
7653 wxChar *arg1 = (wxChar *) 0 ;
7654 bool result;
7655 PyObject * obj0 = 0 ;
7656 char *kwnames[] = {
7657 (char *) "mask", NULL
7658 };
7659
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7663 {
7664 PyThreadState* __tstate = wxPyBeginAllowThreads();
7665 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7666
7667 wxPyEndAllowThreads(__tstate);
7668 if (PyErr_Occurred()) SWIG_fail;
7669 }
7670 {
7671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7672 }
7673 return resultobj;
7674 fail:
7675 return NULL;
7676 }
7677
7678
7679 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7680 PyObject *resultobj;
7681 wxLogLevel result;
7682 char *kwnames[] = {
7683 NULL
7684 };
7685
7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 result = (wxLogLevel)wxLog::GetLogLevel();
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7695 return resultobj;
7696 fail:
7697 return NULL;
7698 }
7699
7700
7701 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7702 PyObject *resultobj;
7703 wxChar *result;
7704 char *kwnames[] = {
7705 NULL
7706 };
7707
7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (wxChar *)wxLog::GetTimestamp();
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7717 return resultobj;
7718 fail:
7719 return NULL;
7720 }
7721
7722
7723 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxString result;
7726 char *kwnames[] = {
7727 NULL
7728 };
7729
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 result = Log_TimeStamp();
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 {
7739 #if wxUSE_UNICODE
7740 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7741 #else
7742 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7743 #endif
7744 }
7745 return resultobj;
7746 fail:
7747 return NULL;
7748 }
7749
7750
7751 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7752 PyObject *resultobj;
7753 wxLog *arg1 = (wxLog *) 0 ;
7754 PyObject * obj0 = 0 ;
7755 char *kwnames[] = {
7756 (char *) "self", NULL
7757 };
7758
7759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7762 {
7763 PyThreadState* __tstate = wxPyBeginAllowThreads();
7764 wxLog_Destroy(arg1);
7765
7766 wxPyEndAllowThreads(__tstate);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 Py_INCREF(Py_None); resultobj = Py_None;
7770 return resultobj;
7771 fail:
7772 return NULL;
7773 }
7774
7775
7776 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7777 PyObject *obj;
7778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7779 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7780 Py_INCREF(obj);
7781 return Py_BuildValue((char *)"");
7782 }
7783 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7784 PyObject *resultobj;
7785 wxLogStderr *result;
7786 char *kwnames[] = {
7787 NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (wxLogStderr *)new wxLogStderr();
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7806 PyObject *obj;
7807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7808 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7809 Py_INCREF(obj);
7810 return Py_BuildValue((char *)"");
7811 }
7812 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7813 PyObject *resultobj;
7814 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7815 wxLogTextCtrl *result;
7816 PyObject * obj0 = 0 ;
7817 char *kwnames[] = {
7818 (char *) "pTextCtrl", NULL
7819 };
7820
7821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
7832 return resultobj;
7833 fail:
7834 return NULL;
7835 }
7836
7837
7838 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7839 PyObject *obj;
7840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7841 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7842 Py_INCREF(obj);
7843 return Py_BuildValue((char *)"");
7844 }
7845 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxLogGui *result;
7848 char *kwnames[] = {
7849 NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 result = (wxLogGui *)new wxLogGui();
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
7861 return resultobj;
7862 fail:
7863 return NULL;
7864 }
7865
7866
7867 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7868 PyObject *obj;
7869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7870 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7871 Py_INCREF(obj);
7872 return Py_BuildValue((char *)"");
7873 }
7874 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7875 PyObject *resultobj;
7876 wxFrame *arg1 = (wxFrame *) 0 ;
7877 wxString *arg2 = 0 ;
7878 bool arg3 = (bool) True ;
7879 bool arg4 = (bool) True ;
7880 wxLogWindow *result;
7881 bool temp2 = False ;
7882 PyObject * obj0 = 0 ;
7883 PyObject * obj1 = 0 ;
7884 PyObject * obj2 = 0 ;
7885 PyObject * obj3 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7893 {
7894 arg2 = wxString_in_helper(obj1);
7895 if (arg2 == NULL) SWIG_fail;
7896 temp2 = True;
7897 }
7898 if (obj2) {
7899 arg3 = (bool) SWIG_AsBool(obj2);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 }
7902 if (obj3) {
7903 arg4 = (bool) SWIG_AsBool(obj3);
7904 if (PyErr_Occurred()) SWIG_fail;
7905 }
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
7914 {
7915 if (temp2)
7916 delete arg2;
7917 }
7918 return resultobj;
7919 fail:
7920 {
7921 if (temp2)
7922 delete arg2;
7923 }
7924 return NULL;
7925 }
7926
7927
7928 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7929 PyObject *resultobj;
7930 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7931 bool arg2 = (bool) True ;
7932 PyObject * obj0 = 0 ;
7933 PyObject * obj1 = 0 ;
7934 char *kwnames[] = {
7935 (char *) "self",(char *) "bShow", NULL
7936 };
7937
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7941 if (obj1) {
7942 arg2 = (bool) SWIG_AsBool(obj1);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 (arg1)->Show(arg2);
7948
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 Py_INCREF(Py_None); resultobj = Py_None;
7953 return resultobj;
7954 fail:
7955 return NULL;
7956 }
7957
7958
7959 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj;
7961 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7962 wxFrame *result;
7963 PyObject * obj0 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7971 {
7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
7973 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7974
7975 wxPyEndAllowThreads(__tstate);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 }
7978 {
7979 resultobj = wxPyMake_wxObject(result, 0);
7980 }
7981 return resultobj;
7982 fail:
7983 return NULL;
7984 }
7985
7986
7987 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7988 PyObject *resultobj;
7989 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7990 wxLog *result;
7991 PyObject * obj0 = 0 ;
7992 char *kwnames[] = {
7993 (char *) "self", NULL
7994 };
7995
7996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8007 return resultobj;
8008 fail:
8009 return NULL;
8010 }
8011
8012
8013 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj;
8015 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8016 bool result;
8017 PyObject * obj0 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
8023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 {
8033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8034 }
8035 return resultobj;
8036 fail:
8037 return NULL;
8038 }
8039
8040
8041 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj;
8043 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8044 bool arg2 ;
8045 PyObject * obj0 = 0 ;
8046 PyObject * obj1 = 0 ;
8047 char *kwnames[] = {
8048 (char *) "self",(char *) "bDoPass", NULL
8049 };
8050
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8054 arg2 = (bool) SWIG_AsBool(obj1);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
8058 (arg1)->PassMessages(arg2);
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 Py_INCREF(Py_None); resultobj = Py_None;
8064 return resultobj;
8065 fail:
8066 return NULL;
8067 }
8068
8069
8070 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
8071 PyObject *obj;
8072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8073 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
8074 Py_INCREF(obj);
8075 return Py_BuildValue((char *)"");
8076 }
8077 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxLog *arg1 = (wxLog *) 0 ;
8080 wxLogChain *result;
8081 PyObject * obj0 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "logger", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
8087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (wxLogChain *)new wxLogChain(arg1);
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
8097 return resultobj;
8098 fail:
8099 return NULL;
8100 }
8101
8102
8103 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxLogChain *arg1 = (wxLogChain *) 0 ;
8106 wxLog *arg2 = (wxLog *) 0 ;
8107 PyObject * obj0 = 0 ;
8108 PyObject * obj1 = 0 ;
8109 char *kwnames[] = {
8110 (char *) "self",(char *) "logger", NULL
8111 };
8112
8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
8114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
8117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8118 {
8119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8120 (arg1)->SetLog(arg2);
8121
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 Py_INCREF(Py_None); resultobj = Py_None;
8126 return resultobj;
8127 fail:
8128 return NULL;
8129 }
8130
8131
8132 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8133 PyObject *resultobj;
8134 wxLogChain *arg1 = (wxLogChain *) 0 ;
8135 bool arg2 ;
8136 PyObject * obj0 = 0 ;
8137 PyObject * obj1 = 0 ;
8138 char *kwnames[] = {
8139 (char *) "self",(char *) "bDoPass", NULL
8140 };
8141
8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8145 arg2 = (bool) SWIG_AsBool(obj1);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 (arg1)->PassMessages(arg2);
8150
8151 wxPyEndAllowThreads(__tstate);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 }
8154 Py_INCREF(Py_None); resultobj = Py_None;
8155 return resultobj;
8156 fail:
8157 return NULL;
8158 }
8159
8160
8161 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8162 PyObject *resultobj;
8163 wxLogChain *arg1 = (wxLogChain *) 0 ;
8164 bool result;
8165 PyObject * obj0 = 0 ;
8166 char *kwnames[] = {
8167 (char *) "self", NULL
8168 };
8169
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
8171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 result = (bool)(arg1)->IsPassingMessages();
8176
8177 wxPyEndAllowThreads(__tstate);
8178 if (PyErr_Occurred()) SWIG_fail;
8179 }
8180 {
8181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8182 }
8183 return resultobj;
8184 fail:
8185 return NULL;
8186 }
8187
8188
8189 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8190 PyObject *resultobj;
8191 wxLogChain *arg1 = (wxLogChain *) 0 ;
8192 wxLog *result;
8193 PyObject * obj0 = 0 ;
8194 char *kwnames[] = {
8195 (char *) "self", NULL
8196 };
8197
8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
8199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8201 {
8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
8203 result = (wxLog *)(arg1)->GetOldLog();
8204
8205 wxPyEndAllowThreads(__tstate);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 }
8208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8209 return resultobj;
8210 fail:
8211 return NULL;
8212 }
8213
8214
8215 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
8216 PyObject *obj;
8217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8218 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
8219 Py_INCREF(obj);
8220 return Py_BuildValue((char *)"");
8221 }
8222 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8223 PyObject *resultobj;
8224 unsigned long result;
8225 char *kwnames[] = {
8226 NULL
8227 };
8228
8229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
8230 {
8231 PyThreadState* __tstate = wxPyBeginAllowThreads();
8232 result = (unsigned long)wxSysErrorCode();
8233
8234 wxPyEndAllowThreads(__tstate);
8235 if (PyErr_Occurred()) SWIG_fail;
8236 }
8237 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
8238 return resultobj;
8239 fail:
8240 return NULL;
8241 }
8242
8243
8244 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
8245 PyObject *resultobj;
8246 unsigned long arg1 = (unsigned long) 0 ;
8247 wxString result;
8248 PyObject * obj0 = 0 ;
8249 char *kwnames[] = {
8250 (char *) "nErrCode", NULL
8251 };
8252
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
8254 if (obj0) {
8255 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 {
8259 PyThreadState* __tstate = wxPyBeginAllowThreads();
8260 result = wxSysErrorMsg(arg1);
8261
8262 wxPyEndAllowThreads(__tstate);
8263 if (PyErr_Occurred()) SWIG_fail;
8264 }
8265 {
8266 #if wxUSE_UNICODE
8267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8268 #else
8269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8270 #endif
8271 }
8272 return resultobj;
8273 fail:
8274 return NULL;
8275 }
8276
8277
8278 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
8279 PyObject *resultobj;
8280 wxString *arg1 = 0 ;
8281 bool temp1 = False ;
8282 PyObject * obj0 = 0 ;
8283 char *kwnames[] = {
8284 (char *) "msg", NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8288 {
8289 arg1 = wxString_in_helper(obj0);
8290 if (arg1 == NULL) SWIG_fail;
8291 temp1 = True;
8292 }
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 wxLogFatalError((wxString const &)*arg1);
8296
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 Py_INCREF(Py_None); resultobj = Py_None;
8301 {
8302 if (temp1)
8303 delete arg1;
8304 }
8305 return resultobj;
8306 fail:
8307 {
8308 if (temp1)
8309 delete arg1;
8310 }
8311 return NULL;
8312 }
8313
8314
8315 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
8316 PyObject *resultobj;
8317 wxString *arg1 = 0 ;
8318 bool temp1 = False ;
8319 PyObject * obj0 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "msg", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8325 {
8326 arg1 = wxString_in_helper(obj0);
8327 if (arg1 == NULL) SWIG_fail;
8328 temp1 = True;
8329 }
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 wxLogError((wxString const &)*arg1);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 Py_INCREF(Py_None); resultobj = Py_None;
8338 {
8339 if (temp1)
8340 delete arg1;
8341 }
8342 return resultobj;
8343 fail:
8344 {
8345 if (temp1)
8346 delete arg1;
8347 }
8348 return NULL;
8349 }
8350
8351
8352 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj;
8354 wxString *arg1 = 0 ;
8355 bool temp1 = False ;
8356 PyObject * obj0 = 0 ;
8357 char *kwnames[] = {
8358 (char *) "msg", NULL
8359 };
8360
8361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8362 {
8363 arg1 = wxString_in_helper(obj0);
8364 if (arg1 == NULL) SWIG_fail;
8365 temp1 = True;
8366 }
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 wxLogWarning((wxString const &)*arg1);
8370
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 Py_INCREF(Py_None); resultobj = Py_None;
8375 {
8376 if (temp1)
8377 delete arg1;
8378 }
8379 return resultobj;
8380 fail:
8381 {
8382 if (temp1)
8383 delete arg1;
8384 }
8385 return NULL;
8386 }
8387
8388
8389 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8390 PyObject *resultobj;
8391 wxString *arg1 = 0 ;
8392 bool temp1 = False ;
8393 PyObject * obj0 = 0 ;
8394 char *kwnames[] = {
8395 (char *) "msg", NULL
8396 };
8397
8398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8399 {
8400 arg1 = wxString_in_helper(obj0);
8401 if (arg1 == NULL) SWIG_fail;
8402 temp1 = True;
8403 }
8404 {
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 wxLogMessage((wxString const &)*arg1);
8407
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 Py_INCREF(Py_None); resultobj = Py_None;
8412 {
8413 if (temp1)
8414 delete arg1;
8415 }
8416 return resultobj;
8417 fail:
8418 {
8419 if (temp1)
8420 delete arg1;
8421 }
8422 return NULL;
8423 }
8424
8425
8426 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8427 PyObject *resultobj;
8428 wxString *arg1 = 0 ;
8429 bool temp1 = False ;
8430 PyObject * obj0 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "msg", NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8436 {
8437 arg1 = wxString_in_helper(obj0);
8438 if (arg1 == NULL) SWIG_fail;
8439 temp1 = True;
8440 }
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 wxLogInfo((wxString const &)*arg1);
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 Py_INCREF(Py_None); resultobj = Py_None;
8449 {
8450 if (temp1)
8451 delete arg1;
8452 }
8453 return resultobj;
8454 fail:
8455 {
8456 if (temp1)
8457 delete arg1;
8458 }
8459 return NULL;
8460 }
8461
8462
8463 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
8464 PyObject *resultobj;
8465 wxString *arg1 = 0 ;
8466 bool temp1 = False ;
8467 PyObject * obj0 = 0 ;
8468 char *kwnames[] = {
8469 (char *) "msg", NULL
8470 };
8471
8472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8473 {
8474 arg1 = wxString_in_helper(obj0);
8475 if (arg1 == NULL) SWIG_fail;
8476 temp1 = True;
8477 }
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 wxLogDebug((wxString const &)*arg1);
8481
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 Py_INCREF(Py_None); resultobj = Py_None;
8486 {
8487 if (temp1)
8488 delete arg1;
8489 }
8490 return resultobj;
8491 fail:
8492 {
8493 if (temp1)
8494 delete arg1;
8495 }
8496 return NULL;
8497 }
8498
8499
8500 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8501 PyObject *resultobj;
8502 wxString *arg1 = 0 ;
8503 bool temp1 = False ;
8504 PyObject * obj0 = 0 ;
8505 char *kwnames[] = {
8506 (char *) "msg", NULL
8507 };
8508
8509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8510 {
8511 arg1 = wxString_in_helper(obj0);
8512 if (arg1 == NULL) SWIG_fail;
8513 temp1 = True;
8514 }
8515 {
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 wxLogVerbose((wxString const &)*arg1);
8518
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 Py_INCREF(Py_None); resultobj = Py_None;
8523 {
8524 if (temp1)
8525 delete arg1;
8526 }
8527 return resultobj;
8528 fail:
8529 {
8530 if (temp1)
8531 delete arg1;
8532 }
8533 return NULL;
8534 }
8535
8536
8537 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8538 PyObject *resultobj;
8539 wxString *arg1 = 0 ;
8540 bool temp1 = False ;
8541 PyObject * obj0 = 0 ;
8542 char *kwnames[] = {
8543 (char *) "msg", NULL
8544 };
8545
8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8547 {
8548 arg1 = wxString_in_helper(obj0);
8549 if (arg1 == NULL) SWIG_fail;
8550 temp1 = True;
8551 }
8552 {
8553 PyThreadState* __tstate = wxPyBeginAllowThreads();
8554 wxLogStatus((wxString const &)*arg1);
8555
8556 wxPyEndAllowThreads(__tstate);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 Py_INCREF(Py_None); resultobj = Py_None;
8560 {
8561 if (temp1)
8562 delete arg1;
8563 }
8564 return resultobj;
8565 fail:
8566 {
8567 if (temp1)
8568 delete arg1;
8569 }
8570 return NULL;
8571 }
8572
8573
8574 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8575 PyObject *resultobj;
8576 wxFrame *arg1 = (wxFrame *) 0 ;
8577 wxString *arg2 = 0 ;
8578 bool temp2 = False ;
8579 PyObject * obj0 = 0 ;
8580 PyObject * obj1 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "pFrame",(char *) "msg", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8588 {
8589 arg2 = wxString_in_helper(obj1);
8590 if (arg2 == NULL) SWIG_fail;
8591 temp2 = True;
8592 }
8593 {
8594 PyThreadState* __tstate = wxPyBeginAllowThreads();
8595 wxLogStatus(arg1,(wxString const &)*arg2);
8596
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 Py_INCREF(Py_None); resultobj = Py_None;
8601 {
8602 if (temp2)
8603 delete arg2;
8604 }
8605 return resultobj;
8606 fail:
8607 {
8608 if (temp2)
8609 delete arg2;
8610 }
8611 return NULL;
8612 }
8613
8614
8615 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8616 PyObject *resultobj;
8617 wxString *arg1 = 0 ;
8618 bool temp1 = False ;
8619 PyObject * obj0 = 0 ;
8620 char *kwnames[] = {
8621 (char *) "msg", NULL
8622 };
8623
8624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8625 {
8626 arg1 = wxString_in_helper(obj0);
8627 if (arg1 == NULL) SWIG_fail;
8628 temp1 = True;
8629 }
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 wxLogSysError((wxString const &)*arg1);
8633
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
8637 Py_INCREF(Py_None); resultobj = Py_None;
8638 {
8639 if (temp1)
8640 delete arg1;
8641 }
8642 return resultobj;
8643 fail:
8644 {
8645 if (temp1)
8646 delete arg1;
8647 }
8648 return NULL;
8649 }
8650
8651
8652 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
8653 PyObject *resultobj;
8654 unsigned long arg1 ;
8655 wxString *arg2 = 0 ;
8656 bool temp2 = False ;
8657 PyObject * obj0 = 0 ;
8658 PyObject * obj1 = 0 ;
8659
8660 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8661 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 {
8664 arg2 = wxString_in_helper(obj1);
8665 if (arg2 == NULL) SWIG_fail;
8666 temp2 = True;
8667 }
8668 {
8669 PyThreadState* __tstate = wxPyBeginAllowThreads();
8670 wxLogTrace(arg1,(wxString const &)*arg2);
8671
8672 wxPyEndAllowThreads(__tstate);
8673 if (PyErr_Occurred()) SWIG_fail;
8674 }
8675 Py_INCREF(Py_None); resultobj = Py_None;
8676 {
8677 if (temp2)
8678 delete arg2;
8679 }
8680 return resultobj;
8681 fail:
8682 {
8683 if (temp2)
8684 delete arg2;
8685 }
8686 return NULL;
8687 }
8688
8689
8690 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
8691 PyObject *resultobj;
8692 wxString *arg1 = 0 ;
8693 wxString *arg2 = 0 ;
8694 bool temp1 = False ;
8695 bool temp2 = False ;
8696 PyObject * obj0 = 0 ;
8697 PyObject * obj1 = 0 ;
8698
8699 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8700 {
8701 arg1 = wxString_in_helper(obj0);
8702 if (arg1 == NULL) SWIG_fail;
8703 temp1 = True;
8704 }
8705 {
8706 arg2 = wxString_in_helper(obj1);
8707 if (arg2 == NULL) SWIG_fail;
8708 temp2 = True;
8709 }
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8713
8714 wxPyEndAllowThreads(__tstate);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 }
8717 Py_INCREF(Py_None); resultobj = Py_None;
8718 {
8719 if (temp1)
8720 delete arg1;
8721 }
8722 {
8723 if (temp2)
8724 delete arg2;
8725 }
8726 return resultobj;
8727 fail:
8728 {
8729 if (temp1)
8730 delete arg1;
8731 }
8732 {
8733 if (temp2)
8734 delete arg2;
8735 }
8736 return NULL;
8737 }
8738
8739
8740 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8741 int argc;
8742 PyObject *argv[3];
8743 int ii;
8744
8745 argc = PyObject_Length(args);
8746 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8747 argv[ii] = PyTuple_GetItem(args,ii);
8748 }
8749 if (argc == 2) {
8750 int _v;
8751 {
8752 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8753 }
8754 if (_v) {
8755 {
8756 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8757 }
8758 if (_v) {
8759 return _wrap_LogTrace__SWIG_1(self,args);
8760 }
8761 }
8762 }
8763 if (argc == 2) {
8764 int _v;
8765 _v = SWIG_CheckUnsignedLong(argv[0]);
8766 if (_v) {
8767 {
8768 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8769 }
8770 if (_v) {
8771 return _wrap_LogTrace__SWIG_0(self,args);
8772 }
8773 }
8774 }
8775
8776 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8777 return NULL;
8778 }
8779
8780
8781 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8782 PyObject *resultobj;
8783 unsigned long arg1 ;
8784 wxString *arg2 = 0 ;
8785 bool temp2 = False ;
8786 PyObject * obj0 = 0 ;
8787 PyObject * obj1 = 0 ;
8788 char *kwnames[] = {
8789 (char *) "level",(char *) "msg", NULL
8790 };
8791
8792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8793 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 {
8796 arg2 = wxString_in_helper(obj1);
8797 if (arg2 == NULL) SWIG_fail;
8798 temp2 = True;
8799 }
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 wxLogGeneric(arg1,(wxString const &)*arg2);
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 Py_INCREF(Py_None); resultobj = Py_None;
8808 {
8809 if (temp2)
8810 delete arg2;
8811 }
8812 return resultobj;
8813 fail:
8814 {
8815 if (temp2)
8816 delete arg2;
8817 }
8818 return NULL;
8819 }
8820
8821
8822 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8823 PyObject *resultobj;
8824 wxString *arg1 = 0 ;
8825 wxString *arg2 = 0 ;
8826 bool temp1 = False ;
8827 bool temp2 = False ;
8828 PyObject * obj0 = 0 ;
8829 PyObject * obj1 = 0 ;
8830 char *kwnames[] = {
8831 (char *) "title",(char *) "text", NULL
8832 };
8833
8834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8835 {
8836 arg1 = wxString_in_helper(obj0);
8837 if (arg1 == NULL) SWIG_fail;
8838 temp1 = True;
8839 }
8840 {
8841 arg2 = wxString_in_helper(obj1);
8842 if (arg2 == NULL) SWIG_fail;
8843 temp2 = True;
8844 }
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
8852 Py_INCREF(Py_None); resultobj = Py_None;
8853 {
8854 if (temp1)
8855 delete arg1;
8856 }
8857 {
8858 if (temp2)
8859 delete arg2;
8860 }
8861 return resultobj;
8862 fail:
8863 {
8864 if (temp1)
8865 delete arg1;
8866 }
8867 {
8868 if (temp2)
8869 delete arg2;
8870 }
8871 return NULL;
8872 }
8873
8874
8875 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8876 PyObject *resultobj;
8877 wxLogNull *result;
8878 char *kwnames[] = {
8879 NULL
8880 };
8881
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8883 {
8884 PyThreadState* __tstate = wxPyBeginAllowThreads();
8885 result = (wxLogNull *)new wxLogNull();
8886
8887 wxPyEndAllowThreads(__tstate);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 }
8890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
8891 return resultobj;
8892 fail:
8893 return NULL;
8894 }
8895
8896
8897 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj;
8899 wxLogNull *arg1 = (wxLogNull *) 0 ;
8900 PyObject * obj0 = 0 ;
8901 char *kwnames[] = {
8902 (char *) "self", NULL
8903 };
8904
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 delete arg1;
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 Py_INCREF(Py_None); resultobj = Py_None;
8916 return resultobj;
8917 fail:
8918 return NULL;
8919 }
8920
8921
8922 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8923 PyObject *obj;
8924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8925 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8926 Py_INCREF(obj);
8927 return Py_BuildValue((char *)"");
8928 }
8929 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxPyLog *result;
8932 char *kwnames[] = {
8933 NULL
8934 };
8935
8936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 result = (wxPyLog *)new wxPyLog();
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
8945 return resultobj;
8946 fail:
8947 return NULL;
8948 }
8949
8950
8951 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj;
8953 wxPyLog *arg1 = (wxPyLog *) 0 ;
8954 PyObject *arg2 = (PyObject *) 0 ;
8955 PyObject *arg3 = (PyObject *) 0 ;
8956 PyObject * obj0 = 0 ;
8957 PyObject * obj1 = 0 ;
8958 PyObject * obj2 = 0 ;
8959 char *kwnames[] = {
8960 (char *) "self",(char *) "self",(char *) "_class", NULL
8961 };
8962
8963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8966 arg2 = obj1;
8967 arg3 = obj2;
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 (arg1)->_setCallbackInfo(arg2,arg3);
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 Py_INCREF(Py_None); resultobj = Py_None;
8976 return resultobj;
8977 fail:
8978 return NULL;
8979 }
8980
8981
8982 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8983 PyObject *obj;
8984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8985 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8986 Py_INCREF(obj);
8987 return Py_BuildValue((char *)"");
8988 }
8989 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 int arg1 ;
8992 int arg2 = (int) wxSIGTERM ;
8993 int result;
8994 PyObject * obj0 = 0 ;
8995 PyObject * obj1 = 0 ;
8996 char *kwnames[] = {
8997 (char *) "pid",(char *) "sig", NULL
8998 };
8999
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
9001 arg1 = (int) SWIG_AsInt(obj0);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 if (obj1) {
9004 arg2 = (wxSignal) SWIG_AsInt(obj1);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 {
9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
9009 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
9010
9011 wxPyEndAllowThreads(__tstate);
9012 if (PyErr_Occurred()) SWIG_fail;
9013 }
9014 resultobj = SWIG_FromInt((int)result);
9015 return resultobj;
9016 fail:
9017 return NULL;
9018 }
9019
9020
9021 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
9022 PyObject *resultobj;
9023 int arg1 ;
9024 bool result;
9025 PyObject * obj0 = 0 ;
9026 char *kwnames[] = {
9027 (char *) "pid", NULL
9028 };
9029
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
9031 arg1 = (int) SWIG_AsInt(obj0);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = (bool)wxPyProcess::Exists(arg1);
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 {
9041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9042 }
9043 return resultobj;
9044 fail:
9045 return NULL;
9046 }
9047
9048
9049 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
9050 PyObject *resultobj;
9051 wxString *arg1 = 0 ;
9052 int arg2 = (int) wxEXEC_ASYNC ;
9053 wxPyProcess *result;
9054 bool temp1 = False ;
9055 PyObject * obj0 = 0 ;
9056 PyObject * obj1 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "cmd",(char *) "flags", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
9062 {
9063 arg1 = wxString_in_helper(obj0);
9064 if (arg1 == NULL) SWIG_fail;
9065 temp1 = True;
9066 }
9067 if (obj1) {
9068 arg2 = (int) SWIG_AsInt(obj1);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
9079 {
9080 if (temp1)
9081 delete arg1;
9082 }
9083 return resultobj;
9084 fail:
9085 {
9086 if (temp1)
9087 delete arg1;
9088 }
9089 return NULL;
9090 }
9091
9092
9093 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
9094 PyObject *resultobj;
9095 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9096 int arg2 = (int) -1 ;
9097 wxPyProcess *result;
9098 PyObject * obj0 = 0 ;
9099 PyObject * obj1 = 0 ;
9100 char *kwnames[] = {
9101 (char *) "parent",(char *) "id", NULL
9102 };
9103
9104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
9105 if (obj0) {
9106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
9107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9108 }
9109 if (obj1) {
9110 arg2 = (int) SWIG_AsInt(obj1);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
9121 return resultobj;
9122 fail:
9123 return NULL;
9124 }
9125
9126
9127 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj;
9129 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9130 PyObject *arg2 = (PyObject *) 0 ;
9131 PyObject *arg3 = (PyObject *) 0 ;
9132 PyObject * obj0 = 0 ;
9133 PyObject * obj1 = 0 ;
9134 PyObject * obj2 = 0 ;
9135 char *kwnames[] = {
9136 (char *) "self",(char *) "self",(char *) "_class", NULL
9137 };
9138
9139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9142 arg2 = obj1;
9143 arg3 = obj2;
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
9146 (arg1)->_setCallbackInfo(arg2,arg3);
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 Py_INCREF(Py_None); resultobj = Py_None;
9152 return resultobj;
9153 fail:
9154 return NULL;
9155 }
9156
9157
9158 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj;
9160 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9161 int arg2 ;
9162 int arg3 ;
9163 PyObject * obj0 = 0 ;
9164 PyObject * obj1 = 0 ;
9165 PyObject * obj2 = 0 ;
9166 char *kwnames[] = {
9167 (char *) "self",(char *) "pid",(char *) "status", NULL
9168 };
9169
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9173 arg2 = (int) SWIG_AsInt(obj1);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 arg3 = (int) SWIG_AsInt(obj2);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 (arg1)->base_OnTerminate(arg2,arg3);
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 Py_INCREF(Py_None); resultobj = Py_None;
9185 return resultobj;
9186 fail:
9187 return NULL;
9188 }
9189
9190
9191 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj;
9193 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9194 PyObject * obj0 = 0 ;
9195 char *kwnames[] = {
9196 (char *) "self", NULL
9197 };
9198
9199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
9200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9202 {
9203 PyThreadState* __tstate = wxPyBeginAllowThreads();
9204 (arg1)->Redirect();
9205
9206 wxPyEndAllowThreads(__tstate);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 }
9209 Py_INCREF(Py_None); resultobj = Py_None;
9210 return resultobj;
9211 fail:
9212 return NULL;
9213 }
9214
9215
9216 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj;
9218 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9219 bool result;
9220 PyObject * obj0 = 0 ;
9221 char *kwnames[] = {
9222 (char *) "self", NULL
9223 };
9224
9225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
9226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9228 {
9229 PyThreadState* __tstate = wxPyBeginAllowThreads();
9230 result = (bool)(arg1)->IsRedirected();
9231
9232 wxPyEndAllowThreads(__tstate);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 }
9235 {
9236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9237 }
9238 return resultobj;
9239 fail:
9240 return NULL;
9241 }
9242
9243
9244 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
9245 PyObject *resultobj;
9246 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9247 PyObject * obj0 = 0 ;
9248 char *kwnames[] = {
9249 (char *) "self", NULL
9250 };
9251
9252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
9253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 (arg1)->Detach();
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 Py_INCREF(Py_None); resultobj = Py_None;
9263 return resultobj;
9264 fail:
9265 return NULL;
9266 }
9267
9268
9269 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj;
9271 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9272 wxInputStream *result;
9273 PyObject * obj0 = 0 ;
9274 char *kwnames[] = {
9275 (char *) "self", NULL
9276 };
9277
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
9279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 result = (wxInputStream *)(arg1)->GetInputStream();
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 {
9289 wxPyInputStream * _ptr = NULL;
9290
9291 if (result) {
9292 _ptr = new wxPyInputStream(result);
9293 }
9294 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9295 }
9296 return resultobj;
9297 fail:
9298 return NULL;
9299 }
9300
9301
9302 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj;
9304 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9305 wxInputStream *result;
9306 PyObject * obj0 = 0 ;
9307 char *kwnames[] = {
9308 (char *) "self", NULL
9309 };
9310
9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 result = (wxInputStream *)(arg1)->GetErrorStream();
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 {
9322 wxPyInputStream * _ptr = NULL;
9323
9324 if (result) {
9325 _ptr = new wxPyInputStream(result);
9326 }
9327 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9328 }
9329 return resultobj;
9330 fail:
9331 return NULL;
9332 }
9333
9334
9335 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj;
9337 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9338 wxOutputStream *result;
9339 PyObject * obj0 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 result = (wxOutputStream *)(arg1)->GetOutputStream();
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9355 return resultobj;
9356 fail:
9357 return NULL;
9358 }
9359
9360
9361 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj;
9363 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9364 PyObject * obj0 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "self", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 (arg1)->CloseOutput();
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 Py_INCREF(Py_None); resultobj = Py_None;
9380 return resultobj;
9381 fail:
9382 return NULL;
9383 }
9384
9385
9386 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
9387 PyObject *resultobj;
9388 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9389 bool result;
9390 PyObject * obj0 = 0 ;
9391 char *kwnames[] = {
9392 (char *) "self", NULL
9393 };
9394
9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9401
9402 wxPyEndAllowThreads(__tstate);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 {
9406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9407 }
9408 return resultobj;
9409 fail:
9410 return NULL;
9411 }
9412
9413
9414 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9415 PyObject *resultobj;
9416 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9417 bool result;
9418 PyObject * obj0 = 0 ;
9419 char *kwnames[] = {
9420 (char *) "self", NULL
9421 };
9422
9423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 {
9434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9435 }
9436 return resultobj;
9437 fail:
9438 return NULL;
9439 }
9440
9441
9442 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9443 PyObject *resultobj;
9444 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9445 bool result;
9446 PyObject * obj0 = 0 ;
9447 char *kwnames[] = {
9448 (char *) "self", NULL
9449 };
9450
9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9454 {
9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
9456 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9457
9458 wxPyEndAllowThreads(__tstate);
9459 if (PyErr_Occurred()) SWIG_fail;
9460 }
9461 {
9462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9463 }
9464 return resultobj;
9465 fail:
9466 return NULL;
9467 }
9468
9469
9470 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
9471 PyObject *obj;
9472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9473 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9474 Py_INCREF(obj);
9475 return Py_BuildValue((char *)"");
9476 }
9477 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 int arg1 = (int) 0 ;
9480 int arg2 = (int) 0 ;
9481 int arg3 = (int) 0 ;
9482 wxProcessEvent *result;
9483 PyObject * obj0 = 0 ;
9484 PyObject * obj1 = 0 ;
9485 PyObject * obj2 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9491 if (obj0) {
9492 arg1 = (int) SWIG_AsInt(obj0);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 if (obj1) {
9496 arg2 = (int) SWIG_AsInt(obj1);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 if (obj2) {
9500 arg3 = (int) SWIG_AsInt(obj2);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9511 return resultobj;
9512 fail:
9513 return NULL;
9514 }
9515
9516
9517 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9520 int result;
9521 PyObject * obj0 = 0 ;
9522 char *kwnames[] = {
9523 (char *) "self", NULL
9524 };
9525
9526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 result = (int)(arg1)->GetPid();
9532
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 resultobj = SWIG_FromInt((int)result);
9537 return resultobj;
9538 fail:
9539 return NULL;
9540 }
9541
9542
9543 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9544 PyObject *resultobj;
9545 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9546 int result;
9547 PyObject * obj0 = 0 ;
9548 char *kwnames[] = {
9549 (char *) "self", NULL
9550 };
9551
9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9555 {
9556 PyThreadState* __tstate = wxPyBeginAllowThreads();
9557 result = (int)(arg1)->GetExitCode();
9558
9559 wxPyEndAllowThreads(__tstate);
9560 if (PyErr_Occurred()) SWIG_fail;
9561 }
9562 resultobj = SWIG_FromInt((int)result);
9563 return resultobj;
9564 fail:
9565 return NULL;
9566 }
9567
9568
9569 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9570 PyObject *resultobj;
9571 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9572 int arg2 ;
9573 PyObject * obj0 = 0 ;
9574 PyObject * obj1 = 0 ;
9575 char *kwnames[] = {
9576 (char *) "self",(char *) "m_pid", NULL
9577 };
9578
9579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9582 arg2 = (int) SWIG_AsInt(obj1);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 if (arg1) (arg1)->m_pid = arg2;
9585
9586 Py_INCREF(Py_None); resultobj = Py_None;
9587 return resultobj;
9588 fail:
9589 return NULL;
9590 }
9591
9592
9593 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9594 PyObject *resultobj;
9595 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9596 int result;
9597 PyObject * obj0 = 0 ;
9598 char *kwnames[] = {
9599 (char *) "self", NULL
9600 };
9601
9602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9605 result = (int) ((arg1)->m_pid);
9606
9607 resultobj = SWIG_FromInt((int)result);
9608 return resultobj;
9609 fail:
9610 return NULL;
9611 }
9612
9613
9614 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9615 PyObject *resultobj;
9616 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9617 int arg2 ;
9618 PyObject * obj0 = 0 ;
9619 PyObject * obj1 = 0 ;
9620 char *kwnames[] = {
9621 (char *) "self",(char *) "m_exitcode", NULL
9622 };
9623
9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9627 arg2 = (int) SWIG_AsInt(obj1);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 if (arg1) (arg1)->m_exitcode = arg2;
9630
9631 Py_INCREF(Py_None); resultobj = Py_None;
9632 return resultobj;
9633 fail:
9634 return NULL;
9635 }
9636
9637
9638 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj;
9640 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9641 int result;
9642 PyObject * obj0 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "self", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9650 result = (int) ((arg1)->m_exitcode);
9651
9652 resultobj = SWIG_FromInt((int)result);
9653 return resultobj;
9654 fail:
9655 return NULL;
9656 }
9657
9658
9659 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9660 PyObject *obj;
9661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9662 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9663 Py_INCREF(obj);
9664 return Py_BuildValue((char *)"");
9665 }
9666 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj;
9668 wxString *arg1 = 0 ;
9669 int arg2 = (int) wxEXEC_ASYNC ;
9670 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9671 long result;
9672 bool temp1 = False ;
9673 PyObject * obj0 = 0 ;
9674 PyObject * obj1 = 0 ;
9675 PyObject * obj2 = 0 ;
9676 char *kwnames[] = {
9677 (char *) "command",(char *) "flags",(char *) "process", NULL
9678 };
9679
9680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9681 {
9682 arg1 = wxString_in_helper(obj0);
9683 if (arg1 == NULL) SWIG_fail;
9684 temp1 = True;
9685 }
9686 if (obj1) {
9687 arg2 = (int) SWIG_AsInt(obj1);
9688 if (PyErr_Occurred()) SWIG_fail;
9689 }
9690 if (obj2) {
9691 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9693 }
9694 {
9695 if (!wxPyCheckForApp()) SWIG_fail;
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9698
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 resultobj = SWIG_FromLong((long)result);
9703 {
9704 if (temp1)
9705 delete arg1;
9706 }
9707 return resultobj;
9708 fail:
9709 {
9710 if (temp1)
9711 delete arg1;
9712 }
9713 return NULL;
9714 }
9715
9716
9717 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj;
9719 int arg1 = (int) wxJOYSTICK1 ;
9720 wxJoystick *result;
9721 PyObject * obj0 = 0 ;
9722 char *kwnames[] = {
9723 (char *) "joystick", NULL
9724 };
9725
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9727 if (obj0) {
9728 arg1 = (int) SWIG_AsInt(obj0);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 {
9732 if (!wxPyCheckForApp()) SWIG_fail;
9733 PyThreadState* __tstate = wxPyBeginAllowThreads();
9734 result = (wxJoystick *)new wxJoystick(arg1);
9735
9736 wxPyEndAllowThreads(__tstate);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 }
9739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
9740 return resultobj;
9741 fail:
9742 return NULL;
9743 }
9744
9745
9746 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9747 PyObject *resultobj;
9748 wxJoystick *arg1 = (wxJoystick *) 0 ;
9749 PyObject * obj0 = 0 ;
9750 char *kwnames[] = {
9751 (char *) "self", NULL
9752 };
9753
9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 delete arg1;
9760
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
9764 Py_INCREF(Py_None); resultobj = Py_None;
9765 return resultobj;
9766 fail:
9767 return NULL;
9768 }
9769
9770
9771 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj;
9773 wxJoystick *arg1 = (wxJoystick *) 0 ;
9774 wxPoint result;
9775 PyObject * obj0 = 0 ;
9776 char *kwnames[] = {
9777 (char *) "self", NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 result = (arg1)->GetPosition();
9786
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
9790 {
9791 wxPoint * resultptr;
9792 resultptr = new wxPoint((wxPoint &) result);
9793 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9794 }
9795 return resultobj;
9796 fail:
9797 return NULL;
9798 }
9799
9800
9801 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9802 PyObject *resultobj;
9803 wxJoystick *arg1 = (wxJoystick *) 0 ;
9804 int result;
9805 PyObject * obj0 = 0 ;
9806 char *kwnames[] = {
9807 (char *) "self", NULL
9808 };
9809
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9813 {
9814 PyThreadState* __tstate = wxPyBeginAllowThreads();
9815 result = (int)(arg1)->GetZPosition();
9816
9817 wxPyEndAllowThreads(__tstate);
9818 if (PyErr_Occurred()) SWIG_fail;
9819 }
9820 resultobj = SWIG_FromInt((int)result);
9821 return resultobj;
9822 fail:
9823 return NULL;
9824 }
9825
9826
9827 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9828 PyObject *resultobj;
9829 wxJoystick *arg1 = (wxJoystick *) 0 ;
9830 int result;
9831 PyObject * obj0 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "self", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 result = (int)(arg1)->GetButtonState();
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 resultobj = SWIG_FromInt((int)result);
9847 return resultobj;
9848 fail:
9849 return NULL;
9850 }
9851
9852
9853 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxJoystick *arg1 = (wxJoystick *) 0 ;
9856 int result;
9857 PyObject * obj0 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9865 {
9866 PyThreadState* __tstate = wxPyBeginAllowThreads();
9867 result = (int)(arg1)->GetPOVPosition();
9868
9869 wxPyEndAllowThreads(__tstate);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 }
9872 resultobj = SWIG_FromInt((int)result);
9873 return resultobj;
9874 fail:
9875 return NULL;
9876 }
9877
9878
9879 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9880 PyObject *resultobj;
9881 wxJoystick *arg1 = (wxJoystick *) 0 ;
9882 int result;
9883 PyObject * obj0 = 0 ;
9884 char *kwnames[] = {
9885 (char *) "self", NULL
9886 };
9887
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9891 {
9892 PyThreadState* __tstate = wxPyBeginAllowThreads();
9893 result = (int)(arg1)->GetPOVCTSPosition();
9894
9895 wxPyEndAllowThreads(__tstate);
9896 if (PyErr_Occurred()) SWIG_fail;
9897 }
9898 resultobj = SWIG_FromInt((int)result);
9899 return resultobj;
9900 fail:
9901 return NULL;
9902 }
9903
9904
9905 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9906 PyObject *resultobj;
9907 wxJoystick *arg1 = (wxJoystick *) 0 ;
9908 int result;
9909 PyObject * obj0 = 0 ;
9910 char *kwnames[] = {
9911 (char *) "self", NULL
9912 };
9913
9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 result = (int)(arg1)->GetRudderPosition();
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 resultobj = SWIG_FromInt((int)result);
9925 return resultobj;
9926 fail:
9927 return NULL;
9928 }
9929
9930
9931 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9932 PyObject *resultobj;
9933 wxJoystick *arg1 = (wxJoystick *) 0 ;
9934 int result;
9935 PyObject * obj0 = 0 ;
9936 char *kwnames[] = {
9937 (char *) "self", NULL
9938 };
9939
9940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 result = (int)(arg1)->GetUPosition();
9946
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 resultobj = SWIG_FromInt((int)result);
9951 return resultobj;
9952 fail:
9953 return NULL;
9954 }
9955
9956
9957 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj;
9959 wxJoystick *arg1 = (wxJoystick *) 0 ;
9960 int result;
9961 PyObject * obj0 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 result = (int)(arg1)->GetVPosition();
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = SWIG_FromInt((int)result);
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj;
9985 wxJoystick *arg1 = (wxJoystick *) 0 ;
9986 int result;
9987 PyObject * obj0 = 0 ;
9988 char *kwnames[] = {
9989 (char *) "self", NULL
9990 };
9991
9992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9995 {
9996 PyThreadState* __tstate = wxPyBeginAllowThreads();
9997 result = (int)(arg1)->GetMovementThreshold();
9998
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 resultobj = SWIG_FromInt((int)result);
10003 return resultobj;
10004 fail:
10005 return NULL;
10006 }
10007
10008
10009 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
10010 PyObject *resultobj;
10011 wxJoystick *arg1 = (wxJoystick *) 0 ;
10012 int arg2 ;
10013 PyObject * obj0 = 0 ;
10014 PyObject * obj1 = 0 ;
10015 char *kwnames[] = {
10016 (char *) "self",(char *) "threshold", NULL
10017 };
10018
10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
10020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10022 arg2 = (int) SWIG_AsInt(obj1);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 {
10025 PyThreadState* __tstate = wxPyBeginAllowThreads();
10026 (arg1)->SetMovementThreshold(arg2);
10027
10028 wxPyEndAllowThreads(__tstate);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 }
10031 Py_INCREF(Py_None); resultobj = Py_None;
10032 return resultobj;
10033 fail:
10034 return NULL;
10035 }
10036
10037
10038 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj;
10040 wxJoystick *arg1 = (wxJoystick *) 0 ;
10041 bool result;
10042 PyObject * obj0 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "self", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
10048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10050 {
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
10052 result = (bool)(arg1)->IsOk();
10053
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
10057 {
10058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10059 }
10060 return resultobj;
10061 fail:
10062 return NULL;
10063 }
10064
10065
10066 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
10067 PyObject *resultobj;
10068 wxJoystick *arg1 = (wxJoystick *) 0 ;
10069 int result;
10070 PyObject * obj0 = 0 ;
10071 char *kwnames[] = {
10072 (char *) "self", NULL
10073 };
10074
10075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
10076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10078 {
10079 PyThreadState* __tstate = wxPyBeginAllowThreads();
10080 result = (int)(arg1)->GetNumberJoysticks();
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
10085 resultobj = SWIG_FromInt((int)result);
10086 return resultobj;
10087 fail:
10088 return NULL;
10089 }
10090
10091
10092 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
10093 PyObject *resultobj;
10094 wxJoystick *arg1 = (wxJoystick *) 0 ;
10095 int result;
10096 PyObject * obj0 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
10102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 result = (int)(arg1)->GetManufacturerId();
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 resultobj = SWIG_FromInt((int)result);
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxJoystick *arg1 = (wxJoystick *) 0 ;
10121 int result;
10122 PyObject * obj0 = 0 ;
10123 char *kwnames[] = {
10124 (char *) "self", NULL
10125 };
10126
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
10128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 result = (int)(arg1)->GetProductId();
10133
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 resultobj = SWIG_FromInt((int)result);
10138 return resultobj;
10139 fail:
10140 return NULL;
10141 }
10142
10143
10144 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj;
10146 wxJoystick *arg1 = (wxJoystick *) 0 ;
10147 wxString result;
10148 PyObject * obj0 = 0 ;
10149 char *kwnames[] = {
10150 (char *) "self", NULL
10151 };
10152
10153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
10154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10156 {
10157 PyThreadState* __tstate = wxPyBeginAllowThreads();
10158 result = (arg1)->GetProductName();
10159
10160 wxPyEndAllowThreads(__tstate);
10161 if (PyErr_Occurred()) SWIG_fail;
10162 }
10163 {
10164 #if wxUSE_UNICODE
10165 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10166 #else
10167 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10168 #endif
10169 }
10170 return resultobj;
10171 fail:
10172 return NULL;
10173 }
10174
10175
10176 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10177 PyObject *resultobj;
10178 wxJoystick *arg1 = (wxJoystick *) 0 ;
10179 int result;
10180 PyObject * obj0 = 0 ;
10181 char *kwnames[] = {
10182 (char *) "self", NULL
10183 };
10184
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
10186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10188 {
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
10190 result = (int)(arg1)->GetXMin();
10191
10192 wxPyEndAllowThreads(__tstate);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 resultobj = SWIG_FromInt((int)result);
10196 return resultobj;
10197 fail:
10198 return NULL;
10199 }
10200
10201
10202 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10203 PyObject *resultobj;
10204 wxJoystick *arg1 = (wxJoystick *) 0 ;
10205 int result;
10206 PyObject * obj0 = 0 ;
10207 char *kwnames[] = {
10208 (char *) "self", NULL
10209 };
10210
10211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
10212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (int)(arg1)->GetYMin();
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 resultobj = SWIG_FromInt((int)result);
10222 return resultobj;
10223 fail:
10224 return NULL;
10225 }
10226
10227
10228 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj;
10230 wxJoystick *arg1 = (wxJoystick *) 0 ;
10231 int result;
10232 PyObject * obj0 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
10238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 result = (int)(arg1)->GetZMin();
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
10247 resultobj = SWIG_FromInt((int)result);
10248 return resultobj;
10249 fail:
10250 return NULL;
10251 }
10252
10253
10254 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10255 PyObject *resultobj;
10256 wxJoystick *arg1 = (wxJoystick *) 0 ;
10257 int result;
10258 PyObject * obj0 = 0 ;
10259 char *kwnames[] = {
10260 (char *) "self", NULL
10261 };
10262
10263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
10264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (int)(arg1)->GetXMax();
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 resultobj = SWIG_FromInt((int)result);
10274 return resultobj;
10275 fail:
10276 return NULL;
10277 }
10278
10279
10280 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj;
10282 wxJoystick *arg1 = (wxJoystick *) 0 ;
10283 int result;
10284 PyObject * obj0 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
10290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 result = (int)(arg1)->GetYMax();
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 resultobj = SWIG_FromInt((int)result);
10300 return resultobj;
10301 fail:
10302 return NULL;
10303 }
10304
10305
10306 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10307 PyObject *resultobj;
10308 wxJoystick *arg1 = (wxJoystick *) 0 ;
10309 int result;
10310 PyObject * obj0 = 0 ;
10311 char *kwnames[] = {
10312 (char *) "self", NULL
10313 };
10314
10315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 result = (int)(arg1)->GetZMax();
10321
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 resultobj = SWIG_FromInt((int)result);
10326 return resultobj;
10327 fail:
10328 return NULL;
10329 }
10330
10331
10332 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10333 PyObject *resultobj;
10334 wxJoystick *arg1 = (wxJoystick *) 0 ;
10335 int result;
10336 PyObject * obj0 = 0 ;
10337 char *kwnames[] = {
10338 (char *) "self", NULL
10339 };
10340
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10344 {
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
10346 result = (int)(arg1)->GetNumberButtons();
10347
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 resultobj = SWIG_FromInt((int)result);
10352 return resultobj;
10353 fail:
10354 return NULL;
10355 }
10356
10357
10358 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10359 PyObject *resultobj;
10360 wxJoystick *arg1 = (wxJoystick *) 0 ;
10361 int result;
10362 PyObject * obj0 = 0 ;
10363 char *kwnames[] = {
10364 (char *) "self", NULL
10365 };
10366
10367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10370 {
10371 PyThreadState* __tstate = wxPyBeginAllowThreads();
10372 result = (int)(arg1)->GetNumberAxes();
10373
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 resultobj = SWIG_FromInt((int)result);
10378 return resultobj;
10379 fail:
10380 return NULL;
10381 }
10382
10383
10384 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10385 PyObject *resultobj;
10386 wxJoystick *arg1 = (wxJoystick *) 0 ;
10387 int result;
10388 PyObject * obj0 = 0 ;
10389 char *kwnames[] = {
10390 (char *) "self", NULL
10391 };
10392
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 result = (int)(arg1)->GetMaxButtons();
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 resultobj = SWIG_FromInt((int)result);
10404 return resultobj;
10405 fail:
10406 return NULL;
10407 }
10408
10409
10410 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10411 PyObject *resultobj;
10412 wxJoystick *arg1 = (wxJoystick *) 0 ;
10413 int result;
10414 PyObject * obj0 = 0 ;
10415 char *kwnames[] = {
10416 (char *) "self", NULL
10417 };
10418
10419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 result = (int)(arg1)->GetMaxAxes();
10425
10426 wxPyEndAllowThreads(__tstate);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 resultobj = SWIG_FromInt((int)result);
10430 return resultobj;
10431 fail:
10432 return NULL;
10433 }
10434
10435
10436 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj;
10438 wxJoystick *arg1 = (wxJoystick *) 0 ;
10439 int result;
10440 PyObject * obj0 = 0 ;
10441 char *kwnames[] = {
10442 (char *) "self", NULL
10443 };
10444
10445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10448 {
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
10450 result = (int)(arg1)->GetPollingMin();
10451
10452 wxPyEndAllowThreads(__tstate);
10453 if (PyErr_Occurred()) SWIG_fail;
10454 }
10455 resultobj = SWIG_FromInt((int)result);
10456 return resultobj;
10457 fail:
10458 return NULL;
10459 }
10460
10461
10462 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10463 PyObject *resultobj;
10464 wxJoystick *arg1 = (wxJoystick *) 0 ;
10465 int result;
10466 PyObject * obj0 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "self", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 result = (int)(arg1)->GetPollingMax();
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 resultobj = SWIG_FromInt((int)result);
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj;
10490 wxJoystick *arg1 = (wxJoystick *) 0 ;
10491 int result;
10492 PyObject * obj0 = 0 ;
10493 char *kwnames[] = {
10494 (char *) "self", NULL
10495 };
10496
10497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (int)(arg1)->GetRudderMin();
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 resultobj = SWIG_FromInt((int)result);
10508 return resultobj;
10509 fail:
10510 return NULL;
10511 }
10512
10513
10514 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10515 PyObject *resultobj;
10516 wxJoystick *arg1 = (wxJoystick *) 0 ;
10517 int result;
10518 PyObject * obj0 = 0 ;
10519 char *kwnames[] = {
10520 (char *) "self", NULL
10521 };
10522
10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 result = (int)(arg1)->GetRudderMax();
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 resultobj = SWIG_FromInt((int)result);
10534 return resultobj;
10535 fail:
10536 return NULL;
10537 }
10538
10539
10540 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10541 PyObject *resultobj;
10542 wxJoystick *arg1 = (wxJoystick *) 0 ;
10543 int result;
10544 PyObject * obj0 = 0 ;
10545 char *kwnames[] = {
10546 (char *) "self", NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 result = (int)(arg1)->GetUMin();
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 resultobj = SWIG_FromInt((int)result);
10560 return resultobj;
10561 fail:
10562 return NULL;
10563 }
10564
10565
10566 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10567 PyObject *resultobj;
10568 wxJoystick *arg1 = (wxJoystick *) 0 ;
10569 int result;
10570 PyObject * obj0 = 0 ;
10571 char *kwnames[] = {
10572 (char *) "self", NULL
10573 };
10574
10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 result = (int)(arg1)->GetUMax();
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 resultobj = SWIG_FromInt((int)result);
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj;
10594 wxJoystick *arg1 = (wxJoystick *) 0 ;
10595 int result;
10596 PyObject * obj0 = 0 ;
10597 char *kwnames[] = {
10598 (char *) "self", NULL
10599 };
10600
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10604 {
10605 PyThreadState* __tstate = wxPyBeginAllowThreads();
10606 result = (int)(arg1)->GetVMin();
10607
10608 wxPyEndAllowThreads(__tstate);
10609 if (PyErr_Occurred()) SWIG_fail;
10610 }
10611 resultobj = SWIG_FromInt((int)result);
10612 return resultobj;
10613 fail:
10614 return NULL;
10615 }
10616
10617
10618 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10619 PyObject *resultobj;
10620 wxJoystick *arg1 = (wxJoystick *) 0 ;
10621 int result;
10622 PyObject * obj0 = 0 ;
10623 char *kwnames[] = {
10624 (char *) "self", NULL
10625 };
10626
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 result = (int)(arg1)->GetVMax();
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) SWIG_fail;
10636 }
10637 resultobj = SWIG_FromInt((int)result);
10638 return resultobj;
10639 fail:
10640 return NULL;
10641 }
10642
10643
10644 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10645 PyObject *resultobj;
10646 wxJoystick *arg1 = (wxJoystick *) 0 ;
10647 bool result;
10648 PyObject * obj0 = 0 ;
10649 char *kwnames[] = {
10650 (char *) "self", NULL
10651 };
10652
10653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 result = (bool)(arg1)->HasRudder();
10659
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 {
10664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10665 }
10666 return resultobj;
10667 fail:
10668 return NULL;
10669 }
10670
10671
10672 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10673 PyObject *resultobj;
10674 wxJoystick *arg1 = (wxJoystick *) 0 ;
10675 bool result;
10676 PyObject * obj0 = 0 ;
10677 char *kwnames[] = {
10678 (char *) "self", NULL
10679 };
10680
10681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 result = (bool)(arg1)->HasZ();
10687
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 {
10692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10693 }
10694 return resultobj;
10695 fail:
10696 return NULL;
10697 }
10698
10699
10700 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj;
10702 wxJoystick *arg1 = (wxJoystick *) 0 ;
10703 bool result;
10704 PyObject * obj0 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 result = (bool)(arg1)->HasU();
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 {
10720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10721 }
10722 return resultobj;
10723 fail:
10724 return NULL;
10725 }
10726
10727
10728 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10729 PyObject *resultobj;
10730 wxJoystick *arg1 = (wxJoystick *) 0 ;
10731 bool result;
10732 PyObject * obj0 = 0 ;
10733 char *kwnames[] = {
10734 (char *) "self", NULL
10735 };
10736
10737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 result = (bool)(arg1)->HasV();
10743
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 {
10748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10749 }
10750 return resultobj;
10751 fail:
10752 return NULL;
10753 }
10754
10755
10756 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject *resultobj;
10758 wxJoystick *arg1 = (wxJoystick *) 0 ;
10759 bool result;
10760 PyObject * obj0 = 0 ;
10761 char *kwnames[] = {
10762 (char *) "self", NULL
10763 };
10764
10765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10768 {
10769 PyThreadState* __tstate = wxPyBeginAllowThreads();
10770 result = (bool)(arg1)->HasPOV();
10771
10772 wxPyEndAllowThreads(__tstate);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 }
10775 {
10776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10777 }
10778 return resultobj;
10779 fail:
10780 return NULL;
10781 }
10782
10783
10784 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10785 PyObject *resultobj;
10786 wxJoystick *arg1 = (wxJoystick *) 0 ;
10787 bool result;
10788 PyObject * obj0 = 0 ;
10789 char *kwnames[] = {
10790 (char *) "self", NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10796 {
10797 PyThreadState* __tstate = wxPyBeginAllowThreads();
10798 result = (bool)(arg1)->HasPOV4Dir();
10799
10800 wxPyEndAllowThreads(__tstate);
10801 if (PyErr_Occurred()) SWIG_fail;
10802 }
10803 {
10804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10805 }
10806 return resultobj;
10807 fail:
10808 return NULL;
10809 }
10810
10811
10812 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject *resultobj;
10814 wxJoystick *arg1 = (wxJoystick *) 0 ;
10815 bool result;
10816 PyObject * obj0 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10824 {
10825 PyThreadState* __tstate = wxPyBeginAllowThreads();
10826 result = (bool)(arg1)->HasPOVCTS();
10827
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
10831 {
10832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10833 }
10834 return resultobj;
10835 fail:
10836 return NULL;
10837 }
10838
10839
10840 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10841 PyObject *resultobj;
10842 wxJoystick *arg1 = (wxJoystick *) 0 ;
10843 wxWindow *arg2 = (wxWindow *) 0 ;
10844 int arg3 = (int) 0 ;
10845 bool result;
10846 PyObject * obj0 = 0 ;
10847 PyObject * obj1 = 0 ;
10848 PyObject * obj2 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10858 if (obj2) {
10859 arg3 = (int) SWIG_AsInt(obj2);
10860 if (PyErr_Occurred()) SWIG_fail;
10861 }
10862 {
10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
10864 result = (bool)(arg1)->SetCapture(arg2,arg3);
10865
10866 wxPyEndAllowThreads(__tstate);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 }
10869 {
10870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10871 }
10872 return resultobj;
10873 fail:
10874 return NULL;
10875 }
10876
10877
10878 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10879 PyObject *resultobj;
10880 wxJoystick *arg1 = (wxJoystick *) 0 ;
10881 bool result;
10882 PyObject * obj0 = 0 ;
10883 char *kwnames[] = {
10884 (char *) "self", NULL
10885 };
10886
10887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 result = (bool)(arg1)->ReleaseCapture();
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 {
10898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10899 }
10900 return resultobj;
10901 fail:
10902 return NULL;
10903 }
10904
10905
10906 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10907 PyObject *obj;
10908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10909 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10910 Py_INCREF(obj);
10911 return Py_BuildValue((char *)"");
10912 }
10913 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10914 PyObject *resultobj;
10915 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10916 wxPoint *arg2 = (wxPoint *) 0 ;
10917 PyObject * obj0 = 0 ;
10918 PyObject * obj1 = 0 ;
10919 char *kwnames[] = {
10920 (char *) "self",(char *) "m_pos", NULL
10921 };
10922
10923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10928 if (arg1) (arg1)->m_pos = *arg2;
10929
10930 Py_INCREF(Py_None); resultobj = Py_None;
10931 return resultobj;
10932 fail:
10933 return NULL;
10934 }
10935
10936
10937 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10938 PyObject *resultobj;
10939 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10940 wxPoint *result;
10941 PyObject * obj0 = 0 ;
10942 char *kwnames[] = {
10943 (char *) "self", NULL
10944 };
10945
10946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10949 result = (wxPoint *)& ((arg1)->m_pos);
10950
10951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
10952 return resultobj;
10953 fail:
10954 return NULL;
10955 }
10956
10957
10958 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10959 PyObject *resultobj;
10960 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10961 int arg2 ;
10962 PyObject * obj0 = 0 ;
10963 PyObject * obj1 = 0 ;
10964 char *kwnames[] = {
10965 (char *) "self",(char *) "m_zPosition", NULL
10966 };
10967
10968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10971 arg2 = (int) SWIG_AsInt(obj1);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 if (arg1) (arg1)->m_zPosition = arg2;
10974
10975 Py_INCREF(Py_None); resultobj = Py_None;
10976 return resultobj;
10977 fail:
10978 return NULL;
10979 }
10980
10981
10982 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10985 int result;
10986 PyObject * obj0 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "self", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10994 result = (int) ((arg1)->m_zPosition);
10995
10996 resultobj = SWIG_FromInt((int)result);
10997 return resultobj;
10998 fail:
10999 return NULL;
11000 }
11001
11002
11003 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11004 PyObject *resultobj;
11005 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11006 int arg2 ;
11007 PyObject * obj0 = 0 ;
11008 PyObject * obj1 = 0 ;
11009 char *kwnames[] = {
11010 (char *) "self",(char *) "m_buttonChange", NULL
11011 };
11012
11013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
11014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11016 arg2 = (int) SWIG_AsInt(obj1);
11017 if (PyErr_Occurred()) SWIG_fail;
11018 if (arg1) (arg1)->m_buttonChange = arg2;
11019
11020 Py_INCREF(Py_None); resultobj = Py_None;
11021 return resultobj;
11022 fail:
11023 return NULL;
11024 }
11025
11026
11027 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11028 PyObject *resultobj;
11029 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11030 int result;
11031 PyObject * obj0 = 0 ;
11032 char *kwnames[] = {
11033 (char *) "self", NULL
11034 };
11035
11036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
11037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11039 result = (int) ((arg1)->m_buttonChange);
11040
11041 resultobj = SWIG_FromInt((int)result);
11042 return resultobj;
11043 fail:
11044 return NULL;
11045 }
11046
11047
11048 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11049 PyObject *resultobj;
11050 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11051 int arg2 ;
11052 PyObject * obj0 = 0 ;
11053 PyObject * obj1 = 0 ;
11054 char *kwnames[] = {
11055 (char *) "self",(char *) "m_buttonState", NULL
11056 };
11057
11058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
11059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11061 arg2 = (int) SWIG_AsInt(obj1);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 if (arg1) (arg1)->m_buttonState = arg2;
11064
11065 Py_INCREF(Py_None); resultobj = Py_None;
11066 return resultobj;
11067 fail:
11068 return NULL;
11069 }
11070
11071
11072 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11073 PyObject *resultobj;
11074 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11075 int result;
11076 PyObject * obj0 = 0 ;
11077 char *kwnames[] = {
11078 (char *) "self", NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
11082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11084 result = (int) ((arg1)->m_buttonState);
11085
11086 resultobj = SWIG_FromInt((int)result);
11087 return resultobj;
11088 fail:
11089 return NULL;
11090 }
11091
11092
11093 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11094 PyObject *resultobj;
11095 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11096 int arg2 ;
11097 PyObject * obj0 = 0 ;
11098 PyObject * obj1 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self",(char *) "m_joyStick", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11106 arg2 = (int) SWIG_AsInt(obj1);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 if (arg1) (arg1)->m_joyStick = arg2;
11109
11110 Py_INCREF(Py_None); resultobj = Py_None;
11111 return resultobj;
11112 fail:
11113 return NULL;
11114 }
11115
11116
11117 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11118 PyObject *resultobj;
11119 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11120 int result;
11121 PyObject * obj0 = 0 ;
11122 char *kwnames[] = {
11123 (char *) "self", NULL
11124 };
11125
11126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
11127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11129 result = (int) ((arg1)->m_joyStick);
11130
11131 resultobj = SWIG_FromInt((int)result);
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11141 int arg2 = (int) 0 ;
11142 int arg3 = (int) wxJOYSTICK1 ;
11143 int arg4 = (int) 0 ;
11144 wxJoystickEvent *result;
11145 PyObject * obj0 = 0 ;
11146 PyObject * obj1 = 0 ;
11147 PyObject * obj2 = 0 ;
11148 PyObject * obj3 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11154 if (obj0) {
11155 arg1 = (wxEventType) SWIG_AsInt(obj0);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
11158 if (obj1) {
11159 arg2 = (int) SWIG_AsInt(obj1);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 if (obj2) {
11163 arg3 = (int) SWIG_AsInt(obj2);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 if (obj3) {
11167 arg4 = (int) SWIG_AsInt(obj3);
11168 if (PyErr_Occurred()) SWIG_fail;
11169 }
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
11172 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
11173
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
11178 return resultobj;
11179 fail:
11180 return NULL;
11181 }
11182
11183
11184 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11185 PyObject *resultobj;
11186 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11187 wxPoint result;
11188 PyObject * obj0 = 0 ;
11189 char *kwnames[] = {
11190 (char *) "self", NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
11194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 result = ((wxJoystickEvent const *)arg1)->GetPosition();
11199
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 {
11204 wxPoint * resultptr;
11205 resultptr = new wxPoint((wxPoint &) result);
11206 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11207 }
11208 return resultobj;
11209 fail:
11210 return NULL;
11211 }
11212
11213
11214 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11215 PyObject *resultobj;
11216 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11217 int result;
11218 PyObject * obj0 = 0 ;
11219 char *kwnames[] = {
11220 (char *) "self", NULL
11221 };
11222
11223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
11224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11226 {
11227 PyThreadState* __tstate = wxPyBeginAllowThreads();
11228 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
11229
11230 wxPyEndAllowThreads(__tstate);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 }
11233 resultobj = SWIG_FromInt((int)result);
11234 return resultobj;
11235 fail:
11236 return NULL;
11237 }
11238
11239
11240 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11241 PyObject *resultobj;
11242 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11243 int result;
11244 PyObject * obj0 = 0 ;
11245 char *kwnames[] = {
11246 (char *) "self", NULL
11247 };
11248
11249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
11250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
11255
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 resultobj = SWIG_FromInt((int)result);
11260 return resultobj;
11261 fail:
11262 return NULL;
11263 }
11264
11265
11266 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11267 PyObject *resultobj;
11268 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11269 int result;
11270 PyObject * obj0 = 0 ;
11271 char *kwnames[] = {
11272 (char *) "self", NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 resultobj = SWIG_FromInt((int)result);
11286 return resultobj;
11287 fail:
11288 return NULL;
11289 }
11290
11291
11292 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj;
11294 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11295 int result;
11296 PyObject * obj0 = 0 ;
11297 char *kwnames[] = {
11298 (char *) "self", NULL
11299 };
11300
11301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11304 {
11305 PyThreadState* __tstate = wxPyBeginAllowThreads();
11306 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11307
11308 wxPyEndAllowThreads(__tstate);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 }
11311 resultobj = SWIG_FromInt((int)result);
11312 return resultobj;
11313 fail:
11314 return NULL;
11315 }
11316
11317
11318 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11319 PyObject *resultobj;
11320 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11321 int arg2 ;
11322 PyObject * obj0 = 0 ;
11323 PyObject * obj1 = 0 ;
11324 char *kwnames[] = {
11325 (char *) "self",(char *) "stick", NULL
11326 };
11327
11328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11331 arg2 = (int) SWIG_AsInt(obj1);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 {
11334 PyThreadState* __tstate = wxPyBeginAllowThreads();
11335 (arg1)->SetJoystick(arg2);
11336
11337 wxPyEndAllowThreads(__tstate);
11338 if (PyErr_Occurred()) SWIG_fail;
11339 }
11340 Py_INCREF(Py_None); resultobj = Py_None;
11341 return resultobj;
11342 fail:
11343 return NULL;
11344 }
11345
11346
11347 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11348 PyObject *resultobj;
11349 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11350 int arg2 ;
11351 PyObject * obj0 = 0 ;
11352 PyObject * obj1 = 0 ;
11353 char *kwnames[] = {
11354 (char *) "self",(char *) "state", NULL
11355 };
11356
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11360 arg2 = (int) SWIG_AsInt(obj1);
11361 if (PyErr_Occurred()) SWIG_fail;
11362 {
11363 PyThreadState* __tstate = wxPyBeginAllowThreads();
11364 (arg1)->SetButtonState(arg2);
11365
11366 wxPyEndAllowThreads(__tstate);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 Py_INCREF(Py_None); resultobj = Py_None;
11370 return resultobj;
11371 fail:
11372 return NULL;
11373 }
11374
11375
11376 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11377 PyObject *resultobj;
11378 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11379 int arg2 ;
11380 PyObject * obj0 = 0 ;
11381 PyObject * obj1 = 0 ;
11382 char *kwnames[] = {
11383 (char *) "self",(char *) "change", NULL
11384 };
11385
11386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11389 arg2 = (int) SWIG_AsInt(obj1);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 (arg1)->SetButtonChange(arg2);
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 Py_INCREF(Py_None); resultobj = Py_None;
11399 return resultobj;
11400 fail:
11401 return NULL;
11402 }
11403
11404
11405 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11406 PyObject *resultobj;
11407 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11408 wxPoint *arg2 = 0 ;
11409 wxPoint temp2 ;
11410 PyObject * obj0 = 0 ;
11411 PyObject * obj1 = 0 ;
11412 char *kwnames[] = {
11413 (char *) "self",(char *) "pos", NULL
11414 };
11415
11416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11419 {
11420 arg2 = &temp2;
11421 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11422 }
11423 {
11424 PyThreadState* __tstate = wxPyBeginAllowThreads();
11425 (arg1)->SetPosition((wxPoint const &)*arg2);
11426
11427 wxPyEndAllowThreads(__tstate);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 Py_INCREF(Py_None); resultobj = Py_None;
11431 return resultobj;
11432 fail:
11433 return NULL;
11434 }
11435
11436
11437 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11438 PyObject *resultobj;
11439 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11440 int arg2 ;
11441 PyObject * obj0 = 0 ;
11442 PyObject * obj1 = 0 ;
11443 char *kwnames[] = {
11444 (char *) "self",(char *) "zPos", NULL
11445 };
11446
11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11450 arg2 = (int) SWIG_AsInt(obj1);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 {
11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
11454 (arg1)->SetZPosition(arg2);
11455
11456 wxPyEndAllowThreads(__tstate);
11457 if (PyErr_Occurred()) SWIG_fail;
11458 }
11459 Py_INCREF(Py_None); resultobj = Py_None;
11460 return resultobj;
11461 fail:
11462 return NULL;
11463 }
11464
11465
11466 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj;
11468 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11469 bool result;
11470 PyObject * obj0 = 0 ;
11471 char *kwnames[] = {
11472 (char *) "self", NULL
11473 };
11474
11475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11478 {
11479 PyThreadState* __tstate = wxPyBeginAllowThreads();
11480 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11481
11482 wxPyEndAllowThreads(__tstate);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 {
11486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11487 }
11488 return resultobj;
11489 fail:
11490 return NULL;
11491 }
11492
11493
11494 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj;
11496 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11497 bool result;
11498 PyObject * obj0 = 0 ;
11499 char *kwnames[] = {
11500 (char *) "self", NULL
11501 };
11502
11503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11506 {
11507 PyThreadState* __tstate = wxPyBeginAllowThreads();
11508 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11509
11510 wxPyEndAllowThreads(__tstate);
11511 if (PyErr_Occurred()) SWIG_fail;
11512 }
11513 {
11514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11515 }
11516 return resultobj;
11517 fail:
11518 return NULL;
11519 }
11520
11521
11522 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11525 bool result;
11526 PyObject * obj0 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11534 {
11535 PyThreadState* __tstate = wxPyBeginAllowThreads();
11536 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11537
11538 wxPyEndAllowThreads(__tstate);
11539 if (PyErr_Occurred()) SWIG_fail;
11540 }
11541 {
11542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11543 }
11544 return resultobj;
11545 fail:
11546 return NULL;
11547 }
11548
11549
11550 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11551 PyObject *resultobj;
11552 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11553 int arg2 = (int) wxJOY_BUTTON_ANY ;
11554 bool result;
11555 PyObject * obj0 = 0 ;
11556 PyObject * obj1 = 0 ;
11557 char *kwnames[] = {
11558 (char *) "self",(char *) "but", NULL
11559 };
11560
11561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11564 if (obj1) {
11565 arg2 = (int) SWIG_AsInt(obj1);
11566 if (PyErr_Occurred()) SWIG_fail;
11567 }
11568 {
11569 PyThreadState* __tstate = wxPyBeginAllowThreads();
11570 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11571
11572 wxPyEndAllowThreads(__tstate);
11573 if (PyErr_Occurred()) SWIG_fail;
11574 }
11575 {
11576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11577 }
11578 return resultobj;
11579 fail:
11580 return NULL;
11581 }
11582
11583
11584 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11585 PyObject *resultobj;
11586 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11587 int arg2 = (int) wxJOY_BUTTON_ANY ;
11588 bool result;
11589 PyObject * obj0 = 0 ;
11590 PyObject * obj1 = 0 ;
11591 char *kwnames[] = {
11592 (char *) "self",(char *) "but", NULL
11593 };
11594
11595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11598 if (obj1) {
11599 arg2 = (int) SWIG_AsInt(obj1);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11605
11606 wxPyEndAllowThreads(__tstate);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 }
11609 {
11610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11611 }
11612 return resultobj;
11613 fail:
11614 return NULL;
11615 }
11616
11617
11618 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11619 PyObject *resultobj;
11620 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11621 int arg2 = (int) wxJOY_BUTTON_ANY ;
11622 bool result;
11623 PyObject * obj0 = 0 ;
11624 PyObject * obj1 = 0 ;
11625 char *kwnames[] = {
11626 (char *) "self",(char *) "but", NULL
11627 };
11628
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11632 if (obj1) {
11633 arg2 = (int) SWIG_AsInt(obj1);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
11636 {
11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
11638 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11639
11640 wxPyEndAllowThreads(__tstate);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 }
11643 {
11644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11645 }
11646 return resultobj;
11647 fail:
11648 return NULL;
11649 }
11650
11651
11652 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11653 PyObject *obj;
11654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11655 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11656 Py_INCREF(obj);
11657 return Py_BuildValue((char *)"");
11658 }
11659 static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
11660 PyObject *resultobj;
11661 wxString const &arg1_defvalue = wxPyEmptyString ;
11662 wxString *arg1 = (wxString *) &arg1_defvalue ;
11663 wxSound *result;
11664 bool temp1 = False ;
11665 PyObject * obj0 = 0 ;
11666 char *kwnames[] = {
11667 (char *) "fileName", NULL
11668 };
11669
11670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
11671 if (obj0) {
11672 {
11673 arg1 = wxString_in_helper(obj0);
11674 if (arg1 == NULL) SWIG_fail;
11675 temp1 = True;
11676 }
11677 }
11678 {
11679 if (!wxPyCheckForApp()) SWIG_fail;
11680 PyThreadState* __tstate = wxPyBeginAllowThreads();
11681 result = (wxSound *)new_wxSound((wxString const &)*arg1);
11682
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11687 {
11688 if (temp1)
11689 delete arg1;
11690 }
11691 return resultobj;
11692 fail:
11693 {
11694 if (temp1)
11695 delete arg1;
11696 }
11697 return NULL;
11698 }
11699
11700
11701 static PyObject *_wrap_new_SoundFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
11702 PyObject *resultobj;
11703 PyObject *arg1 = (PyObject *) 0 ;
11704 wxSound *result;
11705 PyObject * obj0 = 0 ;
11706 char *kwnames[] = {
11707 (char *) "data", NULL
11708 };
11709
11710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
11711 arg1 = obj0;
11712 {
11713 if (!wxPyCheckForApp()) SWIG_fail;
11714 PyThreadState* __tstate = wxPyBeginAllowThreads();
11715 result = (wxSound *)new_wxSound(arg1);
11716
11717 wxPyEndAllowThreads(__tstate);
11718 if (PyErr_Occurred()) SWIG_fail;
11719 }
11720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11721 return resultobj;
11722 fail:
11723 return NULL;
11724 }
11725
11726
11727 static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
11728 PyObject *resultobj;
11729 wxSound *arg1 = (wxSound *) 0 ;
11730 PyObject * obj0 = 0 ;
11731 char *kwnames[] = {
11732 (char *) "self", NULL
11733 };
11734
11735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
11740 delete arg1;
11741
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 Py_INCREF(Py_None); resultobj = Py_None;
11746 return resultobj;
11747 fail:
11748 return NULL;
11749 }
11750
11751
11752 static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11753 PyObject *resultobj;
11754 wxSound *arg1 = (wxSound *) 0 ;
11755 wxString *arg2 = 0 ;
11756 bool result;
11757 bool temp2 = False ;
11758 PyObject * obj0 = 0 ;
11759 PyObject * obj1 = 0 ;
11760 char *kwnames[] = {
11761 (char *) "self",(char *) "fileName", NULL
11762 };
11763
11764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
11765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11767 {
11768 arg2 = wxString_in_helper(obj1);
11769 if (arg2 == NULL) SWIG_fail;
11770 temp2 = True;
11771 }
11772 {
11773 PyThreadState* __tstate = wxPyBeginAllowThreads();
11774 result = (bool)(arg1)->Create((wxString const &)*arg2);
11775
11776 wxPyEndAllowThreads(__tstate);
11777 if (PyErr_Occurred()) SWIG_fail;
11778 }
11779 {
11780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11781 }
11782 {
11783 if (temp2)
11784 delete arg2;
11785 }
11786 return resultobj;
11787 fail:
11788 {
11789 if (temp2)
11790 delete arg2;
11791 }
11792 return NULL;
11793 }
11794
11795
11796 static PyObject *_wrap_Sound_CreateFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
11797 PyObject *resultobj;
11798 wxSound *arg1 = (wxSound *) 0 ;
11799 PyObject *arg2 = (PyObject *) 0 ;
11800 bool result;
11801 PyObject * obj0 = 0 ;
11802 PyObject * obj1 = 0 ;
11803 char *kwnames[] = {
11804 (char *) "self",(char *) "data", NULL
11805 };
11806
11807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
11808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11810 arg2 = obj1;
11811 {
11812 PyThreadState* __tstate = wxPyBeginAllowThreads();
11813 result = (bool)wxSound_CreateFromData(arg1,arg2);
11814
11815 wxPyEndAllowThreads(__tstate);
11816 if (PyErr_Occurred()) SWIG_fail;
11817 }
11818 {
11819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11820 }
11821 return resultobj;
11822 fail:
11823 return NULL;
11824 }
11825
11826
11827 static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj;
11829 wxSound *arg1 = (wxSound *) 0 ;
11830 bool result;
11831 PyObject * obj0 = 0 ;
11832 char *kwnames[] = {
11833 (char *) "self", NULL
11834 };
11835
11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 result = (bool)(arg1)->IsOk();
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 {
11847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11848 }
11849 return resultobj;
11850 fail:
11851 return NULL;
11852 }
11853
11854
11855 static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
11856 PyObject *resultobj;
11857 wxSound *arg1 = (wxSound *) 0 ;
11858 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11859 bool result;
11860 PyObject * obj0 = 0 ;
11861 PyObject * obj1 = 0 ;
11862 char *kwnames[] = {
11863 (char *) "self",(char *) "flags", NULL
11864 };
11865
11866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
11867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11869 if (obj1) {
11870 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 }
11873 {
11874 if (!wxPyCheckForApp()) SWIG_fail;
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = (bool)((wxSound const *)arg1)->Play(arg2);
11877
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 {
11882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11883 }
11884 return resultobj;
11885 fail:
11886 return NULL;
11887 }
11888
11889
11890 static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args, PyObject *kwargs) {
11891 PyObject *resultobj;
11892 wxString *arg1 = 0 ;
11893 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11894 bool result;
11895 bool temp1 = False ;
11896 PyObject * obj0 = 0 ;
11897 PyObject * obj1 = 0 ;
11898 char *kwnames[] = {
11899 (char *) "filename",(char *) "flags", NULL
11900 };
11901
11902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
11903 {
11904 arg1 = wxString_in_helper(obj0);
11905 if (arg1 == NULL) SWIG_fail;
11906 temp1 = True;
11907 }
11908 if (obj1) {
11909 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11910 if (PyErr_Occurred()) SWIG_fail;
11911 }
11912 {
11913 if (!wxPyCheckForApp()) SWIG_fail;
11914 PyThreadState* __tstate = wxPyBeginAllowThreads();
11915 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11916
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 {
11921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11922 }
11923 {
11924 if (temp1)
11925 delete arg1;
11926 }
11927 return resultobj;
11928 fail:
11929 {
11930 if (temp1)
11931 delete arg1;
11932 }
11933 return NULL;
11934 }
11935
11936
11937 static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 char *kwnames[] = {
11940 NULL
11941 };
11942
11943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11944 {
11945 if (!wxPyCheckForApp()) SWIG_fail;
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 wxSound::Stop();
11948
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 Py_INCREF(Py_None); resultobj = Py_None;
11953 return resultobj;
11954 fail:
11955 return NULL;
11956 }
11957
11958
11959 static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
11960 PyObject *obj;
11961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11962 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11963 Py_INCREF(obj);
11964 return Py_BuildValue((char *)"");
11965 }
11966 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj;
11968 wxString *arg1 = 0 ;
11969 wxString *arg2 = 0 ;
11970 wxString *arg3 = 0 ;
11971 wxString *arg4 = 0 ;
11972 wxFileTypeInfo *result;
11973 bool temp1 = False ;
11974 bool temp2 = False ;
11975 bool temp3 = False ;
11976 bool temp4 = False ;
11977 PyObject * obj0 = 0 ;
11978 PyObject * obj1 = 0 ;
11979 PyObject * obj2 = 0 ;
11980 PyObject * obj3 = 0 ;
11981 char *kwnames[] = {
11982 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11983 };
11984
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11986 {
11987 arg1 = wxString_in_helper(obj0);
11988 if (arg1 == NULL) SWIG_fail;
11989 temp1 = True;
11990 }
11991 {
11992 arg2 = wxString_in_helper(obj1);
11993 if (arg2 == NULL) SWIG_fail;
11994 temp2 = True;
11995 }
11996 {
11997 arg3 = wxString_in_helper(obj2);
11998 if (arg3 == NULL) SWIG_fail;
11999 temp3 = True;
12000 }
12001 {
12002 arg4 = wxString_in_helper(obj3);
12003 if (arg4 == NULL) SWIG_fail;
12004 temp4 = True;
12005 }
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12009
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12014 {
12015 if (temp1)
12016 delete arg1;
12017 }
12018 {
12019 if (temp2)
12020 delete arg2;
12021 }
12022 {
12023 if (temp3)
12024 delete arg3;
12025 }
12026 {
12027 if (temp4)
12028 delete arg4;
12029 }
12030 return resultobj;
12031 fail:
12032 {
12033 if (temp1)
12034 delete arg1;
12035 }
12036 {
12037 if (temp2)
12038 delete arg2;
12039 }
12040 {
12041 if (temp3)
12042 delete arg3;
12043 }
12044 {
12045 if (temp4)
12046 delete arg4;
12047 }
12048 return NULL;
12049 }
12050
12051
12052 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj;
12054 wxArrayString *arg1 = 0 ;
12055 wxFileTypeInfo *result;
12056 bool temp1 = False ;
12057 PyObject * obj0 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "sArray", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
12063 {
12064 if (! PySequence_Check(obj0)) {
12065 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12066 SWIG_fail;
12067 }
12068 arg1 = new wxArrayString;
12069 temp1 = True;
12070 int i, len=PySequence_Length(obj0);
12071 for (i=0; i<len; i++) {
12072 PyObject* item = PySequence_GetItem(obj0, i);
12073 #if wxUSE_UNICODE
12074 PyObject* str = PyObject_Unicode(item);
12075 #else
12076 PyObject* str = PyObject_Str(item);
12077 #endif
12078 if (PyErr_Occurred()) SWIG_fail;
12079 arg1->Add(Py2wxString(str));
12080 Py_DECREF(item);
12081 Py_DECREF(str);
12082 }
12083 }
12084 {
12085 PyThreadState* __tstate = wxPyBeginAllowThreads();
12086 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
12087
12088 wxPyEndAllowThreads(__tstate);
12089 if (PyErr_Occurred()) SWIG_fail;
12090 }
12091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12092 {
12093 if (temp1) delete arg1;
12094 }
12095 return resultobj;
12096 fail:
12097 {
12098 if (temp1) delete arg1;
12099 }
12100 return NULL;
12101 }
12102
12103
12104 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12105 PyObject *resultobj;
12106 wxFileTypeInfo *result;
12107 char *kwnames[] = {
12108 NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
12112 {
12113 PyThreadState* __tstate = wxPyBeginAllowThreads();
12114 result = (wxFileTypeInfo *)new wxFileTypeInfo();
12115
12116 wxPyEndAllowThreads(__tstate);
12117 if (PyErr_Occurred()) SWIG_fail;
12118 }
12119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12120 return resultobj;
12121 fail:
12122 return NULL;
12123 }
12124
12125
12126 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
12127 PyObject *resultobj;
12128 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12129 bool result;
12130 PyObject * obj0 = 0 ;
12131 char *kwnames[] = {
12132 (char *) "self", NULL
12133 };
12134
12135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
12136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12138 {
12139 PyThreadState* __tstate = wxPyBeginAllowThreads();
12140 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
12141
12142 wxPyEndAllowThreads(__tstate);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 }
12145 {
12146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12147 }
12148 return resultobj;
12149 fail:
12150 return NULL;
12151 }
12152
12153
12154 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12155 PyObject *resultobj;
12156 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12157 wxString *arg2 = 0 ;
12158 int arg3 = (int) 0 ;
12159 bool temp2 = False ;
12160 PyObject * obj0 = 0 ;
12161 PyObject * obj1 = 0 ;
12162 PyObject * obj2 = 0 ;
12163 char *kwnames[] = {
12164 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12165 };
12166
12167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12170 {
12171 arg2 = wxString_in_helper(obj1);
12172 if (arg2 == NULL) SWIG_fail;
12173 temp2 = True;
12174 }
12175 if (obj2) {
12176 arg3 = (int) SWIG_AsInt(obj2);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 }
12179 {
12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
12181 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12182
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 Py_INCREF(Py_None); resultobj = Py_None;
12187 {
12188 if (temp2)
12189 delete arg2;
12190 }
12191 return resultobj;
12192 fail:
12193 {
12194 if (temp2)
12195 delete arg2;
12196 }
12197 return NULL;
12198 }
12199
12200
12201 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12202 PyObject *resultobj;
12203 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12204 wxString *arg2 = 0 ;
12205 bool temp2 = False ;
12206 PyObject * obj0 = 0 ;
12207 PyObject * obj1 = 0 ;
12208 char *kwnames[] = {
12209 (char *) "self",(char *) "shortDesc", NULL
12210 };
12211
12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12215 {
12216 arg2 = wxString_in_helper(obj1);
12217 if (arg2 == NULL) SWIG_fail;
12218 temp2 = True;
12219 }
12220 {
12221 PyThreadState* __tstate = wxPyBeginAllowThreads();
12222 (arg1)->SetShortDesc((wxString const &)*arg2);
12223
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 Py_INCREF(Py_None); resultobj = Py_None;
12228 {
12229 if (temp2)
12230 delete arg2;
12231 }
12232 return resultobj;
12233 fail:
12234 {
12235 if (temp2)
12236 delete arg2;
12237 }
12238 return NULL;
12239 }
12240
12241
12242 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12243 PyObject *resultobj;
12244 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12245 wxString *result;
12246 PyObject * obj0 = 0 ;
12247 char *kwnames[] = {
12248 (char *) "self", NULL
12249 };
12250
12251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 {
12257 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12258 result = (wxString *) &_result_ref;
12259 }
12260
12261 wxPyEndAllowThreads(__tstate);
12262 if (PyErr_Occurred()) SWIG_fail;
12263 }
12264 {
12265 #if wxUSE_UNICODE
12266 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12267 #else
12268 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12269 #endif
12270 }
12271 return resultobj;
12272 fail:
12273 return NULL;
12274 }
12275
12276
12277 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12278 PyObject *resultobj;
12279 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12280 wxString *result;
12281 PyObject * obj0 = 0 ;
12282 char *kwnames[] = {
12283 (char *) "self", NULL
12284 };
12285
12286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 {
12292 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12293 result = (wxString *) &_result_ref;
12294 }
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 {
12300 #if wxUSE_UNICODE
12301 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12302 #else
12303 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12304 #endif
12305 }
12306 return resultobj;
12307 fail:
12308 return NULL;
12309 }
12310
12311
12312 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12313 PyObject *resultobj;
12314 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12315 wxString *result;
12316 PyObject * obj0 = 0 ;
12317 char *kwnames[] = {
12318 (char *) "self", NULL
12319 };
12320
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12324 {
12325 PyThreadState* __tstate = wxPyBeginAllowThreads();
12326 {
12327 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12328 result = (wxString *) &_result_ref;
12329 }
12330
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
12334 {
12335 #if wxUSE_UNICODE
12336 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12337 #else
12338 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12339 #endif
12340 }
12341 return resultobj;
12342 fail:
12343 return NULL;
12344 }
12345
12346
12347 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12348 PyObject *resultobj;
12349 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12350 wxString *result;
12351 PyObject * obj0 = 0 ;
12352 char *kwnames[] = {
12353 (char *) "self", NULL
12354 };
12355
12356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
12361 {
12362 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12363 result = (wxString *) &_result_ref;
12364 }
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 {
12370 #if wxUSE_UNICODE
12371 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12372 #else
12373 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12374 #endif
12375 }
12376 return resultobj;
12377 fail:
12378 return NULL;
12379 }
12380
12381
12382 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12383 PyObject *resultobj;
12384 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12385 wxString *result;
12386 PyObject * obj0 = 0 ;
12387 char *kwnames[] = {
12388 (char *) "self", NULL
12389 };
12390
12391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 {
12397 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12398 result = (wxString *) &_result_ref;
12399 }
12400
12401 wxPyEndAllowThreads(__tstate);
12402 if (PyErr_Occurred()) SWIG_fail;
12403 }
12404 {
12405 #if wxUSE_UNICODE
12406 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12407 #else
12408 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12409 #endif
12410 }
12411 return resultobj;
12412 fail:
12413 return NULL;
12414 }
12415
12416
12417 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12418 PyObject *resultobj;
12419 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12420 wxArrayString *result;
12421 PyObject * obj0 = 0 ;
12422 char *kwnames[] = {
12423 (char *) "self", NULL
12424 };
12425
12426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12429 {
12430 PyThreadState* __tstate = wxPyBeginAllowThreads();
12431 {
12432 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12433 result = (wxArrayString *) &_result_ref;
12434 }
12435
12436 wxPyEndAllowThreads(__tstate);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 }
12439 {
12440 resultobj = wxArrayString2PyList_helper(*result);
12441 }
12442 return resultobj;
12443 fail:
12444 return NULL;
12445 }
12446
12447
12448 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12449 PyObject *resultobj;
12450 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12451 int result;
12452 PyObject * obj0 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 resultobj = SWIG_FromInt((int)result);
12468 return resultobj;
12469 fail:
12470 return NULL;
12471 }
12472
12473
12474 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12475 PyObject *resultobj;
12476 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12477 wxString *result;
12478 PyObject * obj0 = 0 ;
12479 char *kwnames[] = {
12480 (char *) "self", NULL
12481 };
12482
12483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 {
12489 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12490 result = (wxString *) &_result_ref;
12491 }
12492
12493 wxPyEndAllowThreads(__tstate);
12494 if (PyErr_Occurred()) SWIG_fail;
12495 }
12496 {
12497 #if wxUSE_UNICODE
12498 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12499 #else
12500 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12501 #endif
12502 }
12503 return resultobj;
12504 fail:
12505 return NULL;
12506 }
12507
12508
12509 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12510 PyObject *resultobj;
12511 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12512 int result;
12513 PyObject * obj0 = 0 ;
12514 char *kwnames[] = {
12515 (char *) "self", NULL
12516 };
12517
12518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
12523 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 resultobj = SWIG_FromInt((int)result);
12529 return resultobj;
12530 fail:
12531 return NULL;
12532 }
12533
12534
12535 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12536 PyObject *obj;
12537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12538 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12539 Py_INCREF(obj);
12540 return Py_BuildValue((char *)"");
12541 }
12542 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12543 PyObject *resultobj;
12544 wxFileTypeInfo *arg1 = 0 ;
12545 wxFileType *result;
12546 PyObject * obj0 = 0 ;
12547 char *kwnames[] = {
12548 (char *) "ftInfo", NULL
12549 };
12550
12551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12553 SWIG_POINTER_EXCEPTION | 0)) == -1)
12554 SWIG_fail;
12555 if (arg1 == NULL) {
12556 PyErr_SetString(PyExc_TypeError,"null reference");
12557 SWIG_fail;
12558 }
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12562
12563 wxPyEndAllowThreads(__tstate);
12564 if (PyErr_Occurred()) SWIG_fail;
12565 }
12566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12567 return resultobj;
12568 fail:
12569 return NULL;
12570 }
12571
12572
12573 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12574 PyObject *resultobj;
12575 wxFileType *arg1 = (wxFileType *) 0 ;
12576 PyObject * obj0 = 0 ;
12577 char *kwnames[] = {
12578 (char *) "self", NULL
12579 };
12580
12581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12584 {
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 delete arg1;
12587
12588 wxPyEndAllowThreads(__tstate);
12589 if (PyErr_Occurred()) SWIG_fail;
12590 }
12591 Py_INCREF(Py_None); resultobj = Py_None;
12592 return resultobj;
12593 fail:
12594 return NULL;
12595 }
12596
12597
12598 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12599 PyObject *resultobj;
12600 wxFileType *arg1 = (wxFileType *) 0 ;
12601 PyObject *result;
12602 PyObject * obj0 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 result = (PyObject *)wxFileType_GetMimeType(arg1);
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 resultobj = result;
12618 return resultobj;
12619 fail:
12620 return NULL;
12621 }
12622
12623
12624 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj;
12626 wxFileType *arg1 = (wxFileType *) 0 ;
12627 PyObject *result;
12628 PyObject * obj0 = 0 ;
12629 char *kwnames[] = {
12630 (char *) "self", NULL
12631 };
12632
12633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 resultobj = result;
12644 return resultobj;
12645 fail:
12646 return NULL;
12647 }
12648
12649
12650 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxFileType *arg1 = (wxFileType *) 0 ;
12653 PyObject *result;
12654 PyObject * obj0 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "self", NULL
12657 };
12658
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 result = (PyObject *)wxFileType_GetExtensions(arg1);
12665
12666 wxPyEndAllowThreads(__tstate);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 resultobj = result;
12670 return resultobj;
12671 fail:
12672 return NULL;
12673 }
12674
12675
12676 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12677 PyObject *resultobj;
12678 wxFileType *arg1 = (wxFileType *) 0 ;
12679 wxIcon *result;
12680 PyObject * obj0 = 0 ;
12681 char *kwnames[] = {
12682 (char *) "self", NULL
12683 };
12684
12685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12688 {
12689 PyThreadState* __tstate = wxPyBeginAllowThreads();
12690 result = (wxIcon *)wxFileType_GetIcon(arg1);
12691
12692 wxPyEndAllowThreads(__tstate);
12693 if (PyErr_Occurred()) SWIG_fail;
12694 }
12695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12696 return resultobj;
12697 fail:
12698 return NULL;
12699 }
12700
12701
12702 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12703 PyObject *resultobj;
12704 wxFileType *arg1 = (wxFileType *) 0 ;
12705 PyObject *result;
12706 PyObject * obj0 = 0 ;
12707 char *kwnames[] = {
12708 (char *) "self", NULL
12709 };
12710
12711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12717
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 resultobj = result;
12722 return resultobj;
12723 fail:
12724 return NULL;
12725 }
12726
12727
12728 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12729 PyObject *resultobj;
12730 wxFileType *arg1 = (wxFileType *) 0 ;
12731 PyObject *result;
12732 PyObject * obj0 = 0 ;
12733 char *kwnames[] = {
12734 (char *) "self", NULL
12735 };
12736
12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 result = (PyObject *)wxFileType_GetDescription(arg1);
12743
12744 wxPyEndAllowThreads(__tstate);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 }
12747 resultobj = result;
12748 return resultobj;
12749 fail:
12750 return NULL;
12751 }
12752
12753
12754 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12755 PyObject *resultobj;
12756 wxFileType *arg1 = (wxFileType *) 0 ;
12757 wxString *arg2 = 0 ;
12758 wxString const &arg3_defvalue = wxPyEmptyString ;
12759 wxString *arg3 = (wxString *) &arg3_defvalue ;
12760 PyObject *result;
12761 bool temp2 = False ;
12762 bool temp3 = False ;
12763 PyObject * obj0 = 0 ;
12764 PyObject * obj1 = 0 ;
12765 PyObject * obj2 = 0 ;
12766 char *kwnames[] = {
12767 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12773 {
12774 arg2 = wxString_in_helper(obj1);
12775 if (arg2 == NULL) SWIG_fail;
12776 temp2 = True;
12777 }
12778 if (obj2) {
12779 {
12780 arg3 = wxString_in_helper(obj2);
12781 if (arg3 == NULL) SWIG_fail;
12782 temp3 = True;
12783 }
12784 }
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 resultobj = result;
12793 {
12794 if (temp2)
12795 delete arg2;
12796 }
12797 {
12798 if (temp3)
12799 delete arg3;
12800 }
12801 return resultobj;
12802 fail:
12803 {
12804 if (temp2)
12805 delete arg2;
12806 }
12807 {
12808 if (temp3)
12809 delete arg3;
12810 }
12811 return NULL;
12812 }
12813
12814
12815 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12816 PyObject *resultobj;
12817 wxFileType *arg1 = (wxFileType *) 0 ;
12818 wxString *arg2 = 0 ;
12819 wxString const &arg3_defvalue = wxPyEmptyString ;
12820 wxString *arg3 = (wxString *) &arg3_defvalue ;
12821 PyObject *result;
12822 bool temp2 = False ;
12823 bool temp3 = False ;
12824 PyObject * obj0 = 0 ;
12825 PyObject * obj1 = 0 ;
12826 PyObject * obj2 = 0 ;
12827 char *kwnames[] = {
12828 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12829 };
12830
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12834 {
12835 arg2 = wxString_in_helper(obj1);
12836 if (arg2 == NULL) SWIG_fail;
12837 temp2 = True;
12838 }
12839 if (obj2) {
12840 {
12841 arg3 = wxString_in_helper(obj2);
12842 if (arg3 == NULL) SWIG_fail;
12843 temp3 = True;
12844 }
12845 }
12846 {
12847 PyThreadState* __tstate = wxPyBeginAllowThreads();
12848 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12849
12850 wxPyEndAllowThreads(__tstate);
12851 if (PyErr_Occurred()) SWIG_fail;
12852 }
12853 resultobj = result;
12854 {
12855 if (temp2)
12856 delete arg2;
12857 }
12858 {
12859 if (temp3)
12860 delete arg3;
12861 }
12862 return resultobj;
12863 fail:
12864 {
12865 if (temp2)
12866 delete arg2;
12867 }
12868 {
12869 if (temp3)
12870 delete arg3;
12871 }
12872 return NULL;
12873 }
12874
12875
12876 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12877 PyObject *resultobj;
12878 wxFileType *arg1 = (wxFileType *) 0 ;
12879 wxString *arg2 = 0 ;
12880 wxString const &arg3_defvalue = wxPyEmptyString ;
12881 wxString *arg3 = (wxString *) &arg3_defvalue ;
12882 PyObject *result;
12883 bool temp2 = False ;
12884 bool temp3 = False ;
12885 PyObject * obj0 = 0 ;
12886 PyObject * obj1 = 0 ;
12887 PyObject * obj2 = 0 ;
12888 char *kwnames[] = {
12889 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12890 };
12891
12892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12895 {
12896 arg2 = wxString_in_helper(obj1);
12897 if (arg2 == NULL) SWIG_fail;
12898 temp2 = True;
12899 }
12900 if (obj2) {
12901 {
12902 arg3 = wxString_in_helper(obj2);
12903 if (arg3 == NULL) SWIG_fail;
12904 temp3 = True;
12905 }
12906 }
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12910
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 resultobj = result;
12915 {
12916 if (temp2)
12917 delete arg2;
12918 }
12919 {
12920 if (temp3)
12921 delete arg3;
12922 }
12923 return resultobj;
12924 fail:
12925 {
12926 if (temp2)
12927 delete arg2;
12928 }
12929 {
12930 if (temp3)
12931 delete arg3;
12932 }
12933 return NULL;
12934 }
12935
12936
12937 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12938 PyObject *resultobj;
12939 wxFileType *arg1 = (wxFileType *) 0 ;
12940 wxString *arg2 = 0 ;
12941 wxString *arg3 = 0 ;
12942 bool arg4 = (bool) True ;
12943 bool result;
12944 bool temp2 = False ;
12945 bool temp3 = False ;
12946 PyObject * obj0 = 0 ;
12947 PyObject * obj1 = 0 ;
12948 PyObject * obj2 = 0 ;
12949 PyObject * obj3 = 0 ;
12950 char *kwnames[] = {
12951 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12952 };
12953
12954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12957 {
12958 arg2 = wxString_in_helper(obj1);
12959 if (arg2 == NULL) SWIG_fail;
12960 temp2 = True;
12961 }
12962 {
12963 arg3 = wxString_in_helper(obj2);
12964 if (arg3 == NULL) SWIG_fail;
12965 temp3 = True;
12966 }
12967 if (obj3) {
12968 arg4 = (bool) SWIG_AsBool(obj3);
12969 if (PyErr_Occurred()) SWIG_fail;
12970 }
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12974
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 {
12979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12980 }
12981 {
12982 if (temp2)
12983 delete arg2;
12984 }
12985 {
12986 if (temp3)
12987 delete arg3;
12988 }
12989 return resultobj;
12990 fail:
12991 {
12992 if (temp2)
12993 delete arg2;
12994 }
12995 {
12996 if (temp3)
12997 delete arg3;
12998 }
12999 return NULL;
13000 }
13001
13002
13003 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13004 PyObject *resultobj;
13005 wxFileType *arg1 = (wxFileType *) 0 ;
13006 wxString const &arg2_defvalue = wxPyEmptyString ;
13007 wxString *arg2 = (wxString *) &arg2_defvalue ;
13008 int arg3 = (int) 0 ;
13009 bool result;
13010 bool temp2 = False ;
13011 PyObject * obj0 = 0 ;
13012 PyObject * obj1 = 0 ;
13013 PyObject * obj2 = 0 ;
13014 char *kwnames[] = {
13015 (char *) "self",(char *) "cmd",(char *) "index", NULL
13016 };
13017
13018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13021 if (obj1) {
13022 {
13023 arg2 = wxString_in_helper(obj1);
13024 if (arg2 == NULL) SWIG_fail;
13025 temp2 = True;
13026 }
13027 }
13028 if (obj2) {
13029 arg3 = (int) SWIG_AsInt(obj2);
13030 if (PyErr_Occurred()) SWIG_fail;
13031 }
13032 {
13033 PyThreadState* __tstate = wxPyBeginAllowThreads();
13034 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
13035
13036 wxPyEndAllowThreads(__tstate);
13037 if (PyErr_Occurred()) SWIG_fail;
13038 }
13039 {
13040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13041 }
13042 {
13043 if (temp2)
13044 delete arg2;
13045 }
13046 return resultobj;
13047 fail:
13048 {
13049 if (temp2)
13050 delete arg2;
13051 }
13052 return NULL;
13053 }
13054
13055
13056 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13057 PyObject *resultobj;
13058 wxFileType *arg1 = (wxFileType *) 0 ;
13059 bool result;
13060 PyObject * obj0 = 0 ;
13061 char *kwnames[] = {
13062 (char *) "self", NULL
13063 };
13064
13065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
13066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13068 {
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 result = (bool)(arg1)->Unassociate();
13071
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 {
13076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13077 }
13078 return resultobj;
13079 fail:
13080 return NULL;
13081 }
13082
13083
13084 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj;
13086 wxString *arg1 = 0 ;
13087 wxString *arg2 = 0 ;
13088 wxString const &arg3_defvalue = wxPyEmptyString ;
13089 wxString *arg3 = (wxString *) &arg3_defvalue ;
13090 wxString result;
13091 bool temp1 = False ;
13092 bool temp2 = False ;
13093 bool temp3 = False ;
13094 PyObject * obj0 = 0 ;
13095 PyObject * obj1 = 0 ;
13096 PyObject * obj2 = 0 ;
13097 char *kwnames[] = {
13098 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13099 };
13100
13101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13102 {
13103 arg1 = wxString_in_helper(obj0);
13104 if (arg1 == NULL) SWIG_fail;
13105 temp1 = True;
13106 }
13107 {
13108 arg2 = wxString_in_helper(obj1);
13109 if (arg2 == NULL) SWIG_fail;
13110 temp2 = True;
13111 }
13112 if (obj2) {
13113 {
13114 arg3 = wxString_in_helper(obj2);
13115 if (arg3 == NULL) SWIG_fail;
13116 temp3 = True;
13117 }
13118 }
13119 {
13120 PyThreadState* __tstate = wxPyBeginAllowThreads();
13121 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13122
13123 wxPyEndAllowThreads(__tstate);
13124 if (PyErr_Occurred()) SWIG_fail;
13125 }
13126 {
13127 #if wxUSE_UNICODE
13128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13129 #else
13130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13131 #endif
13132 }
13133 {
13134 if (temp1)
13135 delete arg1;
13136 }
13137 {
13138 if (temp2)
13139 delete arg2;
13140 }
13141 {
13142 if (temp3)
13143 delete arg3;
13144 }
13145 return resultobj;
13146 fail:
13147 {
13148 if (temp1)
13149 delete arg1;
13150 }
13151 {
13152 if (temp2)
13153 delete arg2;
13154 }
13155 {
13156 if (temp3)
13157 delete arg3;
13158 }
13159 return NULL;
13160 }
13161
13162
13163 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
13164 PyObject *obj;
13165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13166 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13167 Py_INCREF(obj);
13168 return Py_BuildValue((char *)"");
13169 }
13170 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
13171 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13172 return 1;
13173 }
13174
13175
13176 static PyObject *_wrap_TheMimeTypesManager_get() {
13177 PyObject *pyobj;
13178
13179 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13180 return pyobj;
13181 }
13182
13183
13184 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
13185 PyObject *resultobj;
13186 wxString *arg1 = 0 ;
13187 wxString *arg2 = 0 ;
13188 bool result;
13189 bool temp1 = False ;
13190 bool temp2 = False ;
13191 PyObject * obj0 = 0 ;
13192 PyObject * obj1 = 0 ;
13193 char *kwnames[] = {
13194 (char *) "mimeType",(char *) "wildcard", NULL
13195 };
13196
13197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13198 {
13199 arg1 = wxString_in_helper(obj0);
13200 if (arg1 == NULL) SWIG_fail;
13201 temp1 = True;
13202 }
13203 {
13204 arg2 = wxString_in_helper(obj1);
13205 if (arg2 == NULL) SWIG_fail;
13206 temp2 = True;
13207 }
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 {
13216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13217 }
13218 {
13219 if (temp1)
13220 delete arg1;
13221 }
13222 {
13223 if (temp2)
13224 delete arg2;
13225 }
13226 return resultobj;
13227 fail:
13228 {
13229 if (temp1)
13230 delete arg1;
13231 }
13232 {
13233 if (temp2)
13234 delete arg2;
13235 }
13236 return NULL;
13237 }
13238
13239
13240 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13241 PyObject *resultobj;
13242 wxMimeTypesManager *result;
13243 char *kwnames[] = {
13244 NULL
13245 };
13246
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13248 {
13249 PyThreadState* __tstate = wxPyBeginAllowThreads();
13250 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13251
13252 wxPyEndAllowThreads(__tstate);
13253 if (PyErr_Occurred()) SWIG_fail;
13254 }
13255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13256 return resultobj;
13257 fail:
13258 return NULL;
13259 }
13260
13261
13262 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13265 int arg2 = (int) wxMAILCAP_ALL ;
13266 wxString const &arg3_defvalue = wxPyEmptyString ;
13267 wxString *arg3 = (wxString *) &arg3_defvalue ;
13268 bool temp3 = False ;
13269 PyObject * obj0 = 0 ;
13270 PyObject * obj1 = 0 ;
13271 PyObject * obj2 = 0 ;
13272 char *kwnames[] = {
13273 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13274 };
13275
13276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13279 if (obj1) {
13280 arg2 = (int) SWIG_AsInt(obj1);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 }
13283 if (obj2) {
13284 {
13285 arg3 = wxString_in_helper(obj2);
13286 if (arg3 == NULL) SWIG_fail;
13287 temp3 = True;
13288 }
13289 }
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 Py_INCREF(Py_None); resultobj = Py_None;
13298 {
13299 if (temp3)
13300 delete arg3;
13301 }
13302 return resultobj;
13303 fail:
13304 {
13305 if (temp3)
13306 delete arg3;
13307 }
13308 return NULL;
13309 }
13310
13311
13312 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
13313 PyObject *resultobj;
13314 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13315 PyObject * obj0 = 0 ;
13316 char *kwnames[] = {
13317 (char *) "self", NULL
13318 };
13319
13320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13323 {
13324 PyThreadState* __tstate = wxPyBeginAllowThreads();
13325 (arg1)->ClearData();
13326
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 Py_INCREF(Py_None); resultobj = Py_None;
13331 return resultobj;
13332 fail:
13333 return NULL;
13334 }
13335
13336
13337 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
13338 PyObject *resultobj;
13339 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13340 wxString *arg2 = 0 ;
13341 wxFileType *result;
13342 bool temp2 = False ;
13343 PyObject * obj0 = 0 ;
13344 PyObject * obj1 = 0 ;
13345 char *kwnames[] = {
13346 (char *) "self",(char *) "ext", NULL
13347 };
13348
13349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13352 {
13353 arg2 = wxString_in_helper(obj1);
13354 if (arg2 == NULL) SWIG_fail;
13355 temp2 = True;
13356 }
13357 {
13358 PyThreadState* __tstate = wxPyBeginAllowThreads();
13359 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13360
13361 wxPyEndAllowThreads(__tstate);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13365 {
13366 if (temp2)
13367 delete arg2;
13368 }
13369 return resultobj;
13370 fail:
13371 {
13372 if (temp2)
13373 delete arg2;
13374 }
13375 return NULL;
13376 }
13377
13378
13379 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
13380 PyObject *resultobj;
13381 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13382 wxString *arg2 = 0 ;
13383 wxFileType *result;
13384 bool temp2 = False ;
13385 PyObject * obj0 = 0 ;
13386 PyObject * obj1 = 0 ;
13387 char *kwnames[] = {
13388 (char *) "self",(char *) "mimeType", NULL
13389 };
13390
13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13394 {
13395 arg2 = wxString_in_helper(obj1);
13396 if (arg2 == NULL) SWIG_fail;
13397 temp2 = True;
13398 }
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13402
13403 wxPyEndAllowThreads(__tstate);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13407 {
13408 if (temp2)
13409 delete arg2;
13410 }
13411 return resultobj;
13412 fail:
13413 {
13414 if (temp2)
13415 delete arg2;
13416 }
13417 return NULL;
13418 }
13419
13420
13421 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13422 PyObject *resultobj;
13423 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13424 wxString *arg2 = 0 ;
13425 bool arg3 = (bool) False ;
13426 bool result;
13427 bool temp2 = False ;
13428 PyObject * obj0 = 0 ;
13429 PyObject * obj1 = 0 ;
13430 PyObject * obj2 = 0 ;
13431 char *kwnames[] = {
13432 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13433 };
13434
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13438 {
13439 arg2 = wxString_in_helper(obj1);
13440 if (arg2 == NULL) SWIG_fail;
13441 temp2 = True;
13442 }
13443 if (obj2) {
13444 arg3 = (bool) SWIG_AsBool(obj2);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 {
13448 PyThreadState* __tstate = wxPyBeginAllowThreads();
13449 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13450
13451 wxPyEndAllowThreads(__tstate);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 }
13454 {
13455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13456 }
13457 {
13458 if (temp2)
13459 delete arg2;
13460 }
13461 return resultobj;
13462 fail:
13463 {
13464 if (temp2)
13465 delete arg2;
13466 }
13467 return NULL;
13468 }
13469
13470
13471 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13472 PyObject *resultobj;
13473 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13474 wxString *arg2 = 0 ;
13475 bool result;
13476 bool temp2 = False ;
13477 PyObject * obj0 = 0 ;
13478 PyObject * obj1 = 0 ;
13479 char *kwnames[] = {
13480 (char *) "self",(char *) "filename", NULL
13481 };
13482
13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13486 {
13487 arg2 = wxString_in_helper(obj1);
13488 if (arg2 == NULL) SWIG_fail;
13489 temp2 = True;
13490 }
13491 {
13492 PyThreadState* __tstate = wxPyBeginAllowThreads();
13493 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13494
13495 wxPyEndAllowThreads(__tstate);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
13498 {
13499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13500 }
13501 {
13502 if (temp2)
13503 delete arg2;
13504 }
13505 return resultobj;
13506 fail:
13507 {
13508 if (temp2)
13509 delete arg2;
13510 }
13511 return NULL;
13512 }
13513
13514
13515 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13516 PyObject *resultobj;
13517 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13518 PyObject *result;
13519 PyObject * obj0 = 0 ;
13520 char *kwnames[] = {
13521 (char *) "self", NULL
13522 };
13523
13524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 resultobj = result;
13535 return resultobj;
13536 fail:
13537 return NULL;
13538 }
13539
13540
13541 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13542 PyObject *resultobj;
13543 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13544 wxFileTypeInfo *arg2 = 0 ;
13545 PyObject * obj0 = 0 ;
13546 PyObject * obj1 = 0 ;
13547 char *kwnames[] = {
13548 (char *) "self",(char *) "ft", NULL
13549 };
13550
13551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13555 SWIG_POINTER_EXCEPTION | 0)) == -1)
13556 SWIG_fail;
13557 if (arg2 == NULL) {
13558 PyErr_SetString(PyExc_TypeError,"null reference");
13559 SWIG_fail;
13560 }
13561 {
13562 PyThreadState* __tstate = wxPyBeginAllowThreads();
13563 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13564
13565 wxPyEndAllowThreads(__tstate);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 Py_INCREF(Py_None); resultobj = Py_None;
13569 return resultobj;
13570 fail:
13571 return NULL;
13572 }
13573
13574
13575 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13576 PyObject *resultobj;
13577 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13578 wxFileTypeInfo *arg2 = 0 ;
13579 wxFileType *result;
13580 PyObject * obj0 = 0 ;
13581 PyObject * obj1 = 0 ;
13582 char *kwnames[] = {
13583 (char *) "self",(char *) "ftInfo", NULL
13584 };
13585
13586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13590 SWIG_POINTER_EXCEPTION | 0)) == -1)
13591 SWIG_fail;
13592 if (arg2 == NULL) {
13593 PyErr_SetString(PyExc_TypeError,"null reference");
13594 SWIG_fail;
13595 }
13596 {
13597 PyThreadState* __tstate = wxPyBeginAllowThreads();
13598 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13599
13600 wxPyEndAllowThreads(__tstate);
13601 if (PyErr_Occurred()) SWIG_fail;
13602 }
13603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13604 return resultobj;
13605 fail:
13606 return NULL;
13607 }
13608
13609
13610 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13611 PyObject *resultobj;
13612 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13613 wxFileType *arg2 = (wxFileType *) 0 ;
13614 bool result;
13615 PyObject * obj0 = 0 ;
13616 PyObject * obj1 = 0 ;
13617 char *kwnames[] = {
13618 (char *) "self",(char *) "ft", NULL
13619 };
13620
13621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13626 {
13627 PyThreadState* __tstate = wxPyBeginAllowThreads();
13628 result = (bool)(arg1)->Unassociate(arg2);
13629
13630 wxPyEndAllowThreads(__tstate);
13631 if (PyErr_Occurred()) SWIG_fail;
13632 }
13633 {
13634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13635 }
13636 return resultobj;
13637 fail:
13638 return NULL;
13639 }
13640
13641
13642 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13643 PyObject *resultobj;
13644 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13645 PyObject * obj0 = 0 ;
13646 char *kwnames[] = {
13647 (char *) "self", NULL
13648 };
13649
13650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 delete arg1;
13656
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 Py_INCREF(Py_None); resultobj = Py_None;
13661 return resultobj;
13662 fail:
13663 return NULL;
13664 }
13665
13666
13667 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13668 PyObject *obj;
13669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13670 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13671 Py_INCREF(obj);
13672 return Py_BuildValue((char *)"");
13673 }
13674 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
13675 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13676 return 1;
13677 }
13678
13679
13680 static PyObject *_wrap_ART_TOOLBAR_get() {
13681 PyObject *pyobj;
13682
13683 {
13684 #if wxUSE_UNICODE
13685 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13686 #else
13687 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13688 #endif
13689 }
13690 return pyobj;
13691 }
13692
13693
13694 static int _wrap_ART_MENU_set(PyObject *_val) {
13695 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13696 return 1;
13697 }
13698
13699
13700 static PyObject *_wrap_ART_MENU_get() {
13701 PyObject *pyobj;
13702
13703 {
13704 #if wxUSE_UNICODE
13705 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13706 #else
13707 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13708 #endif
13709 }
13710 return pyobj;
13711 }
13712
13713
13714 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13715 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13716 return 1;
13717 }
13718
13719
13720 static PyObject *_wrap_ART_FRAME_ICON_get() {
13721 PyObject *pyobj;
13722
13723 {
13724 #if wxUSE_UNICODE
13725 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13726 #else
13727 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13728 #endif
13729 }
13730 return pyobj;
13731 }
13732
13733
13734 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13735 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13736 return 1;
13737 }
13738
13739
13740 static PyObject *_wrap_ART_CMN_DIALOG_get() {
13741 PyObject *pyobj;
13742
13743 {
13744 #if wxUSE_UNICODE
13745 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13746 #else
13747 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13748 #endif
13749 }
13750 return pyobj;
13751 }
13752
13753
13754 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13755 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13756 return 1;
13757 }
13758
13759
13760 static PyObject *_wrap_ART_HELP_BROWSER_get() {
13761 PyObject *pyobj;
13762
13763 {
13764 #if wxUSE_UNICODE
13765 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13766 #else
13767 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13768 #endif
13769 }
13770 return pyobj;
13771 }
13772
13773
13774 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13775 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13776 return 1;
13777 }
13778
13779
13780 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13781 PyObject *pyobj;
13782
13783 {
13784 #if wxUSE_UNICODE
13785 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13786 #else
13787 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13788 #endif
13789 }
13790 return pyobj;
13791 }
13792
13793
13794 static int _wrap_ART_OTHER_set(PyObject *_val) {
13795 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13796 return 1;
13797 }
13798
13799
13800 static PyObject *_wrap_ART_OTHER_get() {
13801 PyObject *pyobj;
13802
13803 {
13804 #if wxUSE_UNICODE
13805 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13806 #else
13807 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13808 #endif
13809 }
13810 return pyobj;
13811 }
13812
13813
13814 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13815 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13816 return 1;
13817 }
13818
13819
13820 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13821 PyObject *pyobj;
13822
13823 {
13824 #if wxUSE_UNICODE
13825 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13826 #else
13827 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13828 #endif
13829 }
13830 return pyobj;
13831 }
13832
13833
13834 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13835 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13836 return 1;
13837 }
13838
13839
13840 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13841 PyObject *pyobj;
13842
13843 {
13844 #if wxUSE_UNICODE
13845 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13846 #else
13847 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13848 #endif
13849 }
13850 return pyobj;
13851 }
13852
13853
13854 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13855 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13856 return 1;
13857 }
13858
13859
13860 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13861 PyObject *pyobj;
13862
13863 {
13864 #if wxUSE_UNICODE
13865 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13866 #else
13867 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13868 #endif
13869 }
13870 return pyobj;
13871 }
13872
13873
13874 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13875 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13876 return 1;
13877 }
13878
13879
13880 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13881 PyObject *pyobj;
13882
13883 {
13884 #if wxUSE_UNICODE
13885 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13886 #else
13887 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13888 #endif
13889 }
13890 return pyobj;
13891 }
13892
13893
13894 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13895 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13896 return 1;
13897 }
13898
13899
13900 static PyObject *_wrap_ART_HELP_BOOK_get() {
13901 PyObject *pyobj;
13902
13903 {
13904 #if wxUSE_UNICODE
13905 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13906 #else
13907 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13908 #endif
13909 }
13910 return pyobj;
13911 }
13912
13913
13914 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13915 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13916 return 1;
13917 }
13918
13919
13920 static PyObject *_wrap_ART_HELP_FOLDER_get() {
13921 PyObject *pyobj;
13922
13923 {
13924 #if wxUSE_UNICODE
13925 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13926 #else
13927 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13928 #endif
13929 }
13930 return pyobj;
13931 }
13932
13933
13934 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13935 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13936 return 1;
13937 }
13938
13939
13940 static PyObject *_wrap_ART_HELP_PAGE_get() {
13941 PyObject *pyobj;
13942
13943 {
13944 #if wxUSE_UNICODE
13945 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13946 #else
13947 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13948 #endif
13949 }
13950 return pyobj;
13951 }
13952
13953
13954 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13955 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13956 return 1;
13957 }
13958
13959
13960 static PyObject *_wrap_ART_GO_BACK_get() {
13961 PyObject *pyobj;
13962
13963 {
13964 #if wxUSE_UNICODE
13965 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13966 #else
13967 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13968 #endif
13969 }
13970 return pyobj;
13971 }
13972
13973
13974 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13975 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13976 return 1;
13977 }
13978
13979
13980 static PyObject *_wrap_ART_GO_FORWARD_get() {
13981 PyObject *pyobj;
13982
13983 {
13984 #if wxUSE_UNICODE
13985 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13986 #else
13987 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13988 #endif
13989 }
13990 return pyobj;
13991 }
13992
13993
13994 static int _wrap_ART_GO_UP_set(PyObject *_val) {
13995 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13996 return 1;
13997 }
13998
13999
14000 static PyObject *_wrap_ART_GO_UP_get() {
14001 PyObject *pyobj;
14002
14003 {
14004 #if wxUSE_UNICODE
14005 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14006 #else
14007 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14008 #endif
14009 }
14010 return pyobj;
14011 }
14012
14013
14014 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
14015 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
14016 return 1;
14017 }
14018
14019
14020 static PyObject *_wrap_ART_GO_DOWN_get() {
14021 PyObject *pyobj;
14022
14023 {
14024 #if wxUSE_UNICODE
14025 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14026 #else
14027 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14028 #endif
14029 }
14030 return pyobj;
14031 }
14032
14033
14034 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
14035 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
14036 return 1;
14037 }
14038
14039
14040 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
14041 PyObject *pyobj;
14042
14043 {
14044 #if wxUSE_UNICODE
14045 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14046 #else
14047 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14048 #endif
14049 }
14050 return pyobj;
14051 }
14052
14053
14054 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
14055 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
14056 return 1;
14057 }
14058
14059
14060 static PyObject *_wrap_ART_GO_HOME_get() {
14061 PyObject *pyobj;
14062
14063 {
14064 #if wxUSE_UNICODE
14065 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14066 #else
14067 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14068 #endif
14069 }
14070 return pyobj;
14071 }
14072
14073
14074 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
14075 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
14076 return 1;
14077 }
14078
14079
14080 static PyObject *_wrap_ART_FILE_OPEN_get() {
14081 PyObject *pyobj;
14082
14083 {
14084 #if wxUSE_UNICODE
14085 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14086 #else
14087 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14088 #endif
14089 }
14090 return pyobj;
14091 }
14092
14093
14094 static int _wrap_ART_PRINT_set(PyObject *_val) {
14095 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
14096 return 1;
14097 }
14098
14099
14100 static PyObject *_wrap_ART_PRINT_get() {
14101 PyObject *pyobj;
14102
14103 {
14104 #if wxUSE_UNICODE
14105 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14106 #else
14107 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14108 #endif
14109 }
14110 return pyobj;
14111 }
14112
14113
14114 static int _wrap_ART_HELP_set(PyObject *_val) {
14115 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
14116 return 1;
14117 }
14118
14119
14120 static PyObject *_wrap_ART_HELP_get() {
14121 PyObject *pyobj;
14122
14123 {
14124 #if wxUSE_UNICODE
14125 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14126 #else
14127 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14128 #endif
14129 }
14130 return pyobj;
14131 }
14132
14133
14134 static int _wrap_ART_TIP_set(PyObject *_val) {
14135 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
14136 return 1;
14137 }
14138
14139
14140 static PyObject *_wrap_ART_TIP_get() {
14141 PyObject *pyobj;
14142
14143 {
14144 #if wxUSE_UNICODE
14145 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14146 #else
14147 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14148 #endif
14149 }
14150 return pyobj;
14151 }
14152
14153
14154 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
14155 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14156 return 1;
14157 }
14158
14159
14160 static PyObject *_wrap_ART_REPORT_VIEW_get() {
14161 PyObject *pyobj;
14162
14163 {
14164 #if wxUSE_UNICODE
14165 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14166 #else
14167 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14168 #endif
14169 }
14170 return pyobj;
14171 }
14172
14173
14174 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
14175 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14176 return 1;
14177 }
14178
14179
14180 static PyObject *_wrap_ART_LIST_VIEW_get() {
14181 PyObject *pyobj;
14182
14183 {
14184 #if wxUSE_UNICODE
14185 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14186 #else
14187 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14188 #endif
14189 }
14190 return pyobj;
14191 }
14192
14193
14194 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
14195 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14196 return 1;
14197 }
14198
14199
14200 static PyObject *_wrap_ART_NEW_DIR_get() {
14201 PyObject *pyobj;
14202
14203 {
14204 #if wxUSE_UNICODE
14205 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14206 #else
14207 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14208 #endif
14209 }
14210 return pyobj;
14211 }
14212
14213
14214 static int _wrap_ART_FOLDER_set(PyObject *_val) {
14215 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14216 return 1;
14217 }
14218
14219
14220 static PyObject *_wrap_ART_FOLDER_get() {
14221 PyObject *pyobj;
14222
14223 {
14224 #if wxUSE_UNICODE
14225 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14226 #else
14227 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14228 #endif
14229 }
14230 return pyobj;
14231 }
14232
14233
14234 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
14235 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14236 return 1;
14237 }
14238
14239
14240 static PyObject *_wrap_ART_GO_DIR_UP_get() {
14241 PyObject *pyobj;
14242
14243 {
14244 #if wxUSE_UNICODE
14245 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14246 #else
14247 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14248 #endif
14249 }
14250 return pyobj;
14251 }
14252
14253
14254 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
14255 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14256 return 1;
14257 }
14258
14259
14260 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14261 PyObject *pyobj;
14262
14263 {
14264 #if wxUSE_UNICODE
14265 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14266 #else
14267 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14268 #endif
14269 }
14270 return pyobj;
14271 }
14272
14273
14274 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
14275 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14276 return 1;
14277 }
14278
14279
14280 static PyObject *_wrap_ART_NORMAL_FILE_get() {
14281 PyObject *pyobj;
14282
14283 {
14284 #if wxUSE_UNICODE
14285 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14286 #else
14287 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14288 #endif
14289 }
14290 return pyobj;
14291 }
14292
14293
14294 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
14295 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14296 return 1;
14297 }
14298
14299
14300 static PyObject *_wrap_ART_TICK_MARK_get() {
14301 PyObject *pyobj;
14302
14303 {
14304 #if wxUSE_UNICODE
14305 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14306 #else
14307 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14308 #endif
14309 }
14310 return pyobj;
14311 }
14312
14313
14314 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
14315 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14316 return 1;
14317 }
14318
14319
14320 static PyObject *_wrap_ART_CROSS_MARK_get() {
14321 PyObject *pyobj;
14322
14323 {
14324 #if wxUSE_UNICODE
14325 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14326 #else
14327 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14328 #endif
14329 }
14330 return pyobj;
14331 }
14332
14333
14334 static int _wrap_ART_ERROR_set(PyObject *_val) {
14335 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14336 return 1;
14337 }
14338
14339
14340 static PyObject *_wrap_ART_ERROR_get() {
14341 PyObject *pyobj;
14342
14343 {
14344 #if wxUSE_UNICODE
14345 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14346 #else
14347 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14348 #endif
14349 }
14350 return pyobj;
14351 }
14352
14353
14354 static int _wrap_ART_QUESTION_set(PyObject *_val) {
14355 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14356 return 1;
14357 }
14358
14359
14360 static PyObject *_wrap_ART_QUESTION_get() {
14361 PyObject *pyobj;
14362
14363 {
14364 #if wxUSE_UNICODE
14365 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14366 #else
14367 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14368 #endif
14369 }
14370 return pyobj;
14371 }
14372
14373
14374 static int _wrap_ART_WARNING_set(PyObject *_val) {
14375 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14376 return 1;
14377 }
14378
14379
14380 static PyObject *_wrap_ART_WARNING_get() {
14381 PyObject *pyobj;
14382
14383 {
14384 #if wxUSE_UNICODE
14385 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14386 #else
14387 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14388 #endif
14389 }
14390 return pyobj;
14391 }
14392
14393
14394 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
14395 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14396 return 1;
14397 }
14398
14399
14400 static PyObject *_wrap_ART_INFORMATION_get() {
14401 PyObject *pyobj;
14402
14403 {
14404 #if wxUSE_UNICODE
14405 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14406 #else
14407 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14408 #endif
14409 }
14410 return pyobj;
14411 }
14412
14413
14414 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
14415 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14416 return 1;
14417 }
14418
14419
14420 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14421 PyObject *pyobj;
14422
14423 {
14424 #if wxUSE_UNICODE
14425 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14426 #else
14427 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14428 #endif
14429 }
14430 return pyobj;
14431 }
14432
14433
14434 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14435 PyObject *resultobj;
14436 wxPyArtProvider *result;
14437 char *kwnames[] = {
14438 NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14442 {
14443 if (!wxPyCheckForApp()) SWIG_fail;
14444 PyThreadState* __tstate = wxPyBeginAllowThreads();
14445 result = (wxPyArtProvider *)new wxPyArtProvider();
14446
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
14450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14451 return resultobj;
14452 fail:
14453 return NULL;
14454 }
14455
14456
14457 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj;
14459 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14460 PyObject *arg2 = (PyObject *) 0 ;
14461 PyObject *arg3 = (PyObject *) 0 ;
14462 PyObject * obj0 = 0 ;
14463 PyObject * obj1 = 0 ;
14464 PyObject * obj2 = 0 ;
14465 char *kwnames[] = {
14466 (char *) "self",(char *) "self",(char *) "_class", NULL
14467 };
14468
14469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14472 arg2 = obj1;
14473 arg3 = obj2;
14474 {
14475 PyThreadState* __tstate = wxPyBeginAllowThreads();
14476 (arg1)->_setCallbackInfo(arg2,arg3);
14477
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
14481 Py_INCREF(Py_None); resultobj = Py_None;
14482 return resultobj;
14483 fail:
14484 return NULL;
14485 }
14486
14487
14488 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14489 PyObject *resultobj;
14490 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14491 PyObject * obj0 = 0 ;
14492 char *kwnames[] = {
14493 (char *) "provider", NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14499 {
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 wxPyArtProvider::PushProvider(arg1);
14502
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 Py_INCREF(Py_None); resultobj = Py_None;
14507 return resultobj;
14508 fail:
14509 return NULL;
14510 }
14511
14512
14513 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14514 PyObject *resultobj;
14515 bool result;
14516 char *kwnames[] = {
14517 NULL
14518 };
14519
14520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (bool)wxPyArtProvider::PopProvider();
14524
14525 wxPyEndAllowThreads(__tstate);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 }
14528 {
14529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14530 }
14531 return resultobj;
14532 fail:
14533 return NULL;
14534 }
14535
14536
14537 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14538 PyObject *resultobj;
14539 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14540 bool result;
14541 PyObject * obj0 = 0 ;
14542 char *kwnames[] = {
14543 (char *) "provider", NULL
14544 };
14545
14546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14549 {
14550 PyThreadState* __tstate = wxPyBeginAllowThreads();
14551 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14552
14553 wxPyEndAllowThreads(__tstate);
14554 if (PyErr_Occurred()) SWIG_fail;
14555 }
14556 {
14557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14558 }
14559 return resultobj;
14560 fail:
14561 return NULL;
14562 }
14563
14564
14565 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14566 PyObject *resultobj;
14567 wxString *arg1 = 0 ;
14568 wxString const &arg2_defvalue = wxPyART_OTHER ;
14569 wxString *arg2 = (wxString *) &arg2_defvalue ;
14570 wxSize const &arg3_defvalue = wxDefaultSize ;
14571 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14572 wxBitmap result;
14573 bool temp1 = False ;
14574 bool temp2 = False ;
14575 wxSize temp3 ;
14576 PyObject * obj0 = 0 ;
14577 PyObject * obj1 = 0 ;
14578 PyObject * obj2 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "id",(char *) "client",(char *) "size", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14584 {
14585 arg1 = wxString_in_helper(obj0);
14586 if (arg1 == NULL) SWIG_fail;
14587 temp1 = True;
14588 }
14589 if (obj1) {
14590 {
14591 arg2 = wxString_in_helper(obj1);
14592 if (arg2 == NULL) SWIG_fail;
14593 temp2 = True;
14594 }
14595 }
14596 if (obj2) {
14597 {
14598 arg3 = &temp3;
14599 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14600 }
14601 }
14602 {
14603 if (!wxPyCheckForApp()) SWIG_fail;
14604 PyThreadState* __tstate = wxPyBeginAllowThreads();
14605 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14606
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 {
14611 wxBitmap * resultptr;
14612 resultptr = new wxBitmap((wxBitmap &) result);
14613 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14614 }
14615 {
14616 if (temp1)
14617 delete arg1;
14618 }
14619 {
14620 if (temp2)
14621 delete arg2;
14622 }
14623 return resultobj;
14624 fail:
14625 {
14626 if (temp1)
14627 delete arg1;
14628 }
14629 {
14630 if (temp2)
14631 delete arg2;
14632 }
14633 return NULL;
14634 }
14635
14636
14637 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxString *arg1 = 0 ;
14640 wxString const &arg2_defvalue = wxPyART_OTHER ;
14641 wxString *arg2 = (wxString *) &arg2_defvalue ;
14642 wxSize const &arg3_defvalue = wxDefaultSize ;
14643 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14644 wxIcon result;
14645 bool temp1 = False ;
14646 bool temp2 = False ;
14647 wxSize temp3 ;
14648 PyObject * obj0 = 0 ;
14649 PyObject * obj1 = 0 ;
14650 PyObject * obj2 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "id",(char *) "client",(char *) "size", NULL
14653 };
14654
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14656 {
14657 arg1 = wxString_in_helper(obj0);
14658 if (arg1 == NULL) SWIG_fail;
14659 temp1 = True;
14660 }
14661 if (obj1) {
14662 {
14663 arg2 = wxString_in_helper(obj1);
14664 if (arg2 == NULL) SWIG_fail;
14665 temp2 = True;
14666 }
14667 }
14668 if (obj2) {
14669 {
14670 arg3 = &temp3;
14671 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14672 }
14673 }
14674 {
14675 if (!wxPyCheckForApp()) SWIG_fail;
14676 PyThreadState* __tstate = wxPyBeginAllowThreads();
14677 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14678
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
14682 {
14683 wxIcon * resultptr;
14684 resultptr = new wxIcon((wxIcon &) result);
14685 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14686 }
14687 {
14688 if (temp1)
14689 delete arg1;
14690 }
14691 {
14692 if (temp2)
14693 delete arg2;
14694 }
14695 return resultobj;
14696 fail:
14697 {
14698 if (temp1)
14699 delete arg1;
14700 }
14701 {
14702 if (temp2)
14703 delete arg2;
14704 }
14705 return NULL;
14706 }
14707
14708
14709 static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14710 PyObject *resultobj;
14711 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14712 PyObject * obj0 = 0 ;
14713 char *kwnames[] = {
14714 (char *) "self", NULL
14715 };
14716
14717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14720 {
14721 PyThreadState* __tstate = wxPyBeginAllowThreads();
14722 wxPyArtProvider_Destroy(arg1);
14723
14724 wxPyEndAllowThreads(__tstate);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 Py_INCREF(Py_None); resultobj = Py_None;
14728 return resultobj;
14729 fail:
14730 return NULL;
14731 }
14732
14733
14734 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14735 PyObject *obj;
14736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14737 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14738 Py_INCREF(obj);
14739 return Py_BuildValue((char *)"");
14740 }
14741 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14742 PyObject *resultobj;
14743 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14744 PyObject * obj0 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 delete arg1;
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 Py_INCREF(Py_None); resultobj = Py_None;
14760 return resultobj;
14761 fail:
14762 return NULL;
14763 }
14764
14765
14766 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14767 PyObject *resultobj;
14768 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14769 wxConfigBase *result;
14770 PyObject * obj0 = 0 ;
14771 char *kwnames[] = {
14772 (char *) "config", NULL
14773 };
14774
14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14786 return resultobj;
14787 fail:
14788 return NULL;
14789 }
14790
14791
14792 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 bool arg1 = (bool) True ;
14795 wxConfigBase *result;
14796 PyObject * obj0 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "createOnDemand", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14802 if (obj0) {
14803 arg1 = (bool) SWIG_AsBool(obj0);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 {
14807 PyThreadState* __tstate = wxPyBeginAllowThreads();
14808 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14809
14810 wxPyEndAllowThreads(__tstate);
14811 if (PyErr_Occurred()) SWIG_fail;
14812 }
14813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14814 return resultobj;
14815 fail:
14816 return NULL;
14817 }
14818
14819
14820 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14821 PyObject *resultobj;
14822 wxConfigBase *result;
14823 char *kwnames[] = {
14824 NULL
14825 };
14826
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (wxConfigBase *)wxConfigBase::Create();
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj;
14844 char *kwnames[] = {
14845 NULL
14846 };
14847
14848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14849 {
14850 PyThreadState* __tstate = wxPyBeginAllowThreads();
14851 wxConfigBase::DontCreateOnDemand();
14852
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 Py_INCREF(Py_None); resultobj = Py_None;
14857 return resultobj;
14858 fail:
14859 return NULL;
14860 }
14861
14862
14863 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14864 PyObject *resultobj;
14865 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14866 wxString *arg2 = 0 ;
14867 bool temp2 = False ;
14868 PyObject * obj0 = 0 ;
14869 PyObject * obj1 = 0 ;
14870 char *kwnames[] = {
14871 (char *) "self",(char *) "path", NULL
14872 };
14873
14874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14877 {
14878 arg2 = wxString_in_helper(obj1);
14879 if (arg2 == NULL) SWIG_fail;
14880 temp2 = True;
14881 }
14882 {
14883 PyThreadState* __tstate = wxPyBeginAllowThreads();
14884 (arg1)->SetPath((wxString const &)*arg2);
14885
14886 wxPyEndAllowThreads(__tstate);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 Py_INCREF(Py_None); resultobj = Py_None;
14890 {
14891 if (temp2)
14892 delete arg2;
14893 }
14894 return resultobj;
14895 fail:
14896 {
14897 if (temp2)
14898 delete arg2;
14899 }
14900 return NULL;
14901 }
14902
14903
14904 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14905 PyObject *resultobj;
14906 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14907 wxString *result;
14908 PyObject * obj0 = 0 ;
14909 char *kwnames[] = {
14910 (char *) "self", NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 {
14919 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14920 result = (wxString *) &_result_ref;
14921 }
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 {
14927 #if wxUSE_UNICODE
14928 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14929 #else
14930 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14931 #endif
14932 }
14933 return resultobj;
14934 fail:
14935 return NULL;
14936 }
14937
14938
14939 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14940 PyObject *resultobj;
14941 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14942 PyObject *result;
14943 PyObject * obj0 = 0 ;
14944 char *kwnames[] = {
14945 (char *) "self", NULL
14946 };
14947
14948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14951 {
14952 PyThreadState* __tstate = wxPyBeginAllowThreads();
14953 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14954
14955 wxPyEndAllowThreads(__tstate);
14956 if (PyErr_Occurred()) SWIG_fail;
14957 }
14958 resultobj = result;
14959 return resultobj;
14960 fail:
14961 return NULL;
14962 }
14963
14964
14965 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14966 PyObject *resultobj;
14967 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14968 long arg2 ;
14969 PyObject *result;
14970 PyObject * obj0 = 0 ;
14971 PyObject * obj1 = 0 ;
14972 char *kwnames[] = {
14973 (char *) "self",(char *) "index", NULL
14974 };
14975
14976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14979 arg2 = (long) SWIG_AsLong(obj1);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 {
14982 PyThreadState* __tstate = wxPyBeginAllowThreads();
14983 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14984
14985 wxPyEndAllowThreads(__tstate);
14986 if (PyErr_Occurred()) SWIG_fail;
14987 }
14988 resultobj = result;
14989 return resultobj;
14990 fail:
14991 return NULL;
14992 }
14993
14994
14995 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14996 PyObject *resultobj;
14997 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14998 PyObject *result;
14999 PyObject * obj0 = 0 ;
15000 char *kwnames[] = {
15001 (char *) "self", NULL
15002 };
15003
15004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
15005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
15010
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 resultobj = result;
15015 return resultobj;
15016 fail:
15017 return NULL;
15018 }
15019
15020
15021 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15022 PyObject *resultobj;
15023 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15024 long arg2 ;
15025 PyObject *result;
15026 PyObject * obj0 = 0 ;
15027 PyObject * obj1 = 0 ;
15028 char *kwnames[] = {
15029 (char *) "self",(char *) "index", NULL
15030 };
15031
15032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
15033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15035 arg2 = (long) SWIG_AsLong(obj1);
15036 if (PyErr_Occurred()) SWIG_fail;
15037 {
15038 PyThreadState* __tstate = wxPyBeginAllowThreads();
15039 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
15040
15041 wxPyEndAllowThreads(__tstate);
15042 if (PyErr_Occurred()) SWIG_fail;
15043 }
15044 resultobj = result;
15045 return resultobj;
15046 fail:
15047 return NULL;
15048 }
15049
15050
15051 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
15052 PyObject *resultobj;
15053 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15054 bool arg2 = (bool) False ;
15055 size_t result;
15056 PyObject * obj0 = 0 ;
15057 PyObject * obj1 = 0 ;
15058 char *kwnames[] = {
15059 (char *) "self",(char *) "recursive", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
15063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15065 if (obj1) {
15066 arg2 = (bool) SWIG_AsBool(obj1);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 {
15070 PyThreadState* __tstate = wxPyBeginAllowThreads();
15071 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
15072
15073 wxPyEndAllowThreads(__tstate);
15074 if (PyErr_Occurred()) SWIG_fail;
15075 }
15076 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
15077 return resultobj;
15078 fail:
15079 return NULL;
15080 }
15081
15082
15083 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
15084 PyObject *resultobj;
15085 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15086 bool arg2 = (bool) False ;
15087 size_t result;
15088 PyObject * obj0 = 0 ;
15089 PyObject * obj1 = 0 ;
15090 char *kwnames[] = {
15091 (char *) "self",(char *) "recursive", NULL
15092 };
15093
15094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
15095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15097 if (obj1) {
15098 arg2 = (bool) SWIG_AsBool(obj1);
15099 if (PyErr_Occurred()) SWIG_fail;
15100 }
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15116 PyObject *resultobj;
15117 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15118 wxString *arg2 = 0 ;
15119 bool result;
15120 bool temp2 = False ;
15121 PyObject * obj0 = 0 ;
15122 PyObject * obj1 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self",(char *) "name", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
15128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15130 {
15131 arg2 = wxString_in_helper(obj1);
15132 if (arg2 == NULL) SWIG_fail;
15133 temp2 = True;
15134 }
15135 {
15136 PyThreadState* __tstate = wxPyBeginAllowThreads();
15137 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
15138
15139 wxPyEndAllowThreads(__tstate);
15140 if (PyErr_Occurred()) SWIG_fail;
15141 }
15142 {
15143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15144 }
15145 {
15146 if (temp2)
15147 delete arg2;
15148 }
15149 return resultobj;
15150 fail:
15151 {
15152 if (temp2)
15153 delete arg2;
15154 }
15155 return NULL;
15156 }
15157
15158
15159 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15160 PyObject *resultobj;
15161 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15162 wxString *arg2 = 0 ;
15163 bool result;
15164 bool temp2 = False ;
15165 PyObject * obj0 = 0 ;
15166 PyObject * obj1 = 0 ;
15167 char *kwnames[] = {
15168 (char *) "self",(char *) "name", NULL
15169 };
15170
15171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15174 {
15175 arg2 = wxString_in_helper(obj1);
15176 if (arg2 == NULL) SWIG_fail;
15177 temp2 = True;
15178 }
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15182
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15186 {
15187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15188 }
15189 {
15190 if (temp2)
15191 delete arg2;
15192 }
15193 return resultobj;
15194 fail:
15195 {
15196 if (temp2)
15197 delete arg2;
15198 }
15199 return NULL;
15200 }
15201
15202
15203 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj;
15205 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15206 wxString *arg2 = 0 ;
15207 bool result;
15208 bool temp2 = False ;
15209 PyObject * obj0 = 0 ;
15210 PyObject * obj1 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self",(char *) "name", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15218 {
15219 arg2 = wxString_in_helper(obj1);
15220 if (arg2 == NULL) SWIG_fail;
15221 temp2 = True;
15222 }
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15226
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 {
15231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15232 }
15233 {
15234 if (temp2)
15235 delete arg2;
15236 }
15237 return resultobj;
15238 fail:
15239 {
15240 if (temp2)
15241 delete arg2;
15242 }
15243 return NULL;
15244 }
15245
15246
15247 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
15248 PyObject *resultobj;
15249 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15250 wxString *arg2 = 0 ;
15251 int result;
15252 bool temp2 = False ;
15253 PyObject * obj0 = 0 ;
15254 PyObject * obj1 = 0 ;
15255 char *kwnames[] = {
15256 (char *) "self",(char *) "name", NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15262 {
15263 arg2 = wxString_in_helper(obj1);
15264 if (arg2 == NULL) SWIG_fail;
15265 temp2 = True;
15266 }
15267 {
15268 PyThreadState* __tstate = wxPyBeginAllowThreads();
15269 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15270
15271 wxPyEndAllowThreads(__tstate);
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 resultobj = SWIG_FromInt((int)result);
15275 {
15276 if (temp2)
15277 delete arg2;
15278 }
15279 return resultobj;
15280 fail:
15281 {
15282 if (temp2)
15283 delete arg2;
15284 }
15285 return NULL;
15286 }
15287
15288
15289 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj;
15291 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15292 wxString *arg2 = 0 ;
15293 wxString const &arg3_defvalue = wxPyEmptyString ;
15294 wxString *arg3 = (wxString *) &arg3_defvalue ;
15295 wxString result;
15296 bool temp2 = False ;
15297 bool temp3 = False ;
15298 PyObject * obj0 = 0 ;
15299 PyObject * obj1 = 0 ;
15300 PyObject * obj2 = 0 ;
15301 char *kwnames[] = {
15302 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15308 {
15309 arg2 = wxString_in_helper(obj1);
15310 if (arg2 == NULL) SWIG_fail;
15311 temp2 = True;
15312 }
15313 if (obj2) {
15314 {
15315 arg3 = wxString_in_helper(obj2);
15316 if (arg3 == NULL) SWIG_fail;
15317 temp3 = True;
15318 }
15319 }
15320 {
15321 PyThreadState* __tstate = wxPyBeginAllowThreads();
15322 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15323
15324 wxPyEndAllowThreads(__tstate);
15325 if (PyErr_Occurred()) SWIG_fail;
15326 }
15327 {
15328 #if wxUSE_UNICODE
15329 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15330 #else
15331 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15332 #endif
15333 }
15334 {
15335 if (temp2)
15336 delete arg2;
15337 }
15338 {
15339 if (temp3)
15340 delete arg3;
15341 }
15342 return resultobj;
15343 fail:
15344 {
15345 if (temp2)
15346 delete arg2;
15347 }
15348 {
15349 if (temp3)
15350 delete arg3;
15351 }
15352 return NULL;
15353 }
15354
15355
15356 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj;
15358 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15359 wxString *arg2 = 0 ;
15360 long arg3 = (long) 0 ;
15361 long result;
15362 bool temp2 = False ;
15363 PyObject * obj0 = 0 ;
15364 PyObject * obj1 = 0 ;
15365 PyObject * obj2 = 0 ;
15366 char *kwnames[] = {
15367 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15373 {
15374 arg2 = wxString_in_helper(obj1);
15375 if (arg2 == NULL) SWIG_fail;
15376 temp2 = True;
15377 }
15378 if (obj2) {
15379 arg3 = (long) SWIG_AsLong(obj2);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 {
15383 PyThreadState* __tstate = wxPyBeginAllowThreads();
15384 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15385
15386 wxPyEndAllowThreads(__tstate);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
15389 resultobj = SWIG_FromLong((long)result);
15390 {
15391 if (temp2)
15392 delete arg2;
15393 }
15394 return resultobj;
15395 fail:
15396 {
15397 if (temp2)
15398 delete arg2;
15399 }
15400 return NULL;
15401 }
15402
15403
15404 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15405 PyObject *resultobj;
15406 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15407 wxString *arg2 = 0 ;
15408 double arg3 = (double) 0.0 ;
15409 double result;
15410 bool temp2 = False ;
15411 PyObject * obj0 = 0 ;
15412 PyObject * obj1 = 0 ;
15413 PyObject * obj2 = 0 ;
15414 char *kwnames[] = {
15415 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15416 };
15417
15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15421 {
15422 arg2 = wxString_in_helper(obj1);
15423 if (arg2 == NULL) SWIG_fail;
15424 temp2 = True;
15425 }
15426 if (obj2) {
15427 arg3 = (double) SWIG_AsDouble(obj2);
15428 if (PyErr_Occurred()) SWIG_fail;
15429 }
15430 {
15431 PyThreadState* __tstate = wxPyBeginAllowThreads();
15432 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15433
15434 wxPyEndAllowThreads(__tstate);
15435 if (PyErr_Occurred()) SWIG_fail;
15436 }
15437 resultobj = SWIG_FromDouble((double)result);
15438 {
15439 if (temp2)
15440 delete arg2;
15441 }
15442 return resultobj;
15443 fail:
15444 {
15445 if (temp2)
15446 delete arg2;
15447 }
15448 return NULL;
15449 }
15450
15451
15452 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15453 PyObject *resultobj;
15454 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15455 wxString *arg2 = 0 ;
15456 bool arg3 = (bool) False ;
15457 bool result;
15458 bool temp2 = False ;
15459 PyObject * obj0 = 0 ;
15460 PyObject * obj1 = 0 ;
15461 PyObject * obj2 = 0 ;
15462 char *kwnames[] = {
15463 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15464 };
15465
15466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15469 {
15470 arg2 = wxString_in_helper(obj1);
15471 if (arg2 == NULL) SWIG_fail;
15472 temp2 = True;
15473 }
15474 if (obj2) {
15475 arg3 = (bool) SWIG_AsBool(obj2);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15481
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 {
15486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15487 }
15488 {
15489 if (temp2)
15490 delete arg2;
15491 }
15492 return resultobj;
15493 fail:
15494 {
15495 if (temp2)
15496 delete arg2;
15497 }
15498 return NULL;
15499 }
15500
15501
15502 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15503 PyObject *resultobj;
15504 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15505 wxString *arg2 = 0 ;
15506 wxString *arg3 = 0 ;
15507 bool result;
15508 bool temp2 = False ;
15509 bool temp3 = False ;
15510 PyObject * obj0 = 0 ;
15511 PyObject * obj1 = 0 ;
15512 PyObject * obj2 = 0 ;
15513 char *kwnames[] = {
15514 (char *) "self",(char *) "key",(char *) "value", NULL
15515 };
15516
15517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15520 {
15521 arg2 = wxString_in_helper(obj1);
15522 if (arg2 == NULL) SWIG_fail;
15523 temp2 = True;
15524 }
15525 {
15526 arg3 = wxString_in_helper(obj2);
15527 if (arg3 == NULL) SWIG_fail;
15528 temp3 = True;
15529 }
15530 {
15531 PyThreadState* __tstate = wxPyBeginAllowThreads();
15532 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15533
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 {
15538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15539 }
15540 {
15541 if (temp2)
15542 delete arg2;
15543 }
15544 {
15545 if (temp3)
15546 delete arg3;
15547 }
15548 return resultobj;
15549 fail:
15550 {
15551 if (temp2)
15552 delete arg2;
15553 }
15554 {
15555 if (temp3)
15556 delete arg3;
15557 }
15558 return NULL;
15559 }
15560
15561
15562 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15563 PyObject *resultobj;
15564 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15565 wxString *arg2 = 0 ;
15566 long arg3 ;
15567 bool result;
15568 bool temp2 = False ;
15569 PyObject * obj0 = 0 ;
15570 PyObject * obj1 = 0 ;
15571 PyObject * obj2 = 0 ;
15572 char *kwnames[] = {
15573 (char *) "self",(char *) "key",(char *) "value", NULL
15574 };
15575
15576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15579 {
15580 arg2 = wxString_in_helper(obj1);
15581 if (arg2 == NULL) SWIG_fail;
15582 temp2 = True;
15583 }
15584 arg3 = (long) SWIG_AsLong(obj2);
15585 if (PyErr_Occurred()) SWIG_fail;
15586 {
15587 PyThreadState* __tstate = wxPyBeginAllowThreads();
15588 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15589
15590 wxPyEndAllowThreads(__tstate);
15591 if (PyErr_Occurred()) SWIG_fail;
15592 }
15593 {
15594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15595 }
15596 {
15597 if (temp2)
15598 delete arg2;
15599 }
15600 return resultobj;
15601 fail:
15602 {
15603 if (temp2)
15604 delete arg2;
15605 }
15606 return NULL;
15607 }
15608
15609
15610 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15611 PyObject *resultobj;
15612 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15613 wxString *arg2 = 0 ;
15614 double arg3 ;
15615 bool result;
15616 bool temp2 = False ;
15617 PyObject * obj0 = 0 ;
15618 PyObject * obj1 = 0 ;
15619 PyObject * obj2 = 0 ;
15620 char *kwnames[] = {
15621 (char *) "self",(char *) "key",(char *) "value", NULL
15622 };
15623
15624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15627 {
15628 arg2 = wxString_in_helper(obj1);
15629 if (arg2 == NULL) SWIG_fail;
15630 temp2 = True;
15631 }
15632 arg3 = (double) SWIG_AsDouble(obj2);
15633 if (PyErr_Occurred()) SWIG_fail;
15634 {
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15637
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 {
15642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15643 }
15644 {
15645 if (temp2)
15646 delete arg2;
15647 }
15648 return resultobj;
15649 fail:
15650 {
15651 if (temp2)
15652 delete arg2;
15653 }
15654 return NULL;
15655 }
15656
15657
15658 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15659 PyObject *resultobj;
15660 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15661 wxString *arg2 = 0 ;
15662 bool arg3 ;
15663 bool result;
15664 bool temp2 = False ;
15665 PyObject * obj0 = 0 ;
15666 PyObject * obj1 = 0 ;
15667 PyObject * obj2 = 0 ;
15668 char *kwnames[] = {
15669 (char *) "self",(char *) "key",(char *) "value", NULL
15670 };
15671
15672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15675 {
15676 arg2 = wxString_in_helper(obj1);
15677 if (arg2 == NULL) SWIG_fail;
15678 temp2 = True;
15679 }
15680 arg3 = (bool) SWIG_AsBool(obj2);
15681 if (PyErr_Occurred()) SWIG_fail;
15682 {
15683 PyThreadState* __tstate = wxPyBeginAllowThreads();
15684 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15685
15686 wxPyEndAllowThreads(__tstate);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 {
15690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15691 }
15692 {
15693 if (temp2)
15694 delete arg2;
15695 }
15696 return resultobj;
15697 fail:
15698 {
15699 if (temp2)
15700 delete arg2;
15701 }
15702 return NULL;
15703 }
15704
15705
15706 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj;
15708 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15709 bool arg2 = (bool) False ;
15710 bool result;
15711 PyObject * obj0 = 0 ;
15712 PyObject * obj1 = 0 ;
15713 char *kwnames[] = {
15714 (char *) "self",(char *) "currentOnly", NULL
15715 };
15716
15717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15720 if (obj1) {
15721 arg2 = (bool) SWIG_AsBool(obj1);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 {
15725 PyThreadState* __tstate = wxPyBeginAllowThreads();
15726 result = (bool)(arg1)->Flush(arg2);
15727
15728 wxPyEndAllowThreads(__tstate);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
15731 {
15732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15733 }
15734 return resultobj;
15735 fail:
15736 return NULL;
15737 }
15738
15739
15740 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15741 PyObject *resultobj;
15742 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15743 wxString *arg2 = 0 ;
15744 wxString *arg3 = 0 ;
15745 bool result;
15746 bool temp2 = False ;
15747 bool temp3 = False ;
15748 PyObject * obj0 = 0 ;
15749 PyObject * obj1 = 0 ;
15750 PyObject * obj2 = 0 ;
15751 char *kwnames[] = {
15752 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15753 };
15754
15755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15758 {
15759 arg2 = wxString_in_helper(obj1);
15760 if (arg2 == NULL) SWIG_fail;
15761 temp2 = True;
15762 }
15763 {
15764 arg3 = wxString_in_helper(obj2);
15765 if (arg3 == NULL) SWIG_fail;
15766 temp3 = True;
15767 }
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 {
15776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15777 }
15778 {
15779 if (temp2)
15780 delete arg2;
15781 }
15782 {
15783 if (temp3)
15784 delete arg3;
15785 }
15786 return resultobj;
15787 fail:
15788 {
15789 if (temp2)
15790 delete arg2;
15791 }
15792 {
15793 if (temp3)
15794 delete arg3;
15795 }
15796 return NULL;
15797 }
15798
15799
15800 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15801 PyObject *resultobj;
15802 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15803 wxString *arg2 = 0 ;
15804 wxString *arg3 = 0 ;
15805 bool result;
15806 bool temp2 = False ;
15807 bool temp3 = False ;
15808 PyObject * obj0 = 0 ;
15809 PyObject * obj1 = 0 ;
15810 PyObject * obj2 = 0 ;
15811 char *kwnames[] = {
15812 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15813 };
15814
15815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15818 {
15819 arg2 = wxString_in_helper(obj1);
15820 if (arg2 == NULL) SWIG_fail;
15821 temp2 = True;
15822 }
15823 {
15824 arg3 = wxString_in_helper(obj2);
15825 if (arg3 == NULL) SWIG_fail;
15826 temp3 = True;
15827 }
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 {
15836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15837 }
15838 {
15839 if (temp2)
15840 delete arg2;
15841 }
15842 {
15843 if (temp3)
15844 delete arg3;
15845 }
15846 return resultobj;
15847 fail:
15848 {
15849 if (temp2)
15850 delete arg2;
15851 }
15852 {
15853 if (temp3)
15854 delete arg3;
15855 }
15856 return NULL;
15857 }
15858
15859
15860 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15861 PyObject *resultobj;
15862 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15863 wxString *arg2 = 0 ;
15864 bool arg3 = (bool) True ;
15865 bool result;
15866 bool temp2 = False ;
15867 PyObject * obj0 = 0 ;
15868 PyObject * obj1 = 0 ;
15869 PyObject * obj2 = 0 ;
15870 char *kwnames[] = {
15871 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15872 };
15873
15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15877 {
15878 arg2 = wxString_in_helper(obj1);
15879 if (arg2 == NULL) SWIG_fail;
15880 temp2 = True;
15881 }
15882 if (obj2) {
15883 arg3 = (bool) SWIG_AsBool(obj2);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 }
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15889
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
15893 {
15894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15895 }
15896 {
15897 if (temp2)
15898 delete arg2;
15899 }
15900 return resultobj;
15901 fail:
15902 {
15903 if (temp2)
15904 delete arg2;
15905 }
15906 return NULL;
15907 }
15908
15909
15910 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15911 PyObject *resultobj;
15912 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15913 wxString *arg2 = 0 ;
15914 bool result;
15915 bool temp2 = False ;
15916 PyObject * obj0 = 0 ;
15917 PyObject * obj1 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "self",(char *) "key", NULL
15920 };
15921
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15925 {
15926 arg2 = wxString_in_helper(obj1);
15927 if (arg2 == NULL) SWIG_fail;
15928 temp2 = True;
15929 }
15930 {
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 {
15938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15939 }
15940 {
15941 if (temp2)
15942 delete arg2;
15943 }
15944 return resultobj;
15945 fail:
15946 {
15947 if (temp2)
15948 delete arg2;
15949 }
15950 return NULL;
15951 }
15952
15953
15954 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15955 PyObject *resultobj;
15956 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15957 bool result;
15958 PyObject * obj0 = 0 ;
15959 char *kwnames[] = {
15960 (char *) "self", NULL
15961 };
15962
15963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 result = (bool)(arg1)->DeleteAll();
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 {
15974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15975 }
15976 return resultobj;
15977 fail:
15978 return NULL;
15979 }
15980
15981
15982 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15983 PyObject *resultobj;
15984 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15985 bool arg2 = (bool) True ;
15986 PyObject * obj0 = 0 ;
15987 PyObject * obj1 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self",(char *) "doIt", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15995 if (obj1) {
15996 arg2 = (bool) SWIG_AsBool(obj1);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 }
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 (arg1)->SetExpandEnvVars(arg2);
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 Py_INCREF(Py_None); resultobj = Py_None;
16007 return resultobj;
16008 fail:
16009 return NULL;
16010 }
16011
16012
16013 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16016 bool result;
16017 PyObject * obj0 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "self", NULL
16020 };
16021
16022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
16023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16025 {
16026 PyThreadState* __tstate = wxPyBeginAllowThreads();
16027 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
16028
16029 wxPyEndAllowThreads(__tstate);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 }
16032 {
16033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16034 }
16035 return resultobj;
16036 fail:
16037 return NULL;
16038 }
16039
16040
16041 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
16042 PyObject *resultobj;
16043 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16044 bool arg2 = (bool) True ;
16045 PyObject * obj0 = 0 ;
16046 PyObject * obj1 = 0 ;
16047 char *kwnames[] = {
16048 (char *) "self",(char *) "doIt", NULL
16049 };
16050
16051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
16052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16054 if (obj1) {
16055 arg2 = (bool) SWIG_AsBool(obj1);
16056 if (PyErr_Occurred()) SWIG_fail;
16057 }
16058 {
16059 PyThreadState* __tstate = wxPyBeginAllowThreads();
16060 (arg1)->SetRecordDefaults(arg2);
16061
16062 wxPyEndAllowThreads(__tstate);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 }
16065 Py_INCREF(Py_None); resultobj = Py_None;
16066 return resultobj;
16067 fail:
16068 return NULL;
16069 }
16070
16071
16072 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
16073 PyObject *resultobj;
16074 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16075 bool result;
16076 PyObject * obj0 = 0 ;
16077 char *kwnames[] = {
16078 (char *) "self", NULL
16079 };
16080
16081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
16082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16084 {
16085 PyThreadState* __tstate = wxPyBeginAllowThreads();
16086 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
16087
16088 wxPyEndAllowThreads(__tstate);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 {
16092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16093 }
16094 return resultobj;
16095 fail:
16096 return NULL;
16097 }
16098
16099
16100 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj;
16102 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16103 wxString *arg2 = 0 ;
16104 wxString result;
16105 bool temp2 = False ;
16106 PyObject * obj0 = 0 ;
16107 PyObject * obj1 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self",(char *) "str", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16115 {
16116 arg2 = wxString_in_helper(obj1);
16117 if (arg2 == NULL) SWIG_fail;
16118 temp2 = True;
16119 }
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
16122 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
16123
16124 wxPyEndAllowThreads(__tstate);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 }
16127 {
16128 #if wxUSE_UNICODE
16129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16130 #else
16131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16132 #endif
16133 }
16134 {
16135 if (temp2)
16136 delete arg2;
16137 }
16138 return resultobj;
16139 fail:
16140 {
16141 if (temp2)
16142 delete arg2;
16143 }
16144 return NULL;
16145 }
16146
16147
16148 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16149 PyObject *resultobj;
16150 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16151 wxString result;
16152 PyObject * obj0 = 0 ;
16153 char *kwnames[] = {
16154 (char *) "self", NULL
16155 };
16156
16157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
16158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16160 {
16161 PyThreadState* __tstate = wxPyBeginAllowThreads();
16162 result = ((wxConfigBase const *)arg1)->GetAppName();
16163
16164 wxPyEndAllowThreads(__tstate);
16165 if (PyErr_Occurred()) SWIG_fail;
16166 }
16167 {
16168 #if wxUSE_UNICODE
16169 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16170 #else
16171 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16172 #endif
16173 }
16174 return resultobj;
16175 fail:
16176 return NULL;
16177 }
16178
16179
16180 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16181 PyObject *resultobj;
16182 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16183 wxString result;
16184 PyObject * obj0 = 0 ;
16185 char *kwnames[] = {
16186 (char *) "self", NULL
16187 };
16188
16189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16192 {
16193 PyThreadState* __tstate = wxPyBeginAllowThreads();
16194 result = ((wxConfigBase const *)arg1)->GetVendorName();
16195
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
16199 {
16200 #if wxUSE_UNICODE
16201 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16202 #else
16203 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16204 #endif
16205 }
16206 return resultobj;
16207 fail:
16208 return NULL;
16209 }
16210
16211
16212 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16213 PyObject *resultobj;
16214 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16215 wxString *arg2 = 0 ;
16216 bool temp2 = False ;
16217 PyObject * obj0 = 0 ;
16218 PyObject * obj1 = 0 ;
16219 char *kwnames[] = {
16220 (char *) "self",(char *) "appName", NULL
16221 };
16222
16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16226 {
16227 arg2 = wxString_in_helper(obj1);
16228 if (arg2 == NULL) SWIG_fail;
16229 temp2 = True;
16230 }
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 (arg1)->SetAppName((wxString const &)*arg2);
16234
16235 wxPyEndAllowThreads(__tstate);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 }
16238 Py_INCREF(Py_None); resultobj = Py_None;
16239 {
16240 if (temp2)
16241 delete arg2;
16242 }
16243 return resultobj;
16244 fail:
16245 {
16246 if (temp2)
16247 delete arg2;
16248 }
16249 return NULL;
16250 }
16251
16252
16253 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16254 PyObject *resultobj;
16255 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16256 wxString *arg2 = 0 ;
16257 bool temp2 = False ;
16258 PyObject * obj0 = 0 ;
16259 PyObject * obj1 = 0 ;
16260 char *kwnames[] = {
16261 (char *) "self",(char *) "vendorName", NULL
16262 };
16263
16264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16267 {
16268 arg2 = wxString_in_helper(obj1);
16269 if (arg2 == NULL) SWIG_fail;
16270 temp2 = True;
16271 }
16272 {
16273 PyThreadState* __tstate = wxPyBeginAllowThreads();
16274 (arg1)->SetVendorName((wxString const &)*arg2);
16275
16276 wxPyEndAllowThreads(__tstate);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
16279 Py_INCREF(Py_None); resultobj = Py_None;
16280 {
16281 if (temp2)
16282 delete arg2;
16283 }
16284 return resultobj;
16285 fail:
16286 {
16287 if (temp2)
16288 delete arg2;
16289 }
16290 return NULL;
16291 }
16292
16293
16294 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16295 PyObject *resultobj;
16296 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16297 long arg2 ;
16298 PyObject * obj0 = 0 ;
16299 PyObject * obj1 = 0 ;
16300 char *kwnames[] = {
16301 (char *) "self",(char *) "style", NULL
16302 };
16303
16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16307 arg2 = (long) SWIG_AsLong(obj1);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 (arg1)->SetStyle(arg2);
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 Py_INCREF(Py_None); resultobj = Py_None;
16317 return resultobj;
16318 fail:
16319 return NULL;
16320 }
16321
16322
16323 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16324 PyObject *resultobj;
16325 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16326 long result;
16327 PyObject * obj0 = 0 ;
16328 char *kwnames[] = {
16329 (char *) "self", NULL
16330 };
16331
16332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16335 {
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
16337 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 resultobj = SWIG_FromLong((long)result);
16343 return resultobj;
16344 fail:
16345 return NULL;
16346 }
16347
16348
16349 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
16350 PyObject *obj;
16351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16352 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16353 Py_INCREF(obj);
16354 return Py_BuildValue((char *)"");
16355 }
16356 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj;
16358 wxString const &arg1_defvalue = wxPyEmptyString ;
16359 wxString *arg1 = (wxString *) &arg1_defvalue ;
16360 wxString const &arg2_defvalue = wxPyEmptyString ;
16361 wxString *arg2 = (wxString *) &arg2_defvalue ;
16362 wxString const &arg3_defvalue = wxPyEmptyString ;
16363 wxString *arg3 = (wxString *) &arg3_defvalue ;
16364 wxString const &arg4_defvalue = wxPyEmptyString ;
16365 wxString *arg4 = (wxString *) &arg4_defvalue ;
16366 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16367 wxConfig *result;
16368 bool temp1 = False ;
16369 bool temp2 = False ;
16370 bool temp3 = False ;
16371 bool temp4 = False ;
16372 PyObject * obj0 = 0 ;
16373 PyObject * obj1 = 0 ;
16374 PyObject * obj2 = 0 ;
16375 PyObject * obj3 = 0 ;
16376 PyObject * obj4 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16382 if (obj0) {
16383 {
16384 arg1 = wxString_in_helper(obj0);
16385 if (arg1 == NULL) SWIG_fail;
16386 temp1 = True;
16387 }
16388 }
16389 if (obj1) {
16390 {
16391 arg2 = wxString_in_helper(obj1);
16392 if (arg2 == NULL) SWIG_fail;
16393 temp2 = True;
16394 }
16395 }
16396 if (obj2) {
16397 {
16398 arg3 = wxString_in_helper(obj2);
16399 if (arg3 == NULL) SWIG_fail;
16400 temp3 = True;
16401 }
16402 }
16403 if (obj3) {
16404 {
16405 arg4 = wxString_in_helper(obj3);
16406 if (arg4 == NULL) SWIG_fail;
16407 temp4 = True;
16408 }
16409 }
16410 if (obj4) {
16411 arg5 = (long) SWIG_AsLong(obj4);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 }
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16417
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16422 {
16423 if (temp1)
16424 delete arg1;
16425 }
16426 {
16427 if (temp2)
16428 delete arg2;
16429 }
16430 {
16431 if (temp3)
16432 delete arg3;
16433 }
16434 {
16435 if (temp4)
16436 delete arg4;
16437 }
16438 return resultobj;
16439 fail:
16440 {
16441 if (temp1)
16442 delete arg1;
16443 }
16444 {
16445 if (temp2)
16446 delete arg2;
16447 }
16448 {
16449 if (temp3)
16450 delete arg3;
16451 }
16452 {
16453 if (temp4)
16454 delete arg4;
16455 }
16456 return NULL;
16457 }
16458
16459
16460 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxConfig *arg1 = (wxConfig *) 0 ;
16463 PyObject * obj0 = 0 ;
16464 char *kwnames[] = {
16465 (char *) "self", NULL
16466 };
16467
16468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16471 {
16472 PyThreadState* __tstate = wxPyBeginAllowThreads();
16473 delete arg1;
16474
16475 wxPyEndAllowThreads(__tstate);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 }
16478 Py_INCREF(Py_None); resultobj = Py_None;
16479 return resultobj;
16480 fail:
16481 return NULL;
16482 }
16483
16484
16485 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16486 PyObject *obj;
16487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16488 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16489 Py_INCREF(obj);
16490 return Py_BuildValue((char *)"");
16491 }
16492 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxString const &arg1_defvalue = wxPyEmptyString ;
16495 wxString *arg1 = (wxString *) &arg1_defvalue ;
16496 wxString const &arg2_defvalue = wxPyEmptyString ;
16497 wxString *arg2 = (wxString *) &arg2_defvalue ;
16498 wxString const &arg3_defvalue = wxPyEmptyString ;
16499 wxString *arg3 = (wxString *) &arg3_defvalue ;
16500 wxString const &arg4_defvalue = wxPyEmptyString ;
16501 wxString *arg4 = (wxString *) &arg4_defvalue ;
16502 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16503 wxFileConfig *result;
16504 bool temp1 = False ;
16505 bool temp2 = False ;
16506 bool temp3 = False ;
16507 bool temp4 = False ;
16508 PyObject * obj0 = 0 ;
16509 PyObject * obj1 = 0 ;
16510 PyObject * obj2 = 0 ;
16511 PyObject * obj3 = 0 ;
16512 PyObject * obj4 = 0 ;
16513 char *kwnames[] = {
16514 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16515 };
16516
16517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16518 if (obj0) {
16519 {
16520 arg1 = wxString_in_helper(obj0);
16521 if (arg1 == NULL) SWIG_fail;
16522 temp1 = True;
16523 }
16524 }
16525 if (obj1) {
16526 {
16527 arg2 = wxString_in_helper(obj1);
16528 if (arg2 == NULL) SWIG_fail;
16529 temp2 = True;
16530 }
16531 }
16532 if (obj2) {
16533 {
16534 arg3 = wxString_in_helper(obj2);
16535 if (arg3 == NULL) SWIG_fail;
16536 temp3 = True;
16537 }
16538 }
16539 if (obj3) {
16540 {
16541 arg4 = wxString_in_helper(obj3);
16542 if (arg4 == NULL) SWIG_fail;
16543 temp4 = True;
16544 }
16545 }
16546 if (obj4) {
16547 arg5 = (long) SWIG_AsLong(obj4);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 }
16550 {
16551 PyThreadState* __tstate = wxPyBeginAllowThreads();
16552 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16553
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16558 {
16559 if (temp1)
16560 delete arg1;
16561 }
16562 {
16563 if (temp2)
16564 delete arg2;
16565 }
16566 {
16567 if (temp3)
16568 delete arg3;
16569 }
16570 {
16571 if (temp4)
16572 delete arg4;
16573 }
16574 return resultobj;
16575 fail:
16576 {
16577 if (temp1)
16578 delete arg1;
16579 }
16580 {
16581 if (temp2)
16582 delete arg2;
16583 }
16584 {
16585 if (temp3)
16586 delete arg3;
16587 }
16588 {
16589 if (temp4)
16590 delete arg4;
16591 }
16592 return NULL;
16593 }
16594
16595
16596 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj;
16598 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16599 PyObject * obj0 = 0 ;
16600 char *kwnames[] = {
16601 (char *) "self", NULL
16602 };
16603
16604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 delete arg1;
16610
16611 wxPyEndAllowThreads(__tstate);
16612 if (PyErr_Occurred()) SWIG_fail;
16613 }
16614 Py_INCREF(Py_None); resultobj = Py_None;
16615 return resultobj;
16616 fail:
16617 return NULL;
16618 }
16619
16620
16621 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16622 PyObject *obj;
16623 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16624 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16625 Py_INCREF(obj);
16626 return Py_BuildValue((char *)"");
16627 }
16628 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16629 PyObject *resultobj;
16630 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16631 wxString *arg2 = 0 ;
16632 wxConfigPathChanger *result;
16633 bool temp2 = False ;
16634 PyObject * obj0 = 0 ;
16635 PyObject * obj1 = 0 ;
16636 char *kwnames[] = {
16637 (char *) "config",(char *) "entry", NULL
16638 };
16639
16640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16643 {
16644 arg2 = wxString_in_helper(obj1);
16645 if (arg2 == NULL) SWIG_fail;
16646 temp2 = True;
16647 }
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16651
16652 wxPyEndAllowThreads(__tstate);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 }
16655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16656 {
16657 if (temp2)
16658 delete arg2;
16659 }
16660 return resultobj;
16661 fail:
16662 {
16663 if (temp2)
16664 delete arg2;
16665 }
16666 return NULL;
16667 }
16668
16669
16670 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16673 PyObject * obj0 = 0 ;
16674 char *kwnames[] = {
16675 (char *) "self", NULL
16676 };
16677
16678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16681 {
16682 PyThreadState* __tstate = wxPyBeginAllowThreads();
16683 delete arg1;
16684
16685 wxPyEndAllowThreads(__tstate);
16686 if (PyErr_Occurred()) SWIG_fail;
16687 }
16688 Py_INCREF(Py_None); resultobj = Py_None;
16689 return resultobj;
16690 fail:
16691 return NULL;
16692 }
16693
16694
16695 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
16696 PyObject *resultobj;
16697 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16698 wxString *result;
16699 PyObject * obj0 = 0 ;
16700 char *kwnames[] = {
16701 (char *) "self", NULL
16702 };
16703
16704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16707 {
16708 PyThreadState* __tstate = wxPyBeginAllowThreads();
16709 {
16710 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16711 result = (wxString *) &_result_ref;
16712 }
16713
16714 wxPyEndAllowThreads(__tstate);
16715 if (PyErr_Occurred()) SWIG_fail;
16716 }
16717 {
16718 #if wxUSE_UNICODE
16719 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16720 #else
16721 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16722 #endif
16723 }
16724 return resultobj;
16725 fail:
16726 return NULL;
16727 }
16728
16729
16730 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
16731 PyObject *obj;
16732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16733 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16734 Py_INCREF(obj);
16735 return Py_BuildValue((char *)"");
16736 }
16737 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16738 PyObject *resultobj;
16739 wxString *arg1 = 0 ;
16740 wxString result;
16741 bool temp1 = False ;
16742 PyObject * obj0 = 0 ;
16743 char *kwnames[] = {
16744 (char *) "sz", NULL
16745 };
16746
16747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16748 {
16749 arg1 = wxString_in_helper(obj0);
16750 if (arg1 == NULL) SWIG_fail;
16751 temp1 = True;
16752 }
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 result = wxExpandEnvVars((wxString const &)*arg1);
16756
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 {
16761 #if wxUSE_UNICODE
16762 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16763 #else
16764 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16765 #endif
16766 }
16767 {
16768 if (temp1)
16769 delete arg1;
16770 }
16771 return resultobj;
16772 fail:
16773 {
16774 if (temp1)
16775 delete arg1;
16776 }
16777 return NULL;
16778 }
16779
16780
16781 static int _wrap_DateFormatStr_set(PyObject *_val) {
16782 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16783 return 1;
16784 }
16785
16786
16787 static PyObject *_wrap_DateFormatStr_get() {
16788 PyObject *pyobj;
16789
16790 {
16791 #if wxUSE_UNICODE
16792 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16793 #else
16794 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16795 #endif
16796 }
16797 return pyobj;
16798 }
16799
16800
16801 static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16802 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16803 return 1;
16804 }
16805
16806
16807 static PyObject *_wrap_TimeSpanFormatStr_get() {
16808 PyObject *pyobj;
16809
16810 {
16811 #if wxUSE_UNICODE
16812 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16813 #else
16814 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16815 #endif
16816 }
16817 return pyobj;
16818 }
16819
16820
16821 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16822 PyObject *resultobj;
16823 int arg1 ;
16824 PyObject * obj0 = 0 ;
16825 char *kwnames[] = {
16826 (char *) "country", NULL
16827 };
16828
16829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16830 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 Py_INCREF(Py_None); resultobj = Py_None;
16840 return resultobj;
16841 fail:
16842 return NULL;
16843 }
16844
16845
16846 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj;
16848 int result;
16849 char *kwnames[] = {
16850 NULL
16851 };
16852
16853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16854 {
16855 PyThreadState* __tstate = wxPyBeginAllowThreads();
16856 result = (int)wxDateTime::GetCountry();
16857
16858 wxPyEndAllowThreads(__tstate);
16859 if (PyErr_Occurred()) SWIG_fail;
16860 }
16861 resultobj = SWIG_FromInt((int)result);
16862 return resultobj;
16863 fail:
16864 return NULL;
16865 }
16866
16867
16868 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16869 PyObject *resultobj;
16870 int arg1 = (int) wxDateTime::Country_Default ;
16871 bool result;
16872 PyObject * obj0 = 0 ;
16873 char *kwnames[] = {
16874 (char *) "country", NULL
16875 };
16876
16877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16878 if (obj0) {
16879 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
16882 {
16883 PyThreadState* __tstate = wxPyBeginAllowThreads();
16884 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16885
16886 wxPyEndAllowThreads(__tstate);
16887 if (PyErr_Occurred()) SWIG_fail;
16888 }
16889 {
16890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16891 }
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 int arg1 = (int) wxDateTime::Gregorian ;
16901 int result;
16902 PyObject * obj0 = 0 ;
16903 char *kwnames[] = {
16904 (char *) "cal", NULL
16905 };
16906
16907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16908 if (obj0) {
16909 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16910 if (PyErr_Occurred()) SWIG_fail;
16911 }
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 resultobj = SWIG_FromInt((int)result);
16920 return resultobj;
16921 fail:
16922 return NULL;
16923 }
16924
16925
16926 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj;
16928 int arg1 ;
16929 int result;
16930 PyObject * obj0 = 0 ;
16931 char *kwnames[] = {
16932 (char *) "year", NULL
16933 };
16934
16935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16936 arg1 = (int) SWIG_AsInt(obj0);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 result = (int)wxDateTime::ConvertYearToBC(arg1);
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 resultobj = SWIG_FromInt((int)result);
16946 return resultobj;
16947 fail:
16948 return NULL;
16949 }
16950
16951
16952 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 int arg1 = (int) wxDateTime::Gregorian ;
16955 int result;
16956 PyObject * obj0 = 0 ;
16957 char *kwnames[] = {
16958 (char *) "cal", NULL
16959 };
16960
16961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16962 if (obj0) {
16963 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 }
16966 {
16967 PyThreadState* __tstate = wxPyBeginAllowThreads();
16968 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16969
16970 wxPyEndAllowThreads(__tstate);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 resultobj = SWIG_FromInt((int)result);
16974 return resultobj;
16975 fail:
16976 return NULL;
16977 }
16978
16979
16980 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16981 PyObject *resultobj;
16982 int arg1 = (int) wxDateTime::Inv_Year ;
16983 int arg2 = (int) wxDateTime::Gregorian ;
16984 bool result;
16985 PyObject * obj0 = 0 ;
16986 PyObject * obj1 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "year",(char *) "cal", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16992 if (obj0) {
16993 arg1 = (int) SWIG_AsInt(obj0);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 if (obj1) {
16997 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 {
17001 PyThreadState* __tstate = wxPyBeginAllowThreads();
17002 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
17003
17004 wxPyEndAllowThreads(__tstate);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 {
17008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17009 }
17010 return resultobj;
17011 fail:
17012 return NULL;
17013 }
17014
17015
17016 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
17017 PyObject *resultobj;
17018 int arg1 = (int) wxDateTime::Inv_Year ;
17019 int result;
17020 PyObject * obj0 = 0 ;
17021 char *kwnames[] = {
17022 (char *) "year", NULL
17023 };
17024
17025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
17026 if (obj0) {
17027 arg1 = (int) SWIG_AsInt(obj0);
17028 if (PyErr_Occurred()) SWIG_fail;
17029 }
17030 {
17031 PyThreadState* __tstate = wxPyBeginAllowThreads();
17032 result = (int)wxDateTime::GetCentury(arg1);
17033
17034 wxPyEndAllowThreads(__tstate);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 resultobj = SWIG_FromInt((int)result);
17038 return resultobj;
17039 fail:
17040 return NULL;
17041 }
17042
17043
17044 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17045 PyObject *resultobj;
17046 int arg1 ;
17047 int arg2 = (int) wxDateTime::Gregorian ;
17048 int result;
17049 PyObject * obj0 = 0 ;
17050 PyObject * obj1 = 0 ;
17051 char *kwnames[] = {
17052 (char *) "year",(char *) "cal", NULL
17053 };
17054
17055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
17056 arg1 = (int) SWIG_AsInt(obj0);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 if (obj1) {
17059 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
17060 if (PyErr_Occurred()) SWIG_fail;
17061 }
17062 {
17063 PyThreadState* __tstate = wxPyBeginAllowThreads();
17064 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
17065
17066 wxPyEndAllowThreads(__tstate);
17067 if (PyErr_Occurred()) SWIG_fail;
17068 }
17069 resultobj = SWIG_FromInt((int)result);
17070 return resultobj;
17071 fail:
17072 return NULL;
17073 }
17074
17075
17076 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17077 PyObject *resultobj;
17078 int arg1 ;
17079 int arg2 = (int) wxDateTime::Inv_Year ;
17080 int arg3 = (int) wxDateTime::Gregorian ;
17081 int result;
17082 PyObject * obj0 = 0 ;
17083 PyObject * obj1 = 0 ;
17084 PyObject * obj2 = 0 ;
17085 char *kwnames[] = {
17086 (char *) "month",(char *) "year",(char *) "cal", NULL
17087 };
17088
17089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
17090 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 if (obj1) {
17093 arg2 = (int) SWIG_AsInt(obj1);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 }
17096 if (obj2) {
17097 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
17103
17104 wxPyEndAllowThreads(__tstate);
17105 if (PyErr_Occurred()) SWIG_fail;
17106 }
17107 resultobj = SWIG_FromInt((int)result);
17108 return resultobj;
17109 fail:
17110 return NULL;
17111 }
17112
17113
17114 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
17115 PyObject *resultobj;
17116 int arg1 ;
17117 int arg2 = (int) wxDateTime::Name_Full ;
17118 wxString result;
17119 PyObject * obj0 = 0 ;
17120 PyObject * obj1 = 0 ;
17121 char *kwnames[] = {
17122 (char *) "month",(char *) "flags", NULL
17123 };
17124
17125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
17126 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 if (obj1) {
17129 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
17132 {
17133 PyThreadState* __tstate = wxPyBeginAllowThreads();
17134 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
17135
17136 wxPyEndAllowThreads(__tstate);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 }
17139 {
17140 #if wxUSE_UNICODE
17141 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17142 #else
17143 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17144 #endif
17145 }
17146 return resultobj;
17147 fail:
17148 return NULL;
17149 }
17150
17151
17152 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj;
17154 int arg1 ;
17155 int arg2 = (int) wxDateTime::Name_Full ;
17156 wxString result;
17157 PyObject * obj0 = 0 ;
17158 PyObject * obj1 = 0 ;
17159 char *kwnames[] = {
17160 (char *) "weekday",(char *) "flags", NULL
17161 };
17162
17163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
17164 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 if (obj1) {
17167 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17168 if (PyErr_Occurred()) SWIG_fail;
17169 }
17170 {
17171 PyThreadState* __tstate = wxPyBeginAllowThreads();
17172 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17173
17174 wxPyEndAllowThreads(__tstate);
17175 if (PyErr_Occurred()) SWIG_fail;
17176 }
17177 {
17178 #if wxUSE_UNICODE
17179 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17180 #else
17181 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17182 #endif
17183 }
17184 return resultobj;
17185 fail:
17186 return NULL;
17187 }
17188
17189
17190 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
17191 PyObject *resultobj;
17192 wxString *arg1 = (wxString *) 0 ;
17193 wxString *arg2 = (wxString *) 0 ;
17194 bool temp1 = False ;
17195 bool temp2 = False ;
17196 PyObject * obj0 = 0 ;
17197 PyObject * obj1 = 0 ;
17198 char *kwnames[] = {
17199 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17200 };
17201
17202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17203 {
17204 arg1 = wxString_in_helper(obj0);
17205 if (arg1 == NULL) SWIG_fail;
17206 temp1 = True;
17207 }
17208 {
17209 arg2 = wxString_in_helper(obj1);
17210 if (arg2 == NULL) SWIG_fail;
17211 temp2 = True;
17212 }
17213 {
17214 PyThreadState* __tstate = wxPyBeginAllowThreads();
17215 wxDateTime::GetAmPmStrings(arg1,arg2);
17216
17217 wxPyEndAllowThreads(__tstate);
17218 if (PyErr_Occurred()) SWIG_fail;
17219 }
17220 Py_INCREF(Py_None); resultobj = Py_None;
17221 {
17222 if (temp1)
17223 delete arg1;
17224 }
17225 {
17226 if (temp2)
17227 delete arg2;
17228 }
17229 return resultobj;
17230 fail:
17231 {
17232 if (temp1)
17233 delete arg1;
17234 }
17235 {
17236 if (temp2)
17237 delete arg2;
17238 }
17239 return NULL;
17240 }
17241
17242
17243 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
17244 PyObject *resultobj;
17245 int arg1 = (int) wxDateTime::Inv_Year ;
17246 int arg2 = (int) wxDateTime::Country_Default ;
17247 bool result;
17248 PyObject * obj0 = 0 ;
17249 PyObject * obj1 = 0 ;
17250 char *kwnames[] = {
17251 (char *) "year",(char *) "country", NULL
17252 };
17253
17254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17255 if (obj0) {
17256 arg1 = (int) SWIG_AsInt(obj0);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 if (obj1) {
17260 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 }
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 {
17271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17272 }
17273 return resultobj;
17274 fail:
17275 return NULL;
17276 }
17277
17278
17279 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17280 PyObject *resultobj;
17281 int arg1 = (int) wxDateTime::Inv_Year ;
17282 int arg2 = (int) wxDateTime::Country_Default ;
17283 wxDateTime result;
17284 PyObject * obj0 = 0 ;
17285 PyObject * obj1 = 0 ;
17286 char *kwnames[] = {
17287 (char *) "year",(char *) "country", NULL
17288 };
17289
17290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17291 if (obj0) {
17292 arg1 = (int) SWIG_AsInt(obj0);
17293 if (PyErr_Occurred()) SWIG_fail;
17294 }
17295 if (obj1) {
17296 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17297 if (PyErr_Occurred()) SWIG_fail;
17298 }
17299 {
17300 PyThreadState* __tstate = wxPyBeginAllowThreads();
17301 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 {
17307 wxDateTime * resultptr;
17308 resultptr = new wxDateTime((wxDateTime &) result);
17309 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17310 }
17311 return resultobj;
17312 fail:
17313 return NULL;
17314 }
17315
17316
17317 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17318 PyObject *resultobj;
17319 int arg1 = (int) wxDateTime::Inv_Year ;
17320 int arg2 = (int) wxDateTime::Country_Default ;
17321 wxDateTime result;
17322 PyObject * obj0 = 0 ;
17323 PyObject * obj1 = 0 ;
17324 char *kwnames[] = {
17325 (char *) "year",(char *) "country", NULL
17326 };
17327
17328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17329 if (obj0) {
17330 arg1 = (int) SWIG_AsInt(obj0);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 if (obj1) {
17334 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17335 if (PyErr_Occurred()) SWIG_fail;
17336 }
17337 {
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17340
17341 wxPyEndAllowThreads(__tstate);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
17344 {
17345 wxDateTime * resultptr;
17346 resultptr = new wxDateTime((wxDateTime &) result);
17347 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17348 }
17349 return resultobj;
17350 fail:
17351 return NULL;
17352 }
17353
17354
17355 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
17356 PyObject *resultobj;
17357 wxDateTime result;
17358 char *kwnames[] = {
17359 NULL
17360 };
17361
17362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17363 {
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 result = wxDateTime::Now();
17366
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 {
17371 wxDateTime * resultptr;
17372 resultptr = new wxDateTime((wxDateTime &) result);
17373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17374 }
17375 return resultobj;
17376 fail:
17377 return NULL;
17378 }
17379
17380
17381 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
17382 PyObject *resultobj;
17383 wxDateTime result;
17384 char *kwnames[] = {
17385 NULL
17386 };
17387
17388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17389 {
17390 PyThreadState* __tstate = wxPyBeginAllowThreads();
17391 result = wxDateTime::UNow();
17392
17393 wxPyEndAllowThreads(__tstate);
17394 if (PyErr_Occurred()) SWIG_fail;
17395 }
17396 {
17397 wxDateTime * resultptr;
17398 resultptr = new wxDateTime((wxDateTime &) result);
17399 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17400 }
17401 return resultobj;
17402 fail:
17403 return NULL;
17404 }
17405
17406
17407 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
17408 PyObject *resultobj;
17409 wxDateTime result;
17410 char *kwnames[] = {
17411 NULL
17412 };
17413
17414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 result = wxDateTime::Today();
17418
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 {
17423 wxDateTime * resultptr;
17424 resultptr = new wxDateTime((wxDateTime &) result);
17425 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17426 }
17427 return resultobj;
17428 fail:
17429 return NULL;
17430 }
17431
17432
17433 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17434 PyObject *resultobj;
17435 wxDateTime *result;
17436 char *kwnames[] = {
17437 NULL
17438 };
17439
17440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 result = (wxDateTime *)new wxDateTime();
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17449 return resultobj;
17450 fail:
17451 return NULL;
17452 }
17453
17454
17455 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17456 PyObject *resultobj;
17457 time_t arg1 ;
17458 wxDateTime *result;
17459 PyObject * obj0 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "timet", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17465 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 result = (wxDateTime *)new wxDateTime(arg1);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 double arg1 ;
17484 wxDateTime *result;
17485 PyObject * obj0 = 0 ;
17486 char *kwnames[] = {
17487 (char *) "jdn", NULL
17488 };
17489
17490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17491 arg1 = (double) SWIG_AsDouble(obj0);
17492 if (PyErr_Occurred()) SWIG_fail;
17493 {
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 result = (wxDateTime *)new wxDateTime(arg1);
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17501 return resultobj;
17502 fail:
17503 return NULL;
17504 }
17505
17506
17507 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17508 PyObject *resultobj;
17509 int arg1 ;
17510 int arg2 = (int) 0 ;
17511 int arg3 = (int) 0 ;
17512 int arg4 = (int) 0 ;
17513 wxDateTime *result;
17514 PyObject * obj0 = 0 ;
17515 PyObject * obj1 = 0 ;
17516 PyObject * obj2 = 0 ;
17517 PyObject * obj3 = 0 ;
17518 char *kwnames[] = {
17519 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17520 };
17521
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17523 arg1 = (int) SWIG_AsInt(obj0);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 if (obj1) {
17526 arg2 = (int) SWIG_AsInt(obj1);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 if (obj2) {
17530 arg3 = (int) SWIG_AsInt(obj2);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 if (obj3) {
17534 arg4 = (int) SWIG_AsInt(obj3);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
17537 {
17538 PyThreadState* __tstate = wxPyBeginAllowThreads();
17539 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17540
17541 wxPyEndAllowThreads(__tstate);
17542 if (PyErr_Occurred()) SWIG_fail;
17543 }
17544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17545 return resultobj;
17546 fail:
17547 return NULL;
17548 }
17549
17550
17551 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17552 PyObject *resultobj;
17553 int arg1 ;
17554 int arg2 = (int) wxDateTime::Inv_Month ;
17555 int arg3 = (int) wxDateTime::Inv_Year ;
17556 int arg4 = (int) 0 ;
17557 int arg5 = (int) 0 ;
17558 int arg6 = (int) 0 ;
17559 int arg7 = (int) 0 ;
17560 wxDateTime *result;
17561 PyObject * obj0 = 0 ;
17562 PyObject * obj1 = 0 ;
17563 PyObject * obj2 = 0 ;
17564 PyObject * obj3 = 0 ;
17565 PyObject * obj4 = 0 ;
17566 PyObject * obj5 = 0 ;
17567 PyObject * obj6 = 0 ;
17568 char *kwnames[] = {
17569 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17570 };
17571
17572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17573 arg1 = (int) SWIG_AsInt(obj0);
17574 if (PyErr_Occurred()) SWIG_fail;
17575 if (obj1) {
17576 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 }
17579 if (obj2) {
17580 arg3 = (int) SWIG_AsInt(obj2);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
17583 if (obj3) {
17584 arg4 = (int) SWIG_AsInt(obj3);
17585 if (PyErr_Occurred()) SWIG_fail;
17586 }
17587 if (obj4) {
17588 arg5 = (int) SWIG_AsInt(obj4);
17589 if (PyErr_Occurred()) SWIG_fail;
17590 }
17591 if (obj5) {
17592 arg6 = (int) SWIG_AsInt(obj5);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 if (obj6) {
17596 arg7 = (int) SWIG_AsInt(obj6);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 }
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17602
17603 wxPyEndAllowThreads(__tstate);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 }
17606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17607 return resultobj;
17608 fail:
17609 return NULL;
17610 }
17611
17612
17613 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17614 PyObject *resultobj;
17615 wxDateTime *arg1 = (wxDateTime *) 0 ;
17616 PyObject * obj0 = 0 ;
17617 char *kwnames[] = {
17618 (char *) "self", NULL
17619 };
17620
17621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 delete arg1;
17627
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 Py_INCREF(Py_None); resultobj = Py_None;
17632 return resultobj;
17633 fail:
17634 return NULL;
17635 }
17636
17637
17638 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17639 PyObject *resultobj;
17640 wxDateTime *arg1 = (wxDateTime *) 0 ;
17641 wxDateTime *result;
17642 PyObject * obj0 = 0 ;
17643 char *kwnames[] = {
17644 (char *) "self", NULL
17645 };
17646
17647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17650 {
17651 PyThreadState* __tstate = wxPyBeginAllowThreads();
17652 {
17653 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17654 result = (wxDateTime *) &_result_ref;
17655 }
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17661 return resultobj;
17662 fail:
17663 return NULL;
17664 }
17665
17666
17667 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17668 PyObject *resultobj;
17669 wxDateTime *arg1 = (wxDateTime *) 0 ;
17670 time_t arg2 ;
17671 wxDateTime *result;
17672 PyObject * obj0 = 0 ;
17673 PyObject * obj1 = 0 ;
17674 char *kwnames[] = {
17675 (char *) "self",(char *) "timet", NULL
17676 };
17677
17678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17681 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 {
17684 PyThreadState* __tstate = wxPyBeginAllowThreads();
17685 {
17686 wxDateTime &_result_ref = (arg1)->Set(arg2);
17687 result = (wxDateTime *) &_result_ref;
17688 }
17689
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17694 return resultobj;
17695 fail:
17696 return NULL;
17697 }
17698
17699
17700 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj;
17702 wxDateTime *arg1 = (wxDateTime *) 0 ;
17703 double arg2 ;
17704 wxDateTime *result;
17705 PyObject * obj0 = 0 ;
17706 PyObject * obj1 = 0 ;
17707 char *kwnames[] = {
17708 (char *) "self",(char *) "jdn", NULL
17709 };
17710
17711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17714 arg2 = (double) SWIG_AsDouble(obj1);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 {
17717 PyThreadState* __tstate = wxPyBeginAllowThreads();
17718 {
17719 wxDateTime &_result_ref = (arg1)->Set(arg2);
17720 result = (wxDateTime *) &_result_ref;
17721 }
17722
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17727 return resultobj;
17728 fail:
17729 return NULL;
17730 }
17731
17732
17733 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj;
17735 wxDateTime *arg1 = (wxDateTime *) 0 ;
17736 int arg2 ;
17737 int arg3 = (int) 0 ;
17738 int arg4 = (int) 0 ;
17739 int arg5 = (int) 0 ;
17740 wxDateTime *result;
17741 PyObject * obj0 = 0 ;
17742 PyObject * obj1 = 0 ;
17743 PyObject * obj2 = 0 ;
17744 PyObject * obj3 = 0 ;
17745 PyObject * obj4 = 0 ;
17746 char *kwnames[] = {
17747 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17748 };
17749
17750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17753 arg2 = (int) SWIG_AsInt(obj1);
17754 if (PyErr_Occurred()) SWIG_fail;
17755 if (obj2) {
17756 arg3 = (int) SWIG_AsInt(obj2);
17757 if (PyErr_Occurred()) SWIG_fail;
17758 }
17759 if (obj3) {
17760 arg4 = (int) SWIG_AsInt(obj3);
17761 if (PyErr_Occurred()) SWIG_fail;
17762 }
17763 if (obj4) {
17764 arg5 = (int) SWIG_AsInt(obj4);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 {
17768 PyThreadState* __tstate = wxPyBeginAllowThreads();
17769 {
17770 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17771 result = (wxDateTime *) &_result_ref;
17772 }
17773
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17778 return resultobj;
17779 fail:
17780 return NULL;
17781 }
17782
17783
17784 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17785 PyObject *resultobj;
17786 wxDateTime *arg1 = (wxDateTime *) 0 ;
17787 int arg2 ;
17788 int arg3 = (int) wxDateTime::Inv_Month ;
17789 int arg4 = (int) wxDateTime::Inv_Year ;
17790 int arg5 = (int) 0 ;
17791 int arg6 = (int) 0 ;
17792 int arg7 = (int) 0 ;
17793 int arg8 = (int) 0 ;
17794 wxDateTime *result;
17795 PyObject * obj0 = 0 ;
17796 PyObject * obj1 = 0 ;
17797 PyObject * obj2 = 0 ;
17798 PyObject * obj3 = 0 ;
17799 PyObject * obj4 = 0 ;
17800 PyObject * obj5 = 0 ;
17801 PyObject * obj6 = 0 ;
17802 PyObject * obj7 = 0 ;
17803 char *kwnames[] = {
17804 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17805 };
17806
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17810 arg2 = (int) SWIG_AsInt(obj1);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 if (obj2) {
17813 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17814 if (PyErr_Occurred()) SWIG_fail;
17815 }
17816 if (obj3) {
17817 arg4 = (int) SWIG_AsInt(obj3);
17818 if (PyErr_Occurred()) SWIG_fail;
17819 }
17820 if (obj4) {
17821 arg5 = (int) SWIG_AsInt(obj4);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 if (obj5) {
17825 arg6 = (int) SWIG_AsInt(obj5);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 if (obj6) {
17829 arg7 = (int) SWIG_AsInt(obj6);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 if (obj7) {
17833 arg8 = (int) SWIG_AsInt(obj7);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 {
17837 PyThreadState* __tstate = wxPyBeginAllowThreads();
17838 {
17839 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17840 result = (wxDateTime *) &_result_ref;
17841 }
17842
17843 wxPyEndAllowThreads(__tstate);
17844 if (PyErr_Occurred()) SWIG_fail;
17845 }
17846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17847 return resultobj;
17848 fail:
17849 return NULL;
17850 }
17851
17852
17853 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17854 PyObject *resultobj;
17855 wxDateTime *arg1 = (wxDateTime *) 0 ;
17856 wxDateTime *result;
17857 PyObject * obj0 = 0 ;
17858 char *kwnames[] = {
17859 (char *) "self", NULL
17860 };
17861
17862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17865 {
17866 PyThreadState* __tstate = wxPyBeginAllowThreads();
17867 {
17868 wxDateTime &_result_ref = (arg1)->ResetTime();
17869 result = (wxDateTime *) &_result_ref;
17870 }
17871
17872 wxPyEndAllowThreads(__tstate);
17873 if (PyErr_Occurred()) SWIG_fail;
17874 }
17875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17876 return resultobj;
17877 fail:
17878 return NULL;
17879 }
17880
17881
17882 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17883 PyObject *resultobj;
17884 wxDateTime *arg1 = (wxDateTime *) 0 ;
17885 int arg2 ;
17886 wxDateTime *result;
17887 PyObject * obj0 = 0 ;
17888 PyObject * obj1 = 0 ;
17889 char *kwnames[] = {
17890 (char *) "self",(char *) "year", NULL
17891 };
17892
17893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17896 arg2 = (int) SWIG_AsInt(obj1);
17897 if (PyErr_Occurred()) SWIG_fail;
17898 {
17899 PyThreadState* __tstate = wxPyBeginAllowThreads();
17900 {
17901 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17902 result = (wxDateTime *) &_result_ref;
17903 }
17904
17905 wxPyEndAllowThreads(__tstate);
17906 if (PyErr_Occurred()) SWIG_fail;
17907 }
17908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17909 return resultobj;
17910 fail:
17911 return NULL;
17912 }
17913
17914
17915 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17916 PyObject *resultobj;
17917 wxDateTime *arg1 = (wxDateTime *) 0 ;
17918 int arg2 ;
17919 wxDateTime *result;
17920 PyObject * obj0 = 0 ;
17921 PyObject * obj1 = 0 ;
17922 char *kwnames[] = {
17923 (char *) "self",(char *) "month", NULL
17924 };
17925
17926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17929 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17930 if (PyErr_Occurred()) SWIG_fail;
17931 {
17932 PyThreadState* __tstate = wxPyBeginAllowThreads();
17933 {
17934 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17935 result = (wxDateTime *) &_result_ref;
17936 }
17937
17938 wxPyEndAllowThreads(__tstate);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17942 return resultobj;
17943 fail:
17944 return NULL;
17945 }
17946
17947
17948 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxDateTime *arg1 = (wxDateTime *) 0 ;
17951 int arg2 ;
17952 wxDateTime *result;
17953 PyObject * obj0 = 0 ;
17954 PyObject * obj1 = 0 ;
17955 char *kwnames[] = {
17956 (char *) "self",(char *) "day", NULL
17957 };
17958
17959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17962 arg2 = (int) SWIG_AsInt(obj1);
17963 if (PyErr_Occurred()) SWIG_fail;
17964 {
17965 PyThreadState* __tstate = wxPyBeginAllowThreads();
17966 {
17967 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17968 result = (wxDateTime *) &_result_ref;
17969 }
17970
17971 wxPyEndAllowThreads(__tstate);
17972 if (PyErr_Occurred()) SWIG_fail;
17973 }
17974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17975 return resultobj;
17976 fail:
17977 return NULL;
17978 }
17979
17980
17981 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17982 PyObject *resultobj;
17983 wxDateTime *arg1 = (wxDateTime *) 0 ;
17984 int arg2 ;
17985 wxDateTime *result;
17986 PyObject * obj0 = 0 ;
17987 PyObject * obj1 = 0 ;
17988 char *kwnames[] = {
17989 (char *) "self",(char *) "hour", NULL
17990 };
17991
17992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
17993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17995 arg2 = (int) SWIG_AsInt(obj1);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 {
17998 PyThreadState* __tstate = wxPyBeginAllowThreads();
17999 {
18000 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
18001 result = (wxDateTime *) &_result_ref;
18002 }
18003
18004 wxPyEndAllowThreads(__tstate);
18005 if (PyErr_Occurred()) SWIG_fail;
18006 }
18007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18008 return resultobj;
18009 fail:
18010 return NULL;
18011 }
18012
18013
18014 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
18015 PyObject *resultobj;
18016 wxDateTime *arg1 = (wxDateTime *) 0 ;
18017 int arg2 ;
18018 wxDateTime *result;
18019 PyObject * obj0 = 0 ;
18020 PyObject * obj1 = 0 ;
18021 char *kwnames[] = {
18022 (char *) "self",(char *) "minute", NULL
18023 };
18024
18025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
18026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18028 arg2 = (int) SWIG_AsInt(obj1);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 {
18031 PyThreadState* __tstate = wxPyBeginAllowThreads();
18032 {
18033 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
18034 result = (wxDateTime *) &_result_ref;
18035 }
18036
18037 wxPyEndAllowThreads(__tstate);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
18040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18041 return resultobj;
18042 fail:
18043 return NULL;
18044 }
18045
18046
18047 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18048 PyObject *resultobj;
18049 wxDateTime *arg1 = (wxDateTime *) 0 ;
18050 int arg2 ;
18051 wxDateTime *result;
18052 PyObject * obj0 = 0 ;
18053 PyObject * obj1 = 0 ;
18054 char *kwnames[] = {
18055 (char *) "self",(char *) "second", NULL
18056 };
18057
18058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
18059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18061 arg2 = (int) SWIG_AsInt(obj1);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 {
18064 PyThreadState* __tstate = wxPyBeginAllowThreads();
18065 {
18066 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
18067 result = (wxDateTime *) &_result_ref;
18068 }
18069
18070 wxPyEndAllowThreads(__tstate);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
18073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18074 return resultobj;
18075 fail:
18076 return NULL;
18077 }
18078
18079
18080 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18081 PyObject *resultobj;
18082 wxDateTime *arg1 = (wxDateTime *) 0 ;
18083 int arg2 ;
18084 wxDateTime *result;
18085 PyObject * obj0 = 0 ;
18086 PyObject * obj1 = 0 ;
18087 char *kwnames[] = {
18088 (char *) "self",(char *) "millisecond", NULL
18089 };
18090
18091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
18092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18094 arg2 = (int) SWIG_AsInt(obj1);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 {
18099 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
18100 result = (wxDateTime *) &_result_ref;
18101 }
18102
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
18106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18107 return resultobj;
18108 fail:
18109 return NULL;
18110 }
18111
18112
18113 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18114 PyObject *resultobj;
18115 wxDateTime *arg1 = (wxDateTime *) 0 ;
18116 int arg2 ;
18117 int arg3 = (int) wxDateTime::Monday_First ;
18118 wxDateTime *result;
18119 PyObject * obj0 = 0 ;
18120 PyObject * obj1 = 0 ;
18121 PyObject * obj2 = 0 ;
18122 char *kwnames[] = {
18123 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18124 };
18125
18126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18129 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18130 if (PyErr_Occurred()) SWIG_fail;
18131 if (obj2) {
18132 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 {
18138 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18139 result = (wxDateTime *) &_result_ref;
18140 }
18141
18142 wxPyEndAllowThreads(__tstate);
18143 if (PyErr_Occurred()) SWIG_fail;
18144 }
18145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18146 return resultobj;
18147 fail:
18148 return NULL;
18149 }
18150
18151
18152 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18153 PyObject *resultobj;
18154 wxDateTime *arg1 = (wxDateTime *) 0 ;
18155 int arg2 ;
18156 int arg3 = (int) wxDateTime::Monday_First ;
18157 wxDateTime result;
18158 PyObject * obj0 = 0 ;
18159 PyObject * obj1 = 0 ;
18160 PyObject * obj2 = 0 ;
18161 char *kwnames[] = {
18162 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18163 };
18164
18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18168 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 if (obj2) {
18171 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18172 if (PyErr_Occurred()) SWIG_fail;
18173 }
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 {
18182 wxDateTime * resultptr;
18183 resultptr = new wxDateTime((wxDateTime &) result);
18184 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18185 }
18186 return resultobj;
18187 fail:
18188 return NULL;
18189 }
18190
18191
18192 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18193 PyObject *resultobj;
18194 wxDateTime *arg1 = (wxDateTime *) 0 ;
18195 int arg2 ;
18196 wxDateTime *result;
18197 PyObject * obj0 = 0 ;
18198 PyObject * obj1 = 0 ;
18199 char *kwnames[] = {
18200 (char *) "self",(char *) "weekday", NULL
18201 };
18202
18203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18206 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 {
18209 PyThreadState* __tstate = wxPyBeginAllowThreads();
18210 {
18211 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18212 result = (wxDateTime *) &_result_ref;
18213 }
18214
18215 wxPyEndAllowThreads(__tstate);
18216 if (PyErr_Occurred()) SWIG_fail;
18217 }
18218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18219 return resultobj;
18220 fail:
18221 return NULL;
18222 }
18223
18224
18225 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18226 PyObject *resultobj;
18227 wxDateTime *arg1 = (wxDateTime *) 0 ;
18228 int arg2 ;
18229 wxDateTime result;
18230 PyObject * obj0 = 0 ;
18231 PyObject * obj1 = 0 ;
18232 char *kwnames[] = {
18233 (char *) "self",(char *) "weekday", NULL
18234 };
18235
18236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18239 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 {
18242 PyThreadState* __tstate = wxPyBeginAllowThreads();
18243 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18244
18245 wxPyEndAllowThreads(__tstate);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 }
18248 {
18249 wxDateTime * resultptr;
18250 resultptr = new wxDateTime((wxDateTime &) result);
18251 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18252 }
18253 return resultobj;
18254 fail:
18255 return NULL;
18256 }
18257
18258
18259 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18260 PyObject *resultobj;
18261 wxDateTime *arg1 = (wxDateTime *) 0 ;
18262 int arg2 ;
18263 wxDateTime *result;
18264 PyObject * obj0 = 0 ;
18265 PyObject * obj1 = 0 ;
18266 char *kwnames[] = {
18267 (char *) "self",(char *) "weekday", NULL
18268 };
18269
18270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18273 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 {
18276 PyThreadState* __tstate = wxPyBeginAllowThreads();
18277 {
18278 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18279 result = (wxDateTime *) &_result_ref;
18280 }
18281
18282 wxPyEndAllowThreads(__tstate);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 }
18285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18286 return resultobj;
18287 fail:
18288 return NULL;
18289 }
18290
18291
18292 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18293 PyObject *resultobj;
18294 wxDateTime *arg1 = (wxDateTime *) 0 ;
18295 int arg2 ;
18296 wxDateTime result;
18297 PyObject * obj0 = 0 ;
18298 PyObject * obj1 = 0 ;
18299 char *kwnames[] = {
18300 (char *) "self",(char *) "weekday", NULL
18301 };
18302
18303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18306 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 {
18316 wxDateTime * resultptr;
18317 resultptr = new wxDateTime((wxDateTime &) result);
18318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18319 }
18320 return resultobj;
18321 fail:
18322 return NULL;
18323 }
18324
18325
18326 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj;
18328 wxDateTime *arg1 = (wxDateTime *) 0 ;
18329 int arg2 ;
18330 int arg3 = (int) 1 ;
18331 int arg4 = (int) wxDateTime::Inv_Month ;
18332 int arg5 = (int) wxDateTime::Inv_Year ;
18333 bool result;
18334 PyObject * obj0 = 0 ;
18335 PyObject * obj1 = 0 ;
18336 PyObject * obj2 = 0 ;
18337 PyObject * obj3 = 0 ;
18338 PyObject * obj4 = 0 ;
18339 char *kwnames[] = {
18340 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18341 };
18342
18343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18346 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18347 if (PyErr_Occurred()) SWIG_fail;
18348 if (obj2) {
18349 arg3 = (int) SWIG_AsInt(obj2);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 if (obj3) {
18353 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 if (obj4) {
18357 arg5 = (int) SWIG_AsInt(obj4);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 {
18368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18369 }
18370 return resultobj;
18371 fail:
18372 return NULL;
18373 }
18374
18375
18376 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18377 PyObject *resultobj;
18378 wxDateTime *arg1 = (wxDateTime *) 0 ;
18379 int arg2 ;
18380 int arg3 = (int) wxDateTime::Inv_Month ;
18381 int arg4 = (int) wxDateTime::Inv_Year ;
18382 bool result;
18383 PyObject * obj0 = 0 ;
18384 PyObject * obj1 = 0 ;
18385 PyObject * obj2 = 0 ;
18386 PyObject * obj3 = 0 ;
18387 char *kwnames[] = {
18388 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18389 };
18390
18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18394 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 if (obj2) {
18397 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18398 if (PyErr_Occurred()) SWIG_fail;
18399 }
18400 if (obj3) {
18401 arg4 = (int) SWIG_AsInt(obj3);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 {
18405 PyThreadState* __tstate = wxPyBeginAllowThreads();
18406 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18407
18408 wxPyEndAllowThreads(__tstate);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 }
18411 {
18412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18413 }
18414 return resultobj;
18415 fail:
18416 return NULL;
18417 }
18418
18419
18420 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18421 PyObject *resultobj;
18422 wxDateTime *arg1 = (wxDateTime *) 0 ;
18423 int arg2 ;
18424 int arg3 = (int) wxDateTime::Inv_Month ;
18425 int arg4 = (int) wxDateTime::Inv_Year ;
18426 wxDateTime result;
18427 PyObject * obj0 = 0 ;
18428 PyObject * obj1 = 0 ;
18429 PyObject * obj2 = 0 ;
18430 PyObject * obj3 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18438 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18439 if (PyErr_Occurred()) SWIG_fail;
18440 if (obj2) {
18441 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 if (obj3) {
18445 arg4 = (int) SWIG_AsInt(obj3);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 {
18456 wxDateTime * resultptr;
18457 resultptr = new wxDateTime((wxDateTime &) result);
18458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18459 }
18460 return resultobj;
18461 fail:
18462 return NULL;
18463 }
18464
18465
18466 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18467 PyObject *resultobj;
18468 wxDateTime *arg1 = (wxDateTime *) 0 ;
18469 int arg2 ;
18470 int arg3 = (int) wxDateTime::Mon ;
18471 int arg4 = (int) wxDateTime::Monday_First ;
18472 bool result;
18473 PyObject * obj0 = 0 ;
18474 PyObject * obj1 = 0 ;
18475 PyObject * obj2 = 0 ;
18476 PyObject * obj3 = 0 ;
18477 char *kwnames[] = {
18478 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18479 };
18480
18481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18484 arg2 = (int) SWIG_AsInt(obj1);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 if (obj2) {
18487 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18488 if (PyErr_Occurred()) SWIG_fail;
18489 }
18490 if (obj3) {
18491 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 {
18502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18503 }
18504 return resultobj;
18505 fail:
18506 return NULL;
18507 }
18508
18509
18510 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18511 PyObject *resultobj;
18512 wxDateTime *arg1 = (wxDateTime *) 0 ;
18513 int arg2 ;
18514 int arg3 = (int) wxDateTime::Mon ;
18515 int arg4 = (int) wxDateTime::Monday_First ;
18516 wxDateTime result;
18517 PyObject * obj0 = 0 ;
18518 PyObject * obj1 = 0 ;
18519 PyObject * obj2 = 0 ;
18520 PyObject * obj3 = 0 ;
18521 char *kwnames[] = {
18522 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18523 };
18524
18525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18528 arg2 = (int) SWIG_AsInt(obj1);
18529 if (PyErr_Occurred()) SWIG_fail;
18530 if (obj2) {
18531 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 }
18534 if (obj3) {
18535 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18541
18542 wxPyEndAllowThreads(__tstate);
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
18545 {
18546 wxDateTime * resultptr;
18547 resultptr = new wxDateTime((wxDateTime &) result);
18548 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18549 }
18550 return resultobj;
18551 fail:
18552 return NULL;
18553 }
18554
18555
18556 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18557 PyObject *resultobj;
18558 wxDateTime *arg1 = (wxDateTime *) 0 ;
18559 int arg2 = (int) wxDateTime::Inv_Month ;
18560 int arg3 = (int) wxDateTime::Inv_Year ;
18561 wxDateTime *result;
18562 PyObject * obj0 = 0 ;
18563 PyObject * obj1 = 0 ;
18564 PyObject * obj2 = 0 ;
18565 char *kwnames[] = {
18566 (char *) "self",(char *) "month",(char *) "year", NULL
18567 };
18568
18569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18572 if (obj1) {
18573 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18574 if (PyErr_Occurred()) SWIG_fail;
18575 }
18576 if (obj2) {
18577 arg3 = (int) SWIG_AsInt(obj2);
18578 if (PyErr_Occurred()) SWIG_fail;
18579 }
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
18582 {
18583 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18584 result = (wxDateTime *) &_result_ref;
18585 }
18586
18587 wxPyEndAllowThreads(__tstate);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
18590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18591 return resultobj;
18592 fail:
18593 return NULL;
18594 }
18595
18596
18597 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18598 PyObject *resultobj;
18599 wxDateTime *arg1 = (wxDateTime *) 0 ;
18600 int arg2 = (int) wxDateTime::Inv_Month ;
18601 int arg3 = (int) wxDateTime::Inv_Year ;
18602 wxDateTime result;
18603 PyObject * obj0 = 0 ;
18604 PyObject * obj1 = 0 ;
18605 PyObject * obj2 = 0 ;
18606 char *kwnames[] = {
18607 (char *) "self",(char *) "month",(char *) "year", NULL
18608 };
18609
18610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18613 if (obj1) {
18614 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18615 if (PyErr_Occurred()) SWIG_fail;
18616 }
18617 if (obj2) {
18618 arg3 = (int) SWIG_AsInt(obj2);
18619 if (PyErr_Occurred()) SWIG_fail;
18620 }
18621 {
18622 PyThreadState* __tstate = wxPyBeginAllowThreads();
18623 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18624
18625 wxPyEndAllowThreads(__tstate);
18626 if (PyErr_Occurred()) SWIG_fail;
18627 }
18628 {
18629 wxDateTime * resultptr;
18630 resultptr = new wxDateTime((wxDateTime &) result);
18631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18632 }
18633 return resultobj;
18634 fail:
18635 return NULL;
18636 }
18637
18638
18639 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18640 PyObject *resultobj;
18641 wxDateTime *arg1 = (wxDateTime *) 0 ;
18642 int arg2 ;
18643 wxDateTime *result;
18644 PyObject * obj0 = 0 ;
18645 PyObject * obj1 = 0 ;
18646 char *kwnames[] = {
18647 (char *) "self",(char *) "yday", NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18653 arg2 = (int) SWIG_AsInt(obj1);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 {
18658 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18659 result = (wxDateTime *) &_result_ref;
18660 }
18661
18662 wxPyEndAllowThreads(__tstate);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
18665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18666 return resultobj;
18667 fail:
18668 return NULL;
18669 }
18670
18671
18672 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18673 PyObject *resultobj;
18674 wxDateTime *arg1 = (wxDateTime *) 0 ;
18675 int arg2 ;
18676 wxDateTime result;
18677 PyObject * obj0 = 0 ;
18678 PyObject * obj1 = 0 ;
18679 char *kwnames[] = {
18680 (char *) "self",(char *) "yday", NULL
18681 };
18682
18683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18686 arg2 = (int) SWIG_AsInt(obj1);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 result = (arg1)->GetYearDay(arg2);
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 {
18696 wxDateTime * resultptr;
18697 resultptr = new wxDateTime((wxDateTime &) result);
18698 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18699 }
18700 return resultobj;
18701 fail:
18702 return NULL;
18703 }
18704
18705
18706 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18707 PyObject *resultobj;
18708 wxDateTime *arg1 = (wxDateTime *) 0 ;
18709 double result;
18710 PyObject * obj0 = 0 ;
18711 char *kwnames[] = {
18712 (char *) "self", NULL
18713 };
18714
18715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18718 {
18719 PyThreadState* __tstate = wxPyBeginAllowThreads();
18720 result = (double)(arg1)->GetJulianDayNumber();
18721
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 resultobj = SWIG_FromDouble((double)result);
18726 return resultobj;
18727 fail:
18728 return NULL;
18729 }
18730
18731
18732 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxDateTime *arg1 = (wxDateTime *) 0 ;
18735 double result;
18736 PyObject * obj0 = 0 ;
18737 char *kwnames[] = {
18738 (char *) "self", NULL
18739 };
18740
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 result = (double)(arg1)->GetJDN();
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 resultobj = SWIG_FromDouble((double)result);
18752 return resultobj;
18753 fail:
18754 return NULL;
18755 }
18756
18757
18758 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18759 PyObject *resultobj;
18760 wxDateTime *arg1 = (wxDateTime *) 0 ;
18761 double result;
18762 PyObject * obj0 = 0 ;
18763 char *kwnames[] = {
18764 (char *) "self", NULL
18765 };
18766
18767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 resultobj = SWIG_FromDouble((double)result);
18778 return resultobj;
18779 fail:
18780 return NULL;
18781 }
18782
18783
18784 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18785 PyObject *resultobj;
18786 wxDateTime *arg1 = (wxDateTime *) 0 ;
18787 double result;
18788 PyObject * obj0 = 0 ;
18789 char *kwnames[] = {
18790 (char *) "self", NULL
18791 };
18792
18793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18796 {
18797 PyThreadState* __tstate = wxPyBeginAllowThreads();
18798 result = (double)(arg1)->GetMJD();
18799
18800 wxPyEndAllowThreads(__tstate);
18801 if (PyErr_Occurred()) SWIG_fail;
18802 }
18803 resultobj = SWIG_FromDouble((double)result);
18804 return resultobj;
18805 fail:
18806 return NULL;
18807 }
18808
18809
18810 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18811 PyObject *resultobj;
18812 wxDateTime *arg1 = (wxDateTime *) 0 ;
18813 double result;
18814 PyObject * obj0 = 0 ;
18815 char *kwnames[] = {
18816 (char *) "self", NULL
18817 };
18818
18819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18822 {
18823 PyThreadState* __tstate = wxPyBeginAllowThreads();
18824 result = (double)(arg1)->GetRataDie();
18825
18826 wxPyEndAllowThreads(__tstate);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 }
18829 resultobj = SWIG_FromDouble((double)result);
18830 return resultobj;
18831 fail:
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 wxDateTime *arg1 = (wxDateTime *) 0 ;
18839 wxDateTime::TimeZone *arg2 = 0 ;
18840 bool arg3 = (bool) False ;
18841 wxDateTime result;
18842 bool temp2 = False ;
18843 PyObject * obj0 = 0 ;
18844 PyObject * obj1 = 0 ;
18845 PyObject * obj2 = 0 ;
18846 char *kwnames[] = {
18847 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18848 };
18849
18850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18853 {
18854 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18855 temp2 = True;
18856 }
18857 if (obj2) {
18858 arg3 = (bool) SWIG_AsBool(obj2);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 {
18862 PyThreadState* __tstate = wxPyBeginAllowThreads();
18863 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18864
18865 wxPyEndAllowThreads(__tstate);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 }
18868 {
18869 wxDateTime * resultptr;
18870 resultptr = new wxDateTime((wxDateTime &) result);
18871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18872 }
18873 {
18874 if (temp2) delete arg2;
18875 }
18876 return resultobj;
18877 fail:
18878 {
18879 if (temp2) delete arg2;
18880 }
18881 return NULL;
18882 }
18883
18884
18885 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj;
18887 wxDateTime *arg1 = (wxDateTime *) 0 ;
18888 wxDateTime::TimeZone *arg2 = 0 ;
18889 bool arg3 = (bool) False ;
18890 wxDateTime *result;
18891 bool temp2 = False ;
18892 PyObject * obj0 = 0 ;
18893 PyObject * obj1 = 0 ;
18894 PyObject * obj2 = 0 ;
18895 char *kwnames[] = {
18896 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18897 };
18898
18899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18902 {
18903 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18904 temp2 = True;
18905 }
18906 if (obj2) {
18907 arg3 = (bool) SWIG_AsBool(obj2);
18908 if (PyErr_Occurred()) SWIG_fail;
18909 }
18910 {
18911 PyThreadState* __tstate = wxPyBeginAllowThreads();
18912 {
18913 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18914 result = (wxDateTime *) &_result_ref;
18915 }
18916
18917 wxPyEndAllowThreads(__tstate);
18918 if (PyErr_Occurred()) SWIG_fail;
18919 }
18920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18921 {
18922 if (temp2) delete arg2;
18923 }
18924 return resultobj;
18925 fail:
18926 {
18927 if (temp2) delete arg2;
18928 }
18929 return NULL;
18930 }
18931
18932
18933 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj;
18935 wxDateTime *arg1 = (wxDateTime *) 0 ;
18936 bool arg2 = (bool) False ;
18937 wxDateTime result;
18938 PyObject * obj0 = 0 ;
18939 PyObject * obj1 = 0 ;
18940 char *kwnames[] = {
18941 (char *) "self",(char *) "noDST", NULL
18942 };
18943
18944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18947 if (obj1) {
18948 arg2 = (bool) SWIG_AsBool(obj1);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 {
18952 PyThreadState* __tstate = wxPyBeginAllowThreads();
18953 result = (arg1)->ToGMT(arg2);
18954
18955 wxPyEndAllowThreads(__tstate);
18956 if (PyErr_Occurred()) SWIG_fail;
18957 }
18958 {
18959 wxDateTime * resultptr;
18960 resultptr = new wxDateTime((wxDateTime &) result);
18961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18962 }
18963 return resultobj;
18964 fail:
18965 return NULL;
18966 }
18967
18968
18969 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18970 PyObject *resultobj;
18971 wxDateTime *arg1 = (wxDateTime *) 0 ;
18972 bool arg2 = (bool) False ;
18973 wxDateTime *result;
18974 PyObject * obj0 = 0 ;
18975 PyObject * obj1 = 0 ;
18976 char *kwnames[] = {
18977 (char *) "self",(char *) "noDST", NULL
18978 };
18979
18980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18983 if (obj1) {
18984 arg2 = (bool) SWIG_AsBool(obj1);
18985 if (PyErr_Occurred()) SWIG_fail;
18986 }
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 {
18990 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18991 result = (wxDateTime *) &_result_ref;
18992 }
18993
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18998 return resultobj;
18999 fail:
19000 return NULL;
19001 }
19002
19003
19004 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
19005 PyObject *resultobj;
19006 wxDateTime *arg1 = (wxDateTime *) 0 ;
19007 int arg2 = (int) wxDateTime::Country_Default ;
19008 int result;
19009 PyObject * obj0 = 0 ;
19010 PyObject * obj1 = 0 ;
19011 char *kwnames[] = {
19012 (char *) "self",(char *) "country", NULL
19013 };
19014
19015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
19016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19018 if (obj1) {
19019 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19020 if (PyErr_Occurred()) SWIG_fail;
19021 }
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
19025
19026 wxPyEndAllowThreads(__tstate);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 resultobj = SWIG_FromInt((int)result);
19030 return resultobj;
19031 fail:
19032 return NULL;
19033 }
19034
19035
19036 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
19037 PyObject *resultobj;
19038 wxDateTime *arg1 = (wxDateTime *) 0 ;
19039 bool result;
19040 PyObject * obj0 = 0 ;
19041 char *kwnames[] = {
19042 (char *) "self", NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
19046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 result = (bool)((wxDateTime const *)arg1)->IsValid();
19051
19052 wxPyEndAllowThreads(__tstate);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 }
19055 {
19056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19057 }
19058 return resultobj;
19059 fail:
19060 return NULL;
19061 }
19062
19063
19064 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
19065 PyObject *resultobj;
19066 wxDateTime *arg1 = (wxDateTime *) 0 ;
19067 time_t result;
19068 PyObject * obj0 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "self", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
19074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
19079
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
19083 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
19084 return resultobj;
19085 fail:
19086 return NULL;
19087 }
19088
19089
19090 static PyObject *_wrap_DateTime_GetYear(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_GetYear",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)->GetYear((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_GetMonth(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_GetMonth",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)->GetMonth((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_GetDay(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_GetDay",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)->GetDay((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_GetWeekDay(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_GetWeekDay",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)->GetWeekDay((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_GetHour(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_GetHour",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)->GetHour((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_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
19301 PyObject *resultobj;
19302 wxDateTime *arg1 = (wxDateTime *) 0 ;
19303 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19304 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19305 int result;
19306 bool temp2 = False ;
19307 PyObject * obj0 = 0 ;
19308 PyObject * obj1 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "self",(char *) "tz", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19316 if (obj1) {
19317 {
19318 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19319 temp2 = True;
19320 }
19321 }
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19325
19326 wxPyEndAllowThreads(__tstate);
19327 if (PyErr_Occurred()) SWIG_fail;
19328 }
19329 resultobj = SWIG_FromInt((int)result);
19330 {
19331 if (temp2) delete arg2;
19332 }
19333 return resultobj;
19334 fail:
19335 {
19336 if (temp2) delete arg2;
19337 }
19338 return NULL;
19339 }
19340
19341
19342 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19343 PyObject *resultobj;
19344 wxDateTime *arg1 = (wxDateTime *) 0 ;
19345 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19346 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19347 int result;
19348 bool temp2 = False ;
19349 PyObject * obj0 = 0 ;
19350 PyObject * obj1 = 0 ;
19351 char *kwnames[] = {
19352 (char *) "self",(char *) "tz", NULL
19353 };
19354
19355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19358 if (obj1) {
19359 {
19360 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19361 temp2 = True;
19362 }
19363 }
19364 {
19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
19366 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19367
19368 wxPyEndAllowThreads(__tstate);
19369 if (PyErr_Occurred()) SWIG_fail;
19370 }
19371 resultobj = SWIG_FromInt((int)result);
19372 {
19373 if (temp2) delete arg2;
19374 }
19375 return resultobj;
19376 fail:
19377 {
19378 if (temp2) delete arg2;
19379 }
19380 return NULL;
19381 }
19382
19383
19384 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj;
19386 wxDateTime *arg1 = (wxDateTime *) 0 ;
19387 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19388 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19389 int result;
19390 bool temp2 = False ;
19391 PyObject * obj0 = 0 ;
19392 PyObject * obj1 = 0 ;
19393 char *kwnames[] = {
19394 (char *) "self",(char *) "tz", NULL
19395 };
19396
19397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19400 if (obj1) {
19401 {
19402 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19403 temp2 = True;
19404 }
19405 }
19406 {
19407 PyThreadState* __tstate = wxPyBeginAllowThreads();
19408 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19409
19410 wxPyEndAllowThreads(__tstate);
19411 if (PyErr_Occurred()) SWIG_fail;
19412 }
19413 resultobj = SWIG_FromInt((int)result);
19414 {
19415 if (temp2) delete arg2;
19416 }
19417 return resultobj;
19418 fail:
19419 {
19420 if (temp2) delete arg2;
19421 }
19422 return NULL;
19423 }
19424
19425
19426 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19427 PyObject *resultobj;
19428 wxDateTime *arg1 = (wxDateTime *) 0 ;
19429 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19430 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19431 int result;
19432 bool temp2 = False ;
19433 PyObject * obj0 = 0 ;
19434 PyObject * obj1 = 0 ;
19435 char *kwnames[] = {
19436 (char *) "self",(char *) "tz", NULL
19437 };
19438
19439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19442 if (obj1) {
19443 {
19444 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19445 temp2 = True;
19446 }
19447 }
19448 {
19449 PyThreadState* __tstate = wxPyBeginAllowThreads();
19450 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19451
19452 wxPyEndAllowThreads(__tstate);
19453 if (PyErr_Occurred()) SWIG_fail;
19454 }
19455 resultobj = SWIG_FromInt((int)result);
19456 {
19457 if (temp2) delete arg2;
19458 }
19459 return resultobj;
19460 fail:
19461 {
19462 if (temp2) delete arg2;
19463 }
19464 return NULL;
19465 }
19466
19467
19468 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 wxDateTime *arg1 = (wxDateTime *) 0 ;
19471 int arg2 = (int) wxDateTime::Monday_First ;
19472 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19473 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19474 int result;
19475 bool temp3 = False ;
19476 PyObject * obj0 = 0 ;
19477 PyObject * obj1 = 0 ;
19478 PyObject * obj2 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self",(char *) "flags",(char *) "tz", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19486 if (obj1) {
19487 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19488 if (PyErr_Occurred()) SWIG_fail;
19489 }
19490 if (obj2) {
19491 {
19492 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19493 temp3 = True;
19494 }
19495 }
19496 {
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
19498 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19499
19500 wxPyEndAllowThreads(__tstate);
19501 if (PyErr_Occurred()) SWIG_fail;
19502 }
19503 resultobj = SWIG_FromInt((int)result);
19504 {
19505 if (temp3) delete arg3;
19506 }
19507 return resultobj;
19508 fail:
19509 {
19510 if (temp3) delete arg3;
19511 }
19512 return NULL;
19513 }
19514
19515
19516 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19517 PyObject *resultobj;
19518 wxDateTime *arg1 = (wxDateTime *) 0 ;
19519 int arg2 = (int) wxDateTime::Monday_First ;
19520 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19521 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19522 int result;
19523 bool temp3 = False ;
19524 PyObject * obj0 = 0 ;
19525 PyObject * obj1 = 0 ;
19526 PyObject * obj2 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "self",(char *) "flags",(char *) "tz", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19534 if (obj1) {
19535 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 if (obj2) {
19539 {
19540 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19541 temp3 = True;
19542 }
19543 }
19544 {
19545 PyThreadState* __tstate = wxPyBeginAllowThreads();
19546 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19547
19548 wxPyEndAllowThreads(__tstate);
19549 if (PyErr_Occurred()) SWIG_fail;
19550 }
19551 resultobj = SWIG_FromInt((int)result);
19552 {
19553 if (temp3) delete arg3;
19554 }
19555 return resultobj;
19556 fail:
19557 {
19558 if (temp3) delete arg3;
19559 }
19560 return NULL;
19561 }
19562
19563
19564 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19565 PyObject *resultobj;
19566 wxDateTime *arg1 = (wxDateTime *) 0 ;
19567 int arg2 = (int) wxDateTime::Country_Default ;
19568 bool result;
19569 PyObject * obj0 = 0 ;
19570 PyObject * obj1 = 0 ;
19571 char *kwnames[] = {
19572 (char *) "self",(char *) "country", NULL
19573 };
19574
19575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19578 if (obj1) {
19579 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19580 if (PyErr_Occurred()) SWIG_fail;
19581 }
19582 {
19583 PyThreadState* __tstate = wxPyBeginAllowThreads();
19584 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19585
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 {
19590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19591 }
19592 return resultobj;
19593 fail:
19594 return NULL;
19595 }
19596
19597
19598 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj;
19600 wxDateTime *arg1 = (wxDateTime *) 0 ;
19601 wxDateTime *arg2 = 0 ;
19602 bool result;
19603 PyObject * obj0 = 0 ;
19604 PyObject * obj1 = 0 ;
19605 char *kwnames[] = {
19606 (char *) "self",(char *) "datetime", NULL
19607 };
19608
19609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19613 SWIG_POINTER_EXCEPTION | 0)) == -1)
19614 SWIG_fail;
19615 if (arg2 == NULL) {
19616 PyErr_SetString(PyExc_TypeError,"null reference");
19617 SWIG_fail;
19618 }
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 {
19627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19628 }
19629 return resultobj;
19630 fail:
19631 return NULL;
19632 }
19633
19634
19635 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19636 PyObject *resultobj;
19637 wxDateTime *arg1 = (wxDateTime *) 0 ;
19638 wxDateTime *arg2 = 0 ;
19639 bool result;
19640 PyObject * obj0 = 0 ;
19641 PyObject * obj1 = 0 ;
19642 char *kwnames[] = {
19643 (char *) "self",(char *) "datetime", NULL
19644 };
19645
19646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19649 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19650 SWIG_POINTER_EXCEPTION | 0)) == -1)
19651 SWIG_fail;
19652 if (arg2 == NULL) {
19653 PyErr_SetString(PyExc_TypeError,"null reference");
19654 SWIG_fail;
19655 }
19656 {
19657 PyThreadState* __tstate = wxPyBeginAllowThreads();
19658 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19659
19660 wxPyEndAllowThreads(__tstate);
19661 if (PyErr_Occurred()) SWIG_fail;
19662 }
19663 {
19664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19665 }
19666 return resultobj;
19667 fail:
19668 return NULL;
19669 }
19670
19671
19672 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19673 PyObject *resultobj;
19674 wxDateTime *arg1 = (wxDateTime *) 0 ;
19675 wxDateTime *arg2 = 0 ;
19676 bool result;
19677 PyObject * obj0 = 0 ;
19678 PyObject * obj1 = 0 ;
19679 char *kwnames[] = {
19680 (char *) "self",(char *) "datetime", NULL
19681 };
19682
19683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19687 SWIG_POINTER_EXCEPTION | 0)) == -1)
19688 SWIG_fail;
19689 if (arg2 == NULL) {
19690 PyErr_SetString(PyExc_TypeError,"null reference");
19691 SWIG_fail;
19692 }
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 {
19701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19702 }
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxDateTime *arg1 = (wxDateTime *) 0 ;
19712 wxDateTime *arg2 = 0 ;
19713 wxDateTime *arg3 = 0 ;
19714 bool result;
19715 PyObject * obj0 = 0 ;
19716 PyObject * obj1 = 0 ;
19717 PyObject * obj2 = 0 ;
19718 char *kwnames[] = {
19719 (char *) "self",(char *) "t1",(char *) "t2", NULL
19720 };
19721
19722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19726 SWIG_POINTER_EXCEPTION | 0)) == -1)
19727 SWIG_fail;
19728 if (arg2 == NULL) {
19729 PyErr_SetString(PyExc_TypeError,"null reference");
19730 SWIG_fail;
19731 }
19732 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19733 SWIG_POINTER_EXCEPTION | 0)) == -1)
19734 SWIG_fail;
19735 if (arg3 == NULL) {
19736 PyErr_SetString(PyExc_TypeError,"null reference");
19737 SWIG_fail;
19738 }
19739 {
19740 PyThreadState* __tstate = wxPyBeginAllowThreads();
19741 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19742
19743 wxPyEndAllowThreads(__tstate);
19744 if (PyErr_Occurred()) SWIG_fail;
19745 }
19746 {
19747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19748 }
19749 return resultobj;
19750 fail:
19751 return NULL;
19752 }
19753
19754
19755 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19756 PyObject *resultobj;
19757 wxDateTime *arg1 = (wxDateTime *) 0 ;
19758 wxDateTime *arg2 = 0 ;
19759 wxDateTime *arg3 = 0 ;
19760 bool result;
19761 PyObject * obj0 = 0 ;
19762 PyObject * obj1 = 0 ;
19763 PyObject * obj2 = 0 ;
19764 char *kwnames[] = {
19765 (char *) "self",(char *) "t1",(char *) "t2", NULL
19766 };
19767
19768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19772 SWIG_POINTER_EXCEPTION | 0)) == -1)
19773 SWIG_fail;
19774 if (arg2 == NULL) {
19775 PyErr_SetString(PyExc_TypeError,"null reference");
19776 SWIG_fail;
19777 }
19778 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19779 SWIG_POINTER_EXCEPTION | 0)) == -1)
19780 SWIG_fail;
19781 if (arg3 == NULL) {
19782 PyErr_SetString(PyExc_TypeError,"null reference");
19783 SWIG_fail;
19784 }
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19788
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 {
19793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19794 }
19795 return resultobj;
19796 fail:
19797 return NULL;
19798 }
19799
19800
19801 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19802 PyObject *resultobj;
19803 wxDateTime *arg1 = (wxDateTime *) 0 ;
19804 wxDateTime *arg2 = 0 ;
19805 bool result;
19806 PyObject * obj0 = 0 ;
19807 PyObject * obj1 = 0 ;
19808 char *kwnames[] = {
19809 (char *) "self",(char *) "dt", NULL
19810 };
19811
19812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19816 SWIG_POINTER_EXCEPTION | 0)) == -1)
19817 SWIG_fail;
19818 if (arg2 == NULL) {
19819 PyErr_SetString(PyExc_TypeError,"null reference");
19820 SWIG_fail;
19821 }
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 {
19830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19831 }
19832 return resultobj;
19833 fail:
19834 return NULL;
19835 }
19836
19837
19838 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19839 PyObject *resultobj;
19840 wxDateTime *arg1 = (wxDateTime *) 0 ;
19841 wxDateTime *arg2 = 0 ;
19842 bool result;
19843 PyObject * obj0 = 0 ;
19844 PyObject * obj1 = 0 ;
19845 char *kwnames[] = {
19846 (char *) "self",(char *) "dt", NULL
19847 };
19848
19849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19853 SWIG_POINTER_EXCEPTION | 0)) == -1)
19854 SWIG_fail;
19855 if (arg2 == NULL) {
19856 PyErr_SetString(PyExc_TypeError,"null reference");
19857 SWIG_fail;
19858 }
19859 {
19860 PyThreadState* __tstate = wxPyBeginAllowThreads();
19861 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19862
19863 wxPyEndAllowThreads(__tstate);
19864 if (PyErr_Occurred()) SWIG_fail;
19865 }
19866 {
19867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19868 }
19869 return resultobj;
19870 fail:
19871 return NULL;
19872 }
19873
19874
19875 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19876 PyObject *resultobj;
19877 wxDateTime *arg1 = (wxDateTime *) 0 ;
19878 wxDateTime *arg2 = 0 ;
19879 wxTimeSpan *arg3 = 0 ;
19880 bool result;
19881 PyObject * obj0 = 0 ;
19882 PyObject * obj1 = 0 ;
19883 PyObject * obj2 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self",(char *) "dt",(char *) "ts", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19892 SWIG_POINTER_EXCEPTION | 0)) == -1)
19893 SWIG_fail;
19894 if (arg2 == NULL) {
19895 PyErr_SetString(PyExc_TypeError,"null reference");
19896 SWIG_fail;
19897 }
19898 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19899 SWIG_POINTER_EXCEPTION | 0)) == -1)
19900 SWIG_fail;
19901 if (arg3 == NULL) {
19902 PyErr_SetString(PyExc_TypeError,"null reference");
19903 SWIG_fail;
19904 }
19905 {
19906 PyThreadState* __tstate = wxPyBeginAllowThreads();
19907 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19908
19909 wxPyEndAllowThreads(__tstate);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 }
19912 {
19913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19914 }
19915 return resultobj;
19916 fail:
19917 return NULL;
19918 }
19919
19920
19921 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19922 PyObject *resultobj;
19923 wxDateTime *arg1 = (wxDateTime *) 0 ;
19924 wxTimeSpan *arg2 = 0 ;
19925 wxDateTime *result;
19926 PyObject * obj0 = 0 ;
19927 PyObject * obj1 = 0 ;
19928 char *kwnames[] = {
19929 (char *) "self",(char *) "diff", NULL
19930 };
19931
19932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19936 SWIG_POINTER_EXCEPTION | 0)) == -1)
19937 SWIG_fail;
19938 if (arg2 == NULL) {
19939 PyErr_SetString(PyExc_TypeError,"null reference");
19940 SWIG_fail;
19941 }
19942 {
19943 PyThreadState* __tstate = wxPyBeginAllowThreads();
19944 {
19945 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19946 result = (wxDateTime *) &_result_ref;
19947 }
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19953 return resultobj;
19954 fail:
19955 return NULL;
19956 }
19957
19958
19959 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19960 PyObject *resultobj;
19961 wxDateTime *arg1 = (wxDateTime *) 0 ;
19962 wxDateSpan *arg2 = 0 ;
19963 wxDateTime *result;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self",(char *) "diff", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19974 SWIG_POINTER_EXCEPTION | 0)) == -1)
19975 SWIG_fail;
19976 if (arg2 == NULL) {
19977 PyErr_SetString(PyExc_TypeError,"null reference");
19978 SWIG_fail;
19979 }
19980 {
19981 PyThreadState* __tstate = wxPyBeginAllowThreads();
19982 {
19983 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19984 result = (wxDateTime *) &_result_ref;
19985 }
19986
19987 wxPyEndAllowThreads(__tstate);
19988 if (PyErr_Occurred()) SWIG_fail;
19989 }
19990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19991 return resultobj;
19992 fail:
19993 return NULL;
19994 }
19995
19996
19997 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj;
19999 wxDateTime *arg1 = (wxDateTime *) 0 ;
20000 wxTimeSpan *arg2 = 0 ;
20001 wxDateTime *result;
20002 PyObject * obj0 = 0 ;
20003 PyObject * obj1 = 0 ;
20004 char *kwnames[] = {
20005 (char *) "self",(char *) "diff", NULL
20006 };
20007
20008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
20009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20012 SWIG_POINTER_EXCEPTION | 0)) == -1)
20013 SWIG_fail;
20014 if (arg2 == NULL) {
20015 PyErr_SetString(PyExc_TypeError,"null reference");
20016 SWIG_fail;
20017 }
20018 {
20019 PyThreadState* __tstate = wxPyBeginAllowThreads();
20020 {
20021 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
20022 result = (wxDateTime *) &_result_ref;
20023 }
20024
20025 wxPyEndAllowThreads(__tstate);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20029 return resultobj;
20030 fail:
20031 return NULL;
20032 }
20033
20034
20035 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
20036 PyObject *resultobj;
20037 wxDateTime *arg1 = (wxDateTime *) 0 ;
20038 wxDateSpan *arg2 = 0 ;
20039 wxDateTime *result;
20040 PyObject * obj0 = 0 ;
20041 PyObject * obj1 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self",(char *) "diff", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
20047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20050 SWIG_POINTER_EXCEPTION | 0)) == -1)
20051 SWIG_fail;
20052 if (arg2 == NULL) {
20053 PyErr_SetString(PyExc_TypeError,"null reference");
20054 SWIG_fail;
20055 }
20056 {
20057 PyThreadState* __tstate = wxPyBeginAllowThreads();
20058 {
20059 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20060 result = (wxDateTime *) &_result_ref;
20061 }
20062
20063 wxPyEndAllowThreads(__tstate);
20064 if (PyErr_Occurred()) SWIG_fail;
20065 }
20066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20067 return resultobj;
20068 fail:
20069 return NULL;
20070 }
20071
20072
20073 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20074 PyObject *resultobj;
20075 wxDateTime *arg1 = (wxDateTime *) 0 ;
20076 wxDateTime *arg2 = 0 ;
20077 wxTimeSpan result;
20078 PyObject * obj0 = 0 ;
20079 PyObject * obj1 = 0 ;
20080 char *kwnames[] = {
20081 (char *) "self",(char *) "dt", NULL
20082 };
20083
20084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
20085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20088 SWIG_POINTER_EXCEPTION | 0)) == -1)
20089 SWIG_fail;
20090 if (arg2 == NULL) {
20091 PyErr_SetString(PyExc_TypeError,"null reference");
20092 SWIG_fail;
20093 }
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 {
20102 wxTimeSpan * resultptr;
20103 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20105 }
20106 return resultobj;
20107 fail:
20108 return NULL;
20109 }
20110
20111
20112 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
20113 PyObject *resultobj;
20114 wxDateTime *arg1 = (wxDateTime *) 0 ;
20115 wxTimeSpan *arg2 = 0 ;
20116 wxDateTime *result;
20117 PyObject * obj0 = 0 ;
20118 PyObject * obj1 = 0 ;
20119
20120 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20124 SWIG_POINTER_EXCEPTION | 0)) == -1)
20125 SWIG_fail;
20126 if (arg2 == NULL) {
20127 PyErr_SetString(PyExc_TypeError,"null reference");
20128 SWIG_fail;
20129 }
20130 {
20131 PyThreadState* __tstate = wxPyBeginAllowThreads();
20132 {
20133 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
20134 result = (wxDateTime *) &_result_ref;
20135 }
20136
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20141 return resultobj;
20142 fail:
20143 return NULL;
20144 }
20145
20146
20147 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
20148 PyObject *resultobj;
20149 wxDateTime *arg1 = (wxDateTime *) 0 ;
20150 wxDateSpan *arg2 = 0 ;
20151 wxDateTime *result;
20152 PyObject * obj0 = 0 ;
20153 PyObject * obj1 = 0 ;
20154
20155 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20159 SWIG_POINTER_EXCEPTION | 0)) == -1)
20160 SWIG_fail;
20161 if (arg2 == NULL) {
20162 PyErr_SetString(PyExc_TypeError,"null reference");
20163 SWIG_fail;
20164 }
20165 {
20166 PyThreadState* __tstate = wxPyBeginAllowThreads();
20167 {
20168 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20169 result = (wxDateTime *) &_result_ref;
20170 }
20171
20172 wxPyEndAllowThreads(__tstate);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20176 return resultobj;
20177 fail:
20178 return NULL;
20179 }
20180
20181
20182 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20183 int argc;
20184 PyObject *argv[3];
20185 int ii;
20186
20187 argc = PyObject_Length(args);
20188 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20189 argv[ii] = PyTuple_GetItem(args,ii);
20190 }
20191 if (argc == 2) {
20192 int _v;
20193 {
20194 void *ptr;
20195 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20196 _v = 0;
20197 PyErr_Clear();
20198 } else {
20199 _v = 1;
20200 }
20201 }
20202 if (_v) {
20203 {
20204 void *ptr;
20205 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20206 _v = 0;
20207 PyErr_Clear();
20208 } else {
20209 _v = 1;
20210 }
20211 }
20212 if (_v) {
20213 return _wrap_DateTime___iadd____SWIG_0(self,args);
20214 }
20215 }
20216 }
20217 if (argc == 2) {
20218 int _v;
20219 {
20220 void *ptr;
20221 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20222 _v = 0;
20223 PyErr_Clear();
20224 } else {
20225 _v = 1;
20226 }
20227 }
20228 if (_v) {
20229 {
20230 void *ptr;
20231 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20232 _v = 0;
20233 PyErr_Clear();
20234 } else {
20235 _v = 1;
20236 }
20237 }
20238 if (_v) {
20239 return _wrap_DateTime___iadd____SWIG_1(self,args);
20240 }
20241 }
20242 }
20243
20244 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20245 return NULL;
20246 }
20247
20248
20249 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
20250 PyObject *resultobj;
20251 wxDateTime *arg1 = (wxDateTime *) 0 ;
20252 wxTimeSpan *arg2 = 0 ;
20253 wxDateTime *result;
20254 PyObject * obj0 = 0 ;
20255 PyObject * obj1 = 0 ;
20256
20257 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20261 SWIG_POINTER_EXCEPTION | 0)) == -1)
20262 SWIG_fail;
20263 if (arg2 == NULL) {
20264 PyErr_SetString(PyExc_TypeError,"null reference");
20265 SWIG_fail;
20266 }
20267 {
20268 PyThreadState* __tstate = wxPyBeginAllowThreads();
20269 {
20270 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20271 result = (wxDateTime *) &_result_ref;
20272 }
20273
20274 wxPyEndAllowThreads(__tstate);
20275 if (PyErr_Occurred()) SWIG_fail;
20276 }
20277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20278 return resultobj;
20279 fail:
20280 return NULL;
20281 }
20282
20283
20284 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
20285 PyObject *resultobj;
20286 wxDateTime *arg1 = (wxDateTime *) 0 ;
20287 wxDateSpan *arg2 = 0 ;
20288 wxDateTime *result;
20289 PyObject * obj0 = 0 ;
20290 PyObject * obj1 = 0 ;
20291
20292 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20296 SWIG_POINTER_EXCEPTION | 0)) == -1)
20297 SWIG_fail;
20298 if (arg2 == NULL) {
20299 PyErr_SetString(PyExc_TypeError,"null reference");
20300 SWIG_fail;
20301 }
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 {
20305 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20306 result = (wxDateTime *) &_result_ref;
20307 }
20308
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20313 return resultobj;
20314 fail:
20315 return NULL;
20316 }
20317
20318
20319 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20320 int argc;
20321 PyObject *argv[3];
20322 int ii;
20323
20324 argc = PyObject_Length(args);
20325 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20326 argv[ii] = PyTuple_GetItem(args,ii);
20327 }
20328 if (argc == 2) {
20329 int _v;
20330 {
20331 void *ptr;
20332 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20333 _v = 0;
20334 PyErr_Clear();
20335 } else {
20336 _v = 1;
20337 }
20338 }
20339 if (_v) {
20340 {
20341 void *ptr;
20342 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20343 _v = 0;
20344 PyErr_Clear();
20345 } else {
20346 _v = 1;
20347 }
20348 }
20349 if (_v) {
20350 return _wrap_DateTime___isub____SWIG_0(self,args);
20351 }
20352 }
20353 }
20354 if (argc == 2) {
20355 int _v;
20356 {
20357 void *ptr;
20358 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20359 _v = 0;
20360 PyErr_Clear();
20361 } else {
20362 _v = 1;
20363 }
20364 }
20365 if (_v) {
20366 {
20367 void *ptr;
20368 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20369 _v = 0;
20370 PyErr_Clear();
20371 } else {
20372 _v = 1;
20373 }
20374 }
20375 if (_v) {
20376 return _wrap_DateTime___isub____SWIG_1(self,args);
20377 }
20378 }
20379 }
20380
20381 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20382 return NULL;
20383 }
20384
20385
20386 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
20387 PyObject *resultobj;
20388 wxDateTime *arg1 = (wxDateTime *) 0 ;
20389 wxTimeSpan *arg2 = 0 ;
20390 wxDateTime result;
20391 PyObject * obj0 = 0 ;
20392 PyObject * obj1 = 0 ;
20393
20394 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20398 SWIG_POINTER_EXCEPTION | 0)) == -1)
20399 SWIG_fail;
20400 if (arg2 == NULL) {
20401 PyErr_SetString(PyExc_TypeError,"null reference");
20402 SWIG_fail;
20403 }
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
20406 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 {
20412 wxDateTime * resultptr;
20413 resultptr = new wxDateTime((wxDateTime &) result);
20414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20415 }
20416 return resultobj;
20417 fail:
20418 return NULL;
20419 }
20420
20421
20422 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
20423 PyObject *resultobj;
20424 wxDateTime *arg1 = (wxDateTime *) 0 ;
20425 wxDateSpan *arg2 = 0 ;
20426 wxDateTime result;
20427 PyObject * obj0 = 0 ;
20428 PyObject * obj1 = 0 ;
20429
20430 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20434 SWIG_POINTER_EXCEPTION | 0)) == -1)
20435 SWIG_fail;
20436 if (arg2 == NULL) {
20437 PyErr_SetString(PyExc_TypeError,"null reference");
20438 SWIG_fail;
20439 }
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20443
20444 wxPyEndAllowThreads(__tstate);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 }
20447 {
20448 wxDateTime * resultptr;
20449 resultptr = new wxDateTime((wxDateTime &) result);
20450 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20451 }
20452 return resultobj;
20453 fail:
20454 return NULL;
20455 }
20456
20457
20458 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20459 int argc;
20460 PyObject *argv[3];
20461 int ii;
20462
20463 argc = PyObject_Length(args);
20464 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20465 argv[ii] = PyTuple_GetItem(args,ii);
20466 }
20467 if (argc == 2) {
20468 int _v;
20469 {
20470 void *ptr;
20471 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20472 _v = 0;
20473 PyErr_Clear();
20474 } else {
20475 _v = 1;
20476 }
20477 }
20478 if (_v) {
20479 {
20480 void *ptr;
20481 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20482 _v = 0;
20483 PyErr_Clear();
20484 } else {
20485 _v = 1;
20486 }
20487 }
20488 if (_v) {
20489 return _wrap_DateTime___add____SWIG_0(self,args);
20490 }
20491 }
20492 }
20493 if (argc == 2) {
20494 int _v;
20495 {
20496 void *ptr;
20497 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20498 _v = 0;
20499 PyErr_Clear();
20500 } else {
20501 _v = 1;
20502 }
20503 }
20504 if (_v) {
20505 {
20506 void *ptr;
20507 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20508 _v = 0;
20509 PyErr_Clear();
20510 } else {
20511 _v = 1;
20512 }
20513 }
20514 if (_v) {
20515 return _wrap_DateTime___add____SWIG_1(self,args);
20516 }
20517 }
20518 }
20519
20520 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20521 return NULL;
20522 }
20523
20524
20525 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20526 PyObject *resultobj;
20527 wxDateTime *arg1 = (wxDateTime *) 0 ;
20528 wxDateTime *arg2 = 0 ;
20529 wxTimeSpan result;
20530 PyObject * obj0 = 0 ;
20531 PyObject * obj1 = 0 ;
20532
20533 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20536 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20537 SWIG_POINTER_EXCEPTION | 0)) == -1)
20538 SWIG_fail;
20539 if (arg2 == NULL) {
20540 PyErr_SetString(PyExc_TypeError,"null reference");
20541 SWIG_fail;
20542 }
20543 {
20544 PyThreadState* __tstate = wxPyBeginAllowThreads();
20545 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20546
20547 wxPyEndAllowThreads(__tstate);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 {
20551 wxTimeSpan * resultptr;
20552 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20554 }
20555 return resultobj;
20556 fail:
20557 return NULL;
20558 }
20559
20560
20561 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20562 PyObject *resultobj;
20563 wxDateTime *arg1 = (wxDateTime *) 0 ;
20564 wxTimeSpan *arg2 = 0 ;
20565 wxDateTime result;
20566 PyObject * obj0 = 0 ;
20567 PyObject * obj1 = 0 ;
20568
20569 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20572 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20573 SWIG_POINTER_EXCEPTION | 0)) == -1)
20574 SWIG_fail;
20575 if (arg2 == NULL) {
20576 PyErr_SetString(PyExc_TypeError,"null reference");
20577 SWIG_fail;
20578 }
20579 {
20580 PyThreadState* __tstate = wxPyBeginAllowThreads();
20581 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20582
20583 wxPyEndAllowThreads(__tstate);
20584 if (PyErr_Occurred()) SWIG_fail;
20585 }
20586 {
20587 wxDateTime * resultptr;
20588 resultptr = new wxDateTime((wxDateTime &) result);
20589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20590 }
20591 return resultobj;
20592 fail:
20593 return NULL;
20594 }
20595
20596
20597 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20598 PyObject *resultobj;
20599 wxDateTime *arg1 = (wxDateTime *) 0 ;
20600 wxDateSpan *arg2 = 0 ;
20601 wxDateTime result;
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604
20605 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20609 SWIG_POINTER_EXCEPTION | 0)) == -1)
20610 SWIG_fail;
20611 if (arg2 == NULL) {
20612 PyErr_SetString(PyExc_TypeError,"null reference");
20613 SWIG_fail;
20614 }
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
20617 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20618
20619 wxPyEndAllowThreads(__tstate);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
20622 {
20623 wxDateTime * resultptr;
20624 resultptr = new wxDateTime((wxDateTime &) result);
20625 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20626 }
20627 return resultobj;
20628 fail:
20629 return NULL;
20630 }
20631
20632
20633 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20634 int argc;
20635 PyObject *argv[3];
20636 int ii;
20637
20638 argc = PyObject_Length(args);
20639 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20640 argv[ii] = PyTuple_GetItem(args,ii);
20641 }
20642 if (argc == 2) {
20643 int _v;
20644 {
20645 void *ptr;
20646 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20647 _v = 0;
20648 PyErr_Clear();
20649 } else {
20650 _v = 1;
20651 }
20652 }
20653 if (_v) {
20654 {
20655 void *ptr;
20656 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20657 _v = 0;
20658 PyErr_Clear();
20659 } else {
20660 _v = 1;
20661 }
20662 }
20663 if (_v) {
20664 return _wrap_DateTime___sub____SWIG_0(self,args);
20665 }
20666 }
20667 }
20668 if (argc == 2) {
20669 int _v;
20670 {
20671 void *ptr;
20672 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20673 _v = 0;
20674 PyErr_Clear();
20675 } else {
20676 _v = 1;
20677 }
20678 }
20679 if (_v) {
20680 {
20681 void *ptr;
20682 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20683 _v = 0;
20684 PyErr_Clear();
20685 } else {
20686 _v = 1;
20687 }
20688 }
20689 if (_v) {
20690 return _wrap_DateTime___sub____SWIG_1(self,args);
20691 }
20692 }
20693 }
20694 if (argc == 2) {
20695 int _v;
20696 {
20697 void *ptr;
20698 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20699 _v = 0;
20700 PyErr_Clear();
20701 } else {
20702 _v = 1;
20703 }
20704 }
20705 if (_v) {
20706 {
20707 void *ptr;
20708 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20709 _v = 0;
20710 PyErr_Clear();
20711 } else {
20712 _v = 1;
20713 }
20714 }
20715 if (_v) {
20716 return _wrap_DateTime___sub____SWIG_2(self,args);
20717 }
20718 }
20719 }
20720
20721 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20722 return NULL;
20723 }
20724
20725
20726 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20727 PyObject *resultobj;
20728 wxDateTime *arg1 = (wxDateTime *) 0 ;
20729 wxDateTime *arg2 = (wxDateTime *) 0 ;
20730 bool result;
20731 PyObject * obj0 = 0 ;
20732 PyObject * obj1 = 0 ;
20733
20734 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20739 {
20740 PyThreadState* __tstate = wxPyBeginAllowThreads();
20741 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
20742
20743 wxPyEndAllowThreads(__tstate);
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
20746 {
20747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20748 }
20749 return resultobj;
20750 fail:
20751 return NULL;
20752 }
20753
20754
20755 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20756 PyObject *resultobj;
20757 wxDateTime *arg1 = (wxDateTime *) 0 ;
20758 wxDateTime *arg2 = (wxDateTime *) 0 ;
20759 bool result;
20760 PyObject * obj0 = 0 ;
20761 PyObject * obj1 = 0 ;
20762
20763 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20768 {
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
20771
20772 wxPyEndAllowThreads(__tstate);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 }
20775 {
20776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20777 }
20778 return resultobj;
20779 fail:
20780 return NULL;
20781 }
20782
20783
20784 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20785 PyObject *resultobj;
20786 wxDateTime *arg1 = (wxDateTime *) 0 ;
20787 wxDateTime *arg2 = (wxDateTime *) 0 ;
20788 bool result;
20789 PyObject * obj0 = 0 ;
20790 PyObject * obj1 = 0 ;
20791
20792 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
20804 {
20805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20806 }
20807 return resultobj;
20808 fail:
20809 return NULL;
20810 }
20811
20812
20813 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20814 PyObject *resultobj;
20815 wxDateTime *arg1 = (wxDateTime *) 0 ;
20816 wxDateTime *arg2 = (wxDateTime *) 0 ;
20817 bool result;
20818 PyObject * obj0 = 0 ;
20819 PyObject * obj1 = 0 ;
20820
20821 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20824 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 {
20834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20835 }
20836 return resultobj;
20837 fail:
20838 return NULL;
20839 }
20840
20841
20842 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20843 PyObject *resultobj;
20844 wxDateTime *arg1 = (wxDateTime *) 0 ;
20845 wxDateTime *arg2 = (wxDateTime *) 0 ;
20846 bool result;
20847 PyObject * obj0 = 0 ;
20848 PyObject * obj1 = 0 ;
20849
20850 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20855 {
20856 PyThreadState* __tstate = wxPyBeginAllowThreads();
20857 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
20858
20859 wxPyEndAllowThreads(__tstate);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 }
20862 {
20863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20864 }
20865 return resultobj;
20866 fail:
20867 return NULL;
20868 }
20869
20870
20871 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20872 PyObject *resultobj;
20873 wxDateTime *arg1 = (wxDateTime *) 0 ;
20874 wxDateTime *arg2 = (wxDateTime *) 0 ;
20875 bool result;
20876 PyObject * obj0 = 0 ;
20877 PyObject * obj1 = 0 ;
20878
20879 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20884 {
20885 PyThreadState* __tstate = wxPyBeginAllowThreads();
20886 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
20887
20888 wxPyEndAllowThreads(__tstate);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 }
20891 {
20892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20893 }
20894 return resultobj;
20895 fail:
20896 return NULL;
20897 }
20898
20899
20900 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj;
20902 wxDateTime *arg1 = (wxDateTime *) 0 ;
20903 wxString *arg2 = 0 ;
20904 int result;
20905 bool temp2 = False ;
20906 PyObject * obj0 = 0 ;
20907 PyObject * obj1 = 0 ;
20908 char *kwnames[] = {
20909 (char *) "self",(char *) "date", NULL
20910 };
20911
20912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20915 {
20916 arg2 = wxString_in_helper(obj1);
20917 if (arg2 == NULL) SWIG_fail;
20918 temp2 = True;
20919 }
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 resultobj = SWIG_FromInt((int)result);
20928 {
20929 if (temp2)
20930 delete arg2;
20931 }
20932 return resultobj;
20933 fail:
20934 {
20935 if (temp2)
20936 delete arg2;
20937 }
20938 return NULL;
20939 }
20940
20941
20942 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj;
20944 wxDateTime *arg1 = (wxDateTime *) 0 ;
20945 wxString *arg2 = 0 ;
20946 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20947 wxString *arg3 = (wxString *) &arg3_defvalue ;
20948 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20949 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20950 int result;
20951 bool temp2 = False ;
20952 bool temp3 = False ;
20953 PyObject * obj0 = 0 ;
20954 PyObject * obj1 = 0 ;
20955 PyObject * obj2 = 0 ;
20956 PyObject * obj3 = 0 ;
20957 char *kwnames[] = {
20958 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20959 };
20960
20961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20964 {
20965 arg2 = wxString_in_helper(obj1);
20966 if (arg2 == NULL) SWIG_fail;
20967 temp2 = True;
20968 }
20969 if (obj2) {
20970 {
20971 arg3 = wxString_in_helper(obj2);
20972 if (arg3 == NULL) SWIG_fail;
20973 temp3 = True;
20974 }
20975 }
20976 if (obj3) {
20977 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20978 SWIG_POINTER_EXCEPTION | 0)) == -1)
20979 SWIG_fail;
20980 if (arg4 == NULL) {
20981 PyErr_SetString(PyExc_TypeError,"null reference");
20982 SWIG_fail;
20983 }
20984 }
20985 {
20986 PyThreadState* __tstate = wxPyBeginAllowThreads();
20987 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20988
20989 wxPyEndAllowThreads(__tstate);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 }
20992 resultobj = SWIG_FromInt((int)result);
20993 {
20994 if (temp2)
20995 delete arg2;
20996 }
20997 {
20998 if (temp3)
20999 delete arg3;
21000 }
21001 return resultobj;
21002 fail:
21003 {
21004 if (temp2)
21005 delete arg2;
21006 }
21007 {
21008 if (temp3)
21009 delete arg3;
21010 }
21011 return NULL;
21012 }
21013
21014
21015 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21016 PyObject *resultobj;
21017 wxDateTime *arg1 = (wxDateTime *) 0 ;
21018 wxString *arg2 = 0 ;
21019 int result;
21020 bool temp2 = False ;
21021 PyObject * obj0 = 0 ;
21022 PyObject * obj1 = 0 ;
21023 char *kwnames[] = {
21024 (char *) "self",(char *) "datetime", NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
21028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21030 {
21031 arg2 = wxString_in_helper(obj1);
21032 if (arg2 == NULL) SWIG_fail;
21033 temp2 = True;
21034 }
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 resultobj = SWIG_FromInt((int)result);
21043 {
21044 if (temp2)
21045 delete arg2;
21046 }
21047 return resultobj;
21048 fail:
21049 {
21050 if (temp2)
21051 delete arg2;
21052 }
21053 return NULL;
21054 }
21055
21056
21057 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21058 PyObject *resultobj;
21059 wxDateTime *arg1 = (wxDateTime *) 0 ;
21060 wxString *arg2 = 0 ;
21061 int result;
21062 bool temp2 = False ;
21063 PyObject * obj0 = 0 ;
21064 PyObject * obj1 = 0 ;
21065 char *kwnames[] = {
21066 (char *) "self",(char *) "date", NULL
21067 };
21068
21069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
21070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21072 {
21073 arg2 = wxString_in_helper(obj1);
21074 if (arg2 == NULL) SWIG_fail;
21075 temp2 = True;
21076 }
21077 {
21078 PyThreadState* __tstate = wxPyBeginAllowThreads();
21079 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
21080
21081 wxPyEndAllowThreads(__tstate);
21082 if (PyErr_Occurred()) SWIG_fail;
21083 }
21084 resultobj = SWIG_FromInt((int)result);
21085 {
21086 if (temp2)
21087 delete arg2;
21088 }
21089 return resultobj;
21090 fail:
21091 {
21092 if (temp2)
21093 delete arg2;
21094 }
21095 return NULL;
21096 }
21097
21098
21099 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21100 PyObject *resultobj;
21101 wxDateTime *arg1 = (wxDateTime *) 0 ;
21102 wxString *arg2 = 0 ;
21103 int result;
21104 bool temp2 = False ;
21105 PyObject * obj0 = 0 ;
21106 PyObject * obj1 = 0 ;
21107 char *kwnames[] = {
21108 (char *) "self",(char *) "time", NULL
21109 };
21110
21111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
21112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21114 {
21115 arg2 = wxString_in_helper(obj1);
21116 if (arg2 == NULL) SWIG_fail;
21117 temp2 = True;
21118 }
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
21122
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
21126 resultobj = SWIG_FromInt((int)result);
21127 {
21128 if (temp2)
21129 delete arg2;
21130 }
21131 return resultobj;
21132 fail:
21133 {
21134 if (temp2)
21135 delete arg2;
21136 }
21137 return NULL;
21138 }
21139
21140
21141 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
21142 PyObject *resultobj;
21143 wxDateTime *arg1 = (wxDateTime *) 0 ;
21144 wxString const &arg2_defvalue = wxPyDateFormatStr ;
21145 wxString *arg2 = (wxString *) &arg2_defvalue ;
21146 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21147 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21148 wxString result;
21149 bool temp2 = False ;
21150 bool temp3 = False ;
21151 PyObject * obj0 = 0 ;
21152 PyObject * obj1 = 0 ;
21153 PyObject * obj2 = 0 ;
21154 char *kwnames[] = {
21155 (char *) "self",(char *) "format",(char *) "tz", NULL
21156 };
21157
21158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21161 if (obj1) {
21162 {
21163 arg2 = wxString_in_helper(obj1);
21164 if (arg2 == NULL) SWIG_fail;
21165 temp2 = True;
21166 }
21167 }
21168 if (obj2) {
21169 {
21170 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21171 temp3 = True;
21172 }
21173 }
21174 {
21175 PyThreadState* __tstate = wxPyBeginAllowThreads();
21176 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21177
21178 wxPyEndAllowThreads(__tstate);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 }
21181 {
21182 #if wxUSE_UNICODE
21183 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21184 #else
21185 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21186 #endif
21187 }
21188 {
21189 if (temp2)
21190 delete arg2;
21191 }
21192 {
21193 if (temp3) delete arg3;
21194 }
21195 return resultobj;
21196 fail:
21197 {
21198 if (temp2)
21199 delete arg2;
21200 }
21201 {
21202 if (temp3) delete arg3;
21203 }
21204 return NULL;
21205 }
21206
21207
21208 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21209 PyObject *resultobj;
21210 wxDateTime *arg1 = (wxDateTime *) 0 ;
21211 wxString result;
21212 PyObject * obj0 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21220 {
21221 PyThreadState* __tstate = wxPyBeginAllowThreads();
21222 result = ((wxDateTime const *)arg1)->FormatDate();
21223
21224 wxPyEndAllowThreads(__tstate);
21225 if (PyErr_Occurred()) SWIG_fail;
21226 }
21227 {
21228 #if wxUSE_UNICODE
21229 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21230 #else
21231 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21232 #endif
21233 }
21234 return resultobj;
21235 fail:
21236 return NULL;
21237 }
21238
21239
21240 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21241 PyObject *resultobj;
21242 wxDateTime *arg1 = (wxDateTime *) 0 ;
21243 wxString result;
21244 PyObject * obj0 = 0 ;
21245 char *kwnames[] = {
21246 (char *) "self", NULL
21247 };
21248
21249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21252 {
21253 PyThreadState* __tstate = wxPyBeginAllowThreads();
21254 result = ((wxDateTime const *)arg1)->FormatTime();
21255
21256 wxPyEndAllowThreads(__tstate);
21257 if (PyErr_Occurred()) SWIG_fail;
21258 }
21259 {
21260 #if wxUSE_UNICODE
21261 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21262 #else
21263 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21264 #endif
21265 }
21266 return resultobj;
21267 fail:
21268 return NULL;
21269 }
21270
21271
21272 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
21273 PyObject *resultobj;
21274 wxDateTime *arg1 = (wxDateTime *) 0 ;
21275 wxString result;
21276 PyObject * obj0 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21284 {
21285 PyThreadState* __tstate = wxPyBeginAllowThreads();
21286 result = ((wxDateTime const *)arg1)->FormatISODate();
21287
21288 wxPyEndAllowThreads(__tstate);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 }
21291 {
21292 #if wxUSE_UNICODE
21293 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21294 #else
21295 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21296 #endif
21297 }
21298 return resultobj;
21299 fail:
21300 return NULL;
21301 }
21302
21303
21304 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21305 PyObject *resultobj;
21306 wxDateTime *arg1 = (wxDateTime *) 0 ;
21307 wxString result;
21308 PyObject * obj0 = 0 ;
21309 char *kwnames[] = {
21310 (char *) "self", NULL
21311 };
21312
21313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21316 {
21317 PyThreadState* __tstate = wxPyBeginAllowThreads();
21318 result = ((wxDateTime const *)arg1)->FormatISOTime();
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 {
21324 #if wxUSE_UNICODE
21325 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21326 #else
21327 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21328 #endif
21329 }
21330 return resultobj;
21331 fail:
21332 return NULL;
21333 }
21334
21335
21336 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
21337 PyObject *obj;
21338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21339 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21340 Py_INCREF(obj);
21341 return Py_BuildValue((char *)"");
21342 }
21343 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21344 PyObject *resultobj;
21345 long arg1 ;
21346 wxTimeSpan result;
21347 PyObject * obj0 = 0 ;
21348 char *kwnames[] = {
21349 (char *) "sec", NULL
21350 };
21351
21352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21353 arg1 = (long) SWIG_AsLong(obj0);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 result = wxTimeSpan::Seconds(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_Second(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_Second",kwnames)) goto fail;
21381 {
21382 PyThreadState* __tstate = wxPyBeginAllowThreads();
21383 result = wxTimeSpan::Second();
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_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
21400 PyObject *resultobj;
21401 long arg1 ;
21402 wxTimeSpan result;
21403 PyObject * obj0 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "min", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21409 arg1 = (long) SWIG_AsLong(obj0);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 {
21412 PyThreadState* __tstate = wxPyBeginAllowThreads();
21413 result = wxTimeSpan::Minutes(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_Minute(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_Minute",kwnames)) goto fail;
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
21439 result = wxTimeSpan::Minute();
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_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
21456 PyObject *resultobj;
21457 long arg1 ;
21458 wxTimeSpan result;
21459 PyObject * obj0 = 0 ;
21460 char *kwnames[] = {
21461 (char *) "hours", NULL
21462 };
21463
21464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21465 arg1 = (long) SWIG_AsLong(obj0);
21466 if (PyErr_Occurred()) SWIG_fail;
21467 {
21468 PyThreadState* __tstate = wxPyBeginAllowThreads();
21469 result = wxTimeSpan::Hours(arg1);
21470
21471 wxPyEndAllowThreads(__tstate);
21472 if (PyErr_Occurred()) SWIG_fail;
21473 }
21474 {
21475 wxTimeSpan * resultptr;
21476 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21477 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21478 }
21479 return resultobj;
21480 fail:
21481 return NULL;
21482 }
21483
21484
21485 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
21486 PyObject *resultobj;
21487 wxTimeSpan result;
21488 char *kwnames[] = {
21489 NULL
21490 };
21491
21492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 result = wxTimeSpan::Hour();
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 {
21501 wxTimeSpan * resultptr;
21502 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21504 }
21505 return resultobj;
21506 fail:
21507 return NULL;
21508 }
21509
21510
21511 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21512 PyObject *resultobj;
21513 long arg1 ;
21514 wxTimeSpan result;
21515 PyObject * obj0 = 0 ;
21516 char *kwnames[] = {
21517 (char *) "days", NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21521 arg1 = (long) SWIG_AsLong(obj0);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 result = wxTimeSpan::Days(arg1);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 {
21531 wxTimeSpan * resultptr;
21532 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21534 }
21535 return resultobj;
21536 fail:
21537 return NULL;
21538 }
21539
21540
21541 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj;
21543 wxTimeSpan result;
21544 char *kwnames[] = {
21545 NULL
21546 };
21547
21548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 result = wxTimeSpan::Day();
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 {
21557 wxTimeSpan * resultptr;
21558 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21560 }
21561 return resultobj;
21562 fail:
21563 return NULL;
21564 }
21565
21566
21567 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 long arg1 ;
21570 wxTimeSpan result;
21571 PyObject * obj0 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "days", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21577 arg1 = (long) SWIG_AsLong(obj0);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
21581 result = wxTimeSpan::Weeks(arg1);
21582
21583 wxPyEndAllowThreads(__tstate);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 }
21586 {
21587 wxTimeSpan * resultptr;
21588 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21590 }
21591 return resultobj;
21592 fail:
21593 return NULL;
21594 }
21595
21596
21597 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21598 PyObject *resultobj;
21599 wxTimeSpan result;
21600 char *kwnames[] = {
21601 NULL
21602 };
21603
21604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21605 {
21606 PyThreadState* __tstate = wxPyBeginAllowThreads();
21607 result = wxTimeSpan::Week();
21608
21609 wxPyEndAllowThreads(__tstate);
21610 if (PyErr_Occurred()) SWIG_fail;
21611 }
21612 {
21613 wxTimeSpan * resultptr;
21614 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21616 }
21617 return resultobj;
21618 fail:
21619 return NULL;
21620 }
21621
21622
21623 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21624 PyObject *resultobj;
21625 long arg1 = (long) 0 ;
21626 long arg2 = (long) 0 ;
21627 long arg3 = (long) 0 ;
21628 long arg4 = (long) 0 ;
21629 wxTimeSpan *result;
21630 PyObject * obj0 = 0 ;
21631 PyObject * obj1 = 0 ;
21632 PyObject * obj2 = 0 ;
21633 PyObject * obj3 = 0 ;
21634 char *kwnames[] = {
21635 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21636 };
21637
21638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21639 if (obj0) {
21640 arg1 = (long) SWIG_AsLong(obj0);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 if (obj1) {
21644 arg2 = (long) SWIG_AsLong(obj1);
21645 if (PyErr_Occurred()) SWIG_fail;
21646 }
21647 if (obj2) {
21648 arg3 = (long) SWIG_AsLong(obj2);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 if (obj3) {
21652 arg4 = (long) SWIG_AsLong(obj3);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 {
21656 PyThreadState* __tstate = wxPyBeginAllowThreads();
21657 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21658
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21663 return resultobj;
21664 fail:
21665 return NULL;
21666 }
21667
21668
21669 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj;
21671 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21672 PyObject * obj0 = 0 ;
21673 char *kwnames[] = {
21674 (char *) "self", NULL
21675 };
21676
21677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21680 {
21681 PyThreadState* __tstate = wxPyBeginAllowThreads();
21682 delete arg1;
21683
21684 wxPyEndAllowThreads(__tstate);
21685 if (PyErr_Occurred()) SWIG_fail;
21686 }
21687 Py_INCREF(Py_None); resultobj = Py_None;
21688 return resultobj;
21689 fail:
21690 return NULL;
21691 }
21692
21693
21694 static PyObject *_wrap_TimeSpan_Add(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_Add",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)->Add((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_Subtract(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_Subtract",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)->Subtract((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_Multiply(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_Multiply",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)->Multiply(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)->Neg();
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_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21833 PyObject *resultobj;
21834 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21835 wxTimeSpan result;
21836 PyObject * obj0 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self", NULL
21839 };
21840
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 result = ((wxTimeSpan const *)arg1)->Abs();
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 {
21852 wxTimeSpan * resultptr;
21853 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21854 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21855 }
21856 return resultobj;
21857 fail:
21858 return NULL;
21859 }
21860
21861
21862 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21863 PyObject *resultobj;
21864 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21865 wxTimeSpan *arg2 = 0 ;
21866 wxTimeSpan *result;
21867 PyObject * obj0 = 0 ;
21868 PyObject * obj1 = 0 ;
21869 char *kwnames[] = {
21870 (char *) "self",(char *) "diff", NULL
21871 };
21872
21873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21877 SWIG_POINTER_EXCEPTION | 0)) == -1)
21878 SWIG_fail;
21879 if (arg2 == NULL) {
21880 PyErr_SetString(PyExc_TypeError,"null reference");
21881 SWIG_fail;
21882 }
21883 {
21884 PyThreadState* __tstate = wxPyBeginAllowThreads();
21885 {
21886 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21887 result = (wxTimeSpan *) &_result_ref;
21888 }
21889
21890 wxPyEndAllowThreads(__tstate);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 }
21893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21894 return resultobj;
21895 fail:
21896 return NULL;
21897 }
21898
21899
21900 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21901 PyObject *resultobj;
21902 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21903 wxTimeSpan *arg2 = 0 ;
21904 wxTimeSpan *result;
21905 PyObject * obj0 = 0 ;
21906 PyObject * obj1 = 0 ;
21907 char *kwnames[] = {
21908 (char *) "self",(char *) "diff", NULL
21909 };
21910
21911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21915 SWIG_POINTER_EXCEPTION | 0)) == -1)
21916 SWIG_fail;
21917 if (arg2 == NULL) {
21918 PyErr_SetString(PyExc_TypeError,"null reference");
21919 SWIG_fail;
21920 }
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 {
21924 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21925 result = (wxTimeSpan *) &_result_ref;
21926 }
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21932 return resultobj;
21933 fail:
21934 return NULL;
21935 }
21936
21937
21938 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21939 PyObject *resultobj;
21940 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21941 int arg2 ;
21942 wxTimeSpan *result;
21943 PyObject * obj0 = 0 ;
21944 PyObject * obj1 = 0 ;
21945 char *kwnames[] = {
21946 (char *) "self",(char *) "n", NULL
21947 };
21948
21949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21952 arg2 = (int) SWIG_AsInt(obj1);
21953 if (PyErr_Occurred()) SWIG_fail;
21954 {
21955 PyThreadState* __tstate = wxPyBeginAllowThreads();
21956 {
21957 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21958 result = (wxTimeSpan *) &_result_ref;
21959 }
21960
21961 wxPyEndAllowThreads(__tstate);
21962 if (PyErr_Occurred()) SWIG_fail;
21963 }
21964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21965 return resultobj;
21966 fail:
21967 return NULL;
21968 }
21969
21970
21971 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21972 PyObject *resultobj;
21973 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21974 wxTimeSpan *result;
21975 PyObject * obj0 = 0 ;
21976 char *kwnames[] = {
21977 (char *) "self", NULL
21978 };
21979
21980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21983 {
21984 PyThreadState* __tstate = wxPyBeginAllowThreads();
21985 {
21986 wxTimeSpan &_result_ref = (arg1)->operator -();
21987 result = (wxTimeSpan *) &_result_ref;
21988 }
21989
21990 wxPyEndAllowThreads(__tstate);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 }
21993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21994 return resultobj;
21995 fail:
21996 return NULL;
21997 }
21998
21999
22000 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
22001 PyObject *resultobj;
22002 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22003 wxTimeSpan *arg2 = 0 ;
22004 wxTimeSpan result;
22005 PyObject * obj0 = 0 ;
22006 PyObject * obj1 = 0 ;
22007 char *kwnames[] = {
22008 (char *) "self",(char *) "other", NULL
22009 };
22010
22011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
22012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22015 SWIG_POINTER_EXCEPTION | 0)) == -1)
22016 SWIG_fail;
22017 if (arg2 == NULL) {
22018 PyErr_SetString(PyExc_TypeError,"null reference");
22019 SWIG_fail;
22020 }
22021 {
22022 PyThreadState* __tstate = wxPyBeginAllowThreads();
22023 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
22024
22025 wxPyEndAllowThreads(__tstate);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 }
22028 {
22029 wxTimeSpan * resultptr;
22030 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22032 }
22033 return resultobj;
22034 fail:
22035 return NULL;
22036 }
22037
22038
22039 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
22040 PyObject *resultobj;
22041 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22042 wxTimeSpan *arg2 = 0 ;
22043 wxTimeSpan result;
22044 PyObject * obj0 = 0 ;
22045 PyObject * obj1 = 0 ;
22046 char *kwnames[] = {
22047 (char *) "self",(char *) "other", NULL
22048 };
22049
22050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
22051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22054 SWIG_POINTER_EXCEPTION | 0)) == -1)
22055 SWIG_fail;
22056 if (arg2 == NULL) {
22057 PyErr_SetString(PyExc_TypeError,"null reference");
22058 SWIG_fail;
22059 }
22060 {
22061 PyThreadState* __tstate = wxPyBeginAllowThreads();
22062 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
22063
22064 wxPyEndAllowThreads(__tstate);
22065 if (PyErr_Occurred()) SWIG_fail;
22066 }
22067 {
22068 wxTimeSpan * resultptr;
22069 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22070 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22071 }
22072 return resultobj;
22073 fail:
22074 return NULL;
22075 }
22076
22077
22078 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22079 PyObject *resultobj;
22080 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22081 int arg2 ;
22082 wxTimeSpan result;
22083 PyObject * obj0 = 0 ;
22084 PyObject * obj1 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "self",(char *) "n", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
22090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22092 arg2 = (int) SWIG_AsInt(obj1);
22093 if (PyErr_Occurred()) SWIG_fail;
22094 {
22095 PyThreadState* __tstate = wxPyBeginAllowThreads();
22096 result = wxTimeSpan___mul__(arg1,arg2);
22097
22098 wxPyEndAllowThreads(__tstate);
22099 if (PyErr_Occurred()) SWIG_fail;
22100 }
22101 {
22102 wxTimeSpan * resultptr;
22103 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22105 }
22106 return resultobj;
22107 fail:
22108 return NULL;
22109 }
22110
22111
22112 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22113 PyObject *resultobj;
22114 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22115 int arg2 ;
22116 wxTimeSpan result;
22117 PyObject * obj0 = 0 ;
22118 PyObject * obj1 = 0 ;
22119 char *kwnames[] = {
22120 (char *) "self",(char *) "n", NULL
22121 };
22122
22123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
22124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22126 arg2 = (int) SWIG_AsInt(obj1);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 {
22129 PyThreadState* __tstate = wxPyBeginAllowThreads();
22130 result = wxTimeSpan___rmul__(arg1,arg2);
22131
22132 wxPyEndAllowThreads(__tstate);
22133 if (PyErr_Occurred()) SWIG_fail;
22134 }
22135 {
22136 wxTimeSpan * resultptr;
22137 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22138 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22139 }
22140 return resultobj;
22141 fail:
22142 return NULL;
22143 }
22144
22145
22146 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22147 PyObject *resultobj;
22148 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22149 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22150 bool result;
22151 PyObject * obj0 = 0 ;
22152 PyObject * obj1 = 0 ;
22153 char *kwnames[] = {
22154 (char *) "self",(char *) "other", NULL
22155 };
22156
22157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
22158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22165
22166 wxPyEndAllowThreads(__tstate);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
22169 {
22170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22171 }
22172 return resultobj;
22173 fail:
22174 return NULL;
22175 }
22176
22177
22178 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
22179 PyObject *resultobj;
22180 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22181 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22182 bool result;
22183 PyObject * obj0 = 0 ;
22184 PyObject * obj1 = 0 ;
22185 char *kwnames[] = {
22186 (char *) "self",(char *) "other", NULL
22187 };
22188
22189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22194 {
22195 PyThreadState* __tstate = wxPyBeginAllowThreads();
22196 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22197
22198 wxPyEndAllowThreads(__tstate);
22199 if (PyErr_Occurred()) SWIG_fail;
22200 }
22201 {
22202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22203 }
22204 return resultobj;
22205 fail:
22206 return NULL;
22207 }
22208
22209
22210 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22211 PyObject *resultobj;
22212 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22213 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22214 bool result;
22215 PyObject * obj0 = 0 ;
22216 PyObject * obj1 = 0 ;
22217 char *kwnames[] = {
22218 (char *) "self",(char *) "other", NULL
22219 };
22220
22221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22226 {
22227 PyThreadState* __tstate = wxPyBeginAllowThreads();
22228 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22229
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
22233 {
22234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22235 }
22236 return resultobj;
22237 fail:
22238 return NULL;
22239 }
22240
22241
22242 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
22243 PyObject *resultobj;
22244 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22245 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22246 bool result;
22247 PyObject * obj0 = 0 ;
22248 PyObject * obj1 = 0 ;
22249 char *kwnames[] = {
22250 (char *) "self",(char *) "other", NULL
22251 };
22252
22253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22258 {
22259 PyThreadState* __tstate = wxPyBeginAllowThreads();
22260 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22261
22262 wxPyEndAllowThreads(__tstate);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 }
22265 {
22266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22267 }
22268 return resultobj;
22269 fail:
22270 return NULL;
22271 }
22272
22273
22274 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22275 PyObject *resultobj;
22276 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22277 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22278 bool result;
22279 PyObject * obj0 = 0 ;
22280 PyObject * obj1 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self",(char *) "other", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22290 {
22291 PyThreadState* __tstate = wxPyBeginAllowThreads();
22292 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22293
22294 wxPyEndAllowThreads(__tstate);
22295 if (PyErr_Occurred()) SWIG_fail;
22296 }
22297 {
22298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22299 }
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22309 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22310 bool result;
22311 PyObject * obj0 = 0 ;
22312 PyObject * obj1 = 0 ;
22313 char *kwnames[] = {
22314 (char *) "self",(char *) "other", NULL
22315 };
22316
22317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22322 {
22323 PyThreadState* __tstate = wxPyBeginAllowThreads();
22324 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22325
22326 wxPyEndAllowThreads(__tstate);
22327 if (PyErr_Occurred()) SWIG_fail;
22328 }
22329 {
22330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22331 }
22332 return resultobj;
22333 fail:
22334 return NULL;
22335 }
22336
22337
22338 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
22339 PyObject *resultobj;
22340 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22341 bool result;
22342 PyObject * obj0 = 0 ;
22343 char *kwnames[] = {
22344 (char *) "self", NULL
22345 };
22346
22347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22350 {
22351 PyThreadState* __tstate = wxPyBeginAllowThreads();
22352 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22353
22354 wxPyEndAllowThreads(__tstate);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 }
22357 {
22358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22359 }
22360 return resultobj;
22361 fail:
22362 return NULL;
22363 }
22364
22365
22366 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
22367 PyObject *resultobj;
22368 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22369 bool result;
22370 PyObject * obj0 = 0 ;
22371 char *kwnames[] = {
22372 (char *) "self", NULL
22373 };
22374
22375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22381
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
22385 {
22386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22387 }
22388 return resultobj;
22389 fail:
22390 return NULL;
22391 }
22392
22393
22394 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
22395 PyObject *resultobj;
22396 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22397 bool result;
22398 PyObject * obj0 = 0 ;
22399 char *kwnames[] = {
22400 (char *) "self", NULL
22401 };
22402
22403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 {
22414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22415 }
22416 return resultobj;
22417 fail:
22418 return NULL;
22419 }
22420
22421
22422 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22423 PyObject *resultobj;
22424 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22425 wxTimeSpan *arg2 = 0 ;
22426 bool result;
22427 PyObject * obj0 = 0 ;
22428 PyObject * obj1 = 0 ;
22429 char *kwnames[] = {
22430 (char *) "self",(char *) "ts", NULL
22431 };
22432
22433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22437 SWIG_POINTER_EXCEPTION | 0)) == -1)
22438 SWIG_fail;
22439 if (arg2 == NULL) {
22440 PyErr_SetString(PyExc_TypeError,"null reference");
22441 SWIG_fail;
22442 }
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22446
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 {
22451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22452 }
22453 return resultobj;
22454 fail:
22455 return NULL;
22456 }
22457
22458
22459 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22460 PyObject *resultobj;
22461 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22462 wxTimeSpan *arg2 = 0 ;
22463 bool result;
22464 PyObject * obj0 = 0 ;
22465 PyObject * obj1 = 0 ;
22466 char *kwnames[] = {
22467 (char *) "self",(char *) "ts", NULL
22468 };
22469
22470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22473 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22474 SWIG_POINTER_EXCEPTION | 0)) == -1)
22475 SWIG_fail;
22476 if (arg2 == NULL) {
22477 PyErr_SetString(PyExc_TypeError,"null reference");
22478 SWIG_fail;
22479 }
22480 {
22481 PyThreadState* __tstate = wxPyBeginAllowThreads();
22482 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22483
22484 wxPyEndAllowThreads(__tstate);
22485 if (PyErr_Occurred()) SWIG_fail;
22486 }
22487 {
22488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22489 }
22490 return resultobj;
22491 fail:
22492 return NULL;
22493 }
22494
22495
22496 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22499 wxTimeSpan *arg2 = 0 ;
22500 bool result;
22501 PyObject * obj0 = 0 ;
22502 PyObject * obj1 = 0 ;
22503 char *kwnames[] = {
22504 (char *) "self",(char *) "t", NULL
22505 };
22506
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1)
22512 SWIG_fail;
22513 if (arg2 == NULL) {
22514 PyErr_SetString(PyExc_TypeError,"null reference");
22515 SWIG_fail;
22516 }
22517 {
22518 PyThreadState* __tstate = wxPyBeginAllowThreads();
22519 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22520
22521 wxPyEndAllowThreads(__tstate);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 }
22524 {
22525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22526 }
22527 return resultobj;
22528 fail:
22529 return NULL;
22530 }
22531
22532
22533 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22534 PyObject *resultobj;
22535 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22536 int result;
22537 PyObject * obj0 = 0 ;
22538 char *kwnames[] = {
22539 (char *) "self", NULL
22540 };
22541
22542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22545 {
22546 PyThreadState* __tstate = wxPyBeginAllowThreads();
22547 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22548
22549 wxPyEndAllowThreads(__tstate);
22550 if (PyErr_Occurred()) SWIG_fail;
22551 }
22552 resultobj = SWIG_FromInt((int)result);
22553 return resultobj;
22554 fail:
22555 return NULL;
22556 }
22557
22558
22559 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22560 PyObject *resultobj;
22561 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22562 int result;
22563 PyObject * obj0 = 0 ;
22564 char *kwnames[] = {
22565 (char *) "self", NULL
22566 };
22567
22568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22571 {
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22574
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 resultobj = SWIG_FromInt((int)result);
22579 return resultobj;
22580 fail:
22581 return NULL;
22582 }
22583
22584
22585 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22586 PyObject *resultobj;
22587 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22588 int result;
22589 PyObject * obj0 = 0 ;
22590 char *kwnames[] = {
22591 (char *) "self", NULL
22592 };
22593
22594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
22599 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22600
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 resultobj = SWIG_FromInt((int)result);
22605 return resultobj;
22606 fail:
22607 return NULL;
22608 }
22609
22610
22611 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22612 PyObject *resultobj;
22613 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22614 int result;
22615 PyObject * obj0 = 0 ;
22616 char *kwnames[] = {
22617 (char *) "self", NULL
22618 };
22619
22620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22623 {
22624 PyThreadState* __tstate = wxPyBeginAllowThreads();
22625 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22626
22627 wxPyEndAllowThreads(__tstate);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
22630 resultobj = SWIG_FromInt((int)result);
22631 return resultobj;
22632 fail:
22633 return NULL;
22634 }
22635
22636
22637 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22638 PyObject *resultobj;
22639 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22640 wxLongLong result;
22641 PyObject * obj0 = 0 ;
22642 char *kwnames[] = {
22643 (char *) "self", NULL
22644 };
22645
22646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22652
22653 wxPyEndAllowThreads(__tstate);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 }
22656 {
22657 PyObject *hi, *lo, *shifter, *shifted;
22658 hi = PyLong_FromLong( (&result)->GetHi() );
22659 lo = PyLong_FromLong( (&result)->GetLo() );
22660 shifter = PyLong_FromLong(32);
22661 shifted = PyNumber_Lshift(hi, shifter);
22662 resultobj = PyNumber_Or(shifted, lo);
22663 Py_DECREF(hi);
22664 Py_DECREF(lo);
22665 Py_DECREF(shifter);
22666 Py_DECREF(shifted);
22667 }
22668 return resultobj;
22669 fail:
22670 return NULL;
22671 }
22672
22673
22674 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22675 PyObject *resultobj;
22676 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22677 wxLongLong result;
22678 PyObject * obj0 = 0 ;
22679 char *kwnames[] = {
22680 (char *) "self", NULL
22681 };
22682
22683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22686 {
22687 PyThreadState* __tstate = wxPyBeginAllowThreads();
22688 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22689
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 {
22694 PyObject *hi, *lo, *shifter, *shifted;
22695 hi = PyLong_FromLong( (&result)->GetHi() );
22696 lo = PyLong_FromLong( (&result)->GetLo() );
22697 shifter = PyLong_FromLong(32);
22698 shifted = PyNumber_Lshift(hi, shifter);
22699 resultobj = PyNumber_Or(shifted, lo);
22700 Py_DECREF(hi);
22701 Py_DECREF(lo);
22702 Py_DECREF(shifter);
22703 Py_DECREF(shifted);
22704 }
22705 return resultobj;
22706 fail:
22707 return NULL;
22708 }
22709
22710
22711 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22712 PyObject *resultobj;
22713 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22714 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22715 wxString *arg2 = (wxString *) &arg2_defvalue ;
22716 wxString result;
22717 bool temp2 = False ;
22718 PyObject * obj0 = 0 ;
22719 PyObject * obj1 = 0 ;
22720 char *kwnames[] = {
22721 (char *) "self",(char *) "format", NULL
22722 };
22723
22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22727 if (obj1) {
22728 {
22729 arg2 = wxString_in_helper(obj1);
22730 if (arg2 == NULL) SWIG_fail;
22731 temp2 = True;
22732 }
22733 }
22734 {
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22737
22738 wxPyEndAllowThreads(__tstate);
22739 if (PyErr_Occurred()) SWIG_fail;
22740 }
22741 {
22742 #if wxUSE_UNICODE
22743 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22744 #else
22745 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22746 #endif
22747 }
22748 {
22749 if (temp2)
22750 delete arg2;
22751 }
22752 return resultobj;
22753 fail:
22754 {
22755 if (temp2)
22756 delete arg2;
22757 }
22758 return NULL;
22759 }
22760
22761
22762 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22763 PyObject *obj;
22764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22765 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22766 Py_INCREF(obj);
22767 return Py_BuildValue((char *)"");
22768 }
22769 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22770 PyObject *resultobj;
22771 int arg1 = (int) 0 ;
22772 int arg2 = (int) 0 ;
22773 int arg3 = (int) 0 ;
22774 int arg4 = (int) 0 ;
22775 wxDateSpan *result;
22776 PyObject * obj0 = 0 ;
22777 PyObject * obj1 = 0 ;
22778 PyObject * obj2 = 0 ;
22779 PyObject * obj3 = 0 ;
22780 char *kwnames[] = {
22781 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22782 };
22783
22784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22785 if (obj0) {
22786 arg1 = (int) SWIG_AsInt(obj0);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
22789 if (obj1) {
22790 arg2 = (int) SWIG_AsInt(obj1);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 }
22793 if (obj2) {
22794 arg3 = (int) SWIG_AsInt(obj2);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 }
22797 if (obj3) {
22798 arg4 = (int) SWIG_AsInt(obj3);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 }
22801 {
22802 PyThreadState* __tstate = wxPyBeginAllowThreads();
22803 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
22809 return resultobj;
22810 fail:
22811 return NULL;
22812 }
22813
22814
22815 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22816 PyObject *resultobj;
22817 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22818 PyObject * obj0 = 0 ;
22819 char *kwnames[] = {
22820 (char *) "self", NULL
22821 };
22822
22823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22826 {
22827 PyThreadState* __tstate = wxPyBeginAllowThreads();
22828 delete arg1;
22829
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 Py_INCREF(Py_None); resultobj = Py_None;
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22841 PyObject *resultobj;
22842 int arg1 ;
22843 wxDateSpan result;
22844 PyObject * obj0 = 0 ;
22845 char *kwnames[] = {
22846 (char *) "days", NULL
22847 };
22848
22849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22850 arg1 = (int) SWIG_AsInt(obj0);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 result = wxDateSpan::Days(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_Day(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_Day",kwnames)) goto fail;
22878 {
22879 PyThreadState* __tstate = wxPyBeginAllowThreads();
22880 result = wxDateSpan::Day();
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_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22897 PyObject *resultobj;
22898 int arg1 ;
22899 wxDateSpan result;
22900 PyObject * obj0 = 0 ;
22901 char *kwnames[] = {
22902 (char *) "weeks", NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22906 arg1 = (int) SWIG_AsInt(obj0);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 {
22909 PyThreadState* __tstate = wxPyBeginAllowThreads();
22910 result = wxDateSpan::Weeks(arg1);
22911
22912 wxPyEndAllowThreads(__tstate);
22913 if (PyErr_Occurred()) SWIG_fail;
22914 }
22915 {
22916 wxDateSpan * resultptr;
22917 resultptr = new wxDateSpan((wxDateSpan &) result);
22918 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22919 }
22920 return resultobj;
22921 fail:
22922 return NULL;
22923 }
22924
22925
22926 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22927 PyObject *resultobj;
22928 wxDateSpan result;
22929 char *kwnames[] = {
22930 NULL
22931 };
22932
22933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22934 {
22935 PyThreadState* __tstate = wxPyBeginAllowThreads();
22936 result = wxDateSpan::Week();
22937
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
22941 {
22942 wxDateSpan * resultptr;
22943 resultptr = new wxDateSpan((wxDateSpan &) result);
22944 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22945 }
22946 return resultobj;
22947 fail:
22948 return NULL;
22949 }
22950
22951
22952 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22953 PyObject *resultobj;
22954 int arg1 ;
22955 wxDateSpan result;
22956 PyObject * obj0 = 0 ;
22957 char *kwnames[] = {
22958 (char *) "mon", NULL
22959 };
22960
22961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22962 arg1 = (int) SWIG_AsInt(obj0);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 {
22965 PyThreadState* __tstate = wxPyBeginAllowThreads();
22966 result = wxDateSpan::Months(arg1);
22967
22968 wxPyEndAllowThreads(__tstate);
22969 if (PyErr_Occurred()) SWIG_fail;
22970 }
22971 {
22972 wxDateSpan * resultptr;
22973 resultptr = new wxDateSpan((wxDateSpan &) result);
22974 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22975 }
22976 return resultobj;
22977 fail:
22978 return NULL;
22979 }
22980
22981
22982 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22983 PyObject *resultobj;
22984 wxDateSpan result;
22985 char *kwnames[] = {
22986 NULL
22987 };
22988
22989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 result = wxDateSpan::Month();
22993
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
22997 {
22998 wxDateSpan * resultptr;
22999 resultptr = new wxDateSpan((wxDateSpan &) result);
23000 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23001 }
23002 return resultobj;
23003 fail:
23004 return NULL;
23005 }
23006
23007
23008 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
23009 PyObject *resultobj;
23010 int arg1 ;
23011 wxDateSpan result;
23012 PyObject * obj0 = 0 ;
23013 char *kwnames[] = {
23014 (char *) "years", NULL
23015 };
23016
23017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
23018 arg1 = (int) SWIG_AsInt(obj0);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 {
23021 PyThreadState* __tstate = wxPyBeginAllowThreads();
23022 result = wxDateSpan::Years(arg1);
23023
23024 wxPyEndAllowThreads(__tstate);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 }
23027 {
23028 wxDateSpan * resultptr;
23029 resultptr = new wxDateSpan((wxDateSpan &) result);
23030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23031 }
23032 return resultobj;
23033 fail:
23034 return NULL;
23035 }
23036
23037
23038 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
23039 PyObject *resultobj;
23040 wxDateSpan result;
23041 char *kwnames[] = {
23042 NULL
23043 };
23044
23045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 result = wxDateSpan::Year();
23049
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
23053 {
23054 wxDateSpan * resultptr;
23055 resultptr = new wxDateSpan((wxDateSpan &) result);
23056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23057 }
23058 return resultobj;
23059 fail:
23060 return NULL;
23061 }
23062
23063
23064 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23065 PyObject *resultobj;
23066 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23067 int arg2 ;
23068 wxDateSpan *result;
23069 PyObject * obj0 = 0 ;
23070 PyObject * obj1 = 0 ;
23071 char *kwnames[] = {
23072 (char *) "self",(char *) "n", NULL
23073 };
23074
23075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
23076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23078 arg2 = (int) SWIG_AsInt(obj1);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 {
23083 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
23084 result = (wxDateSpan *) &_result_ref;
23085 }
23086
23087 wxPyEndAllowThreads(__tstate);
23088 if (PyErr_Occurred()) SWIG_fail;
23089 }
23090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23091 return resultobj;
23092 fail:
23093 return NULL;
23094 }
23095
23096
23097 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23098 PyObject *resultobj;
23099 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23100 int arg2 ;
23101 wxDateSpan *result;
23102 PyObject * obj0 = 0 ;
23103 PyObject * obj1 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self",(char *) "n", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
23109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23111 arg2 = (int) SWIG_AsInt(obj1);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 {
23114 PyThreadState* __tstate = wxPyBeginAllowThreads();
23115 {
23116 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
23117 result = (wxDateSpan *) &_result_ref;
23118 }
23119
23120 wxPyEndAllowThreads(__tstate);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 }
23123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23124 return resultobj;
23125 fail:
23126 return NULL;
23127 }
23128
23129
23130 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23131 PyObject *resultobj;
23132 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23133 int arg2 ;
23134 wxDateSpan *result;
23135 PyObject * obj0 = 0 ;
23136 PyObject * obj1 = 0 ;
23137 char *kwnames[] = {
23138 (char *) "self",(char *) "n", NULL
23139 };
23140
23141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
23142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23144 arg2 = (int) SWIG_AsInt(obj1);
23145 if (PyErr_Occurred()) SWIG_fail;
23146 {
23147 PyThreadState* __tstate = wxPyBeginAllowThreads();
23148 {
23149 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
23150 result = (wxDateSpan *) &_result_ref;
23151 }
23152
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23157 return resultobj;
23158 fail:
23159 return NULL;
23160 }
23161
23162
23163 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23164 PyObject *resultobj;
23165 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23166 int arg2 ;
23167 wxDateSpan *result;
23168 PyObject * obj0 = 0 ;
23169 PyObject * obj1 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "self",(char *) "n", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23177 arg2 = (int) SWIG_AsInt(obj1);
23178 if (PyErr_Occurred()) SWIG_fail;
23179 {
23180 PyThreadState* __tstate = wxPyBeginAllowThreads();
23181 {
23182 wxDateSpan &_result_ref = (arg1)->SetDays(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_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23197 PyObject *resultobj;
23198 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23199 int result;
23200 PyObject * obj0 = 0 ;
23201 char *kwnames[] = {
23202 (char *) "self", NULL
23203 };
23204
23205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23208 {
23209 PyThreadState* __tstate = wxPyBeginAllowThreads();
23210 result = (int)((wxDateSpan const *)arg1)->GetYears();
23211
23212 wxPyEndAllowThreads(__tstate);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 }
23215 resultobj = SWIG_FromInt((int)result);
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23223 PyObject *resultobj;
23224 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23225 int result;
23226 PyObject * obj0 = 0 ;
23227 char *kwnames[] = {
23228 (char *) "self", NULL
23229 };
23230
23231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23234 {
23235 PyThreadState* __tstate = wxPyBeginAllowThreads();
23236 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23237
23238 wxPyEndAllowThreads(__tstate);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 resultobj = SWIG_FromInt((int)result);
23242 return resultobj;
23243 fail:
23244 return NULL;
23245 }
23246
23247
23248 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23249 PyObject *resultobj;
23250 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23251 int result;
23252 PyObject * obj0 = 0 ;
23253 char *kwnames[] = {
23254 (char *) "self", NULL
23255 };
23256
23257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23260 {
23261 PyThreadState* __tstate = wxPyBeginAllowThreads();
23262 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23263
23264 wxPyEndAllowThreads(__tstate);
23265 if (PyErr_Occurred()) SWIG_fail;
23266 }
23267 resultobj = SWIG_FromInt((int)result);
23268 return resultobj;
23269 fail:
23270 return NULL;
23271 }
23272
23273
23274 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23275 PyObject *resultobj;
23276 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23277 int result;
23278 PyObject * obj0 = 0 ;
23279 char *kwnames[] = {
23280 (char *) "self", NULL
23281 };
23282
23283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23286 {
23287 PyThreadState* __tstate = wxPyBeginAllowThreads();
23288 result = (int)((wxDateSpan const *)arg1)->GetDays();
23289
23290 wxPyEndAllowThreads(__tstate);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 }
23293 resultobj = SWIG_FromInt((int)result);
23294 return resultobj;
23295 fail:
23296 return NULL;
23297 }
23298
23299
23300 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23301 PyObject *resultobj;
23302 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23303 int result;
23304 PyObject * obj0 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23312 {
23313 PyThreadState* __tstate = wxPyBeginAllowThreads();
23314 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23315
23316 wxPyEndAllowThreads(__tstate);
23317 if (PyErr_Occurred()) SWIG_fail;
23318 }
23319 resultobj = SWIG_FromInt((int)result);
23320 return resultobj;
23321 fail:
23322 return NULL;
23323 }
23324
23325
23326 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
23327 PyObject *resultobj;
23328 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23329 wxDateSpan *arg2 = 0 ;
23330 wxDateSpan *result;
23331 PyObject * obj0 = 0 ;
23332 PyObject * obj1 = 0 ;
23333 char *kwnames[] = {
23334 (char *) "self",(char *) "other", NULL
23335 };
23336
23337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23341 SWIG_POINTER_EXCEPTION | 0)) == -1)
23342 SWIG_fail;
23343 if (arg2 == NULL) {
23344 PyErr_SetString(PyExc_TypeError,"null reference");
23345 SWIG_fail;
23346 }
23347 {
23348 PyThreadState* __tstate = wxPyBeginAllowThreads();
23349 {
23350 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23351 result = (wxDateSpan *) &_result_ref;
23352 }
23353
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23358 return resultobj;
23359 fail:
23360 return NULL;
23361 }
23362
23363
23364 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
23365 PyObject *resultobj;
23366 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23367 wxDateSpan *arg2 = 0 ;
23368 wxDateSpan *result;
23369 PyObject * obj0 = 0 ;
23370 PyObject * obj1 = 0 ;
23371 char *kwnames[] = {
23372 (char *) "self",(char *) "other", NULL
23373 };
23374
23375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23378 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23379 SWIG_POINTER_EXCEPTION | 0)) == -1)
23380 SWIG_fail;
23381 if (arg2 == NULL) {
23382 PyErr_SetString(PyExc_TypeError,"null reference");
23383 SWIG_fail;
23384 }
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 {
23388 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23389 result = (wxDateSpan *) &_result_ref;
23390 }
23391
23392 wxPyEndAllowThreads(__tstate);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23396 return resultobj;
23397 fail:
23398 return NULL;
23399 }
23400
23401
23402 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
23403 PyObject *resultobj;
23404 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23405 wxDateSpan *result;
23406 PyObject * obj0 = 0 ;
23407 char *kwnames[] = {
23408 (char *) "self", NULL
23409 };
23410
23411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23414 {
23415 PyThreadState* __tstate = wxPyBeginAllowThreads();
23416 {
23417 wxDateSpan &_result_ref = (arg1)->Neg();
23418 result = (wxDateSpan *) &_result_ref;
23419 }
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23425 return resultobj;
23426 fail:
23427 return NULL;
23428 }
23429
23430
23431 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
23432 PyObject *resultobj;
23433 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23434 int arg2 ;
23435 wxDateSpan *result;
23436 PyObject * obj0 = 0 ;
23437 PyObject * obj1 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self",(char *) "factor", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23445 arg2 = (int) SWIG_AsInt(obj1);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 {
23450 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23451 result = (wxDateSpan *) &_result_ref;
23452 }
23453
23454 wxPyEndAllowThreads(__tstate);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23458 return resultobj;
23459 fail:
23460 return NULL;
23461 }
23462
23463
23464 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
23465 PyObject *resultobj;
23466 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23467 wxDateSpan *arg2 = 0 ;
23468 wxDateSpan *result;
23469 PyObject * obj0 = 0 ;
23470 PyObject * obj1 = 0 ;
23471 char *kwnames[] = {
23472 (char *) "self",(char *) "other", NULL
23473 };
23474
23475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23478 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23479 SWIG_POINTER_EXCEPTION | 0)) == -1)
23480 SWIG_fail;
23481 if (arg2 == NULL) {
23482 PyErr_SetString(PyExc_TypeError,"null reference");
23483 SWIG_fail;
23484 }
23485 {
23486 PyThreadState* __tstate = wxPyBeginAllowThreads();
23487 {
23488 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23489 result = (wxDateSpan *) &_result_ref;
23490 }
23491
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
23495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23496 return resultobj;
23497 fail:
23498 return NULL;
23499 }
23500
23501
23502 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23503 PyObject *resultobj;
23504 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23505 wxDateSpan *arg2 = 0 ;
23506 wxDateSpan *result;
23507 PyObject * obj0 = 0 ;
23508 PyObject * obj1 = 0 ;
23509 char *kwnames[] = {
23510 (char *) "self",(char *) "other", NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23517 SWIG_POINTER_EXCEPTION | 0)) == -1)
23518 SWIG_fail;
23519 if (arg2 == NULL) {
23520 PyErr_SetString(PyExc_TypeError,"null reference");
23521 SWIG_fail;
23522 }
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 {
23526 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23527 result = (wxDateSpan *) &_result_ref;
23528 }
23529
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
23533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23534 return resultobj;
23535 fail:
23536 return NULL;
23537 }
23538
23539
23540 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
23541 PyObject *resultobj;
23542 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23543 wxDateSpan *result;
23544 PyObject * obj0 = 0 ;
23545 char *kwnames[] = {
23546 (char *) "self", NULL
23547 };
23548
23549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23552 {
23553 PyThreadState* __tstate = wxPyBeginAllowThreads();
23554 {
23555 wxDateSpan &_result_ref = (arg1)->operator -();
23556 result = (wxDateSpan *) &_result_ref;
23557 }
23558
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
23562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23563 return resultobj;
23564 fail:
23565 return NULL;
23566 }
23567
23568
23569 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23570 PyObject *resultobj;
23571 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23572 int arg2 ;
23573 wxDateSpan *result;
23574 PyObject * obj0 = 0 ;
23575 PyObject * obj1 = 0 ;
23576 char *kwnames[] = {
23577 (char *) "self",(char *) "factor", NULL
23578 };
23579
23580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23583 arg2 = (int) SWIG_AsInt(obj1);
23584 if (PyErr_Occurred()) SWIG_fail;
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 {
23588 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23589 result = (wxDateSpan *) &_result_ref;
23590 }
23591
23592 wxPyEndAllowThreads(__tstate);
23593 if (PyErr_Occurred()) SWIG_fail;
23594 }
23595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23596 return resultobj;
23597 fail:
23598 return NULL;
23599 }
23600
23601
23602 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23603 PyObject *resultobj;
23604 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23605 wxDateSpan *arg2 = 0 ;
23606 wxDateSpan result;
23607 PyObject * obj0 = 0 ;
23608 PyObject * obj1 = 0 ;
23609 char *kwnames[] = {
23610 (char *) "self",(char *) "other", NULL
23611 };
23612
23613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23617 SWIG_POINTER_EXCEPTION | 0)) == -1)
23618 SWIG_fail;
23619 if (arg2 == NULL) {
23620 PyErr_SetString(PyExc_TypeError,"null reference");
23621 SWIG_fail;
23622 }
23623 {
23624 PyThreadState* __tstate = wxPyBeginAllowThreads();
23625 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23626
23627 wxPyEndAllowThreads(__tstate);
23628 if (PyErr_Occurred()) SWIG_fail;
23629 }
23630 {
23631 wxDateSpan * resultptr;
23632 resultptr = new wxDateSpan((wxDateSpan &) result);
23633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23634 }
23635 return resultobj;
23636 fail:
23637 return NULL;
23638 }
23639
23640
23641 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23642 PyObject *resultobj;
23643 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23644 wxDateSpan *arg2 = 0 ;
23645 wxDateSpan result;
23646 PyObject * obj0 = 0 ;
23647 PyObject * obj1 = 0 ;
23648 char *kwnames[] = {
23649 (char *) "self",(char *) "other", NULL
23650 };
23651
23652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23656 SWIG_POINTER_EXCEPTION | 0)) == -1)
23657 SWIG_fail;
23658 if (arg2 == NULL) {
23659 PyErr_SetString(PyExc_TypeError,"null reference");
23660 SWIG_fail;
23661 }
23662 {
23663 PyThreadState* __tstate = wxPyBeginAllowThreads();
23664 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23665
23666 wxPyEndAllowThreads(__tstate);
23667 if (PyErr_Occurred()) SWIG_fail;
23668 }
23669 {
23670 wxDateSpan * resultptr;
23671 resultptr = new wxDateSpan((wxDateSpan &) result);
23672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23673 }
23674 return resultobj;
23675 fail:
23676 return NULL;
23677 }
23678
23679
23680 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23681 PyObject *resultobj;
23682 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23683 int arg2 ;
23684 wxDateSpan result;
23685 PyObject * obj0 = 0 ;
23686 PyObject * obj1 = 0 ;
23687 char *kwnames[] = {
23688 (char *) "self",(char *) "n", NULL
23689 };
23690
23691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23694 arg2 = (int) SWIG_AsInt(obj1);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = wxDateSpan___mul__(arg1,arg2);
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
23703 {
23704 wxDateSpan * resultptr;
23705 resultptr = new wxDateSpan((wxDateSpan &) result);
23706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23707 }
23708 return resultobj;
23709 fail:
23710 return NULL;
23711 }
23712
23713
23714 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23715 PyObject *resultobj;
23716 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23717 int arg2 ;
23718 wxDateSpan result;
23719 PyObject * obj0 = 0 ;
23720 PyObject * obj1 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self",(char *) "n", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23728 arg2 = (int) SWIG_AsInt(obj1);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 result = wxDateSpan___rmul__(arg1,arg2);
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 {
23738 wxDateSpan * resultptr;
23739 resultptr = new wxDateSpan((wxDateSpan &) result);
23740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23741 }
23742 return resultobj;
23743 fail:
23744 return NULL;
23745 }
23746
23747
23748 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23749 PyObject *resultobj;
23750 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23751 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23752 bool result;
23753 PyObject * obj0 = 0 ;
23754 PyObject * obj1 = 0 ;
23755 char *kwnames[] = {
23756 (char *) "self",(char *) "other", NULL
23757 };
23758
23759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
23767
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 {
23772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23773 }
23774 return resultobj;
23775 fail:
23776 return NULL;
23777 }
23778
23779
23780 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23781 PyObject *resultobj;
23782 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23783 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23784 bool result;
23785 PyObject * obj0 = 0 ;
23786 PyObject * obj1 = 0 ;
23787 char *kwnames[] = {
23788 (char *) "self",(char *) "other", NULL
23789 };
23790
23791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23794 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23796 {
23797 PyThreadState* __tstate = wxPyBeginAllowThreads();
23798 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
23799
23800 wxPyEndAllowThreads(__tstate);
23801 if (PyErr_Occurred()) SWIG_fail;
23802 }
23803 {
23804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23805 }
23806 return resultobj;
23807 fail:
23808 return NULL;
23809 }
23810
23811
23812 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23813 PyObject *obj;
23814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23815 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23816 Py_INCREF(obj);
23817 return Py_BuildValue((char *)"");
23818 }
23819 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23820 PyObject *resultobj;
23821 long result;
23822 char *kwnames[] = {
23823 NULL
23824 };
23825
23826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23827 {
23828 PyThreadState* __tstate = wxPyBeginAllowThreads();
23829 result = (long)wxGetLocalTime();
23830
23831 wxPyEndAllowThreads(__tstate);
23832 if (PyErr_Occurred()) SWIG_fail;
23833 }
23834 resultobj = SWIG_FromLong((long)result);
23835 return resultobj;
23836 fail:
23837 return NULL;
23838 }
23839
23840
23841 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23842 PyObject *resultobj;
23843 long result;
23844 char *kwnames[] = {
23845 NULL
23846 };
23847
23848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 result = (long)wxGetUTCTime();
23852
23853 wxPyEndAllowThreads(__tstate);
23854 if (PyErr_Occurred()) SWIG_fail;
23855 }
23856 resultobj = SWIG_FromLong((long)result);
23857 return resultobj;
23858 fail:
23859 return NULL;
23860 }
23861
23862
23863 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23864 PyObject *resultobj;
23865 long result;
23866 char *kwnames[] = {
23867 NULL
23868 };
23869
23870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 result = (long)wxGetCurrentTime();
23874
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
23878 resultobj = SWIG_FromLong((long)result);
23879 return resultobj;
23880 fail:
23881 return NULL;
23882 }
23883
23884
23885 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23886 PyObject *resultobj;
23887 wxLongLong result;
23888 char *kwnames[] = {
23889 NULL
23890 };
23891
23892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23893 {
23894 PyThreadState* __tstate = wxPyBeginAllowThreads();
23895 result = wxGetLocalTimeMillis();
23896
23897 wxPyEndAllowThreads(__tstate);
23898 if (PyErr_Occurred()) SWIG_fail;
23899 }
23900 {
23901 PyObject *hi, *lo, *shifter, *shifted;
23902 hi = PyLong_FromLong( (&result)->GetHi() );
23903 lo = PyLong_FromLong( (&result)->GetLo() );
23904 shifter = PyLong_FromLong(32);
23905 shifted = PyNumber_Lshift(hi, shifter);
23906 resultobj = PyNumber_Or(shifted, lo);
23907 Py_DECREF(hi);
23908 Py_DECREF(lo);
23909 Py_DECREF(shifter);
23910 Py_DECREF(shifted);
23911 }
23912 return resultobj;
23913 fail:
23914 return NULL;
23915 }
23916
23917
23918 static int _wrap_DefaultDateTime_set(PyObject *_val) {
23919 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23920 return 1;
23921 }
23922
23923
23924 static PyObject *_wrap_DefaultDateTime_get() {
23925 PyObject *pyobj;
23926
23927 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
23928 return pyobj;
23929 }
23930
23931
23932 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23933 PyObject *resultobj;
23934 int arg1 ;
23935 wxDataFormat *result;
23936 PyObject * obj0 = 0 ;
23937 char *kwnames[] = {
23938 (char *) "type", NULL
23939 };
23940
23941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23942 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 {
23945 PyThreadState* __tstate = wxPyBeginAllowThreads();
23946 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23947
23948 wxPyEndAllowThreads(__tstate);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 }
23951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23952 return resultobj;
23953 fail:
23954 return NULL;
23955 }
23956
23957
23958 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23959 PyObject *resultobj;
23960 wxString *arg1 = 0 ;
23961 wxDataFormat *result;
23962 bool temp1 = False ;
23963 PyObject * obj0 = 0 ;
23964 char *kwnames[] = {
23965 (char *) "format", NULL
23966 };
23967
23968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23969 {
23970 arg1 = wxString_in_helper(obj0);
23971 if (arg1 == NULL) SWIG_fail;
23972 temp1 = True;
23973 }
23974 {
23975 PyThreadState* __tstate = wxPyBeginAllowThreads();
23976 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23977
23978 wxPyEndAllowThreads(__tstate);
23979 if (PyErr_Occurred()) SWIG_fail;
23980 }
23981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23982 {
23983 if (temp1)
23984 delete arg1;
23985 }
23986 return resultobj;
23987 fail:
23988 {
23989 if (temp1)
23990 delete arg1;
23991 }
23992 return NULL;
23993 }
23994
23995
23996 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23997 PyObject *resultobj;
23998 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23999 PyObject * obj0 = 0 ;
24000 char *kwnames[] = {
24001 (char *) "self", NULL
24002 };
24003
24004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
24005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24007 {
24008 PyThreadState* __tstate = wxPyBeginAllowThreads();
24009 delete arg1;
24010
24011 wxPyEndAllowThreads(__tstate);
24012 if (PyErr_Occurred()) SWIG_fail;
24013 }
24014 Py_INCREF(Py_None); resultobj = Py_None;
24015 return resultobj;
24016 fail:
24017 return NULL;
24018 }
24019
24020
24021 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
24022 PyObject *resultobj;
24023 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24024 int arg2 ;
24025 bool result;
24026 PyObject * obj0 = 0 ;
24027 PyObject * obj1 = 0 ;
24028
24029 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24032 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 {
24035 PyThreadState* __tstate = wxPyBeginAllowThreads();
24036 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
24037
24038 wxPyEndAllowThreads(__tstate);
24039 if (PyErr_Occurred()) SWIG_fail;
24040 }
24041 {
24042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24043 }
24044 return resultobj;
24045 fail:
24046 return NULL;
24047 }
24048
24049
24050 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
24051 PyObject *resultobj;
24052 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24053 int arg2 ;
24054 bool result;
24055 PyObject * obj0 = 0 ;
24056 PyObject * obj1 = 0 ;
24057
24058 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24061 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24062 if (PyErr_Occurred()) SWIG_fail;
24063 {
24064 PyThreadState* __tstate = wxPyBeginAllowThreads();
24065 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
24066
24067 wxPyEndAllowThreads(__tstate);
24068 if (PyErr_Occurred()) SWIG_fail;
24069 }
24070 {
24071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24072 }
24073 return resultobj;
24074 fail:
24075 return NULL;
24076 }
24077
24078
24079 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
24080 PyObject *resultobj;
24081 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24082 wxDataFormat *arg2 = 0 ;
24083 bool result;
24084 PyObject * obj0 = 0 ;
24085 PyObject * obj1 = 0 ;
24086
24087 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24091 SWIG_POINTER_EXCEPTION | 0)) == -1)
24092 SWIG_fail;
24093 if (arg2 == NULL) {
24094 PyErr_SetString(PyExc_TypeError,"null reference");
24095 SWIG_fail;
24096 }
24097 {
24098 PyThreadState* __tstate = wxPyBeginAllowThreads();
24099 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
24100
24101 wxPyEndAllowThreads(__tstate);
24102 if (PyErr_Occurred()) SWIG_fail;
24103 }
24104 {
24105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24106 }
24107 return resultobj;
24108 fail:
24109 return NULL;
24110 }
24111
24112
24113 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
24114 int argc;
24115 PyObject *argv[3];
24116 int ii;
24117
24118 argc = PyObject_Length(args);
24119 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24120 argv[ii] = PyTuple_GetItem(args,ii);
24121 }
24122 if (argc == 2) {
24123 int _v;
24124 {
24125 void *ptr;
24126 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24127 _v = 0;
24128 PyErr_Clear();
24129 } else {
24130 _v = 1;
24131 }
24132 }
24133 if (_v) {
24134 {
24135 void *ptr;
24136 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24137 _v = 0;
24138 PyErr_Clear();
24139 } else {
24140 _v = 1;
24141 }
24142 }
24143 if (_v) {
24144 return _wrap_DataFormat___eq____SWIG_1(self,args);
24145 }
24146 }
24147 }
24148 if (argc == 2) {
24149 int _v;
24150 {
24151 void *ptr;
24152 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24153 _v = 0;
24154 PyErr_Clear();
24155 } else {
24156 _v = 1;
24157 }
24158 }
24159 if (_v) {
24160 _v = SWIG_CheckInt(argv[1]);
24161 if (_v) {
24162 return _wrap_DataFormat___eq____SWIG_0(self,args);
24163 }
24164 }
24165 }
24166
24167 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24168 return NULL;
24169 }
24170
24171
24172 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
24173 PyObject *resultobj;
24174 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24175 wxDataFormat *arg2 = 0 ;
24176 bool result;
24177 PyObject * obj0 = 0 ;
24178 PyObject * obj1 = 0 ;
24179
24180 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24183 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24184 SWIG_POINTER_EXCEPTION | 0)) == -1)
24185 SWIG_fail;
24186 if (arg2 == NULL) {
24187 PyErr_SetString(PyExc_TypeError,"null reference");
24188 SWIG_fail;
24189 }
24190 {
24191 PyThreadState* __tstate = wxPyBeginAllowThreads();
24192 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24193
24194 wxPyEndAllowThreads(__tstate);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 }
24197 {
24198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24199 }
24200 return resultobj;
24201 fail:
24202 return NULL;
24203 }
24204
24205
24206 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24207 int argc;
24208 PyObject *argv[3];
24209 int ii;
24210
24211 argc = PyObject_Length(args);
24212 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24213 argv[ii] = PyTuple_GetItem(args,ii);
24214 }
24215 if (argc == 2) {
24216 int _v;
24217 {
24218 void *ptr;
24219 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24220 _v = 0;
24221 PyErr_Clear();
24222 } else {
24223 _v = 1;
24224 }
24225 }
24226 if (_v) {
24227 {
24228 void *ptr;
24229 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24230 _v = 0;
24231 PyErr_Clear();
24232 } else {
24233 _v = 1;
24234 }
24235 }
24236 if (_v) {
24237 return _wrap_DataFormat___ne____SWIG_1(self,args);
24238 }
24239 }
24240 }
24241 if (argc == 2) {
24242 int _v;
24243 {
24244 void *ptr;
24245 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24246 _v = 0;
24247 PyErr_Clear();
24248 } else {
24249 _v = 1;
24250 }
24251 }
24252 if (_v) {
24253 _v = SWIG_CheckInt(argv[1]);
24254 if (_v) {
24255 return _wrap_DataFormat___ne____SWIG_0(self,args);
24256 }
24257 }
24258 }
24259
24260 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24261 return NULL;
24262 }
24263
24264
24265 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24266 PyObject *resultobj;
24267 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24268 int arg2 ;
24269 PyObject * obj0 = 0 ;
24270 PyObject * obj1 = 0 ;
24271 char *kwnames[] = {
24272 (char *) "self",(char *) "format", NULL
24273 };
24274
24275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24278 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24279 if (PyErr_Occurred()) SWIG_fail;
24280 {
24281 PyThreadState* __tstate = wxPyBeginAllowThreads();
24282 (arg1)->SetType((wxDataFormatId )arg2);
24283
24284 wxPyEndAllowThreads(__tstate);
24285 if (PyErr_Occurred()) SWIG_fail;
24286 }
24287 Py_INCREF(Py_None); resultobj = Py_None;
24288 return resultobj;
24289 fail:
24290 return NULL;
24291 }
24292
24293
24294 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24295 PyObject *resultobj;
24296 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24297 int result;
24298 PyObject * obj0 = 0 ;
24299 char *kwnames[] = {
24300 (char *) "self", NULL
24301 };
24302
24303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24306 {
24307 PyThreadState* __tstate = wxPyBeginAllowThreads();
24308 result = (int)((wxDataFormat const *)arg1)->GetType();
24309
24310 wxPyEndAllowThreads(__tstate);
24311 if (PyErr_Occurred()) SWIG_fail;
24312 }
24313 resultobj = SWIG_FromInt((int)result);
24314 return resultobj;
24315 fail:
24316 return NULL;
24317 }
24318
24319
24320 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24321 PyObject *resultobj;
24322 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24323 wxString result;
24324 PyObject * obj0 = 0 ;
24325 char *kwnames[] = {
24326 (char *) "self", NULL
24327 };
24328
24329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24332 {
24333 PyThreadState* __tstate = wxPyBeginAllowThreads();
24334 result = ((wxDataFormat const *)arg1)->GetId();
24335
24336 wxPyEndAllowThreads(__tstate);
24337 if (PyErr_Occurred()) SWIG_fail;
24338 }
24339 {
24340 #if wxUSE_UNICODE
24341 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24342 #else
24343 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24344 #endif
24345 }
24346 return resultobj;
24347 fail:
24348 return NULL;
24349 }
24350
24351
24352 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24353 PyObject *resultobj;
24354 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24355 wxString *arg2 = 0 ;
24356 bool temp2 = False ;
24357 PyObject * obj0 = 0 ;
24358 PyObject * obj1 = 0 ;
24359 char *kwnames[] = {
24360 (char *) "self",(char *) "format", NULL
24361 };
24362
24363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24366 {
24367 arg2 = wxString_in_helper(obj1);
24368 if (arg2 == NULL) SWIG_fail;
24369 temp2 = True;
24370 }
24371 {
24372 PyThreadState* __tstate = wxPyBeginAllowThreads();
24373 (arg1)->SetId((wxString const &)*arg2);
24374
24375 wxPyEndAllowThreads(__tstate);
24376 if (PyErr_Occurred()) SWIG_fail;
24377 }
24378 Py_INCREF(Py_None); resultobj = Py_None;
24379 {
24380 if (temp2)
24381 delete arg2;
24382 }
24383 return resultobj;
24384 fail:
24385 {
24386 if (temp2)
24387 delete arg2;
24388 }
24389 return NULL;
24390 }
24391
24392
24393 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
24394 PyObject *obj;
24395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24396 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24397 Py_INCREF(obj);
24398 return Py_BuildValue((char *)"");
24399 }
24400 static int _wrap_FormatInvalid_set(PyObject *_val) {
24401 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24402 return 1;
24403 }
24404
24405
24406 static PyObject *_wrap_FormatInvalid_get() {
24407 PyObject *pyobj;
24408
24409 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24410 return pyobj;
24411 }
24412
24413
24414 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24415 PyObject *resultobj;
24416 wxDataObject *arg1 = (wxDataObject *) 0 ;
24417 PyObject * obj0 = 0 ;
24418 char *kwnames[] = {
24419 (char *) "self", NULL
24420 };
24421
24422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24425 {
24426 PyThreadState* __tstate = wxPyBeginAllowThreads();
24427 delete arg1;
24428
24429 wxPyEndAllowThreads(__tstate);
24430 if (PyErr_Occurred()) SWIG_fail;
24431 }
24432 Py_INCREF(Py_None); resultobj = Py_None;
24433 return resultobj;
24434 fail:
24435 return NULL;
24436 }
24437
24438
24439 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24440 PyObject *resultobj;
24441 wxDataObject *arg1 = (wxDataObject *) 0 ;
24442 int arg2 = (int) wxDataObject::Get ;
24443 SwigValueWrapper< wxDataFormat > result;
24444 PyObject * obj0 = 0 ;
24445 PyObject * obj1 = 0 ;
24446 char *kwnames[] = {
24447 (char *) "self",(char *) "dir", NULL
24448 };
24449
24450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24453 if (obj1) {
24454 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24455 if (PyErr_Occurred()) SWIG_fail;
24456 }
24457 {
24458 PyThreadState* __tstate = wxPyBeginAllowThreads();
24459 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24460
24461 wxPyEndAllowThreads(__tstate);
24462 if (PyErr_Occurred()) SWIG_fail;
24463 }
24464 {
24465 wxDataFormat * resultptr;
24466 resultptr = new wxDataFormat((wxDataFormat &) result);
24467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24468 }
24469 return resultobj;
24470 fail:
24471 return NULL;
24472 }
24473
24474
24475 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24476 PyObject *resultobj;
24477 wxDataObject *arg1 = (wxDataObject *) 0 ;
24478 int arg2 = (int) wxDataObject::Get ;
24479 size_t result;
24480 PyObject * obj0 = 0 ;
24481 PyObject * obj1 = 0 ;
24482 char *kwnames[] = {
24483 (char *) "self",(char *) "dir", NULL
24484 };
24485
24486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24489 if (obj1) {
24490 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24491 if (PyErr_Occurred()) SWIG_fail;
24492 }
24493 {
24494 PyThreadState* __tstate = wxPyBeginAllowThreads();
24495 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24496
24497 wxPyEndAllowThreads(__tstate);
24498 if (PyErr_Occurred()) SWIG_fail;
24499 }
24500 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24501 return resultobj;
24502 fail:
24503 return NULL;
24504 }
24505
24506
24507 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24508 PyObject *resultobj;
24509 wxDataObject *arg1 = (wxDataObject *) 0 ;
24510 wxDataFormat *arg2 = 0 ;
24511 int arg3 = (int) wxDataObject::Get ;
24512 bool result;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 PyObject * obj2 = 0 ;
24516 char *kwnames[] = {
24517 (char *) "self",(char *) "format",(char *) "dir", NULL
24518 };
24519
24520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24524 SWIG_POINTER_EXCEPTION | 0)) == -1)
24525 SWIG_fail;
24526 if (arg2 == NULL) {
24527 PyErr_SetString(PyExc_TypeError,"null reference");
24528 SWIG_fail;
24529 }
24530 if (obj2) {
24531 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24532 if (PyErr_Occurred()) SWIG_fail;
24533 }
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 {
24542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24543 }
24544 return resultobj;
24545 fail:
24546 return NULL;
24547 }
24548
24549
24550 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24551 PyObject *resultobj;
24552 wxDataObject *arg1 = (wxDataObject *) 0 ;
24553 wxDataFormat *arg2 = 0 ;
24554 size_t result;
24555 PyObject * obj0 = 0 ;
24556 PyObject * obj1 = 0 ;
24557 char *kwnames[] = {
24558 (char *) "self",(char *) "format", NULL
24559 };
24560
24561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24565 SWIG_POINTER_EXCEPTION | 0)) == -1)
24566 SWIG_fail;
24567 if (arg2 == NULL) {
24568 PyErr_SetString(PyExc_TypeError,"null reference");
24569 SWIG_fail;
24570 }
24571 {
24572 PyThreadState* __tstate = wxPyBeginAllowThreads();
24573 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24574
24575 wxPyEndAllowThreads(__tstate);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
24578 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24579 return resultobj;
24580 fail:
24581 return NULL;
24582 }
24583
24584
24585 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24586 PyObject *resultobj;
24587 wxDataObject *arg1 = (wxDataObject *) 0 ;
24588 int arg2 = (int) wxDataObject::Get ;
24589 PyObject *result;
24590 PyObject * obj0 = 0 ;
24591 PyObject * obj1 = 0 ;
24592 char *kwnames[] = {
24593 (char *) "self",(char *) "dir", NULL
24594 };
24595
24596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
24597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24599 if (obj1) {
24600 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 {
24604 PyThreadState* __tstate = wxPyBeginAllowThreads();
24605 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
24606
24607 wxPyEndAllowThreads(__tstate);
24608 if (PyErr_Occurred()) SWIG_fail;
24609 }
24610 resultobj = result;
24611 return resultobj;
24612 fail:
24613 return NULL;
24614 }
24615
24616
24617 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24618 PyObject *resultobj;
24619 wxDataObject *arg1 = (wxDataObject *) 0 ;
24620 wxDataFormat *arg2 = 0 ;
24621 PyObject *result;
24622 PyObject * obj0 = 0 ;
24623 PyObject * obj1 = 0 ;
24624 char *kwnames[] = {
24625 (char *) "self",(char *) "format", NULL
24626 };
24627
24628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
24629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24632 SWIG_POINTER_EXCEPTION | 0)) == -1)
24633 SWIG_fail;
24634 if (arg2 == NULL) {
24635 PyErr_SetString(PyExc_TypeError,"null reference");
24636 SWIG_fail;
24637 }
24638 {
24639 PyThreadState* __tstate = wxPyBeginAllowThreads();
24640 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
24641
24642 wxPyEndAllowThreads(__tstate);
24643 if (PyErr_Occurred()) SWIG_fail;
24644 }
24645 resultobj = result;
24646 return resultobj;
24647 fail:
24648 return NULL;
24649 }
24650
24651
24652 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24653 PyObject *resultobj;
24654 wxDataObject *arg1 = (wxDataObject *) 0 ;
24655 wxDataFormat *arg2 = 0 ;
24656 PyObject *arg3 = (PyObject *) 0 ;
24657 bool result;
24658 PyObject * obj0 = 0 ;
24659 PyObject * obj1 = 0 ;
24660 PyObject * obj2 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "self",(char *) "format",(char *) "data", NULL
24663 };
24664
24665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24669 SWIG_POINTER_EXCEPTION | 0)) == -1)
24670 SWIG_fail;
24671 if (arg2 == NULL) {
24672 PyErr_SetString(PyExc_TypeError,"null reference");
24673 SWIG_fail;
24674 }
24675 arg3 = obj2;
24676 {
24677 PyThreadState* __tstate = wxPyBeginAllowThreads();
24678 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
24679
24680 wxPyEndAllowThreads(__tstate);
24681 if (PyErr_Occurred()) SWIG_fail;
24682 }
24683 {
24684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24685 }
24686 return resultobj;
24687 fail:
24688 return NULL;
24689 }
24690
24691
24692 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24693 PyObject *obj;
24694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24695 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24696 Py_INCREF(obj);
24697 return Py_BuildValue((char *)"");
24698 }
24699 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24700 PyObject *resultobj;
24701 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24702 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24703 wxDataObjectSimple *result;
24704 PyObject * obj0 = 0 ;
24705 char *kwnames[] = {
24706 (char *) "format", NULL
24707 };
24708
24709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24710 if (obj0) {
24711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24712 SWIG_POINTER_EXCEPTION | 0)) == -1)
24713 SWIG_fail;
24714 if (arg1 == NULL) {
24715 PyErr_SetString(PyExc_TypeError,"null reference");
24716 SWIG_fail;
24717 }
24718 }
24719 {
24720 PyThreadState* __tstate = wxPyBeginAllowThreads();
24721 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24722
24723 wxPyEndAllowThreads(__tstate);
24724 if (PyErr_Occurred()) SWIG_fail;
24725 }
24726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
24727 return resultobj;
24728 fail:
24729 return NULL;
24730 }
24731
24732
24733 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24734 PyObject *resultobj;
24735 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24736 wxDataFormat *result;
24737 PyObject * obj0 = 0 ;
24738 char *kwnames[] = {
24739 (char *) "self", NULL
24740 };
24741
24742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 {
24748 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24749 result = (wxDataFormat *) &_result_ref;
24750 }
24751
24752 wxPyEndAllowThreads(__tstate);
24753 if (PyErr_Occurred()) SWIG_fail;
24754 }
24755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
24756 return resultobj;
24757 fail:
24758 return NULL;
24759 }
24760
24761
24762 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24763 PyObject *resultobj;
24764 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24765 wxDataFormat *arg2 = 0 ;
24766 PyObject * obj0 = 0 ;
24767 PyObject * obj1 = 0 ;
24768 char *kwnames[] = {
24769 (char *) "self",(char *) "format", NULL
24770 };
24771
24772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24775 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24776 SWIG_POINTER_EXCEPTION | 0)) == -1)
24777 SWIG_fail;
24778 if (arg2 == NULL) {
24779 PyErr_SetString(PyExc_TypeError,"null reference");
24780 SWIG_fail;
24781 }
24782 {
24783 PyThreadState* __tstate = wxPyBeginAllowThreads();
24784 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24785
24786 wxPyEndAllowThreads(__tstate);
24787 if (PyErr_Occurred()) SWIG_fail;
24788 }
24789 Py_INCREF(Py_None); resultobj = Py_None;
24790 return resultobj;
24791 fail:
24792 return NULL;
24793 }
24794
24795
24796 static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24797 PyObject *resultobj;
24798 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24799 size_t result;
24800 PyObject * obj0 = 0 ;
24801 char *kwnames[] = {
24802 (char *) "self", NULL
24803 };
24804
24805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
24806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24816 return resultobj;
24817 fail:
24818 return NULL;
24819 }
24820
24821
24822 static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24823 PyObject *resultobj;
24824 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24825 PyObject *result;
24826 PyObject * obj0 = 0 ;
24827 char *kwnames[] = {
24828 (char *) "self", NULL
24829 };
24830
24831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
24832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24834 {
24835 PyThreadState* __tstate = wxPyBeginAllowThreads();
24836 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
24837
24838 wxPyEndAllowThreads(__tstate);
24839 if (PyErr_Occurred()) SWIG_fail;
24840 }
24841 resultobj = result;
24842 return resultobj;
24843 fail:
24844 return NULL;
24845 }
24846
24847
24848 static PyObject *_wrap_DataObjectSimple_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24849 PyObject *resultobj;
24850 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24851 PyObject *arg2 = (PyObject *) 0 ;
24852 bool result;
24853 PyObject * obj0 = 0 ;
24854 PyObject * obj1 = 0 ;
24855 char *kwnames[] = {
24856 (char *) "self",(char *) "data", NULL
24857 };
24858
24859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
24860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24862 arg2 = obj1;
24863 {
24864 PyThreadState* __tstate = wxPyBeginAllowThreads();
24865 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
24866
24867 wxPyEndAllowThreads(__tstate);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 }
24870 {
24871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24872 }
24873 return resultobj;
24874 fail:
24875 return NULL;
24876 }
24877
24878
24879 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24880 PyObject *obj;
24881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24882 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24883 Py_INCREF(obj);
24884 return Py_BuildValue((char *)"");
24885 }
24886 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24887 PyObject *resultobj;
24888 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24889 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24890 wxPyDataObjectSimple *result;
24891 PyObject * obj0 = 0 ;
24892 char *kwnames[] = {
24893 (char *) "format", NULL
24894 };
24895
24896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24897 if (obj0) {
24898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24899 SWIG_POINTER_EXCEPTION | 0)) == -1)
24900 SWIG_fail;
24901 if (arg1 == NULL) {
24902 PyErr_SetString(PyExc_TypeError,"null reference");
24903 SWIG_fail;
24904 }
24905 }
24906 {
24907 PyThreadState* __tstate = wxPyBeginAllowThreads();
24908 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24909
24910 wxPyEndAllowThreads(__tstate);
24911 if (PyErr_Occurred()) SWIG_fail;
24912 }
24913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
24914 return resultobj;
24915 fail:
24916 return NULL;
24917 }
24918
24919
24920 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24921 PyObject *resultobj;
24922 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24923 PyObject *arg2 = (PyObject *) 0 ;
24924 PyObject *arg3 = (PyObject *) 0 ;
24925 PyObject * obj0 = 0 ;
24926 PyObject * obj1 = 0 ;
24927 PyObject * obj2 = 0 ;
24928 char *kwnames[] = {
24929 (char *) "self",(char *) "self",(char *) "_class", NULL
24930 };
24931
24932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24935 arg2 = obj1;
24936 arg3 = obj2;
24937 {
24938 PyThreadState* __tstate = wxPyBeginAllowThreads();
24939 (arg1)->_setCallbackInfo(arg2,arg3);
24940
24941 wxPyEndAllowThreads(__tstate);
24942 if (PyErr_Occurred()) SWIG_fail;
24943 }
24944 Py_INCREF(Py_None); resultobj = Py_None;
24945 return resultobj;
24946 fail:
24947 return NULL;
24948 }
24949
24950
24951 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24952 PyObject *obj;
24953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24954 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24955 Py_INCREF(obj);
24956 return Py_BuildValue((char *)"");
24957 }
24958 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24959 PyObject *resultobj;
24960 wxDataObjectComposite *result;
24961 char *kwnames[] = {
24962 NULL
24963 };
24964
24965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24966 {
24967 PyThreadState* __tstate = wxPyBeginAllowThreads();
24968 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24969
24970 wxPyEndAllowThreads(__tstate);
24971 if (PyErr_Occurred()) SWIG_fail;
24972 }
24973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
24974 return resultobj;
24975 fail:
24976 return NULL;
24977 }
24978
24979
24980 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24981 PyObject *resultobj;
24982 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24983 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
24984 bool arg3 = (bool) False ;
24985 PyObject * obj0 = 0 ;
24986 PyObject * obj1 = 0 ;
24987 PyObject * obj2 = 0 ;
24988 char *kwnames[] = {
24989 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24990 };
24991
24992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
24993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24995 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24996 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24997 if (obj2) {
24998 arg3 = (bool) SWIG_AsBool(obj2);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 {
25002 PyThreadState* __tstate = wxPyBeginAllowThreads();
25003 (arg1)->Add(arg2,arg3);
25004
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 Py_INCREF(Py_None); resultobj = Py_None;
25009 return resultobj;
25010 fail:
25011 return NULL;
25012 }
25013
25014
25015 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
25016 PyObject *obj;
25017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25018 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
25019 Py_INCREF(obj);
25020 return Py_BuildValue((char *)"");
25021 }
25022 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25023 PyObject *resultobj;
25024 wxString const &arg1_defvalue = wxPyEmptyString ;
25025 wxString *arg1 = (wxString *) &arg1_defvalue ;
25026 wxTextDataObject *result;
25027 bool temp1 = False ;
25028 PyObject * obj0 = 0 ;
25029 char *kwnames[] = {
25030 (char *) "text", NULL
25031 };
25032
25033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
25034 if (obj0) {
25035 {
25036 arg1 = wxString_in_helper(obj0);
25037 if (arg1 == NULL) SWIG_fail;
25038 temp1 = True;
25039 }
25040 }
25041 {
25042 PyThreadState* __tstate = wxPyBeginAllowThreads();
25043 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
25044
25045 wxPyEndAllowThreads(__tstate);
25046 if (PyErr_Occurred()) SWIG_fail;
25047 }
25048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
25049 {
25050 if (temp1)
25051 delete arg1;
25052 }
25053 return resultobj;
25054 fail:
25055 {
25056 if (temp1)
25057 delete arg1;
25058 }
25059 return NULL;
25060 }
25061
25062
25063 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
25064 PyObject *resultobj;
25065 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25066 size_t result;
25067 PyObject * obj0 = 0 ;
25068 char *kwnames[] = {
25069 (char *) "self", NULL
25070 };
25071
25072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
25073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25075 {
25076 PyThreadState* __tstate = wxPyBeginAllowThreads();
25077 result = (size_t)(arg1)->GetTextLength();
25078
25079 wxPyEndAllowThreads(__tstate);
25080 if (PyErr_Occurred()) SWIG_fail;
25081 }
25082 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25083 return resultobj;
25084 fail:
25085 return NULL;
25086 }
25087
25088
25089 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25090 PyObject *resultobj;
25091 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25092 wxString result;
25093 PyObject * obj0 = 0 ;
25094 char *kwnames[] = {
25095 (char *) "self", NULL
25096 };
25097
25098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
25099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 result = (arg1)->GetText();
25104
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 {
25109 #if wxUSE_UNICODE
25110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25111 #else
25112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25113 #endif
25114 }
25115 return resultobj;
25116 fail:
25117 return NULL;
25118 }
25119
25120
25121 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25122 PyObject *resultobj;
25123 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25124 wxString *arg2 = 0 ;
25125 bool temp2 = False ;
25126 PyObject * obj0 = 0 ;
25127 PyObject * obj1 = 0 ;
25128 char *kwnames[] = {
25129 (char *) "self",(char *) "text", NULL
25130 };
25131
25132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
25133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25135 {
25136 arg2 = wxString_in_helper(obj1);
25137 if (arg2 == NULL) SWIG_fail;
25138 temp2 = True;
25139 }
25140 {
25141 PyThreadState* __tstate = wxPyBeginAllowThreads();
25142 (arg1)->SetText((wxString const &)*arg2);
25143
25144 wxPyEndAllowThreads(__tstate);
25145 if (PyErr_Occurred()) SWIG_fail;
25146 }
25147 Py_INCREF(Py_None); resultobj = Py_None;
25148 {
25149 if (temp2)
25150 delete arg2;
25151 }
25152 return resultobj;
25153 fail:
25154 {
25155 if (temp2)
25156 delete arg2;
25157 }
25158 return NULL;
25159 }
25160
25161
25162 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
25163 PyObject *obj;
25164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25165 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
25166 Py_INCREF(obj);
25167 return Py_BuildValue((char *)"");
25168 }
25169 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25170 PyObject *resultobj;
25171 wxString const &arg1_defvalue = wxPyEmptyString ;
25172 wxString *arg1 = (wxString *) &arg1_defvalue ;
25173 wxPyTextDataObject *result;
25174 bool temp1 = False ;
25175 PyObject * obj0 = 0 ;
25176 char *kwnames[] = {
25177 (char *) "text", NULL
25178 };
25179
25180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
25181 if (obj0) {
25182 {
25183 arg1 = wxString_in_helper(obj0);
25184 if (arg1 == NULL) SWIG_fail;
25185 temp1 = True;
25186 }
25187 }
25188 {
25189 PyThreadState* __tstate = wxPyBeginAllowThreads();
25190 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
25191
25192 wxPyEndAllowThreads(__tstate);
25193 if (PyErr_Occurred()) SWIG_fail;
25194 }
25195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
25196 {
25197 if (temp1)
25198 delete arg1;
25199 }
25200 return resultobj;
25201 fail:
25202 {
25203 if (temp1)
25204 delete arg1;
25205 }
25206 return NULL;
25207 }
25208
25209
25210 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25211 PyObject *resultobj;
25212 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
25213 PyObject *arg2 = (PyObject *) 0 ;
25214 PyObject *arg3 = (PyObject *) 0 ;
25215 PyObject * obj0 = 0 ;
25216 PyObject * obj1 = 0 ;
25217 PyObject * obj2 = 0 ;
25218 char *kwnames[] = {
25219 (char *) "self",(char *) "self",(char *) "_class", NULL
25220 };
25221
25222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25225 arg2 = obj1;
25226 arg3 = obj2;
25227 {
25228 PyThreadState* __tstate = wxPyBeginAllowThreads();
25229 (arg1)->_setCallbackInfo(arg2,arg3);
25230
25231 wxPyEndAllowThreads(__tstate);
25232 if (PyErr_Occurred()) SWIG_fail;
25233 }
25234 Py_INCREF(Py_None); resultobj = Py_None;
25235 return resultobj;
25236 fail:
25237 return NULL;
25238 }
25239
25240
25241 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
25242 PyObject *obj;
25243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25244 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25245 Py_INCREF(obj);
25246 return Py_BuildValue((char *)"");
25247 }
25248 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25249 PyObject *resultobj;
25250 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25251 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25252 wxBitmapDataObject *result;
25253 PyObject * obj0 = 0 ;
25254 char *kwnames[] = {
25255 (char *) "bitmap", NULL
25256 };
25257
25258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25259 if (obj0) {
25260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25261 SWIG_POINTER_EXCEPTION | 0)) == -1)
25262 SWIG_fail;
25263 if (arg1 == NULL) {
25264 PyErr_SetString(PyExc_TypeError,"null reference");
25265 SWIG_fail;
25266 }
25267 }
25268 {
25269 PyThreadState* __tstate = wxPyBeginAllowThreads();
25270 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25271
25272 wxPyEndAllowThreads(__tstate);
25273 if (PyErr_Occurred()) SWIG_fail;
25274 }
25275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25276 return resultobj;
25277 fail:
25278 return NULL;
25279 }
25280
25281
25282 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25283 PyObject *resultobj;
25284 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25285 wxBitmap result;
25286 PyObject * obj0 = 0 ;
25287 char *kwnames[] = {
25288 (char *) "self", NULL
25289 };
25290
25291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25294 {
25295 PyThreadState* __tstate = wxPyBeginAllowThreads();
25296 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25297
25298 wxPyEndAllowThreads(__tstate);
25299 if (PyErr_Occurred()) SWIG_fail;
25300 }
25301 {
25302 wxBitmap * resultptr;
25303 resultptr = new wxBitmap((wxBitmap &) result);
25304 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25305 }
25306 return resultobj;
25307 fail:
25308 return NULL;
25309 }
25310
25311
25312 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25313 PyObject *resultobj;
25314 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25315 wxBitmap *arg2 = 0 ;
25316 PyObject * obj0 = 0 ;
25317 PyObject * obj1 = 0 ;
25318 char *kwnames[] = {
25319 (char *) "self",(char *) "bitmap", NULL
25320 };
25321
25322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25326 SWIG_POINTER_EXCEPTION | 0)) == -1)
25327 SWIG_fail;
25328 if (arg2 == NULL) {
25329 PyErr_SetString(PyExc_TypeError,"null reference");
25330 SWIG_fail;
25331 }
25332 {
25333 PyThreadState* __tstate = wxPyBeginAllowThreads();
25334 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25335
25336 wxPyEndAllowThreads(__tstate);
25337 if (PyErr_Occurred()) SWIG_fail;
25338 }
25339 Py_INCREF(Py_None); resultobj = Py_None;
25340 return resultobj;
25341 fail:
25342 return NULL;
25343 }
25344
25345
25346 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25347 PyObject *obj;
25348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25349 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25350 Py_INCREF(obj);
25351 return Py_BuildValue((char *)"");
25352 }
25353 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25354 PyObject *resultobj;
25355 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25356 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25357 wxPyBitmapDataObject *result;
25358 PyObject * obj0 = 0 ;
25359 char *kwnames[] = {
25360 (char *) "bitmap", NULL
25361 };
25362
25363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25364 if (obj0) {
25365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25366 SWIG_POINTER_EXCEPTION | 0)) == -1)
25367 SWIG_fail;
25368 if (arg1 == NULL) {
25369 PyErr_SetString(PyExc_TypeError,"null reference");
25370 SWIG_fail;
25371 }
25372 }
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25376
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25381 return resultobj;
25382 fail:
25383 return NULL;
25384 }
25385
25386
25387 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25388 PyObject *resultobj;
25389 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25390 PyObject *arg2 = (PyObject *) 0 ;
25391 PyObject *arg3 = (PyObject *) 0 ;
25392 PyObject * obj0 = 0 ;
25393 PyObject * obj1 = 0 ;
25394 PyObject * obj2 = 0 ;
25395 char *kwnames[] = {
25396 (char *) "self",(char *) "self",(char *) "_class", NULL
25397 };
25398
25399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25402 arg2 = obj1;
25403 arg3 = obj2;
25404 {
25405 PyThreadState* __tstate = wxPyBeginAllowThreads();
25406 (arg1)->_setCallbackInfo(arg2,arg3);
25407
25408 wxPyEndAllowThreads(__tstate);
25409 if (PyErr_Occurred()) SWIG_fail;
25410 }
25411 Py_INCREF(Py_None); resultobj = Py_None;
25412 return resultobj;
25413 fail:
25414 return NULL;
25415 }
25416
25417
25418 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25419 PyObject *obj;
25420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25421 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25422 Py_INCREF(obj);
25423 return Py_BuildValue((char *)"");
25424 }
25425 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25426 PyObject *resultobj;
25427 wxFileDataObject *result;
25428 char *kwnames[] = {
25429 NULL
25430 };
25431
25432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25433 {
25434 PyThreadState* __tstate = wxPyBeginAllowThreads();
25435 result = (wxFileDataObject *)new wxFileDataObject();
25436
25437 wxPyEndAllowThreads(__tstate);
25438 if (PyErr_Occurred()) SWIG_fail;
25439 }
25440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25441 return resultobj;
25442 fail:
25443 return NULL;
25444 }
25445
25446
25447 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
25448 PyObject *resultobj;
25449 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25450 wxArrayString *result;
25451 PyObject * obj0 = 0 ;
25452 char *kwnames[] = {
25453 (char *) "self", NULL
25454 };
25455
25456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25459 {
25460 PyThreadState* __tstate = wxPyBeginAllowThreads();
25461 {
25462 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25463 result = (wxArrayString *) &_result_ref;
25464 }
25465
25466 wxPyEndAllowThreads(__tstate);
25467 if (PyErr_Occurred()) SWIG_fail;
25468 }
25469 {
25470 resultobj = wxArrayString2PyList_helper(*result);
25471 }
25472 return resultobj;
25473 fail:
25474 return NULL;
25475 }
25476
25477
25478 static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25479 PyObject *resultobj;
25480 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25481 wxString *arg2 = 0 ;
25482 bool temp2 = False ;
25483 PyObject * obj0 = 0 ;
25484 PyObject * obj1 = 0 ;
25485 char *kwnames[] = {
25486 (char *) "self",(char *) "filename", NULL
25487 };
25488
25489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25492 {
25493 arg2 = wxString_in_helper(obj1);
25494 if (arg2 == NULL) SWIG_fail;
25495 temp2 = True;
25496 }
25497 {
25498 PyThreadState* __tstate = wxPyBeginAllowThreads();
25499 (arg1)->AddFile((wxString const &)*arg2);
25500
25501 wxPyEndAllowThreads(__tstate);
25502 if (PyErr_Occurred()) SWIG_fail;
25503 }
25504 Py_INCREF(Py_None); resultobj = Py_None;
25505 {
25506 if (temp2)
25507 delete arg2;
25508 }
25509 return resultobj;
25510 fail:
25511 {
25512 if (temp2)
25513 delete arg2;
25514 }
25515 return NULL;
25516 }
25517
25518
25519 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
25520 PyObject *obj;
25521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25522 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25523 Py_INCREF(obj);
25524 return Py_BuildValue((char *)"");
25525 }
25526 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25527 PyObject *resultobj;
25528 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25529 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25530 wxCustomDataObject *result;
25531 PyObject * obj0 = 0 ;
25532 char *kwnames[] = {
25533 (char *) "format", NULL
25534 };
25535
25536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25537 if (obj0) {
25538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25539 SWIG_POINTER_EXCEPTION | 0)) == -1)
25540 SWIG_fail;
25541 if (arg1 == NULL) {
25542 PyErr_SetString(PyExc_TypeError,"null reference");
25543 SWIG_fail;
25544 }
25545 }
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25554 return resultobj;
25555 fail:
25556 return NULL;
25557 }
25558
25559
25560 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25561 PyObject *resultobj;
25562 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25563 PyObject *arg2 = (PyObject *) 0 ;
25564 bool result;
25565 PyObject * obj0 = 0 ;
25566 PyObject * obj1 = 0 ;
25567 char *kwnames[] = {
25568 (char *) "self",(char *) "data", NULL
25569 };
25570
25571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25574 arg2 = obj1;
25575 {
25576 PyThreadState* __tstate = wxPyBeginAllowThreads();
25577 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25578
25579 wxPyEndAllowThreads(__tstate);
25580 if (PyErr_Occurred()) SWIG_fail;
25581 }
25582 {
25583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25584 }
25585 return resultobj;
25586 fail:
25587 return NULL;
25588 }
25589
25590
25591 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25592 PyObject *resultobj;
25593 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25594 size_t result;
25595 PyObject * obj0 = 0 ;
25596 char *kwnames[] = {
25597 (char *) "self", NULL
25598 };
25599
25600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25603 {
25604 PyThreadState* __tstate = wxPyBeginAllowThreads();
25605 result = (size_t)(arg1)->GetSize();
25606
25607 wxPyEndAllowThreads(__tstate);
25608 if (PyErr_Occurred()) SWIG_fail;
25609 }
25610 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25611 return resultobj;
25612 fail:
25613 return NULL;
25614 }
25615
25616
25617 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25618 PyObject *resultobj;
25619 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25620 PyObject *result;
25621 PyObject * obj0 = 0 ;
25622 char *kwnames[] = {
25623 (char *) "self", NULL
25624 };
25625
25626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 resultobj = result;
25637 return resultobj;
25638 fail:
25639 return NULL;
25640 }
25641
25642
25643 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
25644 PyObject *obj;
25645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25646 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25647 Py_INCREF(obj);
25648 return Py_BuildValue((char *)"");
25649 }
25650 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25651 PyObject *resultobj;
25652 wxURLDataObject *result;
25653 char *kwnames[] = {
25654 NULL
25655 };
25656
25657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25658 {
25659 PyThreadState* __tstate = wxPyBeginAllowThreads();
25660 result = (wxURLDataObject *)new wxURLDataObject();
25661
25662 wxPyEndAllowThreads(__tstate);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
25665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25666 return resultobj;
25667 fail:
25668 return NULL;
25669 }
25670
25671
25672 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25673 PyObject *resultobj;
25674 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25675 wxString result;
25676 PyObject * obj0 = 0 ;
25677 char *kwnames[] = {
25678 (char *) "self", NULL
25679 };
25680
25681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25684 {
25685 PyThreadState* __tstate = wxPyBeginAllowThreads();
25686 result = (arg1)->GetURL();
25687
25688 wxPyEndAllowThreads(__tstate);
25689 if (PyErr_Occurred()) SWIG_fail;
25690 }
25691 {
25692 #if wxUSE_UNICODE
25693 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25694 #else
25695 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25696 #endif
25697 }
25698 return resultobj;
25699 fail:
25700 return NULL;
25701 }
25702
25703
25704 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25705 PyObject *resultobj;
25706 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25707 wxString *arg2 = 0 ;
25708 bool temp2 = False ;
25709 PyObject * obj0 = 0 ;
25710 PyObject * obj1 = 0 ;
25711 char *kwnames[] = {
25712 (char *) "self",(char *) "url", NULL
25713 };
25714
25715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25718 {
25719 arg2 = wxString_in_helper(obj1);
25720 if (arg2 == NULL) SWIG_fail;
25721 temp2 = True;
25722 }
25723 {
25724 PyThreadState* __tstate = wxPyBeginAllowThreads();
25725 (arg1)->SetURL((wxString const &)*arg2);
25726
25727 wxPyEndAllowThreads(__tstate);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 }
25730 Py_INCREF(Py_None); resultobj = Py_None;
25731 {
25732 if (temp2)
25733 delete arg2;
25734 }
25735 return resultobj;
25736 fail:
25737 {
25738 if (temp2)
25739 delete arg2;
25740 }
25741 return NULL;
25742 }
25743
25744
25745 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25746 PyObject *obj;
25747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25748 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25749 Py_INCREF(obj);
25750 return Py_BuildValue((char *)"");
25751 }
25752 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25753 PyObject *resultobj;
25754 wxMetafileDataObject *result;
25755 char *kwnames[] = {
25756 NULL
25757 };
25758
25759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25760 {
25761 PyThreadState* __tstate = wxPyBeginAllowThreads();
25762 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25763
25764 wxPyEndAllowThreads(__tstate);
25765 if (PyErr_Occurred()) SWIG_fail;
25766 }
25767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
25768 return resultobj;
25769 fail:
25770 return NULL;
25771 }
25772
25773
25774 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25775 PyObject *obj;
25776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25777 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25778 Py_INCREF(obj);
25779 return Py_BuildValue((char *)"");
25780 }
25781 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25782 PyObject *resultobj;
25783 int arg1 ;
25784 bool result;
25785 PyObject * obj0 = 0 ;
25786 char *kwnames[] = {
25787 (char *) "res", NULL
25788 };
25789
25790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25791 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25792 if (PyErr_Occurred()) SWIG_fail;
25793 {
25794 PyThreadState* __tstate = wxPyBeginAllowThreads();
25795 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25796
25797 wxPyEndAllowThreads(__tstate);
25798 if (PyErr_Occurred()) SWIG_fail;
25799 }
25800 {
25801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25802 }
25803 return resultobj;
25804 fail:
25805 return NULL;
25806 }
25807
25808
25809 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25810 PyObject *resultobj;
25811 wxWindow *arg1 = (wxWindow *) 0 ;
25812 wxIcon const &arg2_defvalue = wxNullIcon ;
25813 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
25814 wxIcon const &arg3_defvalue = wxNullIcon ;
25815 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
25816 wxIcon const &arg4_defvalue = wxNullIcon ;
25817 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
25818 wxPyDropSource *result;
25819 PyObject * obj0 = 0 ;
25820 PyObject * obj1 = 0 ;
25821 PyObject * obj2 = 0 ;
25822 PyObject * obj3 = 0 ;
25823 char *kwnames[] = {
25824 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25825 };
25826
25827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25830 if (obj1) {
25831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
25832 SWIG_POINTER_EXCEPTION | 0)) == -1)
25833 SWIG_fail;
25834 if (arg2 == NULL) {
25835 PyErr_SetString(PyExc_TypeError,"null reference");
25836 SWIG_fail;
25837 }
25838 }
25839 if (obj2) {
25840 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIcon,
25841 SWIG_POINTER_EXCEPTION | 0)) == -1)
25842 SWIG_fail;
25843 if (arg3 == NULL) {
25844 PyErr_SetString(PyExc_TypeError,"null reference");
25845 SWIG_fail;
25846 }
25847 }
25848 if (obj3) {
25849 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxIcon,
25850 SWIG_POINTER_EXCEPTION | 0)) == -1)
25851 SWIG_fail;
25852 if (arg4 == NULL) {
25853 PyErr_SetString(PyExc_TypeError,"null reference");
25854 SWIG_fail;
25855 }
25856 }
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
25860
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
25864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
25865 return resultobj;
25866 fail:
25867 return NULL;
25868 }
25869
25870
25871 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25872 PyObject *resultobj;
25873 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25874 PyObject *arg2 = (PyObject *) 0 ;
25875 PyObject *arg3 = (PyObject *) 0 ;
25876 int arg4 ;
25877 PyObject * obj0 = 0 ;
25878 PyObject * obj1 = 0 ;
25879 PyObject * obj2 = 0 ;
25880 PyObject * obj3 = 0 ;
25881 char *kwnames[] = {
25882 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25883 };
25884
25885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25888 arg2 = obj1;
25889 arg3 = obj2;
25890 arg4 = (int) SWIG_AsInt(obj3);
25891 if (PyErr_Occurred()) SWIG_fail;
25892 {
25893 PyThreadState* __tstate = wxPyBeginAllowThreads();
25894 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25895
25896 wxPyEndAllowThreads(__tstate);
25897 if (PyErr_Occurred()) SWIG_fail;
25898 }
25899 Py_INCREF(Py_None); resultobj = Py_None;
25900 return resultobj;
25901 fail:
25902 return NULL;
25903 }
25904
25905
25906 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25907 PyObject *resultobj;
25908 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25909 PyObject * obj0 = 0 ;
25910 char *kwnames[] = {
25911 (char *) "self", NULL
25912 };
25913
25914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25917 {
25918 PyThreadState* __tstate = wxPyBeginAllowThreads();
25919 delete arg1;
25920
25921 wxPyEndAllowThreads(__tstate);
25922 if (PyErr_Occurred()) SWIG_fail;
25923 }
25924 Py_INCREF(Py_None); resultobj = Py_None;
25925 return resultobj;
25926 fail:
25927 return NULL;
25928 }
25929
25930
25931 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25932 PyObject *resultobj;
25933 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25934 wxDataObject *arg2 = 0 ;
25935 PyObject * obj0 = 0 ;
25936 PyObject * obj1 = 0 ;
25937 char *kwnames[] = {
25938 (char *) "self",(char *) "data", NULL
25939 };
25940
25941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25945 SWIG_POINTER_EXCEPTION | 0)) == -1)
25946 SWIG_fail;
25947 if (arg2 == NULL) {
25948 PyErr_SetString(PyExc_TypeError,"null reference");
25949 SWIG_fail;
25950 }
25951 {
25952 PyThreadState* __tstate = wxPyBeginAllowThreads();
25953 (arg1)->SetData(*arg2);
25954
25955 wxPyEndAllowThreads(__tstate);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 Py_INCREF(Py_None); resultobj = Py_None;
25959 return resultobj;
25960 fail:
25961 return NULL;
25962 }
25963
25964
25965 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25966 PyObject *resultobj;
25967 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25968 wxDataObject *result;
25969 PyObject * obj0 = 0 ;
25970 char *kwnames[] = {
25971 (char *) "self", NULL
25972 };
25973
25974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
25975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25977 {
25978 PyThreadState* __tstate = wxPyBeginAllowThreads();
25979 result = (wxDataObject *)(arg1)->GetDataObject();
25980
25981 wxPyEndAllowThreads(__tstate);
25982 if (PyErr_Occurred()) SWIG_fail;
25983 }
25984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
25985 return resultobj;
25986 fail:
25987 return NULL;
25988 }
25989
25990
25991 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25992 PyObject *resultobj;
25993 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25994 int arg2 ;
25995 wxCursor *arg3 = 0 ;
25996 PyObject * obj0 = 0 ;
25997 PyObject * obj1 = 0 ;
25998 PyObject * obj2 = 0 ;
25999 char *kwnames[] = {
26000 (char *) "self",(char *) "res",(char *) "cursor", NULL
26001 };
26002
26003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
26004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26006 arg2 = (wxDragResult) SWIG_AsInt(obj1);
26007 if (PyErr_Occurred()) SWIG_fail;
26008 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
26009 SWIG_POINTER_EXCEPTION | 0)) == -1)
26010 SWIG_fail;
26011 if (arg3 == NULL) {
26012 PyErr_SetString(PyExc_TypeError,"null reference");
26013 SWIG_fail;
26014 }
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
26018
26019 wxPyEndAllowThreads(__tstate);
26020 if (PyErr_Occurred()) SWIG_fail;
26021 }
26022 Py_INCREF(Py_None); resultobj = Py_None;
26023 return resultobj;
26024 fail:
26025 return NULL;
26026 }
26027
26028
26029 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26030 PyObject *resultobj;
26031 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26032 int arg2 = (int) wxDrag_CopyOnly ;
26033 int result;
26034 PyObject * obj0 = 0 ;
26035 PyObject * obj1 = 0 ;
26036 char *kwnames[] = {
26037 (char *) "self",(char *) "flags", NULL
26038 };
26039
26040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
26041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26043 if (obj1) {
26044 arg2 = (int) SWIG_AsInt(obj1);
26045 if (PyErr_Occurred()) SWIG_fail;
26046 }
26047 {
26048 PyThreadState* __tstate = wxPyBeginAllowThreads();
26049 result = (int)(arg1)->DoDragDrop(arg2);
26050
26051 wxPyEndAllowThreads(__tstate);
26052 if (PyErr_Occurred()) SWIG_fail;
26053 }
26054 resultobj = SWIG_FromInt((int)result);
26055 return resultobj;
26056 fail:
26057 return NULL;
26058 }
26059
26060
26061 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
26062 PyObject *resultobj;
26063 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26064 int arg2 ;
26065 bool result;
26066 PyObject * obj0 = 0 ;
26067 PyObject * obj1 = 0 ;
26068 char *kwnames[] = {
26069 (char *) "self",(char *) "effect", NULL
26070 };
26071
26072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
26073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26075 arg2 = (wxDragResult) SWIG_AsInt(obj1);
26076 if (PyErr_Occurred()) SWIG_fail;
26077 {
26078 PyThreadState* __tstate = wxPyBeginAllowThreads();
26079 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
26080
26081 wxPyEndAllowThreads(__tstate);
26082 if (PyErr_Occurred()) SWIG_fail;
26083 }
26084 {
26085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26086 }
26087 return resultobj;
26088 fail:
26089 return NULL;
26090 }
26091
26092
26093 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
26094 PyObject *obj;
26095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26096 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
26097 Py_INCREF(obj);
26098 return Py_BuildValue((char *)"");
26099 }
26100 static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26101 PyObject *resultobj;
26102 wxDataObject *arg1 = (wxDataObject *) NULL ;
26103 wxPyDropTarget *result;
26104 PyObject * obj0 = 0 ;
26105 char *kwnames[] = {
26106 (char *) "dataObject", NULL
26107 };
26108
26109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
26110 if (obj0) {
26111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
26112 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26113 }
26114 {
26115 PyThreadState* __tstate = wxPyBeginAllowThreads();
26116 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
26117
26118 wxPyEndAllowThreads(__tstate);
26119 if (PyErr_Occurred()) SWIG_fail;
26120 }
26121 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
26122 return resultobj;
26123 fail:
26124 return NULL;
26125 }
26126
26127
26128 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26129 PyObject *resultobj;
26130 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26131 PyObject *arg2 = (PyObject *) 0 ;
26132 PyObject *arg3 = (PyObject *) 0 ;
26133 PyObject * obj0 = 0 ;
26134 PyObject * obj1 = 0 ;
26135 PyObject * obj2 = 0 ;
26136 char *kwnames[] = {
26137 (char *) "self",(char *) "self",(char *) "_class", NULL
26138 };
26139
26140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26143 arg2 = obj1;
26144 arg3 = obj2;
26145 {
26146 PyThreadState* __tstate = wxPyBeginAllowThreads();
26147 (arg1)->_setCallbackInfo(arg2,arg3);
26148
26149 wxPyEndAllowThreads(__tstate);
26150 if (PyErr_Occurred()) SWIG_fail;
26151 }
26152 Py_INCREF(Py_None); resultobj = Py_None;
26153 return resultobj;
26154 fail:
26155 return NULL;
26156 }
26157
26158
26159 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26160 PyObject *resultobj;
26161 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26162 PyObject * obj0 = 0 ;
26163 char *kwnames[] = {
26164 (char *) "self", NULL
26165 };
26166
26167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26170 {
26171 PyThreadState* __tstate = wxPyBeginAllowThreads();
26172 delete arg1;
26173
26174 wxPyEndAllowThreads(__tstate);
26175 if (PyErr_Occurred()) SWIG_fail;
26176 }
26177 Py_INCREF(Py_None); resultobj = Py_None;
26178 return resultobj;
26179 fail:
26180 return NULL;
26181 }
26182
26183
26184 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26185 PyObject *resultobj;
26186 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26187 wxDataObject *result;
26188 PyObject * obj0 = 0 ;
26189 char *kwnames[] = {
26190 (char *) "self", NULL
26191 };
26192
26193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26196 {
26197 PyThreadState* __tstate = wxPyBeginAllowThreads();
26198 result = (wxDataObject *)(arg1)->GetDataObject();
26199
26200 wxPyEndAllowThreads(__tstate);
26201 if (PyErr_Occurred()) SWIG_fail;
26202 }
26203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26204 return resultobj;
26205 fail:
26206 return NULL;
26207 }
26208
26209
26210 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26211 PyObject *resultobj;
26212 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26213 wxDataObject *arg2 = (wxDataObject *) 0 ;
26214 PyObject * obj0 = 0 ;
26215 PyObject * obj1 = 0 ;
26216 char *kwnames[] = {
26217 (char *) "self",(char *) "dataObject", NULL
26218 };
26219
26220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26223 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26224 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26225 {
26226 PyThreadState* __tstate = wxPyBeginAllowThreads();
26227 (arg1)->SetDataObject(arg2);
26228
26229 wxPyEndAllowThreads(__tstate);
26230 if (PyErr_Occurred()) SWIG_fail;
26231 }
26232 Py_INCREF(Py_None); resultobj = Py_None;
26233 return resultobj;
26234 fail:
26235 return NULL;
26236 }
26237
26238
26239 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26240 PyObject *resultobj;
26241 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26242 int arg2 ;
26243 int arg3 ;
26244 int arg4 ;
26245 int result;
26246 PyObject * obj0 = 0 ;
26247 PyObject * obj1 = 0 ;
26248 PyObject * obj2 = 0 ;
26249 PyObject * obj3 = 0 ;
26250 char *kwnames[] = {
26251 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26252 };
26253
26254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26257 arg2 = (int) SWIG_AsInt(obj1);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 arg3 = (int) SWIG_AsInt(obj2);
26260 if (PyErr_Occurred()) SWIG_fail;
26261 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26262 if (PyErr_Occurred()) SWIG_fail;
26263 {
26264 PyThreadState* __tstate = wxPyBeginAllowThreads();
26265 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26266
26267 wxPyEndAllowThreads(__tstate);
26268 if (PyErr_Occurred()) SWIG_fail;
26269 }
26270 resultobj = SWIG_FromInt((int)result);
26271 return resultobj;
26272 fail:
26273 return NULL;
26274 }
26275
26276
26277 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26278 PyObject *resultobj;
26279 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26280 int arg2 ;
26281 int arg3 ;
26282 int arg4 ;
26283 int result;
26284 PyObject * obj0 = 0 ;
26285 PyObject * obj1 = 0 ;
26286 PyObject * obj2 = 0 ;
26287 PyObject * obj3 = 0 ;
26288 char *kwnames[] = {
26289 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26290 };
26291
26292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26295 arg2 = (int) SWIG_AsInt(obj1);
26296 if (PyErr_Occurred()) SWIG_fail;
26297 arg3 = (int) SWIG_AsInt(obj2);
26298 if (PyErr_Occurred()) SWIG_fail;
26299 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26300 if (PyErr_Occurred()) SWIG_fail;
26301 {
26302 PyThreadState* __tstate = wxPyBeginAllowThreads();
26303 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26304
26305 wxPyEndAllowThreads(__tstate);
26306 if (PyErr_Occurred()) SWIG_fail;
26307 }
26308 resultobj = SWIG_FromInt((int)result);
26309 return resultobj;
26310 fail:
26311 return NULL;
26312 }
26313
26314
26315 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26316 PyObject *resultobj;
26317 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26318 PyObject * obj0 = 0 ;
26319 char *kwnames[] = {
26320 (char *) "self", NULL
26321 };
26322
26323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26326 {
26327 PyThreadState* __tstate = wxPyBeginAllowThreads();
26328 (arg1)->base_OnLeave();
26329
26330 wxPyEndAllowThreads(__tstate);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 }
26333 Py_INCREF(Py_None); resultobj = Py_None;
26334 return resultobj;
26335 fail:
26336 return NULL;
26337 }
26338
26339
26340 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26341 PyObject *resultobj;
26342 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26343 int arg2 ;
26344 int arg3 ;
26345 bool result;
26346 PyObject * obj0 = 0 ;
26347 PyObject * obj1 = 0 ;
26348 PyObject * obj2 = 0 ;
26349 char *kwnames[] = {
26350 (char *) "self",(char *) "x",(char *) "y", NULL
26351 };
26352
26353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26356 arg2 = (int) SWIG_AsInt(obj1);
26357 if (PyErr_Occurred()) SWIG_fail;
26358 arg3 = (int) SWIG_AsInt(obj2);
26359 if (PyErr_Occurred()) SWIG_fail;
26360 {
26361 PyThreadState* __tstate = wxPyBeginAllowThreads();
26362 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26363
26364 wxPyEndAllowThreads(__tstate);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
26367 {
26368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26369 }
26370 return resultobj;
26371 fail:
26372 return NULL;
26373 }
26374
26375
26376 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26377 PyObject *resultobj;
26378 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26379 bool result;
26380 PyObject * obj0 = 0 ;
26381 char *kwnames[] = {
26382 (char *) "self", NULL
26383 };
26384
26385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26388 {
26389 PyThreadState* __tstate = wxPyBeginAllowThreads();
26390 result = (bool)(arg1)->GetData();
26391
26392 wxPyEndAllowThreads(__tstate);
26393 if (PyErr_Occurred()) SWIG_fail;
26394 }
26395 {
26396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26397 }
26398 return resultobj;
26399 fail:
26400 return NULL;
26401 }
26402
26403
26404 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
26405 PyObject *obj;
26406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26407 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26408 Py_INCREF(obj);
26409 return Py_BuildValue((char *)"");
26410 }
26411 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26412 PyObject *resultobj;
26413 wxPyTextDropTarget *result;
26414 char *kwnames[] = {
26415 NULL
26416 };
26417
26418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26422
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26427 return resultobj;
26428 fail:
26429 return NULL;
26430 }
26431
26432
26433 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26434 PyObject *resultobj;
26435 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26436 PyObject *arg2 = (PyObject *) 0 ;
26437 PyObject *arg3 = (PyObject *) 0 ;
26438 PyObject * obj0 = 0 ;
26439 PyObject * obj1 = 0 ;
26440 PyObject * obj2 = 0 ;
26441 char *kwnames[] = {
26442 (char *) "self",(char *) "self",(char *) "_class", NULL
26443 };
26444
26445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26448 arg2 = obj1;
26449 arg3 = obj2;
26450 {
26451 PyThreadState* __tstate = wxPyBeginAllowThreads();
26452 (arg1)->_setCallbackInfo(arg2,arg3);
26453
26454 wxPyEndAllowThreads(__tstate);
26455 if (PyErr_Occurred()) SWIG_fail;
26456 }
26457 Py_INCREF(Py_None); resultobj = Py_None;
26458 return resultobj;
26459 fail:
26460 return NULL;
26461 }
26462
26463
26464 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26465 PyObject *resultobj;
26466 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26467 int arg2 ;
26468 int arg3 ;
26469 int arg4 ;
26470 int result;
26471 PyObject * obj0 = 0 ;
26472 PyObject * obj1 = 0 ;
26473 PyObject * obj2 = 0 ;
26474 PyObject * obj3 = 0 ;
26475 char *kwnames[] = {
26476 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26477 };
26478
26479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26482 arg2 = (int) SWIG_AsInt(obj1);
26483 if (PyErr_Occurred()) SWIG_fail;
26484 arg3 = (int) SWIG_AsInt(obj2);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26487 if (PyErr_Occurred()) SWIG_fail;
26488 {
26489 PyThreadState* __tstate = wxPyBeginAllowThreads();
26490 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26491
26492 wxPyEndAllowThreads(__tstate);
26493 if (PyErr_Occurred()) SWIG_fail;
26494 }
26495 resultobj = SWIG_FromInt((int)result);
26496 return resultobj;
26497 fail:
26498 return NULL;
26499 }
26500
26501
26502 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26503 PyObject *resultobj;
26504 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26505 int arg2 ;
26506 int arg3 ;
26507 int arg4 ;
26508 int result;
26509 PyObject * obj0 = 0 ;
26510 PyObject * obj1 = 0 ;
26511 PyObject * obj2 = 0 ;
26512 PyObject * obj3 = 0 ;
26513 char *kwnames[] = {
26514 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26515 };
26516
26517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26520 arg2 = (int) SWIG_AsInt(obj1);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 arg3 = (int) SWIG_AsInt(obj2);
26523 if (PyErr_Occurred()) SWIG_fail;
26524 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26525 if (PyErr_Occurred()) SWIG_fail;
26526 {
26527 PyThreadState* __tstate = wxPyBeginAllowThreads();
26528 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26529
26530 wxPyEndAllowThreads(__tstate);
26531 if (PyErr_Occurred()) SWIG_fail;
26532 }
26533 resultobj = SWIG_FromInt((int)result);
26534 return resultobj;
26535 fail:
26536 return NULL;
26537 }
26538
26539
26540 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26541 PyObject *resultobj;
26542 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26543 PyObject * obj0 = 0 ;
26544 char *kwnames[] = {
26545 (char *) "self", NULL
26546 };
26547
26548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26551 {
26552 PyThreadState* __tstate = wxPyBeginAllowThreads();
26553 (arg1)->base_OnLeave();
26554
26555 wxPyEndAllowThreads(__tstate);
26556 if (PyErr_Occurred()) SWIG_fail;
26557 }
26558 Py_INCREF(Py_None); resultobj = Py_None;
26559 return resultobj;
26560 fail:
26561 return NULL;
26562 }
26563
26564
26565 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26566 PyObject *resultobj;
26567 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26568 int arg2 ;
26569 int arg3 ;
26570 bool result;
26571 PyObject * obj0 = 0 ;
26572 PyObject * obj1 = 0 ;
26573 PyObject * obj2 = 0 ;
26574 char *kwnames[] = {
26575 (char *) "self",(char *) "x",(char *) "y", NULL
26576 };
26577
26578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26581 arg2 = (int) SWIG_AsInt(obj1);
26582 if (PyErr_Occurred()) SWIG_fail;
26583 arg3 = (int) SWIG_AsInt(obj2);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26588
26589 wxPyEndAllowThreads(__tstate);
26590 if (PyErr_Occurred()) SWIG_fail;
26591 }
26592 {
26593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26594 }
26595 return resultobj;
26596 fail:
26597 return NULL;
26598 }
26599
26600
26601 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26602 PyObject *resultobj;
26603 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26604 int arg2 ;
26605 int arg3 ;
26606 int arg4 ;
26607 int result;
26608 PyObject * obj0 = 0 ;
26609 PyObject * obj1 = 0 ;
26610 PyObject * obj2 = 0 ;
26611 PyObject * obj3 = 0 ;
26612 char *kwnames[] = {
26613 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26614 };
26615
26616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26619 arg2 = (int) SWIG_AsInt(obj1);
26620 if (PyErr_Occurred()) SWIG_fail;
26621 arg3 = (int) SWIG_AsInt(obj2);
26622 if (PyErr_Occurred()) SWIG_fail;
26623 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26624 if (PyErr_Occurred()) SWIG_fail;
26625 {
26626 PyThreadState* __tstate = wxPyBeginAllowThreads();
26627 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26628
26629 wxPyEndAllowThreads(__tstate);
26630 if (PyErr_Occurred()) SWIG_fail;
26631 }
26632 resultobj = SWIG_FromInt((int)result);
26633 return resultobj;
26634 fail:
26635 return NULL;
26636 }
26637
26638
26639 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26640 PyObject *obj;
26641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26642 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26643 Py_INCREF(obj);
26644 return Py_BuildValue((char *)"");
26645 }
26646 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26647 PyObject *resultobj;
26648 wxPyFileDropTarget *result;
26649 char *kwnames[] = {
26650 NULL
26651 };
26652
26653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26654 {
26655 PyThreadState* __tstate = wxPyBeginAllowThreads();
26656 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26657
26658 wxPyEndAllowThreads(__tstate);
26659 if (PyErr_Occurred()) SWIG_fail;
26660 }
26661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26662 return resultobj;
26663 fail:
26664 return NULL;
26665 }
26666
26667
26668 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26669 PyObject *resultobj;
26670 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26671 PyObject *arg2 = (PyObject *) 0 ;
26672 PyObject *arg3 = (PyObject *) 0 ;
26673 PyObject * obj0 = 0 ;
26674 PyObject * obj1 = 0 ;
26675 PyObject * obj2 = 0 ;
26676 char *kwnames[] = {
26677 (char *) "self",(char *) "self",(char *) "_class", NULL
26678 };
26679
26680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26683 arg2 = obj1;
26684 arg3 = obj2;
26685 {
26686 PyThreadState* __tstate = wxPyBeginAllowThreads();
26687 (arg1)->_setCallbackInfo(arg2,arg3);
26688
26689 wxPyEndAllowThreads(__tstate);
26690 if (PyErr_Occurred()) SWIG_fail;
26691 }
26692 Py_INCREF(Py_None); resultobj = Py_None;
26693 return resultobj;
26694 fail:
26695 return NULL;
26696 }
26697
26698
26699 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26700 PyObject *resultobj;
26701 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26702 int arg2 ;
26703 int arg3 ;
26704 int arg4 ;
26705 int result;
26706 PyObject * obj0 = 0 ;
26707 PyObject * obj1 = 0 ;
26708 PyObject * obj2 = 0 ;
26709 PyObject * obj3 = 0 ;
26710 char *kwnames[] = {
26711 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26712 };
26713
26714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26717 arg2 = (int) SWIG_AsInt(obj1);
26718 if (PyErr_Occurred()) SWIG_fail;
26719 arg3 = (int) SWIG_AsInt(obj2);
26720 if (PyErr_Occurred()) SWIG_fail;
26721 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26722 if (PyErr_Occurred()) SWIG_fail;
26723 {
26724 PyThreadState* __tstate = wxPyBeginAllowThreads();
26725 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26726
26727 wxPyEndAllowThreads(__tstate);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 }
26730 resultobj = SWIG_FromInt((int)result);
26731 return resultobj;
26732 fail:
26733 return NULL;
26734 }
26735
26736
26737 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26738 PyObject *resultobj;
26739 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26740 int arg2 ;
26741 int arg3 ;
26742 int arg4 ;
26743 int result;
26744 PyObject * obj0 = 0 ;
26745 PyObject * obj1 = 0 ;
26746 PyObject * obj2 = 0 ;
26747 PyObject * obj3 = 0 ;
26748 char *kwnames[] = {
26749 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26750 };
26751
26752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26755 arg2 = (int) SWIG_AsInt(obj1);
26756 if (PyErr_Occurred()) SWIG_fail;
26757 arg3 = (int) SWIG_AsInt(obj2);
26758 if (PyErr_Occurred()) SWIG_fail;
26759 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26760 if (PyErr_Occurred()) SWIG_fail;
26761 {
26762 PyThreadState* __tstate = wxPyBeginAllowThreads();
26763 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26764
26765 wxPyEndAllowThreads(__tstate);
26766 if (PyErr_Occurred()) SWIG_fail;
26767 }
26768 resultobj = SWIG_FromInt((int)result);
26769 return resultobj;
26770 fail:
26771 return NULL;
26772 }
26773
26774
26775 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26776 PyObject *resultobj;
26777 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26778 PyObject * obj0 = 0 ;
26779 char *kwnames[] = {
26780 (char *) "self", NULL
26781 };
26782
26783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26786 {
26787 PyThreadState* __tstate = wxPyBeginAllowThreads();
26788 (arg1)->base_OnLeave();
26789
26790 wxPyEndAllowThreads(__tstate);
26791 if (PyErr_Occurred()) SWIG_fail;
26792 }
26793 Py_INCREF(Py_None); resultobj = Py_None;
26794 return resultobj;
26795 fail:
26796 return NULL;
26797 }
26798
26799
26800 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26801 PyObject *resultobj;
26802 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26803 int arg2 ;
26804 int arg3 ;
26805 bool result;
26806 PyObject * obj0 = 0 ;
26807 PyObject * obj1 = 0 ;
26808 PyObject * obj2 = 0 ;
26809 char *kwnames[] = {
26810 (char *) "self",(char *) "x",(char *) "y", NULL
26811 };
26812
26813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26816 arg2 = (int) SWIG_AsInt(obj1);
26817 if (PyErr_Occurred()) SWIG_fail;
26818 arg3 = (int) SWIG_AsInt(obj2);
26819 if (PyErr_Occurred()) SWIG_fail;
26820 {
26821 PyThreadState* __tstate = wxPyBeginAllowThreads();
26822 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26823
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
26827 {
26828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26829 }
26830 return resultobj;
26831 fail:
26832 return NULL;
26833 }
26834
26835
26836 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26837 PyObject *resultobj;
26838 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26839 int arg2 ;
26840 int arg3 ;
26841 int arg4 ;
26842 int result;
26843 PyObject * obj0 = 0 ;
26844 PyObject * obj1 = 0 ;
26845 PyObject * obj2 = 0 ;
26846 PyObject * obj3 = 0 ;
26847 char *kwnames[] = {
26848 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26849 };
26850
26851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26854 arg2 = (int) SWIG_AsInt(obj1);
26855 if (PyErr_Occurred()) SWIG_fail;
26856 arg3 = (int) SWIG_AsInt(obj2);
26857 if (PyErr_Occurred()) SWIG_fail;
26858 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26859 if (PyErr_Occurred()) SWIG_fail;
26860 {
26861 PyThreadState* __tstate = wxPyBeginAllowThreads();
26862 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26863
26864 wxPyEndAllowThreads(__tstate);
26865 if (PyErr_Occurred()) SWIG_fail;
26866 }
26867 resultobj = SWIG_FromInt((int)result);
26868 return resultobj;
26869 fail:
26870 return NULL;
26871 }
26872
26873
26874 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26875 PyObject *obj;
26876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26877 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26878 Py_INCREF(obj);
26879 return Py_BuildValue((char *)"");
26880 }
26881 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26882 PyObject *resultobj;
26883 wxClipboard *result;
26884 char *kwnames[] = {
26885 NULL
26886 };
26887
26888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26889 {
26890 PyThreadState* __tstate = wxPyBeginAllowThreads();
26891 result = (wxClipboard *)new wxClipboard();
26892
26893 wxPyEndAllowThreads(__tstate);
26894 if (PyErr_Occurred()) SWIG_fail;
26895 }
26896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
26897 return resultobj;
26898 fail:
26899 return NULL;
26900 }
26901
26902
26903 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26904 PyObject *resultobj;
26905 wxClipboard *arg1 = (wxClipboard *) 0 ;
26906 PyObject * obj0 = 0 ;
26907 char *kwnames[] = {
26908 (char *) "self", NULL
26909 };
26910
26911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26914 {
26915 PyThreadState* __tstate = wxPyBeginAllowThreads();
26916 delete arg1;
26917
26918 wxPyEndAllowThreads(__tstate);
26919 if (PyErr_Occurred()) SWIG_fail;
26920 }
26921 Py_INCREF(Py_None); resultobj = Py_None;
26922 return resultobj;
26923 fail:
26924 return NULL;
26925 }
26926
26927
26928 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26929 PyObject *resultobj;
26930 wxClipboard *arg1 = (wxClipboard *) 0 ;
26931 bool result;
26932 PyObject * obj0 = 0 ;
26933 char *kwnames[] = {
26934 (char *) "self", NULL
26935 };
26936
26937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26940 {
26941 PyThreadState* __tstate = wxPyBeginAllowThreads();
26942 result = (bool)(arg1)->Open();
26943
26944 wxPyEndAllowThreads(__tstate);
26945 if (PyErr_Occurred()) SWIG_fail;
26946 }
26947 {
26948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26949 }
26950 return resultobj;
26951 fail:
26952 return NULL;
26953 }
26954
26955
26956 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
26957 PyObject *resultobj;
26958 wxClipboard *arg1 = (wxClipboard *) 0 ;
26959 PyObject * obj0 = 0 ;
26960 char *kwnames[] = {
26961 (char *) "self", NULL
26962 };
26963
26964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26967 {
26968 PyThreadState* __tstate = wxPyBeginAllowThreads();
26969 (arg1)->Close();
26970
26971 wxPyEndAllowThreads(__tstate);
26972 if (PyErr_Occurred()) SWIG_fail;
26973 }
26974 Py_INCREF(Py_None); resultobj = Py_None;
26975 return resultobj;
26976 fail:
26977 return NULL;
26978 }
26979
26980
26981 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
26982 PyObject *resultobj;
26983 wxClipboard *arg1 = (wxClipboard *) 0 ;
26984 bool result;
26985 PyObject * obj0 = 0 ;
26986 char *kwnames[] = {
26987 (char *) "self", NULL
26988 };
26989
26990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
26991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26993 {
26994 PyThreadState* __tstate = wxPyBeginAllowThreads();
26995 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26996
26997 wxPyEndAllowThreads(__tstate);
26998 if (PyErr_Occurred()) SWIG_fail;
26999 }
27000 {
27001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27002 }
27003 return resultobj;
27004 fail:
27005 return NULL;
27006 }
27007
27008
27009 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
27010 PyObject *resultobj;
27011 wxClipboard *arg1 = (wxClipboard *) 0 ;
27012 wxDataObject *arg2 = (wxDataObject *) 0 ;
27013 bool result;
27014 PyObject * obj0 = 0 ;
27015 PyObject * obj1 = 0 ;
27016 char *kwnames[] = {
27017 (char *) "self",(char *) "data", NULL
27018 };
27019
27020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
27021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27024 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27025 {
27026 PyThreadState* __tstate = wxPyBeginAllowThreads();
27027 result = (bool)(arg1)->AddData(arg2);
27028
27029 wxPyEndAllowThreads(__tstate);
27030 if (PyErr_Occurred()) SWIG_fail;
27031 }
27032 {
27033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27034 }
27035 return resultobj;
27036 fail:
27037 return NULL;
27038 }
27039
27040
27041 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27042 PyObject *resultobj;
27043 wxClipboard *arg1 = (wxClipboard *) 0 ;
27044 wxDataObject *arg2 = (wxDataObject *) 0 ;
27045 bool result;
27046 PyObject * obj0 = 0 ;
27047 PyObject * obj1 = 0 ;
27048 char *kwnames[] = {
27049 (char *) "self",(char *) "data", NULL
27050 };
27051
27052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
27053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27056 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27057 {
27058 PyThreadState* __tstate = wxPyBeginAllowThreads();
27059 result = (bool)(arg1)->SetData(arg2);
27060
27061 wxPyEndAllowThreads(__tstate);
27062 if (PyErr_Occurred()) SWIG_fail;
27063 }
27064 {
27065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27066 }
27067 return resultobj;
27068 fail:
27069 return NULL;
27070 }
27071
27072
27073 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
27074 PyObject *resultobj;
27075 wxClipboard *arg1 = (wxClipboard *) 0 ;
27076 wxDataFormat *arg2 = 0 ;
27077 bool result;
27078 PyObject * obj0 = 0 ;
27079 PyObject * obj1 = 0 ;
27080 char *kwnames[] = {
27081 (char *) "self",(char *) "format", NULL
27082 };
27083
27084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
27085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
27088 SWIG_POINTER_EXCEPTION | 0)) == -1)
27089 SWIG_fail;
27090 if (arg2 == NULL) {
27091 PyErr_SetString(PyExc_TypeError,"null reference");
27092 SWIG_fail;
27093 }
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
27097
27098 wxPyEndAllowThreads(__tstate);
27099 if (PyErr_Occurred()) SWIG_fail;
27100 }
27101 {
27102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27103 }
27104 return resultobj;
27105 fail:
27106 return NULL;
27107 }
27108
27109
27110 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27111 PyObject *resultobj;
27112 wxClipboard *arg1 = (wxClipboard *) 0 ;
27113 wxDataObject *arg2 = 0 ;
27114 bool result;
27115 PyObject * obj0 = 0 ;
27116 PyObject * obj1 = 0 ;
27117 char *kwnames[] = {
27118 (char *) "self",(char *) "data", NULL
27119 };
27120
27121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
27122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27125 SWIG_POINTER_EXCEPTION | 0)) == -1)
27126 SWIG_fail;
27127 if (arg2 == NULL) {
27128 PyErr_SetString(PyExc_TypeError,"null reference");
27129 SWIG_fail;
27130 }
27131 {
27132 PyThreadState* __tstate = wxPyBeginAllowThreads();
27133 result = (bool)(arg1)->GetData(*arg2);
27134
27135 wxPyEndAllowThreads(__tstate);
27136 if (PyErr_Occurred()) SWIG_fail;
27137 }
27138 {
27139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27140 }
27141 return resultobj;
27142 fail:
27143 return NULL;
27144 }
27145
27146
27147 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
27148 PyObject *resultobj;
27149 wxClipboard *arg1 = (wxClipboard *) 0 ;
27150 PyObject * obj0 = 0 ;
27151 char *kwnames[] = {
27152 (char *) "self", NULL
27153 };
27154
27155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27158 {
27159 PyThreadState* __tstate = wxPyBeginAllowThreads();
27160 (arg1)->Clear();
27161
27162 wxPyEndAllowThreads(__tstate);
27163 if (PyErr_Occurred()) SWIG_fail;
27164 }
27165 Py_INCREF(Py_None); resultobj = Py_None;
27166 return resultobj;
27167 fail:
27168 return NULL;
27169 }
27170
27171
27172 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
27173 PyObject *resultobj;
27174 wxClipboard *arg1 = (wxClipboard *) 0 ;
27175 bool result;
27176 PyObject * obj0 = 0 ;
27177 char *kwnames[] = {
27178 (char *) "self", NULL
27179 };
27180
27181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27184 {
27185 PyThreadState* __tstate = wxPyBeginAllowThreads();
27186 result = (bool)(arg1)->Flush();
27187
27188 wxPyEndAllowThreads(__tstate);
27189 if (PyErr_Occurred()) SWIG_fail;
27190 }
27191 {
27192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27193 }
27194 return resultobj;
27195 fail:
27196 return NULL;
27197 }
27198
27199
27200 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27201 PyObject *resultobj;
27202 wxClipboard *arg1 = (wxClipboard *) 0 ;
27203 bool arg2 = (bool) True ;
27204 PyObject * obj0 = 0 ;
27205 PyObject * obj1 = 0 ;
27206 char *kwnames[] = {
27207 (char *) "self",(char *) "primary", NULL
27208 };
27209
27210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27213 if (obj1) {
27214 arg2 = (bool) SWIG_AsBool(obj1);
27215 if (PyErr_Occurred()) SWIG_fail;
27216 }
27217 {
27218 PyThreadState* __tstate = wxPyBeginAllowThreads();
27219 (arg1)->UsePrimarySelection(arg2);
27220
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 Py_INCREF(Py_None); resultobj = Py_None;
27225 return resultobj;
27226 fail:
27227 return NULL;
27228 }
27229
27230
27231 static PyObject *_wrap_Clipboard_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
27232 PyObject *resultobj;
27233 wxClipboard *result;
27234 char *kwnames[] = {
27235 NULL
27236 };
27237
27238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
27239 {
27240 PyThreadState* __tstate = wxPyBeginAllowThreads();
27241 result = (wxClipboard *)wxClipboard::Get();
27242
27243 wxPyEndAllowThreads(__tstate);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 }
27246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
27247 return resultobj;
27248 fail:
27249 return NULL;
27250 }
27251
27252
27253 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
27254 PyObject *obj;
27255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27256 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27257 Py_INCREF(obj);
27258 return Py_BuildValue((char *)"");
27259 }
27260 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27261 PyObject *resultobj;
27262 wxClipboard *arg1 = (wxClipboard *) NULL ;
27263 wxClipboardLocker *result;
27264 PyObject * obj0 = 0 ;
27265 char *kwnames[] = {
27266 (char *) "clipboard", NULL
27267 };
27268
27269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27270 if (obj0) {
27271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27273 }
27274 {
27275 PyThreadState* __tstate = wxPyBeginAllowThreads();
27276 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27277
27278 wxPyEndAllowThreads(__tstate);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 }
27281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27282 return resultobj;
27283 fail:
27284 return NULL;
27285 }
27286
27287
27288 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27289 PyObject *resultobj;
27290 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27291 PyObject * obj0 = 0 ;
27292 char *kwnames[] = {
27293 (char *) "self", NULL
27294 };
27295
27296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27299 {
27300 PyThreadState* __tstate = wxPyBeginAllowThreads();
27301 delete arg1;
27302
27303 wxPyEndAllowThreads(__tstate);
27304 if (PyErr_Occurred()) SWIG_fail;
27305 }
27306 Py_INCREF(Py_None); resultobj = Py_None;
27307 return resultobj;
27308 fail:
27309 return NULL;
27310 }
27311
27312
27313 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
27314 PyObject *resultobj;
27315 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27316 bool result;
27317 PyObject * obj0 = 0 ;
27318 char *kwnames[] = {
27319 (char *) "self", NULL
27320 };
27321
27322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27325 {
27326 PyThreadState* __tstate = wxPyBeginAllowThreads();
27327 result = (bool)wxClipboardLocker___nonzero__(arg1);
27328
27329 wxPyEndAllowThreads(__tstate);
27330 if (PyErr_Occurred()) SWIG_fail;
27331 }
27332 {
27333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27334 }
27335 return resultobj;
27336 fail:
27337 return NULL;
27338 }
27339
27340
27341 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
27342 PyObject *obj;
27343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27344 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27345 Py_INCREF(obj);
27346 return Py_BuildValue((char *)"");
27347 }
27348 static PyObject *_wrap_new_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27349 PyObject *resultobj;
27350 int arg1 = (int) 0 ;
27351 int arg2 = (int) 0 ;
27352 int arg3 = (int) 0 ;
27353 int arg4 = (int) 0 ;
27354 wxVideoMode *result;
27355 PyObject * obj0 = 0 ;
27356 PyObject * obj1 = 0 ;
27357 PyObject * obj2 = 0 ;
27358 PyObject * obj3 = 0 ;
27359 char *kwnames[] = {
27360 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27361 };
27362
27363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27364 if (obj0) {
27365 arg1 = (int) SWIG_AsInt(obj0);
27366 if (PyErr_Occurred()) SWIG_fail;
27367 }
27368 if (obj1) {
27369 arg2 = (int) SWIG_AsInt(obj1);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
27372 if (obj2) {
27373 arg3 = (int) SWIG_AsInt(obj2);
27374 if (PyErr_Occurred()) SWIG_fail;
27375 }
27376 if (obj3) {
27377 arg4 = (int) SWIG_AsInt(obj3);
27378 if (PyErr_Occurred()) SWIG_fail;
27379 }
27380 {
27381 PyThreadState* __tstate = wxPyBeginAllowThreads();
27382 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27383
27384 wxPyEndAllowThreads(__tstate);
27385 if (PyErr_Occurred()) SWIG_fail;
27386 }
27387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27388 return resultobj;
27389 fail:
27390 return NULL;
27391 }
27392
27393
27394 static PyObject *_wrap_delete_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27395 PyObject *resultobj;
27396 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27397 PyObject * obj0 = 0 ;
27398 char *kwnames[] = {
27399 (char *) "self", NULL
27400 };
27401
27402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27405 {
27406 PyThreadState* __tstate = wxPyBeginAllowThreads();
27407 delete arg1;
27408
27409 wxPyEndAllowThreads(__tstate);
27410 if (PyErr_Occurred()) SWIG_fail;
27411 }
27412 Py_INCREF(Py_None); resultobj = Py_None;
27413 return resultobj;
27414 fail:
27415 return NULL;
27416 }
27417
27418
27419 static PyObject *_wrap_VideoMode_Matches(PyObject *self, PyObject *args, PyObject *kwargs) {
27420 PyObject *resultobj;
27421 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27422 wxVideoMode *arg2 = 0 ;
27423 bool result;
27424 PyObject * obj0 = 0 ;
27425 PyObject * obj1 = 0 ;
27426 char *kwnames[] = {
27427 (char *) "self",(char *) "other", NULL
27428 };
27429
27430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27434 SWIG_POINTER_EXCEPTION | 0)) == -1)
27435 SWIG_fail;
27436 if (arg2 == NULL) {
27437 PyErr_SetString(PyExc_TypeError,"null reference");
27438 SWIG_fail;
27439 }
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
27442 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27443
27444 wxPyEndAllowThreads(__tstate);
27445 if (PyErr_Occurred()) SWIG_fail;
27446 }
27447 {
27448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27449 }
27450 return resultobj;
27451 fail:
27452 return NULL;
27453 }
27454
27455
27456 static PyObject *_wrap_VideoMode_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
27457 PyObject *resultobj;
27458 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27459 int result;
27460 PyObject * obj0 = 0 ;
27461 char *kwnames[] = {
27462 (char *) "self", NULL
27463 };
27464
27465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27468 {
27469 PyThreadState* __tstate = wxPyBeginAllowThreads();
27470 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27471
27472 wxPyEndAllowThreads(__tstate);
27473 if (PyErr_Occurred()) SWIG_fail;
27474 }
27475 resultobj = SWIG_FromInt((int)result);
27476 return resultobj;
27477 fail:
27478 return NULL;
27479 }
27480
27481
27482 static PyObject *_wrap_VideoMode_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
27483 PyObject *resultobj;
27484 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27485 int result;
27486 PyObject * obj0 = 0 ;
27487 char *kwnames[] = {
27488 (char *) "self", NULL
27489 };
27490
27491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27494 {
27495 PyThreadState* __tstate = wxPyBeginAllowThreads();
27496 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27497
27498 wxPyEndAllowThreads(__tstate);
27499 if (PyErr_Occurred()) SWIG_fail;
27500 }
27501 resultobj = SWIG_FromInt((int)result);
27502 return resultobj;
27503 fail:
27504 return NULL;
27505 }
27506
27507
27508 static PyObject *_wrap_VideoMode_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
27509 PyObject *resultobj;
27510 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27511 int result;
27512 PyObject * obj0 = 0 ;
27513 char *kwnames[] = {
27514 (char *) "self", NULL
27515 };
27516
27517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27520 {
27521 PyThreadState* __tstate = wxPyBeginAllowThreads();
27522 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27523
27524 wxPyEndAllowThreads(__tstate);
27525 if (PyErr_Occurred()) SWIG_fail;
27526 }
27527 resultobj = SWIG_FromInt((int)result);
27528 return resultobj;
27529 fail:
27530 return NULL;
27531 }
27532
27533
27534 static PyObject *_wrap_VideoMode_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27535 PyObject *resultobj;
27536 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27537 bool result;
27538 PyObject * obj0 = 0 ;
27539 char *kwnames[] = {
27540 (char *) "self", NULL
27541 };
27542
27543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27546 {
27547 PyThreadState* __tstate = wxPyBeginAllowThreads();
27548 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27549
27550 wxPyEndAllowThreads(__tstate);
27551 if (PyErr_Occurred()) SWIG_fail;
27552 }
27553 {
27554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27555 }
27556 return resultobj;
27557 fail:
27558 return NULL;
27559 }
27560
27561
27562 static PyObject *_wrap_VideoMode___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
27563 PyObject *resultobj;
27564 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27565 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27566 bool result;
27567 PyObject * obj0 = 0 ;
27568 PyObject * obj1 = 0 ;
27569 char *kwnames[] = {
27570 (char *) "self",(char *) "other", NULL
27571 };
27572
27573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27578 {
27579 PyThreadState* __tstate = wxPyBeginAllowThreads();
27580 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27581
27582 wxPyEndAllowThreads(__tstate);
27583 if (PyErr_Occurred()) SWIG_fail;
27584 }
27585 {
27586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27587 }
27588 return resultobj;
27589 fail:
27590 return NULL;
27591 }
27592
27593
27594 static PyObject *_wrap_VideoMode___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
27595 PyObject *resultobj;
27596 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27597 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27598 bool result;
27599 PyObject * obj0 = 0 ;
27600 PyObject * obj1 = 0 ;
27601 char *kwnames[] = {
27602 (char *) "self",(char *) "other", NULL
27603 };
27604
27605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27610 {
27611 PyThreadState* __tstate = wxPyBeginAllowThreads();
27612 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27613
27614 wxPyEndAllowThreads(__tstate);
27615 if (PyErr_Occurred()) SWIG_fail;
27616 }
27617 {
27618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27619 }
27620 return resultobj;
27621 fail:
27622 return NULL;
27623 }
27624
27625
27626 static PyObject *_wrap_VideoMode_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27627 PyObject *resultobj;
27628 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27629 int arg2 ;
27630 PyObject * obj0 = 0 ;
27631 PyObject * obj1 = 0 ;
27632 char *kwnames[] = {
27633 (char *) "self",(char *) "w", NULL
27634 };
27635
27636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27639 arg2 = (int) SWIG_AsInt(obj1);
27640 if (PyErr_Occurred()) SWIG_fail;
27641 if (arg1) (arg1)->w = arg2;
27642
27643 Py_INCREF(Py_None); resultobj = Py_None;
27644 return resultobj;
27645 fail:
27646 return NULL;
27647 }
27648
27649
27650 static PyObject *_wrap_VideoMode_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27651 PyObject *resultobj;
27652 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27653 int result;
27654 PyObject * obj0 = 0 ;
27655 char *kwnames[] = {
27656 (char *) "self", NULL
27657 };
27658
27659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27662 result = (int) ((arg1)->w);
27663
27664 resultobj = SWIG_FromInt((int)result);
27665 return resultobj;
27666 fail:
27667 return NULL;
27668 }
27669
27670
27671 static PyObject *_wrap_VideoMode_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27672 PyObject *resultobj;
27673 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27674 int arg2 ;
27675 PyObject * obj0 = 0 ;
27676 PyObject * obj1 = 0 ;
27677 char *kwnames[] = {
27678 (char *) "self",(char *) "h", NULL
27679 };
27680
27681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27684 arg2 = (int) SWIG_AsInt(obj1);
27685 if (PyErr_Occurred()) SWIG_fail;
27686 if (arg1) (arg1)->h = arg2;
27687
27688 Py_INCREF(Py_None); resultobj = Py_None;
27689 return resultobj;
27690 fail:
27691 return NULL;
27692 }
27693
27694
27695 static PyObject *_wrap_VideoMode_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27696 PyObject *resultobj;
27697 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27698 int result;
27699 PyObject * obj0 = 0 ;
27700 char *kwnames[] = {
27701 (char *) "self", NULL
27702 };
27703
27704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27707 result = (int) ((arg1)->h);
27708
27709 resultobj = SWIG_FromInt((int)result);
27710 return resultobj;
27711 fail:
27712 return NULL;
27713 }
27714
27715
27716 static PyObject *_wrap_VideoMode_bpp_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27717 PyObject *resultobj;
27718 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27719 int arg2 ;
27720 PyObject * obj0 = 0 ;
27721 PyObject * obj1 = 0 ;
27722 char *kwnames[] = {
27723 (char *) "self",(char *) "bpp", NULL
27724 };
27725
27726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27729 arg2 = (int) SWIG_AsInt(obj1);
27730 if (PyErr_Occurred()) SWIG_fail;
27731 if (arg1) (arg1)->bpp = arg2;
27732
27733 Py_INCREF(Py_None); resultobj = Py_None;
27734 return resultobj;
27735 fail:
27736 return NULL;
27737 }
27738
27739
27740 static PyObject *_wrap_VideoMode_bpp_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27741 PyObject *resultobj;
27742 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27743 int result;
27744 PyObject * obj0 = 0 ;
27745 char *kwnames[] = {
27746 (char *) "self", NULL
27747 };
27748
27749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27752 result = (int) ((arg1)->bpp);
27753
27754 resultobj = SWIG_FromInt((int)result);
27755 return resultobj;
27756 fail:
27757 return NULL;
27758 }
27759
27760
27761 static PyObject *_wrap_VideoMode_refresh_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27762 PyObject *resultobj;
27763 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27764 int arg2 ;
27765 PyObject * obj0 = 0 ;
27766 PyObject * obj1 = 0 ;
27767 char *kwnames[] = {
27768 (char *) "self",(char *) "refresh", NULL
27769 };
27770
27771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27774 arg2 = (int) SWIG_AsInt(obj1);
27775 if (PyErr_Occurred()) SWIG_fail;
27776 if (arg1) (arg1)->refresh = arg2;
27777
27778 Py_INCREF(Py_None); resultobj = Py_None;
27779 return resultobj;
27780 fail:
27781 return NULL;
27782 }
27783
27784
27785 static PyObject *_wrap_VideoMode_refresh_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27786 PyObject *resultobj;
27787 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27788 int result;
27789 PyObject * obj0 = 0 ;
27790 char *kwnames[] = {
27791 (char *) "self", NULL
27792 };
27793
27794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27797 result = (int) ((arg1)->refresh);
27798
27799 resultobj = SWIG_FromInt((int)result);
27800 return resultobj;
27801 fail:
27802 return NULL;
27803 }
27804
27805
27806 static PyObject * VideoMode_swigregister(PyObject *self, PyObject *args) {
27807 PyObject *obj;
27808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27809 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27810 Py_INCREF(obj);
27811 return Py_BuildValue((char *)"");
27812 }
27813 static int _wrap_DefaultVideoMode_set(PyObject *_val) {
27814 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27815 return 1;
27816 }
27817
27818
27819 static PyObject *_wrap_DefaultVideoMode_get() {
27820 PyObject *pyobj;
27821
27822 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27823 return pyobj;
27824 }
27825
27826
27827 static PyObject *_wrap_new_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27828 PyObject *resultobj;
27829 size_t arg1 = (size_t) 0 ;
27830 wxDisplay *result;
27831 PyObject * obj0 = 0 ;
27832 char *kwnames[] = {
27833 (char *) "index", NULL
27834 };
27835
27836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27837 if (obj0) {
27838 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27839 if (PyErr_Occurred()) SWIG_fail;
27840 }
27841 {
27842 PyThreadState* __tstate = wxPyBeginAllowThreads();
27843 result = (wxDisplay *)new wxDisplay(arg1);
27844
27845 wxPyEndAllowThreads(__tstate);
27846 if (PyErr_Occurred()) SWIG_fail;
27847 }
27848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27849 return resultobj;
27850 fail:
27851 return NULL;
27852 }
27853
27854
27855 static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27856 PyObject *resultobj;
27857 wxDisplay *arg1 = (wxDisplay *) 0 ;
27858 PyObject * obj0 = 0 ;
27859 char *kwnames[] = {
27860 (char *) "self", NULL
27861 };
27862
27863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27866 {
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 delete arg1;
27869
27870 wxPyEndAllowThreads(__tstate);
27871 if (PyErr_Occurred()) SWIG_fail;
27872 }
27873 Py_INCREF(Py_None); resultobj = Py_None;
27874 return resultobj;
27875 fail:
27876 return NULL;
27877 }
27878
27879
27880 static PyObject *_wrap_Display_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
27881 PyObject *resultobj;
27882 size_t result;
27883 char *kwnames[] = {
27884 NULL
27885 };
27886
27887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27888 {
27889 PyThreadState* __tstate = wxPyBeginAllowThreads();
27890 result = (size_t)wxDisplay::GetCount();
27891
27892 wxPyEndAllowThreads(__tstate);
27893 if (PyErr_Occurred()) SWIG_fail;
27894 }
27895 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27896 return resultobj;
27897 fail:
27898 return NULL;
27899 }
27900
27901
27902 static PyObject *_wrap_Display_GetFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
27903 PyObject *resultobj;
27904 wxPoint *arg1 = 0 ;
27905 int result;
27906 wxPoint temp1 ;
27907 PyObject * obj0 = 0 ;
27908 char *kwnames[] = {
27909 (char *) "pt", NULL
27910 };
27911
27912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27913 {
27914 arg1 = &temp1;
27915 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27916 }
27917 {
27918 PyThreadState* __tstate = wxPyBeginAllowThreads();
27919 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
27920
27921 wxPyEndAllowThreads(__tstate);
27922 if (PyErr_Occurred()) SWIG_fail;
27923 }
27924 resultobj = SWIG_FromInt((int)result);
27925 return resultobj;
27926 fail:
27927 return NULL;
27928 }
27929
27930
27931 static PyObject *_wrap_Display_GetFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27932 PyObject *resultobj;
27933 wxWindow *arg1 = (wxWindow *) 0 ;
27934 int result;
27935 PyObject * obj0 = 0 ;
27936 char *kwnames[] = {
27937 (char *) "window", NULL
27938 };
27939
27940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
27941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27943 {
27944 PyThreadState* __tstate = wxPyBeginAllowThreads();
27945 result = (int)Display_GetFromWindow(arg1);
27946
27947 wxPyEndAllowThreads(__tstate);
27948 if (PyErr_Occurred()) SWIG_fail;
27949 }
27950 resultobj = SWIG_FromInt((int)result);
27951 return resultobj;
27952 fail:
27953 return NULL;
27954 }
27955
27956
27957 static PyObject *_wrap_Display_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27958 PyObject *resultobj;
27959 wxDisplay *arg1 = (wxDisplay *) 0 ;
27960 bool result;
27961 PyObject * obj0 = 0 ;
27962 char *kwnames[] = {
27963 (char *) "self", NULL
27964 };
27965
27966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
27967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27969 {
27970 PyThreadState* __tstate = wxPyBeginAllowThreads();
27971 result = (bool)((wxDisplay const *)arg1)->IsOk();
27972
27973 wxPyEndAllowThreads(__tstate);
27974 if (PyErr_Occurred()) SWIG_fail;
27975 }
27976 {
27977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27978 }
27979 return resultobj;
27980 fail:
27981 return NULL;
27982 }
27983
27984
27985 static PyObject *_wrap_Display_GetGeometry(PyObject *self, PyObject *args, PyObject *kwargs) {
27986 PyObject *resultobj;
27987 wxDisplay *arg1 = (wxDisplay *) 0 ;
27988 wxRect result;
27989 PyObject * obj0 = 0 ;
27990 char *kwnames[] = {
27991 (char *) "self", NULL
27992 };
27993
27994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
27995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27997 {
27998 PyThreadState* __tstate = wxPyBeginAllowThreads();
27999 result = ((wxDisplay const *)arg1)->GetGeometry();
28000
28001 wxPyEndAllowThreads(__tstate);
28002 if (PyErr_Occurred()) SWIG_fail;
28003 }
28004 {
28005 wxRect * resultptr;
28006 resultptr = new wxRect((wxRect &) result);
28007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
28008 }
28009 return resultobj;
28010 fail:
28011 return NULL;
28012 }
28013
28014
28015 static PyObject *_wrap_Display_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
28016 PyObject *resultobj;
28017 wxDisplay *arg1 = (wxDisplay *) 0 ;
28018 wxString result;
28019 PyObject * obj0 = 0 ;
28020 char *kwnames[] = {
28021 (char *) "self", NULL
28022 };
28023
28024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
28025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28027 {
28028 PyThreadState* __tstate = wxPyBeginAllowThreads();
28029 result = ((wxDisplay const *)arg1)->GetName();
28030
28031 wxPyEndAllowThreads(__tstate);
28032 if (PyErr_Occurred()) SWIG_fail;
28033 }
28034 {
28035 #if wxUSE_UNICODE
28036 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28037 #else
28038 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28039 #endif
28040 }
28041 return resultobj;
28042 fail:
28043 return NULL;
28044 }
28045
28046
28047 static PyObject *_wrap_Display_IsPrimary(PyObject *self, PyObject *args, PyObject *kwargs) {
28048 PyObject *resultobj;
28049 wxDisplay *arg1 = (wxDisplay *) 0 ;
28050 bool result;
28051 PyObject * obj0 = 0 ;
28052 char *kwnames[] = {
28053 (char *) "self", NULL
28054 };
28055
28056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
28057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28059 {
28060 PyThreadState* __tstate = wxPyBeginAllowThreads();
28061 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
28062
28063 wxPyEndAllowThreads(__tstate);
28064 if (PyErr_Occurred()) SWIG_fail;
28065 }
28066 {
28067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28068 }
28069 return resultobj;
28070 fail:
28071 return NULL;
28072 }
28073
28074
28075 static PyObject *_wrap_Display_GetModes(PyObject *self, PyObject *args, PyObject *kwargs) {
28076 PyObject *resultobj;
28077 wxDisplay *arg1 = (wxDisplay *) 0 ;
28078 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28079 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28080 PyObject *result;
28081 PyObject * obj0 = 0 ;
28082 PyObject * obj1 = 0 ;
28083 char *kwnames[] = {
28084 (char *) "self",(char *) "mode", NULL
28085 };
28086
28087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
28088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28090 if (obj1) {
28091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28092 SWIG_POINTER_EXCEPTION | 0)) == -1)
28093 SWIG_fail;
28094 if (arg2 == NULL) {
28095 PyErr_SetString(PyExc_TypeError,"null reference");
28096 SWIG_fail;
28097 }
28098 }
28099 {
28100 PyThreadState* __tstate = wxPyBeginAllowThreads();
28101 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
28102
28103 wxPyEndAllowThreads(__tstate);
28104 if (PyErr_Occurred()) SWIG_fail;
28105 }
28106 resultobj = result;
28107 return resultobj;
28108 fail:
28109 return NULL;
28110 }
28111
28112
28113 static PyObject *_wrap_Display_GetCurrentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28114 PyObject *resultobj;
28115 wxDisplay *arg1 = (wxDisplay *) 0 ;
28116 wxVideoMode result;
28117 PyObject * obj0 = 0 ;
28118 char *kwnames[] = {
28119 (char *) "self", NULL
28120 };
28121
28122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
28123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28125 {
28126 PyThreadState* __tstate = wxPyBeginAllowThreads();
28127 result = ((wxDisplay const *)arg1)->GetCurrentMode();
28128
28129 wxPyEndAllowThreads(__tstate);
28130 if (PyErr_Occurred()) SWIG_fail;
28131 }
28132 {
28133 wxVideoMode * resultptr;
28134 resultptr = new wxVideoMode((wxVideoMode &) result);
28135 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
28136 }
28137 return resultobj;
28138 fail:
28139 return NULL;
28140 }
28141
28142
28143 static PyObject *_wrap_Display_ChangeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28144 PyObject *resultobj;
28145 wxDisplay *arg1 = (wxDisplay *) 0 ;
28146 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28147 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28148 bool result;
28149 PyObject * obj0 = 0 ;
28150 PyObject * obj1 = 0 ;
28151 char *kwnames[] = {
28152 (char *) "self",(char *) "mode", NULL
28153 };
28154
28155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28158 if (obj1) {
28159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28160 SWIG_POINTER_EXCEPTION | 0)) == -1)
28161 SWIG_fail;
28162 if (arg2 == NULL) {
28163 PyErr_SetString(PyExc_TypeError,"null reference");
28164 SWIG_fail;
28165 }
28166 }
28167 {
28168 PyThreadState* __tstate = wxPyBeginAllowThreads();
28169 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28170
28171 wxPyEndAllowThreads(__tstate);
28172 if (PyErr_Occurred()) SWIG_fail;
28173 }
28174 {
28175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28176 }
28177 return resultobj;
28178 fail:
28179 return NULL;
28180 }
28181
28182
28183 static PyObject *_wrap_Display_ResetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28184 PyObject *resultobj;
28185 wxDisplay *arg1 = (wxDisplay *) 0 ;
28186 PyObject * obj0 = 0 ;
28187 char *kwnames[] = {
28188 (char *) "self", NULL
28189 };
28190
28191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28194 {
28195 PyThreadState* __tstate = wxPyBeginAllowThreads();
28196 (arg1)->ResetMode();
28197
28198 wxPyEndAllowThreads(__tstate);
28199 if (PyErr_Occurred()) SWIG_fail;
28200 }
28201 Py_INCREF(Py_None); resultobj = Py_None;
28202 return resultobj;
28203 fail:
28204 return NULL;
28205 }
28206
28207
28208 static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
28209 PyObject *obj;
28210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28211 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28212 Py_INCREF(obj);
28213 return Py_BuildValue((char *)"");
28214 }
28215 static PyMethodDef SwigMethods[] = {
28216 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
28217 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
28218 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
28219 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
28220 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
28221 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
28222 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
28223 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
28224 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
28225 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
28226 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
28227 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
28228 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
28229 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
28230 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
28231 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
28232 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
28233 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
28234 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
28235 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
28236 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
28237 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
28238 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
28239 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
28240 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
28241 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
28242 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
28243 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
28244 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
28245 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
28246 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS },
28247 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS },
28248 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
28249 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
28250 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
28251 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
28252 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
28253 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
28254 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
28255 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
28256 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
28257 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
28258 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
28259 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
28260 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
28261 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
28262 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
28263 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
28264 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
28265 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
28266 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
28267 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
28268 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
28269 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
28270 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
28271 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
28272 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
28273 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
28274 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28275 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28276 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28277 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28278 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
28279 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
28280 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
28281 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28282 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28283 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
28284 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
28285 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
28286 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
28287 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
28288 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28289 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28290 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
28291 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
28292 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
28293 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
28294 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
28295 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
28296 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
28297 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
28298 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
28299 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
28300 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
28301 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
28302 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
28303 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
28304 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
28305 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
28306 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
28307 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
28308 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
28309 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
28310 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
28311 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
28312 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
28313 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
28314 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
28315 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28316 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28317 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28318 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28319 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
28320 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28321 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28322 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
28323 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28324 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28325 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
28326 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
28327 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
28328 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
28329 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
28330 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
28331 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
28332 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
28333 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
28334 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
28335 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
28336 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
28337 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
28338 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
28339 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
28340 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
28341 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
28342 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
28343 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
28344 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
28345 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
28346 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28347 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28348 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28349 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
28350 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
28351 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
28352 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
28353 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
28354 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
28355 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
28356 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
28357 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
28358 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
28359 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28360 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
28361 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
28362 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
28363 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
28364 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
28365 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28366 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
28367 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS },
28368 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
28369 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
28370 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
28371 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
28372 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
28373 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
28374 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
28375 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
28376 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
28377 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
28378 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
28379 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
28380 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
28381 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
28382 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
28383 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
28384 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
28385 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
28386 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
28387 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
28388 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28389 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28390 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
28391 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
28392 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
28393 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
28394 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28395 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
28396 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
28397 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
28398 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
28399 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
28400 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
28401 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
28402 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
28403 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
28404 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
28405 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
28406 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
28407 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
28408 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
28409 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
28410 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
28411 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
28412 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
28413 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
28414 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
28415 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
28416 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
28417 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
28418 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28419 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28420 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
28421 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
28422 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
28423 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
28424 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
28425 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28426 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28427 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
28428 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
28429 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
28430 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
28431 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
28432 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
28433 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
28434 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
28435 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
28436 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
28437 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
28438 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
28439 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
28440 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
28441 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
28442 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
28443 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
28444 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
28445 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
28446 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
28447 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28448 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
28449 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
28450 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
28451 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
28452 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
28453 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28454 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
28455 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
28456 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
28457 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
28458 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
28459 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
28460 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
28461 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
28462 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
28463 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
28464 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
28465 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
28466 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
28467 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
28468 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
28469 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
28470 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
28471 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
28472 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
28473 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
28474 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
28475 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
28476 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
28477 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
28478 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28479 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28480 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
28481 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
28482 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
28483 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
28484 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
28485 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28486 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28487 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
28488 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
28489 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
28490 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
28491 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
28492 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
28493 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
28494 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
28495 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
28496 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
28497 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
28498 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
28499 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
28500 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
28501 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
28502 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
28503 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
28504 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
28505 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
28506 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
28507 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
28508 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
28509 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
28510 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
28511 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
28512 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
28513 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
28514 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
28515 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
28516 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
28517 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
28518 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
28519 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
28520 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
28521 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
28522 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
28523 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
28524 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
28525 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
28526 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
28527 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
28528 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
28529 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
28530 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
28531 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
28532 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28533 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28534 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
28535 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
28536 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
28537 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
28538 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
28539 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
28540 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
28541 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
28542 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
28543 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
28544 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
28545 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
28546 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
28547 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
28548 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS },
28549 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS },
28550 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
28551 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS },
28552 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS },
28553 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
28554 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS },
28555 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS },
28556 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
28557 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
28558 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28559 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
28560 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28561 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
28562 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
28563 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
28564 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28565 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28566 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28567 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
28568 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
28569 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28570 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
28571 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
28572 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
28573 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
28574 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
28575 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
28576 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28577 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
28578 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28579 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
28580 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
28581 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
28582 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28583 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28584 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
28585 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
28586 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
28587 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
28588 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
28589 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
28590 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
28591 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28592 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
28593 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
28594 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
28595 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
28596 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
28597 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
28598 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
28599 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
28600 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
28601 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
28602 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28603 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
28604 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
28605 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28606 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
28607 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
28608 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
28609 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28610 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
28611 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
28612 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
28613 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
28614 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
28615 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
28616 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
28617 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28618 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
28619 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
28620 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
28621 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
28622 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
28623 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
28624 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
28625 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
28626 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
28627 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
28628 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
28629 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
28630 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
28631 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
28632 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
28633 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
28634 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
28635 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
28636 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
28637 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
28638 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
28639 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
28640 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
28641 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
28642 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
28643 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
28644 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28645 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
28646 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
28647 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
28648 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28649 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
28650 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
28651 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
28652 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
28653 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
28654 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
28655 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
28656 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
28657 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
28658 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
28659 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
28660 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
28661 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
28662 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28663 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28664 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
28665 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
28666 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28667 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
28668 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
28669 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
28670 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
28671 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
28672 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
28673 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
28674 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
28675 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
28676 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
28677 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
28678 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
28679 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
28680 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
28681 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
28682 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
28683 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
28684 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
28685 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
28686 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
28687 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
28688 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
28689 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
28690 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
28691 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
28692 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
28693 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
28694 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
28695 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
28696 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
28697 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
28698 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
28699 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
28700 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
28701 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
28702 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
28703 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
28704 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
28705 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28706 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28707 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28708 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28709 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28710 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28711 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
28712 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28713 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28714 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
28715 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
28716 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28717 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28718 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
28719 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
28720 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28721 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
28722 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28723 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
28724 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
28725 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
28726 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
28727 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
28728 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
28729 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
28730 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
28731 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
28732 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
28733 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
28734 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
28735 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
28736 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
28737 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
28738 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
28739 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
28740 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
28741 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
28742 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
28743 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
28744 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28745 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
28746 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
28747 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
28748 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
28749 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
28750 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
28751 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
28752 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
28753 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
28754 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
28755 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
28756 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
28757 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
28758 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
28759 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
28760 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
28761 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
28762 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
28763 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
28764 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
28765 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
28766 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
28767 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
28768 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
28769 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
28770 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
28771 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
28772 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
28773 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
28774 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
28775 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
28776 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
28777 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
28778 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
28779 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
28780 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
28781 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
28782 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
28783 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
28784 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
28785 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
28786 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28787 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
28788 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28789 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28790 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
28791 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28792 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28793 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28794 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
28795 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28796 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28797 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28798 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28799 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
28800 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28801 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28802 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28803 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
28804 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
28805 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
28806 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
28807 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28808 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28809 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
28810 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
28811 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
28812 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28813 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
28814 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
28815 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28816 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28817 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
28818 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
28819 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
28820 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
28821 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
28822 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
28823 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
28824 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
28825 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
28826 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
28827 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28828 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
28829 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
28830 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
28831 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
28832 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
28833 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
28834 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
28835 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
28836 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
28837 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
28838 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
28839 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28840 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28841 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
28842 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
28843 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28844 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28845 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28846 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28847 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28848 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28849 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28850 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
28851 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28852 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28853 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28854 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28855 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28856 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
28857 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
28858 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
28859 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
28860 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
28861 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
28862 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
28863 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
28864 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
28865 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
28866 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
28867 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
28868 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
28869 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
28870 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
28871 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
28872 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
28873 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
28874 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
28875 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28876 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
28877 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28878 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28879 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
28880 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28881 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
28882 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
28883 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28884 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28885 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS },
28886 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
28887 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28888 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28889 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
28890 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
28891 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
28892 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
28893 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
28894 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
28895 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
28896 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
28897 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
28898 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
28899 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28900 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
28901 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28902 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28903 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
28904 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
28905 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28906 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28907 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
28908 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
28909 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
28910 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
28911 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
28912 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
28913 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28914 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
28915 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
28916 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
28917 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
28918 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
28919 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
28920 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
28921 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
28922 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
28923 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
28924 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
28925 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28926 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
28927 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
28928 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28929 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
28930 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
28931 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
28932 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
28933 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
28934 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28935 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
28936 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28937 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
28938 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28939 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28940 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28941 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28942 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
28943 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
28944 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
28945 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28946 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28947 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28948 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28949 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28950 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28951 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
28952 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
28953 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28954 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28955 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28956 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28957 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28958 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28959 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
28960 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
28961 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
28962 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
28963 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
28964 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
28965 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
28966 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
28967 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
28968 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
28969 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
28970 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
28971 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
28972 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS },
28973 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
28974 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28975 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28976 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
28977 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
28978 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS },
28979 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS },
28980 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS },
28981 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS },
28982 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS },
28983 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS },
28984 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS },
28985 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS },
28986 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS },
28987 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS },
28988 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS },
28989 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS },
28990 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS },
28991 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS },
28992 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS },
28993 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS },
28994 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS },
28995 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS },
28996 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS },
28997 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS },
28998 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS },
28999 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS },
29000 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS },
29001 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS },
29002 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS },
29003 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS },
29004 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS },
29005 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS },
29006 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS },
29007 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS },
29008 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS },
29009 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
29010 { NULL, NULL }
29011 };
29012
29013
29014 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29015
29016 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29017 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29018 }
29019 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29020 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29021 }
29022 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29023 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29024 }
29025 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29026 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29027 }
29028 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29029 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29030 }
29031 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29032 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29033 }
29034 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
29035 return (void *)((wxEvent *) ((wxTimerEvent *) x));
29036 }
29037 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29038 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29039 }
29040 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29041 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29042 }
29043 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29044 return (void *)((wxEvent *) ((wxPyEvent *) x));
29045 }
29046 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29047 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29048 }
29049 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
29050 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
29051 }
29052 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29053 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29054 }
29055 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29056 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29057 }
29058 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29059 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29060 }
29061 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29062 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29063 }
29064 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29065 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29066 }
29067 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29068 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29069 }
29070 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29071 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29072 }
29073 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29074 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29075 }
29076 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
29077 return (void *)((wxEvent *) ((wxPaintEvent *) x));
29078 }
29079 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
29080 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
29081 }
29082 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
29083 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
29084 }
29085 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
29086 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
29087 }
29088 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
29089 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
29090 }
29091 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
29092 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29093 }
29094 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
29095 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
29096 }
29097 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
29098 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
29099 }
29100 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
29101 return (void *)((wxEvent *) ((wxFocusEvent *) x));
29102 }
29103 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
29104 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
29105 }
29106 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
29107 return (void *)((wxEvent *) ((wxProcessEvent *) x));
29108 }
29109 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
29110 return (void *)((wxEvent *) ((wxShowEvent *) x));
29111 }
29112 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
29113 return (void *)((wxEvent *) ((wxCommandEvent *) x));
29114 }
29115 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
29116 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
29117 }
29118 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
29119 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29120 }
29121 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
29122 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
29123 }
29124 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
29125 return (void *)((wxEvent *) ((wxKeyEvent *) x));
29126 }
29127 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
29128 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
29129 }
29130 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
29131 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
29132 }
29133 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
29134 return (void *)((wxConfigBase *) ((wxConfig *) x));
29135 }
29136 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
29137 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29138 }
29139 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
29140 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
29141 }
29142 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
29143 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
29144 }
29145 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
29146 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29147 }
29148 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
29149 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
29150 }
29151 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
29152 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
29153 }
29154 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29155 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29156 }
29157 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29158 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29159 }
29160 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29161 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29162 }
29163 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29164 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29165 }
29166 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29167 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29168 }
29169 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29170 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29171 }
29172 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29173 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29174 }
29175 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29176 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29177 }
29178 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29179 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29180 }
29181 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29182 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29183 }
29184 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29185 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29186 }
29187 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29188 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29189 }
29190 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29191 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29192 }
29193 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29194 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29195 }
29196 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29197 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29198 }
29199 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29200 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29201 }
29202 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29203 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29204 }
29205 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29206 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29207 }
29208 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29210 }
29211 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29212 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29213 }
29214 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29215 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29216 }
29217 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29218 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29219 }
29220 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29221 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29222 }
29223 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29224 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29225 }
29226 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29227 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29228 }
29229 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29230 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29231 }
29232 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29233 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29234 }
29235 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29236 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29237 }
29238 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29239 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29240 }
29241 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29242 return (void *)((wxObject *) ((wxSizerItem *) x));
29243 }
29244 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29246 }
29247 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29248 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29249 }
29250 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29251 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29252 }
29253 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29254 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29255 }
29256 static void *_p_wxSizerTo_p_wxObject(void *x) {
29257 return (void *)((wxObject *) ((wxSizer *) x));
29258 }
29259 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29260 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29261 }
29262 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29263 return (void *)((wxObject *) ((wxFileHistory *) x));
29264 }
29265 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29266 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29267 }
29268 static void *_p_wxEventTo_p_wxObject(void *x) {
29269 return (void *)((wxObject *) ((wxEvent *) x));
29270 }
29271 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29272 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29273 }
29274 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29275 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29276 }
29277 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29278 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29279 }
29280 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29281 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29282 }
29283 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29284 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29285 }
29286 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29287 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29288 }
29289 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29290 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29291 }
29292 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29293 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29294 }
29295 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29296 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29297 }
29298 static void *_p_wxControlTo_p_wxObject(void *x) {
29299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29300 }
29301 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29302 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29303 }
29304 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29305 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29306 }
29307 static void *_p_wxFSFileTo_p_wxObject(void *x) {
29308 return (void *)((wxObject *) ((wxFSFile *) x));
29309 }
29310 static void *_p_wxClipboardTo_p_wxObject(void *x) {
29311 return (void *)((wxObject *) ((wxClipboard *) x));
29312 }
29313 static void *_p_wxPySizerTo_p_wxObject(void *x) {
29314 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29315 }
29316 static void *_p_wxPyEventTo_p_wxObject(void *x) {
29317 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29318 }
29319 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29320 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29321 }
29322 static void *_p_wxShowEventTo_p_wxObject(void *x) {
29323 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29324 }
29325 static void *_p_wxToolTipTo_p_wxObject(void *x) {
29326 return (void *)((wxObject *) ((wxToolTip *) x));
29327 }
29328 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29329 return (void *)((wxObject *) ((wxMenuItem *) x));
29330 }
29331 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29332 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29333 }
29334 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29335 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29336 }
29337 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29338 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29339 }
29340 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29341 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29342 }
29343 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29344 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29345 }
29346 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29347 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29348 }
29349 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29350 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29351 }
29352 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29353 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29354 }
29355 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29356 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29357 }
29358 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29359 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29360 }
29361 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29362 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29363 }
29364 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29365 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29366 }
29367 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29368 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29369 }
29370 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29371 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29372 }
29373 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29374 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29375 }
29376 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29377 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29378 }
29379 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29380 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29381 }
29382 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29383 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29384 }
29385 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29386 return (void *)((wxObject *) ((wxImageHandler *) x));
29387 }
29388 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29389 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29390 }
29391 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29392 return (void *)((wxObject *) ((wxEvtHandler *) x));
29393 }
29394 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29395 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29396 }
29397 static void *_p_wxImageTo_p_wxObject(void *x) {
29398 return (void *)((wxObject *) ((wxImage *) x));
29399 }
29400 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29401 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29402 }
29403 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29404 return (void *)((wxObject *) ((wxSystemOptions *) x));
29405 }
29406 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29407 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29408 }
29409 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29410 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29411 }
29412 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29413 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29414 }
29415 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29416 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29417 }
29418 static void *_p_wxWindowTo_p_wxObject(void *x) {
29419 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29420 }
29421 static void *_p_wxMenuTo_p_wxObject(void *x) {
29422 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29423 }
29424 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29426 }
29427 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29428 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29429 }
29430 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29431 return (void *)((wxObject *) ((wxFileSystem *) x));
29432 }
29433 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29434 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29435 }
29436 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29437 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29438 }
29439 static void *_p_wxPyAppTo_p_wxObject(void *x) {
29440 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29441 }
29442 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29443 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29444 }
29445 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29446 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29447 }
29448 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29449 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29450 }
29451 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29452 return (void *)((wxObject *) ((wxBusyInfo *) x));
29453 }
29454 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29455 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29456 }
29457 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29458 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29459 }
29460 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29461 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29462 }
29463 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29464 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29465 }
29466 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29467 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29468 }
29469 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29470 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29471 }
29472 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29474 }
29475 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29476 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29477 }
29478 static void *_p_wxValidatorTo_p_wxObject(void *x) {
29479 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29480 }
29481 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29482 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29483 }
29484 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29485 return (void *)((wxLog *) ((wxLogStderr *) x));
29486 }
29487 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29488 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29489 }
29490 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29491 return (void *)((wxLog *) ((wxLogWindow *) x));
29492 }
29493 static void *_p_wxLogChainTo_p_wxLog(void *x) {
29494 return (void *)((wxLog *) ((wxLogChain *) x));
29495 }
29496 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29497 return (void *)((wxLog *) ((wxLogGui *) x));
29498 }
29499 static void *_p_wxPyLogTo_p_wxLog(void *x) {
29500 return (void *)((wxLog *) ((wxPyLog *) x));
29501 }
29502 static void *_p_wxControlTo_p_wxWindow(void *x) {
29503 return (void *)((wxWindow *) ((wxControl *) x));
29504 }
29505 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29506 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29507 }
29508 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29509 return (void *)((wxWindow *) ((wxMenuBar *) x));
29510 }
29511 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29512 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29513 }
29514 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29515 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29516 }
29517 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}};
29518 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}};
29519 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}};
29520 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}};
29521 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}};
29522 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}};
29523 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}};
29524 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}};
29525 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}};
29526 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}};
29527 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}};
29528 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}};
29529 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}};
29530 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}};
29531 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}};
29532 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}};
29533 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}};
29534 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}};
29535 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}};
29536 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}};
29537 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}};
29538 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}};
29539 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}};
29540 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}};
29541 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}};
29542 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}};
29543 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}};
29544 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}};
29545 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}};
29546 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}};
29547 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}};
29548 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}};
29549 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}};
29550 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}};
29551 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}};
29552 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}};
29553 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}};
29554 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}};
29555 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}};
29556 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}};
29557 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}};
29558 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}};
29559 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}};
29560 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}};
29561 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}};
29562 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}};
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29568 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}};
29569 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}};
29570 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}};
29571 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}};
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29580 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}};
29581 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}};
29582 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}};
29583 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}};
29584 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}};
29585 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}};
29586 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}};
29587 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}};
29588 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}};
29589 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}};
29590 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}};
29591 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}};
29592 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}};
29593 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}};
29594 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}};
29595 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}};
29596 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}};
29597 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}};
29598 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}};
29599 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}};
29600 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}};
29601 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}};
29602
29603 static swig_type_info *swig_types_initial[] = {
29604 _swigt__p_wxLogChain,
29605 _swigt__p_wxMutexGuiLocker,
29606 _swigt__p_wxFileHistory,
29607 _swigt__p_wxLog,
29608 _swigt__p_wxDateTime__TimeZone,
29609 _swigt__p_wxMenu,
29610 _swigt__p_wxEvent,
29611 _swigt__p_wxConfigBase,
29612 _swigt__p_wxDisplay,
29613 _swigt__p_wxFileType,
29614 _swigt__p_wxLogGui,
29615 _swigt__p_wxFont,
29616 _swigt__p_wxDataFormat,
29617 _swigt__p_wxTimerEvent,
29618 _swigt__p_wxCaret,
29619 _swigt__p_int,
29620 _swigt__p_wxSize,
29621 _swigt__p_wxClipboard,
29622 _swigt__p_wxStopWatch,
29623 _swigt__p_wxDC,
29624 _swigt__p_wxClipboardLocker,
29625 _swigt__p_wxIcon,
29626 _swigt__p_wxLogStderr,
29627 _swigt__p_wxLogTextCtrl,
29628 _swigt__p_wxTextCtrl,
29629 _swigt__p_wxBusyCursor,
29630 _swigt__p_wxPyBitmapDataObject,
29631 _swigt__p_wxPyTextDataObject,
29632 _swigt__p_wxBitmapDataObject,
29633 _swigt__p_wxTextDataObject,
29634 _swigt__p_wxDataObject,
29635 _swigt__p_wxFileDataObject,
29636 _swigt__p_wxCustomDataObject,
29637 _swigt__p_wxURLDataObject,
29638 _swigt__p_wxMetafileDataObject,
29639 _swigt__p_wxSound,
29640 _swigt__p_wxTimerRunner,
29641 _swigt__p_wxLogWindow,
29642 _swigt__p_wxTimeSpan,
29643 _swigt__p_wxArrayString,
29644 _swigt__p_wxWindowDisabler,
29645 _swigt__p_wxToolTip,
29646 _swigt__p_wxDataObjectComposite,
29647 _swigt__p_wxFileConfig,
29648 _swigt__p_wxSystemSettings,
29649 _swigt__p_wxVideoMode,
29650 _swigt__p_wxPyDataObjectSimple,
29651 _swigt__p_wxDataObjectSimple,
29652 _swigt__p_wxEvtHandler,
29653 _swigt__p_wxRect,
29654 _swigt__p_char,
29655 _swigt__p_wxSingleInstanceChecker,
29656 _swigt__p_wxFileTypeInfo,
29657 _swigt__p_wxFrame,
29658 _swigt__p_wxTimer,
29659 _swigt__p_wxMimeTypesManager,
29660 _swigt__p_wxPyArtProvider,
29661 _swigt__p_wxPyTipProvider,
29662 _swigt__p_wxTipProvider,
29663 _swigt__p_wxJoystick,
29664 _swigt__p_wxSystemOptions,
29665 _swigt__p_wxPoint,
29666 _swigt__p_wxJoystickEvent,
29667 _swigt__p_wxCursor,
29668 _swigt__p_wxObject,
29669 _swigt__p_wxOutputStream,
29670 _swigt__p_wxDateTime,
29671 _swigt__p_wxPyDropSource,
29672 _swigt__p_wxWindow,
29673 _swigt__p_wxString,
29674 _swigt__p_wxPyProcess,
29675 _swigt__p_wxBitmap,
29676 _swigt__p_wxConfig,
29677 _swigt__p_wxChar,
29678 _swigt__p_wxBusyInfo,
29679 _swigt__p_wxPyDropTarget,
29680 _swigt__p_wxPyTextDropTarget,
29681 _swigt__p_wxPyFileDropTarget,
29682 _swigt__p_wxProcessEvent,
29683 _swigt__p_wxPyLog,
29684 _swigt__p_wxLogNull,
29685 _swigt__p_wxColour,
29686 _swigt__p_wxConfigPathChanger,
29687 _swigt__p_wxPyTimer,
29688 _swigt__p_wxDateSpan,
29689 0
29690 };
29691
29692
29693 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29694
29695 static swig_const_info swig_const_table[] = {
29696 { SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29697 { SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29698 { SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29699 { SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29700 { SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
29701 {0}};
29702
29703 #ifdef __cplusplus
29704 }
29705 #endif
29706
29707 #ifdef __cplusplus
29708 extern "C"
29709 #endif
29710 SWIGEXPORT(void) SWIG_init(void) {
29711 static PyObject *SWIG_globals = 0;
29712 static int typeinit = 0;
29713 PyObject *m, *d;
29714 int i;
29715 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29716 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29717 d = PyModule_GetDict(m);
29718
29719 if (!typeinit) {
29720 for (i = 0; swig_types_initial[i]; i++) {
29721 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29722 }
29723 typeinit = 1;
29724 }
29725 SWIG_InstallConstants(d,swig_const_table);
29726
29727 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29728 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29729 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29730 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29731 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29732 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29733 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29734 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29735 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29736 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29737 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29738 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29739 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29740 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29741 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29742 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29743 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29744 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29745 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29746 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29747 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29748 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29749 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29750 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29751 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29752 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29753 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29754 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29755 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29756 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29757 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29758 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29759 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29760 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29761 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29762 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29763 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29764 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29765 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29766 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29767 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29768 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29769 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29770 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29771 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29772 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29773 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29774 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29775 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29776 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29777 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29778 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29779 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29780 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29781 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29782 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29783 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29784 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29785 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29786 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29787 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29788 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29789 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29790 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29791 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29792 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29793 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29794 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29795 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29796 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29797 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29798 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29799 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29800 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29801 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29802 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29803 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29804 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29805 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29806 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29807 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29808 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29809 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29810 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29811 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29812 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29813 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29814 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29815 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29816 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29817 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
29818 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29819 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29820 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29821 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29822 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29823 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29824 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29825 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
29826 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
29827
29828 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29829
29830 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29831 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29832 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29833 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29834 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29835 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29836 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29837 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29838 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29839 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29840 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29841 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29842 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29843 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29844 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29845 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29846 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29847 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29848 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29849 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29850 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29851 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29852 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29853 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29854 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29855 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29856 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29857 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29858 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29859 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29860 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29861 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29862 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29863 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29864 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29865 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29866 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29867 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29868 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29869 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29870 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29871 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29872 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29873 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29874 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
29875 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
29876 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29877 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29878 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29879 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
29880
29881 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29882
29883 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29884 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29885 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29886 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29887 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29888 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29889 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
29890 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29891 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29892 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29893 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
29894 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29895 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29896 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29897 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29898 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29899 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29900 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29901 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
29902 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29903 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29904 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29905 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29906 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29907 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29908 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
29909 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29910 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29911 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29912 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29913 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29914 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
29915 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
29916 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
29917 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
29918 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
29919 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
29920 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
29921 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
29922 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
29923 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
29924 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
29925 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
29926 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
29927 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
29928 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
29929 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
29930 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
29931 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
29932 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
29933 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
29934 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
29935 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
29936 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
29937 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
29938 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
29939 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
29940 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
29941
29942 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29943
29944 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
29945 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
29946 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
29947 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
29948 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
29949 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
29950 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
29951 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
29952 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
29953 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
29954 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
29955 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
29956 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
29957 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
29958 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
29959 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
29960 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
29961 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
29962 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
29963 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
29964 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
29965 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
29966 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
29967 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
29968 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
29969 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
29970 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
29971 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
29972 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
29973 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
29974 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
29975 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
29976 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
29977 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
29978 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
29979 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
29980 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
29981 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
29982 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
29983 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
29984 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
29985 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
29986 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
29987 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
29988 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
29989 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
29990 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
29991 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
29992 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
29993 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
29994 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
29995 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
29996 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
29997 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
29998 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
29999 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
30000 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
30001 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
30002 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
30003 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
30004 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
30005 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
30006 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
30007 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
30008 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
30009 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
30010 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
30011 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
30012 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
30013 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
30014 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
30015 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
30016 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
30017 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
30018 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
30019 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
30020 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
30021 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
30022 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
30023 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
30024 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
30025 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
30026 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
30027 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
30028 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
30029 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
30030 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
30031 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
30032 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
30033 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
30034 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
30035 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
30036 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
30037 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
30038 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
30039 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
30040 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
30041 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
30042 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
30043 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
30044 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
30045 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
30046 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
30047 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
30048 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
30049 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
30050 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
30051 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
30052 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
30053 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
30054 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
30055 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
30056 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
30057 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
30058 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
30059 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
30060 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
30061 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
30062 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
30063 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
30064 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
30065 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
30066 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
30067 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
30068 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
30069 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
30070 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
30071 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
30072 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
30073 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
30074 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
30075 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
30076 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
30077 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
30078 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
30079 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
30080 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
30081 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
30082 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
30083 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
30084 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
30085 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
30086 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
30087 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
30088 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
30089 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
30090 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
30091 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
30092 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
30093 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
30094 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
30095 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
30096 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
30097 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
30098 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
30099 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
30100 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
30101 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
30102 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
30103 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
30104 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
30105 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
30106 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
30107 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
30108 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
30109 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
30110 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
30111 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
30112 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
30113 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
30114 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
30115 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
30116 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
30117 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
30118 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
30119 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
30120 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
30121 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
30122 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
30123 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
30124 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
30125 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
30126 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
30127 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
30128 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
30129 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
30130 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
30131 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
30132 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
30133 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
30134 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
30135 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
30136 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
30137 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
30138 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
30139 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
30140 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
30141 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
30142 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
30143 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
30144
30145 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30146 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30147 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30148 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30149
30150 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
30151 }
30152